summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorCasey Dahlin <sadmac@google.com>2016-03-08 11:17:10 -0800
committerCasey Dahlin <sadmac@google.com>2016-03-08 15:41:57 -0800
commit96a1bc9afaa3396665c599d8db9ae417eef6a725 (patch)
tree4488a14bf9c4e128074f12f7bed508fe33d5c99e /Android.mk
parent37cde20114b1f7bd3cf49f40c07785d66fb3cea8 (diff)
downloadfirewalld-96a1bc9afaa3396665c599d8db9ae417eef6a725.tar.gz
Publish a binder interface
This should have the same functionality as the DBus interface. It should also be perfectly safe to use both. Change-Id: I42945941cb6e87d4fbee4797cb3d2286bcaa0267 Test: webservd can still open its ports via firewalld Bug: 25932807
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 7b4f06d..904ae52 100644
--- a/Android.mk
+++ b/Android.mk
@@ -21,13 +21,17 @@ define firewalld_common
LOCAL_CPP_EXTENSION := .cc
LOCAL_CLANG := true
LOCAL_SHARED_LIBRARIES += \
+ libbinder \
+ libbinderwrapper \
libbrillo \
+ libbrillo-binder \
libbrillo-dbus \
libbrillo-minijail \
libchrome \
libchrome-dbus \
libdbus \
- libminijail
+ libminijail \
+ libutils
LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter
LOCAL_CPPFLAGS += -Wno-sign-promo
endef
@@ -47,6 +51,8 @@ LOCAL_MODULE := libfirewalld
LOCAL_SRC_FILES := \
dbus_bindings/dbus-service-config.json \
dbus_bindings/org.chromium.Firewalld.dbus-xml \
+ binder_bindings/android/firewalld/IFirewall.aidl \
+ binder_interface.cc \
firewall_daemon.cc \
firewall_service.cc \
iptables.cc