package { default_applicable_licenses: ["libabsl_license"], } license { name: "libabsl_license", visibility: [":__subpackages__"], license_kinds: ["SPDX-license-identifier-Apache-2.0"], license_text: ["LICENSE"], } cc_library_headers { name: "libabsl_headers", device_supported: false, host_supported: true, export_include_dirs: ["."], } cc_defaults { name: "libabsl_library_defaults", header_libs: ["libabsl_headers"], export_header_lib_headers: ["libabsl_headers"], whole_static_libs: ["libabsl_base"], } cc_library_host_static { name: "libabsl_base", defaults: ["libabsl_library_defaults"], srcs: [ "absl/base/internal/cycleclock.cc", "absl/base/internal/low_level_alloc.cc", "absl/base/internal/raw_logging.cc", "absl/base/internal/scoped_set_env.cc", "absl/base/internal/spinlock.cc", "absl/base/internal/spinlock_wait.cc", "absl/base/internal/strerror.cc", "absl/base/internal/sysinfo.cc", "absl/base/internal/thread_identity.cc", "absl/base/internal/throw_delegate.cc", "absl/base/internal/unscaledcycleclock.cc", "absl/base/log_severity.cc", ], exclude_static_libs: ["libabsl_base"], // don't depend on itself } cc_library_host_static { name: "libabsl_container", defaults: ["libabsl_library_defaults"], srcs: [ "absl/container/internal/test_instance_tracker.cc", "absl/container/internal/hashtablez_sampler.cc", "absl/container/internal/hashtablez_sampler_force_weak_definition.cc", "absl/container/internal/raw_hash_set.cc", ], } cc_library_host_static { name: "libabsl_debugging", defaults: ["libabsl_library_defaults"], srcs: [ "absl/debugging/failure_signal_handler.cc", "absl/debugging/internal/address_is_readable.cc", "absl/debugging/internal/demangle.cc", "absl/debugging/internal/elf_mem_image.cc", "absl/debugging/internal/examine_stack.cc", "absl/debugging/internal/stack_consumption.cc", "absl/debugging/internal/vdso_support.cc", "absl/debugging/leak_check.cc", "absl/debugging/stacktrace.cc", "absl/debugging/symbolize.cc", ], } cc_library_host_static { name: "libabsl_flags", defaults: ["libabsl_library_defaults"], srcs: [ "absl/flags/commandlineflag.cc", "absl/flags/flag_test_defs.cc", "absl/flags/flag.cc", "absl/flags/internal/commandlineflag.cc", "absl/flags/internal/flag.cc", "absl/flags/internal/private_handle_accessor.cc", "absl/flags/internal/program_name.cc", "absl/flags/internal/usage.cc", "absl/flags/marshalling.cc", "absl/flags/parse.cc", "absl/flags/reflection.cc", "absl/flags/usage_config.cc", "absl/flags/usage.cc", ], } cc_library_host_static { name: "libabsl_hash", defaults: ["libabsl_library_defaults"], srcs: [ "absl/hash/internal/city.cc", "absl/hash/internal/hash.cc", "absl/hash/internal/low_level_hash.cc", "absl/hash/internal/print_hash_of.cc", ], } cc_library_host_static { name: "libabsl_numeric", defaults: ["libabsl_library_defaults"], srcs: ["absl/numeric/int128.cc"], } cc_library_host_static { name: "libabsl_profiling", defaults: ["libabsl_library_defaults"], srcs: [ "absl/profiling/internal/exponential_biased.cc", "absl/profiling/internal/periodic_sampler.cc", ], } cc_library_host_static { name: "libabsl_random", defaults: ["libabsl_library_defaults"], srcs: [ "absl/random/discrete_distribution.cc", "absl/random/gaussian_distribution.cc", "absl/random/internal/chi_square.cc", "absl/random/internal/distribution_test_util.cc", "absl/random/internal/gaussian_distribution_gentables.cc", "absl/random/internal/nanobenchmark.cc", "absl/random/internal/pool_urbg.cc", "absl/random/internal/randen_benchmarks.cc", "absl/random/internal/randen.cc", "absl/random/internal/randen_detect.cc", "absl/random/internal/randen_hwaes.cc", "absl/random/internal/randen_round_keys.cc", "absl/random/internal/randen_slow.cc", "absl/random/internal/seed_material.cc", "absl/random/seed_gen_exception.cc", "absl/random/seed_sequences.cc", ], cflags: ["-Wno-unused-parameter"], } cc_library_host_static { name: "libabsl_status", defaults: ["libabsl_library_defaults"], srcs: [ "absl/status/status.cc", "absl/status/status_payload_printer.cc", "absl/status/statusor.cc", ], } cc_library_host_static { name: "libabsl_strings", defaults: ["libabsl_library_defaults"], srcs: [ "absl/strings/ascii.cc", "absl/strings/charconv.cc", "absl/strings/cord_analysis.cc", "absl/strings/cord_buffer.cc", "absl/strings/cord.cc", "absl/strings/escaping.cc", "absl/strings/internal/charconv_bigint.cc", "absl/strings/internal/charconv_parse.cc", "absl/strings/internal/cord_internal.cc", "absl/strings/internal/cord_rep_btree.cc", "absl/strings/internal/cord_rep_btree_navigator.cc", "absl/strings/internal/cord_rep_btree_reader.cc", "absl/strings/internal/cord_rep_consume.cc", "absl/strings/internal/cord_rep_crc.cc", "absl/strings/internal/cord_rep_ring.cc", "absl/strings/internal/cordz_functions.cc", "absl/strings/internal/cordz_handle.cc", "absl/strings/internal/cordz_info.cc", "absl/strings/internal/cordz_sample_token.cc", "absl/strings/internal/escaping.cc", "absl/strings/internal/memutil.cc", "absl/strings/internal/ostringstream.cc", "absl/strings/internal/pow10_helper.cc", "absl/strings/internal/str_format/arg.cc", "absl/strings/internal/str_format/bind.cc", "absl/strings/internal/str_format/extension.cc", "absl/strings/internal/str_format/float_conversion.cc", "absl/strings/internal/str_format/output.cc", "absl/strings/internal/str_format/parser.cc", "absl/strings/internal/utf8.cc", "absl/strings/match.cc", "absl/strings/numbers.cc", "absl/strings/str_cat.cc", "absl/strings/str_replace.cc", "absl/strings/str_split.cc", "absl/strings/string_view.cc", "absl/strings/substitute.cc", ], } cc_library_host_static { name: "libabsl_synchronization", defaults: ["libabsl_library_defaults"], srcs: [ "absl/synchronization/barrier.cc", "absl/synchronization/blocking_counter.cc", "absl/synchronization/internal/create_thread_identity.cc", "absl/synchronization/internal/per_thread_sem.cc", "absl/synchronization/internal/waiter.cc", "absl/synchronization/internal/graphcycles.cc", "absl/synchronization/mutex.cc", "absl/synchronization/notification.cc", ], } cc_library_host_static { name: "libabsl_time", defaults: ["libabsl_library_defaults"], srcs: [ "absl/time/civil_time.cc", "absl/time/clock.cc", "absl/time/duration.cc", "absl/time/format.cc", "absl/time/internal/cctz/src/civil_time_detail.cc", "absl/time/internal/cctz/src/time_zone_fixed.cc", "absl/time/internal/cctz/src/time_zone_format.cc", "absl/time/internal/cctz/src/time_zone_if.cc", "absl/time/internal/cctz/src/time_zone_impl.cc", "absl/time/internal/cctz/src/time_zone_info.cc", "absl/time/internal/cctz/src/time_zone_libc.cc", "absl/time/internal/cctz/src/time_zone_lookup.cc", "absl/time/internal/cctz/src/time_zone_posix.cc", "absl/time/internal/cctz/src/zone_info_source.cc", "absl/time/time.cc", ], } cc_library_host_static { name: "libabsl_types", defaults: ["libabsl_library_defaults"], srcs: [ "absl/types/bad_any_cast.cc", "absl/types/bad_optional_access.cc", "absl/types/bad_variant_access.cc", ], }