2017-11-10 04:05:17 +01:00
|
|
|
hidl_package_root {
|
|
|
|
name: "android.hardware",
|
2018-11-30 02:12:15 +01:00
|
|
|
use_current: true,
|
2017-11-10 04:05:17 +01:00
|
|
|
}
|
|
|
|
|
2017-03-09 00:58:46 +01:00
|
|
|
cc_defaults {
|
|
|
|
name: "hidl_defaults",
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
}
|
2017-08-01 22:12:35 +02:00
|
|
|
|
2017-08-04 01:39:02 +02:00
|
|
|
// VTS tests must link to HAL definition libraries statically.
|
2017-08-01 22:12:35 +02:00
|
|
|
cc_defaults {
|
|
|
|
name: "VtsHalTargetTestDefaults",
|
2018-11-29 19:15:47 +01:00
|
|
|
defaults: [
|
|
|
|
"hidl_defaults",
|
|
|
|
],
|
2017-08-04 01:39:02 +02:00
|
|
|
|
|
|
|
// Lists all dependencies that can *not* be expected on the device.
|
2017-08-01 22:12:35 +02:00
|
|
|
static_libs: [
|
2020-04-07 23:38:56 +02:00
|
|
|
"VtsHalHidlTestUtils",
|
2018-06-08 19:57:30 +02:00
|
|
|
"libhidl-gen-utils",
|
2017-08-01 22:12:35 +02:00
|
|
|
],
|
2019-08-22 00:44:07 +02:00
|
|
|
|
|
|
|
header_libs: [
|
2019-10-29 22:20:45 +01:00
|
|
|
"libhidl_gtest_helper",
|
2019-08-22 00:44:07 +02:00
|
|
|
],
|
|
|
|
|
2017-08-01 22:12:35 +02:00
|
|
|
group_static_libs: true,
|
2017-08-04 01:39:02 +02:00
|
|
|
|
|
|
|
// Lists all system dependencies that can be expected on the device.
|
2017-08-01 22:12:35 +02:00
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
2017-08-04 01:39:02 +02:00
|
|
|
// All the following are dependencies of any HAL definition library.
|
2017-08-01 22:12:35 +02:00
|
|
|
"libcutils",
|
|
|
|
"liblog",
|
|
|
|
"libhidlbase",
|
|
|
|
"libutils",
|
|
|
|
],
|
|
|
|
cflags: [
|
|
|
|
"-O0",
|
|
|
|
"-g",
|
|
|
|
],
|
|
|
|
|
2019-10-10 20:17:22 +02:00
|
|
|
require_root: true,
|
2017-08-01 22:12:35 +02:00
|
|
|
}
|
2020-04-07 23:38:56 +02:00
|
|
|
|
|
|
|
// TODO: Remove this after all vts tests under vendor/qcom are converted to
|
|
|
|
// parameterized gtest.
|
|
|
|
cc_defaults {
|
|
|
|
name: "Vts10HalTargetTestDefaults",
|
|
|
|
defaults: [
|
|
|
|
"VtsHalTargetTestDefaults",
|
|
|
|
],
|
|
|
|
static_libs: [
|
|
|
|
"VtsHalHidlTargetTestBase",
|
|
|
|
],
|
|
|
|
}
|