summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Nathan <ralphnathan@google.com>2016-02-08 13:09:59 -0800
committerRalph Nathan <ralphnathan@google.com>2016-02-08 13:09:59 -0800
commit0e344a92a6536fe72af1b98bbf07f715b33dbfd2 (patch)
tree913e65e6e677d704ca65e1af4a57dbcca43aca25
parentf2a37dca848bb4abaa86e62e1f6f0384cc2559c1 (diff)
downloadcommon-brillo-m10-release.tar.gz
Add eng tags to sensor examples.brillo-m10-releasebrillo-m10-dev
We want the sensor examples to be built for all Brillo eng targets. BUG=26980523 Change-Id: I09e15d01b88d732563f5ce32cd8757d086c020a3
-rw-r--r--sensors_example/Android.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/sensors_example/Android.mk b/sensors_example/Android.mk
index 3576f5a..08363d2 100644
--- a/sensors_example/Android.mk
+++ b/sensors_example/Android.mk
@@ -30,7 +30,9 @@ include $(BUILD_SHARED_LIBRARY)
# Example app that uses sensors HAL.
include $(CLEAR_VARS)
LOCAL_MODULE := sensors-hal-example-app
-LOCAL_MODULE_TAGS := optional
+ifdef BRILLO
+LOCAL_MODULE_TAGS := eng
+endif
LOCAL_SRC_FILES := hal-example-app.cpp
LOCAL_CFLAGS := -Wno-unused-parameter
LOCAL_SHARED_LIBRARIES := libhardware
@@ -39,7 +41,9 @@ include $(BUILD_EXECUTABLE)
# Example app that uses NDK sensors API.
include $(CLEAR_VARS)
LOCAL_MODULE := sensors-ndk-example-app
-LOCAL_MODULE_TAGS := optional
+ifdef BRILLO
+LOCAL_MODULE_TAGS := eng
+endif
LOCAL_SRC_FILES := ndk-example-app.cpp
LOCAL_CFLAGS := -Wno-unused-parameter
LOCAL_SHARED_LIBRARIES := libsensor