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
Merged-In: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
Change-Id: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
(cherry picked from commit 9b0ed72942)
This commit is contained in:
Justin Yun 2017-07-24 15:19:45 +09:00 committed by Jae Shin
parent e997ba9d22
commit 6a7e882316
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"],