platform_hardware_interfaces/Android.bp
Keun Soo YIM 71611f329d Package all VTS binaries for HALs as part of general-tests
To package VTS tests as part of a separate package which consequently
helps other developer testing tools to support VTS.

Test: make general-tests
Bug: 120093339
Change-Id: I850157782ad436f81a8d7b95168c4cc39dcff2b8
2018-12-03 20:00:08 +00:00

45 lines
952 B
Text

hidl_package_root {
name: "android.hardware",
use_current: true,
}
cc_defaults {
name: "hidl_defaults",
cflags: [
"-Wall",
"-Werror",
],
}
// VTS tests must link to HAL definition libraries statically.
cc_defaults {
name: "VtsHalTargetTestDefaults",
defaults: [
"vts_target_tests_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",
],
}