• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 gen_android_bp.py. Do not edit.
16
17// GN: Package-Artificial
18package {
19    default_applicable_licenses: [
20        "external_cronet_license",
21    ],
22}
23
24// GN: //build/rust/chromium_prelude:chromium_prelude
25rust_ffi_static {
26    name: "libchromium__d595e6cc209ca8ac",
27    srcs: [
28        "chromium_prelude.rs",
29    ],
30    host_cross_supported: false,
31    apex_available: [
32        "com.android.tethering",
33    ],
34    min_sdk_version: "30",
35    visibility: [
36        "//external/cronet:__subpackages__",
37    ],
38    crate_name: "chromium",
39    crate_root: "chromium_prelude.rs",
40    proc_macros: [
41        "libimport_attribute__742f5418591ba632",
42    ],
43    target: {
44        android_arm: {
45            edition: "2021",
46            cfgs: [
47                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
48            ],
49            flags: [
50                "-Dunsafe_op_in_unsafe_fn",
51                "-Dwarnings",
52                "-Aunused-imports",
53                "-Cforce-unwind-tables=yes",
54                "-Crelocation-model=pic",
55                "-Coverflow-checks=on",
56                "-Cdefault-linker-libraries",
57                "-Clto=no",
58                "-Ccodegen-units=1",
59                "-Cpanic=abort",
60                "-Copt-level=s",
61                "-Cdebuginfo=1",
62                "-Funsafe_code",
63            ],
64        },
65        android_arm64: {
66            edition: "2021",
67            cfgs: [
68                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
69            ],
70            flags: [
71                "-Dunsafe_op_in_unsafe_fn",
72                "-Dwarnings",
73                "-Aunused-imports",
74                "-Cforce-unwind-tables=yes",
75                "-Crelocation-model=pic",
76                "-Coverflow-checks=on",
77                "-Cdefault-linker-libraries",
78                "-Clto=no",
79                "-Ccodegen-units=1",
80                "-Cpanic=abort",
81                "-Copt-level=3",
82                "-Cdebuginfo=1",
83                "-Funsafe_code",
84            ],
85        },
86        android_riscv64: {
87            edition: "2021",
88            cfgs: [
89                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
90            ],
91            flags: [
92                "-Dunsafe_op_in_unsafe_fn",
93                "-Dwarnings",
94                "-Aunused-imports",
95                "-Cforce-unwind-tables=yes",
96                "-Crelocation-model=pic",
97                "-Coverflow-checks=on",
98                "-Cdefault-linker-libraries",
99                "-Clto=no",
100                "-Ccodegen-units=1",
101                "-Cpanic=abort",
102                "-Copt-level=s",
103                "-Cdebuginfo=1",
104                "-Funsafe_code",
105            ],
106        },
107        android_x86: {
108            edition: "2021",
109            cfgs: [
110                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
111            ],
112            flags: [
113                "-Dunsafe_op_in_unsafe_fn",
114                "-Dwarnings",
115                "-Aunused-imports",
116                "-Cforce-unwind-tables=yes",
117                "-Crelocation-model=pic",
118                "-Coverflow-checks=on",
119                "-Cdefault-linker-libraries",
120                "-Clto=no",
121                "-Ccodegen-units=1",
122                "-Cpanic=abort",
123                "-Copt-level=s",
124                "-Cdebuginfo=1",
125                "-Funsafe_code",
126            ],
127        },
128        android_x86_64: {
129            edition: "2021",
130            cfgs: [
131                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
132            ],
133            flags: [
134                "-Dunsafe_op_in_unsafe_fn",
135                "-Dwarnings",
136                "-Aunused-imports",
137                "-Cforce-unwind-tables=yes",
138                "-Crelocation-model=pic",
139                "-Coverflow-checks=on",
140                "-Cdefault-linker-libraries",
141                "-Clto=no",
142                "-Ccodegen-units=1",
143                "-Cpanic=abort",
144                "-Copt-level=3",
145                "-Cdebuginfo=1",
146                "-Funsafe_code",
147            ],
148        },
149        host: {
150            compile_multilib: "64",
151        },
152    },
153}
154
155// GN: //build/rust/chromium_prelude:chromium_prelude__testing
156rust_ffi_static {
157    name: "libchromium__eb6193a5492aad4d",
158    srcs: [
159        "chromium_prelude.rs",
160    ],
161    host_supported: true,
162    host_cross_supported: false,
163    apex_available: [
164        "com.android.tethering",
165    ],
166    min_sdk_version: "30",
167    visibility: [
168        "//external/cronet:__subpackages__",
169    ],
170    crate_name: "chromium",
171    crate_root: "chromium_prelude.rs",
172    proc_macros: [
173        "libimport_attribute__1966377a9ffb20a2",
174    ],
175    target: {
176        android_arm: {
177            edition: "2021",
178            cfgs: [
179                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
180            ],
181            flags: [
182                "-Dunsafe_op_in_unsafe_fn",
183                "-Dwarnings",
184                "-Aunused-imports",
185                "-Cforce-unwind-tables=yes",
186                "-Crelocation-model=pic",
187                "-Coverflow-checks=on",
188                "-Cdefault-linker-libraries",
189                "-Clto=no",
190                "-Ccodegen-units=1",
191                "-Copt-level=s",
192                "-Cdebuginfo=1",
193                "-Funsafe_code",
194            ],
195        },
196        android_arm64: {
197            edition: "2021",
198            cfgs: [
199                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
200            ],
201            flags: [
202                "-Dunsafe_op_in_unsafe_fn",
203                "-Dwarnings",
204                "-Aunused-imports",
205                "-Cforce-unwind-tables=yes",
206                "-Crelocation-model=pic",
207                "-Coverflow-checks=on",
208                "-Cdefault-linker-libraries",
209                "-Clto=no",
210                "-Ccodegen-units=1",
211                "-Copt-level=3",
212                "-Cdebuginfo=1",
213                "-Funsafe_code",
214            ],
215        },
216        android_riscv64: {
217            edition: "2021",
218            cfgs: [
219                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
220            ],
221            flags: [
222                "-Dunsafe_op_in_unsafe_fn",
223                "-Dwarnings",
224                "-Aunused-imports",
225                "-Cforce-unwind-tables=yes",
226                "-Crelocation-model=pic",
227                "-Coverflow-checks=on",
228                "-Cdefault-linker-libraries",
229                "-Clto=no",
230                "-Ccodegen-units=1",
231                "-Copt-level=s",
232                "-Cdebuginfo=1",
233                "-Funsafe_code",
234            ],
235        },
236        android_x86: {
237            edition: "2021",
238            cfgs: [
239                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
240            ],
241            flags: [
242                "-Dunsafe_op_in_unsafe_fn",
243                "-Dwarnings",
244                "-Aunused-imports",
245                "-Cforce-unwind-tables=yes",
246                "-Crelocation-model=pic",
247                "-Coverflow-checks=on",
248                "-Cdefault-linker-libraries",
249                "-Clto=no",
250                "-Ccodegen-units=1",
251                "-Copt-level=s",
252                "-Cdebuginfo=1",
253                "-Funsafe_code",
254            ],
255        },
256        android_x86_64: {
257            edition: "2021",
258            cfgs: [
259                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
260            ],
261            flags: [
262                "-Dunsafe_op_in_unsafe_fn",
263                "-Dwarnings",
264                "-Aunused-imports",
265                "-Cforce-unwind-tables=yes",
266                "-Crelocation-model=pic",
267                "-Coverflow-checks=on",
268                "-Cdefault-linker-libraries",
269                "-Clto=no",
270                "-Ccodegen-units=1",
271                "-Copt-level=3",
272                "-Cdebuginfo=1",
273                "-Funsafe_code",
274            ],
275        },
276        host: {
277            compile_multilib: "64",
278            edition: "2021",
279            cfgs: [
280                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
281            ],
282            flags: [
283                "-Dunsafe_op_in_unsafe_fn",
284                "-Dwarnings",
285                "-Aunused-imports",
286                "-Cforce-unwind-tables=no",
287                "-Crelocation-model=pic",
288                "-Coverflow-checks=on",
289                "-Cdefault-linker-libraries",
290                "-Clto=no",
291                "-Ccodegen-units=1",
292                "-Copt-level=3",
293                "-Cdebuginfo=1",
294                "-Funsafe_code",
295            ],
296            rustlibs: [
297                "libproc_macro2__9500a1d33b311508",
298                "libquote__a68b574aa1e07ec9",
299                "libsyn__dc2376f007a6ca68",
300                "libunicode_ident__e80fc83406d421ec",
301            ],
302        },
303    },
304}
305
306// GN: //build/rust/chromium_prelude:import_attribute__proc_macro__testing
307rust_proc_macro {
308    name: "libimport_attribute__1966377a9ffb20a2",
309    srcs: [
310        "import_attribute.rs",
311    ],
312    apex_available: [
313        "com.android.tethering",
314    ],
315    min_sdk_version: "30",
316    visibility: [
317        "//external/cronet:__subpackages__",
318    ],
319    crate_name: "import_attribute",
320    crate_root: "import_attribute.rs",
321    rustlibs: [
322        "libproc_macro2__9500a1d33b311508",
323        "libquote__a68b574aa1e07ec9",
324        "libsyn__dc2376f007a6ca68",
325        "libunicode_ident__e80fc83406d421ec",
326    ],
327    target: {
328        host: {
329            compile_multilib: "64",
330            edition: "2021",
331            cfgs: [
332                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
333            ],
334            flags: [
335                "-Dunsafe_op_in_unsafe_fn",
336                "-Dwarnings",
337                "-Aunused-imports",
338                "-Cforce-unwind-tables=yes",
339                "-Crelocation-model=pic",
340                "-Coverflow-checks=on",
341                "-Cdefault-linker-libraries",
342                "-Clto=no",
343                "-Copt-level=3",
344                "-Cdebuginfo=1",
345                "-Funsafe_code",
346            ],
347        },
348    },
349}
350
351// GN: //build/rust/chromium_prelude:import_attribute__proc_macro
352rust_proc_macro {
353    name: "libimport_attribute__742f5418591ba632",
354    srcs: [
355        "import_attribute.rs",
356    ],
357    apex_available: [
358        "com.android.tethering",
359    ],
360    min_sdk_version: "30",
361    visibility: [
362        "//external/cronet:__subpackages__",
363    ],
364    crate_name: "import_attribute",
365    crate_root: "import_attribute.rs",
366    rustlibs: [
367        "libproc_macro2__0418cd684967018e",
368        "libquote__ca5df961ed34ce75",
369        "libsyn__7a4a6cb2cd9c1736",
370        "libunicode_ident__a1153d5327b26e9f",
371    ],
372    target: {
373        host: {
374            compile_multilib: "64",
375            edition: "2021",
376            cfgs: [
377                "cr_rustc_revision=\"a522d78598415cdd614ccc6d961160f192f64b5c-1-llvmorg-20-init-13894-g8cb44859\"",
378            ],
379            flags: [
380                "-Dunsafe_op_in_unsafe_fn",
381                "-Dwarnings",
382                "-Aunused-imports",
383                "-Cforce-unwind-tables=yes",
384                "-Crelocation-model=pic",
385                "-Coverflow-checks=on",
386                "-Cdefault-linker-libraries",
387                "-Clto=no",
388                "-Copt-level=3",
389                "-Cdebuginfo=1",
390                "-Funsafe_code",
391            ],
392        },
393    },
394}
395