summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Anderson <saa@android.com>2012-02-15 15:44:39 -0800
committerScott Anderson <saa@android.com>2012-02-16 14:20:13 -0800
commit7e2590a9f7cadd7f717928425420a713a7aa795e (patch)
treeb357a464b01206189274a75519b2d0704638c0fa
parent4605b3fb8a00fa37f617a8d0fe3a095d0503a845 (diff)
downloadextras-7e2590a9f7cadd7f717928425420a713a7aa795e.tar.gz
ext4_utils: simg2img: Add LOCAL_MODULE_TAGS in Android.mk
1) simg2img was being installed on the device. For the BUILD_EXECUTABLE add an "optional" tag (instead of the implied default of "user") so this does not happen. 2) In preparation of removing simg2img from user_tags.mk, add a "debug" tag to the BUILD_HOST_EXECUTABLE so it will be put in the host bin subdirectory for eng and userdebug builds. Change-Id: Ib8407e366b8154772e3b78cabb09655851ce77de Signed-off-by: Scott Anderson <saa@android.com>
-rw-r--r--ext4_utils/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext4_utils/Android.mk b/ext4_utils/Android.mk
index f09197c6..4819a9a0 100644
--- a/ext4_utils/Android.mk
+++ b/ext4_utils/Android.mk
@@ -93,6 +93,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := simg2img.c \
sparse_crc32.c
LOCAL_MODULE := simg2img
+LOCAL_MODULE_TAGS := debug
include $(BUILD_HOST_EXECUTABLE)
@@ -101,6 +102,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := simg2img.c \
sparse_crc32.c
LOCAL_MODULE := simg2img
+LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)