diff options
author | Tao Bao <tbao@google.com> | 2017-04-13 02:26:50 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-13 02:26:50 +0200 |
commit | a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f (patch) | |
tree | 5c42bc852e234138ebbe41b246f397e0d4d4b822 /Android.mk | |
parent | Merge "Protect filename_cache with lock in ota fault" am: 1b28a27c33 am: 461188865b am: 41bdd91780 (diff) | |
parent | Verify the package compatibility with libvintf. (diff) | |
download | android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.gz android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.bz2 android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.lz android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.xz android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.zst android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.zip |
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk index d70101395..1b83d75ff 100644 --- a/Android.mk +++ b/Android.mk @@ -14,6 +14,10 @@ LOCAL_PATH := $(call my-dir) +# Needed by build/make/core/Makefile. +RECOVERY_API_VERSION := 3 +RECOVERY_FSTAB_VERSION := 2 + # libfusesideload (static library) # =============================== include $(CLEAR_VARS) @@ -36,6 +40,22 @@ LOCAL_MODULE := libmounts LOCAL_STATIC_LIBRARIES := libbase include $(BUILD_STATIC_LIBRARY) +# librecovery (static library) +# =============================== +include $(CLEAR_VARS) +LOCAL_SRC_FILES := \ + install.cpp +LOCAL_CFLAGS := -Wno-unused-parameter -Werror +LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) +LOCAL_MODULE := librecovery +LOCAL_STATIC_LIBRARIES := \ + libminui \ + libcrypto_utils \ + libcrypto \ + libbase + +include $(BUILD_STATIC_LIBRARY) + # recovery (static executable) # =============================== include $(CLEAR_VARS) @@ -45,7 +65,6 @@ LOCAL_SRC_FILES := \ asn1_decoder.cpp \ device.cpp \ fuse_sdcard_provider.cpp \ - install.cpp \ recovery.cpp \ roots.cpp \ rotate_logs.cpp \ @@ -65,8 +84,6 @@ LOCAL_REQUIRED_MODULES := mkfs.f2fs endif endif -RECOVERY_API_VERSION := 3 -RECOVERY_FSTAB_VERSION := 2 LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION) LOCAL_CFLAGS += -Wno-unused-parameter -Werror LOCAL_CLANG := true @@ -76,6 +93,7 @@ LOCAL_C_INCLUDES += \ system/core/adb \ LOCAL_STATIC_LIBRARIES := \ + librecovery \ libbatterymonitor \ libbootloader_message \ libext4_utils \ |