summaryrefslogtreecommitdiffstats
path: root/edify
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-09 23:06:18 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-10-09 23:06:18 +0200
commitb53d8c6062ccf265260df582198e4396df5fd9dd (patch)
tree951dc6c3ec7fb944e5d04203ecf5a67650dde6da /edify
parentMerge "Don't include "error_code.h" in edify/expr.h." am: d999ced1d1 (diff)
parentMerge "applypatch: Forward declare struct Value." (diff)
downloadandroid_bootable_recovery-b53d8c6062ccf265260df582198e4396df5fd9dd.tar
android_bootable_recovery-b53d8c6062ccf265260df582198e4396df5fd9dd.tar.gz
android_bootable_recovery-b53d8c6062ccf265260df582198e4396df5fd9dd.tar.bz2
android_bootable_recovery-b53d8c6062ccf265260df582198e4396df5fd9dd.tar.lz
android_bootable_recovery-b53d8c6062ccf265260df582198e4396df5fd9dd.tar.xz
android_bootable_recovery-b53d8c6062ccf265260df582198e4396df5fd9dd.tar.zst
android_bootable_recovery-b53d8c6062ccf265260df582198e4396df5fd9dd.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)