DO NOT MERGE: Build a static bspatch for recovery.

am: 2eea58f169

Change-Id: I3847e9df2ef422aee52e997829a65235b6269a19
This commit is contained in:
Alex Deymo authored and android-build-merger committed 2016-08-12 18:07:01 +00:00
commit fb97da5a93
1 file changed
+14
+14
View File
@@ -62,6 +62,20 @@ LOCAL_C_INCLUDES += external/bzip2
LOCAL_STATIC_LIBRARIES := $(bsdiff_common_static_libs)
include $(BUILD_EXECUTABLE)
# bspatch used in recovery by update_engine_sideload.
include $(CLEAR_VARS)
LOCAL_MODULE := bspatch_recovery
LOCAL_MODULE_STEM := bspatch
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES := \
$(bspatch_src_files) \
bspatch_main.cc
LOCAL_CFLAGS := $(bsdiff_common_cflags)
LOCAL_STATIC_LIBRARIES := \
$(bsdiff_common_static_libs)
include $(BUILD_EXECUTABLE)
# Host executables.