summaryrefslogtreecommitdiffstats
path: root/audio/2.0
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2017-08-16 17:33:24 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-08-16 17:33:24 +0000
commitc619cac2be15af29bf2425b72ea8f4b3ac7bac36 (patch)
tree917defcf8d14bd3f04a85674c6ff3c7fc2b75b9d /audio/2.0
parent22898c0ed71340ac7043705dbbb03ced80304636 (diff)
parenteb8dfd8c01f86844e3cc303fdf319a91b2da924a (diff)
downloadplatform_hardware_interfaces-c619cac2be15af29bf2425b72ea8f4b3ac7bac36.tar.gz
platform_hardware_interfaces-c619cac2be15af29bf2425b72ea8f4b3ac7bac36.tar.bz2
platform_hardware_interfaces-c619cac2be15af29bf2425b72ea8f4b3ac7bac36.zip
Merge "Audio test statically links to dependencies." into oc-mr1-dev
Diffstat (limited to 'audio/2.0')
-rw-r--r--audio/2.0/vts/functional/Android.bp29
1 files changed, 9 insertions, 20 deletions
diff --git a/audio/2.0/vts/functional/Android.bp b/audio/2.0/vts/functional/Android.bp
index b289709fda..f3b2ca72cd 100644
--- a/audio/2.0/vts/functional/Android.bp
+++ b/audio/2.0/vts/functional/Android.bp
@@ -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",
],
}