summaryrefslogtreecommitdiffstats
path: root/edify
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-09 22:57:58 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-09 22:57:58 +0200
commit7a3fc2de8eb535637055a4a1c0063c5fbc101c4a (patch)
tree57e9458f101d41082073491d2fad407706e92cee /edify
parentMerge "Don't include "error_code.h" in edify/expr.h." (diff)
parentapplypatch: Forward declare struct Value. (diff)
downloadandroid_bootable_recovery-7a3fc2de8eb535637055a4a1c0063c5fbc101c4a.tar
android_bootable_recovery-7a3fc2de8eb535637055a4a1c0063c5fbc101c4a.tar.gz
android_bootable_recovery-7a3fc2de8eb535637055a4a1c0063c5fbc101c4a.tar.bz2
android_bootable_recovery-7a3fc2de8eb535637055a4a1c0063c5fbc101c4a.tar.lz
android_bootable_recovery-7a3fc2de8eb535637055a4a1c0063c5fbc101c4a.tar.xz
android_bootable_recovery-7a3fc2de8eb535637055a4a1c0063c5fbc101c4a.tar.zst
android_bootable_recovery-7a3fc2de8eb535637055a4a1c0063c5fbc101c4a.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)