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
This commit is contained in:
parent
fd04649895
commit
56d64faff7
6 changed files with 3 additions and 6 deletions
|
@ -16,6 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalSensorsV1_0TargetTest",
|
||||
cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: [
|
||||
"SensorsHidlEnvironmentV1_0.cpp",
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
cc_test {
|
||||
name: "VtsHalSensorsV2_0TargetTest",
|
||||
cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
|
||||
defaults: ["VtsHalTargetTestDefaults"],
|
||||
srcs: [
|
||||
"SensorsHidlEnvironmentV2_0.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"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
cc_library_static {
|
||||
name: "VtsHalSensorsTargetTestUtils",
|
||||
cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
|
||||
srcs: [
|
||||
"GrallocWrapper.cpp",
|
||||
"SensorsHidlEnvironmentBase.cpp",
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#define LOG_TAG "GrallocWrapper"
|
||||
|
||||
#include "GrallocWrapper.h"
|
||||
|
||||
#include <utils/Log.h>
|
||||
|
|
Loading…
Reference in a new issue