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
diff --git a/packages/InputDevices/Android.mk b/packages/InputDevices/Android.mk
index 6de1f1d..80803fd 100644
--- a/packages/InputDevices/Android.mk
+++ b/packages/InputDevices/Android.mk
@@ -19,7 +19,7 @@
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 @@
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.