diff options
author | Tri Vo <trong@google.com> | 2017-08-03 16:37:47 -0700 |
---|---|---|
committer | Tri Vo <trong@google.com> | 2017-08-10 17:44:57 +0000 |
commit | 0c2ce357b11bc18e0c1ff775968ea3179ae38a8b (patch) | |
tree | fd0387b109dbbeee784cc06b5b0dd1b4c7b5bb33 /contexthub | |
parent | cc1007af3350bd1a3c001da968a56655c7780cde (diff) | |
download | platform_hardware_interfaces-0c2ce357b11bc18e0c1ff775968ea3179ae38a8b.tar.gz platform_hardware_interfaces-0c2ce357b11bc18e0c1ff775968ea3179ae38a8b.tar.bz2 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 'contexthub')
-rw-r--r-- | contexthub/1.0/vts/functional/Android.bp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/contexthub/1.0/vts/functional/Android.bp b/contexthub/1.0/vts/functional/Android.bp index c35386d1c3..7c6e8c73b5 100644 --- a/contexthub/1.0/vts/functional/Android.bp +++ b/contexthub/1.0/vts/functional/Android.bp @@ -16,19 +16,8 @@ cc_test { name: "VtsHalContexthubV1_0TargetTest", - defaults: ["hidl_defaults"], + defaults: ["VtsHalTargetTestDefaults"], srcs: ["VtsHalContexthubV1_0TargetTest.cpp"], - shared_libs: [ - "liblog", - "libhidlbase", - "libhidltransport", - "libutils", - "android.hardware.contexthub@1.0", - ], - static_libs: ["VtsHalHidlTargetTestBase"], - cflags: [ - "-O0", - "-g", - ] + static_libs: ["android.hardware.contexthub@1.0"], } |