blob: 7bf43dc4494affc594a49245941aa84ee68e9ec2 [file] [log] [blame]
Che-Yen Lufa7ec5b2018-09-11 18:28:18 -07001cc_library {
Greg Hartmanff733e62017-10-18 12:25:41 -07002 name: "libgflags",
Greg Hartmanb68ef532017-10-10 18:46:53 -07003 host_supported: true,
Greg Hartman3ca002c2017-12-11 11:31:20 -08004 vendor_available: true,
Alistair Strachanc9d49ab2019-01-03 12:49:55 -08005 recovery_available: true,
Greg Hartmanb68ef532017-10-10 18:46:53 -07006 srcs: [
7 "src/gflags.cc",
Greg Hartman99506272017-10-18 15:45:27 -07008 "src/gflags_completions.cc",
Greg Hartmanb68ef532017-10-10 18:46:53 -07009 "src/gflags_reporting.cc",
10 ],
11 cflags: [
12 "-D__STDC_FORMAT_MACROS",
Chih-Hung Hsiehfe305e72017-10-25 15:10:20 -070013 "-DHAVE_INTTYPES_H",
14 "-DHAVE_SYS_STAT_H",
Greg Hartmanff733e62017-10-18 12:25:41 -070015 "-DHAVE_PTHREAD",
Chih-Hung Hsiehfe305e72017-10-25 15:10:20 -070016 "-Wall",
17 "-Werror",
Chih-Hung Hsieh20419712018-09-05 15:35:54 -070018 "-Wno-implicit-fallthrough",
19 // gflags_completions.cc:326,327 have unannotated fall-through
Greg Hartmanb68ef532017-10-10 18:46:53 -070020 ],
21 export_include_dirs: [
22 "android",
23 ],
24}