platform_hardware_interfaces/Android.bp
Zhuoyao Zhang cecb0e7789 Include libhidl-gen-utils to HAL tests
Bug: 109880878
Test: make vts
Change-Id: Ic5a639559602688b40296a3de28abdd58b8b7e65
2018-06-08 10:57:30 -07:00

42 lines
910 B
Text

hidl_package_root {
name: "android.hardware",
path: "hardware/interfaces",
}
cc_defaults {
name: "hidl_defaults",
cflags: [
"-Wall",
"-Werror",
],
}
// VTS tests must link to HAL definition libraries statically.
cc_defaults {
name: "VtsHalTargetTestDefaults",
defaults: ["hidl_defaults"],
// Lists all dependencies that can *not* be expected on the device.
static_libs: [
"VtsHalHidlTargetTestBase",
"libhidl-gen-utils",
],
group_static_libs: true,
// Lists all system dependencies that can be expected on the device.
shared_libs: [
"libbase",
// All the following are dependencies of any HAL definition library.
"libcutils",
"liblog",
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libutils",
],
cflags: [
"-O0",
"-g",
],
}