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
Merged-In: I51fe0859f63ad58b7b91909e7d7d4206443228cd
Change-Id: I51fe0859f63ad58b7b91909e7d7d4206443228cd
(cherry picked from commit aeb68e86e4)
30 lines
542 B
Text
30 lines
542 B
Text
|
|
cc_library {
|
|
name: "libion",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
support_system_process: true,
|
|
},
|
|
srcs: ["ion.c"],
|
|
shared_libs: ["liblog"],
|
|
local_include_dirs: [
|
|
"include",
|
|
"kernel-headers",
|
|
],
|
|
export_include_dirs: [
|
|
"include",
|
|
"kernel-headers",
|
|
],
|
|
cflags: ["-Werror"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "iontest",
|
|
srcs: ["ion_test.c"],
|
|
static_libs: ["libion"],
|
|
shared_libs: ["liblog"],
|
|
cflags: ["-Werror"],
|
|
}
|
|
|
|
subdirs = ["tests"]
|