diff options
author | Doug Zongker <dougz@android.com> | 2009-06-26 13:38:55 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2009-06-26 13:38:55 -0700 |
commit | ad3db099d5ee17b1b46fee3131b9561b73b36703 (patch) | |
tree | 2af419320a7b066da0a618513c0572a3b5fa753f /updater/Android.mk | |
parent | fbf3c10e45c20f8fe6bd1ac49ffe220035b9c454 (diff) | |
download | bootable_recovery-ad3db099d5ee17b1b46fee3131b9561b73b36703.tar.gz bootable_recovery-ad3db099d5ee17b1b46fee3131b9561b73b36703.tar.bz2 bootable_recovery-ad3db099d5ee17b1b46fee3131b9561b73b36703.zip |
remove updater from the user system image
updater (which is only needed in OTA packages) is getting included in
/system/bin, where it just takes up (quite a bit of) space. Use the
hack of including it only in eng builds so it's not there for user
builds.
Diffstat (limited to 'updater/Android.mk')
-rw-r--r-- | updater/Android.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/updater/Android.mk b/updater/Android.mk index 1159d7b..897b9d7 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 := libapplypatch libedify libmtdutils libminzip libz |