• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["libabsl_license"],
3}
4
5license {
6    name: "libabsl_license",
7    visibility: [":__subpackages__"],
8    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
9    license_text: ["LICENSE"],
10}
11
12// Monolithic module for use on device. Currently restricted to 3P libraries
13// which require it as a dependency. See go/absl-android for more information.
14cc_library_static {
15    name: "libabsl",
16    host_supported: true,
17    vendor_available: true,
18    product_available: true,
19    srcs: [
20        "absl/**/*.cc",
21    ],
22    exclude_srcs: [
23        "absl/**/*benchmark.cc",
24        "absl/**/*benchmarks.cc",
25        "absl/**/*_test.cc",
26        "absl/**/*_testing.cc",
27        "absl/base/spinlock_test_common.cc",
28        "absl/hash/internal/print_hash_of.cc",
29        "absl/log/internal/test_helpers.cc",
30        "absl/log/internal/test_matchers.cc",
31        "absl/log/scoped_mock_log.cc",
32        "absl/random/internal/gaussian_distribution_gentables.cc",
33    ],
34    export_include_dirs: ["."],
35    shared_libs: [
36        "liblog",
37    ],
38    stl: "libc++",
39    apex_available: [
40        "//apex_available:platform",
41    ],
42    visibility: [
43        "//external/grpc-grpc:__subpackages__",
44        "//external/kythe:__subpackages__",
45    ],
46}
47
48// Globally visible host-only library.
49cc_library_host_static {
50    name: "libabsl_host",
51    whole_static_libs: ["libabsl"],
52    export_include_dirs: ["."],
53    stl: "libc++",
54}
55