From 271d7aaf114a620d20d7d8b2739f94c94a0a92bc Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Mon, 14 May 2018 19:42:05 -0700 Subject: [PATCH] VTS tests should be static VTS tests can only depend on NDK shared libraries, they are pushed and run on older desert version. In theory the VTS tests should be built against the NDK, but this is not possible due to all the system dependencies. Bug: 78871270 Test: compile Change-Id: I48fbffd0316efc151917071c54aa19e533c615df Signed-off-by: Kevin Rocard --- audio/core/2.0/vts/functional/Android.bp | 5 ++--- audio/core/4.0/vts/functional/Android.bp | 5 ++--- audio/effect/2.0/vts/functional/Android.bp | 5 ++--- audio/effect/4.0/vts/functional/Android.bp | 5 ++--- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/audio/core/2.0/vts/functional/Android.bp b/audio/core/2.0/vts/functional/Android.bp index f3b2ca72cd..d1ddaff948 100644 --- a/audio/core/2.0/vts/functional/Android.bp +++ b/audio/core/2.0/vts/functional/Android.bp @@ -25,9 +25,8 @@ cc_test { "android.hardware.audio.common.test.utility", "android.hardware.audio@2.0", "android.hardware.audio.common@2.0", + "libicuuc", + "libicuuc_stubdata", "libxml2", ], - shared_libs: [ - "libicuuc", - ], } diff --git a/audio/core/4.0/vts/functional/Android.bp b/audio/core/4.0/vts/functional/Android.bp index dde3e7b036..22c5493dd8 100644 --- a/audio/core/4.0/vts/functional/Android.bp +++ b/audio/core/4.0/vts/functional/Android.bp @@ -25,10 +25,9 @@ cc_test { "android.hardware.audio.common.test.utility", "android.hardware.audio@4.0", "android.hardware.audio.common@4.0", - "libxml2", - ], - shared_libs: [ "libicuuc", + "libicuuc_stubdata", + "libxml2", ], header_libs: [ "android.hardware.audio.common.util@all-versions", diff --git a/audio/effect/2.0/vts/functional/Android.bp b/audio/effect/2.0/vts/functional/Android.bp index f5a49b33e8..51d2e11a19 100644 --- a/audio/effect/2.0/vts/functional/Android.bp +++ b/audio/effect/2.0/vts/functional/Android.bp @@ -27,10 +27,9 @@ cc_test { "android.hardware.audio.effect@2.0", "android.hidl.allocator@1.0", "android.hidl.memory@1.0", - "libxml2", - ], - shared_libs: [ "libeffectsconfig", "libicuuc", + "libicuuc_stubdata", + "libxml2", ], } diff --git a/audio/effect/4.0/vts/functional/Android.bp b/audio/effect/4.0/vts/functional/Android.bp index 92b5db748d..96ded69d22 100644 --- a/audio/effect/4.0/vts/functional/Android.bp +++ b/audio/effect/4.0/vts/functional/Android.bp @@ -27,11 +27,10 @@ cc_test { "android.hardware.audio.effect@4.0", "android.hidl.allocator@1.0", "android.hidl.memory@1.0", - "libxml2", - ], - shared_libs: [ "libeffectsconfig", "libicuuc", + "libicuuc_stubdata", + "libxml2", ], header_libs: [ "android.hardware.audio.common.util@all-versions",