commit | 56d64faff7e56bc355cce2793f51771981252644 | [log] [tgz] |
---|---|---|
author | Brian Duddie <bduddie@google.com> | Wed Jun 19 16:23:02 2019 -0700 |
committer | Brian Duddie <bduddie@google.com> | Thu Jun 20 13:36:43 2019 -0700 |
tree | 8727363f4ebcd47d5fbe10def78744651b9f5dc4 | |
parent | fd04649895686a868d1f6c23d624fb0159308ca8 [diff] |
Fix log tag for sensors VTS tests Define log tag at build level to ensure all libraries have a tag defined. Bug: 135638664 Test: run VtsHalSensorsV2_0TargetTest Change-Id: I593055b59238e9fa8dead00a3dafa84c00e90ec4
diff --git a/sensors/2.0/vts/functional/Android.bp b/sensors/2.0/vts/functional/Android.bp index 8e8413c..98f0eac 100644 --- a/sensors/2.0/vts/functional/Android.bp +++ b/sensors/2.0/vts/functional/Android.bp
@@ -16,6 +16,7 @@ cc_test { name: "VtsHalSensorsV2_0TargetTest", + cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""], defaults: ["VtsHalTargetTestDefaults"], srcs: [ "SensorsHidlEnvironmentV2_0.cpp",
diff --git a/sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp b/sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp index 39053fe..582ab79 100644 --- a/sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp +++ b/sensors/2.0/vts/functional/VtsHalSensorsV2_0TargetTest.cpp
@@ -14,8 +14,6 @@ * limitations under the License. */ -#define LOG_TAG "sensors_hidl_hal_test" - #include "SensorsHidlEnvironmentV2_0.h" #include "sensors-vts-utils/SensorsHidlTestBase.h" #include "sensors-vts-utils/SensorsTestSharedMemory.h"