OSDN Git Service

Audio VTS: Change test utility from dyn to static lib
authorKevin Rocard <krocard@google.com>
Tue, 18 Jul 2017 19:29:39 +0000 (12:29 -0700)
committerKevin Rocard <krocard@google.com>
Thu, 20 Jul 2017 17:01:44 +0000 (10:01 -0700)
Bug: 63801053

In order to avoid having to instruct vts-tradefed to push the test
utility library on the target before runing the audio VTS,
duplicating the makefile declaration,
make the library static.

Test: make vts
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target
Change-Id: I7a98b2aaf0e0f6f91a92b7f01df1c630540ad697
Merged-In: I7a98b2aaf0e0f6f91a92b7f01df1c630540ad697
(cherry picked from commit 921d12ea6d212e97a7bce124850ec914eebaa02d)
Signed-off-by: Kevin Rocard <krocard@google.com>
audio/effect/2.0/vts/functional/Android.bp

index b3002a4..15f1e64 100644 (file)
@@ -29,12 +29,14 @@ cc_test {
         "libutils",
         "libxml2",
         "android.hardware.audio.common@2.0",
-        "android.hardware.audio.common.test.utility",
         "android.hardware.audio.effect@2.0",
         "android.hidl.allocator@1.0",
         "android.hidl.memory@1.0",
     ],
-    static_libs: ["VtsHalHidlTargetTestBase"],
+    static_libs: [
+        "VtsHalHidlTargetTestBase",
+        "android.hardware.audio.common.test.utility",
+    ],
     cflags: [
         "-O0",
         "-g",