Skip to content

Commit

Permalink
Mark the modules as VNDK in Android.bp
Browse files Browse the repository at this point in the history
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 9b0ed72)
  • Loading branch information
Justin Yun authored and Jae Shin committed Sep 14, 2017
1 parent e997ba9 commit 6a7e882
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libcrypto_utils/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
cc_library {
name: "libcrypto_utils",
vendor_available: true,
vndk: {
enabled: true,
},
host_supported: true,
srcs: [
"android_pubkey.c",
Expand Down
3 changes: 3 additions & 0 deletions libdiskconfig/Android.bp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cc_library {
name: "libdiskconfig",
vendor_available: true,
vndk: {
enabled: true,
},
srcs: [
"diskconfig.c",
"diskutils.c",
Expand Down
3 changes: 3 additions & 0 deletions libnetutils/Android.bp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cc_library_shared {
name: "libnetutils",
vendor_available: true,
vndk: {
enabled: true,
},

srcs: [
"dhcpclient.c",
Expand Down
3 changes: 3 additions & 0 deletions libprocinfo/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ libprocinfo_cppflags = [
cc_library {
name: "libprocinfo",
vendor_available: true,
vndk: {
enabled: true,
},
host_supported: true,
srcs: [
"process.cpp",
Expand Down
3 changes: 3 additions & 0 deletions libsuspend/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
cc_library {
name: "libsuspend",
vendor_available: true,
vndk: {
enabled: true,
},

srcs: [
"autosuspend.c",
Expand Down
3 changes: 3 additions & 0 deletions libsysutils/Android.bp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cc_library_shared {
name: "libsysutils",
vendor_available: true,
vndk: {
enabled: true,
},

srcs: [
"src/SocketListener.cpp",
Expand Down
4 changes: 4 additions & 0 deletions libusbhost/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

cc_library {
name: "libusbhost",
vendor_available: true,
vndk: {
enabled: true,
},
host_supported: true,
srcs: ["usbhost.c"],
cflags: ["-Werror"],
Expand Down

0 comments on commit 6a7e882

Please sign in to comment.