aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongik Cha <jeongik@google.com>2021-07-21 12:15:18 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-07-21 12:15:18 +0000
commit5d5dbcaf7d0400d3b428cbe0590de0693cc26f00 (patch)
tree727dc414efbea79657202cb9e1e0aca888de5d92
parent9effa07f5b0577c5147e05c0dd5da9379b305fd5 (diff)
parent32a274d15e30750090dcf7dc940eacbf1550fdbd (diff)
downloadlibconfig-5d5dbcaf7d0400d3b428cbe0590de0693cc26f00.tar.gz
Add Android.bp for libconfig am: 056f47e20d am: 32a274d15e
Original change: https://android-review.googlesource.com/c/platform/external/libconfig/+/1772394 Change-Id: I3b21adc16b7355b1e927be808174d8f89e01ef22
-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",
+ ],
+}