From 499745f900bd05ca3c20a175de96c13bf77f8ede Mon Sep 17 00:00:00 2001 From: dimitry Date: Thu, 8 Nov 2018 15:07:32 +0100 Subject: [PATCH] Apply version-script to libandroid library. Hides unintentionally exported symbols from the library. Test: make checkbuild Bug: http://b/69603741 Change-Id: Id679077267cc5ea6168c0b4701f827458087cb70 --- native/android/Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/android/Android.bp b/native/android/Android.bp index 4fb5e748aaaca..c26d980aa2fc3 100644 --- a/native/android/Android.bp +++ b/native/android/Android.bp @@ -76,6 +76,8 @@ cc_library_shared { export_static_lib_headers: ["libarect"], include_dirs: ["bionic/libc/dns/include"], + + version_script: "libandroid.map.txt", } // Network library.