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 /light/2.0 | |
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 'light/2.0')
-rw-r--r-- | light/2.0/vts/functional/Android.bp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/light/2.0/vts/functional/Android.bp b/light/2.0/vts/functional/Android.bp index 0558ff27..e0ec4cf1 100644 --- a/light/2.0/vts/functional/Android.bp +++ b/light/2.0/vts/functional/Android.bp | |||
@@ -16,19 +16,8 @@ | |||
16 | 16 | ||
17 | cc_test { | 17 | cc_test { |
18 | name: "VtsHalLightV2_0TargetTest", | 18 | name: "VtsHalLightV2_0TargetTest", |
19 | defaults: ["hidl_defaults"], | 19 | defaults: ["VtsHalTargetTestDefaults"], |
20 | srcs: ["VtsHalLightV2_0TargetTest.cpp"], | 20 | srcs: ["VtsHalLightV2_0TargetTest.cpp"], |
21 | shared_libs: [ | 21 | static_libs: ["android.hardware.light@2.0"], |
22 | "libbase", | ||
23 | "libhidlbase", | ||
24 | "liblog", | ||
25 | "libutils", | ||
26 | "android.hardware.light@2.0", | ||
27 | ], | ||
28 | static_libs: ["VtsHalHidlTargetTestBase"], | ||
29 | cflags: [ | ||
30 | "-O0", | ||
31 | "-g", | ||
32 | ] | ||
33 | } | 22 | } |
34 | 23 | ||