platform_hardware_libhardware/Android.bp
Victor Khimenko e22d90cc0a Make libhardware_headers available for native_bridge
Bug: http://b/153609531

Test: m libRSDriver.native_bridge

Change-Id: I05220635027635ff12a7d5201b5c716ca4fda5ea
2020-06-30 22:56:22 +02:00

67 lines
1.5 KiB
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"],
recovery_available: true,
vendor_available: true,
// TODO(b/153609531): remove when no longer needed.
native_bridge_supported: true,
target: {
recovery: {
exclude_header_libs: [
"libaudio_system_headers",
"libbluetooth-types-header",
],
},
},
min_sdk_version: "29",
host_supported: true,
}
cc_library_shared {
name: "libhardware",
srcs: ["hardware.c"],
shared_libs: [
"libcutils",
"liblog",
"libdl",
"libvndksupport",
],
cflags: [
"-DQEMU_HARDWARE",
"-Wall",
"-Werror",
],
header_libs: ["libhardware_headers"],
export_header_lib_headers: ["libhardware_headers"],
recovery_available: true,
vendor_available: true,
vndk: {
enabled: true,
support_system_process: true,
},
target: {
recovery: {
exclude_shared_libs: ["libvndksupport"],
},
},
min_sdk_version: "29",
}