aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/sensors/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'emulator/sensors/Android.mk')
-rw-r--r--emulator/sensors/Android.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/emulator/sensors/Android.mk b/emulator/sensors/Android.mk
index 74e02ad..9b0e83d 100644
--- a/emulator/sensors/Android.mk
+++ b/emulator/sensors/Android.mk
@@ -13,6 +13,13 @@
# limitations under the License.
+# We're moving the emulator-specific platform libs to
+# development.git/tools/emulator/. The following test is to ensure
+# smooth builds even if the tree contains both versions.
+#
+ifndef BUILD_EMULATOR_SENSORS_MODULE
+BUILD_EMULATOR_SENSORS_MODULE := true
+
LOCAL_PATH := $(call my-dir)
ifneq ($(TARGET_PRODUCT),sim)
@@ -27,3 +34,5 @@ LOCAL_MODULE := sensors.goldfish
LOCAL_MODULE_TAGS := debug
include $(BUILD_SHARED_LIBRARY)
endif
+
+endif # BUILD_EMULATOR_SENSORS_MODULE