Jeongik Cha | 056f47e | 2021-07-21 15:43:49 +0900 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["external_libconfig_license"], |
| 3 | } |
| 4 | |
| 5 | license { |
| 6 | name: "external_libconfig_license", |
| 7 | visibility: [":__subpackages__"], |
| 8 | license_kinds: [ |
| 9 | "SPDX-license-identifier-LGPL-2.1", |
| 10 | ], |
| 11 | license_text: [ |
| 12 | "LICENSE", |
| 13 | ], |
| 14 | } |
| 15 | |
| 16 | cc_library_host_static { |
| 17 | name: "libconfig", |
| 18 | srcs: [ |
| 19 | "lib/*.c" |
| 20 | ], |
| 21 | cflags: [ |
| 22 | "-Wno-unused-parameter", |
| 23 | "-DHAVE_USELOCALE", |
| 24 | "-DHAVE_FREELOCALE", |
| 25 | "-DHAVE_NEWLOCALE", |
| 26 | ], |
| 27 | export_include_dirs: [ |
| 28 | "lib", |
| 29 | ], |
| 30 | visibility: [ |
| 31 | "//external/wmediumd", |
| 32 | ], |
| 33 | } |