summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 03b9e3a..3a0644a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -36,6 +36,8 @@ define firewalld_common
LOCAL_CPPFLAGS += -Wno-sign-promo
endef
+ifeq ($(HOST_OS),linux)
+
# === libfirewalld (static library) ===
include $(CLEAR_VARS)
LOCAL_MODULE := libfirewalld
@@ -80,3 +82,5 @@ LOCAL_SRC_FILES := \
LOCAL_STATIC_LIBRARIES := libfirewalld libgmock
$(eval $(firewalld_common))
include $(BUILD_NATIVE_TEST)
+
+endif # HOST_OS == linux