d49aeeed2b
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well
as 'vendor_available: true'.
For a VNDK module, the 'vndk' tag has 'enabled: true'.
It will be installed system/lib(64)/vndk as a vendor variant.
For a VNDK-SP module, the 'vndk' tag has
'support_system_process: true' as well as 'enabled: true'.
It will be installed system/lib(64)/vndk-sp as a vendor variant.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: I383af9ccc5457afe437c0cd910c11b636e4b6dd5
Change-Id: I383af9ccc5457afe437c0cd910c11b636e4b6dd5
(cherry picked from commit 8d9fa07fe1
)
47 lines
957 B
Text
47 lines
957 B
Text
// Copyright 2006 The Android Open Source Project
|
|
|
|
cc_library_headers {
|
|
name: "libhardware_headers",
|
|
header_libs: [
|
|
"libaudio_system_headers",
|
|
"libsystem_headers",
|
|
"libcutils_headers",
|
|
"libbluetooth-types-header",
|
|
],
|
|
export_header_lib_headers: [
|
|
"libaudio_system_headers",
|
|
"libsystem_headers",
|
|
"libcutils_headers",
|
|
"libbluetooth-types-header",
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
vendor_available: true,
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libhardware",
|
|
|
|
srcs: ["hardware.c"],
|
|
shared_libs: [
|
|
"libcutils",
|
|
"liblog",
|
|
"libdl",
|
|
"libvndksupport",
|
|
],
|
|
cflags: ["-DQEMU_HARDWARE"],
|
|
|
|
header_libs: ["libhardware_headers"],
|
|
export_header_lib_headers: ["libhardware_headers"],
|
|
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
support_system_process: true,
|
|
},
|
|
}
|
|
|
|
subdirs = [
|
|
"modules/*",
|
|
"tests/*",
|
|
]
|