diff options
Diffstat (limited to '')
-rw-r--r-- | otafault/Android.mk | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/otafault/Android.mk b/otafault/Android.mk index e8241f4c4..1898e179f 100644 --- a/otafault/Android.mk +++ b/otafault/Android.mk @@ -23,11 +23,13 @@ endif include $(CLEAR_VARS) otafault_static_libs := \ - libbase \ - libminzip \ + libziparchive \ libz \ - libselinux + libselinux \ + libbase \ + liblog +LOCAL_CFLAGS := -Werror LOCAL_SRC_FILES := config.cpp ota_io.cpp LOCAL_MODULE_TAGS := eng LOCAL_MODULE := libotafault @@ -38,12 +40,15 @@ LOCAL_WHOLE_STATIC_LIBRARIES := $(otafault_static_libs) include $(BUILD_STATIC_LIBRARY) +# otafault_test (static executable) +# =============================== include $(CLEAR_VARS) LOCAL_SRC_FILES := config.cpp ota_io.cpp test.cpp LOCAL_MODULE_TAGS := tests LOCAL_MODULE := otafault_test LOCAL_STATIC_LIBRARIES := $(otafault_static_libs) +LOCAL_CFLAGS := -Werror LOCAL_C_INCLUDES := $(RECOVERY_PATH) LOCAL_FORCE_STATIC_EXECUTABLE := true |