| package { |
| default_applicable_licenses: ["libabsl_license"], |
| } |
| |
| license { |
| name: "libabsl_license", |
| visibility: [":__subpackages__"], |
| license_kinds: ["SPDX-license-identifier-Apache-2.0"], |
| license_text: ["LICENSE"], |
| } |
| |
| // Monolithic module for use on device. Currently restricted to 3P libraries |
| // which require it as a dependency. See go/absl-android for more information. |
| cc_library_static { |
| name: "libabsl", |
| host_supported: true, |
| vendor_available: true, |
| product_available: true, |
| recovery_available: true, |
| srcs: [ |
| "absl/**/*.cc", |
| ], |
| exclude_srcs: [ |
| "absl/**/*benchmark.cc", |
| "absl/**/*benchmarks.cc", |
| "absl/**/*_test.cc", |
| "absl/**/*_testing.cc", |
| "absl/base/spinlock_test_common.cc", |
| "absl/hash/internal/print_hash_of.cc", |
| "absl/log/internal/test_helpers.cc", |
| "absl/log/internal/test_matchers.cc", |
| "absl/log/scoped_mock_log.cc", |
| "absl/random/internal/gaussian_distribution_gentables.cc", |
| "absl/status/internal/status_matchers.cc", |
| ], |
| export_include_dirs: ["."], |
| shared_libs: [ |
| "liblog", |
| ], |
| stl: "libc++", |
| sdk_version: "current", |
| min_sdk_version: "apex_inherit", |
| apex_available: [ |
| "//apex_available:platform", |
| "com.android.adservices", |
| "com.android.extservices", |
| "com.android.ondevicepersonalization", |
| ], |
| visibility: [ |
| "//external/federated-compute:__subpackages__", |
| "//external/grpc-grpc:__subpackages__", |
| "//external/libtextclassifier:__subpackages__", |
| "//external/kythe:__subpackages__", |
| "//external/tensorflow:__subpackages__", |
| "//external/tflite-support:__subpackages__", |
| "//external/webrtc:__subpackages__", |
| "//frameworks/av/media/libeffects/preprocessing", |
| ], |
| } |
| |
| // Globally visible host-only library. |
| cc_library_host_static { |
| name: "libabsl_host", |
| whole_static_libs: ["libabsl"], |
| export_include_dirs: ["."], |
| stl: "libc++", |
| } |