OSDN Git Service

Thermal 1.1 test statically links to hal def libs.
authorTri Vo <trong@google.com>
Thu, 31 Aug 2017 20:35:03 +0000 (13:35 -0700)
committerTri Vo <trong@google.com>
Thu, 31 Aug 2017 20:35:05 +0000 (13:35 -0700)
Bug: 64040096
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --module VtsHalThermalV1_1Target
Change-Id: I931dafbbdb518e387615909a69f83e6a37c4a62f

thermal/1.1/vts/functional/Android.bp

index cea5bf8..f5f01fa 100644 (file)
 
 cc_test {
     name: "VtsHalThermalV1_1TargetTest",
-    defaults: ["hidl_defaults"],
+    defaults: ["VtsHalTargetTestDefaults"],
     srcs: ["VtsHalThermalV1_1TargetTest.cpp"],
-    shared_libs: [
-        "liblog",
-        "libhidlbase",
-        "libhidltransport",
-        "libutils",
+    static_libs: [
         "android.hardware.thermal@1.0",
         "android.hardware.thermal@1.1",
     ],
-    static_libs: ["VtsHalHidlTargetTestBase"],
-    cflags: [
-        "-O0",
-        "-g",
-    ],
 }