From 43ee7e7354d941cce7862b29f2b33df0f8beca1b Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 10 Jan 2018 18:33:42 +0200 Subject: otafault/tests: Replace pathmap with commands_recovery_local_path * This is used everywhere else now in TWRP Change-Id: I4dd0bab1980ea34fabfd2949474bd62ed07d1d3c --- tests/Android.mk | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'tests') 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 \ -- cgit v1.2.3