summaryrefslogtreecommitdiffstats
path: root/edify
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-09 20:03:38 +0200
committerTao Bao <tbao@google.com>2017-10-09 20:50:09 +0200
commit38d78d19b9482e7bbad756f0cdbf533cbb52a8f8 (patch)
tree57e9458f101d41082073491d2fad407706e92cee /edify
parentMerge "Don't include "error_code.h" in edify/expr.h." (diff)
downloadandroid_bootable_recovery-38d78d19b9482e7bbad756f0cdbf533cbb52a8f8.tar
android_bootable_recovery-38d78d19b9482e7bbad756f0cdbf533cbb52a8f8.tar.gz
android_bootable_recovery-38d78d19b9482e7bbad756f0cdbf533cbb52a8f8.tar.bz2
android_bootable_recovery-38d78d19b9482e7bbad756f0cdbf533cbb52a8f8.tar.lz
android_bootable_recovery-38d78d19b9482e7bbad756f0cdbf533cbb52a8f8.tar.xz
android_bootable_recovery-38d78d19b9482e7bbad756f0cdbf533cbb52a8f8.tar.zst
android_bootable_recovery-38d78d19b9482e7bbad756f0cdbf533cbb52a8f8.zip
Diffstat (limited to 'edify')
-rw-r--r--edify/Android.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/edify/Android.mk b/edify/Android.mk
index cec65f42a..fbf2b1b06 100644
--- a/edify/Android.mk
+++ b/edify/Android.mk
@@ -34,3 +34,19 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
LOCAL_STATIC_LIBRARIES += libbase
include $(BUILD_STATIC_LIBRARY)
+
+#
+# Build the host-side library (static library)
+#
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(edify_src_files)
+
+LOCAL_CFLAGS := -Wall -Werror
+LOCAL_CPPFLAGS := -Wno-unused-parameter
+LOCAL_CPPFLAGS += -Wno-deprecated-register
+LOCAL_MODULE := libedify
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
+LOCAL_STATIC_LIBRARIES += libbase
+
+include $(BUILD_HOST_STATIC_LIBRARY)