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:
parent
e997ba9d22
commit
6a7e882316
7 changed files with 22 additions and 0 deletions
|
@ -17,6 +17,9 @@
|
|||
cc_library {
|
||||
name: "libcrypto_utils",
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
host_supported: true,
|
||||
srcs: [
|
||||
"android_pubkey.c",
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
cc_library {
|
||||
name: "libdiskconfig",
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
srcs: [
|
||||
"diskconfig.c",
|
||||
"diskutils.c",
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
cc_library_shared {
|
||||
name: "libnetutils",
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
|
||||
srcs: [
|
||||
"dhcpclient.c",
|
||||
|
|
|
@ -23,6 +23,9 @@ libprocinfo_cppflags = [
|
|||
cc_library {
|
||||
name: "libprocinfo",
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
host_supported: true,
|
||||
srcs: [
|
||||
"process.cpp",
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
cc_library {
|
||||
name: "libsuspend",
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
|
||||
srcs: [
|
||||
"autosuspend.c",
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
cc_library_shared {
|
||||
name: "libsysutils",
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
|
||||
srcs: [
|
||||
"src/SocketListener.cpp",
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
|
||||
cc_library {
|
||||
name: "libusbhost",
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
},
|
||||
host_supported: true,
|
||||
srcs: ["usbhost.c"],
|
||||
cflags: ["-Werror"],
|
||||
|
|
Loading…
Reference in a new issue