Add Android.bp for libconfig am: 056f47e20d
Original change: https://android-review.googlesource.com/c/platform/external/libconfig/+/1772394
Change-Id: I7a06e080ebc250459b406f3511db0d85a27352b9
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",
+ ],
+}