aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongik Cha <jeongik@google.com>2021-07-21 12:02:10 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-07-21 12:02:10 +0000
commit32a274d15e30750090dcf7dc940eacbf1550fdbd (patch)
tree727dc414efbea79657202cb9e1e0aca888de5d92
parent604433215f52d71d357e158a31bcf81b73a9a4a4 (diff)
parent056f47e20d806e69a33c9c72218d6c7d50bf113d (diff)
downloadlibconfig-32a274d15e30750090dcf7dc940eacbf1550fdbd.tar.gz
Add Android.bp for libconfig am: 056f47e20d
Original change: https://android-review.googlesource.com/c/platform/external/libconfig/+/1772394 Change-Id: I7a06e080ebc250459b406f3511db0d85a27352b9
-rw-r--r--Android.bp33
1 files changed, 33 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..ab54390
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,33 @@
+package {
+ default_applicable_licenses: ["external_libconfig_license"],
+}
+
+license {
+ name: "external_libconfig_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-LGPL-2.1",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
+cc_library_host_static {
+ name: "libconfig",
+ srcs: [
+ "lib/*.c"
+ ],
+ cflags: [
+ "-Wno-unused-parameter",
+ "-DHAVE_USELOCALE",
+ "-DHAVE_FREELOCALE",
+ "-DHAVE_NEWLOCALE",
+ ],
+ export_include_dirs: [
+ "lib",
+ ],
+ visibility: [
+ "//external/wmediumd",
+ ],
+}