summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2017-07-24 15:19:44 +0900
committerJustin Yun <justinyun@google.com>2017-08-23 18:02:38 +0900
commit6e22fc8c73fc5ab0af1444b0190affaa323e73eb (patch)
tree27a8102f8c32e5a1d581875da97154278e311431
parent3ea027c8d1c423b8a29b3adad0438183adf85a97 (diff)
downloadexternal_libcxx-android-o-mr1-preview-2.tar.gz
external_libcxx-android-o-mr1-preview-2.tar.bz2
external_libcxx-android-o-mr1-preview-2.zip
Mark the module as VNDK or VNDK-SP in Android.bpandroid-o-mr1-preview-2android-o-mr1-preview-1
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. For a VNDK module, the 'vndk' tag has 'enabled: true'. It will be installed system/lib(64)/vndk as a vendor variant. For a VNDK-SP module, the 'vndk' tag has 'support_system_process: true' as well as 'enabled: true'. It will be installed system/lib(64)/vndk-sp as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Merged-In: I8df3b9ec1a867fdbaac8cf348da4cfd56433435b Change-Id: I8df3b9ec1a867fdbaac8cf348da4cfd56433435b (cherry picked from commit 82c0df65eb3224812fe34c49e7fddfa69adb2612)
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 17942821d..534c395c1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -76,6 +76,10 @@ cc_library_shared {
name: "libc++",
host_supported: true,
vendor_available: true,
+ vndk: {
+ enabled: true,
+ support_system_process: true,
+ },
clang: true,
whole_static_libs: ["libc++_static"],
stl: "none",