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/common/vts/utils/Android.bp b/sensors/common/vts/utils/Android.bp index 95df425..8da554a 100644 --- a/sensors/common/vts/utils/Android.bp +++ b/sensors/common/vts/utils/Android.bp
@@ -16,6 +16,7 @@ cc_library_static { name: "VtsHalSensorsTargetTestUtils", + cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""], srcs: [ "GrallocWrapper.cpp", "SensorsHidlEnvironmentBase.cpp",
diff --git a/sensors/common/vts/utils/GrallocWrapper.cpp b/sensors/common/vts/utils/GrallocWrapper.cpp index 7bed16d..153c208 100644 --- a/sensors/common/vts/utils/GrallocWrapper.cpp +++ b/sensors/common/vts/utils/GrallocWrapper.cpp
@@ -14,8 +14,6 @@ * limitations under the License. */ -#define LOG_TAG "GrallocWrapper" - #include "GrallocWrapper.h" #include <utils/Log.h>