diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-11-20 10:48:40 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-20 10:48:40 -0800 |
commit | 4db37eb3074422c4a9f7e03aa5eeb52e76752677 (patch) | |
tree | 2e78761e0690d6b32b674695c5b187796ddf8990 | |
parent | 6992baa2b708e1f4fc12daa7b90530bc1b5aaf1e (diff) | |
parent | f5fa07792aecdee283eb29c536ec5eb6647166ab (diff) | |
download | platform_external_libdaemon-4db37eb3074422c4a9f7e03aa5eeb52e76752677.tar.gz platform_external_libdaemon-4db37eb3074422c4a9f7e03aa5eeb52e76752677.tar.bz2 platform_external_libdaemon-4db37eb3074422c4a9f7e03aa5eeb52e76752677.zip |
Convert libdaemon to Android.bp am: 5b6ed49707
am: f5fa07792a
Change-Id: I6b689c1331adfbdc2e5dc5a99db3800c62c877da
-rw-r--r-- | Android.bp | 23 | ||||
-rw-r--r-- | Android.mk | 1 | ||||
-rw-r--r-- | libdaemon/Android.mk | 34 |
3 files changed, 23 insertions, 35 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..452fd2a --- /dev/null +++ b/Android.bp @@ -0,0 +1,23 @@ +cc_library_shared { + name: "libdaemon", + + srcs: [ + "libdaemon/dexec.c", + "libdaemon/dfork.c", + "libdaemon/dlog.c", + "libdaemon/dnonblock.c", + "libdaemon/dpid.c", + "libdaemon/dsignal.c", + ], + + export_include_dirs: ["."], + + cflags: [ + "-Wall", + "-Werror", + "-Wno-error=user-defined-warnings", + "-Wno-unused-parameter", + "-DHAVE_CONFIG_H", + "-DLOCALSTATEDIR=\"/var\"", + ], +} diff --git a/Android.mk b/Android.mk deleted file mode 100644 index 5053e7d..0000000 --- a/Android.mk +++ /dev/null @@ -1 +0,0 @@ -include $(call all-subdir-makefiles) diff --git a/libdaemon/Android.mk b/libdaemon/Android.mk deleted file mode 100644 index eab115b..0000000 --- a/libdaemon/Android.mk +++ /dev/null @@ -1,34 +0,0 @@ -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+= \ - -Wall -Werror \ - -Wno-error=user-defined-warnings \ - -Wno-unused-parameter \ - -DHAVE_CONFIG_H \ - -DLOCALSTATEDIR=\"/var\" - -include $(BUILD_SHARED_LIBRARY) |