1// Copyright (C) 2022 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// This file is automatically generated by gn2bp/gen_android_bp.py. Do not edit.
16
17// GN: Package-Artificial
18package {
19    default_applicable_licenses: [
20        "external_cronet_third_party_rust_unicode_ident_v1_license",
21    ],
22}
23
24// GN: License-Artificial
25license {
26    name: "external_cronet_third_party_rust_unicode_ident_v1_license",
27    visibility: [
28        ":__subpackages__",
29    ],
30    license_text: [
31        "LICENSE",
32    ],
33    license_kinds: [
34        "SPDX-license-identifier-Apache-2.0",
35        "SPDX-license-identifier-Unicode-DFS-2016",
36    ],
37}
38
39// GN: //third_party/rust/unicode_ident/v1:lib
40rust_library_rlib {
41    name: "libunicode_ident_cronet_aml_third_party_rust_unicode_ident_v1_lib",
42    srcs: [
43        "src/lib.rs",
44        "src/tables.rs",
45    ],
46    host_supported: true,
47    device_supported: false,
48    apex_available: [
49        "com.android.tethering",
50    ],
51    min_sdk_version: "30",
52    visibility: [
53        "//external/cronet:__subpackages__",
54    ],
55    crate_name: "unicode_ident",
56    crate_root: "src/lib.rs",
57    target: {
58        host: {
59            edition: "2018",
60            cfgs: [
61                "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"",
62            ],
63            flags: [
64                "-Cmetadata=unicode_ident-1",
65                "-Cforce-unwind-tables=no",
66                "-Crelocation-model=pic",
67                "-Coverflow-checks=on",
68                "-Cdefault-linker-libraries",
69                "-Clto=no",
70                "-Copt-level=3",
71                "-Cdebuginfo=1",
72                "--cap-lints=allow",
73                "-Dunsafe_op_in_unsafe_fn",
74                "-Dwarnings",
75                "-Aunused-imports",
76            ],
77            compile_multilib: "64",
78        },
79    },
80}
81
82// GN: //third_party/rust/unicode_ident/v1:lib__testing
83rust_library_rlib {
84    name: "libunicode_ident_cronet_aml_third_party_rust_unicode_ident_v1_lib__testing",
85    srcs: [
86        "src/lib.rs",
87        "src/tables.rs",
88    ],
89    host_supported: true,
90    device_supported: false,
91    apex_available: [
92        "com.android.tethering",
93    ],
94    min_sdk_version: "30",
95    visibility: [
96        "//external/cronet:__subpackages__",
97    ],
98    crate_name: "unicode_ident",
99    crate_root: "src/lib.rs",
100    target: {
101        host: {
102            edition: "2018",
103            cfgs: [
104                "cr_rustc_revision=\"ab71ee7a9214c2793108a41efb065aa77aeb7326-2-llvmorg-19-init-8091-gab037c4f\"",
105            ],
106            flags: [
107                "-Cmetadata=unicode_ident-1",
108                "-Cforce-unwind-tables=no",
109                "-Crelocation-model=pic",
110                "-Coverflow-checks=on",
111                "-Cdefault-linker-libraries",
112                "-Clto=no",
113                "-Copt-level=3",
114                "-Cdebuginfo=1",
115                "--cap-lints=allow",
116                "-Dunsafe_op_in_unsafe_fn",
117                "-Dwarnings",
118                "-Aunused-imports",
119            ],
120            compile_multilib: "64",
121        },
122    },
123}
124