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-common/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-common/Android.mk')
-rw-r--r-- | avahi-common/Android.mk | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/avahi-common/Android.mk b/avahi-common/Android.mk new file mode 100644 index 0000000..788e350 --- /dev/null +++ b/avahi-common/Android.mk @@ -0,0 +1,57 @@ +LOCAL_PATH:=$(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE:=libavahi-common + +LOCAL_SRC_FILES := \ + avahi-malloc.c \ + address.c \ + alternative.c \ + error.c \ + strlst.c \ + domain.c \ + timeval.c \ + simple-watch.c \ + thread-watch.c \ + rlist.c \ + utf8.c \ + i18n.c + +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\"\) \ + -DAVAHI_LOCALEDIR=\"/usr/local/share/locale\" + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH) \ + external/avahi + +include $(BUILD_STATIC_LIBRARY) |