summaryrefslogtreecommitdiffstats
path: root/updater/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'updater/Android.mk')
-rw-r--r--updater/Android.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/updater/Android.mk b/updater/Android.mk
index 71a9a23f6..d4a4e332d 100644
--- a/updater/Android.mk
+++ b/updater/Android.mk
@@ -7,10 +7,15 @@ updater_src_files := \
updater.c
#
-# Build the device-side library
+# Build a statically-linked binary to include in OTA packages
#
include $(CLEAR_VARS)
+# Build only in eng, so we don't end up with a copy of this in /system
+# on user builds. (TODO: find a better way to build device binaries
+# needed only for OTA packages.)
+LOCAL_MODULE_TAGS := eng
+
LOCAL_SRC_FILES := $(updater_src_files)
LOCAL_STATIC_LIBRARIES := $(TARGET_RECOVERY_UPDATER_LIBS) $(TARGET_RECOVERY_UPDATER_EXTRA_LIBS)