Skip to content
Snippets Groups Projects
Commit 338107bd authored by Mark White's avatar Mark White
Browse files

m framework-minus-apex should not build services

Bug: 288868053
Test: verified services not built in build.trace.gz

Change-Id: I1eb64da7318d1bad003e71962ca8a90b7229ea49
parent 6d637b01
No related branches found
No related tags found
No related merge requests found
......@@ -368,17 +368,12 @@ java_defaults {
// TODO(b/120066492): remove default_television.xml when the build system
// propagates "required" properly.
"default_television.xml",
"framework-platform-compat-config",
// TODO(b/120066492): remove gps_debug and protolog.conf.json when the build
// system propagates "required" properly.
"gps_debug.conf",
"icu4j-platform-compat-config",
"protolog.conf.json.gz",
"services-platform-compat-config",
"TeleService-platform-compat-config",
"documents-ui-compat-config",
"calendar-provider-compat-config",
"contacts-provider-platform-compat-config",
// any install dependencies should go into framework-minus-apex-install-dependencies
// rather than here to avoid bloating incremental build time
],
libs: [
"androidx.annotation_annotation",
......@@ -486,6 +481,20 @@ java_library {
apex_available: ["//apex_available:platform"],
}
java_library {
name: "framework-minus-apex-install-dependencies",
required: [
"framework-minus-apex",
"framework-platform-compat-config",
"services-platform-compat-config",
"icu4j-platform-compat-config",
"TeleService-platform-compat-config",
"documents-ui-compat-config",
"calendar-provider-compat-config",
"contacts-provider-platform-compat-config",
],
}
platform_compat_config {
name: "framework-platform-compat-config",
src: ":framework-minus-apex",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment