diff options
| author | 2023-10-23 16:04:53 +0000 | |
|---|---|---|
| committer | 2023-10-23 16:04:53 +0000 | |
| commit | 3eaee82ad0d1155f299e1276b4fb4c243c98e28f (patch) | |
| tree | 0d4fd23d6356742c9eaac825c9e4bfaed341efd4 | |
| parent | ceba5139e62625a7fc5cb36da213bfde0ca87694 (diff) | |
m framework-minus-apex should not build services
Bug: 288868053
Test: verified services not built in build.trace.gz
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:338107bd1f9c74f8ac6144c0bd767e954518f272)
Merged-In: I1eb64da7318d1bad003e71962ca8a90b7229ea49
Change-Id: I1eb64da7318d1bad003e71962ca8a90b7229ea49
| -rw-r--r-- | Android.bp | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp index ccff26fb70d2..1ec998e0ef43 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", @@ -488,6 +483,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", |