mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Audio test statically links to dependencies.
This test now statically links to libs not guaranteed to be on the device. Bug: 64040096 Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAudioEffectV2_0Target Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAudioV2_0Target Change-Id: I331d7e4abdf7e520df6d508a8059b6358ad4398f
This commit is contained in:
@@ -16,29 +16,18 @@
|
||||
|
||||
cc_test {
|
||||
name: "VtsHalAudioV2_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
srcs: ["AudioPrimaryHidlHalTest.cpp",
|
||||
"ValidateAudioConfiguration.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libutils",
|
||||
"libcutils",
|
||||
"libxml2",
|
||||
"android.hardware.audio@2.0",
|
||||
"android.hardware.audio.common@2.0",
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: [
|
||||
"AudioPrimaryHidlHalTest.cpp",
|
||||
"ValidateAudioConfiguration.cpp"
|
||||
],
|
||||
static_libs: [
|
||||
"VtsHalHidlTargetTestBase",
|
||||
"android.hardware.audio.common.test.utility",
|
||||
"android.hardware.audio@2.0",
|
||||
"android.hardware.audio.common@2.0",
|
||||
"libxml2",
|
||||
],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
shared_libs: [
|
||||
"libicuuc",
|
||||
],
|
||||
}
|
||||
|
||||
@@ -16,30 +16,20 @@
|
||||
|
||||
cc_test {
|
||||
name: "VtsHalAudioEffectV2_0TargetTest",
|
||||
defaults: ["hidl_defaults"],
|
||||
srcs: ["VtsHalAudioEffectV2_0TargetTest.cpp",
|
||||
"ValidateAudioEffectsConfiguration.cpp"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libhidlbase",
|
||||
"libhidltransport",
|
||||
"libnativehelper",
|
||||
"libutils",
|
||||
"libxml2",
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: [
|
||||
"VtsHalAudioEffectV2_0TargetTest.cpp",
|
||||
"ValidateAudioEffectsConfiguration.cpp"
|
||||
],
|
||||
static_libs: [
|
||||
"android.hardware.audio.common.test.utility",
|
||||
"android.hardware.audio.common@2.0",
|
||||
"android.hardware.audio.effect@2.0",
|
||||
"android.hidl.allocator@1.0",
|
||||
"android.hidl.memory@1.0",
|
||||
"libxml2",
|
||||
],
|
||||
static_libs: [
|
||||
"VtsHalHidlTargetTestBase",
|
||||
"android.hardware.audio.common.test.utility",
|
||||
],
|
||||
cflags: [
|
||||
"-O0",
|
||||
"-g",
|
||||
"-Wextra",
|
||||
shared_libs: [
|
||||
"libicuuc",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user