Mark the modules as VNDK-SP in Android.bp

As a VNDK-SP module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.

The 'vndk' tag for VNDK-SP formated as follows:
vndk: {
    enabled: true,
    support_system_process: true,
},

VNDK-SP modules will be installed both in system/lib(64) as normal
and in system/lib(64)/vndk-sp as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I51fe0859f63ad58b7b91909e7d7d4206443228cd
This commit is contained in:
Justin Yun 2017-07-31 15:41:10 +09:00
parent f415d1253c
commit aeb68e86e4
5 changed files with 21 additions and 1 deletions

View file

@ -41,6 +41,10 @@ cc_library {
vendor_available: true,
clang: true,
host_supported: true,
vndk: {
enabled: true,
support_system_process: true,
},
srcs: [
"file.cpp",
"logging.cpp",

View file

@ -64,6 +64,10 @@ cc_library_headers {
cc_library {
name: "libbacktrace",
vendor_available: true,
vndk: {
enabled: true,
support_system_process: true,
},
defaults: ["libbacktrace_common"],
host_supported: true,

View file

@ -50,6 +50,10 @@ cc_library_headers {
cc_library {
name: "libcutils",
vendor_available: true,
vndk: {
enabled: true,
support_system_process: true,
},
host_supported: true,
srcs: [
"config_utils.c",

View file

@ -1,7 +1,11 @@
cc_library {
name: "libion",
vendor_available: true,
vendor_available: true,
vndk: {
enabled: true,
support_system_process: true,
},
srcs: ["ion.c"],
shared_libs: ["liblog"],
local_include_dirs: [

View file

@ -46,6 +46,10 @@ cc_library_headers {
cc_library {
name: "libutils",
vendor_available: true,
vndk: {
enabled: true,
support_system_process: true,
},
host_supported: true,
srcs: [