• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo2android.py --config cargo2android.json.
2// Do not modify this file as changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_bytes_license"],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11    name: "external_rust_crates_bytes_license",
12    visibility: [":__subpackages__"],
13    license_kinds: [
14        "SPDX-license-identifier-MIT",
15    ],
16    license_text: [
17        "LICENSE",
18    ],
19}
20
21rust_library {
22    name: "libbytes",
23    host_supported: true,
24    crate_name: "bytes",
25    srcs: ["src/lib.rs"],
26    edition: "2018",
27    features: [
28        "default",
29        "std",
30    ],
31    apex_available: [
32        "//apex_available:platform",
33        "com.android.resolv",
34        "com.android.virt",
35    ],
36    min_sdk_version: "29",
37}
38