summaryrefslogtreecommitdiff
path: root/native/android
diff options
context:
space:
mode:
authorDongwon Kang <dwkang@google.com>2019-01-09 16:01:01 -0800
committerDongwon Kang <dwkang@google.com>2019-01-09 16:02:59 -0800
commitb61819e2a5ee3eb74b95d59d4cd05dc3c43605ac (patch)
tree6110884a9bb191551fa444ab7315bb7080b33355 /native/android
parentdcfef16295126c0197e5e1f6449280efdf787fea (diff)
Add 'stubs' to libandroid
In order to exclude libandroid.so + its dependent libraries from the apex. Test: build and check if libandroid.so is excluded in the media apex Bug: 112766913 Change-Id: I5f1c5692a5395cf673d7868e0a429767d639720f
Diffstat (limited to 'native/android')
-rw-r--r--native/android/Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/native/android/Android.bp b/native/android/Android.bp
index c26d980aa2fc..40290aba015d 100644
--- a/native/android/Android.bp
+++ b/native/android/Android.bp
@@ -78,6 +78,10 @@ cc_library_shared {
include_dirs: ["bionic/libc/dns/include"],
version_script: "libandroid.map.txt",
+ stubs: {
+ symbol_file: "libandroid.map.txt",
+ versions: ["29"],
+ },
}
// Network library.