summaryrefslogtreecommitdiffstats
path: root/otafault/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-29 21:38:55 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-09-29 21:38:55 +0200
commit0018b93b27f4ee7457369636b13b2a1b79bf4483 (patch)
tree10ba47ca709a9ee8028d1a4a4c1d1a0497fdf6d5 /otafault/Android.mk
parentMerge "Move the png open and destroy functions into a class" (diff)
parentMerge "otafault: Move headers under otafault/." (diff)
downloadandroid_bootable_recovery-0018b93b27f4ee7457369636b13b2a1b79bf4483.tar
android_bootable_recovery-0018b93b27f4ee7457369636b13b2a1b79bf4483.tar.gz
android_bootable_recovery-0018b93b27f4ee7457369636b13b2a1b79bf4483.tar.bz2
android_bootable_recovery-0018b93b27f4ee7457369636b13b2a1b79bf4483.tar.lz
android_bootable_recovery-0018b93b27f4ee7457369636b13b2a1b79bf4483.tar.xz
android_bootable_recovery-0018b93b27f4ee7457369636b13b2a1b79bf4483.tar.zst
android_bootable_recovery-0018b93b27f4ee7457369636b13b2a1b79bf4483.zip
Diffstat (limited to 'otafault/Android.mk')
-rw-r--r--otafault/Android.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/otafault/Android.mk b/otafault/Android.mk
index 3e14f77f3..5ec8a192a 100644
--- a/otafault/Android.mk
+++ b/otafault/Android.mk
@@ -31,8 +31,8 @@ LOCAL_CFLAGS := \
LOCAL_SRC_FILES := config.cpp ota_io.cpp
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := libotafault
-LOCAL_C_INCLUDES := bootable/recovery
-LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_STATIC_LIBRARIES := $(otafault_static_libs)
include $(BUILD_STATIC_LIBRARY)
@@ -41,12 +41,13 @@ include $(BUILD_STATIC_LIBRARY)
# ===============================
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := config.cpp ota_io.cpp test.cpp
+LOCAL_SRC_FILES := test.cpp
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE := otafault_test
-LOCAL_STATIC_LIBRARIES := $(otafault_static_libs)
+LOCAL_STATIC_LIBRARIES := \
+ libotafault \
+ $(otafault_static_libs)
LOCAL_CFLAGS := -Wall -Werror
-LOCAL_C_INCLUDES := bootable/recovery
LOCAL_FORCE_STATIC_EXECUTABLE := true
include $(BUILD_EXECUTABLE)