diff options
author | Tri Vo | 2017-08-22 17:21:18 -0500 |
---|---|---|
committer | Peng Xu | 2017-08-25 13:48:10 -0500 |
commit | b65c5ceff282e169de8bb7a834b498da0c737a57 (patch) | |
tree | ca80db609728049eb420592a7fbe0dde2eca496f /gatekeeper/1.0/vts | |
parent | 8d0d6f99dfbd121140549adc43f360686467e875 (diff) | |
download | platform-hardware-interfaces-b65c5ceff282e169de8bb7a834b498da0c737a57.tar.gz platform-hardware-interfaces-b65c5ceff282e169de8bb7a834b498da0c737a57.tar.xz platform-hardware-interfaces-b65c5ceff282e169de8bb7a834b498da0c737a57.zip |
VTS tests now static link to HAL def libs.
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.
Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
Diffstat (limited to 'gatekeeper/1.0/vts')
-rw-r--r-- | gatekeeper/1.0/vts/functional/Android.bp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/gatekeeper/1.0/vts/functional/Android.bp b/gatekeeper/1.0/vts/functional/Android.bp index 70cb6158..aa1da7bb 100644 --- a/gatekeeper/1.0/vts/functional/Android.bp +++ b/gatekeeper/1.0/vts/functional/Android.bp | |||
@@ -16,21 +16,7 @@ | |||
16 | 16 | ||
17 | cc_test { | 17 | cc_test { |
18 | name: "VtsHalGatekeeperV1_0TargetTest", | 18 | name: "VtsHalGatekeeperV1_0TargetTest", |
19 | defaults: ["hidl_defaults"], | 19 | defaults: ["VtsHalTargetTestDefaults"], |
20 | srcs: ["VtsHalGatekeeperV1_0TargetTest.cpp"], | 20 | srcs: ["VtsHalGatekeeperV1_0TargetTest.cpp"], |
21 | shared_libs: [ | 21 | static_libs: ["android.hardware.gatekeeper@1.0"], |
22 | "libbase", | ||
23 | "liblog", | ||
24 | "libcutils", | ||
25 | "libhidlbase", | ||
26 | "libhidltransport", | ||
27 | "libnativehelper", | ||
28 | "libutils", | ||
29 | "android.hardware.gatekeeper@1.0", | ||
30 | ], | ||
31 | static_libs: ["VtsHalHidlTargetTestBase"], | ||
32 | cflags: [ | ||
33 | "-O0", | ||
34 | "-g", | ||
35 | ] | ||
36 | } | 22 | } |