From 0cd9782665f142d964c0397a531ed7da25f5b25e Mon Sep 17 00:00:00 2001 From: Tri Vo Date: Fri, 4 Aug 2017 10:55:31 -0700 Subject: [PATCH] Neural networks test static links to HAL def libs. Bug: 64040096 Test: compiles Change-Id: I87d26a93fa28d7cd93176489a0d0556b7350f1ed --- neuralnetworks/1.0/vts/functional/Android.bp | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/neuralnetworks/1.0/vts/functional/Android.bp b/neuralnetworks/1.0/vts/functional/Android.bp index 96eb4cb51f..d76b2c3320 100644 --- a/neuralnetworks/1.0/vts/functional/Android.bp +++ b/neuralnetworks/1.0/vts/functional/Android.bp @@ -17,21 +17,11 @@ cc_test { name: "VtsHalNeuralnetworksV1_0TargetTest", srcs: ["VtsHalNeuralnetworksV1_0TargetTest.cpp"], - defaults: ["hidl_defaults"], - shared_libs: [ - "libbase", - "libhidlbase", - "libhidlmemory", - "libhidltransport", - "liblog", - "libutils", + defaults: ["VtsHalTargetTestDefaults"], + static_libs: [ "android.hardware.neuralnetworks@1.0", "android.hidl.allocator@1.0", "android.hidl.memory@1.0", - ], - static_libs: ["VtsHalHidlTargetTestBase"], - cflags: [ - "-O0", - "-g", + "libhidlmemory", ], }