fdbc494c69
Bug: 147894326 Test: build Change-Id: If847cc3aa5bb17682b92266f5460efe9d3fadfab
61 lines
1.2 KiB
Text
61 lines
1.2 KiB
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: [
|
|
"VtsHalHidlTestUtils",
|
|
"libhidl-gen-utils",
|
|
],
|
|
|
|
header_libs: [
|
|
"libhidl_gtest_helper",
|
|
],
|
|
|
|
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",
|
|
"libutils",
|
|
],
|
|
cflags: [
|
|
"-O0",
|
|
"-g",
|
|
],
|
|
|
|
require_root: true,
|
|
}
|
|
|
|
// TODO: Remove this after all vts tests under vendor/qcom are converted to
|
|
// parameterized gtest.
|
|
cc_defaults {
|
|
name: "Vts10HalTargetTestDefaults",
|
|
defaults: [
|
|
"VtsHalTargetTestDefaults",
|
|
],
|
|
static_libs: [
|
|
"VtsHalHidlTargetTestBase",
|
|
],
|
|
}
|