summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2020-04-27 16:00:57 +0900
committerJiyong Park <jiyong@google.com>2020-04-29 11:50:36 +0900
commit50332c5d6f14f080bcba05cc580776aa710a6851 (patch)
tree51043f1f4e295d325432126dbe101311e3f2c714
parent0109ce3915b87082a5680387c03a757fe8af8b12 (diff)
downloadgwp_asan-android11-mainline-documentsui-release.tar.gz
The header lib is depended on by many of the bionic libraries which are part of the platform. With b/153073816, we will be checking the availability to the platform, i.e. platform-available module depending on platform-unavailable module causes a build error. Prepare for the change by correctly marking that this interface lib is available to the platform. Also, this change narrows down the APEXes where this header lib is available for. Instead of allowing it to be included in any APEX, the list of APEXes that are currently using this is specified. Bug: 153073816 Test: m Change-Id: Ie329792936599072aaf2bc66a51b64f064baa229
-rw-r--r--Android.bp15
1 files changed, 9 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index 1112873..dacc40f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -50,13 +50,16 @@ cc_library_headers {
".",
],
apex_available: [
- // This header lib is depended on by gwp_asan which is available to
- // platform.
+ // This header lib is compiled also as part of the platform due to libasync_safe
+ // and others that are compiled with this header and are statically included
+ // in the platform side.
"//apex_available:platform",
- // GWP-ASan headers are frequently referenced by apexes that include
- // references to libc_headers or libc_scudo. These modules manage apex
- // visibility in Soong, and are globally visible.
- "//apex_available:anyapex",
+ "com.android.runtime",
+ // GWP-ASan headers are currently referenced by the following additional APEXes
+ "com.android.art.debug",
+ "com.android.art.release",
+ "com.android.media",
+ "com.android.media.swcodec",
],
}