diff options
author | Robert Ginda <rginda@chromium.org> | 2015-08-04 14:46:50 -0700 |
---|---|---|
committer | Robert Ginda <rginda@chromium.org> | 2015-08-12 10:17:31 -0700 |
commit | c336c7e25c91352c311e3da8f1b881d4e1875b2c (patch) | |
tree | ee6b640d838c8f5c0879f8e625402c0325407045 /avahi-client/Android.mk | |
parent | 887640e5abc02caf2ed27b045b6a0ffe5af4c9ec (diff) | |
download | avahi-c336c7e25c91352c311e3da8f1b881d4e1875b2c.tar.gz |
Initial add of Android.mk files.
These files were initially generated by the third party
"androgenizer", but then updated and cleaned up by hand.
The changes to the generated files were:
* Hand edited some Android.mk files to add the lib prefix, changed
build types, fix references to the dbus library.
* Remove Android.mk files for avahi-glib and avahi-gobject since we're
not going to need them.
* Remove outdated LOCAL_PRELINK_MODULE variable.
* Remove LOCAL_MODULE_TAGS from static modules.
* Convert literal tabs to 4 spaces.
* Dump a warning and exit from update_android_mk.sh, since we've
diverged from the generated output.
Change user/group (in config.h) from "avahi" to "system".
Bug: 22827641
Change-Id: I84c3d7a96e091797f4380003045836f8183531ad
Diffstat (limited to 'avahi-client/Android.mk')
-rw-r--r-- | avahi-client/Android.mk | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/avahi-client/Android.mk b/avahi-client/Android.mk new file mode 100644 index 0000000..6a5bc69 --- /dev/null +++ b/avahi-client/Android.mk @@ -0,0 +1,64 @@ +LOCAL_PATH:=$(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE:=libavahi-client + +LOCAL_MODULE_TAGS:=eng debug + +LOCAL_SRC_FILES := \ + client.c \ + entrygroup.c \ + browser.c \ + resolver.c \ + xdg-config.c \ + check-nss.c \ + ../avahi-common/dbus.c \ + ../avahi-common/dbus-watch-glue.c + +LOCAL_SHARED_LIBRARIES:=\ + libdbus \ + libavahi-common \ + libdl + +LOCAL_CFLAGS := \ + -DHAVE_CONFIG_H \ + -g \ + -O2 \ + -fstack-protector \ + -std=c99 \ + -Wall \ + -W \ + -Wextra \ + -pedantic \ + -pipe \ + -Wformat \ + -Wold-style-definition \ + -Wdeclaration-after-statement \ + -Wfloat-equal \ + -Wmissing-declarations \ + -Wmissing-prototypes \ + -Wstrict-prototypes \ + -Wredundant-decls \ + -Wmissing-noreturn \ + -Wshadow \ + -Wendif-labels \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -fdiagnostics-show-option \ + -Wno-cast-qual \ + -fno-strict-aliasing \ + -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) \ + -DDBUS_VERSION_MAJOR=1 \ + -DDBUS_VERSION_MINOR=6 \ + -DDBUS_VERSION_MICRO=18 \ + -DDBUS_API_SUBJECT_TO_CHANGE \ + -DDBUS_SYSTEM_BUS_DEFAULT_ADDRESS=\"unix:path=/var/run/dbus/system_bus_socket\" + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH) \ + external/avahi + +include $(BUILD_SHARED_LIBRARY) |