diff options
author | Robert Ginda <rginda@chromium.org> | 2015-08-05 11:23:14 -0700 |
---|---|---|
committer | Robert Ginda <rginda@chromium.org> | 2015-08-05 11:23:14 -0700 |
commit | 8d8ad60fce9134f31b233c78bd286d3f949aa3b8 (patch) | |
tree | f5a90fac0006dada785191bc4e626982b62131e7 | |
parent | 56edcf9b19a0c2e1a43c484aa686142cb900cd62 (diff) | |
download | platform_external_libdaemon-8d8ad60fce9134f31b233c78bd286d3f949aa3b8.tar.gz platform_external_libdaemon-8d8ad60fce9134f31b233c78bd286d3f949aa3b8.tar.bz2 platform_external_libdaemon-8d8ad60fce9134f31b233c78bd286d3f949aa3b8.zip |
Add Android.mk files
-rw-r--r-- | Android.mk | 1 | ||||
-rw-r--r-- | libdaemon/Android.mk | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..5053e7d --- /dev/null +++ b/Android.mk @@ -0,0 +1 @@ +include $(call all-subdir-makefiles) diff --git a/libdaemon/Android.mk b/libdaemon/Android.mk new file mode 100644 index 0000000..565c873 --- /dev/null +++ b/libdaemon/Android.mk @@ -0,0 +1,32 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + dexec.c \ + dfork.c \ + dlog.c \ + dnonblock.c \ + dpid.c \ + dsignal.c + +LOCAL_C_INCLUDES+= $(LOCAL_PATH)/.. + +LOCAL_MODULE:=libdaemon + +LOCAL_EXPORT_C_INCLUDE_DIRS:= $(LOCAL_PATH)/.. + +# -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -pipe +# -Wall -W -Wextra -pedantic -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 -Winline +# -Wstrict-aliasing +# -MT testd.o -MD -MP -MF .deps/testd.Tpo -c -o testd.o testd.c + +LOCAL_CFLAGS+= \ + -Wno-unused-parameter \ + -DHAVE_CONFIG_H \ + -DLOCALSTATEDIR=\"/var\" + +include $(BUILD_SHARED_LIBRARY) |