Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 921d12ea authored by Kevin Rocard's avatar Kevin Rocard
Browse files

Audio VTS: Change test utility from dyn to static lib



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
Signed-off-by: default avatarKevin Rocard <krocard@google.com>
parent 9400122c
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -29,9 +29,11 @@ cc_test {
        "libxml2",
        "libxml2",
        "android.hardware.audio@2.0",
        "android.hardware.audio@2.0",
        "android.hardware.audio.common@2.0",
        "android.hardware.audio.common@2.0",
    ],
    static_libs: [
        "VtsHalHidlTargetTestBase",
        "android.hardware.audio.common.test.utility",
        "android.hardware.audio.common.test.utility",
    ],
    ],
    static_libs: ["VtsHalHidlTargetTestBase"],
    cflags: [
    cflags: [
        "-O0",
        "-O0",
        "-g",
        "-g",
+1 −1
Original line number Original line Diff line number Diff line
@@ -14,7 +14,7 @@
// limitations under the License.
// limitations under the License.
//
//


cc_library_shared {
cc_library_static {
    name: "android.hardware.audio.common.test.utility",
    name: "android.hardware.audio.common.test.utility",
    defaults : ["hidl_defaults"],
    defaults : ["hidl_defaults"],
    srcs: ["src/ValidateXml.cpp"],
    srcs: ["src/ValidateXml.cpp"],
+4 −2
Original line number Original line Diff line number Diff line
@@ -29,12 +29,14 @@ cc_test {
        "libutils",
        "libutils",
        "libxml2",
        "libxml2",
        "android.hardware.audio.common@2.0",
        "android.hardware.audio.common@2.0",
        "android.hardware.audio.common.test.utility",
        "android.hardware.audio.effect@2.0",
        "android.hardware.audio.effect@2.0",
        "android.hidl.allocator@1.0",
        "android.hidl.allocator@1.0",
        "android.hidl.memory@1.0",
        "android.hidl.memory@1.0",
    ],
    ],
    static_libs: ["VtsHalHidlTargetTestBase"],
    static_libs: [
        "VtsHalHidlTargetTestBase",
        "android.hardware.audio.common.test.utility",
    ],
    cflags: [
    cflags: [
        "-O0",
        "-O0",
        "-g",
        "-g",