From d56539e62a829e49b011f67c296ffe97f83ccbff Mon Sep 17 00:00:00 2001 From: Yuexi Ma Date: Wed, 21 Mar 2018 10:47:22 -0700 Subject: [PATCH] Update vts test module bp files to use VtsHalTargetTestDefaults Test: make vts Change-Id: I3c0dab52dc894e1a1fc9b99be1351ed7bd380502 Merged-In: I3c0dab52dc894e1a1fc9b99be1351ed7bd380502 --- automotive/evs/1.0/vts/functional/Android.bp | 11 ++--------- graphics/mapper/2.0/utils/vts/Android.bp | 6 +----- wifi/1.0/vts/functional/Android.bp | 11 ++--------- 3 files changed, 5 insertions(+), 23 deletions(-) diff --git a/automotive/evs/1.0/vts/functional/Android.bp b/automotive/evs/1.0/vts/functional/Android.bp index 6ac24589dc..5d696fc4b1 100644 --- a/automotive/evs/1.0/vts/functional/Android.bp +++ b/automotive/evs/1.0/vts/functional/Android.bp @@ -23,20 +23,13 @@ cc_test { "FormatConvert.cpp" ], - defaults: [ - "hidl_defaults", - ], + defaults: ["VtsHalTargetTestDefaults"], shared_libs: [ - "android.hardware.automotive.evs@1.0", - "liblog", - "libutils", "libui", - "libhidlbase", - "libhidltransport", ], - static_libs: ["VtsHalHidlTargetTestBase"], + static_libs: ["android.hardware.automotive.evs@1.0"], cflags: [ "-O0", diff --git a/graphics/mapper/2.0/utils/vts/Android.bp b/graphics/mapper/2.0/utils/vts/Android.bp index 8bca152afa..e6190a71ed 100644 --- a/graphics/mapper/2.0/utils/vts/Android.bp +++ b/graphics/mapper/2.0/utils/vts/Android.bp @@ -16,17 +16,13 @@ cc_library_static { name: "libVtsHalGraphicsMapperTestUtils", - defaults: ["hidl_defaults"], + defaults: ["VtsHalTargetTestDefaults"], srcs: ["VtsHalGraphicsMapperTestUtils.cpp"], cflags: [ "-O0", "-g", ], - shared_libs: [ - "libutils", - ], static_libs: [ - "VtsHalHidlTargetTestBase", "android.hardware.graphics.allocator@2.0", "android.hardware.graphics.mapper@2.0", ], diff --git a/wifi/1.0/vts/functional/Android.bp b/wifi/1.0/vts/functional/Android.bp index b2f76a31ae..6522f4d1b7 100644 --- a/wifi/1.0/vts/functional/Android.bp +++ b/wifi/1.0/vts/functional/Android.bp @@ -16,7 +16,7 @@ cc_library_static { name: "VtsHalWifiV1_0TargetTestUtil", - defaults: ["hidl_defaults"], + defaults: ["VtsHalTargetTestDefaults"], srcs: [ "wifi_hidl_call_util_selftest.cpp", "wifi_hidl_test.cpp", @@ -26,16 +26,9 @@ cc_library_static { "." ], shared_libs: [ - "libbase", - "liblog", - "libcutils", - "libhidlbase", - "libhidltransport", "libnativehelper", - "libutils", - "android.hardware.wifi@1.0", ], - static_libs: ["VtsHalHidlTargetTestBase"], + static_libs: ["android.hardware.wifi@1.0"], } cc_test {