xref: /aosp_15_r20/external/webrtc/third_party/abseil-cpp/Android.bp (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1package {
2    default_applicable_licenses: [
3        "external_webrtc_third_party_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_webrtc_third_party_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_defaults {
34    name: "libwebrtc_absl_defaults",
35    cflags: ["-Wno-deprecated-builtins"],
36    visibility: [
37        "//external/webrtc:__subpackages__",
38        "//device/google/cuttlefish/host/frontend/webrtc:__subpackages__",
39    ],
40}
41
42cc_library_headers {
43    name: "libwebrtc_absl_headers",
44    defaults: ["libwebrtc_absl_defaults"],
45    // vendor needed for libpreprocessing effects.
46    vendor: true,
47    host_supported: true,
48    export_include_dirs: ["."],
49    visibility: [
50        "//frameworks/av/media/libeffects/preprocessing:__subpackages__",
51    ],
52}
53
54