summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-10-02 17:09:33 +0900
committerJiyong Park <jiyong@google.com>2019-10-07 13:52:32 +0900
commite87e0dcbaec82aad9e2e3b441384a4b39a419105 (patch)
treeda1d4ede0f523aca496a5b39c892f19d1a8f1106 /libm
parent67ff8b5f9cb1af1a633e96a771e386d3305c6799 (diff)
Restrict the availability of the bionic libs
The bionic libs are now restricted to be in the runtime APEX and the platform (for bootstrapping). It can still be referenced from other APEXes but can't be included there. Bug: 139870423 Test: m Change-Id: I7f99eef27ccf75844ca5c9a7ea866496841b738f
Diffstat (limited to 'libm')
-rw-r--r--libm/Android.bp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libm/Android.bp b/libm/Android.bp
index 59466e490..b7bae5406 100644
--- a/libm/Android.bp
+++ b/libm/Android.bp
@@ -501,6 +501,11 @@ cc_library {
symbol_file: "libm.map.txt",
versions: ["10000"],
},
+
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.runtime",
+ ],
}
ndk_library {