summaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorTri Vo2017-08-03 18:37:47 -0500
committerTri Vo2017-08-10 12:44:57 -0500
commit0c2ce357b11bc18e0c1ff775968ea3179ae38a8b (patch)
treefd0387b109dbbeee784cc06b5b0dd1b4c7b5bb33 /light
parentcc1007af3350bd1a3c001da968a56655c7780cde (diff)
downloadplatform-hardware-interfaces-0c2ce357b11bc18e0c1ff775968ea3179ae38a8b.tar.gz
platform-hardware-interfaces-0c2ce357b11bc18e0c1ff775968ea3179ae38a8b.tar.xz
platform-hardware-interfaces-0c2ce357b11bc18e0c1ff775968ea3179ae38a8b.zip
VTS tests now static link to HAL def libs. #2
And use VtsHalTargetTestDefaults. Bug: 64040096 Test: crop out all non-affected tests from vts-hal-hidl.xml and run vts-tradefed run commandAndExit vts-hal-hidl --skip-all-system-status-check --skip-preconditions 2 failures, same as without this change: GatekeeperHidlTest.DeleteAllUsersTest GatekeeperHidlTest.DeleteUserTest Change-Id: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Diffstat (limited to 'light')
-rw-r--r--light/2.0/vts/functional/Android.bp15
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
17cc_test { 17cc_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