package { default_applicable_licenses: ["external_gflags_license"], } // Added automatically by a large-scale-change // // large-scale-change included anything that looked like it might be a license // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. // // Please consider removing redundant or irrelevant files from 'license_text:'. // See: http://go/android-license-faq license { name: "external_gflags_license", visibility: [":__subpackages__"], license_kinds: [ "SPDX-license-identifier-BSD", ], license_text: [ "COPYING.txt", "LICENSE", ], } cc_library { name: "libgflags", host_supported: true, vendor_available: true, product_available: true, recovery_available: true, ramdisk_available: true, vendor_ramdisk_available: true, srcs: [ "src/gflags.cc", "src/gflags_completions.cc", "src/gflags_reporting.cc", ], cflags: [ "-D__STDC_FORMAT_MACROS", "-DHAVE_INTTYPES_H", "-DHAVE_SYS_STAT_H", "-DHAVE_PTHREAD", "-Wall", "-Werror", "-Wno-implicit-fallthrough", // gflags_completions.cc:326,327 have unannotated fall-through ], export_include_dirs: [ "android", ], static: { apex_available: [ "com.android.gki.*", "com.android.virt", ], }, }