diff options
| author | Justin Yun <justinyun@google.com> | 2017-07-24 15:19:44 +0900 |
|---|---|---|
| committer | Justin Yun <justinyun@google.com> | 2017-07-25 14:44:58 +0900 |
| commit | 420e2eedb26129be80c4d7805ec9ad851547bc81 (patch) | |
| tree | 3b02f6cc2cd75afc3b9696c509cef2872ed96dab | |
| parent | 48c2250fee8f79bcd080f0a68fa8458aa61683f2 (diff) | |
| download | platform_external_protobuf-oreo-mr1-dev.tar.gz platform_external_protobuf-oreo-mr1-dev.tar.bz2 platform_external_protobuf-oreo-mr1-dev.zip | |
Mark the module as VNDK or VNDK-SP in Android.bporeo-mr1-dev
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
Change-Id: Ie6cc6b99dcf985014a88a405c3ced7ce405a40be
| -rw-r--r-- | Android.bp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 32f90c74a..75454592d 100644 --- a/Android.bp +++ b/Android.bp @@ -77,6 +77,9 @@ cc_library { name: "libprotobuf-cpp-lite", host_supported: true, vendor_available: true, + vndk: { + enabled: true, + }, defaults: ["libprotobuf-cpp-lite-defaults"], cflags: ["-DGOOGLE_PROTOBUF_NO_RTTI"], @@ -204,6 +207,9 @@ cc_library_shared { defaults: ["libprotobuf-cpp-lite-defaults"], host_supported: true, vendor_available: true, + vndk: { + enabled: true, + }, srcs: protobuf_cc_full_src_files, |
