diff options
author | Gilad Arnold <garnold@google.com> | 2015-08-13 14:14:03 -0700 |
---|---|---|
committer | Gilad Arnold <garnold@google.com> | 2015-08-13 14:15:21 -0700 |
commit | e3f204a9ddb37401b3e19e1a17a1f836f0c0b8df (patch) | |
tree | 852422ae476fa3ce0ed684b34c0100d875c291d6 | |
parent | 7db56bd4c91a516637995b9bf75241cb0c323bf9 (diff) | |
download | firewalld-e3f204a9ddb37401b3e19e1a17a1f836f0c0b8df.tar.gz |
Only define build targets if building in Linux.
Building of firewalld depends on DBus bindings generator, which
currently isn't available on other hosts (notably, Darwin).
Bug: 22827985
Change-Id: I39e7b41658752090e684885bec2c905fad33aa98
-rw-r--r-- | Android.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |