diff options
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 23 |
1 files changed, 23 insertions, 0 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\"", + ], +} |