Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56d64faf authored by Brian Duddie's avatar Brian Duddie
Browse files

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
parent fd046498
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

cc_test {
    name: "VtsHalSensorsV1_0TargetTest",
    cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
    defaults: ["VtsHalTargetTestDefaults"],
    srcs: [
        "SensorsHidlEnvironmentV1_0.cpp",
+0 −2
Original line number Diff line number Diff line
@@ -14,8 +14,6 @@
 * limitations under the License.
 */

#define LOG_TAG "sensors_hidl_hal_test"

#include "SensorsHidlEnvironmentV1_0.h"
#include "sensors-vts-utils/SensorsHidlTestBase.h"

+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

cc_test {
    name: "VtsHalSensorsV2_0TargetTest",
    cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
    defaults: ["VtsHalTargetTestDefaults"],
    srcs: [
        "SensorsHidlEnvironmentV2_0.cpp",
+0 −2
Original line number Diff line number Diff line
@@ -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"
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

cc_library_static {
    name: "VtsHalSensorsTargetTestUtils",
    cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
    srcs: [
        "GrallocWrapper.cpp",
        "SensorsHidlEnvironmentBase.cpp",
Loading