diff options
author | big biff <bigbiff@teamw.in> | 2018-05-13 16:51:56 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.omnirom.org> | 2018-05-13 16:51:56 +0200 |
commit | a2c4fc29f344e08a652b9111cd2d1719e159676a (patch) | |
tree | 68b642fd5b762880515251acdf3ce45ba755b6af | |
parent | Merge "applypatch: Fix bad AOSP merge" into android-8.1 (diff) | |
parent | otafault/tests: Replace pathmap with commands_recovery_local_path (diff) | |
download | android_bootable_recovery-a2c4fc29f344e08a652b9111cd2d1719e159676a.tar android_bootable_recovery-a2c4fc29f344e08a652b9111cd2d1719e159676a.tar.gz android_bootable_recovery-a2c4fc29f344e08a652b9111cd2d1719e159676a.tar.bz2 android_bootable_recovery-a2c4fc29f344e08a652b9111cd2d1719e159676a.tar.lz android_bootable_recovery-a2c4fc29f344e08a652b9111cd2d1719e159676a.tar.xz android_bootable_recovery-a2c4fc29f344e08a652b9111cd2d1719e159676a.tar.zst android_bootable_recovery-a2c4fc29f344e08a652b9111cd2d1719e159676a.zip |
-rw-r--r-- | otafault/Android.mk | 10 | ||||
-rw-r--r-- | tests/Android.mk | 10 |
2 files changed, 4 insertions, 16 deletions
diff --git a/otafault/Android.mk b/otafault/Android.mk index 7d65b55f6..c40fc06dd 100644 --- a/otafault/Android.mk +++ b/otafault/Android.mk @@ -14,12 +14,6 @@ LOCAL_PATH := $(call my-dir) -ifdef project-path-for - RECOVERY_PATH := $(call project-path-for,recovery) -else - RECOVERY_PATH := bootable/recovery -endif - include $(CLEAR_VARS) otafault_static_libs := \ @@ -39,7 +33,7 @@ LOCAL_SRC_FILES := config.cpp ota_io.cpp LOCAL_MODULE_TAGS := eng LOCAL_MODULE := libotafault LOCAL_CLANG := true -LOCAL_C_INCLUDES := $(RECOVERY_PATH) +LOCAL_C_INCLUDES := $(commands_recovery_local_path) LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) LOCAL_WHOLE_STATIC_LIBRARIES := $(otafault_static_libs) @@ -54,7 +48,7 @@ LOCAL_MODULE_TAGS := tests LOCAL_MODULE := otafault_test LOCAL_STATIC_LIBRARIES := $(otafault_static_libs) LOCAL_CFLAGS := -Werror -LOCAL_C_INCLUDES := $(RECOVERY_PATH) +LOCAL_C_INCLUDES := $(commands_recovery_local_path) LOCAL_FORCE_STATIC_EXECUTABLE := true include $(BUILD_EXECUTABLE) diff --git a/tests/Android.mk b/tests/Android.mk index ff8f3a38e..097b633f7 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -16,12 +16,6 @@ LOCAL_PATH := $(call my-dir) -ifdef project-path-for - RECOVERY_PATH := $(call project-path-for,recovery) -else - RECOVERY_PATH := bootable/recovery -endif - # Unit tests include $(CLEAR_VARS) LOCAL_CFLAGS := -Werror @@ -46,7 +40,7 @@ LOCAL_SRC_FILES := \ unit/sysutil_test.cpp \ unit/zip_test.cpp \ -LOCAL_C_INCLUDES := $(RECOVERY_PATH) +LOCAL_C_INCLUDES := $(commands_recovery_local_path) LOCAL_SHARED_LIBRARIES := liblog include $(BUILD_NATIVE_TEST) @@ -104,7 +98,7 @@ endif LOCAL_MODULE := recovery_component_test LOCAL_COMPATIBILITY_SUITE := device-tests -LOCAL_C_INCLUDES := $(RECOVERY_PATH) +LOCAL_C_INCLUDES := $(commands_recovery_local_path) LOCAL_SRC_FILES := \ component/applypatch_test.cpp \ component/bootloader_message_test.cpp \ |