Suppress InputDevices validation logs
When the .kcm files are getting validated, there is logspam in the build output, produced even when there aren't any errors. Add the "-q" option to validate command to quiet these logs. Test: $ rm -rf out/target/common/obj/ETC/validate_input_devices_keymaps_intermediates/ $ m. Note: just doing "m sync" or "m InputDevices" is not sufficient to test this. Bug: 35672363 Change-Id: Ib0213de7ee0fe965f1a202afdb718a2221017e06
This commit is contained in:
@@ -19,7 +19,7 @@ LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
||||
|
||||
LOCAL_JAVA_LIBRARIES :=
|
||||
LOCAL_JAVA_LIBRARIES :=
|
||||
|
||||
LOCAL_PACKAGE_NAME := InputDevices
|
||||
LOCAL_SDK_VERSION := current
|
||||
@@ -39,7 +39,7 @@ validatekeymaps := $(HOST_OUT_EXECUTABLES)/validatekeymaps$(HOST_EXECUTABLE_SUFF
|
||||
input_devices_keymaps := $(wildcard $(LOCAL_PATH)/res/raw/*.kcm)
|
||||
$(LOCAL_BUILT_MODULE): PRIVATE_VALIDATEKEYMAPS := $(validatekeymaps)
|
||||
$(LOCAL_BUILT_MODULE) : $(input_devices_keymaps) | $(validatekeymaps)
|
||||
$(hide) $(PRIVATE_VALIDATEKEYMAPS) $^
|
||||
$(hide) $(PRIVATE_VALIDATEKEYMAPS) -q $^
|
||||
$(hide) mkdir -p $(dir $@) && touch $@
|
||||
|
||||
# Run validatekeymaps unconditionally for platform build.
|
||||
|
||||
Reference in New Issue
Block a user