From 056f47e20d806e69a33c9c72218d6c7d50bf113d Mon Sep 17 00:00:00 2001 From: Jeongik Cha Date: Wed, 21 Jul 2021 15:43:49 +0900 Subject: Add Android.bp for libconfig Bug: 191918323 Test: m libconfig Change-Id: If03b76ec55038638cd0b27c659494c8bfb6bed71 --- Android.bp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Android.bp 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", + ], +} -- cgit v1.2.3