diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2016-12-05 16:04:30 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2016-12-05 21:54:32 +0100 |
commit | 941a899695a6b4167918c428c88c25b3b1fedff0 (patch) | |
tree | a92a252684d33acf5bec1c53a0646f52ba1b589e /Android.mk | |
parent | Copy Kernel Logs (diff) | |
download | android_bootable_recovery-941a899695a6b4167918c428c88c25b3b1fedff0.tar android_bootable_recovery-941a899695a6b4167918c428c88c25b3b1fedff0.tar.gz android_bootable_recovery-941a899695a6b4167918c428c88c25b3b1fedff0.tar.bz2 android_bootable_recovery-941a899695a6b4167918c428c88c25b3b1fedff0.tar.lz android_bootable_recovery-941a899695a6b4167918c428c88c25b3b1fedff0.tar.xz android_bootable_recovery-941a899695a6b4167918c428c88c25b3b1fedff0.tar.zst android_bootable_recovery-941a899695a6b4167918c428c88c25b3b1fedff0.zip |
Diffstat (limited to '')
-rw-r--r-- | Android.mk | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk index 553777554..94b2cd666 100644 --- a/Android.mk +++ b/Android.mk @@ -571,23 +571,27 @@ include $(CLEAR_VARS) LOCAL_MODULE := libaosprecovery LOCAL_MODULE_TAGS := eng optional LOCAL_CFLAGS := -std=gnu++0x -LOCAL_SRC_FILES := adb_install.cpp asn1_decoder.cpp legacy_property_service.cpp set_metadata.cpp tw_atomic.cpp -LOCAL_SHARED_LIBRARIES += libc liblog libcutils libmtdutils libfusesideload libselinux +LOCAL_SRC_FILES := adb_install.cpp asn1_decoder.cpp legacy_property_service.cpp set_metadata.cpp tw_atomic.cpp installcommand.cpp +LOCAL_SHARED_LIBRARIES += libc liblog libcutils libmtdutils libfusesideload libselinux libminzip +LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0) LOCAL_SHARED_LIBRARIES += libstdc++ libstlport - LOCAL_C_INCLUDES := bionic external/stlport/stlport + LOCAL_C_INCLUDES += bionic external/stlport/stlport else LOCAL_SHARED_LIBRARIES += libc++ endif ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 24; echo $$?),0) LOCAL_SHARED_LIBRARIES += libmincrypttwrp - LOCAL_C_INCLUDES := $(LOCAL_PATH)/libmincrypt/includes + LOCAL_C_INCLUDES += $(LOCAL_PATH)/libmincrypt/includes LOCAL_SRC_FILES += verifier24/verifier.cpp LOCAL_CFLAGS += -DUSE_OLD_VERIFIER else - LOCAL_SHARED_LIBRARIES += libcrypto + LOCAL_SHARED_LIBRARIES += libcrypto libbase LOCAL_SRC_FILES += verifier.cpp endif +ifeq ($(AB_OTA_UPDATER),true) + LOCAL_CFLAGS += -DAB_OTA_UPDATER=1 +endif ifneq ($(BOARD_RECOVERY_BLDRMSG_OFFSET),) LOCAL_CFLAGS += -DBOARD_RECOVERY_BLDRMSG_OFFSET=$(BOARD_RECOVERY_BLDRMSG_OFFSET) |