• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file after the first "rust_*" or "genrule" module
3// because the changes will be overridden on upgrade.
4// Content before the first "rust_*" or "genrule" module is preserved.
5
6package {
7    default_applicable_licenses: [
8        "external_rust_crates_crossbeam-channel_license",
9    ],
10}
11
12// Added automatically by a large-scale-change that took the approach of
13// 'apply every license found to every target'. While this makes sure we respect
14// every license restriction, it may not be entirely correct.
15//
16// e.g. GPL in an MIT project might only apply to the contrib/ directory.
17//
18// Please consider splitting the single license below into multiple licenses,
19// taking care not to lose any license_kind information, and overriding the
20// default license using the 'licenses: [...]' property on targets as needed.
21//
22// For unused files, consider creating a 'fileGroup' with "//visibility:private"
23// to attach the license to, and including a comment whether the files may be
24// used in the current project.
25//
26// large-scale-change included anything that looked like it might be a license
27// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
28//
29// Please consider removing redundant or irrelevant files from 'license_text:'.
30// See: http://go/android-license-faq
31license {
32    name: "external_rust_crates_crossbeam-channel_license",
33    visibility: [":__subpackages__"],
34    license_kinds: [
35        "SPDX-license-identifier-Apache-2.0",
36        "SPDX-license-identifier-BSD",
37        "SPDX-license-identifier-CC-BY",
38        "SPDX-license-identifier-MIT",
39    ],
40    license_text: [
41        "LICENSE-APACHE",
42        "LICENSE-MIT",
43        "LICENSE-THIRD-PARTY",
44    ],
45}
46
47rust_library {
48    name: "libcrossbeam_channel",
49    host_supported: true,
50    crate_name: "crossbeam_channel",
51    cargo_env_compat: true,
52    cargo_pkg_version: "0.5.11",
53    crate_root: "src/lib.rs",
54    edition: "2021",
55    features: [
56        "default",
57        "std",
58    ],
59    rustlibs: ["libcrossbeam_utils"],
60    apex_available: [
61        "//apex_available:platform",
62        "//apex_available:anyapex",
63    ],
64    product_available: true,
65    vendor_available: true,
66}
67