VTS tests now static link to HAL def libs.
And use VtsHalTargetTestDefaults. This is a partial cherry-pick of ag/2657080. Bug: 64040096 Test: compiles, works fine in internal master Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620 Change-Id: I76d47d8546416b57055841851a9d343026cd3210
This commit is contained in:
parent
8d0d6f99df
commit
b65c5ceff2
18 changed files with 37 additions and 263 deletions
|
@ -16,21 +16,8 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalBiometricsFingerprintV2_1TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalBiometricsFingerprintV2_1TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libhidltransport",
|
||||
"libhardware",
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"android.hardware.biometrics.fingerprint@2.1",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.biometrics.fingerprint@2.1"],
|
||||
}
|
||||
|
||||
|
|
|
@ -16,20 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalBootV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalBootV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"android.hardware.boot@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.boot@1.0"],
|
||||
}
|
||||
|
|
|
@ -16,21 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalBroadcastradioV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalBroadcastradioV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"android.hardware.broadcastradio@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
],
|
||||
static_libs: ["android.hardware.broadcastradio@1.0"],
|
||||
}
|
||||
|
|
|
@ -16,19 +16,8 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalConfigstoreV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalConfigstoreV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"android.hardware.configstore@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.configstore@1.0"],
|
||||
}
|
||||
|
||||
|
|
|
@ -16,19 +16,8 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalContexthubV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalContexthubV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libutils",
|
||||
"android.hardware.contexthub@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.contexthub@1.0"],
|
||||
}
|
||||
|
||||
|
|
|
@ -16,21 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalGatekeeperV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalGatekeeperV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"android.hardware.gatekeeper@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.gatekeeper@1.0"],
|
||||
}
|
||||
|
|
|
@ -16,21 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalGnssV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalGnssV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"android.hardware.gnss@1.0",
|
||||
"libbase",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"liblog",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
],
|
||||
static_libs: ["android.hardware.gnss@1.0"],
|
||||
}
|
|
@ -16,17 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalHealthV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalHealthV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"android.hardware.health@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.health@1.0"],
|
||||
}
|
||||
|
|
|
@ -16,19 +16,8 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalLightV2_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalLightV2_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"android.hardware.light@2.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.light@2.0"],
|
||||
}
|
||||
|
||||
|
|
|
@ -16,20 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalMemtrackV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalMemtrackV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhardware",
|
||||
"libhidlbase",
|
||||
"libutils",
|
||||
"android.hardware.memtrack@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.memtrack@1.0"],
|
||||
}
|
||||
|
|
|
@ -16,21 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalPowerV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalPowerV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"android.hardware.power@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.power@1.0"],
|
||||
}
|
||||
|
|
|
@ -16,19 +16,8 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalSensorsV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalSensorsV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"android.hardware.sensors@1.0",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
],
|
||||
static_libs: ["android.hardware.sensors@1.0"],
|
||||
}
|
||||
|
||||
|
|
|
@ -16,21 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalSoundtriggerV2_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalSoundtriggerV2_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"android.hardware.soundtrigger@2.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
],
|
||||
static_libs: ["android.hardware.soundtrigger@2.0"],
|
||||
}
|
||||
|
|
|
@ -16,22 +16,8 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalThermalV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalThermalV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"android.hardware.thermal@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
],
|
||||
static_libs: ["android.hardware.thermal@1.0"],
|
||||
}
|
||||
|
||||
|
|
|
@ -16,22 +16,8 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalTvInputV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalTvInputV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"android.hardware.tv.input@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.tv.input@1.0"],
|
||||
}
|
||||
|
||||
|
|
|
@ -16,21 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalUsbV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalUsbV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"android.hardware.usb@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
],
|
||||
static_libs: ["android.hardware.usb@1.0"],
|
||||
}
|
||||
|
|
|
@ -16,19 +16,8 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalVibratorV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalVibratorV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libhidlbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"android.hardware.vibrator@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
],
|
||||
static_libs: ["android.hardware.vibrator@1.0"],
|
||||
}
|
||||
|
||||
|
|
|
@ -16,17 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalVrV1_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: ["VtsHalVrV1_0TargetTest.cpp"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libhidlbase",
|
||||
"libutils",
|
||||
"android.hardware.vr@1.0",
|
||||
],
|
||||
static_libs: ["VtsHalHidlTargetTestBase"],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
]
|
||||
static_libs: ["android.hardware.vr@1.0"],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue