• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: [
3        "external_tensorflow_abseil-cpp_license",
4    ],
5}
6
7// Added automatically by a large-scale-change that took the approach of
8// 'apply every license found to every target'. While this makes sure we respect
9// every license restriction, it may not be entirely correct.
10//
11// e.g. GPL in an MIT project might only apply to the contrib/ directory.
12//
13// Please consider splitting the single license below into multiple licenses,
14// taking care not to lose any license_kind information, and overriding the
15// default license using the 'licenses: [...]' property on targets as needed.
16//
17// For unused files, consider creating a 'fileGroup' with "//visibility:private"
18// to attach the license to, and including a comment whether the files may be
19// used in the current project.
20// See: http://go/android-license-faq
21license {
22    name: "external_tensorflow_abseil-cpp_license",
23    visibility: [":__subpackages__"],
24    license_kinds: [
25        "SPDX-license-identifier-Apache-2.0",
26        "legacy_unencumbered",
27    ],
28    license_text: [
29        "LICENSE",
30    ],
31}
32
33cc_library_static {
34    name: "tensorflow_abseil",
35    export_include_dirs: ["."],
36    visibility: [
37        "//external/tensorflow:__subpackages__",
38    ],
39    srcs: [
40        "absl/**/*.cc",
41    ],
42    sdk_version: "current",
43    min_sdk_version: "30",
44    stl: "libc++_static",
45    exclude_srcs: [
46        "**/*_test.cc",
47        "**/*_test_common.cc",
48        "**/*test_util.cc",
49        "**/*test_utils.cc",
50        "**/*benchmark.cc",
51        "absl/random/benchmarks.cc",
52        "absl/hash/internal/print_hash_of.cc",
53    ],
54}
55