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
Merged-In: I7a98b2aaf0e0f6f91a92b7f01df1c630540ad697
Signed-off-by: Kevin Rocard <krocard@google.com>
This commit is contained in:
Kevin Rocard
2017-07-18 12:29:39 -07:00
parent 9071cc5bbc
commit 0718333765
2 changed files with 4 additions and 2 deletions

View File

@@ -29,9 +29,11 @@ cc_test {
"libxml2",
"android.hardware.audio@2.0",
"android.hardware.audio.common@2.0",
],
static_libs: [
"VtsHalHidlTargetTestBase",
"android.hardware.audio.common.test.utility",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",

View File

@@ -14,7 +14,7 @@
// limitations under the License.
//
cc_library_shared {
cc_library_static {
name: "android.hardware.audio.common.test.utility",
defaults : ["hidl_defaults"],
srcs: ["src/ValidateXml.cpp"],