diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-11-19 17:33:03 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2018-11-19 17:33:03 -0800 |
commit | 5b6ed49707290c2e64b91e3c5d8682c9e57826ff (patch) | |
tree | 2e78761e0690d6b32b674695c5b187796ddf8990 /Android.bp | |
parent | 6992baa2b708e1f4fc12daa7b90530bc1b5aaf1e (diff) | |
download | libdaemon-5b6ed49707290c2e64b91e3c5d8682c9e57826ff.tar.gz |
Convert libdaemon to Android.bpandroid-wear-8.0.0_r2android-n-iot-release-ihome-igv1nougat-iot-release
See build/soong/README.md for more information.
Test: cd external/libdaemon; mma
Change-Id: Ibcb8be77eee070e43ec6c4829d2dedf0080bf091
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\"", + ], +} |