Merge "Build a static bspatch for recovery."

This commit is contained in:
Alex Deymo authored and Gerrit Code Review committed 2016-08-03 00:38:28 +00:00
commit 05ff27aaf4
1 file changed
+14
+14
View File
@@ -100,6 +100,20 @@ 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_main.cc
LOCAL_CFLAGS := $(bsdiff_common_cflags)
LOCAL_STATIC_LIBRARIES := \
libbspatch \
$(bsdiff_common_static_libs)
include $(BUILD_EXECUTABLE)
# Host executables.
include $(CLEAR_VARS)