Mark the modules as VNDK in Android.bp

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

The 'vndk' tag for VNDK module is formated as below:
vndk: {
        enabled: true,
},
    
VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
This commit is contained in:
Justin Yun 2017-07-24 15:19:45 +09:00
parent 90a2487776
commit 9b0ed72942
7 changed files with 22 additions and 0 deletions

View File

@ -17,6 +17,9 @@
cc_library {
name: "libcrypto_utils",
vendor_available: true,
vndk: {
enabled: true,
},
host_supported: true,
srcs: [
"android_pubkey.c",

View File

@ -1,6 +1,9 @@
cc_library {
name: "libdiskconfig",
vendor_available: true,
vndk: {
enabled: true,
},
srcs: [
"diskconfig.c",
"diskutils.c",

View File

@ -1,6 +1,9 @@
cc_library_shared {
name: "libnetutils",
vendor_available: true,
vndk: {
enabled: true,
},
srcs: [
"dhcpclient.c",

View File

@ -23,6 +23,9 @@ libprocinfo_cppflags = [
cc_library {
name: "libprocinfo",
vendor_available: true,
vndk: {
enabled: true,
},
host_supported: true,
srcs: [
"process.cpp",

View File

@ -3,6 +3,9 @@
cc_library {
name: "libsuspend",
vendor_available: true,
vndk: {
enabled: true,
},
srcs: [
"autosuspend.c",

View File

@ -1,6 +1,9 @@
cc_library_shared {
name: "libsysutils",
vendor_available: true,
vndk: {
enabled: true,
},
srcs: [
"src/SocketListener.cpp",

View File

@ -16,6 +16,10 @@
cc_library {
name: "libusbhost",
vendor_available: true,
vndk: {
enabled: true,
},
host_supported: true,
srcs: ["usbhost.c"],
cflags: ["-Werror"],