summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2023-10-24 16:42:46 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-10-24 16:42:46 +0000
commit13c1831ff61fc6dd1fb92eea05fa233437444ec5 (patch)
tree677477899c7d532c768fac8c2d5317b5f2afa9c6
parent1d98705039eb1344ba1eb4dbf945dcfe4942a05c (diff)
parent3eaee82ad0d1155f299e1276b4fb4c243c98e28f (diff)
Merge "m framework-minus-apex should not build services" into main
-rw-r--r--Android.bp23
1 files changed, 16 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index 28a738c969bf..1e5120f2b907 100644
--- a/Android.bp
+++ b/Android.bp
@@ -370,17 +370,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",
@@ -523,6 +518,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",