xref: /aosp_15_r20/external/cronet/android/tools/gn2bp/Android.bp.swp (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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. Do not edit.
16
17build = ["Android.extras.bp"]
18
19// The actual license can be found in Android.extras.bp
20package {
21    default_applicable_licenses: [
22        "external_cronet_license",
23    ],
24    default_visibility: [
25        ":__subpackages__",
26    ],
27}
28
29// GN: //base/allocator:buildflags
30cc_genrule {
31    name: "cronet_aml_base_allocator_buildflags",
32    cmd: "mkdir -p $(genDir)/base/allocator && echo '--flags USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\"' | " +
33         "$(location build/write_buildflag_header.py) --output " +
34         "$(out) " +
35         "--rulename " +
36         "//base/allocator:buildflags " +
37         "--gen-dir " +
38         ". " +
39         "--definitions " +
40         "/dev/stdin",
41    out: [
42        "base/allocator/buildflags.h",
43    ],
44    tool_files: [
45        "build/write_buildflag_header.py",
46    ],
47    apex_available: [
48        "com.android.tethering",
49    ],
50}
51
52// GN: //base/allocator:buildflags__testing
53cc_genrule {
54    name: "cronet_aml_base_allocator_buildflags__testing",
55    cmd: "mkdir -p $(genDir)/base/allocator && echo '--flags USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\"' | " +
56         "$(location build/write_buildflag_header.py) --output " +
57         "$(out) " +
58         "--rulename " +
59         "//base/allocator:buildflags " +
60         "--gen-dir " +
61         ". " +
62         "--definitions " +
63         "/dev/stdin",
64    host_supported: true,
65    out: [
66        "base/allocator/buildflags.h",
67    ],
68    tool_files: [
69        "build/write_buildflag_header.py",
70    ],
71    apex_available: [
72        "com.android.tethering",
73    ],
74}
75
76// GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_base
77cc_library_static {
78    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base",
79    srcs: [
80        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/check.cc",
81        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/cpu.cc",
82        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/alias.cc",
83        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace.cc",
84        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_android.cc",
85        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc",
86        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/file_path.cc",
87        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/file_util_posix.cc",
88        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/log_message.cc",
89        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/logging.cc",
90        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/memory/page_size_posix.cc",
91        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/memory/ref_counted.cc",
92        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library.cc",
93        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library_posix.cc",
94        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/posix/safe_strerror.cc",
95        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/process/process_handle_posix.cc",
96        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util.cc",
97        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc",
98        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/cstring_builder.cc",
99        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.cc",
100        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/string_util.cc",
101        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/stringprintf.cc",
102        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.cc",
103        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc",
104        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time.cc",
105        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_android.cc",
106        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_conversion_posix.cc",
107        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_now_posix.cc",
108        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_override.cc",
109    ],
110    generated_headers: [
111        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
112        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
113        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
114        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
115    ],
116    export_generated_headers: [
117        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
118        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
119        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
120        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
121    ],
122    defaults: [
123        "cronet_aml_cc_defaults",
124    ],
125    cflags: [
126        "-DANDROID",
127        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
128        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
129        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
130        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
131        "-DHAVE_SYS_UIO_H",
132        "-DIS_PARTITION_ALLOC_BASE_IMPL",
133        "-DNDEBUG",
134        "-DNO_UNWIND_TABLES",
135        "-DNVALGRIND",
136        "-DOFFICIAL_BUILD",
137        "-D_GNU_SOURCE",
138        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
139        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
140        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
141        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
142        "-D__STDC_CONSTANT_MACROS",
143        "-D__STDC_FORMAT_MACROS",
144        "-O3",
145        "-fdata-sections",
146        "-ffunction-sections",
147        "-fno-asynchronous-unwind-tables",
148        "-fno-unwind-tables",
149        "-fstack-protector",
150        "-fvisibility-inlines-hidden",
151        "-fvisibility=hidden",
152        "-g1",
153    ],
154    local_include_dirs: [
155        "./",
156        "base/allocator/partition_allocator/src/",
157        "buildtools/third_party/libc++/",
158        "third_party/libc++/src/include",
159        "third_party/libc++abi/src/include",
160    ],
161    cpp_std: "c++20",
162    ldflags: [
163        "-Wl,--as-needed",
164        "-Wl,--gc-sections",
165        "-Wl,--icf=all",
166    ],
167    target: {
168        android_arm: {
169            cflags: [
170                "-D_FORTIFY_SOURCE=2",
171            ],
172        },
173        android_arm64: {
174            cflags: [
175                "-D_FORTIFY_SOURCE=2",
176                "-mno-outline",
177            ],
178        },
179        android_x86: {
180            cflags: [
181                "-D_FORTIFY_SOURCE=2",
182                "-msse3",
183            ],
184        },
185        android_x86_64: {
186            cflags: [
187                "-D_FORTIFY_SOURCE=2",
188                "-msse3",
189            ],
190        },
191    },
192}
193
194// GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_base__testing
195cc_library_static {
196    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base__testing",
197    srcs: [
198        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/check.cc",
199        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/cpu.cc",
200        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/alias.cc",
201        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace.cc",
202        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_posix.cc",
203        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/file_util_posix.cc",
204        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/log_message.cc",
205        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/logging.cc",
206        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/memory/page_size_posix.cc",
207        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/memory/ref_counted.cc",
208        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/posix/safe_strerror.cc",
209        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/process/process_handle_posix.cc",
210        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util.cc",
211        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/rand_util_posix.cc",
212        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/cstring_builder.cc",
213        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.cc",
214        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/string_util.cc",
215        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/stringprintf.cc",
216        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread.cc",
217        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/platform_thread_posix.cc",
218        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time.cc",
219        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_conversion_posix.cc",
220        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_now_posix.cc",
221        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_override.cc",
222    ],
223    host_supported: true,
224    generated_headers: [
225        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
226        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
227        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
228        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
229    ],
230    export_generated_headers: [
231        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
232        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
233        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
234        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
235    ],
236    defaults: [
237        "cronet_aml_cc_defaults",
238    ],
239    cflags: [
240        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
241        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
242        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
243        "-DIS_PARTITION_ALLOC_BASE_IMPL",
244        "-DNDEBUG",
245        "-DNO_UNWIND_TABLES",
246        "-DNVALGRIND",
247        "-DOFFICIAL_BUILD",
248        "-D_GNU_SOURCE",
249        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
250        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
251        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
252        "-D__STDC_CONSTANT_MACROS",
253        "-D__STDC_FORMAT_MACROS",
254        "-O3",
255        "-fdata-sections",
256        "-ffunction-sections",
257        "-fno-asynchronous-unwind-tables",
258        "-fno-unwind-tables",
259        "-fstack-protector",
260        "-fvisibility-inlines-hidden",
261        "-fvisibility=hidden",
262        "-g1",
263    ],
264    local_include_dirs: [
265        "./",
266        "base/allocator/partition_allocator/src/",
267        "buildtools/third_party/libc++/",
268        "third_party/libc++/src/include",
269        "third_party/libc++abi/src/include",
270    ],
271    cpp_std: "c++20",
272    ldflags: [
273        "-Wl,--as-needed",
274        "-Wl,--gc-sections",
275        "-Wl,--icf=all",
276    ],
277    target: {
278        android_arm: {
279            srcs: [
280                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_android.cc",
281                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/file_path.cc",
282                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library.cc",
283                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library_posix.cc",
284                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_android.cc",
285            ],
286            cflags: [
287                "-DANDROID",
288                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
289                "-DHAVE_SYS_UIO_H",
290                "-D_FORTIFY_SOURCE=2",
291                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
292            ],
293        },
294        android_arm64: {
295            srcs: [
296                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_android.cc",
297                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/file_path.cc",
298                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library.cc",
299                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library_posix.cc",
300                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_android.cc",
301            ],
302            cflags: [
303                "-DANDROID",
304                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
305                "-DHAVE_SYS_UIO_H",
306                "-D_FORTIFY_SOURCE=2",
307                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
308                "-mno-outline",
309            ],
310        },
311        android_riscv64: {
312            srcs: [
313                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_android.cc",
314                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/file_path.cc",
315                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library.cc",
316                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library_posix.cc",
317                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_android.cc",
318            ],
319            cflags: [
320                "-DANDROID",
321                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
322                "-DHAVE_SYS_UIO_H",
323                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
324            ],
325        },
326        android_x86: {
327            srcs: [
328                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_android.cc",
329                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/file_path.cc",
330                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library.cc",
331                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library_posix.cc",
332                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_android.cc",
333            ],
334            cflags: [
335                "-DANDROID",
336                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
337                "-DHAVE_SYS_UIO_H",
338                "-D_FORTIFY_SOURCE=2",
339                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
340                "-msse3",
341            ],
342        },
343        android_x86_64: {
344            srcs: [
345                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_android.cc",
346                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/file_path.cc",
347                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library.cc",
348                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/native_library_posix.cc",
349                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/time_android.cc",
350            ],
351            cflags: [
352                "-DANDROID",
353                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
354                "-DHAVE_SYS_UIO_H",
355                "-D_FORTIFY_SOURCE=2",
356                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
357                "-msse3",
358            ],
359        },
360        host: {
361            srcs: [
362                "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/stack_trace_linux.cc",
363            ],
364            cflags: [
365                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
366                "-DUSE_AURA=1",
367                "-DUSE_OZONE=1",
368                "-DUSE_UDEV",
369                "-D_FILE_OFFSET_BITS=64",
370                "-D_FORTIFY_SOURCE=2",
371                "-D_LARGEFILE64_SOURCE",
372                "-D_LARGEFILE_SOURCE",
373                "-msse3",
374            ],
375            compile_multilib: "64",
376        },
377    },
378}
379
380// GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_core
381cc_library_static {
382    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core",
383    srcs: [
384        "base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.cc",
385        "base/allocator/partition_allocator/src/partition_alloc/address_pool_manager_bitmap.cc",
386        "base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.cc",
387        "base/allocator/partition_allocator/src/partition_alloc/allocation_guard.cc",
388        "base/allocator/partition_allocator/src/partition_alloc/compressed_pointer.cc",
389        "base/allocator/partition_allocator/src/partition_alloc/dangling_raw_ptr_checks.cc",
390        "base/allocator/partition_allocator/src/partition_alloc/gwp_asan_support.cc",
391        "base/allocator/partition_allocator/src/partition_alloc/internal_allocator.cc",
392        "base/allocator/partition_allocator/src/partition_alloc/lightweight_quarantine.cc",
393        "base/allocator/partition_allocator/src/partition_alloc/memory_reclaimer.cc",
394        "base/allocator/partition_allocator/src/partition_alloc/oom.cc",
395        "base/allocator/partition_allocator/src/partition_alloc/oom_callback.cc",
396        "base/allocator/partition_allocator/src/partition_alloc/page_allocator.cc",
397        "base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc",
398        "base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc",
399        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc.cc",
400        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_hooks.cc",
401        "base/allocator/partition_allocator/src/partition_alloc/partition_bucket.cc",
402        "base/allocator/partition_allocator/src/partition_alloc/partition_dcheck_helper.cc",
403        "base/allocator/partition_allocator/src/partition_alloc/partition_freelist_entry.cc",
404        "base/allocator/partition_allocator/src/partition_alloc/partition_oom.cc",
405        "base/allocator/partition_allocator/src/partition_alloc/partition_page.cc",
406        "base/allocator/partition_allocator/src/partition_alloc/partition_root.cc",
407        "base/allocator/partition_allocator/src/partition_alloc/partition_stats.cc",
408        "base/allocator/partition_allocator/src/partition_alloc/random.cc",
409        "base/allocator/partition_allocator/src/partition_alloc/reservation_offset_table.cc",
410        "base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc",
411        "base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc",
412        "base/allocator/partition_allocator/src/partition_alloc/tagging.cc",
413        "base/allocator/partition_allocator/src/partition_alloc/thread_cache.cc",
414        "base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc",
415        "base/allocator/partition_allocator/src/partition_alloc/thread_isolation/thread_isolation.cc",
416    ],
417    generated_headers: [
418        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
419        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
420        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
421        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
422    ],
423    export_generated_headers: [
424        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
425        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
426        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
427        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
428    ],
429    defaults: [
430        "cronet_aml_cc_defaults",
431    ],
432    cflags: [
433        "-DANDROID",
434        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
435        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
436        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
437        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
438        "-DHAS_PR_MTE_MACROS",
439        "-DHAVE_SYS_UIO_H",
440        "-DIS_PARTITION_ALLOC_IMPL",
441        "-DNDEBUG",
442        "-DNO_UNWIND_TABLES",
443        "-DNVALGRIND",
444        "-DOFFICIAL_BUILD",
445        "-D_GNU_SOURCE",
446        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
447        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
448        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
449        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
450        "-D__STDC_CONSTANT_MACROS",
451        "-D__STDC_FORMAT_MACROS",
452        "-O3",
453        "-fdata-sections",
454        "-ffunction-sections",
455        "-fno-asynchronous-unwind-tables",
456        "-fno-unwind-tables",
457        "-fstack-protector",
458        "-fvisibility-inlines-hidden",
459        "-fvisibility=hidden",
460        "-g1",
461    ],
462    local_include_dirs: [
463        "./",
464        "base/allocator/partition_allocator/src/",
465        "buildtools/third_party/libc++/",
466        "third_party/cpu_features/src/ndk_compat/",
467        "third_party/libc++/src/include",
468        "third_party/libc++abi/src/include",
469    ],
470    cpp_std: "c++20",
471    ldflags: [
472        "-Wl,--as-needed",
473        "-Wl,--gc-sections",
474        "-Wl,--icf=all",
475    ],
476    target: {
477        android_arm: {
478            srcs: [
479                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/arm/push_registers_asm.cc",
480            ],
481            cflags: [
482                "-D_FORTIFY_SOURCE=2",
483            ],
484        },
485        android_arm64: {
486            srcs: [
487                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/arm64/push_registers_asm.cc",
488            ],
489            cflags: [
490                "-D_FORTIFY_SOURCE=2",
491                "-march=armv8-a+memtag",
492                "-mno-outline",
493            ],
494        },
495        android_riscv64: {
496            srcs: [
497                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/riscv64/push_registers_asm.cc",
498            ],
499        },
500        android_x86: {
501            srcs: [
502                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/x86/push_registers_asm.cc",
503            ],
504            cflags: [
505                "-D_FORTIFY_SOURCE=2",
506                "-msse3",
507            ],
508        },
509        android_x86_64: {
510            srcs: [
511                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/x64/push_registers_asm.cc",
512            ],
513            cflags: [
514                "-D_FORTIFY_SOURCE=2",
515                "-msse3",
516            ],
517        },
518    },
519}
520
521// GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_core__testing
522cc_library_static {
523    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core__testing",
524    srcs: [
525        "base/allocator/partition_allocator/src/partition_alloc/address_pool_manager.cc",
526        "base/allocator/partition_allocator/src/partition_alloc/address_pool_manager_bitmap.cc",
527        "base/allocator/partition_allocator/src/partition_alloc/address_space_randomization.cc",
528        "base/allocator/partition_allocator/src/partition_alloc/allocation_guard.cc",
529        "base/allocator/partition_allocator/src/partition_alloc/compressed_pointer.cc",
530        "base/allocator/partition_allocator/src/partition_alloc/dangling_raw_ptr_checks.cc",
531        "base/allocator/partition_allocator/src/partition_alloc/gwp_asan_support.cc",
532        "base/allocator/partition_allocator/src/partition_alloc/internal_allocator.cc",
533        "base/allocator/partition_allocator/src/partition_alloc/lightweight_quarantine.cc",
534        "base/allocator/partition_allocator/src/partition_alloc/memory_reclaimer.cc",
535        "base/allocator/partition_allocator/src/partition_alloc/oom.cc",
536        "base/allocator/partition_allocator/src/partition_alloc/oom_callback.cc",
537        "base/allocator/partition_allocator/src/partition_alloc/page_allocator.cc",
538        "base/allocator/partition_allocator/src/partition_alloc/page_allocator_internals_posix.cc",
539        "base/allocator/partition_allocator/src/partition_alloc/partition_address_space.cc",
540        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc.cc",
541        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_hooks.cc",
542        "base/allocator/partition_allocator/src/partition_alloc/partition_bucket.cc",
543        "base/allocator/partition_allocator/src/partition_alloc/partition_dcheck_helper.cc",
544        "base/allocator/partition_allocator/src/partition_alloc/partition_freelist_entry.cc",
545        "base/allocator/partition_allocator/src/partition_alloc/partition_oom.cc",
546        "base/allocator/partition_allocator/src/partition_alloc/partition_page.cc",
547        "base/allocator/partition_allocator/src/partition_alloc/partition_root.cc",
548        "base/allocator/partition_allocator/src/partition_alloc/partition_stats.cc",
549        "base/allocator/partition_allocator/src/partition_alloc/random.cc",
550        "base/allocator/partition_allocator/src/partition_alloc/reservation_offset_table.cc",
551        "base/allocator/partition_allocator/src/partition_alloc/spinning_mutex.cc",
552        "base/allocator/partition_allocator/src/partition_alloc/stack/stack.cc",
553        "base/allocator/partition_allocator/src/partition_alloc/tagging.cc",
554        "base/allocator/partition_allocator/src/partition_alloc/thread_cache.cc",
555        "base/allocator/partition_allocator/src/partition_alloc/thread_isolation/pkey.cc",
556        "base/allocator/partition_allocator/src/partition_alloc/thread_isolation/thread_isolation.cc",
557    ],
558    host_supported: true,
559    generated_headers: [
560        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
561        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
562        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
563        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
564    ],
565    export_generated_headers: [
566        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
567        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
568        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
569        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
570    ],
571    defaults: [
572        "cronet_aml_cc_defaults",
573    ],
574    cflags: [
575        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
576        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
577        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
578        "-DIS_PARTITION_ALLOC_IMPL",
579        "-DNDEBUG",
580        "-DNO_UNWIND_TABLES",
581        "-DNVALGRIND",
582        "-DOFFICIAL_BUILD",
583        "-D_GNU_SOURCE",
584        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
585        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
586        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
587        "-D__STDC_CONSTANT_MACROS",
588        "-D__STDC_FORMAT_MACROS",
589        "-O3",
590        "-fdata-sections",
591        "-ffunction-sections",
592        "-fno-asynchronous-unwind-tables",
593        "-fno-unwind-tables",
594        "-fstack-protector",
595        "-fvisibility-inlines-hidden",
596        "-fvisibility=hidden",
597        "-g1",
598    ],
599    local_include_dirs: [
600        "./",
601        "base/allocator/partition_allocator/src/",
602        "buildtools/third_party/libc++/",
603        "third_party/libc++/src/include",
604        "third_party/libc++abi/src/include",
605    ],
606    cpp_std: "c++20",
607    ldflags: [
608        "-Wl,--as-needed",
609        "-Wl,--gc-sections",
610        "-Wl,--icf=all",
611    ],
612    target: {
613        android_arm: {
614            srcs: [
615                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/arm/push_registers_asm.cc",
616            ],
617            cflags: [
618                "-DANDROID",
619                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
620                "-DHAS_PR_MTE_MACROS",
621                "-DHAVE_SYS_UIO_H",
622                "-D_FORTIFY_SOURCE=2",
623                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
624            ],
625            local_include_dirs: [
626                "third_party/cpu_features/src/ndk_compat/",
627            ],
628        },
629        android_arm64: {
630            srcs: [
631                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/arm64/push_registers_asm.cc",
632            ],
633            cflags: [
634                "-DANDROID",
635                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
636                "-DHAS_PR_MTE_MACROS",
637                "-DHAVE_SYS_UIO_H",
638                "-D_FORTIFY_SOURCE=2",
639                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
640                "-march=armv8-a+memtag",
641                "-mno-outline",
642            ],
643            local_include_dirs: [
644                "third_party/cpu_features/src/ndk_compat/",
645            ],
646        },
647        android_riscv64: {
648            srcs: [
649                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/riscv64/push_registers_asm.cc",
650            ],
651            cflags: [
652                "-DANDROID",
653                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
654                "-DHAS_PR_MTE_MACROS",
655                "-DHAVE_SYS_UIO_H",
656                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
657            ],
658            local_include_dirs: [
659                "third_party/cpu_features/src/ndk_compat/",
660            ],
661        },
662        android_x86: {
663            srcs: [
664                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/x86/push_registers_asm.cc",
665            ],
666            cflags: [
667                "-DANDROID",
668                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
669                "-DHAS_PR_MTE_MACROS",
670                "-DHAVE_SYS_UIO_H",
671                "-D_FORTIFY_SOURCE=2",
672                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
673                "-msse3",
674            ],
675            local_include_dirs: [
676                "third_party/cpu_features/src/ndk_compat/",
677            ],
678        },
679        android_x86_64: {
680            srcs: [
681                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/x64/push_registers_asm.cc",
682            ],
683            cflags: [
684                "-DANDROID",
685                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
686                "-DHAS_PR_MTE_MACROS",
687                "-DHAVE_SYS_UIO_H",
688                "-D_FORTIFY_SOURCE=2",
689                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
690                "-msse3",
691            ],
692            local_include_dirs: [
693                "third_party/cpu_features/src/ndk_compat/",
694            ],
695        },
696        host: {
697            srcs: [
698                "base/allocator/partition_allocator/src/partition_alloc/stack/asm/x64/push_registers_asm.cc",
699            ],
700            cflags: [
701                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
702                "-DUSE_AURA=1",
703                "-DUSE_OZONE=1",
704                "-DUSE_UDEV",
705                "-D_FILE_OFFSET_BITS=64",
706                "-D_FORTIFY_SOURCE=2",
707                "-D_LARGEFILE64_SOURCE",
708                "-D_LARGEFILE_SOURCE",
709                "-msse3",
710            ],
711            compile_multilib: "64",
712        },
713    },
714}
715
716// GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_shim
717cc_library_static {
718    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim",
719    srcs: [
720        "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_android.cc",
721        "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
722        "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_dispatch_to_noop_on_free.cc",
723    ],
724    generated_headers: [
725        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
726        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
727        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
728        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
729        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
730    ],
731    export_generated_headers: [
732        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
733        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
734        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
735        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
736        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
737    ],
738    defaults: [
739        "cronet_aml_cc_defaults",
740    ],
741    cflags: [
742        "-DANDROID",
743        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
744        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
745        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
746        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
747        "-DHAVE_SYS_UIO_H",
748        "-DIS_ALLOCATOR_SHIM_IMPL",
749        "-DNDEBUG",
750        "-DNO_UNWIND_TABLES",
751        "-DNVALGRIND",
752        "-DOFFICIAL_BUILD",
753        "-D_GNU_SOURCE",
754        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
755        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
756        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
757        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
758        "-D__STDC_CONSTANT_MACROS",
759        "-D__STDC_FORMAT_MACROS",
760        "-O3",
761        "-fdata-sections",
762        "-ffunction-sections",
763        "-fno-asynchronous-unwind-tables",
764        "-fno-unwind-tables",
765        "-fstack-protector",
766        "-fvisibility-inlines-hidden",
767        "-fvisibility=hidden",
768        "-g1",
769    ],
770    local_include_dirs: [
771        "./",
772        "base/allocator/partition_allocator/src/",
773        "buildtools/third_party/libc++/",
774        "third_party/libc++/src/include",
775        "third_party/libc++abi/src/include",
776    ],
777    cpp_std: "c++20",
778    ldflags: [
779        "-Wl,--as-needed",
780        "-Wl,--gc-sections",
781        "-Wl,--icf=all",
782        "-Wl,-wrap,asprintf",
783        "-Wl,-wrap,calloc",
784        "-Wl,-wrap,free",
785        "-Wl,-wrap,getcwd",
786        "-Wl,-wrap,malloc",
787        "-Wl,-wrap,malloc_usable_size",
788        "-Wl,-wrap,memalign",
789        "-Wl,-wrap,posix_memalign",
790        "-Wl,-wrap,pvalloc",
791        "-Wl,-wrap,realloc",
792        "-Wl,-wrap,realpath",
793        "-Wl,-wrap,strdup",
794        "-Wl,-wrap,strndup",
795        "-Wl,-wrap,valloc",
796        "-Wl,-wrap,vasprintf",
797    ],
798    target: {
799        android_arm: {
800            cflags: [
801                "-D_FORTIFY_SOURCE=2",
802            ],
803        },
804        android_arm64: {
805            cflags: [
806                "-D_FORTIFY_SOURCE=2",
807                "-mno-outline",
808            ],
809        },
810        android_x86: {
811            cflags: [
812                "-D_FORTIFY_SOURCE=2",
813                "-msse3",
814            ],
815        },
816        android_x86_64: {
817            cflags: [
818                "-D_FORTIFY_SOURCE=2",
819                "-msse3",
820            ],
821        },
822    },
823}
824
825// GN: //base/allocator/partition_allocator/src/partition_alloc:allocator_shim__testing
826cc_library_static {
827    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim__testing",
828    srcs: [
829        "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_dispatch_to_noop_on_free.cc",
830    ],
831    host_supported: true,
832    generated_headers: [
833        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
834        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
835        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
836        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
837        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
838    ],
839    export_generated_headers: [
840        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
841        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
842        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
843        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
844        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
845    ],
846    defaults: [
847        "cronet_aml_cc_defaults",
848    ],
849    cflags: [
850        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
851        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
852        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
853        "-DIS_ALLOCATOR_SHIM_IMPL",
854        "-DNDEBUG",
855        "-DNO_UNWIND_TABLES",
856        "-DNVALGRIND",
857        "-DOFFICIAL_BUILD",
858        "-D_GNU_SOURCE",
859        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
860        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
861        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
862        "-D__STDC_CONSTANT_MACROS",
863        "-D__STDC_FORMAT_MACROS",
864        "-O3",
865        "-fdata-sections",
866        "-ffunction-sections",
867        "-fno-asynchronous-unwind-tables",
868        "-fno-unwind-tables",
869        "-fstack-protector",
870        "-fvisibility-inlines-hidden",
871        "-fvisibility=hidden",
872        "-g1",
873    ],
874    local_include_dirs: [
875        "./",
876        "base/allocator/partition_allocator/src/",
877        "buildtools/third_party/libc++/",
878        "third_party/libc++/src/include",
879        "third_party/libc++abi/src/include",
880    ],
881    cpp_std: "c++20",
882    ldflags: [
883        "-Wl,--as-needed",
884        "-Wl,--gc-sections",
885        "-Wl,--icf=all",
886    ],
887    target: {
888        android_arm: {
889            srcs: [
890                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_android.cc",
891                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
892            ],
893            cflags: [
894                "-DANDROID",
895                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
896                "-DHAVE_SYS_UIO_H",
897                "-D_FORTIFY_SOURCE=2",
898                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
899            ],
900            ldflags: [
901                "-Wl,-wrap,asprintf",
902                "-Wl,-wrap,calloc",
903                "-Wl,-wrap,free",
904                "-Wl,-wrap,getcwd",
905                "-Wl,-wrap,malloc",
906                "-Wl,-wrap,malloc_usable_size",
907                "-Wl,-wrap,memalign",
908                "-Wl,-wrap,posix_memalign",
909                "-Wl,-wrap,pvalloc",
910                "-Wl,-wrap,realloc",
911                "-Wl,-wrap,realpath",
912                "-Wl,-wrap,strdup",
913                "-Wl,-wrap,strndup",
914                "-Wl,-wrap,valloc",
915                "-Wl,-wrap,vasprintf",
916            ],
917        },
918        android_arm64: {
919            srcs: [
920                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_android.cc",
921                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
922            ],
923            cflags: [
924                "-DANDROID",
925                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
926                "-DHAVE_SYS_UIO_H",
927                "-D_FORTIFY_SOURCE=2",
928                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
929                "-mno-outline",
930            ],
931            ldflags: [
932                "-Wl,-wrap,asprintf",
933                "-Wl,-wrap,calloc",
934                "-Wl,-wrap,free",
935                "-Wl,-wrap,getcwd",
936                "-Wl,-wrap,malloc",
937                "-Wl,-wrap,malloc_usable_size",
938                "-Wl,-wrap,memalign",
939                "-Wl,-wrap,posix_memalign",
940                "-Wl,-wrap,pvalloc",
941                "-Wl,-wrap,realloc",
942                "-Wl,-wrap,realpath",
943                "-Wl,-wrap,strdup",
944                "-Wl,-wrap,strndup",
945                "-Wl,-wrap,valloc",
946                "-Wl,-wrap,vasprintf",
947            ],
948        },
949        android_riscv64: {
950            srcs: [
951                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_android.cc",
952                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
953            ],
954            cflags: [
955                "-DANDROID",
956                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
957                "-DHAVE_SYS_UIO_H",
958                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
959            ],
960            ldflags: [
961                "-Wl,-wrap,asprintf",
962                "-Wl,-wrap,calloc",
963                "-Wl,-wrap,free",
964                "-Wl,-wrap,getcwd",
965                "-Wl,-wrap,malloc",
966                "-Wl,-wrap,malloc_usable_size",
967                "-Wl,-wrap,memalign",
968                "-Wl,-wrap,posix_memalign",
969                "-Wl,-wrap,pvalloc",
970                "-Wl,-wrap,realloc",
971                "-Wl,-wrap,realpath",
972                "-Wl,-wrap,strdup",
973                "-Wl,-wrap,strndup",
974                "-Wl,-wrap,valloc",
975                "-Wl,-wrap,vasprintf",
976            ],
977        },
978        android_x86: {
979            srcs: [
980                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_android.cc",
981                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
982            ],
983            cflags: [
984                "-DANDROID",
985                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
986                "-DHAVE_SYS_UIO_H",
987                "-D_FORTIFY_SOURCE=2",
988                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
989                "-msse3",
990            ],
991            ldflags: [
992                "-Wl,-wrap,asprintf",
993                "-Wl,-wrap,calloc",
994                "-Wl,-wrap,free",
995                "-Wl,-wrap,getcwd",
996                "-Wl,-wrap,malloc",
997                "-Wl,-wrap,malloc_usable_size",
998                "-Wl,-wrap,memalign",
999                "-Wl,-wrap,posix_memalign",
1000                "-Wl,-wrap,pvalloc",
1001                "-Wl,-wrap,realloc",
1002                "-Wl,-wrap,realpath",
1003                "-Wl,-wrap,strdup",
1004                "-Wl,-wrap,strndup",
1005                "-Wl,-wrap,valloc",
1006                "-Wl,-wrap,vasprintf",
1007            ],
1008        },
1009        android_x86_64: {
1010            srcs: [
1011                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_android.cc",
1012                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
1013            ],
1014            cflags: [
1015                "-DANDROID",
1016                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
1017                "-DHAVE_SYS_UIO_H",
1018                "-D_FORTIFY_SOURCE=2",
1019                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1020                "-msse3",
1021            ],
1022            ldflags: [
1023                "-Wl,-wrap,asprintf",
1024                "-Wl,-wrap,calloc",
1025                "-Wl,-wrap,free",
1026                "-Wl,-wrap,getcwd",
1027                "-Wl,-wrap,malloc",
1028                "-Wl,-wrap,malloc_usable_size",
1029                "-Wl,-wrap,memalign",
1030                "-Wl,-wrap,posix_memalign",
1031                "-Wl,-wrap,pvalloc",
1032                "-Wl,-wrap,realloc",
1033                "-Wl,-wrap,realpath",
1034                "-Wl,-wrap,strdup",
1035                "-Wl,-wrap,strndup",
1036                "-Wl,-wrap,valloc",
1037                "-Wl,-wrap,vasprintf",
1038            ],
1039        },
1040        host: {
1041            srcs: [
1042                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim.cc",
1043                "base/allocator/partition_allocator/src/partition_alloc/shim/allocator_shim_default_dispatch_to_glibc.cc",
1044            ],
1045            cflags: [
1046                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
1047                "-DUSE_AURA=1",
1048                "-DUSE_OZONE=1",
1049                "-DUSE_UDEV",
1050                "-D_FILE_OFFSET_BITS=64",
1051                "-D_FORTIFY_SOURCE=2",
1052                "-D_LARGEFILE64_SOURCE",
1053                "-D_LARGEFILE_SOURCE",
1054                "-msse3",
1055            ],
1056            compile_multilib: "64",
1057        },
1058    },
1059}
1060
1061// GN: //base/allocator/partition_allocator/src/partition_alloc:chromecast_buildflags
1062cc_genrule {
1063    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
1064    cmd: "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
1065         "$(location build/write_buildflag_header.py) --output " +
1066         "$(out) " +
1067         "--rulename " +
1068         "//base/allocator/partition_allocator/src/partition_alloc:chromecast_buildflags " +
1069         "--gen-dir " +
1070         ". " +
1071         "--definitions " +
1072         "/dev/stdin",
1073    out: [
1074        "base/allocator/partition_allocator/src/partition_alloc/chromecast_buildflags.h",
1075    ],
1076    export_include_dirs: [
1077        "base/allocator/partition_allocator/src/",
1078    ],
1079    tool_files: [
1080        "build/write_buildflag_header.py",
1081    ],
1082    apex_available: [
1083        "com.android.tethering",
1084    ],
1085}
1086
1087// GN: //base/allocator/partition_allocator/src/partition_alloc:chromecast_buildflags__testing
1088cc_genrule {
1089    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
1090    cmd: "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
1091         "$(location build/write_buildflag_header.py) --output " +
1092         "$(out) " +
1093         "--rulename " +
1094         "//base/allocator/partition_allocator/src/partition_alloc:chromecast_buildflags " +
1095         "--gen-dir " +
1096         ". " +
1097         "--definitions " +
1098         "/dev/stdin",
1099    host_supported: true,
1100    out: [
1101        "base/allocator/partition_allocator/src/partition_alloc/chromecast_buildflags.h",
1102    ],
1103    export_include_dirs: [
1104        "base/allocator/partition_allocator/src/",
1105    ],
1106    tool_files: [
1107        "build/write_buildflag_header.py",
1108    ],
1109    apex_available: [
1110        "com.android.tethering",
1111    ],
1112}
1113
1114// GN: //base/allocator/partition_allocator/src/partition_alloc:chromeos_buildflags
1115cc_genrule {
1116    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
1117    cmd: "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
1118         "$(location build/write_buildflag_header.py) --output " +
1119         "$(out) " +
1120         "--rulename " +
1121         "//base/allocator/partition_allocator/src/partition_alloc:chromeos_buildflags " +
1122         "--gen-dir " +
1123         ". " +
1124         "--definitions " +
1125         "/dev/stdin",
1126    out: [
1127        "base/allocator/partition_allocator/src/partition_alloc/chromeos_buildflags.h",
1128    ],
1129    export_include_dirs: [
1130        "base/allocator/partition_allocator/src/",
1131    ],
1132    tool_files: [
1133        "build/write_buildflag_header.py",
1134    ],
1135    apex_available: [
1136        "com.android.tethering",
1137    ],
1138}
1139
1140// GN: //base/allocator/partition_allocator/src/partition_alloc:chromeos_buildflags__testing
1141cc_genrule {
1142    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
1143    cmd: "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
1144         "$(location build/write_buildflag_header.py) --output " +
1145         "$(out) " +
1146         "--rulename " +
1147         "//base/allocator/partition_allocator/src/partition_alloc:chromeos_buildflags " +
1148         "--gen-dir " +
1149         ". " +
1150         "--definitions " +
1151         "/dev/stdin",
1152    host_supported: true,
1153    out: [
1154        "base/allocator/partition_allocator/src/partition_alloc/chromeos_buildflags.h",
1155    ],
1156    export_include_dirs: [
1157        "base/allocator/partition_allocator/src/",
1158    ],
1159    tool_files: [
1160        "build/write_buildflag_header.py",
1161    ],
1162    apex_available: [
1163        "com.android.tethering",
1164    ],
1165}
1166
1167// GN: //base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags
1168cc_genrule {
1169    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
1170    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
1171         "then " +
1172         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"false\"' | " +
1173         "$(location build/write_buildflag_header.py) --output " +
1174         "$(out) " +
1175         "--rulename " +
1176         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1177         "--gen-dir " +
1178         ". " +
1179         "--definitions " +
1180         "/dev/stdin; " +
1181         "fi; " +
1182         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
1183         "then " +
1184         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"true\"' | " +
1185         "$(location build/write_buildflag_header.py) --output " +
1186         "$(out) " +
1187         "--rulename " +
1188         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1189         "--gen-dir " +
1190         ". " +
1191         "--definitions " +
1192         "/dev/stdin; " +
1193         "fi; " +
1194         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
1195         "then " +
1196         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"false\"' | " +
1197         "$(location build/write_buildflag_header.py) --output " +
1198         "$(out) " +
1199         "--rulename " +
1200         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1201         "--gen-dir " +
1202         ". " +
1203         "--definitions " +
1204         "/dev/stdin; " +
1205         "fi; " +
1206         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
1207         "then " +
1208         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"false\"' | " +
1209         "$(location build/write_buildflag_header.py) --output " +
1210         "$(out) " +
1211         "--rulename " +
1212         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1213         "--gen-dir " +
1214         ". " +
1215         "--definitions " +
1216         "/dev/stdin; " +
1217         "fi; " +
1218         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
1219         "then " +
1220         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"false\"' | " +
1221         "$(location build/write_buildflag_header.py) --output " +
1222         "$(out) " +
1223         "--rulename " +
1224         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1225         "--gen-dir " +
1226         ". " +
1227         "--definitions " +
1228         "/dev/stdin; " +
1229         "fi;",
1230    out: [
1231        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/debugging_buildflags.h",
1232    ],
1233    export_include_dirs: [
1234        "base/allocator/partition_allocator/src/",
1235    ],
1236    tool_files: [
1237        "build/write_buildflag_header.py",
1238    ],
1239    apex_available: [
1240        "com.android.tethering",
1241    ],
1242}
1243
1244// GN: //base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags__testing
1245cc_genrule {
1246    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
1247    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
1248         "then " +
1249         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"false\"' | " +
1250         "$(location build/write_buildflag_header.py) --output " +
1251         "$(out) " +
1252         "--rulename " +
1253         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1254         "--gen-dir " +
1255         ". " +
1256         "--definitions " +
1257         "/dev/stdin; " +
1258         "fi; " +
1259         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
1260         "then " +
1261         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"true\"' | " +
1262         "$(location build/write_buildflag_header.py) --output " +
1263         "$(out) " +
1264         "--rulename " +
1265         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1266         "--gen-dir " +
1267         ". " +
1268         "--definitions " +
1269         "/dev/stdin; " +
1270         "fi; " +
1271         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
1272         "then " +
1273         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"false\"' | " +
1274         "$(location build/write_buildflag_header.py) --output " +
1275         "$(out) " +
1276         "--rulename " +
1277         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1278         "--gen-dir " +
1279         ". " +
1280         "--definitions " +
1281         "/dev/stdin; " +
1282         "fi; " +
1283         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
1284         "then " +
1285         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"false\"' | " +
1286         "$(location build/write_buildflag_header.py) --output " +
1287         "$(out) " +
1288         "--rulename " +
1289         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1290         "--gen-dir " +
1291         ". " +
1292         "--definitions " +
1293         "/dev/stdin; " +
1294         "fi; " +
1295         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
1296         "then " +
1297         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"false\"' | " +
1298         "$(location build/write_buildflag_header.py) --output " +
1299         "$(out) " +
1300         "--rulename " +
1301         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1302         "--gen-dir " +
1303         ". " +
1304         "--definitions " +
1305         "/dev/stdin; " +
1306         "fi; " +
1307         "if [[ $$CC_OS != 'android' ]]; " +
1308         "then " +
1309         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug && echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\" PA_CAN_UNWIND_WITH_FRAME_POINTERS=\"true\"' | " +
1310         "$(location build/write_buildflag_header.py) --output " +
1311         "$(out) " +
1312         "--rulename " +
1313         "//base/allocator/partition_allocator/src/partition_alloc:debugging_buildflags " +
1314         "--gen-dir " +
1315         ". " +
1316         "--definitions " +
1317         "/dev/stdin; " +
1318         "fi;",
1319    host_supported: true,
1320    out: [
1321        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/debugging_buildflags.h",
1322    ],
1323    export_include_dirs: [
1324        "base/allocator/partition_allocator/src/",
1325    ],
1326    tool_files: [
1327        "build/write_buildflag_header.py",
1328    ],
1329    apex_available: [
1330        "com.android.tethering",
1331    ],
1332}
1333
1334// GN: //base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags
1335cc_genrule {
1336    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
1337    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
1338         "then " +
1339         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"false\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"false\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1340         "$(location build/write_buildflag_header.py) --output " +
1341         "$(out) " +
1342         "--rulename " +
1343         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1344         "--gen-dir " +
1345         ". " +
1346         "--definitions " +
1347         "/dev/stdin; " +
1348         "fi; " +
1349         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
1350         "then " +
1351         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"true\" HAS_MEMORY_TAGGING=\"true\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"true\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1352         "$(location build/write_buildflag_header.py) --output " +
1353         "$(out) " +
1354         "--rulename " +
1355         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1356         "--gen-dir " +
1357         ". " +
1358         "--definitions " +
1359         "/dev/stdin; " +
1360         "fi; " +
1361         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
1362         "then " +
1363         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"true\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"true\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1364         "$(location build/write_buildflag_header.py) --output " +
1365         "$(out) " +
1366         "--rulename " +
1367         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1368         "--gen-dir " +
1369         ". " +
1370         "--definitions " +
1371         "/dev/stdin; " +
1372         "fi; " +
1373         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
1374         "then " +
1375         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"false\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"false\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1376         "$(location build/write_buildflag_header.py) --output " +
1377         "$(out) " +
1378         "--rulename " +
1379         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1380         "--gen-dir " +
1381         ". " +
1382         "--definitions " +
1383         "/dev/stdin; " +
1384         "fi; " +
1385         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
1386         "then " +
1387         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"true\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"true\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1388         "$(location build/write_buildflag_header.py) --output " +
1389         "$(out) " +
1390         "--rulename " +
1391         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1392         "--gen-dir " +
1393         ". " +
1394         "--definitions " +
1395         "/dev/stdin; " +
1396         "fi;",
1397    out: [
1398        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_buildflags.h",
1399    ],
1400    export_include_dirs: [
1401        ".",
1402        "base/allocator/partition_allocator/src/",
1403    ],
1404    tool_files: [
1405        "build/write_buildflag_header.py",
1406    ],
1407    apex_available: [
1408        "com.android.tethering",
1409    ],
1410}
1411
1412// GN: //base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags__testing
1413cc_genrule {
1414    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
1415    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
1416         "then " +
1417         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"false\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"false\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1418         "$(location build/write_buildflag_header.py) --output " +
1419         "$(out) " +
1420         "--rulename " +
1421         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1422         "--gen-dir " +
1423         ". " +
1424         "--definitions " +
1425         "/dev/stdin; " +
1426         "fi; " +
1427         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
1428         "then " +
1429         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"true\" HAS_MEMORY_TAGGING=\"true\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"true\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1430         "$(location build/write_buildflag_header.py) --output " +
1431         "$(out) " +
1432         "--rulename " +
1433         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1434         "--gen-dir " +
1435         ". " +
1436         "--definitions " +
1437         "/dev/stdin; " +
1438         "fi; " +
1439         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
1440         "then " +
1441         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"true\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"true\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1442         "$(location build/write_buildflag_header.py) --output " +
1443         "$(out) " +
1444         "--rulename " +
1445         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1446         "--gen-dir " +
1447         ". " +
1448         "--definitions " +
1449         "/dev/stdin; " +
1450         "fi; " +
1451         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
1452         "then " +
1453         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"false\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"false\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1454         "$(location build/write_buildflag_header.py) --output " +
1455         "$(out) " +
1456         "--rulename " +
1457         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1458         "--gen-dir " +
1459         ". " +
1460         "--definitions " +
1461         "/dev/stdin; " +
1462         "fi; " +
1463         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
1464         "then " +
1465         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"true\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"true\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1466         "$(location build/write_buildflag_header.py) --output " +
1467         "$(out) " +
1468         "--rulename " +
1469         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1470         "--gen-dir " +
1471         ". " +
1472         "--definitions " +
1473         "/dev/stdin; " +
1474         "fi; " +
1475         "if [[ $$CC_OS != 'android' ]]; " +
1476         "then " +
1477         "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags HAS_64_BIT_POINTERS=\"true\" HAS_MEMORY_TAGGING=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_LARGE_EMPTY_SLOT_SPAN_RING=\"false\" USE_PARTITION_ALLOC=\"false\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"false\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_BACKUP_REF_PTR_FEATURE_FLAG=\"false\" ENABLE_BACKUP_REF_PTR_INSTANCE_TRACER=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_FEATURE_FLAG=\"false\" ENABLE_POINTER_SUBTRACTION_CHECK=\"false\" ENABLE_POINTER_ARITHMETIC_TRAIT_CHECK=\"true\" BACKUP_REF_PTR_EXTRA_OOB_CHECKS=\"false\" BACKUP_REF_PTR_POISON_OOB_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_ASAN_UNOWNED_PTR=\"false\" USE_HOOKABLE_RAW_PTR=\"false\" ENABLE_GWP_ASAN_SUPPORT=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\" USE_FULL_MTE=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_POINTER_COMPRESSION=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" USE_FREELIST_POOL_OFFSETS=\"true\" USE_STARSCAN=\"false\" STACK_SCAN_SUPPORTED=\"true\" ENABLE_PKEYS=\"false\" ENABLE_THREAD_ISOLATION=\"false\" FORWARD_THROUGH_MALLOC=\"false\" ASSERT_CPP_20=\"true\"' | " +
1478         "$(location build/write_buildflag_header.py) --output " +
1479         "$(out) " +
1480         "--rulename " +
1481         "//base/allocator/partition_allocator/src/partition_alloc:partition_alloc_buildflags " +
1482         "--gen-dir " +
1483         ". " +
1484         "--definitions " +
1485         "/dev/stdin; " +
1486         "fi;",
1487    host_supported: true,
1488    out: [
1489        "base/allocator/partition_allocator/src/partition_alloc/partition_alloc_buildflags.h",
1490    ],
1491    export_include_dirs: [
1492        ".",
1493        "base/allocator/partition_allocator/src/",
1494    ],
1495    tool_files: [
1496        "build/write_buildflag_header.py",
1497    ],
1498    apex_available: [
1499        "com.android.tethering",
1500    ],
1501}
1502
1503// GN: //base/allocator/partition_allocator/src/partition_alloc:raw_ptr
1504cc_library_static {
1505    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr",
1506    srcs: [
1507        "base/allocator/partition_allocator/src/partition_alloc/pointers/empty.cc",
1508        "base/allocator/partition_allocator/src/partition_alloc/pointers/instance_tracer.cc",
1509    ],
1510    generated_headers: [
1511        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
1512        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
1513        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
1514        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
1515        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
1516    ],
1517    export_generated_headers: [
1518        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
1519        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
1520        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
1521        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
1522        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
1523    ],
1524    defaults: [
1525        "cronet_aml_cc_defaults",
1526    ],
1527    cflags: [
1528        "-DANDROID",
1529        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
1530        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
1531        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
1532        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1533        "-DHAVE_SYS_UIO_H",
1534        "-DIS_RAW_PTR_IMPL",
1535        "-DNDEBUG",
1536        "-DNO_UNWIND_TABLES",
1537        "-DNVALGRIND",
1538        "-DOFFICIAL_BUILD",
1539        "-D_GNU_SOURCE",
1540        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1541        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1542        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1543        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1544        "-D__STDC_CONSTANT_MACROS",
1545        "-D__STDC_FORMAT_MACROS",
1546        "-O3",
1547        "-fdata-sections",
1548        "-ffunction-sections",
1549        "-fno-asynchronous-unwind-tables",
1550        "-fno-unwind-tables",
1551        "-fstack-protector",
1552        "-fvisibility-inlines-hidden",
1553        "-fvisibility=hidden",
1554        "-g1",
1555    ],
1556    local_include_dirs: [
1557        "./",
1558        "base/allocator/partition_allocator/src/",
1559        "buildtools/third_party/libc++/",
1560        "third_party/libc++/src/include",
1561        "third_party/libc++abi/src/include",
1562    ],
1563    cpp_std: "c++20",
1564    ldflags: [
1565        "-Wl,--as-needed",
1566        "-Wl,--gc-sections",
1567        "-Wl,--icf=all",
1568    ],
1569    target: {
1570        android_arm: {
1571            cflags: [
1572                "-D_FORTIFY_SOURCE=2",
1573            ],
1574        },
1575        android_arm64: {
1576            cflags: [
1577                "-D_FORTIFY_SOURCE=2",
1578                "-mno-outline",
1579            ],
1580        },
1581        android_x86: {
1582            cflags: [
1583                "-D_FORTIFY_SOURCE=2",
1584                "-msse3",
1585            ],
1586        },
1587        android_x86_64: {
1588            cflags: [
1589                "-D_FORTIFY_SOURCE=2",
1590                "-msse3",
1591            ],
1592        },
1593    },
1594}
1595
1596// GN: //base/allocator/partition_allocator/src/partition_alloc:raw_ptr__testing
1597cc_library_static {
1598    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr__testing",
1599    srcs: [
1600        "base/allocator/partition_allocator/src/partition_alloc/pointers/empty.cc",
1601        "base/allocator/partition_allocator/src/partition_alloc/pointers/instance_tracer.cc",
1602    ],
1603    host_supported: true,
1604    generated_headers: [
1605        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
1606        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
1607        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
1608        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
1609        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
1610    ],
1611    export_generated_headers: [
1612        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
1613        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
1614        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
1615        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
1616        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
1617    ],
1618    defaults: [
1619        "cronet_aml_cc_defaults",
1620    ],
1621    cflags: [
1622        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
1623        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
1624        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1625        "-DIS_RAW_PTR_IMPL",
1626        "-DNDEBUG",
1627        "-DNO_UNWIND_TABLES",
1628        "-DNVALGRIND",
1629        "-DOFFICIAL_BUILD",
1630        "-D_GNU_SOURCE",
1631        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1632        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
1633        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1634        "-D__STDC_CONSTANT_MACROS",
1635        "-D__STDC_FORMAT_MACROS",
1636        "-O3",
1637        "-fdata-sections",
1638        "-ffunction-sections",
1639        "-fno-asynchronous-unwind-tables",
1640        "-fno-unwind-tables",
1641        "-fstack-protector",
1642        "-fvisibility-inlines-hidden",
1643        "-fvisibility=hidden",
1644        "-g1",
1645    ],
1646    local_include_dirs: [
1647        "./",
1648        "base/allocator/partition_allocator/src/",
1649        "buildtools/third_party/libc++/",
1650        "third_party/libc++/src/include",
1651        "third_party/libc++abi/src/include",
1652    ],
1653    cpp_std: "c++20",
1654    ldflags: [
1655        "-Wl,--as-needed",
1656        "-Wl,--gc-sections",
1657        "-Wl,--icf=all",
1658    ],
1659    target: {
1660        android_arm: {
1661            cflags: [
1662                "-DANDROID",
1663                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
1664                "-DHAVE_SYS_UIO_H",
1665                "-D_FORTIFY_SOURCE=2",
1666                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1667            ],
1668        },
1669        android_arm64: {
1670            cflags: [
1671                "-DANDROID",
1672                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
1673                "-DHAVE_SYS_UIO_H",
1674                "-D_FORTIFY_SOURCE=2",
1675                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1676                "-mno-outline",
1677            ],
1678        },
1679        android_riscv64: {
1680            cflags: [
1681                "-DANDROID",
1682                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
1683                "-DHAVE_SYS_UIO_H",
1684                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1685            ],
1686        },
1687        android_x86: {
1688            cflags: [
1689                "-DANDROID",
1690                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
1691                "-DHAVE_SYS_UIO_H",
1692                "-D_FORTIFY_SOURCE=2",
1693                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1694                "-msse3",
1695            ],
1696        },
1697        android_x86_64: {
1698            cflags: [
1699                "-DANDROID",
1700                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
1701                "-DHAVE_SYS_UIO_H",
1702                "-D_FORTIFY_SOURCE=2",
1703                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
1704                "-msse3",
1705            ],
1706        },
1707        host: {
1708            cflags: [
1709                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
1710                "-DUSE_AURA=1",
1711                "-DUSE_OZONE=1",
1712                "-DUSE_UDEV",
1713                "-D_FILE_OFFSET_BITS=64",
1714                "-D_FORTIFY_SOURCE=2",
1715                "-D_LARGEFILE64_SOURCE",
1716                "-D_LARGEFILE_SOURCE",
1717                "-msse3",
1718            ],
1719            compile_multilib: "64",
1720        },
1721    },
1722}
1723
1724// GN: //base/allocator/partition_allocator/src/partition_alloc:raw_ptr_buildflags
1725cc_genrule {
1726    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
1727    cmd: "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags RAW_PTR_ZERO_ON_CONSTRUCT=\"true\" RAW_PTR_ZERO_ON_MOVE=\"true\" RAW_PTR_ZERO_ON_DESTRUCT=\"false\"' | " +
1728         "$(location build/write_buildflag_header.py) --output " +
1729         "$(out) " +
1730         "--rulename " +
1731         "//base/allocator/partition_allocator/src/partition_alloc:raw_ptr_buildflags " +
1732         "--gen-dir " +
1733         ". " +
1734         "--definitions " +
1735         "/dev/stdin",
1736    out: [
1737        "base/allocator/partition_allocator/src/partition_alloc/raw_ptr_buildflags.h",
1738    ],
1739    export_include_dirs: [
1740        "base/allocator/partition_allocator/src/",
1741    ],
1742    tool_files: [
1743        "build/write_buildflag_header.py",
1744    ],
1745    apex_available: [
1746        "com.android.tethering",
1747    ],
1748}
1749
1750// GN: //base/allocator/partition_allocator/src/partition_alloc:raw_ptr_buildflags__testing
1751cc_genrule {
1752    name: "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
1753    cmd: "mkdir -p $(genDir)/base/allocator/partition_allocator/src/partition_alloc && echo '--flags RAW_PTR_ZERO_ON_CONSTRUCT=\"true\" RAW_PTR_ZERO_ON_MOVE=\"true\" RAW_PTR_ZERO_ON_DESTRUCT=\"false\"' | " +
1754         "$(location build/write_buildflag_header.py) --output " +
1755         "$(out) " +
1756         "--rulename " +
1757         "//base/allocator/partition_allocator/src/partition_alloc:raw_ptr_buildflags " +
1758         "--gen-dir " +
1759         ". " +
1760         "--definitions " +
1761         "/dev/stdin",
1762    host_supported: true,
1763    out: [
1764        "base/allocator/partition_allocator/src/partition_alloc/raw_ptr_buildflags.h",
1765    ],
1766    export_include_dirs: [
1767        "base/allocator/partition_allocator/src/",
1768    ],
1769    tool_files: [
1770        "build/write_buildflag_header.py",
1771    ],
1772    apex_available: [
1773        "com.android.tethering",
1774    ],
1775}
1776
1777// GN: //base:anchor_functions_buildflags
1778cc_genrule {
1779    name: "cronet_aml_base_anchor_functions_buildflags",
1780    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
1781         "then " +
1782         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
1783         "$(location build/write_buildflag_header.py) --output " +
1784         "$(out) " +
1785         "--rulename " +
1786         "//base:anchor_functions_buildflags " +
1787         "--gen-dir " +
1788         ". " +
1789         "--definitions " +
1790         "/dev/stdin; " +
1791         "fi; " +
1792         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
1793         "then " +
1794         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
1795         "$(location build/write_buildflag_header.py) --output " +
1796         "$(out) " +
1797         "--rulename " +
1798         "//base:anchor_functions_buildflags " +
1799         "--gen-dir " +
1800         ". " +
1801         "--definitions " +
1802         "/dev/stdin; " +
1803         "fi; " +
1804         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
1805         "then " +
1806         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"false\"' | " +
1807         "$(location build/write_buildflag_header.py) --output " +
1808         "$(out) " +
1809         "--rulename " +
1810         "//base:anchor_functions_buildflags " +
1811         "--gen-dir " +
1812         ". " +
1813         "--definitions " +
1814         "/dev/stdin; " +
1815         "fi; " +
1816         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
1817         "then " +
1818         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
1819         "$(location build/write_buildflag_header.py) --output " +
1820         "$(out) " +
1821         "--rulename " +
1822         "//base:anchor_functions_buildflags " +
1823         "--gen-dir " +
1824         ". " +
1825         "--definitions " +
1826         "/dev/stdin; " +
1827         "fi; " +
1828         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
1829         "then " +
1830         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
1831         "$(location build/write_buildflag_header.py) --output " +
1832         "$(out) " +
1833         "--rulename " +
1834         "//base:anchor_functions_buildflags " +
1835         "--gen-dir " +
1836         ". " +
1837         "--definitions " +
1838         "/dev/stdin; " +
1839         "fi;",
1840    out: [
1841        "base/android/library_loader/anchor_functions_buildflags.h",
1842    ],
1843    tool_files: [
1844        "build/write_buildflag_header.py",
1845    ],
1846    apex_available: [
1847        "com.android.tethering",
1848    ],
1849}
1850
1851// GN: //base:anchor_functions_buildflags__testing
1852cc_genrule {
1853    name: "cronet_aml_base_anchor_functions_buildflags__testing",
1854    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
1855         "then " +
1856         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
1857         "$(location build/write_buildflag_header.py) --output " +
1858         "$(out) " +
1859         "--rulename " +
1860         "//base:anchor_functions_buildflags " +
1861         "--gen-dir " +
1862         ". " +
1863         "--definitions " +
1864         "/dev/stdin; " +
1865         "fi; " +
1866         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
1867         "then " +
1868         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
1869         "$(location build/write_buildflag_header.py) --output " +
1870         "$(out) " +
1871         "--rulename " +
1872         "//base:anchor_functions_buildflags " +
1873         "--gen-dir " +
1874         ". " +
1875         "--definitions " +
1876         "/dev/stdin; " +
1877         "fi; " +
1878         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
1879         "then " +
1880         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"false\"' | " +
1881         "$(location build/write_buildflag_header.py) --output " +
1882         "$(out) " +
1883         "--rulename " +
1884         "//base:anchor_functions_buildflags " +
1885         "--gen-dir " +
1886         ". " +
1887         "--definitions " +
1888         "/dev/stdin; " +
1889         "fi; " +
1890         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
1891         "then " +
1892         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
1893         "$(location build/write_buildflag_header.py) --output " +
1894         "$(out) " +
1895         "--rulename " +
1896         "//base:anchor_functions_buildflags " +
1897         "--gen-dir " +
1898         ". " +
1899         "--definitions " +
1900         "/dev/stdin; " +
1901         "fi; " +
1902         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
1903         "then " +
1904         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
1905         "$(location build/write_buildflag_header.py) --output " +
1906         "$(out) " +
1907         "--rulename " +
1908         "//base:anchor_functions_buildflags " +
1909         "--gen-dir " +
1910         ". " +
1911         "--definitions " +
1912         "/dev/stdin; " +
1913         "fi; " +
1914         "if [[ $$CC_OS != 'android' ]]; " +
1915         "then " +
1916         "mkdir -p $(genDir)/base/android/library_loader && echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"false\"' | " +
1917         "$(location build/write_buildflag_header.py) --output " +
1918         "$(out) " +
1919         "--rulename " +
1920         "//base:anchor_functions_buildflags " +
1921         "--gen-dir " +
1922         ". " +
1923         "--definitions " +
1924         "/dev/stdin; " +
1925         "fi;",
1926    host_supported: true,
1927    out: [
1928        "base/android/library_loader/anchor_functions_buildflags.h",
1929    ],
1930    tool_files: [
1931        "build/write_buildflag_header.py",
1932    ],
1933    apex_available: [
1934        "com.android.tethering",
1935    ],
1936}
1937
1938// GN: //base:android_runtime_jni_headers__action
1939cc_genrule {
1940    name: "cronet_aml_base_android_runtime_jni_headers__action",
1941    tools: [
1942        ":javap",
1943    ],
1944    cmd: "mkdir -p $(genDir)/jni_headers/base/android_runtime_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-jar " +
1945         "--output-dir " +
1946         "$(genDir)/base/android_runtime_jni_headers " +
1947         "--extra-include " +
1948         "third_party/jni_zero/jni_zero_internal.h " +
1949         "--jar-file " +
1950         "$(location :current_android_jar) " +
1951         "--javap " +
1952         "$(location :javap) " +
1953         "--output-name " +
1954         "Runnable_jni.h " +
1955         "--output-name " +
1956         "Runtime_jni.h " +
1957         "--output-name " +
1958         "Throwable_jni.h " +
1959         "--input-file " +
1960         "java/lang/Runnable.class " +
1961         "--input-file " +
1962         "java/lang/Runtime.class " +
1963         "--input-file " +
1964         "java/lang/Throwable.class",
1965    out: [
1966        "base/android_runtime_jni_headers/Runnable_jni.h",
1967        "base/android_runtime_jni_headers/Runtime_jni.h",
1968        "base/android_runtime_jni_headers/Throwable_jni.h",
1969    ],
1970    tool_files: [
1971        ":current_android_jar",
1972        "third_party/jni_zero/codegen/called_by_native_header.py",
1973        "third_party/jni_zero/codegen/convert_type.py",
1974        "third_party/jni_zero/codegen/header_common.py",
1975        "third_party/jni_zero/codegen/natives_header.py",
1976        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
1977        "third_party/jni_zero/codegen/placeholder_java_type.py",
1978        "third_party/jni_zero/codegen/proxy_impl_java.py",
1979        "third_party/jni_zero/common.py",
1980        "third_party/jni_zero/java_lang_classes.py",
1981        "third_party/jni_zero/java_types.py",
1982        "third_party/jni_zero/jni_generator.py",
1983        "third_party/jni_zero/jni_registration_generator.py",
1984        "third_party/jni_zero/jni_zero.py",
1985        "third_party/jni_zero/parse.py",
1986        "third_party/jni_zero/proxy.py",
1987    ],
1988    apex_available: [
1989        "com.android.tethering",
1990    ],
1991}
1992
1993// GN: //base:android_runtime_jni_headers__action__testing
1994cc_genrule {
1995    name: "cronet_aml_base_android_runtime_jni_headers__action__testing",
1996    tools: [
1997        ":javap",
1998    ],
1999    cmd: "mkdir -p $(genDir)/jni_headers/base/android_runtime_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-jar " +
2000         "--output-dir " +
2001         "$(genDir)/base/android_runtime_jni_headers " +
2002         "--extra-include " +
2003         "third_party/jni_zero/jni_zero_internal.h " +
2004         "--jar-file " +
2005         "$(location :current_android_jar) " +
2006         "--javap " +
2007         "$(location :javap) " +
2008         "--output-name " +
2009         "Runnable_jni.h " +
2010         "--output-name " +
2011         "Runtime_jni.h " +
2012         "--output-name " +
2013         "Throwable_jni.h " +
2014         "--input-file " +
2015         "java/lang/Runnable.class " +
2016         "--input-file " +
2017         "java/lang/Runtime.class " +
2018         "--input-file " +
2019         "java/lang/Throwable.class",
2020    out: [
2021        "base/android_runtime_jni_headers/Runnable_jni.h",
2022        "base/android_runtime_jni_headers/Runtime_jni.h",
2023        "base/android_runtime_jni_headers/Throwable_jni.h",
2024    ],
2025    tool_files: [
2026        ":current_android_jar",
2027        "third_party/jni_zero/codegen/called_by_native_header.py",
2028        "third_party/jni_zero/codegen/convert_type.py",
2029        "third_party/jni_zero/codegen/header_common.py",
2030        "third_party/jni_zero/codegen/natives_header.py",
2031        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
2032        "third_party/jni_zero/codegen/placeholder_java_type.py",
2033        "third_party/jni_zero/codegen/proxy_impl_java.py",
2034        "third_party/jni_zero/common.py",
2035        "third_party/jni_zero/java_lang_classes.py",
2036        "third_party/jni_zero/java_types.py",
2037        "third_party/jni_zero/jni_generator.py",
2038        "third_party/jni_zero/jni_registration_generator.py",
2039        "third_party/jni_zero/jni_zero.py",
2040        "third_party/jni_zero/parse.py",
2041        "third_party/jni_zero/proxy.py",
2042    ],
2043    apex_available: [
2044        "com.android.tethering",
2045    ],
2046}
2047
2048// GN: //base:base
2049cc_library_static {
2050    name: "cronet_aml_base_base",
2051    srcs: [
2052        "base/allocator/allocator_check.cc",
2053        "base/allocator/dispatcher/dispatcher.cc",
2054        "base/allocator/dispatcher/internal/dispatch_data.cc",
2055        "base/allocator/dispatcher/memory_tagging.cc",
2056        "base/allocator/dispatcher/reentry_guard.cc",
2057        "base/allocator/dispatcher/tls.cc",
2058        "base/android/android_hardware_buffer_compat.cc",
2059        "base/android/android_image_reader_compat.cc",
2060        "base/android/apk_assets.cc",
2061        "base/android/application_status_listener.cc",
2062        "base/android/base_jni_onload.cc",
2063        "base/android/build_info.cc",
2064        "base/android/bundle_utils.cc",
2065        "base/android/callback_android.cc",
2066        "base/android/child_process_service.cc",
2067        "base/android/command_line_android.cc",
2068        "base/android/content_uri_utils.cc",
2069        "base/android/cpu_features.cc",
2070        "base/android/early_trace_event_binding.cc",
2071        "base/android/event_log.cc",
2072        "base/android/feature_list_jni.cc",
2073        "base/android/feature_map.cc",
2074        "base/android/features_jni.cc",
2075        "base/android/field_trial_list.cc",
2076        "base/android/important_file_writer_android.cc",
2077        "base/android/input_hint_checker.cc",
2078        "base/android/int_string_callback.cc",
2079        "base/android/jank_metric_uma_recorder.cc",
2080        "base/android/java_exception_reporter.cc",
2081        "base/android/java_handler_thread.cc",
2082        "base/android/java_heap_dump_generator.cc",
2083        "base/android/java_runtime.cc",
2084        "base/android/jni_android.cc",
2085        "base/android/jni_array.cc",
2086        "base/android/jni_bytebuffer.cc",
2087        "base/android/jni_conversions.cc",
2088        "base/android/jni_registrar.cc",
2089        "base/android/jni_string.cc",
2090        "base/android/jni_utils.cc",
2091        "base/android/jni_weak_ref.cc",
2092        "base/android/library_loader/anchor_functions.cc",
2093        "base/android/library_loader/library_loader_hooks.cc",
2094        "base/android/library_loader/library_prefetcher.cc",
2095        "base/android/library_loader/library_prefetcher_hooks.cc",
2096        "base/android/locale_utils.cc",
2097        "base/android/meminfo_dump_provider.cc",
2098        "base/android/memory_pressure_listener_android.cc",
2099        "base/android/memory_purge_manager_android.cc",
2100        "base/android/native_uma_recorder.cc",
2101        "base/android/path_service_android.cc",
2102        "base/android/path_utils.cc",
2103        "base/android/pmf_utils.cc",
2104        "base/android/pre_freeze_background_memory_trimmer.cc",
2105        "base/android/radio_utils.cc",
2106        "base/android/scoped_hardware_buffer_fence_sync.cc",
2107        "base/android/scoped_hardware_buffer_handle.cc",
2108        "base/android/shared_preferences/shared_preferences_manager.cc",
2109        "base/android/statistics_recorder_android.cc",
2110        "base/android/sys_utils.cc",
2111        "base/android/task_scheduler/post_task_android.cc",
2112        "base/android/task_scheduler/task_runner_android.cc",
2113        "base/android/thread_instruction_count.cc",
2114        "base/android/timezone_utils.cc",
2115        "base/android/token_android.cc",
2116        "base/android/trace_event_binding.cc",
2117        "base/android/unguessable_token_android.cc",
2118        "base/at_exit.cc",
2119        "base/barrier_closure.cc",
2120        "base/base64.cc",
2121        "base/base64url.cc",
2122        "base/base_paths.cc",
2123        "base/base_paths_android.cc",
2124        "base/callback_list.cc",
2125        "base/check.cc",
2126        "base/check_is_test.cc",
2127        "base/check_op.cc",
2128        "base/command_line.cc",
2129        "base/containers/intrusive_heap.cc",
2130        "base/containers/linked_list.cc",
2131        "base/cpu.cc",
2132        "base/cpu_reduction_experiment.cc",
2133        "base/debug/alias.cc",
2134        "base/debug/asan_invalid_access.cc",
2135        "base/debug/asan_service.cc",
2136        "base/debug/crash_logging.cc",
2137        "base/debug/debugger.cc",
2138        "base/debug/debugger_posix.cc",
2139        "base/debug/dump_without_crashing.cc",
2140        "base/debug/elf_reader.cc",
2141        "base/debug/proc_maps_linux.cc",
2142        "base/debug/profiler.cc",
2143        "base/debug/stack_trace.cc",
2144        "base/debug/stack_trace_android.cc",
2145        "base/debug/task_trace.cc",
2146        "base/environment.cc",
2147        "base/feature_list.cc",
2148        "base/features.cc",
2149        "base/file_descriptor_posix.cc",
2150        "base/file_descriptor_store.cc",
2151        "base/files/block_tests_writing_to_special_dirs.cc",
2152        "base/files/file.cc",
2153        "base/files/file_descriptor_watcher_posix.cc",
2154        "base/files/file_enumerator.cc",
2155        "base/files/file_enumerator_posix.cc",
2156        "base/files/file_path.cc",
2157        "base/files/file_path_watcher.cc",
2158        "base/files/file_path_watcher_inotify.cc",
2159        "base/files/file_posix.cc",
2160        "base/files/file_proxy.cc",
2161        "base/files/file_tracing.cc",
2162        "base/files/file_util.cc",
2163        "base/files/file_util_android.cc",
2164        "base/files/file_util_posix.cc",
2165        "base/files/important_file_writer.cc",
2166        "base/files/important_file_writer_cleaner.cc",
2167        "base/files/memory_mapped_file.cc",
2168        "base/files/memory_mapped_file_posix.cc",
2169        "base/files/safe_base_name.cc",
2170        "base/files/scoped_file.cc",
2171        "base/files/scoped_file_android.cc",
2172        "base/files/scoped_temp_dir.cc",
2173        "base/files/scoped_temp_file.cc",
2174        "base/functional/callback_helpers.cc",
2175        "base/functional/callback_internal.cc",
2176        "base/functional/concurrent_closures.cc",
2177        "base/hash/hash.cc",
2178        "base/hash/legacy_hash.cc",
2179        "base/hash/md5_boringssl.cc",
2180        "base/hash/sha1_boringssl.cc",
2181        "base/json/json_file_value_serializer.cc",
2182        "base/json/json_parser.cc",
2183        "base/json/json_reader.cc",
2184        "base/json/json_string_value_serializer.cc",
2185        "base/json/json_value_converter.cc",
2186        "base/json/json_writer.cc",
2187        "base/json/string_escape.cc",
2188        "base/json/values_util.cc",
2189        "base/lazy_instance_helpers.cc",
2190        "base/linux_util.cc",
2191        "base/location.cc",
2192        "base/logging.cc",
2193        "base/memory/aligned_memory.cc",
2194        "base/memory/discardable_memory.cc",
2195        "base/memory/discardable_memory_allocator.cc",
2196        "base/memory/discardable_shared_memory.cc",
2197        "base/memory/madv_free_discardable_memory_allocator_posix.cc",
2198        "base/memory/madv_free_discardable_memory_posix.cc",
2199        "base/memory/memory_pressure_listener.cc",
2200        "base/memory/memory_pressure_monitor.cc",
2201        "base/memory/nonscannable_memory.cc",
2202        "base/memory/page_size_posix.cc",
2203        "base/memory/platform_shared_memory_handle.cc",
2204        "base/memory/platform_shared_memory_mapper_android.cc",
2205        "base/memory/platform_shared_memory_region.cc",
2206        "base/memory/platform_shared_memory_region_android.cc",
2207        "base/memory/post_delayed_memory_reduction_task.cc",
2208        "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
2209        "base/memory/raw_ptr_asan_hooks.cc",
2210        "base/memory/raw_ptr_asan_service.cc",
2211        "base/memory/read_only_shared_memory_region.cc",
2212        "base/memory/ref_counted.cc",
2213        "base/memory/ref_counted_memory.cc",
2214        "base/memory/shared_memory_mapper.cc",
2215        "base/memory/shared_memory_mapping.cc",
2216        "base/memory/shared_memory_security_policy.cc",
2217        "base/memory/shared_memory_switch.cc",
2218        "base/memory/shared_memory_tracker.cc",
2219        "base/memory/unsafe_shared_memory_pool.cc",
2220        "base/memory/unsafe_shared_memory_region.cc",
2221        "base/memory/weak_ptr.cc",
2222        "base/memory/writable_shared_memory_region.cc",
2223        "base/message_loop/message_pump.cc",
2224        "base/message_loop/message_pump_android.cc",
2225        "base/message_loop/message_pump_default.cc",
2226        "base/message_loop/message_pump_epoll.cc",
2227        "base/message_loop/message_pump_libevent.cc",
2228        "base/message_loop/watchable_io_message_pump_posix.cc",
2229        "base/message_loop/work_id_provider.cc",
2230        "base/metrics/bucket_ranges.cc",
2231        "base/metrics/crc32.cc",
2232        "base/metrics/dummy_histogram.cc",
2233        "base/metrics/field_trial.cc",
2234        "base/metrics/field_trial_list_including_low_anonymity.cc",
2235        "base/metrics/field_trial_param_associator.cc",
2236        "base/metrics/field_trial_params.cc",
2237        "base/metrics/histogram.cc",
2238        "base/metrics/histogram_base.cc",
2239        "base/metrics/histogram_delta_serialization.cc",
2240        "base/metrics/histogram_functions.cc",
2241        "base/metrics/histogram_samples.cc",
2242        "base/metrics/histogram_shared_memory.cc",
2243        "base/metrics/histogram_snapshot_manager.cc",
2244        "base/metrics/metrics_hashes.cc",
2245        "base/metrics/persistent_histogram_allocator.cc",
2246        "base/metrics/persistent_histogram_storage.cc",
2247        "base/metrics/persistent_memory_allocator.cc",
2248        "base/metrics/persistent_sample_map.cc",
2249        "base/metrics/ranges_manager.cc",
2250        "base/metrics/sample_map.cc",
2251        "base/metrics/sample_vector.cc",
2252        "base/metrics/single_sample_metrics.cc",
2253        "base/metrics/sparse_histogram.cc",
2254        "base/metrics/statistics_recorder.cc",
2255        "base/metrics/user_metrics.cc",
2256        "base/native_library.cc",
2257        "base/native_library_posix.cc",
2258        "base/observer_list_internal.cc",
2259        "base/observer_list_threadsafe.cc",
2260        "base/observer_list_types.cc",
2261        "base/one_shot_event.cc",
2262        "base/os_compat_android.cc",
2263        "base/path_service.cc",
2264        "base/pending_task.cc",
2265        "base/pickle.cc",
2266        "base/posix/can_lower_nice_to.cc",
2267        "base/posix/file_descriptor_shuffle.cc",
2268        "base/posix/global_descriptors.cc",
2269        "base/posix/safe_strerror.cc",
2270        "base/posix/unix_domain_socket.cc",
2271        "base/power_monitor/battery_level_provider.cc",
2272        "base/power_monitor/battery_state_sampler.cc",
2273        "base/power_monitor/cpu_frequency_utils.cc",
2274        "base/power_monitor/power_monitor.cc",
2275        "base/power_monitor/power_monitor_device_source.cc",
2276        "base/power_monitor/power_monitor_device_source_android.cc",
2277        "base/power_monitor/power_monitor_features.cc",
2278        "base/power_monitor/power_monitor_source.cc",
2279        "base/power_monitor/sampling_event_source.cc",
2280        "base/power_monitor/timer_sampling_event_source.cc",
2281        "base/process/current_process.cc",
2282        "base/process/environment_internal.cc",
2283        "base/process/internal_linux.cc",
2284        "base/process/kill.cc",
2285        "base/process/kill_posix.cc",
2286        "base/process/launch.cc",
2287        "base/process/launch_posix.cc",
2288        "base/process/memory.cc",
2289        "base/process/memory_linux.cc",
2290        "base/process/process_android.cc",
2291        "base/process/process_handle.cc",
2292        "base/process/process_handle_linux.cc",
2293        "base/process/process_handle_posix.cc",
2294        "base/process/process_iterator.cc",
2295        "base/process/process_iterator_linux.cc",
2296        "base/process/process_metrics.cc",
2297        "base/process/process_metrics_linux.cc",
2298        "base/process/process_metrics_posix.cc",
2299        "base/process/process_posix.cc",
2300        "base/process/set_process_title.cc",
2301        "base/profiler/frame.cc",
2302        "base/profiler/metadata_recorder.cc",
2303        "base/profiler/module_cache.cc",
2304        "base/profiler/module_cache_posix.cc",
2305        "base/profiler/sample_metadata.cc",
2306        "base/profiler/sampling_profiler_thread_token.cc",
2307        "base/profiler/stack_base_address_posix.cc",
2308        "base/profiler/stack_buffer.cc",
2309        "base/profiler/stack_copier.cc",
2310        "base/profiler/stack_copier_signal.cc",
2311        "base/profiler/stack_copier_suspend.cc",
2312        "base/profiler/stack_sampler.cc",
2313        "base/profiler/stack_sampler_android.cc",
2314        "base/profiler/stack_sampling_profiler.cc",
2315        "base/profiler/thread_delegate_posix.cc",
2316        "base/profiler/unwinder.cc",
2317        "base/rand_util.cc",
2318        "base/rand_util_posix.cc",
2319        "base/run_loop.cc",
2320        "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
2321        "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
2322        "base/sampling_heap_profiler/sampling_heap_profiler.cc",
2323        "base/scoped_add_feature_flags.cc",
2324        "base/scoped_environment_variable_override.cc",
2325        "base/scoped_native_library.cc",
2326        "base/sequence_checker.cc",
2327        "base/sequence_checker_impl.cc",
2328        "base/sequence_token.cc",
2329        "base/strings/abseil_string_number_conversions.cc",
2330        "base/strings/escape.cc",
2331        "base/strings/latin1_string_conversions.cc",
2332        "base/strings/levenshtein_distance.cc",
2333        "base/strings/pattern.cc",
2334        "base/strings/safe_sprintf.cc",
2335        "base/strings/strcat.cc",
2336        "base/strings/string_number_conversions.cc",
2337        "base/strings/string_split.cc",
2338        "base/strings/string_util.cc",
2339        "base/strings/string_util_constants.cc",
2340        "base/strings/stringprintf.cc",
2341        "base/strings/sys_string_conversions_posix.cc",
2342        "base/strings/utf_offset_string_conversions.cc",
2343        "base/strings/utf_ostream_operators.cc",
2344        "base/strings/utf_string_conversion_utils.cc",
2345        "base/strings/utf_string_conversions.cc",
2346        "base/substring_set_matcher/matcher_string_pattern.cc",
2347        "base/substring_set_matcher/substring_set_matcher.cc",
2348        "base/supports_user_data.cc",
2349        "base/sync_socket.cc",
2350        "base/sync_socket_posix.cc",
2351        "base/synchronization/atomic_flag.cc",
2352        "base/synchronization/condition_variable_posix.cc",
2353        "base/synchronization/lock.cc",
2354        "base/synchronization/lock_impl_posix.cc",
2355        "base/synchronization/waitable_event.cc",
2356        "base/synchronization/waitable_event_posix.cc",
2357        "base/synchronization/waitable_event_watcher_posix.cc",
2358        "base/syslog_logging.cc",
2359        "base/system/sys_info.cc",
2360        "base/system/sys_info_android.cc",
2361        "base/system/sys_info_linux.cc",
2362        "base/system/sys_info_posix.cc",
2363        "base/system/system_monitor.cc",
2364        "base/task/cancelable_task_tracker.cc",
2365        "base/task/common/checked_lock_impl.cc",
2366        "base/task/common/lazy_now.cc",
2367        "base/task/common/operations_controller.cc",
2368        "base/task/common/scoped_defer_task_posting.cc",
2369        "base/task/common/task_annotator.cc",
2370        "base/task/current_thread.cc",
2371        "base/task/default_delayed_task_handle_delegate.cc",
2372        "base/task/deferred_sequenced_task_runner.cc",
2373        "base/task/delayed_task_handle.cc",
2374        "base/task/lazy_thread_pool_task_runner.cc",
2375        "base/task/post_job.cc",
2376        "base/task/scoped_set_task_priority_for_current_thread.cc",
2377        "base/task/sequence_manager/associated_thread_id.cc",
2378        "base/task/sequence_manager/atomic_flag_set.cc",
2379        "base/task/sequence_manager/delayed_task_handle_delegate.cc",
2380        "base/task/sequence_manager/enqueue_order_generator.cc",
2381        "base/task/sequence_manager/fence.cc",
2382        "base/task/sequence_manager/sequence_manager.cc",
2383        "base/task/sequence_manager/sequence_manager_impl.cc",
2384        "base/task/sequence_manager/sequenced_task_source.cc",
2385        "base/task/sequence_manager/task_order.cc",
2386        "base/task/sequence_manager/task_queue.cc",
2387        "base/task/sequence_manager/task_queue_impl.cc",
2388        "base/task/sequence_manager/task_queue_selector.cc",
2389        "base/task/sequence_manager/tasks.cc",
2390        "base/task/sequence_manager/thread_controller.cc",
2391        "base/task/sequence_manager/thread_controller_impl.cc",
2392        "base/task/sequence_manager/thread_controller_power_monitor.cc",
2393        "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
2394        "base/task/sequence_manager/time_domain.cc",
2395        "base/task/sequence_manager/wake_up_queue.cc",
2396        "base/task/sequence_manager/work_deduplicator.cc",
2397        "base/task/sequence_manager/work_queue.cc",
2398        "base/task/sequence_manager/work_queue_sets.cc",
2399        "base/task/sequence_manager/work_tracker.cc",
2400        "base/task/sequenced_task_runner.cc",
2401        "base/task/single_thread_task_executor.cc",
2402        "base/task/single_thread_task_runner.cc",
2403        "base/task/task_features.cc",
2404        "base/task/task_runner.cc",
2405        "base/task/task_traits.cc",
2406        "base/task/thread_pool.cc",
2407        "base/task/thread_pool/delayed_priority_queue.cc",
2408        "base/task/thread_pool/delayed_task_manager.cc",
2409        "base/task/thread_pool/environment_config.cc",
2410        "base/task/thread_pool/initialization_util.cc",
2411        "base/task/thread_pool/job_task_source.cc",
2412        "base/task/thread_pool/pooled_parallel_task_runner.cc",
2413        "base/task/thread_pool/pooled_sequenced_task_runner.cc",
2414        "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
2415        "base/task/thread_pool/pooled_task_runner_delegate.cc",
2416        "base/task/thread_pool/priority_queue.cc",
2417        "base/task/thread_pool/semaphore/semaphore_posix.cc",
2418        "base/task/thread_pool/sequence.cc",
2419        "base/task/thread_pool/service_thread.cc",
2420        "base/task/thread_pool/task.cc",
2421        "base/task/thread_pool/task_source.cc",
2422        "base/task/thread_pool/task_source_sort_key.cc",
2423        "base/task/thread_pool/task_tracker.cc",
2424        "base/task/thread_pool/thread_group.cc",
2425        "base/task/thread_pool/thread_group_impl.cc",
2426        "base/task/thread_pool/thread_group_semaphore.cc",
2427        "base/task/thread_pool/thread_group_worker_delegate.cc",
2428        "base/task/thread_pool/thread_pool_impl.cc",
2429        "base/task/thread_pool/thread_pool_instance.cc",
2430        "base/task/thread_pool/worker_thread.cc",
2431        "base/task/thread_pool/worker_thread_semaphore.cc",
2432        "base/task/thread_pool/worker_thread_set.cc",
2433        "base/task/thread_pool/worker_thread_waitable_event.cc",
2434        "base/third_party/cityhash/city.cc",
2435        "base/third_party/cityhash_v103/src/city_v103.cc",
2436        "base/third_party/nspr/prtime.cc",
2437        "base/third_party/superfasthash/superfasthash.c",
2438        "base/threading/hang_watcher.cc",
2439        "base/threading/platform_thread.cc",
2440        "base/threading/platform_thread_android.cc",
2441        "base/threading/platform_thread_internal_posix.cc",
2442        "base/threading/platform_thread_posix.cc",
2443        "base/threading/platform_thread_ref.cc",
2444        "base/threading/post_task_and_reply_impl.cc",
2445        "base/threading/scoped_blocking_call.cc",
2446        "base/threading/scoped_blocking_call_internal.cc",
2447        "base/threading/scoped_thread_priority.cc",
2448        "base/threading/sequence_local_storage_map.cc",
2449        "base/threading/sequence_local_storage_slot.cc",
2450        "base/threading/simple_thread.cc",
2451        "base/threading/thread.cc",
2452        "base/threading/thread_checker.cc",
2453        "base/threading/thread_checker_impl.cc",
2454        "base/threading/thread_collision_warner.cc",
2455        "base/threading/thread_id_name_manager.cc",
2456        "base/threading/thread_local_storage.cc",
2457        "base/threading/thread_local_storage_posix.cc",
2458        "base/threading/thread_restrictions.cc",
2459        "base/threading/watchdog.cc",
2460        "base/time/clock.cc",
2461        "base/time/default_clock.cc",
2462        "base/time/default_tick_clock.cc",
2463        "base/time/tick_clock.cc",
2464        "base/time/time.cc",
2465        "base/time/time_android.cc",
2466        "base/time/time_conversion_posix.cc",
2467        "base/time/time_delta_from_string.cc",
2468        "base/time/time_exploded_icu.cc",
2469        "base/time/time_exploded_posix.cc",
2470        "base/time/time_now_posix.cc",
2471        "base/time/time_override.cc",
2472        "base/timer/elapsed_timer.cc",
2473        "base/timer/hi_res_timer_manager_posix.cc",
2474        "base/timer/lap_timer.cc",
2475        "base/timer/timer.cc",
2476        "base/timer/wall_clock_timer.cc",
2477        "base/token.cc",
2478        "base/trace_event/heap_profiler_allocation_context.cc",
2479        "base/trace_event/heap_profiler_allocation_context_tracker.cc",
2480        "base/trace_event/memory_allocator_dump_guid.cc",
2481        "base/trace_event/named_trigger.cc",
2482        "base/trace_event/trace_event_stub.cc",
2483        "base/trace_event/trace_id_helper.cc",
2484        "base/unguessable_token.cc",
2485        "base/uuid.cc",
2486        "base/value_iterators.cc",
2487        "base/values.cc",
2488        "base/version.cc",
2489        "base/vlog.cc",
2490    ],
2491    shared_libs: [
2492        "//external/cronet/third_party/boringssl:libcrypto",
2493        "//external/cronet/third_party/boringssl:libpki",
2494        "//external/cronet/third_party/boringssl:libssl",
2495        "libandroid",
2496        "liblog",
2497    ],
2498    generated_headers: [
2499        "cronet_aml_base_allocator_buildflags",
2500        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
2501        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
2502        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
2503        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
2504        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
2505        "cronet_aml_base_anchor_functions_buildflags",
2506        "cronet_aml_base_android_runtime_jni_headers__action",
2507        "cronet_aml_base_base_jni__action",
2508        "cronet_aml_base_base_shared_preferences_jni__action",
2509        "cronet_aml_base_build_date",
2510        "cronet_aml_base_cfi_buildflags",
2511        "cronet_aml_base_check_version_internal_action",
2512        "cronet_aml_base_clang_profiling_buildflags",
2513        "cronet_aml_base_debugging_buildflags",
2514        "cronet_aml_base_feature_list_buildflags",
2515        "cronet_aml_base_fuzzing_buildflags",
2516        "cronet_aml_base_ios_cronet_buildflags",
2517        "cronet_aml_base_logging_buildflags",
2518        "cronet_aml_base_message_pump_buildflags",
2519        "cronet_aml_base_orderfile_buildflags",
2520        "cronet_aml_base_power_monitor_buildflags",
2521        "cronet_aml_base_process_launcher_jni__action",
2522        "cronet_aml_base_profiler_buildflags",
2523        "cronet_aml_base_protected_memory_buildflags",
2524        "cronet_aml_base_rust_buildflags",
2525        "cronet_aml_base_sanitizer_buildflags",
2526        "cronet_aml_base_synchronization_buildflags",
2527        "cronet_aml_base_tracing_buildflags",
2528        "cronet_aml_build_blink_buildflags",
2529        "cronet_aml_build_branding_buildflags",
2530        "cronet_aml_build_chromecast_buildflags",
2531        "cronet_aml_build_chromeos_buildflags",
2532        "cronet_aml_build_config_compiler_compiler_buildflags",
2533        "cronet_aml_build_ios_buildflags",
2534        "cronet_aml_build_robolectric_buildflags",
2535    ],
2536    export_generated_headers: [
2537        "cronet_aml_base_allocator_buildflags",
2538        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
2539        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
2540        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
2541        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
2542        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
2543        "cronet_aml_base_anchor_functions_buildflags",
2544        "cronet_aml_base_android_runtime_jni_headers__action",
2545        "cronet_aml_base_base_jni__action",
2546        "cronet_aml_base_base_shared_preferences_jni__action",
2547        "cronet_aml_base_build_date",
2548        "cronet_aml_base_cfi_buildflags",
2549        "cronet_aml_base_check_version_internal_action",
2550        "cronet_aml_base_clang_profiling_buildflags",
2551        "cronet_aml_base_debugging_buildflags",
2552        "cronet_aml_base_feature_list_buildflags",
2553        "cronet_aml_base_fuzzing_buildflags",
2554        "cronet_aml_base_ios_cronet_buildflags",
2555        "cronet_aml_base_logging_buildflags",
2556        "cronet_aml_base_message_pump_buildflags",
2557        "cronet_aml_base_orderfile_buildflags",
2558        "cronet_aml_base_power_monitor_buildflags",
2559        "cronet_aml_base_process_launcher_jni__action",
2560        "cronet_aml_base_profiler_buildflags",
2561        "cronet_aml_base_protected_memory_buildflags",
2562        "cronet_aml_base_rust_buildflags",
2563        "cronet_aml_base_sanitizer_buildflags",
2564        "cronet_aml_base_synchronization_buildflags",
2565        "cronet_aml_base_tracing_buildflags",
2566        "cronet_aml_build_blink_buildflags",
2567        "cronet_aml_build_branding_buildflags",
2568        "cronet_aml_build_chromecast_buildflags",
2569        "cronet_aml_build_chromeos_buildflags",
2570        "cronet_aml_build_config_compiler_compiler_buildflags",
2571        "cronet_aml_build_ios_buildflags",
2572        "cronet_aml_build_robolectric_buildflags",
2573    ],
2574    export_header_lib_headers: [
2575        "libgtest_prod_headers",
2576    ],
2577    defaults: [
2578        "cronet_aml_cc_defaults",
2579    ],
2580    cflags: [
2581        "-DANDROID",
2582        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
2583        "-DBASE_IMPLEMENTATION",
2584        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
2585        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
2586        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
2587        "-DHAVE_SYS_UIO_H",
2588        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
2589        "-DIS_RAW_PTR_IMPL",
2590        "-DNDEBUG",
2591        "-DNO_UNWIND_TABLES",
2592        "-DNVALGRIND",
2593        "-DOFFICIAL_BUILD",
2594        "-DUSE_CHROMIUM_ICU=1",
2595        "-DU_ENABLE_DYLOAD=0",
2596        "-DU_ENABLE_RESOURCE_TRACING=0",
2597        "-DU_ENABLE_TRACING=1",
2598        "-DU_STATIC_IMPLEMENTATION",
2599        "-DU_USING_ICU_NAMESPACE=0",
2600        "-D_GNU_SOURCE",
2601        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2602        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
2603        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2604        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
2605        "-D__STDC_CONSTANT_MACROS",
2606        "-D__STDC_FORMAT_MACROS",
2607        "-O2",
2608        "-fdata-sections",
2609        "-ffunction-sections",
2610        "-fno-asynchronous-unwind-tables",
2611        "-fno-unwind-tables",
2612        "-fstack-protector",
2613        "-fvisibility-inlines-hidden",
2614        "-fvisibility=hidden",
2615        "-g1",
2616    ],
2617    local_include_dirs: [
2618        "./",
2619        "base/allocator/partition_allocator/src/",
2620        "buildtools/third_party/libc++/",
2621        "third_party/abseil-cpp/",
2622        "third_party/boringssl/src/include/",
2623        "third_party/cpu_features/src/ndk_compat/",
2624        "third_party/icu/source/common/",
2625        "third_party/icu/source/i18n/",
2626        "third_party/libc++/src/include",
2627        "third_party/libc++abi/src/include",
2628    ],
2629    header_libs: [
2630        "libgtest_prod_headers",
2631    ],
2632    cpp_std: "c++20",
2633    ldflags: [
2634        "-Wl,--as-needed",
2635        "-Wl,--gc-sections",
2636        "-Wl,--icf=all",
2637        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
2638        "-Wl,-wrap,asprintf",
2639        "-Wl,-wrap,calloc",
2640        "-Wl,-wrap,free",
2641        "-Wl,-wrap,getcwd",
2642        "-Wl,-wrap,malloc",
2643        "-Wl,-wrap,malloc_usable_size",
2644        "-Wl,-wrap,memalign",
2645        "-Wl,-wrap,posix_memalign",
2646        "-Wl,-wrap,pvalloc",
2647        "-Wl,-wrap,realloc",
2648        "-Wl,-wrap,realpath",
2649        "-Wl,-wrap,strdup",
2650        "-Wl,-wrap,strndup",
2651        "-Wl,-wrap,valloc",
2652        "-Wl,-wrap,vasprintf",
2653    ],
2654    target: {
2655        android_arm: {
2656            srcs: [
2657                "base/profiler/chrome_unwind_info_android.cc",
2658                "base/profiler/chrome_unwinder_android.cc",
2659                "base/trace_event/cfi_backtrace_android.cc",
2660            ],
2661            cflags: [
2662                "-D_FORTIFY_SOURCE=2",
2663            ],
2664        },
2665        android_arm64: {
2666            srcs: [
2667                "base/profiler/frame_pointer_unwinder.cc",
2668            ],
2669            cflags: [
2670                "-D_FORTIFY_SOURCE=2",
2671                "-mno-outline",
2672            ],
2673        },
2674        android_x86: {
2675            cflags: [
2676                "-D_FORTIFY_SOURCE=2",
2677                "-msse3",
2678            ],
2679        },
2680        android_x86_64: {
2681            cflags: [
2682                "-D_FORTIFY_SOURCE=2",
2683                "-msse3",
2684            ],
2685        },
2686    },
2687}
2688
2689// GN: //base:base__testing
2690cc_library_static {
2691    name: "cronet_aml_base_base__testing",
2692    srcs: [
2693        "base/allocator/allocator_check.cc",
2694        "base/allocator/dispatcher/dispatcher.cc",
2695        "base/allocator/dispatcher/internal/dispatch_data.cc",
2696        "base/allocator/dispatcher/memory_tagging.cc",
2697        "base/allocator/dispatcher/reentry_guard.cc",
2698        "base/allocator/dispatcher/tls.cc",
2699        "base/at_exit.cc",
2700        "base/barrier_closure.cc",
2701        "base/base64.cc",
2702        "base/base64url.cc",
2703        "base/base_paths.cc",
2704        "base/callback_list.cc",
2705        "base/check.cc",
2706        "base/check_is_test.cc",
2707        "base/check_op.cc",
2708        "base/command_line.cc",
2709        "base/containers/intrusive_heap.cc",
2710        "base/containers/linked_list.cc",
2711        "base/cpu.cc",
2712        "base/cpu_reduction_experiment.cc",
2713        "base/debug/alias.cc",
2714        "base/debug/asan_invalid_access.cc",
2715        "base/debug/asan_service.cc",
2716        "base/debug/crash_logging.cc",
2717        "base/debug/debugger.cc",
2718        "base/debug/debugger_posix.cc",
2719        "base/debug/dump_without_crashing.cc",
2720        "base/debug/elf_reader.cc",
2721        "base/debug/proc_maps_linux.cc",
2722        "base/debug/profiler.cc",
2723        "base/debug/stack_trace.cc",
2724        "base/debug/task_trace.cc",
2725        "base/environment.cc",
2726        "base/feature_list.cc",
2727        "base/features.cc",
2728        "base/file_descriptor_posix.cc",
2729        "base/file_descriptor_store.cc",
2730        "base/files/block_tests_writing_to_special_dirs.cc",
2731        "base/files/file.cc",
2732        "base/files/file_descriptor_watcher_posix.cc",
2733        "base/files/file_enumerator.cc",
2734        "base/files/file_enumerator_posix.cc",
2735        "base/files/file_path.cc",
2736        "base/files/file_path_watcher.cc",
2737        "base/files/file_path_watcher_inotify.cc",
2738        "base/files/file_posix.cc",
2739        "base/files/file_proxy.cc",
2740        "base/files/file_tracing.cc",
2741        "base/files/file_util.cc",
2742        "base/files/file_util_posix.cc",
2743        "base/files/important_file_writer.cc",
2744        "base/files/important_file_writer_cleaner.cc",
2745        "base/files/memory_mapped_file.cc",
2746        "base/files/memory_mapped_file_posix.cc",
2747        "base/files/safe_base_name.cc",
2748        "base/files/scoped_file.cc",
2749        "base/files/scoped_temp_dir.cc",
2750        "base/files/scoped_temp_file.cc",
2751        "base/functional/callback_helpers.cc",
2752        "base/functional/callback_internal.cc",
2753        "base/functional/concurrent_closures.cc",
2754        "base/hash/hash.cc",
2755        "base/hash/legacy_hash.cc",
2756        "base/hash/md5_boringssl.cc",
2757        "base/hash/sha1_boringssl.cc",
2758        "base/json/json_file_value_serializer.cc",
2759        "base/json/json_parser.cc",
2760        "base/json/json_reader.cc",
2761        "base/json/json_string_value_serializer.cc",
2762        "base/json/json_value_converter.cc",
2763        "base/json/json_writer.cc",
2764        "base/json/string_escape.cc",
2765        "base/json/values_util.cc",
2766        "base/lazy_instance_helpers.cc",
2767        "base/linux_util.cc",
2768        "base/location.cc",
2769        "base/logging.cc",
2770        "base/memory/aligned_memory.cc",
2771        "base/memory/discardable_memory.cc",
2772        "base/memory/discardable_memory_allocator.cc",
2773        "base/memory/discardable_shared_memory.cc",
2774        "base/memory/madv_free_discardable_memory_allocator_posix.cc",
2775        "base/memory/madv_free_discardable_memory_posix.cc",
2776        "base/memory/memory_pressure_listener.cc",
2777        "base/memory/memory_pressure_monitor.cc",
2778        "base/memory/nonscannable_memory.cc",
2779        "base/memory/page_size_posix.cc",
2780        "base/memory/platform_shared_memory_handle.cc",
2781        "base/memory/platform_shared_memory_region.cc",
2782        "base/memory/post_delayed_memory_reduction_task.cc",
2783        "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
2784        "base/memory/raw_ptr_asan_hooks.cc",
2785        "base/memory/raw_ptr_asan_service.cc",
2786        "base/memory/read_only_shared_memory_region.cc",
2787        "base/memory/ref_counted.cc",
2788        "base/memory/ref_counted_memory.cc",
2789        "base/memory/shared_memory_mapper.cc",
2790        "base/memory/shared_memory_mapping.cc",
2791        "base/memory/shared_memory_security_policy.cc",
2792        "base/memory/shared_memory_switch.cc",
2793        "base/memory/shared_memory_tracker.cc",
2794        "base/memory/unsafe_shared_memory_pool.cc",
2795        "base/memory/unsafe_shared_memory_region.cc",
2796        "base/memory/weak_ptr.cc",
2797        "base/memory/writable_shared_memory_region.cc",
2798        "base/message_loop/message_pump.cc",
2799        "base/message_loop/message_pump_default.cc",
2800        "base/message_loop/message_pump_epoll.cc",
2801        "base/message_loop/message_pump_libevent.cc",
2802        "base/message_loop/watchable_io_message_pump_posix.cc",
2803        "base/message_loop/work_id_provider.cc",
2804        "base/metrics/bucket_ranges.cc",
2805        "base/metrics/crc32.cc",
2806        "base/metrics/dummy_histogram.cc",
2807        "base/metrics/field_trial.cc",
2808        "base/metrics/field_trial_list_including_low_anonymity.cc",
2809        "base/metrics/field_trial_param_associator.cc",
2810        "base/metrics/field_trial_params.cc",
2811        "base/metrics/histogram.cc",
2812        "base/metrics/histogram_base.cc",
2813        "base/metrics/histogram_delta_serialization.cc",
2814        "base/metrics/histogram_functions.cc",
2815        "base/metrics/histogram_samples.cc",
2816        "base/metrics/histogram_shared_memory.cc",
2817        "base/metrics/histogram_snapshot_manager.cc",
2818        "base/metrics/metrics_hashes.cc",
2819        "base/metrics/persistent_histogram_allocator.cc",
2820        "base/metrics/persistent_histogram_storage.cc",
2821        "base/metrics/persistent_memory_allocator.cc",
2822        "base/metrics/persistent_sample_map.cc",
2823        "base/metrics/ranges_manager.cc",
2824        "base/metrics/sample_map.cc",
2825        "base/metrics/sample_vector.cc",
2826        "base/metrics/single_sample_metrics.cc",
2827        "base/metrics/sparse_histogram.cc",
2828        "base/metrics/statistics_recorder.cc",
2829        "base/metrics/user_metrics.cc",
2830        "base/native_library.cc",
2831        "base/native_library_posix.cc",
2832        "base/observer_list_internal.cc",
2833        "base/observer_list_threadsafe.cc",
2834        "base/observer_list_types.cc",
2835        "base/one_shot_event.cc",
2836        "base/path_service.cc",
2837        "base/pending_task.cc",
2838        "base/pickle.cc",
2839        "base/posix/can_lower_nice_to.cc",
2840        "base/posix/file_descriptor_shuffle.cc",
2841        "base/posix/global_descriptors.cc",
2842        "base/posix/safe_strerror.cc",
2843        "base/posix/unix_domain_socket.cc",
2844        "base/power_monitor/battery_level_provider.cc",
2845        "base/power_monitor/battery_state_sampler.cc",
2846        "base/power_monitor/cpu_frequency_utils.cc",
2847        "base/power_monitor/power_monitor.cc",
2848        "base/power_monitor/power_monitor_device_source.cc",
2849        "base/power_monitor/power_monitor_features.cc",
2850        "base/power_monitor/power_monitor_source.cc",
2851        "base/power_monitor/sampling_event_source.cc",
2852        "base/power_monitor/timer_sampling_event_source.cc",
2853        "base/process/current_process.cc",
2854        "base/process/environment_internal.cc",
2855        "base/process/internal_linux.cc",
2856        "base/process/kill.cc",
2857        "base/process/kill_posix.cc",
2858        "base/process/launch.cc",
2859        "base/process/launch_posix.cc",
2860        "base/process/memory.cc",
2861        "base/process/memory_linux.cc",
2862        "base/process/process_handle.cc",
2863        "base/process/process_handle_linux.cc",
2864        "base/process/process_handle_posix.cc",
2865        "base/process/process_iterator.cc",
2866        "base/process/process_iterator_linux.cc",
2867        "base/process/process_metrics.cc",
2868        "base/process/process_metrics_linux.cc",
2869        "base/process/process_metrics_posix.cc",
2870        "base/process/process_posix.cc",
2871        "base/process/set_process_title.cc",
2872        "base/profiler/frame.cc",
2873        "base/profiler/metadata_recorder.cc",
2874        "base/profiler/module_cache.cc",
2875        "base/profiler/module_cache_posix.cc",
2876        "base/profiler/sample_metadata.cc",
2877        "base/profiler/sampling_profiler_thread_token.cc",
2878        "base/profiler/stack_base_address_posix.cc",
2879        "base/profiler/stack_buffer.cc",
2880        "base/profiler/stack_copier.cc",
2881        "base/profiler/stack_copier_signal.cc",
2882        "base/profiler/stack_copier_suspend.cc",
2883        "base/profiler/stack_sampler.cc",
2884        "base/profiler/stack_sampling_profiler.cc",
2885        "base/profiler/thread_delegate_posix.cc",
2886        "base/profiler/unwinder.cc",
2887        "base/rand_util.cc",
2888        "base/rand_util_posix.cc",
2889        "base/run_loop.cc",
2890        "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
2891        "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
2892        "base/sampling_heap_profiler/sampling_heap_profiler.cc",
2893        "base/scoped_add_feature_flags.cc",
2894        "base/scoped_environment_variable_override.cc",
2895        "base/scoped_native_library.cc",
2896        "base/sequence_checker.cc",
2897        "base/sequence_checker_impl.cc",
2898        "base/sequence_token.cc",
2899        "base/strings/abseil_string_number_conversions.cc",
2900        "base/strings/escape.cc",
2901        "base/strings/latin1_string_conversions.cc",
2902        "base/strings/levenshtein_distance.cc",
2903        "base/strings/pattern.cc",
2904        "base/strings/safe_sprintf.cc",
2905        "base/strings/strcat.cc",
2906        "base/strings/string_number_conversions.cc",
2907        "base/strings/string_split.cc",
2908        "base/strings/string_util.cc",
2909        "base/strings/string_util_constants.cc",
2910        "base/strings/stringprintf.cc",
2911        "base/strings/sys_string_conversions_posix.cc",
2912        "base/strings/utf_offset_string_conversions.cc",
2913        "base/strings/utf_ostream_operators.cc",
2914        "base/strings/utf_string_conversion_utils.cc",
2915        "base/strings/utf_string_conversions.cc",
2916        "base/substring_set_matcher/matcher_string_pattern.cc",
2917        "base/substring_set_matcher/substring_set_matcher.cc",
2918        "base/supports_user_data.cc",
2919        "base/sync_socket.cc",
2920        "base/sync_socket_posix.cc",
2921        "base/synchronization/atomic_flag.cc",
2922        "base/synchronization/condition_variable_posix.cc",
2923        "base/synchronization/lock.cc",
2924        "base/synchronization/lock_impl_posix.cc",
2925        "base/synchronization/waitable_event.cc",
2926        "base/synchronization/waitable_event_posix.cc",
2927        "base/synchronization/waitable_event_watcher_posix.cc",
2928        "base/syslog_logging.cc",
2929        "base/system/sys_info.cc",
2930        "base/system/sys_info_linux.cc",
2931        "base/system/sys_info_posix.cc",
2932        "base/system/system_monitor.cc",
2933        "base/task/cancelable_task_tracker.cc",
2934        "base/task/common/checked_lock_impl.cc",
2935        "base/task/common/lazy_now.cc",
2936        "base/task/common/operations_controller.cc",
2937        "base/task/common/scoped_defer_task_posting.cc",
2938        "base/task/common/task_annotator.cc",
2939        "base/task/current_thread.cc",
2940        "base/task/default_delayed_task_handle_delegate.cc",
2941        "base/task/deferred_sequenced_task_runner.cc",
2942        "base/task/delayed_task_handle.cc",
2943        "base/task/lazy_thread_pool_task_runner.cc",
2944        "base/task/post_job.cc",
2945        "base/task/scoped_set_task_priority_for_current_thread.cc",
2946        "base/task/sequence_manager/associated_thread_id.cc",
2947        "base/task/sequence_manager/atomic_flag_set.cc",
2948        "base/task/sequence_manager/delayed_task_handle_delegate.cc",
2949        "base/task/sequence_manager/enqueue_order_generator.cc",
2950        "base/task/sequence_manager/fence.cc",
2951        "base/task/sequence_manager/sequence_manager.cc",
2952        "base/task/sequence_manager/sequence_manager_impl.cc",
2953        "base/task/sequence_manager/sequenced_task_source.cc",
2954        "base/task/sequence_manager/task_order.cc",
2955        "base/task/sequence_manager/task_queue.cc",
2956        "base/task/sequence_manager/task_queue_impl.cc",
2957        "base/task/sequence_manager/task_queue_selector.cc",
2958        "base/task/sequence_manager/tasks.cc",
2959        "base/task/sequence_manager/thread_controller.cc",
2960        "base/task/sequence_manager/thread_controller_impl.cc",
2961        "base/task/sequence_manager/thread_controller_power_monitor.cc",
2962        "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
2963        "base/task/sequence_manager/time_domain.cc",
2964        "base/task/sequence_manager/wake_up_queue.cc",
2965        "base/task/sequence_manager/work_deduplicator.cc",
2966        "base/task/sequence_manager/work_queue.cc",
2967        "base/task/sequence_manager/work_queue_sets.cc",
2968        "base/task/sequence_manager/work_tracker.cc",
2969        "base/task/sequenced_task_runner.cc",
2970        "base/task/single_thread_task_executor.cc",
2971        "base/task/single_thread_task_runner.cc",
2972        "base/task/task_features.cc",
2973        "base/task/task_runner.cc",
2974        "base/task/task_traits.cc",
2975        "base/task/thread_pool.cc",
2976        "base/task/thread_pool/delayed_priority_queue.cc",
2977        "base/task/thread_pool/delayed_task_manager.cc",
2978        "base/task/thread_pool/environment_config.cc",
2979        "base/task/thread_pool/initialization_util.cc",
2980        "base/task/thread_pool/job_task_source.cc",
2981        "base/task/thread_pool/pooled_parallel_task_runner.cc",
2982        "base/task/thread_pool/pooled_sequenced_task_runner.cc",
2983        "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
2984        "base/task/thread_pool/pooled_task_runner_delegate.cc",
2985        "base/task/thread_pool/priority_queue.cc",
2986        "base/task/thread_pool/semaphore/semaphore_posix.cc",
2987        "base/task/thread_pool/sequence.cc",
2988        "base/task/thread_pool/service_thread.cc",
2989        "base/task/thread_pool/task.cc",
2990        "base/task/thread_pool/task_source.cc",
2991        "base/task/thread_pool/task_source_sort_key.cc",
2992        "base/task/thread_pool/task_tracker.cc",
2993        "base/task/thread_pool/thread_group.cc",
2994        "base/task/thread_pool/thread_group_impl.cc",
2995        "base/task/thread_pool/thread_group_semaphore.cc",
2996        "base/task/thread_pool/thread_group_worker_delegate.cc",
2997        "base/task/thread_pool/thread_pool_impl.cc",
2998        "base/task/thread_pool/thread_pool_instance.cc",
2999        "base/task/thread_pool/worker_thread.cc",
3000        "base/task/thread_pool/worker_thread_semaphore.cc",
3001        "base/task/thread_pool/worker_thread_set.cc",
3002        "base/task/thread_pool/worker_thread_waitable_event.cc",
3003        "base/third_party/cityhash/city.cc",
3004        "base/third_party/cityhash_v103/src/city_v103.cc",
3005        "base/third_party/nspr/prtime.cc",
3006        "base/third_party/superfasthash/superfasthash.c",
3007        "base/threading/hang_watcher.cc",
3008        "base/threading/platform_thread.cc",
3009        "base/threading/platform_thread_internal_posix.cc",
3010        "base/threading/platform_thread_posix.cc",
3011        "base/threading/platform_thread_ref.cc",
3012        "base/threading/post_task_and_reply_impl.cc",
3013        "base/threading/scoped_blocking_call.cc",
3014        "base/threading/scoped_blocking_call_internal.cc",
3015        "base/threading/scoped_thread_priority.cc",
3016        "base/threading/sequence_local_storage_map.cc",
3017        "base/threading/sequence_local_storage_slot.cc",
3018        "base/threading/simple_thread.cc",
3019        "base/threading/thread.cc",
3020        "base/threading/thread_checker.cc",
3021        "base/threading/thread_checker_impl.cc",
3022        "base/threading/thread_collision_warner.cc",
3023        "base/threading/thread_id_name_manager.cc",
3024        "base/threading/thread_local_storage.cc",
3025        "base/threading/thread_local_storage_posix.cc",
3026        "base/threading/thread_restrictions.cc",
3027        "base/threading/watchdog.cc",
3028        "base/time/clock.cc",
3029        "base/time/default_clock.cc",
3030        "base/time/default_tick_clock.cc",
3031        "base/time/tick_clock.cc",
3032        "base/time/time.cc",
3033        "base/time/time_conversion_posix.cc",
3034        "base/time/time_delta_from_string.cc",
3035        "base/time/time_exploded_icu.cc",
3036        "base/time/time_exploded_posix.cc",
3037        "base/time/time_now_posix.cc",
3038        "base/time/time_override.cc",
3039        "base/timer/elapsed_timer.cc",
3040        "base/timer/hi_res_timer_manager_posix.cc",
3041        "base/timer/lap_timer.cc",
3042        "base/timer/timer.cc",
3043        "base/timer/wall_clock_timer.cc",
3044        "base/token.cc",
3045        "base/trace_event/heap_profiler_allocation_context.cc",
3046        "base/trace_event/heap_profiler_allocation_context_tracker.cc",
3047        "base/trace_event/memory_allocator_dump_guid.cc",
3048        "base/trace_event/named_trigger.cc",
3049        "base/trace_event/trace_event_stub.cc",
3050        "base/trace_event/trace_id_helper.cc",
3051        "base/unguessable_token.cc",
3052        "base/uuid.cc",
3053        "base/value_iterators.cc",
3054        "base/values.cc",
3055        "base/version.cc",
3056        "base/vlog.cc",
3057    ],
3058    host_supported: true,
3059    generated_headers: [
3060        "cronet_aml_base_allocator_buildflags__testing",
3061        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
3062        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
3063        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
3064        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
3065        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
3066        "cronet_aml_base_anchor_functions_buildflags__testing",
3067        "cronet_aml_base_build_date__testing",
3068        "cronet_aml_base_cfi_buildflags__testing",
3069        "cronet_aml_base_check_version_internal_action__testing",
3070        "cronet_aml_base_clang_profiling_buildflags__testing",
3071        "cronet_aml_base_debugging_buildflags__testing",
3072        "cronet_aml_base_feature_list_buildflags__testing",
3073        "cronet_aml_base_fuzzing_buildflags__testing",
3074        "cronet_aml_base_ios_cronet_buildflags__testing",
3075        "cronet_aml_base_logging_buildflags__testing",
3076        "cronet_aml_base_message_pump_buildflags__testing",
3077        "cronet_aml_base_orderfile_buildflags__testing",
3078        "cronet_aml_base_power_monitor_buildflags__testing",
3079        "cronet_aml_base_profiler_buildflags__testing",
3080        "cronet_aml_base_protected_memory_buildflags__testing",
3081        "cronet_aml_base_rust_buildflags__testing",
3082        "cronet_aml_base_sanitizer_buildflags__testing",
3083        "cronet_aml_base_synchronization_buildflags__testing",
3084        "cronet_aml_base_tracing_buildflags__testing",
3085        "cronet_aml_build_blink_buildflags__testing",
3086        "cronet_aml_build_branding_buildflags__testing",
3087        "cronet_aml_build_chromecast_buildflags__testing",
3088        "cronet_aml_build_chromeos_buildflags__testing",
3089        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
3090        "cronet_aml_build_ios_buildflags__testing",
3091    ],
3092    export_generated_headers: [
3093        "cronet_aml_base_allocator_buildflags__testing",
3094        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
3095        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
3096        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
3097        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
3098        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
3099        "cronet_aml_base_anchor_functions_buildflags__testing",
3100        "cronet_aml_base_build_date__testing",
3101        "cronet_aml_base_cfi_buildflags__testing",
3102        "cronet_aml_base_check_version_internal_action__testing",
3103        "cronet_aml_base_clang_profiling_buildflags__testing",
3104        "cronet_aml_base_debugging_buildflags__testing",
3105        "cronet_aml_base_feature_list_buildflags__testing",
3106        "cronet_aml_base_fuzzing_buildflags__testing",
3107        "cronet_aml_base_ios_cronet_buildflags__testing",
3108        "cronet_aml_base_logging_buildflags__testing",
3109        "cronet_aml_base_message_pump_buildflags__testing",
3110        "cronet_aml_base_orderfile_buildflags__testing",
3111        "cronet_aml_base_power_monitor_buildflags__testing",
3112        "cronet_aml_base_profiler_buildflags__testing",
3113        "cronet_aml_base_protected_memory_buildflags__testing",
3114        "cronet_aml_base_rust_buildflags__testing",
3115        "cronet_aml_base_sanitizer_buildflags__testing",
3116        "cronet_aml_base_synchronization_buildflags__testing",
3117        "cronet_aml_base_tracing_buildflags__testing",
3118        "cronet_aml_build_blink_buildflags__testing",
3119        "cronet_aml_build_branding_buildflags__testing",
3120        "cronet_aml_build_chromecast_buildflags__testing",
3121        "cronet_aml_build_chromeos_buildflags__testing",
3122        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
3123        "cronet_aml_build_ios_buildflags__testing",
3124    ],
3125    defaults: [
3126        "cronet_aml_cc_defaults",
3127    ],
3128    cflags: [
3129        "-DBASE_IMPLEMENTATION",
3130        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
3131        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
3132        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
3133        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
3134        "-DIS_RAW_PTR_IMPL",
3135        "-DNDEBUG",
3136        "-DNO_UNWIND_TABLES",
3137        "-DNVALGRIND",
3138        "-DOFFICIAL_BUILD",
3139        "-DUSE_CHROMIUM_ICU=1",
3140        "-DU_ENABLE_DYLOAD=0",
3141        "-DU_ENABLE_RESOURCE_TRACING=0",
3142        "-DU_ENABLE_TRACING=1",
3143        "-DU_STATIC_IMPLEMENTATION",
3144        "-DU_USING_ICU_NAMESPACE=0",
3145        "-D_GNU_SOURCE",
3146        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3147        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
3148        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3149        "-D__STDC_CONSTANT_MACROS",
3150        "-D__STDC_FORMAT_MACROS",
3151        "-O2",
3152        "-fdata-sections",
3153        "-ffunction-sections",
3154        "-fno-asynchronous-unwind-tables",
3155        "-fno-unwind-tables",
3156        "-fstack-protector",
3157        "-fvisibility-inlines-hidden",
3158        "-fvisibility=hidden",
3159        "-g1",
3160    ],
3161    local_include_dirs: [
3162        "./",
3163        "base/allocator/partition_allocator/src/",
3164        "buildtools/third_party/libc++/",
3165        "third_party/abseil-cpp/",
3166        "third_party/boringssl/src/include/",
3167        "third_party/icu/source/common/",
3168        "third_party/icu/source/i18n/",
3169        "third_party/libc++/src/include",
3170        "third_party/libc++abi/src/include",
3171    ],
3172    cpp_std: "c++20",
3173    ldflags: [
3174        "-Wl,--as-needed",
3175        "-Wl,--gc-sections",
3176        "-Wl,--icf=all",
3177        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
3178    ],
3179    target: {
3180        android: {
3181            shared_libs: [
3182                "libandroid",
3183                "liblog",
3184            ],
3185        },
3186        android_arm: {
3187            srcs: [
3188                "base/android/android_hardware_buffer_compat.cc",
3189                "base/android/android_image_reader_compat.cc",
3190                "base/android/apk_assets.cc",
3191                "base/android/application_status_listener.cc",
3192                "base/android/base_jni_onload.cc",
3193                "base/android/build_info.cc",
3194                "base/android/bundle_utils.cc",
3195                "base/android/callback_android.cc",
3196                "base/android/child_process_service.cc",
3197                "base/android/command_line_android.cc",
3198                "base/android/content_uri_utils.cc",
3199                "base/android/cpu_features.cc",
3200                "base/android/early_trace_event_binding.cc",
3201                "base/android/event_log.cc",
3202                "base/android/feature_list_jni.cc",
3203                "base/android/feature_map.cc",
3204                "base/android/features_jni.cc",
3205                "base/android/field_trial_list.cc",
3206                "base/android/important_file_writer_android.cc",
3207                "base/android/input_hint_checker.cc",
3208                "base/android/int_string_callback.cc",
3209                "base/android/jank_metric_uma_recorder.cc",
3210                "base/android/java_exception_reporter.cc",
3211                "base/android/java_handler_thread.cc",
3212                "base/android/java_heap_dump_generator.cc",
3213                "base/android/java_runtime.cc",
3214                "base/android/jni_android.cc",
3215                "base/android/jni_array.cc",
3216                "base/android/jni_bytebuffer.cc",
3217                "base/android/jni_conversions.cc",
3218                "base/android/jni_registrar.cc",
3219                "base/android/jni_string.cc",
3220                "base/android/jni_utils.cc",
3221                "base/android/jni_weak_ref.cc",
3222                "base/android/library_loader/anchor_functions.cc",
3223                "base/android/library_loader/library_loader_hooks.cc",
3224                "base/android/library_loader/library_prefetcher.cc",
3225                "base/android/library_loader/library_prefetcher_hooks.cc",
3226                "base/android/locale_utils.cc",
3227                "base/android/meminfo_dump_provider.cc",
3228                "base/android/memory_pressure_listener_android.cc",
3229                "base/android/memory_purge_manager_android.cc",
3230                "base/android/native_uma_recorder.cc",
3231                "base/android/path_service_android.cc",
3232                "base/android/path_utils.cc",
3233                "base/android/pmf_utils.cc",
3234                "base/android/pre_freeze_background_memory_trimmer.cc",
3235                "base/android/radio_utils.cc",
3236                "base/android/scoped_hardware_buffer_fence_sync.cc",
3237                "base/android/scoped_hardware_buffer_handle.cc",
3238                "base/android/shared_preferences/shared_preferences_manager.cc",
3239                "base/android/statistics_recorder_android.cc",
3240                "base/android/sys_utils.cc",
3241                "base/android/task_scheduler/post_task_android.cc",
3242                "base/android/task_scheduler/task_runner_android.cc",
3243                "base/android/thread_instruction_count.cc",
3244                "base/android/timezone_utils.cc",
3245                "base/android/token_android.cc",
3246                "base/android/trace_event_binding.cc",
3247                "base/android/unguessable_token_android.cc",
3248                "base/base_paths_android.cc",
3249                "base/debug/stack_trace_android.cc",
3250                "base/files/file_util_android.cc",
3251                "base/files/scoped_file_android.cc",
3252                "base/memory/platform_shared_memory_mapper_android.cc",
3253                "base/memory/platform_shared_memory_region_android.cc",
3254                "base/message_loop/message_pump_android.cc",
3255                "base/os_compat_android.cc",
3256                "base/power_monitor/power_monitor_device_source_android.cc",
3257                "base/process/process_android.cc",
3258                "base/profiler/chrome_unwind_info_android.cc",
3259                "base/profiler/chrome_unwinder_android.cc",
3260                "base/profiler/stack_sampler_android.cc",
3261                "base/system/sys_info_android.cc",
3262                "base/threading/platform_thread_android.cc",
3263                "base/time/time_android.cc",
3264                "base/trace_event/cfi_backtrace_android.cc",
3265            ],
3266            shared_libs: [
3267                "liblog",
3268            ],
3269            cflags: [
3270                "-DANDROID",
3271                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
3272                "-DHAVE_SYS_UIO_H",
3273                "-D_FORTIFY_SOURCE=2",
3274                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
3275            ],
3276            local_include_dirs: [
3277                "third_party/cpu_features/src/ndk_compat/",
3278            ],
3279            generated_headers: [
3280                "cronet_aml_base_android_runtime_jni_headers__action__testing",
3281                "cronet_aml_base_base_jni__action__testing",
3282                "cronet_aml_base_base_shared_preferences_jni__action__testing",
3283                "cronet_aml_base_process_launcher_jni__action__testing",
3284                "cronet_aml_build_robolectric_buildflags__testing",
3285            ],
3286            ldflags: [
3287                "-Wl,-wrap,asprintf",
3288                "-Wl,-wrap,calloc",
3289                "-Wl,-wrap,free",
3290                "-Wl,-wrap,getcwd",
3291                "-Wl,-wrap,malloc",
3292                "-Wl,-wrap,malloc_usable_size",
3293                "-Wl,-wrap,memalign",
3294                "-Wl,-wrap,posix_memalign",
3295                "-Wl,-wrap,pvalloc",
3296                "-Wl,-wrap,realloc",
3297                "-Wl,-wrap,realpath",
3298                "-Wl,-wrap,strdup",
3299                "-Wl,-wrap,strndup",
3300                "-Wl,-wrap,valloc",
3301                "-Wl,-wrap,vasprintf",
3302            ],
3303        },
3304        android_arm64: {
3305            srcs: [
3306                "base/android/android_hardware_buffer_compat.cc",
3307                "base/android/android_image_reader_compat.cc",
3308                "base/android/apk_assets.cc",
3309                "base/android/application_status_listener.cc",
3310                "base/android/base_jni_onload.cc",
3311                "base/android/build_info.cc",
3312                "base/android/bundle_utils.cc",
3313                "base/android/callback_android.cc",
3314                "base/android/child_process_service.cc",
3315                "base/android/command_line_android.cc",
3316                "base/android/content_uri_utils.cc",
3317                "base/android/cpu_features.cc",
3318                "base/android/early_trace_event_binding.cc",
3319                "base/android/event_log.cc",
3320                "base/android/feature_list_jni.cc",
3321                "base/android/feature_map.cc",
3322                "base/android/features_jni.cc",
3323                "base/android/field_trial_list.cc",
3324                "base/android/important_file_writer_android.cc",
3325                "base/android/input_hint_checker.cc",
3326                "base/android/int_string_callback.cc",
3327                "base/android/jank_metric_uma_recorder.cc",
3328                "base/android/java_exception_reporter.cc",
3329                "base/android/java_handler_thread.cc",
3330                "base/android/java_heap_dump_generator.cc",
3331                "base/android/java_runtime.cc",
3332                "base/android/jni_android.cc",
3333                "base/android/jni_array.cc",
3334                "base/android/jni_bytebuffer.cc",
3335                "base/android/jni_conversions.cc",
3336                "base/android/jni_registrar.cc",
3337                "base/android/jni_string.cc",
3338                "base/android/jni_utils.cc",
3339                "base/android/jni_weak_ref.cc",
3340                "base/android/library_loader/anchor_functions.cc",
3341                "base/android/library_loader/library_loader_hooks.cc",
3342                "base/android/library_loader/library_prefetcher.cc",
3343                "base/android/library_loader/library_prefetcher_hooks.cc",
3344                "base/android/locale_utils.cc",
3345                "base/android/meminfo_dump_provider.cc",
3346                "base/android/memory_pressure_listener_android.cc",
3347                "base/android/memory_purge_manager_android.cc",
3348                "base/android/native_uma_recorder.cc",
3349                "base/android/path_service_android.cc",
3350                "base/android/path_utils.cc",
3351                "base/android/pmf_utils.cc",
3352                "base/android/pre_freeze_background_memory_trimmer.cc",
3353                "base/android/radio_utils.cc",
3354                "base/android/scoped_hardware_buffer_fence_sync.cc",
3355                "base/android/scoped_hardware_buffer_handle.cc",
3356                "base/android/shared_preferences/shared_preferences_manager.cc",
3357                "base/android/statistics_recorder_android.cc",
3358                "base/android/sys_utils.cc",
3359                "base/android/task_scheduler/post_task_android.cc",
3360                "base/android/task_scheduler/task_runner_android.cc",
3361                "base/android/thread_instruction_count.cc",
3362                "base/android/timezone_utils.cc",
3363                "base/android/token_android.cc",
3364                "base/android/trace_event_binding.cc",
3365                "base/android/unguessable_token_android.cc",
3366                "base/base_paths_android.cc",
3367                "base/debug/stack_trace_android.cc",
3368                "base/files/file_util_android.cc",
3369                "base/files/scoped_file_android.cc",
3370                "base/memory/platform_shared_memory_mapper_android.cc",
3371                "base/memory/platform_shared_memory_region_android.cc",
3372                "base/message_loop/message_pump_android.cc",
3373                "base/os_compat_android.cc",
3374                "base/power_monitor/power_monitor_device_source_android.cc",
3375                "base/process/process_android.cc",
3376                "base/profiler/frame_pointer_unwinder.cc",
3377                "base/profiler/stack_sampler_android.cc",
3378                "base/system/sys_info_android.cc",
3379                "base/threading/platform_thread_android.cc",
3380                "base/time/time_android.cc",
3381            ],
3382            shared_libs: [
3383                "liblog",
3384            ],
3385            cflags: [
3386                "-DANDROID",
3387                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
3388                "-DHAVE_SYS_UIO_H",
3389                "-D_FORTIFY_SOURCE=2",
3390                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
3391                "-mno-outline",
3392            ],
3393            local_include_dirs: [
3394                "third_party/cpu_features/src/ndk_compat/",
3395            ],
3396            generated_headers: [
3397                "cronet_aml_base_android_runtime_jni_headers__action__testing",
3398                "cronet_aml_base_base_jni__action__testing",
3399                "cronet_aml_base_base_shared_preferences_jni__action__testing",
3400                "cronet_aml_base_process_launcher_jni__action__testing",
3401                "cronet_aml_build_robolectric_buildflags__testing",
3402            ],
3403            ldflags: [
3404                "-Wl,-wrap,asprintf",
3405                "-Wl,-wrap,calloc",
3406                "-Wl,-wrap,free",
3407                "-Wl,-wrap,getcwd",
3408                "-Wl,-wrap,malloc",
3409                "-Wl,-wrap,malloc_usable_size",
3410                "-Wl,-wrap,memalign",
3411                "-Wl,-wrap,posix_memalign",
3412                "-Wl,-wrap,pvalloc",
3413                "-Wl,-wrap,realloc",
3414                "-Wl,-wrap,realpath",
3415                "-Wl,-wrap,strdup",
3416                "-Wl,-wrap,strndup",
3417                "-Wl,-wrap,valloc",
3418                "-Wl,-wrap,vasprintf",
3419            ],
3420        },
3421        android_riscv64: {
3422            srcs: [
3423                "base/android/android_hardware_buffer_compat.cc",
3424                "base/android/android_image_reader_compat.cc",
3425                "base/android/apk_assets.cc",
3426                "base/android/application_status_listener.cc",
3427                "base/android/base_jni_onload.cc",
3428                "base/android/build_info.cc",
3429                "base/android/bundle_utils.cc",
3430                "base/android/callback_android.cc",
3431                "base/android/child_process_service.cc",
3432                "base/android/command_line_android.cc",
3433                "base/android/content_uri_utils.cc",
3434                "base/android/cpu_features.cc",
3435                "base/android/early_trace_event_binding.cc",
3436                "base/android/event_log.cc",
3437                "base/android/feature_list_jni.cc",
3438                "base/android/feature_map.cc",
3439                "base/android/features_jni.cc",
3440                "base/android/field_trial_list.cc",
3441                "base/android/important_file_writer_android.cc",
3442                "base/android/input_hint_checker.cc",
3443                "base/android/int_string_callback.cc",
3444                "base/android/jank_metric_uma_recorder.cc",
3445                "base/android/java_exception_reporter.cc",
3446                "base/android/java_handler_thread.cc",
3447                "base/android/java_heap_dump_generator.cc",
3448                "base/android/java_runtime.cc",
3449                "base/android/jni_android.cc",
3450                "base/android/jni_array.cc",
3451                "base/android/jni_bytebuffer.cc",
3452                "base/android/jni_conversions.cc",
3453                "base/android/jni_registrar.cc",
3454                "base/android/jni_string.cc",
3455                "base/android/jni_utils.cc",
3456                "base/android/jni_weak_ref.cc",
3457                "base/android/library_loader/anchor_functions.cc",
3458                "base/android/library_loader/library_loader_hooks.cc",
3459                "base/android/library_loader/library_prefetcher.cc",
3460                "base/android/library_loader/library_prefetcher_hooks.cc",
3461                "base/android/locale_utils.cc",
3462                "base/android/meminfo_dump_provider.cc",
3463                "base/android/memory_pressure_listener_android.cc",
3464                "base/android/memory_purge_manager_android.cc",
3465                "base/android/native_uma_recorder.cc",
3466                "base/android/path_service_android.cc",
3467                "base/android/path_utils.cc",
3468                "base/android/pmf_utils.cc",
3469                "base/android/pre_freeze_background_memory_trimmer.cc",
3470                "base/android/radio_utils.cc",
3471                "base/android/scoped_hardware_buffer_fence_sync.cc",
3472                "base/android/scoped_hardware_buffer_handle.cc",
3473                "base/android/shared_preferences/shared_preferences_manager.cc",
3474                "base/android/statistics_recorder_android.cc",
3475                "base/android/sys_utils.cc",
3476                "base/android/task_scheduler/post_task_android.cc",
3477                "base/android/task_scheduler/task_runner_android.cc",
3478                "base/android/thread_instruction_count.cc",
3479                "base/android/timezone_utils.cc",
3480                "base/android/token_android.cc",
3481                "base/android/trace_event_binding.cc",
3482                "base/android/unguessable_token_android.cc",
3483                "base/base_paths_android.cc",
3484                "base/debug/stack_trace_android.cc",
3485                "base/files/file_util_android.cc",
3486                "base/files/scoped_file_android.cc",
3487                "base/memory/platform_shared_memory_mapper_android.cc",
3488                "base/memory/platform_shared_memory_region_android.cc",
3489                "base/message_loop/message_pump_android.cc",
3490                "base/os_compat_android.cc",
3491                "base/power_monitor/power_monitor_device_source_android.cc",
3492                "base/process/process_android.cc",
3493                "base/profiler/stack_sampler_android.cc",
3494                "base/system/sys_info_android.cc",
3495                "base/threading/platform_thread_android.cc",
3496                "base/time/time_android.cc",
3497            ],
3498            shared_libs: [
3499                "liblog",
3500            ],
3501            cflags: [
3502                "-DANDROID",
3503                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
3504                "-DHAVE_SYS_UIO_H",
3505                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
3506            ],
3507            local_include_dirs: [
3508                "third_party/cpu_features/src/ndk_compat/",
3509            ],
3510            generated_headers: [
3511                "cronet_aml_base_android_runtime_jni_headers__action__testing",
3512                "cronet_aml_base_base_jni__action__testing",
3513                "cronet_aml_base_base_shared_preferences_jni__action__testing",
3514                "cronet_aml_base_process_launcher_jni__action__testing",
3515                "cronet_aml_build_robolectric_buildflags__testing",
3516            ],
3517            ldflags: [
3518                "-Wl,-wrap,asprintf",
3519                "-Wl,-wrap,calloc",
3520                "-Wl,-wrap,free",
3521                "-Wl,-wrap,getcwd",
3522                "-Wl,-wrap,malloc",
3523                "-Wl,-wrap,malloc_usable_size",
3524                "-Wl,-wrap,memalign",
3525                "-Wl,-wrap,posix_memalign",
3526                "-Wl,-wrap,pvalloc",
3527                "-Wl,-wrap,realloc",
3528                "-Wl,-wrap,realpath",
3529                "-Wl,-wrap,strdup",
3530                "-Wl,-wrap,strndup",
3531                "-Wl,-wrap,valloc",
3532                "-Wl,-wrap,vasprintf",
3533            ],
3534        },
3535        android_x86: {
3536            srcs: [
3537                "base/android/android_hardware_buffer_compat.cc",
3538                "base/android/android_image_reader_compat.cc",
3539                "base/android/apk_assets.cc",
3540                "base/android/application_status_listener.cc",
3541                "base/android/base_jni_onload.cc",
3542                "base/android/build_info.cc",
3543                "base/android/bundle_utils.cc",
3544                "base/android/callback_android.cc",
3545                "base/android/child_process_service.cc",
3546                "base/android/command_line_android.cc",
3547                "base/android/content_uri_utils.cc",
3548                "base/android/cpu_features.cc",
3549                "base/android/early_trace_event_binding.cc",
3550                "base/android/event_log.cc",
3551                "base/android/feature_list_jni.cc",
3552                "base/android/feature_map.cc",
3553                "base/android/features_jni.cc",
3554                "base/android/field_trial_list.cc",
3555                "base/android/important_file_writer_android.cc",
3556                "base/android/input_hint_checker.cc",
3557                "base/android/int_string_callback.cc",
3558                "base/android/jank_metric_uma_recorder.cc",
3559                "base/android/java_exception_reporter.cc",
3560                "base/android/java_handler_thread.cc",
3561                "base/android/java_heap_dump_generator.cc",
3562                "base/android/java_runtime.cc",
3563                "base/android/jni_android.cc",
3564                "base/android/jni_array.cc",
3565                "base/android/jni_bytebuffer.cc",
3566                "base/android/jni_conversions.cc",
3567                "base/android/jni_registrar.cc",
3568                "base/android/jni_string.cc",
3569                "base/android/jni_utils.cc",
3570                "base/android/jni_weak_ref.cc",
3571                "base/android/library_loader/anchor_functions.cc",
3572                "base/android/library_loader/library_loader_hooks.cc",
3573                "base/android/library_loader/library_prefetcher.cc",
3574                "base/android/library_loader/library_prefetcher_hooks.cc",
3575                "base/android/locale_utils.cc",
3576                "base/android/meminfo_dump_provider.cc",
3577                "base/android/memory_pressure_listener_android.cc",
3578                "base/android/memory_purge_manager_android.cc",
3579                "base/android/native_uma_recorder.cc",
3580                "base/android/path_service_android.cc",
3581                "base/android/path_utils.cc",
3582                "base/android/pmf_utils.cc",
3583                "base/android/pre_freeze_background_memory_trimmer.cc",
3584                "base/android/radio_utils.cc",
3585                "base/android/scoped_hardware_buffer_fence_sync.cc",
3586                "base/android/scoped_hardware_buffer_handle.cc",
3587                "base/android/shared_preferences/shared_preferences_manager.cc",
3588                "base/android/statistics_recorder_android.cc",
3589                "base/android/sys_utils.cc",
3590                "base/android/task_scheduler/post_task_android.cc",
3591                "base/android/task_scheduler/task_runner_android.cc",
3592                "base/android/thread_instruction_count.cc",
3593                "base/android/timezone_utils.cc",
3594                "base/android/token_android.cc",
3595                "base/android/trace_event_binding.cc",
3596                "base/android/unguessable_token_android.cc",
3597                "base/base_paths_android.cc",
3598                "base/debug/stack_trace_android.cc",
3599                "base/files/file_util_android.cc",
3600                "base/files/scoped_file_android.cc",
3601                "base/memory/platform_shared_memory_mapper_android.cc",
3602                "base/memory/platform_shared_memory_region_android.cc",
3603                "base/message_loop/message_pump_android.cc",
3604                "base/os_compat_android.cc",
3605                "base/power_monitor/power_monitor_device_source_android.cc",
3606                "base/process/process_android.cc",
3607                "base/profiler/stack_sampler_android.cc",
3608                "base/system/sys_info_android.cc",
3609                "base/threading/platform_thread_android.cc",
3610                "base/time/time_android.cc",
3611            ],
3612            shared_libs: [
3613                "liblog",
3614            ],
3615            cflags: [
3616                "-DANDROID",
3617                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
3618                "-DHAVE_SYS_UIO_H",
3619                "-D_FORTIFY_SOURCE=2",
3620                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
3621                "-msse3",
3622            ],
3623            local_include_dirs: [
3624                "third_party/cpu_features/src/ndk_compat/",
3625            ],
3626            generated_headers: [
3627                "cronet_aml_base_android_runtime_jni_headers__action__testing",
3628                "cronet_aml_base_base_jni__action__testing",
3629                "cronet_aml_base_base_shared_preferences_jni__action__testing",
3630                "cronet_aml_base_process_launcher_jni__action__testing",
3631                "cronet_aml_build_robolectric_buildflags__testing",
3632            ],
3633            ldflags: [
3634                "-Wl,-wrap,asprintf",
3635                "-Wl,-wrap,calloc",
3636                "-Wl,-wrap,free",
3637                "-Wl,-wrap,getcwd",
3638                "-Wl,-wrap,malloc",
3639                "-Wl,-wrap,malloc_usable_size",
3640                "-Wl,-wrap,memalign",
3641                "-Wl,-wrap,posix_memalign",
3642                "-Wl,-wrap,pvalloc",
3643                "-Wl,-wrap,realloc",
3644                "-Wl,-wrap,realpath",
3645                "-Wl,-wrap,strdup",
3646                "-Wl,-wrap,strndup",
3647                "-Wl,-wrap,valloc",
3648                "-Wl,-wrap,vasprintf",
3649            ],
3650        },
3651        android_x86_64: {
3652            srcs: [
3653                "base/android/android_hardware_buffer_compat.cc",
3654                "base/android/android_image_reader_compat.cc",
3655                "base/android/apk_assets.cc",
3656                "base/android/application_status_listener.cc",
3657                "base/android/base_jni_onload.cc",
3658                "base/android/build_info.cc",
3659                "base/android/bundle_utils.cc",
3660                "base/android/callback_android.cc",
3661                "base/android/child_process_service.cc",
3662                "base/android/command_line_android.cc",
3663                "base/android/content_uri_utils.cc",
3664                "base/android/cpu_features.cc",
3665                "base/android/early_trace_event_binding.cc",
3666                "base/android/event_log.cc",
3667                "base/android/feature_list_jni.cc",
3668                "base/android/feature_map.cc",
3669                "base/android/features_jni.cc",
3670                "base/android/field_trial_list.cc",
3671                "base/android/important_file_writer_android.cc",
3672                "base/android/input_hint_checker.cc",
3673                "base/android/int_string_callback.cc",
3674                "base/android/jank_metric_uma_recorder.cc",
3675                "base/android/java_exception_reporter.cc",
3676                "base/android/java_handler_thread.cc",
3677                "base/android/java_heap_dump_generator.cc",
3678                "base/android/java_runtime.cc",
3679                "base/android/jni_android.cc",
3680                "base/android/jni_array.cc",
3681                "base/android/jni_bytebuffer.cc",
3682                "base/android/jni_conversions.cc",
3683                "base/android/jni_registrar.cc",
3684                "base/android/jni_string.cc",
3685                "base/android/jni_utils.cc",
3686                "base/android/jni_weak_ref.cc",
3687                "base/android/library_loader/anchor_functions.cc",
3688                "base/android/library_loader/library_loader_hooks.cc",
3689                "base/android/library_loader/library_prefetcher.cc",
3690                "base/android/library_loader/library_prefetcher_hooks.cc",
3691                "base/android/locale_utils.cc",
3692                "base/android/meminfo_dump_provider.cc",
3693                "base/android/memory_pressure_listener_android.cc",
3694                "base/android/memory_purge_manager_android.cc",
3695                "base/android/native_uma_recorder.cc",
3696                "base/android/path_service_android.cc",
3697                "base/android/path_utils.cc",
3698                "base/android/pmf_utils.cc",
3699                "base/android/pre_freeze_background_memory_trimmer.cc",
3700                "base/android/radio_utils.cc",
3701                "base/android/scoped_hardware_buffer_fence_sync.cc",
3702                "base/android/scoped_hardware_buffer_handle.cc",
3703                "base/android/shared_preferences/shared_preferences_manager.cc",
3704                "base/android/statistics_recorder_android.cc",
3705                "base/android/sys_utils.cc",
3706                "base/android/task_scheduler/post_task_android.cc",
3707                "base/android/task_scheduler/task_runner_android.cc",
3708                "base/android/thread_instruction_count.cc",
3709                "base/android/timezone_utils.cc",
3710                "base/android/token_android.cc",
3711                "base/android/trace_event_binding.cc",
3712                "base/android/unguessable_token_android.cc",
3713                "base/base_paths_android.cc",
3714                "base/debug/stack_trace_android.cc",
3715                "base/files/file_util_android.cc",
3716                "base/files/scoped_file_android.cc",
3717                "base/memory/platform_shared_memory_mapper_android.cc",
3718                "base/memory/platform_shared_memory_region_android.cc",
3719                "base/message_loop/message_pump_android.cc",
3720                "base/os_compat_android.cc",
3721                "base/power_monitor/power_monitor_device_source_android.cc",
3722                "base/process/process_android.cc",
3723                "base/profiler/stack_sampler_android.cc",
3724                "base/system/sys_info_android.cc",
3725                "base/threading/platform_thread_android.cc",
3726                "base/time/time_android.cc",
3727            ],
3728            shared_libs: [
3729                "liblog",
3730            ],
3731            cflags: [
3732                "-DANDROID",
3733                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
3734                "-DHAVE_SYS_UIO_H",
3735                "-D_FORTIFY_SOURCE=2",
3736                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
3737                "-msse3",
3738            ],
3739            local_include_dirs: [
3740                "third_party/cpu_features/src/ndk_compat/",
3741            ],
3742            generated_headers: [
3743                "cronet_aml_base_android_runtime_jni_headers__action__testing",
3744                "cronet_aml_base_base_jni__action__testing",
3745                "cronet_aml_base_base_shared_preferences_jni__action__testing",
3746                "cronet_aml_base_process_launcher_jni__action__testing",
3747                "cronet_aml_build_robolectric_buildflags__testing",
3748            ],
3749            ldflags: [
3750                "-Wl,-wrap,asprintf",
3751                "-Wl,-wrap,calloc",
3752                "-Wl,-wrap,free",
3753                "-Wl,-wrap,getcwd",
3754                "-Wl,-wrap,malloc",
3755                "-Wl,-wrap,malloc_usable_size",
3756                "-Wl,-wrap,memalign",
3757                "-Wl,-wrap,posix_memalign",
3758                "-Wl,-wrap,pvalloc",
3759                "-Wl,-wrap,realloc",
3760                "-Wl,-wrap,realpath",
3761                "-Wl,-wrap,strdup",
3762                "-Wl,-wrap,strndup",
3763                "-Wl,-wrap,valloc",
3764                "-Wl,-wrap,vasprintf",
3765            ],
3766        },
3767        host: {
3768            srcs: [
3769                "base/base_paths_posix.cc",
3770                "base/debug/stack_trace_posix.cc",
3771                "base/files/scoped_file_linux.cc",
3772                "base/memory/platform_shared_memory_mapper_posix.cc",
3773                "base/memory/platform_shared_memory_region_posix.cc",
3774                "base/power_monitor/power_monitor_device_source_stub.cc",
3775                "base/process/process_linux.cc",
3776                "base/process/set_process_title_linux.cc",
3777                "base/profiler/stack_sampler_posix.cc",
3778                "base/stack_canary_linux.cc",
3779                "base/threading/platform_thread_linux.cc",
3780                "base/threading/platform_thread_linux_base.cc",
3781                "base/threading/thread_type_delegate.cc",
3782            ],
3783            cflags: [
3784                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
3785                "-DUSE_AURA=1",
3786                "-DUSE_OZONE=1",
3787                "-DUSE_UDEV",
3788                "-D_FILE_OFFSET_BITS=64",
3789                "-D_FORTIFY_SOURCE=2",
3790                "-D_LARGEFILE64_SOURCE",
3791                "-D_LARGEFILE_SOURCE",
3792                "-msse3",
3793            ],
3794            compile_multilib: "64",
3795        },
3796    },
3797}
3798
3799// GN: //base:base_android_java_enums_srcjar
3800java_genrule {
3801    name: "cronet_aml_base_base_android_java_enums_srcjar",
3802    cmd: "mkdir -p $(genDir)/base && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
3803         "$(out) " +
3804         "$(location base/android/application_status_listener.h) " +
3805         "$(location base/android/child_process_binding_types.h) " +
3806         "$(location base/android/library_loader/library_loader_hooks.h) " +
3807         "$(location base/android/linker/linker_jni.h) " +
3808         "$(location base/android/task_scheduler/task_runner_android.h) " +
3809         "$(location base/android/task_scheduler/task_traits_android.h) " +
3810         "$(location base/memory/memory_pressure_listener.h) " +
3811         "$(location base/metrics/histogram_base.h) " +
3812         "$(location base/task/task_traits.h)",
3813    out: [
3814        "base/base_android_java_enums_srcjar.srcjar",
3815    ],
3816    tool_files: [
3817        "base/android/application_status_listener.h",
3818        "base/android/child_process_binding_types.h",
3819        "base/android/library_loader/library_loader_hooks.h",
3820        "base/android/linker/linker_jni.h",
3821        "base/android/task_scheduler/task_runner_android.h",
3822        "base/android/task_scheduler/task_traits_android.h",
3823        "base/memory/memory_pressure_listener.h",
3824        "base/metrics/histogram_base.h",
3825        "base/task/task_traits.h",
3826        "build/action_helpers.py",
3827        "build/android/gyp/java_cpp_enum.py",
3828        "build/android/gyp/util/__init__.py",
3829        "build/android/gyp/util/build_utils.py",
3830        "build/android/gyp/util/java_cpp_utils.py",
3831        "build/gn_helpers.py",
3832        "build/zip_helpers.py",
3833    ],
3834}
3835
3836// GN: //base:base_android_java_enums_srcjar__testing
3837java_genrule {
3838    name: "cronet_aml_base_base_android_java_enums_srcjar__testing",
3839    cmd: "mkdir -p $(genDir)/base && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
3840         "$(out) " +
3841         "$(location base/android/application_status_listener.h) " +
3842         "$(location base/android/child_process_binding_types.h) " +
3843         "$(location base/android/library_loader/library_loader_hooks.h) " +
3844         "$(location base/android/linker/linker_jni.h) " +
3845         "$(location base/android/task_scheduler/task_runner_android.h) " +
3846         "$(location base/android/task_scheduler/task_traits_android.h) " +
3847         "$(location base/memory/memory_pressure_listener.h) " +
3848         "$(location base/metrics/histogram_base.h) " +
3849         "$(location base/task/task_traits.h)",
3850    out: [
3851        "base/base_android_java_enums_srcjar.srcjar",
3852    ],
3853    tool_files: [
3854        "base/android/application_status_listener.h",
3855        "base/android/child_process_binding_types.h",
3856        "base/android/library_loader/library_loader_hooks.h",
3857        "base/android/linker/linker_jni.h",
3858        "base/android/task_scheduler/task_runner_android.h",
3859        "base/android/task_scheduler/task_traits_android.h",
3860        "base/memory/memory_pressure_listener.h",
3861        "base/metrics/histogram_base.h",
3862        "base/task/task_traits.h",
3863        "build/action_helpers.py",
3864        "build/android/gyp/java_cpp_enum.py",
3865        "build/android/gyp/util/__init__.py",
3866        "build/android/gyp/util/build_utils.py",
3867        "build/android/gyp/util/java_cpp_utils.py",
3868        "build/gn_helpers.py",
3869        "build/zip_helpers.py",
3870    ],
3871}
3872
3873// GN: //base:base_cached_flags_java__testing
3874java_library {
3875    name: "cronet_aml_base_base_cached_flags_java__testing",
3876    srcs: [
3877        "base/android/java/src/org/chromium/base/cached_flags/AllCachedFieldTrialParameters.java",
3878        "base/android/java/src/org/chromium/base/cached_flags/BooleanCachedFieldTrialParameter.java",
3879        "base/android/java/src/org/chromium/base/cached_flags/CachedFieldTrialParameter.java",
3880        "base/android/java/src/org/chromium/base/cached_flags/CachedFlag.java",
3881        "base/android/java/src/org/chromium/base/cached_flags/CachedFlagUtils.java",
3882        "base/android/java/src/org/chromium/base/cached_flags/CachedFlagsSafeMode.java",
3883        "base/android/java/src/org/chromium/base/cached_flags/CachedFlagsSharedPreferences.java",
3884        "base/android/java/src/org/chromium/base/cached_flags/DoubleCachedFieldTrialParameter.java",
3885        "base/android/java/src/org/chromium/base/cached_flags/IntCachedFieldTrialParameter.java",
3886        "base/android/java/src/org/chromium/base/cached_flags/PostNativeFlag.java",
3887        "base/android/java/src/org/chromium/base/cached_flags/StringCachedFieldTrialParameter.java",
3888        "base/android/java/src/org/chromium/base/cached_flags/ValuesOverridden.java",
3889        "base/android/java/src/org/chromium/base/cached_flags/ValuesReturned.java",
3890    ],
3891    static_libs: [
3892        "cronet_aml_base_base_java__testing",
3893        "cronet_aml_base_base_shared_preferences_java__testing",
3894        "cronet_aml_base_version_info_android_version_constants_java__testing",
3895        "cronet_aml_build_android_build_java__testing",
3896    ],
3897    apex_available: [
3898        "com.android.tethering",
3899    ],
3900    min_sdk_version: "30",
3901    libs: [
3902        "androidx.annotation_annotation",
3903    ],
3904    sdk_version: "current",
3905    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
3906}
3907
3908// GN: //base:base_java
3909java_library {
3910    name: "cronet_aml_base_base_java",
3911    srcs: [
3912        ":cronet_aml_base_base_android_java_enums_srcjar",
3913        ":cronet_aml_base_base_jni__action__java",
3914        ":cronet_aml_base_java_features_srcjar",
3915        ":cronet_aml_base_java_switches_srcjar",
3916        "base/android/java/src/org/chromium/base/ActivityState.java",
3917        "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
3918        "base/android/java/src/org/chromium/base/ApkAssets.java",
3919        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
3920        "base/android/java/src/org/chromium/base/BuildInfo.java",
3921        "base/android/java/src/org/chromium/base/BundleUtils.java",
3922        "base/android/java/src/org/chromium/base/Callback.java",
3923        "base/android/java/src/org/chromium/base/CallbackController.java",
3924        "base/android/java/src/org/chromium/base/CollectionUtil.java",
3925        "base/android/java/src/org/chromium/base/CommandLine.java",
3926        "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
3927        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
3928        "base/android/java/src/org/chromium/base/ContextUtils.java",
3929        "base/android/java/src/org/chromium/base/CpuFeatures.java",
3930        "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
3931        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
3932        "base/android/java/src/org/chromium/base/EventLog.java",
3933        "base/android/java/src/org/chromium/base/FeatureList.java",
3934        "base/android/java/src/org/chromium/base/FeatureMap.java",
3935        "base/android/java/src/org/chromium/base/FeatureParam.java",
3936        "base/android/java/src/org/chromium/base/Features.java",
3937        "base/android/java/src/org/chromium/base/FieldTrialList.java",
3938        "base/android/java/src/org/chromium/base/FileUtils.java",
3939        "base/android/java/src/org/chromium/base/Flag.java",
3940        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
3941        "base/android/java/src/org/chromium/base/InputHintChecker.java",
3942        "base/android/java/src/org/chromium/base/IntStringCallback.java",
3943        "base/android/java/src/org/chromium/base/IntentUtils.java",
3944        "base/android/java/src/org/chromium/base/JNIUtils.java",
3945        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
3946        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
3947        "base/android/java/src/org/chromium/base/JniAndroid.java",
3948        "base/android/java/src/org/chromium/base/LifetimeAssert.java",
3949        "base/android/java/src/org/chromium/base/LocaleUtils.java",
3950        "base/android/java/src/org/chromium/base/Log.java",
3951        "base/android/java/src/org/chromium/base/MathUtils.java",
3952        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
3953        "base/android/java/src/org/chromium/base/MutableBooleanParamWithSafeDefault.java",
3954        "base/android/java/src/org/chromium/base/MutableFlagWithSafeDefault.java",
3955        "base/android/java/src/org/chromium/base/MutableIntParamWithSafeDefault.java",
3956        "base/android/java/src/org/chromium/base/MutableParamWithSafeDefault.java",
3957        "base/android/java/src/org/chromium/base/ObserverList.java",
3958        "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
3959        "base/android/java/src/org/chromium/base/PackageUtils.java",
3960        "base/android/java/src/org/chromium/base/PathService.java",
3961        "base/android/java/src/org/chromium/base/PathUtils.java",
3962        "base/android/java/src/org/chromium/base/PiiElider.java",
3963        "base/android/java/src/org/chromium/base/PowerMonitor.java",
3964        "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
3965        "base/android/java/src/org/chromium/base/Promise.java",
3966        "base/android/java/src/org/chromium/base/RadioUtils.java",
3967        "base/android/java/src/org/chromium/base/RequiredCallback.java",
3968        "base/android/java/src/org/chromium/base/ResettersForTesting.java",
3969        "base/android/java/src/org/chromium/base/StreamUtil.java",
3970        "base/android/java/src/org/chromium/base/StrictModeContext.java",
3971        "base/android/java/src/org/chromium/base/SysUtils.java",
3972        "base/android/java/src/org/chromium/base/ThreadUtils.java",
3973        "base/android/java/src/org/chromium/base/TimeUtils.java",
3974        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
3975        "base/android/java/src/org/chromium/base/Token.java",
3976        "base/android/java/src/org/chromium/base/TraceEvent.java",
3977        "base/android/java/src/org/chromium/base/UnguessableToken.java",
3978        "base/android/java/src/org/chromium/base/UnownedUserData.java",
3979        "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
3980        "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
3981        "base/android/java/src/org/chromium/base/UserData.java",
3982        "base/android/java/src/org/chromium/base/UserDataHost.java",
3983        "base/android/java/src/org/chromium/base/ValueChangedCallback.java",
3984        "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
3985        "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
3986        "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
3987        "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
3988        "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
3989        "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
3990        "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
3991        "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
3992        "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
3993        "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
3994        "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
3995        "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
3996        "base/android/java/src/org/chromium/base/jank_tracker/JankEndScenarioTime.java",
3997        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
3998        "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
3999        "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
4000        "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
4001        "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
4002        "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
4003        "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
4004        "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerStateController.java",
4005        "base/android/java/src/org/chromium/base/jank_tracker/PlaceholderJankTracker.java",
4006        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
4007        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
4008        "base/android/java/src/org/chromium/base/library_loader/Linker.java",
4009        "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
4010        "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
4011        "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
4012        "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
4013        "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
4014        "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
4015        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
4016        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
4017        "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
4018        "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
4019        "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
4020        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
4021        "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
4022        "base/android/java/src/org/chromium/base/metrics/HistogramBucket.java",
4023        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
4024        "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
4025        "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
4026        "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
4027        "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
4028        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
4029        "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
4030        "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
4031        "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
4032        "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
4033        "base/android/java/src/org/chromium/base/supplier/LazyOneshotSupplier.java",
4034        "base/android/java/src/org/chromium/base/supplier/LazyOneshotSupplierImpl.java",
4035        "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
4036        "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
4037        "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
4038        "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
4039        "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
4040        "base/android/java/src/org/chromium/base/supplier/Supplier.java",
4041        "base/android/java/src/org/chromium/base/supplier/SupplierUtils.java",
4042        "base/android/java/src/org/chromium/base/supplier/SyncOneshotSupplier.java",
4043        "base/android/java/src/org/chromium/base/supplier/SyncOneshotSupplierImpl.java",
4044        "base/android/java/src/org/chromium/base/supplier/TransitiveObservableSupplier.java",
4045        "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
4046        "base/android/java/src/org/chromium/base/supplier/UnwrapObservableSupplier.java",
4047        "base/android/java/src/org/chromium/base/task/AsyncTask.java",
4048        "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
4049        "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
4050        "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
4051        "base/android/java/src/org/chromium/base/task/PostTask.java",
4052        "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
4053        "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
4054        "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
4055        "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
4056        "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
4057        "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
4058        "base/android/java/src/org/chromium/base/task/TaskRunner.java",
4059        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
4060        "base/android/java/src/org/chromium/base/task/ThreadPoolTaskExecutor.java",
4061        "base/android/java/src/org/chromium/base/task/UiThreadTaskExecutor.java",
4062        "base/test/android/javatests/src/stub/org/chromium/base/test/ClangProfiler.java",
4063    ],
4064    static_libs: [
4065        "cronet_aml_build_android_build_java",
4066        "cronet_aml_third_party_jni_zero_jni_zero_java",
4067    ],
4068    defaults: [
4069        "cronet_aml_java_framework_defaults",
4070    ],
4071    apex_available: [
4072        "com.android.tethering",
4073    ],
4074    min_sdk_version: "30",
4075    libs: [
4076        "androidx.annotation_annotation",
4077        "androidx.annotation_annotation-experimental",
4078        "error_prone_annotations",
4079        "jsr305",
4080    ],
4081    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
4082}
4083
4084// GN: //base:base_java__testing
4085java_library {
4086    name: "cronet_aml_base_base_java__testing",
4087    srcs: [
4088        ":cronet_aml_base_base_android_java_enums_srcjar__testing",
4089        ":cronet_aml_base_base_jni__action__testing__java",
4090        ":cronet_aml_base_java_features_srcjar__testing",
4091        ":cronet_aml_base_java_switches_srcjar__testing",
4092        "base/android/java/src/org/chromium/base/ActivityState.java",
4093        "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
4094        "base/android/java/src/org/chromium/base/ApkAssets.java",
4095        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
4096        "base/android/java/src/org/chromium/base/BuildInfo.java",
4097        "base/android/java/src/org/chromium/base/BundleUtils.java",
4098        "base/android/java/src/org/chromium/base/Callback.java",
4099        "base/android/java/src/org/chromium/base/CallbackController.java",
4100        "base/android/java/src/org/chromium/base/CollectionUtil.java",
4101        "base/android/java/src/org/chromium/base/CommandLine.java",
4102        "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
4103        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
4104        "base/android/java/src/org/chromium/base/ContextUtils.java",
4105        "base/android/java/src/org/chromium/base/CpuFeatures.java",
4106        "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
4107        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
4108        "base/android/java/src/org/chromium/base/EventLog.java",
4109        "base/android/java/src/org/chromium/base/FeatureList.java",
4110        "base/android/java/src/org/chromium/base/FeatureMap.java",
4111        "base/android/java/src/org/chromium/base/FeatureParam.java",
4112        "base/android/java/src/org/chromium/base/Features.java",
4113        "base/android/java/src/org/chromium/base/FieldTrialList.java",
4114        "base/android/java/src/org/chromium/base/FileUtils.java",
4115        "base/android/java/src/org/chromium/base/Flag.java",
4116        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
4117        "base/android/java/src/org/chromium/base/InputHintChecker.java",
4118        "base/android/java/src/org/chromium/base/IntStringCallback.java",
4119        "base/android/java/src/org/chromium/base/IntentUtils.java",
4120        "base/android/java/src/org/chromium/base/JNIUtils.java",
4121        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
4122        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
4123        "base/android/java/src/org/chromium/base/JniAndroid.java",
4124        "base/android/java/src/org/chromium/base/LifetimeAssert.java",
4125        "base/android/java/src/org/chromium/base/LocaleUtils.java",
4126        "base/android/java/src/org/chromium/base/Log.java",
4127        "base/android/java/src/org/chromium/base/MathUtils.java",
4128        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
4129        "base/android/java/src/org/chromium/base/MutableBooleanParamWithSafeDefault.java",
4130        "base/android/java/src/org/chromium/base/MutableFlagWithSafeDefault.java",
4131        "base/android/java/src/org/chromium/base/MutableIntParamWithSafeDefault.java",
4132        "base/android/java/src/org/chromium/base/MutableParamWithSafeDefault.java",
4133        "base/android/java/src/org/chromium/base/ObserverList.java",
4134        "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
4135        "base/android/java/src/org/chromium/base/PackageUtils.java",
4136        "base/android/java/src/org/chromium/base/PathService.java",
4137        "base/android/java/src/org/chromium/base/PathUtils.java",
4138        "base/android/java/src/org/chromium/base/PiiElider.java",
4139        "base/android/java/src/org/chromium/base/PowerMonitor.java",
4140        "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
4141        "base/android/java/src/org/chromium/base/Promise.java",
4142        "base/android/java/src/org/chromium/base/RadioUtils.java",
4143        "base/android/java/src/org/chromium/base/RequiredCallback.java",
4144        "base/android/java/src/org/chromium/base/ResettersForTesting.java",
4145        "base/android/java/src/org/chromium/base/StreamUtil.java",
4146        "base/android/java/src/org/chromium/base/StrictModeContext.java",
4147        "base/android/java/src/org/chromium/base/SysUtils.java",
4148        "base/android/java/src/org/chromium/base/ThreadUtils.java",
4149        "base/android/java/src/org/chromium/base/TimeUtils.java",
4150        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
4151        "base/android/java/src/org/chromium/base/Token.java",
4152        "base/android/java/src/org/chromium/base/TraceEvent.java",
4153        "base/android/java/src/org/chromium/base/UnguessableToken.java",
4154        "base/android/java/src/org/chromium/base/UnownedUserData.java",
4155        "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
4156        "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
4157        "base/android/java/src/org/chromium/base/UserData.java",
4158        "base/android/java/src/org/chromium/base/UserDataHost.java",
4159        "base/android/java/src/org/chromium/base/ValueChangedCallback.java",
4160        "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
4161        "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
4162        "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
4163        "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
4164        "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
4165        "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
4166        "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
4167        "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
4168        "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
4169        "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
4170        "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
4171        "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
4172        "base/android/java/src/org/chromium/base/jank_tracker/JankEndScenarioTime.java",
4173        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
4174        "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
4175        "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
4176        "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
4177        "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
4178        "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
4179        "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
4180        "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerStateController.java",
4181        "base/android/java/src/org/chromium/base/jank_tracker/PlaceholderJankTracker.java",
4182        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
4183        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
4184        "base/android/java/src/org/chromium/base/library_loader/Linker.java",
4185        "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
4186        "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
4187        "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
4188        "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
4189        "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
4190        "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
4191        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
4192        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
4193        "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
4194        "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
4195        "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
4196        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
4197        "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
4198        "base/android/java/src/org/chromium/base/metrics/HistogramBucket.java",
4199        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
4200        "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
4201        "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
4202        "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
4203        "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
4204        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
4205        "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
4206        "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
4207        "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
4208        "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
4209        "base/android/java/src/org/chromium/base/supplier/LazyOneshotSupplier.java",
4210        "base/android/java/src/org/chromium/base/supplier/LazyOneshotSupplierImpl.java",
4211        "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
4212        "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
4213        "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
4214        "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
4215        "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
4216        "base/android/java/src/org/chromium/base/supplier/Supplier.java",
4217        "base/android/java/src/org/chromium/base/supplier/SupplierUtils.java",
4218        "base/android/java/src/org/chromium/base/supplier/SyncOneshotSupplier.java",
4219        "base/android/java/src/org/chromium/base/supplier/SyncOneshotSupplierImpl.java",
4220        "base/android/java/src/org/chromium/base/supplier/TransitiveObservableSupplier.java",
4221        "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
4222        "base/android/java/src/org/chromium/base/supplier/UnwrapObservableSupplier.java",
4223        "base/android/java/src/org/chromium/base/task/AsyncTask.java",
4224        "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
4225        "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
4226        "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
4227        "base/android/java/src/org/chromium/base/task/PostTask.java",
4228        "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
4229        "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
4230        "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
4231        "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
4232        "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
4233        "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
4234        "base/android/java/src/org/chromium/base/task/TaskRunner.java",
4235        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
4236        "base/android/java/src/org/chromium/base/task/ThreadPoolTaskExecutor.java",
4237        "base/android/java/src/org/chromium/base/task/UiThreadTaskExecutor.java",
4238        "base/test/android/javatests/src/stub/org/chromium/base/test/ClangProfiler.java",
4239    ],
4240    static_libs: [
4241        "cronet_aml_build_android_build_java__testing",
4242        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
4243    ],
4244    apex_available: [
4245        "com.android.tethering",
4246    ],
4247    min_sdk_version: "30",
4248    libs: [
4249        "androidx.annotation_annotation",
4250        "androidx.annotation_annotation-experimental",
4251        "error_prone_annotations",
4252        "jsr305",
4253    ],
4254    sdk_version: "current",
4255    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
4256}
4257
4258// GN: //base:base_java_test_support__testing
4259java_library {
4260    name: "cronet_aml_base_base_java_test_support__testing",
4261    srcs: [
4262        "base/test/android/javatests/src/org/chromium/base/test/BaseChromiumAndroidJUnitRunner.java",
4263        "base/test/android/javatests/src/org/chromium/base/test/BaseJUnit4ClassRunner.java",
4264        "base/test/android/javatests/src/org/chromium/base/test/BaseJUnit4TestRule.java",
4265        "base/test/android/javatests/src/org/chromium/base/test/LoadNative.java",
4266        "base/test/android/javatests/src/org/chromium/base/test/MockitoErrorHandler.java",
4267        "base/test/android/javatests/src/org/chromium/base/test/ResetCachedFlagValuesTestHook.java",
4268        "base/test/android/javatests/src/org/chromium/base/test/ScreenshotOnFailureStatement.java",
4269        "base/test/android/javatests/src/org/chromium/base/test/TestTraceEvent.java",
4270        "base/test/android/javatests/src/org/chromium/base/test/UnitTestLifetimeAssertRule.java",
4271        "base/test/android/javatests/src/org/chromium/base/test/UnitTestNoBrowserProcessHook.java",
4272        "base/test/android/javatests/src/org/chromium/base/test/params/BaseJUnit4RunnerDelegate.java",
4273        "base/test/android/javatests/src/org/chromium/base/test/params/BlockJUnit4RunnerDelegate.java",
4274        "base/test/android/javatests/src/org/chromium/base/test/params/MethodParamAnnotationRule.java",
4275        "base/test/android/javatests/src/org/chromium/base/test/params/MethodParamRule.java",
4276        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterAnnotations.java",
4277        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterProvider.java",
4278        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterSet.java",
4279        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterizedCommandLineFlags.java",
4280        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterizedFrameworkMethod.java",
4281        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterizedRunner.java",
4282        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterizedRunnerDelegate.java",
4283        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterizedRunnerDelegateCommon.java",
4284        "base/test/android/javatests/src/org/chromium/base/test/params/ParameterizedRunnerDelegateFactory.java",
4285        "base/test/android/javatests/src/org/chromium/base/test/params/SkipCommandLineParameterization.java",
4286        "base/test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContext.java",
4287        "base/test/android/javatests/src/org/chromium/base/test/util/AndroidSdkLevelSkipCheck.java",
4288        "base/test/android/javatests/src/org/chromium/base/test/util/AnnotationProcessingUtils.java",
4289        "base/test/android/javatests/src/org/chromium/base/test/util/AnnotationRule.java",
4290        "base/test/android/javatests/src/org/chromium/base/test/util/ApplicationContextWrapper.java",
4291        "base/test/android/javatests/src/org/chromium/base/test/util/ApplicationTestUtils.java",
4292        "base/test/android/javatests/src/org/chromium/base/test/util/Batch.java",
4293        "base/test/android/javatests/src/org/chromium/base/test/util/CallbackHelper.java",
4294        "base/test/android/javatests/src/org/chromium/base/test/util/CommandLineFlags.java",
4295        "base/test/android/javatests/src/org/chromium/base/test/util/Criteria.java",
4296        "base/test/android/javatests/src/org/chromium/base/test/util/CriteriaHelper.java",
4297        "base/test/android/javatests/src/org/chromium/base/test/util/CriteriaNotSatisfiedException.java",
4298        "base/test/android/javatests/src/org/chromium/base/test/util/DisableIf.java",
4299        "base/test/android/javatests/src/org/chromium/base/test/util/DisableIfSkipCheck.java",
4300        "base/test/android/javatests/src/org/chromium/base/test/util/DisabledTest.java",
4301        "base/test/android/javatests/src/org/chromium/base/test/util/DoNotBatch.java",
4302        "base/test/android/javatests/src/org/chromium/base/test/util/DoNotRevive.java",
4303        "base/test/android/javatests/src/org/chromium/base/test/util/DumpThreadsOnFailureRule.java",
4304        "base/test/android/javatests/src/org/chromium/base/test/util/EnormousTest.java",
4305        "base/test/android/javatests/src/org/chromium/base/test/util/EspressoIdleTimeoutRule.java",
4306        "base/test/android/javatests/src/org/chromium/base/test/util/Feature.java",
4307        "base/test/android/javatests/src/org/chromium/base/test/util/Features.java",
4308        "base/test/android/javatests/src/org/chromium/base/test/util/FieldTrials.java",
4309        "base/test/android/javatests/src/org/chromium/base/test/util/HistogramWatcher.java",
4310        "base/test/android/javatests/src/org/chromium/base/test/util/InMemorySharedPreferences.java",
4311        "base/test/android/javatests/src/org/chromium/base/test/util/InMemorySharedPreferencesContext.java",
4312        "base/test/android/javatests/src/org/chromium/base/test/util/IntegrationTest.java",
4313        "base/test/android/javatests/src/org/chromium/base/test/util/JniMocker.java",
4314        "base/test/android/javatests/src/org/chromium/base/test/util/LooperUtils.java",
4315        "base/test/android/javatests/src/org/chromium/base/test/util/Manual.java",
4316        "base/test/android/javatests/src/org/chromium/base/test/util/MaxAndroidSdkLevel.java",
4317        "base/test/android/javatests/src/org/chromium/base/test/util/MinAndroidSdkLevel.java",
4318        "base/test/android/javatests/src/org/chromium/base/test/util/PackageManagerWrapper.java",
4319        "base/test/android/javatests/src/org/chromium/base/test/util/PayloadCallbackHelper.java",
4320        "base/test/android/javatests/src/org/chromium/base/test/util/RequiresRestart.java",
4321        "base/test/android/javatests/src/org/chromium/base/test/util/Restriction.java",
4322        "base/test/android/javatests/src/org/chromium/base/test/util/RestrictionSkipCheck.java",
4323        "base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java",
4324        "base/test/android/javatests/src/org/chromium/base/test/util/SkipCheck.java",
4325        "base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java",
4326        "base/test/android/javatests/src/org/chromium/base/test/util/TestThreadUtils.java",
4327        "base/test/android/javatests/src/org/chromium/base/test/util/TimeoutScale.java",
4328        "base/test/android/javatests/src/org/chromium/base/test/util/TimeoutTimer.java",
4329        "base/test/android/javatests/src/org/chromium/base/test/util/UserActionTester.java",
4330        "base/test/android/javatests/src/org/chromium/base/test/util/ViewActionOnDescendant.java",
4331        "base/test/android/javatests/src/org/chromium/base/test/util/ViewPrinter.java",
4332    ],
4333    static_libs: [
4334        "androidx.test.espresso.contrib",
4335        "androidx.test.runner",
4336        "androidx.test.uiautomator_uiautomator",
4337        "cronet_aml_base_base_cached_flags_java__testing",
4338        "cronet_aml_base_base_java__testing",
4339        "cronet_aml_base_base_java_url_utils_for_test__testing",
4340        "cronet_aml_build_android_build_java__testing",
4341        "cronet_aml_testing_android_instrumentation_instrumentation_test_runner_java__testing",
4342        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
4343        "guava",
4344        "hamcrest",
4345        "hamcrest-library",
4346        "junit",
4347    ],
4348    apex_available: [
4349        "com.android.tethering",
4350    ],
4351    min_sdk_version: "30",
4352    libs: [
4353        "android.test.mock.stubs",
4354        "androidx.annotation_annotation",
4355        "androidx.core_core",
4356        "androidx.test.monitor",
4357        "jsr305",
4358    ],
4359    sdk_version: "current",
4360    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
4361}
4362
4363// GN: //base:base_java_url_utils_for_test__testing
4364java_library {
4365    name: "cronet_aml_base_base_java_url_utils_for_test__testing",
4366    srcs: [
4367        "base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java",
4368    ],
4369    static_libs: [
4370        "cronet_aml_base_base_java__testing",
4371        "cronet_aml_build_android_build_java__testing",
4372        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
4373        "junit",
4374    ],
4375    apex_available: [
4376        "com.android.tethering",
4377    ],
4378    min_sdk_version: "30",
4379    libs: [
4380        "androidx.annotation_annotation",
4381    ],
4382    sdk_version: "current",
4383    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
4384}
4385
4386// GN: //base:base_jni__action
4387cc_genrule {
4388    name: "cronet_aml_base_base_jni__action",
4389    srcs: [
4390        "base/android/java/src/org/chromium/base/ApkAssets.java",
4391        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
4392        "base/android/java/src/org/chromium/base/BuildInfo.java",
4393        "base/android/java/src/org/chromium/base/BundleUtils.java",
4394        "base/android/java/src/org/chromium/base/Callback.java",
4395        "base/android/java/src/org/chromium/base/CommandLine.java",
4396        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
4397        "base/android/java/src/org/chromium/base/CpuFeatures.java",
4398        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
4399        "base/android/java/src/org/chromium/base/EventLog.java",
4400        "base/android/java/src/org/chromium/base/FeatureList.java",
4401        "base/android/java/src/org/chromium/base/FeatureMap.java",
4402        "base/android/java/src/org/chromium/base/Features.java",
4403        "base/android/java/src/org/chromium/base/FieldTrialList.java",
4404        "base/android/java/src/org/chromium/base/FileUtils.java",
4405        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
4406        "base/android/java/src/org/chromium/base/InputHintChecker.java",
4407        "base/android/java/src/org/chromium/base/IntStringCallback.java",
4408        "base/android/java/src/org/chromium/base/JNIUtils.java",
4409        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
4410        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
4411        "base/android/java/src/org/chromium/base/JniAndroid.java",
4412        "base/android/java/src/org/chromium/base/LocaleUtils.java",
4413        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
4414        "base/android/java/src/org/chromium/base/PathService.java",
4415        "base/android/java/src/org/chromium/base/PathUtils.java",
4416        "base/android/java/src/org/chromium/base/PowerMonitor.java",
4417        "base/android/java/src/org/chromium/base/RadioUtils.java",
4418        "base/android/java/src/org/chromium/base/SysUtils.java",
4419        "base/android/java/src/org/chromium/base/ThreadUtils.java",
4420        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
4421        "base/android/java/src/org/chromium/base/Token.java",
4422        "base/android/java/src/org/chromium/base/TraceEvent.java",
4423        "base/android/java/src/org/chromium/base/UnguessableToken.java",
4424        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
4425        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
4426        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
4427        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
4428        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
4429        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
4430        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
4431        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
4432        "base/android/java/src/org/chromium/base/task/PostTask.java",
4433        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
4434    ],
4435    cmd: "mkdir -p $(genDir)/base &&  " +
4436         "mkdir -p $(genDir)/jni_headers/base/base_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
4437         "--output-dir " +
4438         "$(genDir)/base/base_jni " +
4439         "--extra-include " +
4440         "third_party/jni_zero/jni_zero_internal.h " +
4441         "--srcjar-path " +
4442         "$(genDir)/base/base_jni.srcjar " +
4443         "--placeholder-srcjar-path " +
4444         "$(genDir)/base/base_jni_placeholder.srcjar " +
4445         "--use-proxy-hash " +
4446         "--output-name " +
4447         "ApkAssets_jni.h " +
4448         "--output-name " +
4449         "ApplicationStatus_jni.h " +
4450         "--output-name " +
4451         "BuildInfo_jni.h " +
4452         "--output-name " +
4453         "BundleUtils_jni.h " +
4454         "--output-name " +
4455         "Callback_jni.h " +
4456         "--output-name " +
4457         "CommandLine_jni.h " +
4458         "--output-name " +
4459         "ContentUriUtils_jni.h " +
4460         "--output-name " +
4461         "CpuFeatures_jni.h " +
4462         "--output-name " +
4463         "EarlyTraceEvent_jni.h " +
4464         "--output-name " +
4465         "EventLog_jni.h " +
4466         "--output-name " +
4467         "FeatureList_jni.h " +
4468         "--output-name " +
4469         "FeatureMap_jni.h " +
4470         "--output-name " +
4471         "Features_jni.h " +
4472         "--output-name " +
4473         "FieldTrialList_jni.h " +
4474         "--output-name " +
4475         "FileUtils_jni.h " +
4476         "--output-name " +
4477         "ImportantFileWriterAndroid_jni.h " +
4478         "--output-name " +
4479         "InputHintChecker_jni.h " +
4480         "--output-name " +
4481         "IntStringCallback_jni.h " +
4482         "--output-name " +
4483         "JNIUtils_jni.h " +
4484         "--output-name " +
4485         "JavaExceptionReporter_jni.h " +
4486         "--output-name " +
4487         "JavaHandlerThread_jni.h " +
4488         "--output-name " +
4489         "JniAndroid_jni.h " +
4490         "--output-name " +
4491         "LocaleUtils_jni.h " +
4492         "--output-name " +
4493         "MemoryPressureListener_jni.h " +
4494         "--output-name " +
4495         "PathService_jni.h " +
4496         "--output-name " +
4497         "PathUtils_jni.h " +
4498         "--output-name " +
4499         "PowerMonitor_jni.h " +
4500         "--output-name " +
4501         "RadioUtils_jni.h " +
4502         "--output-name " +
4503         "SysUtils_jni.h " +
4504         "--output-name " +
4505         "ThreadUtils_jni.h " +
4506         "--output-name " +
4507         "TimezoneUtils_jni.h " +
4508         "--output-name " +
4509         "Token_jni.h " +
4510         "--output-name " +
4511         "TraceEvent_jni.h " +
4512         "--output-name " +
4513         "UnguessableToken_jni.h " +
4514         "--output-name " +
4515         "JankMetricUMARecorder_jni.h " +
4516         "--output-name " +
4517         "LibraryLoader_jni.h " +
4518         "--output-name " +
4519         "LibraryPrefetcher_jni.h " +
4520         "--output-name " +
4521         "JavaHeapDumpGenerator_jni.h " +
4522         "--output-name " +
4523         "MemoryInfoBridge_jni.h " +
4524         "--output-name " +
4525         "MemoryPurgeManager_jni.h " +
4526         "--output-name " +
4527         "NativeUmaRecorder_jni.h " +
4528         "--output-name " +
4529         "StatisticsRecorderAndroid_jni.h " +
4530         "--output-name " +
4531         "PostTask_jni.h " +
4532         "--output-name " +
4533         "TaskRunnerImpl_jni.h " +
4534         "--input-file " +
4535         "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
4536         "--input-file " +
4537         "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
4538         "--input-file " +
4539         "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
4540         "--input-file " +
4541         "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
4542         "--input-file " +
4543         "$(location base/android/java/src/org/chromium/base/Callback.java) " +
4544         "--input-file " +
4545         "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
4546         "--input-file " +
4547         "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
4548         "--input-file " +
4549         "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
4550         "--input-file " +
4551         "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
4552         "--input-file " +
4553         "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
4554         "--input-file " +
4555         "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
4556         "--input-file " +
4557         "$(location base/android/java/src/org/chromium/base/FeatureMap.java) " +
4558         "--input-file " +
4559         "$(location base/android/java/src/org/chromium/base/Features.java) " +
4560         "--input-file " +
4561         "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
4562         "--input-file " +
4563         "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
4564         "--input-file " +
4565         "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
4566         "--input-file " +
4567         "$(location base/android/java/src/org/chromium/base/InputHintChecker.java) " +
4568         "--input-file " +
4569         "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
4570         "--input-file " +
4571         "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
4572         "--input-file " +
4573         "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
4574         "--input-file " +
4575         "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
4576         "--input-file " +
4577         "$(location base/android/java/src/org/chromium/base/JniAndroid.java) " +
4578         "--input-file " +
4579         "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
4580         "--input-file " +
4581         "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
4582         "--input-file " +
4583         "$(location base/android/java/src/org/chromium/base/PathService.java) " +
4584         "--input-file " +
4585         "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
4586         "--input-file " +
4587         "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
4588         "--input-file " +
4589         "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
4590         "--input-file " +
4591         "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
4592         "--input-file " +
4593         "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
4594         "--input-file " +
4595         "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
4596         "--input-file " +
4597         "$(location base/android/java/src/org/chromium/base/Token.java) " +
4598         "--input-file " +
4599         "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
4600         "--input-file " +
4601         "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
4602         "--input-file " +
4603         "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
4604         "--input-file " +
4605         "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
4606         "--input-file " +
4607         "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
4608         "--input-file " +
4609         "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
4610         "--input-file " +
4611         "$(location base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java) " +
4612         "--input-file " +
4613         "$(location base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java) " +
4614         "--input-file " +
4615         "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
4616         "--input-file " +
4617         "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
4618         "--input-file " +
4619         "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
4620         "--input-file " +
4621         "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java) " +
4622         "--package-prefix " +
4623         "android.net.connectivity",
4624    out: [
4625        "base/base_jni.srcjar",
4626        "base/base_jni/ApkAssets_jni.h",
4627        "base/base_jni/ApplicationStatus_jni.h",
4628        "base/base_jni/BuildInfo_jni.h",
4629        "base/base_jni/BundleUtils_jni.h",
4630        "base/base_jni/Callback_jni.h",
4631        "base/base_jni/CommandLine_jni.h",
4632        "base/base_jni/ContentUriUtils_jni.h",
4633        "base/base_jni/CpuFeatures_jni.h",
4634        "base/base_jni/EarlyTraceEvent_jni.h",
4635        "base/base_jni/EventLog_jni.h",
4636        "base/base_jni/FeatureList_jni.h",
4637        "base/base_jni/FeatureMap_jni.h",
4638        "base/base_jni/Features_jni.h",
4639        "base/base_jni/FieldTrialList_jni.h",
4640        "base/base_jni/FileUtils_jni.h",
4641        "base/base_jni/ImportantFileWriterAndroid_jni.h",
4642        "base/base_jni/InputHintChecker_jni.h",
4643        "base/base_jni/IntStringCallback_jni.h",
4644        "base/base_jni/JNIUtils_jni.h",
4645        "base/base_jni/JankMetricUMARecorder_jni.h",
4646        "base/base_jni/JavaExceptionReporter_jni.h",
4647        "base/base_jni/JavaHandlerThread_jni.h",
4648        "base/base_jni/JavaHeapDumpGenerator_jni.h",
4649        "base/base_jni/JniAndroid_jni.h",
4650        "base/base_jni/LibraryLoader_jni.h",
4651        "base/base_jni/LibraryPrefetcher_jni.h",
4652        "base/base_jni/LocaleUtils_jni.h",
4653        "base/base_jni/MemoryInfoBridge_jni.h",
4654        "base/base_jni/MemoryPressureListener_jni.h",
4655        "base/base_jni/MemoryPurgeManager_jni.h",
4656        "base/base_jni/NativeUmaRecorder_jni.h",
4657        "base/base_jni/PathService_jni.h",
4658        "base/base_jni/PathUtils_jni.h",
4659        "base/base_jni/PostTask_jni.h",
4660        "base/base_jni/PowerMonitor_jni.h",
4661        "base/base_jni/RadioUtils_jni.h",
4662        "base/base_jni/StatisticsRecorderAndroid_jni.h",
4663        "base/base_jni/SysUtils_jni.h",
4664        "base/base_jni/TaskRunnerImpl_jni.h",
4665        "base/base_jni/ThreadUtils_jni.h",
4666        "base/base_jni/TimezoneUtils_jni.h",
4667        "base/base_jni/Token_jni.h",
4668        "base/base_jni/TraceEvent_jni.h",
4669        "base/base_jni/UnguessableToken_jni.h",
4670    ],
4671    tool_files: [
4672        "third_party/jni_zero/codegen/called_by_native_header.py",
4673        "third_party/jni_zero/codegen/convert_type.py",
4674        "third_party/jni_zero/codegen/header_common.py",
4675        "third_party/jni_zero/codegen/natives_header.py",
4676        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
4677        "third_party/jni_zero/codegen/placeholder_java_type.py",
4678        "third_party/jni_zero/codegen/proxy_impl_java.py",
4679        "third_party/jni_zero/common.py",
4680        "third_party/jni_zero/java_lang_classes.py",
4681        "third_party/jni_zero/java_types.py",
4682        "third_party/jni_zero/jni_generator.py",
4683        "third_party/jni_zero/jni_registration_generator.py",
4684        "third_party/jni_zero/jni_zero.py",
4685        "third_party/jni_zero/parse.py",
4686        "third_party/jni_zero/proxy.py",
4687    ],
4688    apex_available: [
4689        "com.android.tethering",
4690    ],
4691}
4692
4693// GN: //base:base_jni__action
4694java_genrule {
4695    name: "cronet_aml_base_base_jni__action__java",
4696    srcs: [
4697        "base/android/java/src/org/chromium/base/ApkAssets.java",
4698        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
4699        "base/android/java/src/org/chromium/base/BuildInfo.java",
4700        "base/android/java/src/org/chromium/base/BundleUtils.java",
4701        "base/android/java/src/org/chromium/base/Callback.java",
4702        "base/android/java/src/org/chromium/base/CommandLine.java",
4703        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
4704        "base/android/java/src/org/chromium/base/CpuFeatures.java",
4705        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
4706        "base/android/java/src/org/chromium/base/EventLog.java",
4707        "base/android/java/src/org/chromium/base/FeatureList.java",
4708        "base/android/java/src/org/chromium/base/FeatureMap.java",
4709        "base/android/java/src/org/chromium/base/Features.java",
4710        "base/android/java/src/org/chromium/base/FieldTrialList.java",
4711        "base/android/java/src/org/chromium/base/FileUtils.java",
4712        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
4713        "base/android/java/src/org/chromium/base/InputHintChecker.java",
4714        "base/android/java/src/org/chromium/base/IntStringCallback.java",
4715        "base/android/java/src/org/chromium/base/JNIUtils.java",
4716        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
4717        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
4718        "base/android/java/src/org/chromium/base/JniAndroid.java",
4719        "base/android/java/src/org/chromium/base/LocaleUtils.java",
4720        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
4721        "base/android/java/src/org/chromium/base/PathService.java",
4722        "base/android/java/src/org/chromium/base/PathUtils.java",
4723        "base/android/java/src/org/chromium/base/PowerMonitor.java",
4724        "base/android/java/src/org/chromium/base/RadioUtils.java",
4725        "base/android/java/src/org/chromium/base/SysUtils.java",
4726        "base/android/java/src/org/chromium/base/ThreadUtils.java",
4727        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
4728        "base/android/java/src/org/chromium/base/Token.java",
4729        "base/android/java/src/org/chromium/base/TraceEvent.java",
4730        "base/android/java/src/org/chromium/base/UnguessableToken.java",
4731        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
4732        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
4733        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
4734        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
4735        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
4736        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
4737        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
4738        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
4739        "base/android/java/src/org/chromium/base/task/PostTask.java",
4740        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
4741    ],
4742    cmd: "mkdir -p $(genDir)/base &&  " +
4743         "mkdir -p $(genDir)/jni_headers/base/base_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
4744         "--output-dir " +
4745         "$(genDir)/base/base_jni " +
4746         "--extra-include " +
4747         "third_party/jni_zero/jni_zero_internal.h " +
4748         "--srcjar-path " +
4749         "$(genDir)/base/base_jni.srcjar " +
4750         "--placeholder-srcjar-path " +
4751         "$(genDir)/base/base_jni_placeholder.srcjar " +
4752         "--use-proxy-hash " +
4753         "--output-name " +
4754         "ApkAssets_jni.h " +
4755         "--output-name " +
4756         "ApplicationStatus_jni.h " +
4757         "--output-name " +
4758         "BuildInfo_jni.h " +
4759         "--output-name " +
4760         "BundleUtils_jni.h " +
4761         "--output-name " +
4762         "Callback_jni.h " +
4763         "--output-name " +
4764         "CommandLine_jni.h " +
4765         "--output-name " +
4766         "ContentUriUtils_jni.h " +
4767         "--output-name " +
4768         "CpuFeatures_jni.h " +
4769         "--output-name " +
4770         "EarlyTraceEvent_jni.h " +
4771         "--output-name " +
4772         "EventLog_jni.h " +
4773         "--output-name " +
4774         "FeatureList_jni.h " +
4775         "--output-name " +
4776         "FeatureMap_jni.h " +
4777         "--output-name " +
4778         "Features_jni.h " +
4779         "--output-name " +
4780         "FieldTrialList_jni.h " +
4781         "--output-name " +
4782         "FileUtils_jni.h " +
4783         "--output-name " +
4784         "ImportantFileWriterAndroid_jni.h " +
4785         "--output-name " +
4786         "InputHintChecker_jni.h " +
4787         "--output-name " +
4788         "IntStringCallback_jni.h " +
4789         "--output-name " +
4790         "JNIUtils_jni.h " +
4791         "--output-name " +
4792         "JavaExceptionReporter_jni.h " +
4793         "--output-name " +
4794         "JavaHandlerThread_jni.h " +
4795         "--output-name " +
4796         "JniAndroid_jni.h " +
4797         "--output-name " +
4798         "LocaleUtils_jni.h " +
4799         "--output-name " +
4800         "MemoryPressureListener_jni.h " +
4801         "--output-name " +
4802         "PathService_jni.h " +
4803         "--output-name " +
4804         "PathUtils_jni.h " +
4805         "--output-name " +
4806         "PowerMonitor_jni.h " +
4807         "--output-name " +
4808         "RadioUtils_jni.h " +
4809         "--output-name " +
4810         "SysUtils_jni.h " +
4811         "--output-name " +
4812         "ThreadUtils_jni.h " +
4813         "--output-name " +
4814         "TimezoneUtils_jni.h " +
4815         "--output-name " +
4816         "Token_jni.h " +
4817         "--output-name " +
4818         "TraceEvent_jni.h " +
4819         "--output-name " +
4820         "UnguessableToken_jni.h " +
4821         "--output-name " +
4822         "JankMetricUMARecorder_jni.h " +
4823         "--output-name " +
4824         "LibraryLoader_jni.h " +
4825         "--output-name " +
4826         "LibraryPrefetcher_jni.h " +
4827         "--output-name " +
4828         "JavaHeapDumpGenerator_jni.h " +
4829         "--output-name " +
4830         "MemoryInfoBridge_jni.h " +
4831         "--output-name " +
4832         "MemoryPurgeManager_jni.h " +
4833         "--output-name " +
4834         "NativeUmaRecorder_jni.h " +
4835         "--output-name " +
4836         "StatisticsRecorderAndroid_jni.h " +
4837         "--output-name " +
4838         "PostTask_jni.h " +
4839         "--output-name " +
4840         "TaskRunnerImpl_jni.h " +
4841         "--input-file " +
4842         "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
4843         "--input-file " +
4844         "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
4845         "--input-file " +
4846         "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
4847         "--input-file " +
4848         "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
4849         "--input-file " +
4850         "$(location base/android/java/src/org/chromium/base/Callback.java) " +
4851         "--input-file " +
4852         "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
4853         "--input-file " +
4854         "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
4855         "--input-file " +
4856         "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
4857         "--input-file " +
4858         "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
4859         "--input-file " +
4860         "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
4861         "--input-file " +
4862         "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
4863         "--input-file " +
4864         "$(location base/android/java/src/org/chromium/base/FeatureMap.java) " +
4865         "--input-file " +
4866         "$(location base/android/java/src/org/chromium/base/Features.java) " +
4867         "--input-file " +
4868         "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
4869         "--input-file " +
4870         "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
4871         "--input-file " +
4872         "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
4873         "--input-file " +
4874         "$(location base/android/java/src/org/chromium/base/InputHintChecker.java) " +
4875         "--input-file " +
4876         "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
4877         "--input-file " +
4878         "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
4879         "--input-file " +
4880         "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
4881         "--input-file " +
4882         "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
4883         "--input-file " +
4884         "$(location base/android/java/src/org/chromium/base/JniAndroid.java) " +
4885         "--input-file " +
4886         "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
4887         "--input-file " +
4888         "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
4889         "--input-file " +
4890         "$(location base/android/java/src/org/chromium/base/PathService.java) " +
4891         "--input-file " +
4892         "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
4893         "--input-file " +
4894         "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
4895         "--input-file " +
4896         "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
4897         "--input-file " +
4898         "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
4899         "--input-file " +
4900         "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
4901         "--input-file " +
4902         "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
4903         "--input-file " +
4904         "$(location base/android/java/src/org/chromium/base/Token.java) " +
4905         "--input-file " +
4906         "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
4907         "--input-file " +
4908         "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
4909         "--input-file " +
4910         "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
4911         "--input-file " +
4912         "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
4913         "--input-file " +
4914         "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
4915         "--input-file " +
4916         "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
4917         "--input-file " +
4918         "$(location base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java) " +
4919         "--input-file " +
4920         "$(location base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java) " +
4921         "--input-file " +
4922         "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
4923         "--input-file " +
4924         "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
4925         "--input-file " +
4926         "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
4927         "--input-file " +
4928         "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java) " +
4929         "--package-prefix " +
4930         "android.net.connectivity",
4931    out: [
4932        "base/base_jni.srcjar",
4933        "base/base_jni/ApkAssets_jni.h",
4934        "base/base_jni/ApplicationStatus_jni.h",
4935        "base/base_jni/BuildInfo_jni.h",
4936        "base/base_jni/BundleUtils_jni.h",
4937        "base/base_jni/Callback_jni.h",
4938        "base/base_jni/CommandLine_jni.h",
4939        "base/base_jni/ContentUriUtils_jni.h",
4940        "base/base_jni/CpuFeatures_jni.h",
4941        "base/base_jni/EarlyTraceEvent_jni.h",
4942        "base/base_jni/EventLog_jni.h",
4943        "base/base_jni/FeatureList_jni.h",
4944        "base/base_jni/FeatureMap_jni.h",
4945        "base/base_jni/Features_jni.h",
4946        "base/base_jni/FieldTrialList_jni.h",
4947        "base/base_jni/FileUtils_jni.h",
4948        "base/base_jni/ImportantFileWriterAndroid_jni.h",
4949        "base/base_jni/InputHintChecker_jni.h",
4950        "base/base_jni/IntStringCallback_jni.h",
4951        "base/base_jni/JNIUtils_jni.h",
4952        "base/base_jni/JankMetricUMARecorder_jni.h",
4953        "base/base_jni/JavaExceptionReporter_jni.h",
4954        "base/base_jni/JavaHandlerThread_jni.h",
4955        "base/base_jni/JavaHeapDumpGenerator_jni.h",
4956        "base/base_jni/JniAndroid_jni.h",
4957        "base/base_jni/LibraryLoader_jni.h",
4958        "base/base_jni/LibraryPrefetcher_jni.h",
4959        "base/base_jni/LocaleUtils_jni.h",
4960        "base/base_jni/MemoryInfoBridge_jni.h",
4961        "base/base_jni/MemoryPressureListener_jni.h",
4962        "base/base_jni/MemoryPurgeManager_jni.h",
4963        "base/base_jni/NativeUmaRecorder_jni.h",
4964        "base/base_jni/PathService_jni.h",
4965        "base/base_jni/PathUtils_jni.h",
4966        "base/base_jni/PostTask_jni.h",
4967        "base/base_jni/PowerMonitor_jni.h",
4968        "base/base_jni/RadioUtils_jni.h",
4969        "base/base_jni/StatisticsRecorderAndroid_jni.h",
4970        "base/base_jni/SysUtils_jni.h",
4971        "base/base_jni/TaskRunnerImpl_jni.h",
4972        "base/base_jni/ThreadUtils_jni.h",
4973        "base/base_jni/TimezoneUtils_jni.h",
4974        "base/base_jni/Token_jni.h",
4975        "base/base_jni/TraceEvent_jni.h",
4976        "base/base_jni/UnguessableToken_jni.h",
4977    ],
4978    tool_files: [
4979        "third_party/jni_zero/codegen/called_by_native_header.py",
4980        "third_party/jni_zero/codegen/convert_type.py",
4981        "third_party/jni_zero/codegen/header_common.py",
4982        "third_party/jni_zero/codegen/natives_header.py",
4983        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
4984        "third_party/jni_zero/codegen/placeholder_java_type.py",
4985        "third_party/jni_zero/codegen/proxy_impl_java.py",
4986        "third_party/jni_zero/common.py",
4987        "third_party/jni_zero/java_lang_classes.py",
4988        "third_party/jni_zero/java_types.py",
4989        "third_party/jni_zero/jni_generator.py",
4990        "third_party/jni_zero/jni_registration_generator.py",
4991        "third_party/jni_zero/jni_zero.py",
4992        "third_party/jni_zero/parse.py",
4993        "third_party/jni_zero/proxy.py",
4994    ],
4995}
4996
4997// GN: //base:base_jni__action__testing
4998cc_genrule {
4999    name: "cronet_aml_base_base_jni__action__testing",
5000    srcs: [
5001        "base/android/java/src/org/chromium/base/ApkAssets.java",
5002        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
5003        "base/android/java/src/org/chromium/base/BuildInfo.java",
5004        "base/android/java/src/org/chromium/base/BundleUtils.java",
5005        "base/android/java/src/org/chromium/base/Callback.java",
5006        "base/android/java/src/org/chromium/base/CommandLine.java",
5007        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
5008        "base/android/java/src/org/chromium/base/CpuFeatures.java",
5009        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
5010        "base/android/java/src/org/chromium/base/EventLog.java",
5011        "base/android/java/src/org/chromium/base/FeatureList.java",
5012        "base/android/java/src/org/chromium/base/FeatureMap.java",
5013        "base/android/java/src/org/chromium/base/Features.java",
5014        "base/android/java/src/org/chromium/base/FieldTrialList.java",
5015        "base/android/java/src/org/chromium/base/FileUtils.java",
5016        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
5017        "base/android/java/src/org/chromium/base/InputHintChecker.java",
5018        "base/android/java/src/org/chromium/base/IntStringCallback.java",
5019        "base/android/java/src/org/chromium/base/JNIUtils.java",
5020        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
5021        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
5022        "base/android/java/src/org/chromium/base/JniAndroid.java",
5023        "base/android/java/src/org/chromium/base/LocaleUtils.java",
5024        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
5025        "base/android/java/src/org/chromium/base/PathService.java",
5026        "base/android/java/src/org/chromium/base/PathUtils.java",
5027        "base/android/java/src/org/chromium/base/PowerMonitor.java",
5028        "base/android/java/src/org/chromium/base/RadioUtils.java",
5029        "base/android/java/src/org/chromium/base/SysUtils.java",
5030        "base/android/java/src/org/chromium/base/ThreadUtils.java",
5031        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
5032        "base/android/java/src/org/chromium/base/Token.java",
5033        "base/android/java/src/org/chromium/base/TraceEvent.java",
5034        "base/android/java/src/org/chromium/base/UnguessableToken.java",
5035        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
5036        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
5037        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
5038        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
5039        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
5040        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
5041        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
5042        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
5043        "base/android/java/src/org/chromium/base/task/PostTask.java",
5044        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
5045    ],
5046    cmd: "mkdir -p $(genDir)/base &&  " +
5047         "mkdir -p $(genDir)/jni_headers/base/base_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
5048         "--output-dir " +
5049         "$(genDir)/base/base_jni " +
5050         "--extra-include " +
5051         "third_party/jni_zero/jni_zero_internal.h " +
5052         "--srcjar-path " +
5053         "$(genDir)/base/base_jni.srcjar " +
5054         "--placeholder-srcjar-path " +
5055         "$(genDir)/base/base_jni_placeholder.srcjar " +
5056         "--use-proxy-hash " +
5057         "--output-name " +
5058         "ApkAssets_jni.h " +
5059         "--output-name " +
5060         "ApplicationStatus_jni.h " +
5061         "--output-name " +
5062         "BuildInfo_jni.h " +
5063         "--output-name " +
5064         "BundleUtils_jni.h " +
5065         "--output-name " +
5066         "Callback_jni.h " +
5067         "--output-name " +
5068         "CommandLine_jni.h " +
5069         "--output-name " +
5070         "ContentUriUtils_jni.h " +
5071         "--output-name " +
5072         "CpuFeatures_jni.h " +
5073         "--output-name " +
5074         "EarlyTraceEvent_jni.h " +
5075         "--output-name " +
5076         "EventLog_jni.h " +
5077         "--output-name " +
5078         "FeatureList_jni.h " +
5079         "--output-name " +
5080         "FeatureMap_jni.h " +
5081         "--output-name " +
5082         "Features_jni.h " +
5083         "--output-name " +
5084         "FieldTrialList_jni.h " +
5085         "--output-name " +
5086         "FileUtils_jni.h " +
5087         "--output-name " +
5088         "ImportantFileWriterAndroid_jni.h " +
5089         "--output-name " +
5090         "InputHintChecker_jni.h " +
5091         "--output-name " +
5092         "IntStringCallback_jni.h " +
5093         "--output-name " +
5094         "JNIUtils_jni.h " +
5095         "--output-name " +
5096         "JavaExceptionReporter_jni.h " +
5097         "--output-name " +
5098         "JavaHandlerThread_jni.h " +
5099         "--output-name " +
5100         "JniAndroid_jni.h " +
5101         "--output-name " +
5102         "LocaleUtils_jni.h " +
5103         "--output-name " +
5104         "MemoryPressureListener_jni.h " +
5105         "--output-name " +
5106         "PathService_jni.h " +
5107         "--output-name " +
5108         "PathUtils_jni.h " +
5109         "--output-name " +
5110         "PowerMonitor_jni.h " +
5111         "--output-name " +
5112         "RadioUtils_jni.h " +
5113         "--output-name " +
5114         "SysUtils_jni.h " +
5115         "--output-name " +
5116         "ThreadUtils_jni.h " +
5117         "--output-name " +
5118         "TimezoneUtils_jni.h " +
5119         "--output-name " +
5120         "Token_jni.h " +
5121         "--output-name " +
5122         "TraceEvent_jni.h " +
5123         "--output-name " +
5124         "UnguessableToken_jni.h " +
5125         "--output-name " +
5126         "JankMetricUMARecorder_jni.h " +
5127         "--output-name " +
5128         "LibraryLoader_jni.h " +
5129         "--output-name " +
5130         "LibraryPrefetcher_jni.h " +
5131         "--output-name " +
5132         "JavaHeapDumpGenerator_jni.h " +
5133         "--output-name " +
5134         "MemoryInfoBridge_jni.h " +
5135         "--output-name " +
5136         "MemoryPurgeManager_jni.h " +
5137         "--output-name " +
5138         "NativeUmaRecorder_jni.h " +
5139         "--output-name " +
5140         "StatisticsRecorderAndroid_jni.h " +
5141         "--output-name " +
5142         "PostTask_jni.h " +
5143         "--output-name " +
5144         "TaskRunnerImpl_jni.h " +
5145         "--input-file " +
5146         "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
5147         "--input-file " +
5148         "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
5149         "--input-file " +
5150         "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
5151         "--input-file " +
5152         "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
5153         "--input-file " +
5154         "$(location base/android/java/src/org/chromium/base/Callback.java) " +
5155         "--input-file " +
5156         "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
5157         "--input-file " +
5158         "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
5159         "--input-file " +
5160         "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
5161         "--input-file " +
5162         "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
5163         "--input-file " +
5164         "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
5165         "--input-file " +
5166         "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
5167         "--input-file " +
5168         "$(location base/android/java/src/org/chromium/base/FeatureMap.java) " +
5169         "--input-file " +
5170         "$(location base/android/java/src/org/chromium/base/Features.java) " +
5171         "--input-file " +
5172         "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
5173         "--input-file " +
5174         "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
5175         "--input-file " +
5176         "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
5177         "--input-file " +
5178         "$(location base/android/java/src/org/chromium/base/InputHintChecker.java) " +
5179         "--input-file " +
5180         "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
5181         "--input-file " +
5182         "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
5183         "--input-file " +
5184         "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
5185         "--input-file " +
5186         "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
5187         "--input-file " +
5188         "$(location base/android/java/src/org/chromium/base/JniAndroid.java) " +
5189         "--input-file " +
5190         "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
5191         "--input-file " +
5192         "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
5193         "--input-file " +
5194         "$(location base/android/java/src/org/chromium/base/PathService.java) " +
5195         "--input-file " +
5196         "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
5197         "--input-file " +
5198         "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
5199         "--input-file " +
5200         "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
5201         "--input-file " +
5202         "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
5203         "--input-file " +
5204         "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
5205         "--input-file " +
5206         "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
5207         "--input-file " +
5208         "$(location base/android/java/src/org/chromium/base/Token.java) " +
5209         "--input-file " +
5210         "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
5211         "--input-file " +
5212         "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
5213         "--input-file " +
5214         "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
5215         "--input-file " +
5216         "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
5217         "--input-file " +
5218         "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
5219         "--input-file " +
5220         "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
5221         "--input-file " +
5222         "$(location base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java) " +
5223         "--input-file " +
5224         "$(location base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java) " +
5225         "--input-file " +
5226         "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
5227         "--input-file " +
5228         "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
5229         "--input-file " +
5230         "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
5231         "--input-file " +
5232         "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
5233    out: [
5234        "base/base_jni.srcjar",
5235        "base/base_jni/ApkAssets_jni.h",
5236        "base/base_jni/ApplicationStatus_jni.h",
5237        "base/base_jni/BuildInfo_jni.h",
5238        "base/base_jni/BundleUtils_jni.h",
5239        "base/base_jni/Callback_jni.h",
5240        "base/base_jni/CommandLine_jni.h",
5241        "base/base_jni/ContentUriUtils_jni.h",
5242        "base/base_jni/CpuFeatures_jni.h",
5243        "base/base_jni/EarlyTraceEvent_jni.h",
5244        "base/base_jni/EventLog_jni.h",
5245        "base/base_jni/FeatureList_jni.h",
5246        "base/base_jni/FeatureMap_jni.h",
5247        "base/base_jni/Features_jni.h",
5248        "base/base_jni/FieldTrialList_jni.h",
5249        "base/base_jni/FileUtils_jni.h",
5250        "base/base_jni/ImportantFileWriterAndroid_jni.h",
5251        "base/base_jni/InputHintChecker_jni.h",
5252        "base/base_jni/IntStringCallback_jni.h",
5253        "base/base_jni/JNIUtils_jni.h",
5254        "base/base_jni/JankMetricUMARecorder_jni.h",
5255        "base/base_jni/JavaExceptionReporter_jni.h",
5256        "base/base_jni/JavaHandlerThread_jni.h",
5257        "base/base_jni/JavaHeapDumpGenerator_jni.h",
5258        "base/base_jni/JniAndroid_jni.h",
5259        "base/base_jni/LibraryLoader_jni.h",
5260        "base/base_jni/LibraryPrefetcher_jni.h",
5261        "base/base_jni/LocaleUtils_jni.h",
5262        "base/base_jni/MemoryInfoBridge_jni.h",
5263        "base/base_jni/MemoryPressureListener_jni.h",
5264        "base/base_jni/MemoryPurgeManager_jni.h",
5265        "base/base_jni/NativeUmaRecorder_jni.h",
5266        "base/base_jni/PathService_jni.h",
5267        "base/base_jni/PathUtils_jni.h",
5268        "base/base_jni/PostTask_jni.h",
5269        "base/base_jni/PowerMonitor_jni.h",
5270        "base/base_jni/RadioUtils_jni.h",
5271        "base/base_jni/StatisticsRecorderAndroid_jni.h",
5272        "base/base_jni/SysUtils_jni.h",
5273        "base/base_jni/TaskRunnerImpl_jni.h",
5274        "base/base_jni/ThreadUtils_jni.h",
5275        "base/base_jni/TimezoneUtils_jni.h",
5276        "base/base_jni/Token_jni.h",
5277        "base/base_jni/TraceEvent_jni.h",
5278        "base/base_jni/UnguessableToken_jni.h",
5279    ],
5280    tool_files: [
5281        "third_party/jni_zero/codegen/called_by_native_header.py",
5282        "third_party/jni_zero/codegen/convert_type.py",
5283        "third_party/jni_zero/codegen/header_common.py",
5284        "third_party/jni_zero/codegen/natives_header.py",
5285        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
5286        "third_party/jni_zero/codegen/placeholder_java_type.py",
5287        "third_party/jni_zero/codegen/proxy_impl_java.py",
5288        "third_party/jni_zero/common.py",
5289        "third_party/jni_zero/java_lang_classes.py",
5290        "third_party/jni_zero/java_types.py",
5291        "third_party/jni_zero/jni_generator.py",
5292        "third_party/jni_zero/jni_registration_generator.py",
5293        "third_party/jni_zero/jni_zero.py",
5294        "third_party/jni_zero/parse.py",
5295        "third_party/jni_zero/proxy.py",
5296    ],
5297    apex_available: [
5298        "com.android.tethering",
5299    ],
5300}
5301
5302// GN: //base:base_jni__action__testing
5303java_genrule {
5304    name: "cronet_aml_base_base_jni__action__testing__java",
5305    srcs: [
5306        "base/android/java/src/org/chromium/base/ApkAssets.java",
5307        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
5308        "base/android/java/src/org/chromium/base/BuildInfo.java",
5309        "base/android/java/src/org/chromium/base/BundleUtils.java",
5310        "base/android/java/src/org/chromium/base/Callback.java",
5311        "base/android/java/src/org/chromium/base/CommandLine.java",
5312        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
5313        "base/android/java/src/org/chromium/base/CpuFeatures.java",
5314        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
5315        "base/android/java/src/org/chromium/base/EventLog.java",
5316        "base/android/java/src/org/chromium/base/FeatureList.java",
5317        "base/android/java/src/org/chromium/base/FeatureMap.java",
5318        "base/android/java/src/org/chromium/base/Features.java",
5319        "base/android/java/src/org/chromium/base/FieldTrialList.java",
5320        "base/android/java/src/org/chromium/base/FileUtils.java",
5321        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
5322        "base/android/java/src/org/chromium/base/InputHintChecker.java",
5323        "base/android/java/src/org/chromium/base/IntStringCallback.java",
5324        "base/android/java/src/org/chromium/base/JNIUtils.java",
5325        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
5326        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
5327        "base/android/java/src/org/chromium/base/JniAndroid.java",
5328        "base/android/java/src/org/chromium/base/LocaleUtils.java",
5329        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
5330        "base/android/java/src/org/chromium/base/PathService.java",
5331        "base/android/java/src/org/chromium/base/PathUtils.java",
5332        "base/android/java/src/org/chromium/base/PowerMonitor.java",
5333        "base/android/java/src/org/chromium/base/RadioUtils.java",
5334        "base/android/java/src/org/chromium/base/SysUtils.java",
5335        "base/android/java/src/org/chromium/base/ThreadUtils.java",
5336        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
5337        "base/android/java/src/org/chromium/base/Token.java",
5338        "base/android/java/src/org/chromium/base/TraceEvent.java",
5339        "base/android/java/src/org/chromium/base/UnguessableToken.java",
5340        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
5341        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
5342        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
5343        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
5344        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
5345        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
5346        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
5347        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
5348        "base/android/java/src/org/chromium/base/task/PostTask.java",
5349        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
5350    ],
5351    cmd: "mkdir -p $(genDir)/base &&  " +
5352         "mkdir -p $(genDir)/jni_headers/base/base_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
5353         "--output-dir " +
5354         "$(genDir)/base/base_jni " +
5355         "--extra-include " +
5356         "third_party/jni_zero/jni_zero_internal.h " +
5357         "--srcjar-path " +
5358         "$(genDir)/base/base_jni.srcjar " +
5359         "--placeholder-srcjar-path " +
5360         "$(genDir)/base/base_jni_placeholder.srcjar " +
5361         "--use-proxy-hash " +
5362         "--output-name " +
5363         "ApkAssets_jni.h " +
5364         "--output-name " +
5365         "ApplicationStatus_jni.h " +
5366         "--output-name " +
5367         "BuildInfo_jni.h " +
5368         "--output-name " +
5369         "BundleUtils_jni.h " +
5370         "--output-name " +
5371         "Callback_jni.h " +
5372         "--output-name " +
5373         "CommandLine_jni.h " +
5374         "--output-name " +
5375         "ContentUriUtils_jni.h " +
5376         "--output-name " +
5377         "CpuFeatures_jni.h " +
5378         "--output-name " +
5379         "EarlyTraceEvent_jni.h " +
5380         "--output-name " +
5381         "EventLog_jni.h " +
5382         "--output-name " +
5383         "FeatureList_jni.h " +
5384         "--output-name " +
5385         "FeatureMap_jni.h " +
5386         "--output-name " +
5387         "Features_jni.h " +
5388         "--output-name " +
5389         "FieldTrialList_jni.h " +
5390         "--output-name " +
5391         "FileUtils_jni.h " +
5392         "--output-name " +
5393         "ImportantFileWriterAndroid_jni.h " +
5394         "--output-name " +
5395         "InputHintChecker_jni.h " +
5396         "--output-name " +
5397         "IntStringCallback_jni.h " +
5398         "--output-name " +
5399         "JNIUtils_jni.h " +
5400         "--output-name " +
5401         "JavaExceptionReporter_jni.h " +
5402         "--output-name " +
5403         "JavaHandlerThread_jni.h " +
5404         "--output-name " +
5405         "JniAndroid_jni.h " +
5406         "--output-name " +
5407         "LocaleUtils_jni.h " +
5408         "--output-name " +
5409         "MemoryPressureListener_jni.h " +
5410         "--output-name " +
5411         "PathService_jni.h " +
5412         "--output-name " +
5413         "PathUtils_jni.h " +
5414         "--output-name " +
5415         "PowerMonitor_jni.h " +
5416         "--output-name " +
5417         "RadioUtils_jni.h " +
5418         "--output-name " +
5419         "SysUtils_jni.h " +
5420         "--output-name " +
5421         "ThreadUtils_jni.h " +
5422         "--output-name " +
5423         "TimezoneUtils_jni.h " +
5424         "--output-name " +
5425         "Token_jni.h " +
5426         "--output-name " +
5427         "TraceEvent_jni.h " +
5428         "--output-name " +
5429         "UnguessableToken_jni.h " +
5430         "--output-name " +
5431         "JankMetricUMARecorder_jni.h " +
5432         "--output-name " +
5433         "LibraryLoader_jni.h " +
5434         "--output-name " +
5435         "LibraryPrefetcher_jni.h " +
5436         "--output-name " +
5437         "JavaHeapDumpGenerator_jni.h " +
5438         "--output-name " +
5439         "MemoryInfoBridge_jni.h " +
5440         "--output-name " +
5441         "MemoryPurgeManager_jni.h " +
5442         "--output-name " +
5443         "NativeUmaRecorder_jni.h " +
5444         "--output-name " +
5445         "StatisticsRecorderAndroid_jni.h " +
5446         "--output-name " +
5447         "PostTask_jni.h " +
5448         "--output-name " +
5449         "TaskRunnerImpl_jni.h " +
5450         "--input-file " +
5451         "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
5452         "--input-file " +
5453         "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
5454         "--input-file " +
5455         "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
5456         "--input-file " +
5457         "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
5458         "--input-file " +
5459         "$(location base/android/java/src/org/chromium/base/Callback.java) " +
5460         "--input-file " +
5461         "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
5462         "--input-file " +
5463         "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
5464         "--input-file " +
5465         "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
5466         "--input-file " +
5467         "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
5468         "--input-file " +
5469         "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
5470         "--input-file " +
5471         "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
5472         "--input-file " +
5473         "$(location base/android/java/src/org/chromium/base/FeatureMap.java) " +
5474         "--input-file " +
5475         "$(location base/android/java/src/org/chromium/base/Features.java) " +
5476         "--input-file " +
5477         "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
5478         "--input-file " +
5479         "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
5480         "--input-file " +
5481         "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
5482         "--input-file " +
5483         "$(location base/android/java/src/org/chromium/base/InputHintChecker.java) " +
5484         "--input-file " +
5485         "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
5486         "--input-file " +
5487         "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
5488         "--input-file " +
5489         "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
5490         "--input-file " +
5491         "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
5492         "--input-file " +
5493         "$(location base/android/java/src/org/chromium/base/JniAndroid.java) " +
5494         "--input-file " +
5495         "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
5496         "--input-file " +
5497         "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
5498         "--input-file " +
5499         "$(location base/android/java/src/org/chromium/base/PathService.java) " +
5500         "--input-file " +
5501         "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
5502         "--input-file " +
5503         "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
5504         "--input-file " +
5505         "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
5506         "--input-file " +
5507         "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
5508         "--input-file " +
5509         "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
5510         "--input-file " +
5511         "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
5512         "--input-file " +
5513         "$(location base/android/java/src/org/chromium/base/Token.java) " +
5514         "--input-file " +
5515         "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
5516         "--input-file " +
5517         "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
5518         "--input-file " +
5519         "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
5520         "--input-file " +
5521         "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
5522         "--input-file " +
5523         "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
5524         "--input-file " +
5525         "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
5526         "--input-file " +
5527         "$(location base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java) " +
5528         "--input-file " +
5529         "$(location base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java) " +
5530         "--input-file " +
5531         "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
5532         "--input-file " +
5533         "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
5534         "--input-file " +
5535         "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
5536         "--input-file " +
5537         "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
5538    out: [
5539        "base/base_jni.srcjar",
5540        "base/base_jni/ApkAssets_jni.h",
5541        "base/base_jni/ApplicationStatus_jni.h",
5542        "base/base_jni/BuildInfo_jni.h",
5543        "base/base_jni/BundleUtils_jni.h",
5544        "base/base_jni/Callback_jni.h",
5545        "base/base_jni/CommandLine_jni.h",
5546        "base/base_jni/ContentUriUtils_jni.h",
5547        "base/base_jni/CpuFeatures_jni.h",
5548        "base/base_jni/EarlyTraceEvent_jni.h",
5549        "base/base_jni/EventLog_jni.h",
5550        "base/base_jni/FeatureList_jni.h",
5551        "base/base_jni/FeatureMap_jni.h",
5552        "base/base_jni/Features_jni.h",
5553        "base/base_jni/FieldTrialList_jni.h",
5554        "base/base_jni/FileUtils_jni.h",
5555        "base/base_jni/ImportantFileWriterAndroid_jni.h",
5556        "base/base_jni/InputHintChecker_jni.h",
5557        "base/base_jni/IntStringCallback_jni.h",
5558        "base/base_jni/JNIUtils_jni.h",
5559        "base/base_jni/JankMetricUMARecorder_jni.h",
5560        "base/base_jni/JavaExceptionReporter_jni.h",
5561        "base/base_jni/JavaHandlerThread_jni.h",
5562        "base/base_jni/JavaHeapDumpGenerator_jni.h",
5563        "base/base_jni/JniAndroid_jni.h",
5564        "base/base_jni/LibraryLoader_jni.h",
5565        "base/base_jni/LibraryPrefetcher_jni.h",
5566        "base/base_jni/LocaleUtils_jni.h",
5567        "base/base_jni/MemoryInfoBridge_jni.h",
5568        "base/base_jni/MemoryPressureListener_jni.h",
5569        "base/base_jni/MemoryPurgeManager_jni.h",
5570        "base/base_jni/NativeUmaRecorder_jni.h",
5571        "base/base_jni/PathService_jni.h",
5572        "base/base_jni/PathUtils_jni.h",
5573        "base/base_jni/PostTask_jni.h",
5574        "base/base_jni/PowerMonitor_jni.h",
5575        "base/base_jni/RadioUtils_jni.h",
5576        "base/base_jni/StatisticsRecorderAndroid_jni.h",
5577        "base/base_jni/SysUtils_jni.h",
5578        "base/base_jni/TaskRunnerImpl_jni.h",
5579        "base/base_jni/ThreadUtils_jni.h",
5580        "base/base_jni/TimezoneUtils_jni.h",
5581        "base/base_jni/Token_jni.h",
5582        "base/base_jni/TraceEvent_jni.h",
5583        "base/base_jni/UnguessableToken_jni.h",
5584    ],
5585    tool_files: [
5586        "third_party/jni_zero/codegen/called_by_native_header.py",
5587        "third_party/jni_zero/codegen/convert_type.py",
5588        "third_party/jni_zero/codegen/header_common.py",
5589        "third_party/jni_zero/codegen/natives_header.py",
5590        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
5591        "third_party/jni_zero/codegen/placeholder_java_type.py",
5592        "third_party/jni_zero/codegen/proxy_impl_java.py",
5593        "third_party/jni_zero/common.py",
5594        "third_party/jni_zero/java_lang_classes.py",
5595        "third_party/jni_zero/java_types.py",
5596        "third_party/jni_zero/jni_generator.py",
5597        "third_party/jni_zero/jni_registration_generator.py",
5598        "third_party/jni_zero/jni_zero.py",
5599        "third_party/jni_zero/parse.py",
5600        "third_party/jni_zero/proxy.py",
5601    ],
5602}
5603
5604// GN: //base:base_shared_preferences_java__testing
5605java_library {
5606    name: "cronet_aml_base_base_shared_preferences_java__testing",
5607    srcs: [
5608        "base/android/java/src/org/chromium/base/shared_preferences/KeyPrefix.java",
5609        "base/android/java/src/org/chromium/base/shared_preferences/KnownPreferenceKeyRegistries.java",
5610        "base/android/java/src/org/chromium/base/shared_preferences/PreferenceKeyChecker.java",
5611        "base/android/java/src/org/chromium/base/shared_preferences/PreferenceKeyRegistry.java",
5612        "base/android/java/src/org/chromium/base/shared_preferences/SharedPreferencesManager.java",
5613        "base/android/java/src/org/chromium/base/shared_preferences/StrictPreferenceKeyChecker.java",
5614    ],
5615    static_libs: [
5616        "cronet_aml_base_base_java__testing",
5617        "cronet_aml_build_android_build_java__testing",
5618        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
5619        "guava",
5620    ],
5621    apex_available: [
5622        "com.android.tethering",
5623    ],
5624    min_sdk_version: "30",
5625    libs: [
5626        "androidx.annotation_annotation",
5627    ],
5628    sdk_version: "current",
5629    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
5630}
5631
5632// GN: //base:base_shared_preferences_jni__action
5633cc_genrule {
5634    name: "cronet_aml_base_base_shared_preferences_jni__action",
5635    srcs: [
5636        "base/android/java/src/org/chromium/base/shared_preferences/SharedPreferencesManager.java",
5637    ],
5638    cmd: "mkdir -p $(genDir)/base &&  " +
5639         "mkdir -p $(genDir)/jni_headers/base/base_shared_preferences_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
5640         "--output-dir " +
5641         "$(genDir)/base/base_shared_preferences_jni " +
5642         "--extra-include " +
5643         "third_party/jni_zero/jni_zero_internal.h " +
5644         "--srcjar-path " +
5645         "$(genDir)/base/base_shared_preferences_jni.srcjar " +
5646         "--placeholder-srcjar-path " +
5647         "$(genDir)/base/base_shared_preferences_jni_placeholder.srcjar " +
5648         "--use-proxy-hash " +
5649         "--output-name " +
5650         "SharedPreferencesManager_jni.h " +
5651         "--input-file " +
5652         "$(location base/android/java/src/org/chromium/base/shared_preferences/SharedPreferencesManager.java) " +
5653         "--package-prefix " +
5654         "android.net.connectivity",
5655    out: [
5656        "base/base_shared_preferences_jni.srcjar",
5657        "base/base_shared_preferences_jni/SharedPreferencesManager_jni.h",
5658    ],
5659    tool_files: [
5660        "third_party/jni_zero/codegen/called_by_native_header.py",
5661        "third_party/jni_zero/codegen/convert_type.py",
5662        "third_party/jni_zero/codegen/header_common.py",
5663        "third_party/jni_zero/codegen/natives_header.py",
5664        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
5665        "third_party/jni_zero/codegen/placeholder_java_type.py",
5666        "third_party/jni_zero/codegen/proxy_impl_java.py",
5667        "third_party/jni_zero/common.py",
5668        "third_party/jni_zero/java_lang_classes.py",
5669        "third_party/jni_zero/java_types.py",
5670        "third_party/jni_zero/jni_generator.py",
5671        "third_party/jni_zero/jni_registration_generator.py",
5672        "third_party/jni_zero/jni_zero.py",
5673        "third_party/jni_zero/parse.py",
5674        "third_party/jni_zero/proxy.py",
5675    ],
5676    apex_available: [
5677        "com.android.tethering",
5678    ],
5679}
5680
5681// GN: //base:base_shared_preferences_jni__action__testing
5682cc_genrule {
5683    name: "cronet_aml_base_base_shared_preferences_jni__action__testing",
5684    srcs: [
5685        "base/android/java/src/org/chromium/base/shared_preferences/SharedPreferencesManager.java",
5686    ],
5687    cmd: "mkdir -p $(genDir)/base &&  " +
5688         "mkdir -p $(genDir)/jni_headers/base/base_shared_preferences_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
5689         "--output-dir " +
5690         "$(genDir)/base/base_shared_preferences_jni " +
5691         "--extra-include " +
5692         "third_party/jni_zero/jni_zero_internal.h " +
5693         "--srcjar-path " +
5694         "$(genDir)/base/base_shared_preferences_jni.srcjar " +
5695         "--placeholder-srcjar-path " +
5696         "$(genDir)/base/base_shared_preferences_jni_placeholder.srcjar " +
5697         "--use-proxy-hash " +
5698         "--output-name " +
5699         "SharedPreferencesManager_jni.h " +
5700         "--input-file " +
5701         "$(location base/android/java/src/org/chromium/base/shared_preferences/SharedPreferencesManager.java)",
5702    out: [
5703        "base/base_shared_preferences_jni.srcjar",
5704        "base/base_shared_preferences_jni/SharedPreferencesManager_jni.h",
5705    ],
5706    tool_files: [
5707        "third_party/jni_zero/codegen/called_by_native_header.py",
5708        "third_party/jni_zero/codegen/convert_type.py",
5709        "third_party/jni_zero/codegen/header_common.py",
5710        "third_party/jni_zero/codegen/natives_header.py",
5711        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
5712        "third_party/jni_zero/codegen/placeholder_java_type.py",
5713        "third_party/jni_zero/codegen/proxy_impl_java.py",
5714        "third_party/jni_zero/common.py",
5715        "third_party/jni_zero/java_lang_classes.py",
5716        "third_party/jni_zero/java_types.py",
5717        "third_party/jni_zero/jni_generator.py",
5718        "third_party/jni_zero/jni_registration_generator.py",
5719        "third_party/jni_zero/jni_zero.py",
5720        "third_party/jni_zero/parse.py",
5721        "third_party/jni_zero/proxy.py",
5722    ],
5723    apex_available: [
5724        "com.android.tethering",
5725    ],
5726}
5727
5728// GN: //base:base_static
5729cc_library_static {
5730    name: "cronet_aml_base_base_static",
5731    srcs: [
5732        "base/base_switches.cc",
5733    ],
5734    generated_headers: [
5735        "cronet_aml_base_fuzzing_buildflags",
5736        "cronet_aml_build_chromeos_buildflags",
5737    ],
5738    export_generated_headers: [
5739        "cronet_aml_base_fuzzing_buildflags",
5740        "cronet_aml_build_chromeos_buildflags",
5741    ],
5742    defaults: [
5743        "cronet_aml_cc_defaults",
5744    ],
5745    cflags: [
5746        "-DANDROID",
5747        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
5748        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
5749        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
5750        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5751        "-DHAVE_SYS_UIO_H",
5752        "-DNDEBUG",
5753        "-DNO_UNWIND_TABLES",
5754        "-DNVALGRIND",
5755        "-DOFFICIAL_BUILD",
5756        "-D_GNU_SOURCE",
5757        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5758        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
5759        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5760        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
5761        "-D__STDC_CONSTANT_MACROS",
5762        "-D__STDC_FORMAT_MACROS",
5763        "-O2",
5764        "-fdata-sections",
5765        "-ffunction-sections",
5766        "-fno-asynchronous-unwind-tables",
5767        "-fno-unwind-tables",
5768        "-fstack-protector",
5769        "-fvisibility-inlines-hidden",
5770        "-fvisibility=hidden",
5771        "-g1",
5772    ],
5773    local_include_dirs: [
5774        "./",
5775        "buildtools/third_party/libc++/",
5776        "third_party/libc++/src/include",
5777        "third_party/libc++abi/src/include",
5778    ],
5779    cpp_std: "c++20",
5780    ldflags: [
5781        "-Wl,--as-needed",
5782        "-Wl,--gc-sections",
5783        "-Wl,--icf=all",
5784    ],
5785    target: {
5786        android_arm: {
5787            cflags: [
5788                "-D_FORTIFY_SOURCE=2",
5789            ],
5790        },
5791        android_arm64: {
5792            cflags: [
5793                "-D_FORTIFY_SOURCE=2",
5794                "-mno-outline",
5795            ],
5796        },
5797        android_x86: {
5798            cflags: [
5799                "-D_FORTIFY_SOURCE=2",
5800                "-msse3",
5801            ],
5802        },
5803        android_x86_64: {
5804            cflags: [
5805                "-D_FORTIFY_SOURCE=2",
5806                "-msse3",
5807            ],
5808        },
5809    },
5810}
5811
5812// GN: //base:base_static__testing
5813cc_library_static {
5814    name: "cronet_aml_base_base_static__testing",
5815    srcs: [
5816        "base/base_switches.cc",
5817    ],
5818    host_supported: true,
5819    generated_headers: [
5820        "cronet_aml_base_fuzzing_buildflags__testing",
5821        "cronet_aml_build_chromeos_buildflags__testing",
5822    ],
5823    export_generated_headers: [
5824        "cronet_aml_base_fuzzing_buildflags__testing",
5825        "cronet_aml_build_chromeos_buildflags__testing",
5826    ],
5827    defaults: [
5828        "cronet_aml_cc_defaults",
5829    ],
5830    cflags: [
5831        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
5832        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
5833        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5834        "-DNDEBUG",
5835        "-DNO_UNWIND_TABLES",
5836        "-DNVALGRIND",
5837        "-DOFFICIAL_BUILD",
5838        "-D_GNU_SOURCE",
5839        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5840        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
5841        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5842        "-D__STDC_CONSTANT_MACROS",
5843        "-D__STDC_FORMAT_MACROS",
5844        "-O2",
5845        "-fdata-sections",
5846        "-ffunction-sections",
5847        "-fno-asynchronous-unwind-tables",
5848        "-fno-unwind-tables",
5849        "-fstack-protector",
5850        "-fvisibility-inlines-hidden",
5851        "-fvisibility=hidden",
5852        "-g1",
5853    ],
5854    local_include_dirs: [
5855        "./",
5856        "buildtools/third_party/libc++/",
5857        "third_party/libc++/src/include",
5858        "third_party/libc++abi/src/include",
5859    ],
5860    cpp_std: "c++20",
5861    ldflags: [
5862        "-Wl,--as-needed",
5863        "-Wl,--gc-sections",
5864        "-Wl,--icf=all",
5865    ],
5866    target: {
5867        android_arm: {
5868            cflags: [
5869                "-DANDROID",
5870                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
5871                "-DHAVE_SYS_UIO_H",
5872                "-D_FORTIFY_SOURCE=2",
5873                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
5874            ],
5875        },
5876        android_arm64: {
5877            cflags: [
5878                "-DANDROID",
5879                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
5880                "-DHAVE_SYS_UIO_H",
5881                "-D_FORTIFY_SOURCE=2",
5882                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
5883                "-mno-outline",
5884            ],
5885        },
5886        android_riscv64: {
5887            cflags: [
5888                "-DANDROID",
5889                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
5890                "-DHAVE_SYS_UIO_H",
5891                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
5892            ],
5893        },
5894        android_x86: {
5895            cflags: [
5896                "-DANDROID",
5897                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
5898                "-DHAVE_SYS_UIO_H",
5899                "-D_FORTIFY_SOURCE=2",
5900                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
5901                "-msse3",
5902            ],
5903        },
5904        android_x86_64: {
5905            cflags: [
5906                "-DANDROID",
5907                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
5908                "-DHAVE_SYS_UIO_H",
5909                "-D_FORTIFY_SOURCE=2",
5910                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
5911                "-msse3",
5912            ],
5913        },
5914        host: {
5915            cflags: [
5916                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
5917                "-DUSE_AURA=1",
5918                "-DUSE_OZONE=1",
5919                "-DUSE_UDEV",
5920                "-D_FILE_OFFSET_BITS=64",
5921                "-D_FORTIFY_SOURCE=2",
5922                "-D_LARGEFILE64_SOURCE",
5923                "-D_LARGEFILE_SOURCE",
5924                "-msse3",
5925            ],
5926            compile_multilib: "64",
5927        },
5928    },
5929}
5930
5931// GN: //base:build_date
5932cc_genrule {
5933    name: "cronet_aml_base_build_date",
5934    cmd: "mkdir -p $(genDir)/base && $(location base/write_build_date_header.py) $(out) " +
5935         "1713323089",
5936    out: [
5937        "base/generated_build_date.h",
5938    ],
5939    tool_files: [
5940        "base/write_build_date_header.py",
5941    ],
5942    apex_available: [
5943        "com.android.tethering",
5944    ],
5945}
5946
5947// GN: //base:build_date__testing
5948cc_genrule {
5949    name: "cronet_aml_base_build_date__testing",
5950    cmd: "mkdir -p $(genDir)/base && $(location base/write_build_date_header.py) $(out) " +
5951         "1713323089",
5952    host_supported: true,
5953    out: [
5954        "base/generated_build_date.h",
5955    ],
5956    tool_files: [
5957        "base/write_build_date_header.py",
5958    ],
5959    apex_available: [
5960        "com.android.tethering",
5961    ],
5962}
5963
5964// GN: //base:cfi_buildflags
5965cc_genrule {
5966    name: "cronet_aml_base_cfi_buildflags",
5967    cmd: "mkdir -p $(genDir)/base && echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_DIAG=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
5968         "$(location build/write_buildflag_header.py) --output " +
5969         "$(out) " +
5970         "--rulename " +
5971         "//base:cfi_buildflags " +
5972         "--gen-dir " +
5973         ". " +
5974         "--definitions " +
5975         "/dev/stdin",
5976    out: [
5977        "base/cfi_buildflags.h",
5978    ],
5979    tool_files: [
5980        "build/write_buildflag_header.py",
5981    ],
5982    apex_available: [
5983        "com.android.tethering",
5984    ],
5985}
5986
5987// GN: //base:cfi_buildflags__testing
5988cc_genrule {
5989    name: "cronet_aml_base_cfi_buildflags__testing",
5990    cmd: "mkdir -p $(genDir)/base && echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_DIAG=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
5991         "$(location build/write_buildflag_header.py) --output " +
5992         "$(out) " +
5993         "--rulename " +
5994         "//base:cfi_buildflags " +
5995         "--gen-dir " +
5996         ". " +
5997         "--definitions " +
5998         "/dev/stdin",
5999    host_supported: true,
6000    out: [
6001        "base/cfi_buildflags.h",
6002    ],
6003    tool_files: [
6004        "build/write_buildflag_header.py",
6005    ],
6006    apex_available: [
6007        "com.android.tethering",
6008    ],
6009}
6010
6011// GN: //base:check_version_internal
6012cc_library_static {
6013    name: "cronet_aml_base_check_version_internal",
6014    generated_headers: [
6015        "cronet_aml_base_check_version_internal_action",
6016    ],
6017    export_generated_headers: [
6018        "cronet_aml_base_check_version_internal_action",
6019    ],
6020    defaults: [
6021        "cronet_aml_cc_defaults",
6022    ],
6023    cflags: [
6024        "-DANDROID",
6025        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
6026        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
6027        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
6028        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
6029        "-DHAVE_SYS_UIO_H",
6030        "-DNDEBUG",
6031        "-DNO_UNWIND_TABLES",
6032        "-DNVALGRIND",
6033        "-DOFFICIAL_BUILD",
6034        "-D_GNU_SOURCE",
6035        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6036        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
6037        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6038        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
6039        "-D__STDC_CONSTANT_MACROS",
6040        "-D__STDC_FORMAT_MACROS",
6041        "-fdata-sections",
6042        "-ffunction-sections",
6043        "-fno-asynchronous-unwind-tables",
6044        "-fno-unwind-tables",
6045        "-fstack-protector",
6046        "-fvisibility-inlines-hidden",
6047        "-fvisibility=hidden",
6048        "-g1",
6049    ],
6050    local_include_dirs: [
6051        "./",
6052        "buildtools/third_party/libc++/",
6053        "third_party/libc++/src/include",
6054        "third_party/libc++abi/src/include",
6055    ],
6056    cpp_std: "c++20",
6057    ldflags: [
6058        "-Wl,--as-needed",
6059        "-Wl,--gc-sections",
6060        "-Wl,--icf=all",
6061    ],
6062    target: {
6063        android_arm: {
6064            cflags: [
6065                "-D_FORTIFY_SOURCE=2",
6066            ],
6067        },
6068        android_arm64: {
6069            cflags: [
6070                "-D_FORTIFY_SOURCE=2",
6071                "-O2",
6072                "-mno-outline",
6073            ],
6074        },
6075        android_x86: {
6076            cflags: [
6077                "-D_FORTIFY_SOURCE=2",
6078                "-msse3",
6079            ],
6080        },
6081        android_x86_64: {
6082            cflags: [
6083                "-D_FORTIFY_SOURCE=2",
6084                "-msse3",
6085            ],
6086        },
6087    },
6088}
6089
6090// GN: //base:check_version_internal__testing
6091cc_library_static {
6092    name: "cronet_aml_base_check_version_internal__testing",
6093    host_supported: true,
6094    generated_headers: [
6095        "cronet_aml_base_check_version_internal_action__testing",
6096    ],
6097    export_generated_headers: [
6098        "cronet_aml_base_check_version_internal_action__testing",
6099    ],
6100    defaults: [
6101        "cronet_aml_cc_defaults",
6102    ],
6103    cflags: [
6104        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
6105        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
6106        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
6107        "-DNDEBUG",
6108        "-DNO_UNWIND_TABLES",
6109        "-DNVALGRIND",
6110        "-DOFFICIAL_BUILD",
6111        "-D_GNU_SOURCE",
6112        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6113        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
6114        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6115        "-D__STDC_CONSTANT_MACROS",
6116        "-D__STDC_FORMAT_MACROS",
6117        "-fdata-sections",
6118        "-ffunction-sections",
6119        "-fno-asynchronous-unwind-tables",
6120        "-fno-unwind-tables",
6121        "-fstack-protector",
6122        "-fvisibility-inlines-hidden",
6123        "-fvisibility=hidden",
6124        "-g1",
6125    ],
6126    local_include_dirs: [
6127        "./",
6128        "buildtools/third_party/libc++/",
6129        "third_party/libc++/src/include",
6130        "third_party/libc++abi/src/include",
6131    ],
6132    cpp_std: "c++20",
6133    ldflags: [
6134        "-Wl,--as-needed",
6135        "-Wl,--gc-sections",
6136        "-Wl,--icf=all",
6137    ],
6138    target: {
6139        android_arm: {
6140            cflags: [
6141                "-DANDROID",
6142                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
6143                "-DHAVE_SYS_UIO_H",
6144                "-D_FORTIFY_SOURCE=2",
6145                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
6146            ],
6147        },
6148        android_arm64: {
6149            cflags: [
6150                "-DANDROID",
6151                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
6152                "-DHAVE_SYS_UIO_H",
6153                "-D_FORTIFY_SOURCE=2",
6154                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
6155                "-O2",
6156                "-mno-outline",
6157            ],
6158        },
6159        android_riscv64: {
6160            cflags: [
6161                "-DANDROID",
6162                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
6163                "-DHAVE_SYS_UIO_H",
6164                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
6165            ],
6166        },
6167        android_x86: {
6168            cflags: [
6169                "-DANDROID",
6170                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
6171                "-DHAVE_SYS_UIO_H",
6172                "-D_FORTIFY_SOURCE=2",
6173                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
6174                "-msse3",
6175            ],
6176        },
6177        android_x86_64: {
6178            cflags: [
6179                "-DANDROID",
6180                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
6181                "-DHAVE_SYS_UIO_H",
6182                "-D_FORTIFY_SOURCE=2",
6183                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
6184                "-msse3",
6185            ],
6186        },
6187        host: {
6188            cflags: [
6189                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
6190                "-DUSE_AURA=1",
6191                "-DUSE_OZONE=1",
6192                "-DUSE_UDEV",
6193                "-D_FILE_OFFSET_BITS=64",
6194                "-D_FORTIFY_SOURCE=2",
6195                "-D_LARGEFILE64_SOURCE",
6196                "-D_LARGEFILE_SOURCE",
6197                "-O2",
6198                "-msse3",
6199            ],
6200            compile_multilib: "64",
6201        },
6202    },
6203}
6204
6205// GN: //base:check_version_internal_action
6206cc_genrule {
6207    name: "cronet_aml_base_check_version_internal_action",
6208    cmd: "mkdir -p $(genDir)/base && $(location build/util/version.py) --official " +
6209         "-f " +
6210         "$(location chrome/VERSION) " +
6211         "-e " +
6212         "'VERSION_MAJOR=\"%s\" % (MAJOR)' " +
6213         "-e " +
6214         "'NEXT_VERSION_MAJOR=\"%d\" % (int(MAJOR) + 1)' " +
6215         "-o " +
6216         "$(out) " +
6217         "$(location base/check_version_internal.h.in)",
6218    out: [
6219        "base/check_version_internal.h",
6220    ],
6221    tool_files: [
6222        "base/check_version_internal.h.in",
6223        "build/util/LASTCHANGE",
6224        "build/util/android_chrome_version.py",
6225        "build/util/version.py",
6226        "chrome/VERSION",
6227    ],
6228    apex_available: [
6229        "com.android.tethering",
6230    ],
6231}
6232
6233// GN: //base:check_version_internal_action__testing
6234cc_genrule {
6235    name: "cronet_aml_base_check_version_internal_action__testing",
6236    cmd: "mkdir -p $(genDir)/base && $(location build/util/version.py) --official " +
6237         "-f " +
6238         "$(location chrome/VERSION) " +
6239         "-e " +
6240         "'VERSION_MAJOR=\"%s\" % (MAJOR)' " +
6241         "-e " +
6242         "'NEXT_VERSION_MAJOR=\"%d\" % (int(MAJOR) + 1)' " +
6243         "-o " +
6244         "$(out) " +
6245         "$(location base/check_version_internal.h.in)",
6246    host_supported: true,
6247    out: [
6248        "base/check_version_internal.h",
6249    ],
6250    tool_files: [
6251        "base/check_version_internal.h.in",
6252        "build/util/LASTCHANGE",
6253        "build/util/android_chrome_version.py",
6254        "build/util/version.py",
6255        "chrome/VERSION",
6256    ],
6257    apex_available: [
6258        "com.android.tethering",
6259    ],
6260}
6261
6262// GN: //base:clang_profiling_buildflags
6263cc_genrule {
6264    name: "cronet_aml_base_clang_profiling_buildflags",
6265    cmd: "mkdir -p $(genDir)/base && echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
6266         "$(location build/write_buildflag_header.py) --output " +
6267         "$(out) " +
6268         "--rulename " +
6269         "//base:clang_profiling_buildflags " +
6270         "--gen-dir " +
6271         ". " +
6272         "--definitions " +
6273         "/dev/stdin",
6274    out: [
6275        "base/clang_profiling_buildflags.h",
6276    ],
6277    tool_files: [
6278        "build/write_buildflag_header.py",
6279    ],
6280    apex_available: [
6281        "com.android.tethering",
6282    ],
6283}
6284
6285// GN: //base:clang_profiling_buildflags__testing
6286cc_genrule {
6287    name: "cronet_aml_base_clang_profiling_buildflags__testing",
6288    cmd: "mkdir -p $(genDir)/base && echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
6289         "$(location build/write_buildflag_header.py) --output " +
6290         "$(out) " +
6291         "--rulename " +
6292         "//base:clang_profiling_buildflags " +
6293         "--gen-dir " +
6294         ". " +
6295         "--definitions " +
6296         "/dev/stdin",
6297    host_supported: true,
6298    out: [
6299        "base/clang_profiling_buildflags.h",
6300    ],
6301    tool_files: [
6302        "build/write_buildflag_header.py",
6303    ],
6304    apex_available: [
6305        "com.android.tethering",
6306    ],
6307}
6308
6309// GN: //base:debugging_buildflags
6310cc_genrule {
6311    name: "cronet_aml_base_debugging_buildflags",
6312    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
6313         "then " +
6314         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"true\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6315         "$(location build/write_buildflag_header.py) --output " +
6316         "$(out) " +
6317         "--rulename " +
6318         "//base:debugging_buildflags " +
6319         "--gen-dir " +
6320         ". " +
6321         "--definitions " +
6322         "/dev/stdin; " +
6323         "fi; " +
6324         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
6325         "then " +
6326         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6327         "$(location build/write_buildflag_header.py) --output " +
6328         "$(out) " +
6329         "--rulename " +
6330         "//base:debugging_buildflags " +
6331         "--gen-dir " +
6332         ". " +
6333         "--definitions " +
6334         "/dev/stdin; " +
6335         "fi; " +
6336         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
6337         "then " +
6338         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6339         "$(location build/write_buildflag_header.py) --output " +
6340         "$(out) " +
6341         "--rulename " +
6342         "//base:debugging_buildflags " +
6343         "--gen-dir " +
6344         ". " +
6345         "--definitions " +
6346         "/dev/stdin; " +
6347         "fi; " +
6348         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
6349         "then " +
6350         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6351         "$(location build/write_buildflag_header.py) --output " +
6352         "$(out) " +
6353         "--rulename " +
6354         "//base:debugging_buildflags " +
6355         "--gen-dir " +
6356         ". " +
6357         "--definitions " +
6358         "/dev/stdin; " +
6359         "fi; " +
6360         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
6361         "then " +
6362         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6363         "$(location build/write_buildflag_header.py) --output " +
6364         "$(out) " +
6365         "--rulename " +
6366         "//base:debugging_buildflags " +
6367         "--gen-dir " +
6368         ". " +
6369         "--definitions " +
6370         "/dev/stdin; " +
6371         "fi;",
6372    out: [
6373        "base/debug/debugging_buildflags.h",
6374    ],
6375    tool_files: [
6376        "build/write_buildflag_header.py",
6377    ],
6378    apex_available: [
6379        "com.android.tethering",
6380    ],
6381}
6382
6383// GN: //base:debugging_buildflags__testing
6384cc_genrule {
6385    name: "cronet_aml_base_debugging_buildflags__testing",
6386    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
6387         "then " +
6388         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"true\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6389         "$(location build/write_buildflag_header.py) --output " +
6390         "$(out) " +
6391         "--rulename " +
6392         "//base:debugging_buildflags " +
6393         "--gen-dir " +
6394         ". " +
6395         "--definitions " +
6396         "/dev/stdin; " +
6397         "fi; " +
6398         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
6399         "then " +
6400         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6401         "$(location build/write_buildflag_header.py) --output " +
6402         "$(out) " +
6403         "--rulename " +
6404         "//base:debugging_buildflags " +
6405         "--gen-dir " +
6406         ". " +
6407         "--definitions " +
6408         "/dev/stdin; " +
6409         "fi; " +
6410         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
6411         "then " +
6412         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6413         "$(location build/write_buildflag_header.py) --output " +
6414         "$(out) " +
6415         "--rulename " +
6416         "//base:debugging_buildflags " +
6417         "--gen-dir " +
6418         ". " +
6419         "--definitions " +
6420         "/dev/stdin; " +
6421         "fi; " +
6422         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
6423         "then " +
6424         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6425         "$(location build/write_buildflag_header.py) --output " +
6426         "$(out) " +
6427         "--rulename " +
6428         "//base:debugging_buildflags " +
6429         "--gen-dir " +
6430         ". " +
6431         "--definitions " +
6432         "/dev/stdin; " +
6433         "fi; " +
6434         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
6435         "then " +
6436         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6437         "$(location build/write_buildflag_header.py) --output " +
6438         "$(out) " +
6439         "--rulename " +
6440         "//base:debugging_buildflags " +
6441         "--gen-dir " +
6442         ". " +
6443         "--definitions " +
6444         "/dev/stdin; " +
6445         "fi; " +
6446         "if [[ $$CC_OS != 'android' ]]; " +
6447         "then " +
6448         "mkdir -p $(genDir)/base/debug && echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"true\" ENABLE_COMMANDLINE_SEQUENCE_CHECKS=\"false\" ENABLE_ALLOCATION_STACK_TRACE_RECORDER=\"false\" ENABLE_ALLOCATION_TRACE_RECORDER_FULL_REPORTING=\"false\"' | " +
6449         "$(location build/write_buildflag_header.py) --output " +
6450         "$(out) " +
6451         "--rulename " +
6452         "//base:debugging_buildflags " +
6453         "--gen-dir " +
6454         ". " +
6455         "--definitions " +
6456         "/dev/stdin; " +
6457         "fi;",
6458    host_supported: true,
6459    out: [
6460        "base/debug/debugging_buildflags.h",
6461    ],
6462    tool_files: [
6463        "build/write_buildflag_header.py",
6464    ],
6465    apex_available: [
6466        "com.android.tethering",
6467    ],
6468}
6469
6470// GN: //base:feature_list_buildflags
6471cc_genrule {
6472    name: "cronet_aml_base_feature_list_buildflags",
6473    cmd: "mkdir -p $(genDir)/base && echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
6474         "$(location build/write_buildflag_header.py) --output " +
6475         "$(out) " +
6476         "--rulename " +
6477         "//base:feature_list_buildflags " +
6478         "--gen-dir " +
6479         ". " +
6480         "--definitions " +
6481         "/dev/stdin",
6482    out: [
6483        "base/feature_list_buildflags.h",
6484    ],
6485    tool_files: [
6486        "build/write_buildflag_header.py",
6487    ],
6488    apex_available: [
6489        "com.android.tethering",
6490    ],
6491}
6492
6493// GN: //base:feature_list_buildflags__testing
6494cc_genrule {
6495    name: "cronet_aml_base_feature_list_buildflags__testing",
6496    cmd: "mkdir -p $(genDir)/base && echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
6497         "$(location build/write_buildflag_header.py) --output " +
6498         "$(out) " +
6499         "--rulename " +
6500         "//base:feature_list_buildflags " +
6501         "--gen-dir " +
6502         ". " +
6503         "--definitions " +
6504         "/dev/stdin",
6505    host_supported: true,
6506    out: [
6507        "base/feature_list_buildflags.h",
6508    ],
6509    tool_files: [
6510        "build/write_buildflag_header.py",
6511    ],
6512    apex_available: [
6513        "com.android.tethering",
6514    ],
6515}
6516
6517// GN: //base:fuzzing_buildflags
6518cc_genrule {
6519    name: "cronet_aml_base_fuzzing_buildflags",
6520    cmd: "mkdir -p $(genDir)/base && echo '--flags USE_FUZZING_ENGINE=\"false\"' | " +
6521         "$(location build/write_buildflag_header.py) --output " +
6522         "$(out) " +
6523         "--rulename " +
6524         "//base:fuzzing_buildflags " +
6525         "--gen-dir " +
6526         ". " +
6527         "--definitions " +
6528         "/dev/stdin",
6529    out: [
6530        "base/fuzzing_buildflags.h",
6531    ],
6532    tool_files: [
6533        "build/write_buildflag_header.py",
6534    ],
6535    apex_available: [
6536        "com.android.tethering",
6537    ],
6538}
6539
6540// GN: //base:fuzzing_buildflags__testing
6541cc_genrule {
6542    name: "cronet_aml_base_fuzzing_buildflags__testing",
6543    cmd: "mkdir -p $(genDir)/base && echo '--flags USE_FUZZING_ENGINE=\"false\"' | " +
6544         "$(location build/write_buildflag_header.py) --output " +
6545         "$(out) " +
6546         "--rulename " +
6547         "//base:fuzzing_buildflags " +
6548         "--gen-dir " +
6549         ". " +
6550         "--definitions " +
6551         "/dev/stdin",
6552    host_supported: true,
6553    out: [
6554        "base/fuzzing_buildflags.h",
6555    ],
6556    tool_files: [
6557        "build/write_buildflag_header.py",
6558    ],
6559    apex_available: [
6560        "com.android.tethering",
6561    ],
6562}
6563
6564// GN: //base:i18n__testing
6565cc_library_static {
6566    name: "cronet_aml_base_i18n__testing",
6567    srcs: [
6568        "base/i18n/base_i18n_switches.cc",
6569        "base/i18n/break_iterator.cc",
6570        "base/i18n/case_conversion.cc",
6571        "base/i18n/char_iterator.cc",
6572        "base/i18n/character_encoding.cc",
6573        "base/i18n/encoding_detection.cc",
6574        "base/i18n/file_util_icu.cc",
6575        "base/i18n/i18n_constants.cc",
6576        "base/i18n/icu_string_conversions.cc",
6577        "base/i18n/icu_util.cc",
6578        "base/i18n/message_formatter.cc",
6579        "base/i18n/number_formatting.cc",
6580        "base/i18n/rtl.cc",
6581        "base/i18n/streaming_utf8_validator.cc",
6582        "base/i18n/string_compare.cc",
6583        "base/i18n/string_search.cc",
6584        "base/i18n/time_formatting.cc",
6585        "base/i18n/timezone.cc",
6586        "base/i18n/utf8_validator_tables.cc",
6587    ],
6588    shared_libs: [
6589        "libandroid",
6590        "liblog",
6591    ],
6592    generated_headers: [
6593        "cronet_aml_base_allocator_buildflags__testing",
6594        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
6595        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
6596        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
6597        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
6598        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
6599        "cronet_aml_base_anchor_functions_buildflags__testing",
6600        "cronet_aml_base_build_date__testing",
6601        "cronet_aml_base_cfi_buildflags__testing",
6602        "cronet_aml_base_check_version_internal_action__testing",
6603        "cronet_aml_base_clang_profiling_buildflags__testing",
6604        "cronet_aml_base_debugging_buildflags__testing",
6605        "cronet_aml_base_feature_list_buildflags__testing",
6606        "cronet_aml_base_fuzzing_buildflags__testing",
6607        "cronet_aml_base_ios_cronet_buildflags__testing",
6608        "cronet_aml_base_logging_buildflags__testing",
6609        "cronet_aml_base_message_pump_buildflags__testing",
6610        "cronet_aml_base_orderfile_buildflags__testing",
6611        "cronet_aml_base_power_monitor_buildflags__testing",
6612        "cronet_aml_base_profiler_buildflags__testing",
6613        "cronet_aml_base_protected_memory_buildflags__testing",
6614        "cronet_aml_base_rust_buildflags__testing",
6615        "cronet_aml_base_sanitizer_buildflags__testing",
6616        "cronet_aml_base_synchronization_buildflags__testing",
6617        "cronet_aml_base_tracing_buildflags__testing",
6618        "cronet_aml_build_blink_buildflags__testing",
6619        "cronet_aml_build_branding_buildflags__testing",
6620        "cronet_aml_build_chromecast_buildflags__testing",
6621        "cronet_aml_build_chromeos_buildflags__testing",
6622        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
6623        "cronet_aml_build_ios_buildflags__testing",
6624    ],
6625    export_generated_headers: [
6626        "cronet_aml_base_allocator_buildflags__testing",
6627        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
6628        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
6629        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
6630        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
6631        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
6632        "cronet_aml_base_anchor_functions_buildflags__testing",
6633        "cronet_aml_base_build_date__testing",
6634        "cronet_aml_base_cfi_buildflags__testing",
6635        "cronet_aml_base_check_version_internal_action__testing",
6636        "cronet_aml_base_clang_profiling_buildflags__testing",
6637        "cronet_aml_base_debugging_buildflags__testing",
6638        "cronet_aml_base_feature_list_buildflags__testing",
6639        "cronet_aml_base_fuzzing_buildflags__testing",
6640        "cronet_aml_base_ios_cronet_buildflags__testing",
6641        "cronet_aml_base_logging_buildflags__testing",
6642        "cronet_aml_base_message_pump_buildflags__testing",
6643        "cronet_aml_base_orderfile_buildflags__testing",
6644        "cronet_aml_base_power_monitor_buildflags__testing",
6645        "cronet_aml_base_profiler_buildflags__testing",
6646        "cronet_aml_base_protected_memory_buildflags__testing",
6647        "cronet_aml_base_rust_buildflags__testing",
6648        "cronet_aml_base_sanitizer_buildflags__testing",
6649        "cronet_aml_base_synchronization_buildflags__testing",
6650        "cronet_aml_base_tracing_buildflags__testing",
6651        "cronet_aml_build_blink_buildflags__testing",
6652        "cronet_aml_build_branding_buildflags__testing",
6653        "cronet_aml_build_chromecast_buildflags__testing",
6654        "cronet_aml_build_chromeos_buildflags__testing",
6655        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
6656        "cronet_aml_build_ios_buildflags__testing",
6657    ],
6658    defaults: [
6659        "cronet_aml_cc_defaults",
6660    ],
6661    cflags: [
6662        "-DANDROID",
6663        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
6664        "-DBASE_I18N_IMPLEMENTATION",
6665        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
6666        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
6667        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
6668        "-DHAVE_SYS_UIO_H",
6669        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
6670        "-DNDEBUG",
6671        "-DNO_UNWIND_TABLES",
6672        "-DNVALGRIND",
6673        "-DOFFICIAL_BUILD",
6674        "-DUSE_CHROMIUM_ICU=1",
6675        "-DU_ENABLE_DYLOAD=0",
6676        "-DU_ENABLE_RESOURCE_TRACING=0",
6677        "-DU_ENABLE_TRACING=1",
6678        "-DU_STATIC_IMPLEMENTATION",
6679        "-DU_USING_ICU_NAMESPACE=0",
6680        "-D_GNU_SOURCE",
6681        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6682        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
6683        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6684        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
6685        "-D__STDC_CONSTANT_MACROS",
6686        "-D__STDC_FORMAT_MACROS",
6687        "-O2",
6688        "-fdata-sections",
6689        "-ffunction-sections",
6690        "-fno-asynchronous-unwind-tables",
6691        "-fno-unwind-tables",
6692        "-fstack-protector",
6693        "-fvisibility-inlines-hidden",
6694        "-fvisibility=hidden",
6695        "-g1",
6696    ],
6697    local_include_dirs: [
6698        "./",
6699        "base/allocator/partition_allocator/src/",
6700        "buildtools/third_party/libc++/",
6701        "third_party/abseil-cpp/",
6702        "third_party/boringssl/src/include/",
6703        "third_party/ced/src/",
6704        "third_party/icu/source/common/",
6705        "third_party/icu/source/i18n/",
6706        "third_party/libc++/src/include",
6707        "third_party/libc++abi/src/include",
6708    ],
6709    cpp_std: "c++20",
6710    ldflags: [
6711        "-Wl,--as-needed",
6712        "-Wl,--gc-sections",
6713        "-Wl,--icf=all",
6714        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
6715        "-Wl,-wrap,asprintf",
6716        "-Wl,-wrap,calloc",
6717        "-Wl,-wrap,free",
6718        "-Wl,-wrap,getcwd",
6719        "-Wl,-wrap,malloc",
6720        "-Wl,-wrap,malloc_usable_size",
6721        "-Wl,-wrap,memalign",
6722        "-Wl,-wrap,posix_memalign",
6723        "-Wl,-wrap,pvalloc",
6724        "-Wl,-wrap,realloc",
6725        "-Wl,-wrap,realpath",
6726        "-Wl,-wrap,strdup",
6727        "-Wl,-wrap,strndup",
6728        "-Wl,-wrap,valloc",
6729        "-Wl,-wrap,vasprintf",
6730    ],
6731    target: {
6732        android_arm: {
6733            cflags: [
6734                "-D_FORTIFY_SOURCE=2",
6735            ],
6736        },
6737        android_arm64: {
6738            cflags: [
6739                "-D_FORTIFY_SOURCE=2",
6740                "-mno-outline",
6741            ],
6742        },
6743        android_x86: {
6744            cflags: [
6745                "-D_FORTIFY_SOURCE=2",
6746                "-msse3",
6747            ],
6748        },
6749        android_x86_64: {
6750            cflags: [
6751                "-D_FORTIFY_SOURCE=2",
6752                "-msse3",
6753            ],
6754        },
6755    },
6756}
6757
6758// GN: //base:ios_cronet_buildflags
6759cc_genrule {
6760    name: "cronet_aml_base_ios_cronet_buildflags",
6761    cmd: "mkdir -p $(genDir)/base/message_loop && echo '--flags CRONET_BUILD=\"true\"' | " +
6762         "$(location build/write_buildflag_header.py) --output " +
6763         "$(out) " +
6764         "--rulename " +
6765         "//base:ios_cronet_buildflags " +
6766         "--gen-dir " +
6767         ". " +
6768         "--definitions " +
6769         "/dev/stdin",
6770    out: [
6771        "base/message_loop/ios_cronet_buildflags.h",
6772    ],
6773    tool_files: [
6774        "build/write_buildflag_header.py",
6775    ],
6776    apex_available: [
6777        "com.android.tethering",
6778    ],
6779}
6780
6781// GN: //base:ios_cronet_buildflags__testing
6782cc_genrule {
6783    name: "cronet_aml_base_ios_cronet_buildflags__testing",
6784    cmd: "mkdir -p $(genDir)/base/message_loop && echo '--flags CRONET_BUILD=\"true\"' | " +
6785         "$(location build/write_buildflag_header.py) --output " +
6786         "$(out) " +
6787         "--rulename " +
6788         "//base:ios_cronet_buildflags " +
6789         "--gen-dir " +
6790         ". " +
6791         "--definitions " +
6792         "/dev/stdin",
6793    host_supported: true,
6794    out: [
6795        "base/message_loop/ios_cronet_buildflags.h",
6796    ],
6797    tool_files: [
6798        "build/write_buildflag_header.py",
6799    ],
6800    apex_available: [
6801        "com.android.tethering",
6802    ],
6803}
6804
6805// GN: //base:java_features_srcjar
6806java_genrule {
6807    name: "cronet_aml_base_java_features_srcjar",
6808    srcs: [
6809        "base/allocator/partition_alloc_features.cc",
6810        "base/features.cc",
6811        "base/task/task_features.cc",
6812    ],
6813    cmd: "mkdir -p $(genDir)/base && $(location build/android/gyp/java_cpp_features.py) --srcjar " +
6814         "$(out) " +
6815         "--template " +
6816         "$(location base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl) " +
6817         "$(location base/allocator/partition_alloc_features.cc) " +
6818         "$(location base/features.cc) " +
6819         "$(location base/task/task_features.cc)",
6820    out: [
6821        "base/java_features_srcjar.srcjar",
6822    ],
6823    tool_files: [
6824        "base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl",
6825        "build/action_helpers.py",
6826        "build/android/gyp/java_cpp_features.py",
6827        "build/android/gyp/util/__init__.py",
6828        "build/android/gyp/util/build_utils.py",
6829        "build/android/gyp/util/java_cpp_utils.py",
6830        "build/gn_helpers.py",
6831        "build/zip_helpers.py",
6832    ],
6833}
6834
6835// GN: //base:java_features_srcjar__testing
6836java_genrule {
6837    name: "cronet_aml_base_java_features_srcjar__testing",
6838    srcs: [
6839        "base/allocator/partition_alloc_features.cc",
6840        "base/features.cc",
6841        "base/task/task_features.cc",
6842    ],
6843    cmd: "mkdir -p $(genDir)/base && $(location build/android/gyp/java_cpp_features.py) --srcjar " +
6844         "$(out) " +
6845         "--template " +
6846         "$(location base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl) " +
6847         "$(location base/allocator/partition_alloc_features.cc) " +
6848         "$(location base/features.cc) " +
6849         "$(location base/task/task_features.cc)",
6850    out: [
6851        "base/java_features_srcjar.srcjar",
6852    ],
6853    tool_files: [
6854        "base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl",
6855        "build/action_helpers.py",
6856        "build/android/gyp/java_cpp_features.py",
6857        "build/android/gyp/util/__init__.py",
6858        "build/android/gyp/util/build_utils.py",
6859        "build/android/gyp/util/java_cpp_utils.py",
6860        "build/gn_helpers.py",
6861        "build/zip_helpers.py",
6862    ],
6863}
6864
6865// GN: //base:java_switches_srcjar
6866java_genrule {
6867    name: "cronet_aml_base_java_switches_srcjar",
6868    srcs: [
6869        "base/base_switches.cc",
6870    ],
6871    cmd: "mkdir -p $(genDir)/base && $(location build/android/gyp/java_cpp_strings.py) --srcjar " +
6872         "$(out) " +
6873         "--template " +
6874         "$(location base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl) " +
6875         "$(location base/base_switches.cc)",
6876    out: [
6877        "base/java_switches_srcjar.srcjar",
6878    ],
6879    tool_files: [
6880        "base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl",
6881        "build/action_helpers.py",
6882        "build/android/gyp/java_cpp_strings.py",
6883        "build/android/gyp/util/__init__.py",
6884        "build/android/gyp/util/build_utils.py",
6885        "build/android/gyp/util/java_cpp_utils.py",
6886        "build/gn_helpers.py",
6887        "build/zip_helpers.py",
6888    ],
6889}
6890
6891// GN: //base:java_switches_srcjar__testing
6892java_genrule {
6893    name: "cronet_aml_base_java_switches_srcjar__testing",
6894    srcs: [
6895        "base/base_switches.cc",
6896    ],
6897    cmd: "mkdir -p $(genDir)/base && $(location build/android/gyp/java_cpp_strings.py) --srcjar " +
6898         "$(out) " +
6899         "--template " +
6900         "$(location base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl) " +
6901         "$(location base/base_switches.cc)",
6902    out: [
6903        "base/java_switches_srcjar.srcjar",
6904    ],
6905    tool_files: [
6906        "base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl",
6907        "build/action_helpers.py",
6908        "build/android/gyp/java_cpp_strings.py",
6909        "build/android/gyp/util/__init__.py",
6910        "build/android/gyp/util/build_utils.py",
6911        "build/android/gyp/util/java_cpp_utils.py",
6912        "build/gn_helpers.py",
6913        "build/zip_helpers.py",
6914    ],
6915}
6916
6917// GN: //base:logging_buildflags
6918cc_genrule {
6919    name: "cronet_aml_base_logging_buildflags",
6920    cmd: "mkdir -p $(genDir)/base && echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
6921         "$(location build/write_buildflag_header.py) --output " +
6922         "$(out) " +
6923         "--rulename " +
6924         "//base:logging_buildflags " +
6925         "--gen-dir " +
6926         ". " +
6927         "--definitions " +
6928         "/dev/stdin",
6929    out: [
6930        "base/logging_buildflags.h",
6931    ],
6932    tool_files: [
6933        "build/write_buildflag_header.py",
6934    ],
6935    apex_available: [
6936        "com.android.tethering",
6937    ],
6938}
6939
6940// GN: //base:logging_buildflags__testing
6941cc_genrule {
6942    name: "cronet_aml_base_logging_buildflags__testing",
6943    cmd: "mkdir -p $(genDir)/base && echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
6944         "$(location build/write_buildflag_header.py) --output " +
6945         "$(out) " +
6946         "--rulename " +
6947         "//base:logging_buildflags " +
6948         "--gen-dir " +
6949         ". " +
6950         "--definitions " +
6951         "/dev/stdin",
6952    host_supported: true,
6953    out: [
6954        "base/logging_buildflags.h",
6955    ],
6956    tool_files: [
6957        "build/write_buildflag_header.py",
6958    ],
6959    apex_available: [
6960        "com.android.tethering",
6961    ],
6962}
6963
6964// GN: //base:message_pump_buildflags
6965cc_genrule {
6966    name: "cronet_aml_base_message_pump_buildflags",
6967    cmd: "mkdir -p $(genDir)/base/message_loop && echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
6968         "$(location build/write_buildflag_header.py) --output " +
6969         "$(out) " +
6970         "--rulename " +
6971         "//base:message_pump_buildflags " +
6972         "--gen-dir " +
6973         ". " +
6974         "--definitions " +
6975         "/dev/stdin",
6976    out: [
6977        "base/message_loop/message_pump_buildflags.h",
6978    ],
6979    tool_files: [
6980        "build/write_buildflag_header.py",
6981    ],
6982    apex_available: [
6983        "com.android.tethering",
6984    ],
6985}
6986
6987// GN: //base:message_pump_buildflags__testing
6988cc_genrule {
6989    name: "cronet_aml_base_message_pump_buildflags__testing",
6990    cmd: "mkdir -p $(genDir)/base/message_loop && echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
6991         "$(location build/write_buildflag_header.py) --output " +
6992         "$(out) " +
6993         "--rulename " +
6994         "//base:message_pump_buildflags " +
6995         "--gen-dir " +
6996         ". " +
6997         "--definitions " +
6998         "/dev/stdin",
6999    host_supported: true,
7000    out: [
7001        "base/message_loop/message_pump_buildflags.h",
7002    ],
7003    tool_files: [
7004        "build/write_buildflag_header.py",
7005    ],
7006    apex_available: [
7007        "com.android.tethering",
7008    ],
7009}
7010
7011// GN: //base:nodebug_assertion
7012cc_library_static {
7013    name: "cronet_aml_base_nodebug_assertion",
7014    srcs: [
7015        "base/nodebug_assertion.cc",
7016    ],
7017    generated_headers: [
7018        "cronet_aml_base_fuzzing_buildflags",
7019        "cronet_aml_build_chromeos_buildflags",
7020    ],
7021    export_generated_headers: [
7022        "cronet_aml_base_fuzzing_buildflags",
7023        "cronet_aml_build_chromeos_buildflags",
7024    ],
7025    defaults: [
7026        "cronet_aml_cc_defaults",
7027    ],
7028    cflags: [
7029        "-DANDROID",
7030        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
7031        "-DBASE_IMPLEMENTATION",
7032        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
7033        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
7034        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
7035        "-DHAVE_SYS_UIO_H",
7036        "-DNDEBUG",
7037        "-DNO_UNWIND_TABLES",
7038        "-DNVALGRIND",
7039        "-DOFFICIAL_BUILD",
7040        "-D_GNU_SOURCE",
7041        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7042        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
7043        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7044        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
7045        "-D__STDC_CONSTANT_MACROS",
7046        "-D__STDC_FORMAT_MACROS",
7047        "-fdata-sections",
7048        "-ffunction-sections",
7049        "-fno-asynchronous-unwind-tables",
7050        "-fno-unwind-tables",
7051        "-fstack-protector",
7052        "-fvisibility-inlines-hidden",
7053        "-fvisibility=hidden",
7054        "-g1",
7055    ],
7056    local_include_dirs: [
7057        "./",
7058        "buildtools/third_party/libc++/",
7059        "third_party/libc++/src/include",
7060        "third_party/libc++abi/src/include",
7061    ],
7062    cpp_std: "c++20",
7063    ldflags: [
7064        "-Wl,--as-needed",
7065        "-Wl,--gc-sections",
7066        "-Wl,--icf=all",
7067    ],
7068    target: {
7069        android_arm: {
7070            cflags: [
7071                "-D_FORTIFY_SOURCE=2",
7072            ],
7073        },
7074        android_arm64: {
7075            cflags: [
7076                "-D_FORTIFY_SOURCE=2",
7077                "-O2",
7078                "-mno-outline",
7079            ],
7080        },
7081        android_x86: {
7082            cflags: [
7083                "-D_FORTIFY_SOURCE=2",
7084                "-msse3",
7085            ],
7086        },
7087        android_x86_64: {
7088            cflags: [
7089                "-D_FORTIFY_SOURCE=2",
7090                "-msse3",
7091            ],
7092        },
7093    },
7094}
7095
7096// GN: //base:nodebug_assertion__testing
7097cc_library_static {
7098    name: "cronet_aml_base_nodebug_assertion__testing",
7099    srcs: [
7100        "base/nodebug_assertion.cc",
7101    ],
7102    host_supported: true,
7103    generated_headers: [
7104        "cronet_aml_base_fuzzing_buildflags__testing",
7105        "cronet_aml_build_chromeos_buildflags__testing",
7106    ],
7107    export_generated_headers: [
7108        "cronet_aml_base_fuzzing_buildflags__testing",
7109        "cronet_aml_build_chromeos_buildflags__testing",
7110    ],
7111    defaults: [
7112        "cronet_aml_cc_defaults",
7113    ],
7114    cflags: [
7115        "-DBASE_IMPLEMENTATION",
7116        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
7117        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
7118        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
7119        "-DNDEBUG",
7120        "-DNO_UNWIND_TABLES",
7121        "-DNVALGRIND",
7122        "-DOFFICIAL_BUILD",
7123        "-D_GNU_SOURCE",
7124        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7125        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
7126        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7127        "-D__STDC_CONSTANT_MACROS",
7128        "-D__STDC_FORMAT_MACROS",
7129        "-fdata-sections",
7130        "-ffunction-sections",
7131        "-fno-asynchronous-unwind-tables",
7132        "-fno-unwind-tables",
7133        "-fstack-protector",
7134        "-fvisibility-inlines-hidden",
7135        "-fvisibility=hidden",
7136        "-g1",
7137    ],
7138    local_include_dirs: [
7139        "./",
7140        "buildtools/third_party/libc++/",
7141        "third_party/libc++/src/include",
7142        "third_party/libc++abi/src/include",
7143    ],
7144    cpp_std: "c++20",
7145    ldflags: [
7146        "-Wl,--as-needed",
7147        "-Wl,--gc-sections",
7148        "-Wl,--icf=all",
7149    ],
7150    target: {
7151        android_arm: {
7152            cflags: [
7153                "-DANDROID",
7154                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
7155                "-DHAVE_SYS_UIO_H",
7156                "-D_FORTIFY_SOURCE=2",
7157                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
7158            ],
7159        },
7160        android_arm64: {
7161            cflags: [
7162                "-DANDROID",
7163                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
7164                "-DHAVE_SYS_UIO_H",
7165                "-D_FORTIFY_SOURCE=2",
7166                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
7167                "-O2",
7168                "-mno-outline",
7169            ],
7170        },
7171        android_riscv64: {
7172            cflags: [
7173                "-DANDROID",
7174                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
7175                "-DHAVE_SYS_UIO_H",
7176                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
7177            ],
7178        },
7179        android_x86: {
7180            cflags: [
7181                "-DANDROID",
7182                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
7183                "-DHAVE_SYS_UIO_H",
7184                "-D_FORTIFY_SOURCE=2",
7185                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
7186                "-msse3",
7187            ],
7188        },
7189        android_x86_64: {
7190            cflags: [
7191                "-DANDROID",
7192                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
7193                "-DHAVE_SYS_UIO_H",
7194                "-D_FORTIFY_SOURCE=2",
7195                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
7196                "-msse3",
7197            ],
7198        },
7199        host: {
7200            cflags: [
7201                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
7202                "-DUSE_AURA=1",
7203                "-DUSE_OZONE=1",
7204                "-DUSE_UDEV",
7205                "-D_FILE_OFFSET_BITS=64",
7206                "-D_FORTIFY_SOURCE=2",
7207                "-D_LARGEFILE64_SOURCE",
7208                "-D_LARGEFILE_SOURCE",
7209                "-O2",
7210                "-msse3",
7211            ],
7212            compile_multilib: "64",
7213        },
7214    },
7215}
7216
7217// GN: //base:orderfile_buildflags
7218cc_genrule {
7219    name: "cronet_aml_base_orderfile_buildflags",
7220    cmd: "mkdir -p $(genDir)/base/android/orderfile && echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
7221         "$(location build/write_buildflag_header.py) --output " +
7222         "$(out) " +
7223         "--rulename " +
7224         "//base:orderfile_buildflags " +
7225         "--gen-dir " +
7226         ". " +
7227         "--definitions " +
7228         "/dev/stdin",
7229    out: [
7230        "base/android/orderfile/orderfile_buildflags.h",
7231    ],
7232    tool_files: [
7233        "build/write_buildflag_header.py",
7234    ],
7235    apex_available: [
7236        "com.android.tethering",
7237    ],
7238}
7239
7240// GN: //base:orderfile_buildflags__testing
7241cc_genrule {
7242    name: "cronet_aml_base_orderfile_buildflags__testing",
7243    cmd: "mkdir -p $(genDir)/base/android/orderfile && echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
7244         "$(location build/write_buildflag_header.py) --output " +
7245         "$(out) " +
7246         "--rulename " +
7247         "//base:orderfile_buildflags " +
7248         "--gen-dir " +
7249         ". " +
7250         "--definitions " +
7251         "/dev/stdin",
7252    host_supported: true,
7253    out: [
7254        "base/android/orderfile/orderfile_buildflags.h",
7255    ],
7256    tool_files: [
7257        "build/write_buildflag_header.py",
7258    ],
7259    apex_available: [
7260        "com.android.tethering",
7261    ],
7262}
7263
7264// GN: //base:power_monitor_buildflags
7265cc_genrule {
7266    name: "cronet_aml_base_power_monitor_buildflags",
7267    cmd: "mkdir -p $(genDir)/base/power_monitor && echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
7268         "$(location build/write_buildflag_header.py) --output " +
7269         "$(out) " +
7270         "--rulename " +
7271         "//base:power_monitor_buildflags " +
7272         "--gen-dir " +
7273         ". " +
7274         "--definitions " +
7275         "/dev/stdin",
7276    out: [
7277        "base/power_monitor/power_monitor_buildflags.h",
7278    ],
7279    tool_files: [
7280        "build/write_buildflag_header.py",
7281    ],
7282    apex_available: [
7283        "com.android.tethering",
7284    ],
7285}
7286
7287// GN: //base:power_monitor_buildflags__testing
7288cc_genrule {
7289    name: "cronet_aml_base_power_monitor_buildflags__testing",
7290    cmd: "mkdir -p $(genDir)/base/power_monitor && echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
7291         "$(location build/write_buildflag_header.py) --output " +
7292         "$(out) " +
7293         "--rulename " +
7294         "//base:power_monitor_buildflags " +
7295         "--gen-dir " +
7296         ". " +
7297         "--definitions " +
7298         "/dev/stdin",
7299    host_supported: true,
7300    out: [
7301        "base/power_monitor/power_monitor_buildflags.h",
7302    ],
7303    tool_files: [
7304        "build/write_buildflag_header.py",
7305    ],
7306    apex_available: [
7307        "com.android.tethering",
7308    ],
7309}
7310
7311// GN: //base:process_launcher_jni__action
7312cc_genrule {
7313    name: "cronet_aml_base_process_launcher_jni__action",
7314    srcs: [
7315        "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
7316    ],
7317    cmd: "mkdir -p $(genDir)/base &&  " +
7318         "mkdir -p $(genDir)/jni_headers/base/process_launcher_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
7319         "--output-dir " +
7320         "$(genDir)/base/process_launcher_jni " +
7321         "--extra-include " +
7322         "third_party/jni_zero/jni_zero_internal.h " +
7323         "--srcjar-path " +
7324         "$(genDir)/base/process_launcher_jni.srcjar " +
7325         "--placeholder-srcjar-path " +
7326         "$(genDir)/base/process_launcher_jni_placeholder.srcjar " +
7327         "--use-proxy-hash " +
7328         "--output-name " +
7329         "ChildProcessService_jni.h " +
7330         "--input-file " +
7331         "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
7332         "--package-prefix " +
7333         "android.net.connectivity",
7334    out: [
7335        "base/process_launcher_jni.srcjar",
7336        "base/process_launcher_jni/ChildProcessService_jni.h",
7337    ],
7338    tool_files: [
7339        "third_party/jni_zero/codegen/called_by_native_header.py",
7340        "third_party/jni_zero/codegen/convert_type.py",
7341        "third_party/jni_zero/codegen/header_common.py",
7342        "third_party/jni_zero/codegen/natives_header.py",
7343        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
7344        "third_party/jni_zero/codegen/placeholder_java_type.py",
7345        "third_party/jni_zero/codegen/proxy_impl_java.py",
7346        "third_party/jni_zero/common.py",
7347        "third_party/jni_zero/java_lang_classes.py",
7348        "third_party/jni_zero/java_types.py",
7349        "third_party/jni_zero/jni_generator.py",
7350        "third_party/jni_zero/jni_registration_generator.py",
7351        "third_party/jni_zero/jni_zero.py",
7352        "third_party/jni_zero/parse.py",
7353        "third_party/jni_zero/proxy.py",
7354    ],
7355    apex_available: [
7356        "com.android.tethering",
7357    ],
7358}
7359
7360// GN: //base:process_launcher_jni__action__testing
7361cc_genrule {
7362    name: "cronet_aml_base_process_launcher_jni__action__testing",
7363    srcs: [
7364        "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
7365    ],
7366    cmd: "mkdir -p $(genDir)/base &&  " +
7367         "mkdir -p $(genDir)/jni_headers/base/process_launcher_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
7368         "--output-dir " +
7369         "$(genDir)/base/process_launcher_jni " +
7370         "--extra-include " +
7371         "third_party/jni_zero/jni_zero_internal.h " +
7372         "--srcjar-path " +
7373         "$(genDir)/base/process_launcher_jni.srcjar " +
7374         "--placeholder-srcjar-path " +
7375         "$(genDir)/base/process_launcher_jni_placeholder.srcjar " +
7376         "--use-proxy-hash " +
7377         "--output-name " +
7378         "ChildProcessService_jni.h " +
7379         "--input-file " +
7380         "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java)",
7381    out: [
7382        "base/process_launcher_jni.srcjar",
7383        "base/process_launcher_jni/ChildProcessService_jni.h",
7384    ],
7385    tool_files: [
7386        "third_party/jni_zero/codegen/called_by_native_header.py",
7387        "third_party/jni_zero/codegen/convert_type.py",
7388        "third_party/jni_zero/codegen/header_common.py",
7389        "third_party/jni_zero/codegen/natives_header.py",
7390        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
7391        "third_party/jni_zero/codegen/placeholder_java_type.py",
7392        "third_party/jni_zero/codegen/proxy_impl_java.py",
7393        "third_party/jni_zero/common.py",
7394        "third_party/jni_zero/java_lang_classes.py",
7395        "third_party/jni_zero/java_types.py",
7396        "third_party/jni_zero/jni_generator.py",
7397        "third_party/jni_zero/jni_registration_generator.py",
7398        "third_party/jni_zero/jni_zero.py",
7399        "third_party/jni_zero/parse.py",
7400        "third_party/jni_zero/proxy.py",
7401    ],
7402    apex_available: [
7403        "com.android.tethering",
7404    ],
7405}
7406
7407// GN: //base:profiler_buildflags
7408cc_genrule {
7409    name: "cronet_aml_base_profiler_buildflags",
7410    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
7411         "then " +
7412         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7413         "$(location build/write_buildflag_header.py) --output " +
7414         "$(out) " +
7415         "--rulename " +
7416         "//base:profiler_buildflags " +
7417         "--gen-dir " +
7418         ". " +
7419         "--definitions " +
7420         "/dev/stdin; " +
7421         "fi; " +
7422         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
7423         "then " +
7424         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7425         "$(location build/write_buildflag_header.py) --output " +
7426         "$(out) " +
7427         "--rulename " +
7428         "//base:profiler_buildflags " +
7429         "--gen-dir " +
7430         ". " +
7431         "--definitions " +
7432         "/dev/stdin; " +
7433         "fi; " +
7434         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
7435         "then " +
7436         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7437         "$(location build/write_buildflag_header.py) --output " +
7438         "$(out) " +
7439         "--rulename " +
7440         "//base:profiler_buildflags " +
7441         "--gen-dir " +
7442         ". " +
7443         "--definitions " +
7444         "/dev/stdin; " +
7445         "fi; " +
7446         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
7447         "then " +
7448         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7449         "$(location build/write_buildflag_header.py) --output " +
7450         "$(out) " +
7451         "--rulename " +
7452         "//base:profiler_buildflags " +
7453         "--gen-dir " +
7454         ". " +
7455         "--definitions " +
7456         "/dev/stdin; " +
7457         "fi; " +
7458         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
7459         "then " +
7460         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7461         "$(location build/write_buildflag_header.py) --output " +
7462         "$(out) " +
7463         "--rulename " +
7464         "//base:profiler_buildflags " +
7465         "--gen-dir " +
7466         ". " +
7467         "--definitions " +
7468         "/dev/stdin; " +
7469         "fi;",
7470    out: [
7471        "base/profiler/profiler_buildflags.h",
7472    ],
7473    tool_files: [
7474        "build/write_buildflag_header.py",
7475    ],
7476    apex_available: [
7477        "com.android.tethering",
7478    ],
7479}
7480
7481// GN: //base:profiler_buildflags__testing
7482cc_genrule {
7483    name: "cronet_aml_base_profiler_buildflags__testing",
7484    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
7485         "then " +
7486         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7487         "$(location build/write_buildflag_header.py) --output " +
7488         "$(out) " +
7489         "--rulename " +
7490         "//base:profiler_buildflags " +
7491         "--gen-dir " +
7492         ". " +
7493         "--definitions " +
7494         "/dev/stdin; " +
7495         "fi; " +
7496         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
7497         "then " +
7498         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7499         "$(location build/write_buildflag_header.py) --output " +
7500         "$(out) " +
7501         "--rulename " +
7502         "//base:profiler_buildflags " +
7503         "--gen-dir " +
7504         ". " +
7505         "--definitions " +
7506         "/dev/stdin; " +
7507         "fi; " +
7508         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
7509         "then " +
7510         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7511         "$(location build/write_buildflag_header.py) --output " +
7512         "$(out) " +
7513         "--rulename " +
7514         "//base:profiler_buildflags " +
7515         "--gen-dir " +
7516         ". " +
7517         "--definitions " +
7518         "/dev/stdin; " +
7519         "fi; " +
7520         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
7521         "then " +
7522         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7523         "$(location build/write_buildflag_header.py) --output " +
7524         "$(out) " +
7525         "--rulename " +
7526         "//base:profiler_buildflags " +
7527         "--gen-dir " +
7528         ". " +
7529         "--definitions " +
7530         "/dev/stdin; " +
7531         "fi; " +
7532         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
7533         "then " +
7534         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7535         "$(location build/write_buildflag_header.py) --output " +
7536         "$(out) " +
7537         "--rulename " +
7538         "//base:profiler_buildflags " +
7539         "--gen-dir " +
7540         ". " +
7541         "--definitions " +
7542         "/dev/stdin; " +
7543         "fi; " +
7544         "if [[ $$CC_OS != 'android' ]]; " +
7545         "then " +
7546         "mkdir -p $(genDir)/base/profiler && echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\"' | " +
7547         "$(location build/write_buildflag_header.py) --output " +
7548         "$(out) " +
7549         "--rulename " +
7550         "//base:profiler_buildflags " +
7551         "--gen-dir " +
7552         ". " +
7553         "--definitions " +
7554         "/dev/stdin; " +
7555         "fi;",
7556    host_supported: true,
7557    out: [
7558        "base/profiler/profiler_buildflags.h",
7559    ],
7560    tool_files: [
7561        "build/write_buildflag_header.py",
7562    ],
7563    apex_available: [
7564        "com.android.tethering",
7565    ],
7566}
7567
7568// GN: //base:protected_memory_buildflags
7569cc_genrule {
7570    name: "cronet_aml_base_protected_memory_buildflags",
7571    cmd: "mkdir -p $(genDir)/base/memory && echo '--flags PROTECTED_MEMORY_ENABLED=\"false\"' | " +
7572         "$(location build/write_buildflag_header.py) --output " +
7573         "$(out) " +
7574         "--rulename " +
7575         "//base:protected_memory_buildflags " +
7576         "--gen-dir " +
7577         ". " +
7578         "--definitions " +
7579         "/dev/stdin",
7580    out: [
7581        "base/memory/protected_memory_buildflags.h",
7582    ],
7583    tool_files: [
7584        "build/write_buildflag_header.py",
7585    ],
7586    apex_available: [
7587        "com.android.tethering",
7588    ],
7589}
7590
7591// GN: //base:protected_memory_buildflags__testing
7592cc_genrule {
7593    name: "cronet_aml_base_protected_memory_buildflags__testing",
7594    cmd: "mkdir -p $(genDir)/base/memory && echo '--flags PROTECTED_MEMORY_ENABLED=\"false\"' | " +
7595         "$(location build/write_buildflag_header.py) --output " +
7596         "$(out) " +
7597         "--rulename " +
7598         "//base:protected_memory_buildflags " +
7599         "--gen-dir " +
7600         ". " +
7601         "--definitions " +
7602         "/dev/stdin",
7603    host_supported: true,
7604    out: [
7605        "base/memory/protected_memory_buildflags.h",
7606    ],
7607    tool_files: [
7608        "build/write_buildflag_header.py",
7609    ],
7610    apex_available: [
7611        "com.android.tethering",
7612    ],
7613}
7614
7615// GN: //base:rust_buildflags
7616cc_genrule {
7617    name: "cronet_aml_base_rust_buildflags",
7618    cmd: "mkdir -p $(genDir)/base && echo '--flags BUILD_RUST_JSON_READER=\"false\" BUILD_RUST_BASE_CONVERSIONS=\"false\"' | " +
7619         "$(location build/write_buildflag_header.py) --output " +
7620         "$(out) " +
7621         "--rulename " +
7622         "//base:rust_buildflags " +
7623         "--gen-dir " +
7624         ". " +
7625         "--definitions " +
7626         "/dev/stdin",
7627    out: [
7628        "base/rust_buildflags.h",
7629    ],
7630    tool_files: [
7631        "build/write_buildflag_header.py",
7632    ],
7633    apex_available: [
7634        "com.android.tethering",
7635    ],
7636}
7637
7638// GN: //base:rust_buildflags__testing
7639cc_genrule {
7640    name: "cronet_aml_base_rust_buildflags__testing",
7641    cmd: "mkdir -p $(genDir)/base && echo '--flags BUILD_RUST_JSON_READER=\"false\" BUILD_RUST_BASE_CONVERSIONS=\"false\"' | " +
7642         "$(location build/write_buildflag_header.py) --output " +
7643         "$(out) " +
7644         "--rulename " +
7645         "//base:rust_buildflags " +
7646         "--gen-dir " +
7647         ". " +
7648         "--definitions " +
7649         "/dev/stdin",
7650    host_supported: true,
7651    out: [
7652        "base/rust_buildflags.h",
7653    ],
7654    tool_files: [
7655        "build/write_buildflag_header.py",
7656    ],
7657    apex_available: [
7658        "com.android.tethering",
7659    ],
7660}
7661
7662// GN: //base:sanitizer_buildflags
7663cc_genrule {
7664    name: "cronet_aml_base_sanitizer_buildflags",
7665    cmd: "mkdir -p $(genDir)/base && echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
7666         "$(location build/write_buildflag_header.py) --output " +
7667         "$(out) " +
7668         "--rulename " +
7669         "//base:sanitizer_buildflags " +
7670         "--gen-dir " +
7671         ". " +
7672         "--definitions " +
7673         "/dev/stdin",
7674    out: [
7675        "base/sanitizer_buildflags.h",
7676    ],
7677    tool_files: [
7678        "build/write_buildflag_header.py",
7679    ],
7680    apex_available: [
7681        "com.android.tethering",
7682    ],
7683}
7684
7685// GN: //base:sanitizer_buildflags__testing
7686cc_genrule {
7687    name: "cronet_aml_base_sanitizer_buildflags__testing",
7688    cmd: "mkdir -p $(genDir)/base && echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
7689         "$(location build/write_buildflag_header.py) --output " +
7690         "$(out) " +
7691         "--rulename " +
7692         "//base:sanitizer_buildflags " +
7693         "--gen-dir " +
7694         ". " +
7695         "--definitions " +
7696         "/dev/stdin",
7697    host_supported: true,
7698    out: [
7699        "base/sanitizer_buildflags.h",
7700    ],
7701    tool_files: [
7702        "build/write_buildflag_header.py",
7703    ],
7704    apex_available: [
7705        "com.android.tethering",
7706    ],
7707}
7708
7709// GN: //base:synchronization_buildflags
7710cc_genrule {
7711    name: "cronet_aml_base_synchronization_buildflags",
7712    cmd: "mkdir -p $(genDir)/base/synchronization && echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
7713         "$(location build/write_buildflag_header.py) --output " +
7714         "$(out) " +
7715         "--rulename " +
7716         "//base:synchronization_buildflags " +
7717         "--gen-dir " +
7718         ". " +
7719         "--definitions " +
7720         "/dev/stdin",
7721    out: [
7722        "base/synchronization/synchronization_buildflags.h",
7723    ],
7724    tool_files: [
7725        "build/write_buildflag_header.py",
7726    ],
7727    apex_available: [
7728        "com.android.tethering",
7729    ],
7730}
7731
7732// GN: //base:synchronization_buildflags__testing
7733cc_genrule {
7734    name: "cronet_aml_base_synchronization_buildflags__testing",
7735    cmd: "mkdir -p $(genDir)/base/synchronization && echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
7736         "$(location build/write_buildflag_header.py) --output " +
7737         "$(out) " +
7738         "--rulename " +
7739         "//base:synchronization_buildflags " +
7740         "--gen-dir " +
7741         ". " +
7742         "--definitions " +
7743         "/dev/stdin",
7744    host_supported: true,
7745    out: [
7746        "base/synchronization/synchronization_buildflags.h",
7747    ],
7748    tool_files: [
7749        "build/write_buildflag_header.py",
7750    ],
7751    apex_available: [
7752        "com.android.tethering",
7753    ],
7754}
7755
7756// GN: //base/test:base_unittests_jni_headers__action__testing
7757cc_genrule {
7758    name: "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
7759    srcs: [
7760        "base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java",
7761        "base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java",
7762    ],
7763    cmd: "mkdir -p $(genDir)/base/test &&  " +
7764         "mkdir -p $(genDir)/jni_headers/base/test/base_unittests_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
7765         "--output-dir " +
7766         "$(genDir)/base/test/base_unittests_jni_headers " +
7767         "--extra-include " +
7768         "third_party/jni_zero/jni_zero_internal.h " +
7769         "--srcjar-path " +
7770         "$(genDir)/base/test/base_unittests_jni_headers.srcjar " +
7771         "--placeholder-srcjar-path " +
7772         "$(genDir)/base/test/base_unittests_jni_headers_placeholder.srcjar " +
7773         "--use-proxy-hash " +
7774         "--output-name " +
7775         "ContentUriTestUtils_jni.h " +
7776         "--output-name " +
7777         "JavaHandlerThreadHelpers_jni.h " +
7778         "--input-file " +
7779         "$(location base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java) " +
7780         "--input-file " +
7781         "$(location base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java)",
7782    out: [
7783        "base/test/base_unittests_jni_headers.srcjar",
7784        "base/test/base_unittests_jni_headers/ContentUriTestUtils_jni.h",
7785        "base/test/base_unittests_jni_headers/JavaHandlerThreadHelpers_jni.h",
7786    ],
7787    tool_files: [
7788        "third_party/jni_zero/codegen/called_by_native_header.py",
7789        "third_party/jni_zero/codegen/convert_type.py",
7790        "third_party/jni_zero/codegen/header_common.py",
7791        "third_party/jni_zero/codegen/natives_header.py",
7792        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
7793        "third_party/jni_zero/codegen/placeholder_java_type.py",
7794        "third_party/jni_zero/codegen/proxy_impl_java.py",
7795        "third_party/jni_zero/common.py",
7796        "third_party/jni_zero/java_lang_classes.py",
7797        "third_party/jni_zero/java_types.py",
7798        "third_party/jni_zero/jni_generator.py",
7799        "third_party/jni_zero/jni_registration_generator.py",
7800        "third_party/jni_zero/jni_zero.py",
7801        "third_party/jni_zero/parse.py",
7802        "third_party/jni_zero/proxy.py",
7803    ],
7804    apex_available: [
7805        "com.android.tethering",
7806    ],
7807}
7808
7809// GN: //base/test:proto_test_support__testing
7810cc_library_static {
7811    name: "cronet_aml_base_test_proto_test_support__testing",
7812    srcs: [
7813        "base/test/test_proto_loader.cc",
7814    ],
7815    shared_libs: [
7816        "libandroid",
7817        "liblog",
7818        "libz",
7819    ],
7820    generated_headers: [
7821        "cronet_aml_base_allocator_buildflags__testing",
7822        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
7823        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
7824        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
7825        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
7826        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
7827        "cronet_aml_base_anchor_functions_buildflags__testing",
7828        "cronet_aml_base_build_date__testing",
7829        "cronet_aml_base_cfi_buildflags__testing",
7830        "cronet_aml_base_check_version_internal_action__testing",
7831        "cronet_aml_base_clang_profiling_buildflags__testing",
7832        "cronet_aml_base_debugging_buildflags__testing",
7833        "cronet_aml_base_feature_list_buildflags__testing",
7834        "cronet_aml_base_fuzzing_buildflags__testing",
7835        "cronet_aml_base_ios_cronet_buildflags__testing",
7836        "cronet_aml_base_logging_buildflags__testing",
7837        "cronet_aml_base_message_pump_buildflags__testing",
7838        "cronet_aml_base_orderfile_buildflags__testing",
7839        "cronet_aml_base_power_monitor_buildflags__testing",
7840        "cronet_aml_base_profiler_buildflags__testing",
7841        "cronet_aml_base_protected_memory_buildflags__testing",
7842        "cronet_aml_base_rust_buildflags__testing",
7843        "cronet_aml_base_sanitizer_buildflags__testing",
7844        "cronet_aml_base_synchronization_buildflags__testing",
7845        "cronet_aml_base_tracing_buildflags__testing",
7846        "cronet_aml_build_blink_buildflags__testing",
7847        "cronet_aml_build_branding_buildflags__testing",
7848        "cronet_aml_build_chromecast_buildflags__testing",
7849        "cronet_aml_build_chromeos_buildflags__testing",
7850        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
7851        "cronet_aml_build_ios_buildflags__testing",
7852    ],
7853    export_generated_headers: [
7854        "cronet_aml_base_allocator_buildflags__testing",
7855        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
7856        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
7857        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
7858        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
7859        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
7860        "cronet_aml_base_anchor_functions_buildflags__testing",
7861        "cronet_aml_base_build_date__testing",
7862        "cronet_aml_base_cfi_buildflags__testing",
7863        "cronet_aml_base_check_version_internal_action__testing",
7864        "cronet_aml_base_clang_profiling_buildflags__testing",
7865        "cronet_aml_base_debugging_buildflags__testing",
7866        "cronet_aml_base_feature_list_buildflags__testing",
7867        "cronet_aml_base_fuzzing_buildflags__testing",
7868        "cronet_aml_base_ios_cronet_buildflags__testing",
7869        "cronet_aml_base_logging_buildflags__testing",
7870        "cronet_aml_base_message_pump_buildflags__testing",
7871        "cronet_aml_base_orderfile_buildflags__testing",
7872        "cronet_aml_base_power_monitor_buildflags__testing",
7873        "cronet_aml_base_profiler_buildflags__testing",
7874        "cronet_aml_base_protected_memory_buildflags__testing",
7875        "cronet_aml_base_rust_buildflags__testing",
7876        "cronet_aml_base_sanitizer_buildflags__testing",
7877        "cronet_aml_base_synchronization_buildflags__testing",
7878        "cronet_aml_base_tracing_buildflags__testing",
7879        "cronet_aml_build_blink_buildflags__testing",
7880        "cronet_aml_build_branding_buildflags__testing",
7881        "cronet_aml_build_chromecast_buildflags__testing",
7882        "cronet_aml_build_chromeos_buildflags__testing",
7883        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
7884        "cronet_aml_build_ios_buildflags__testing",
7885    ],
7886    defaults: [
7887        "cronet_aml_cc_defaults",
7888    ],
7889    cflags: [
7890        "-DANDROID",
7891        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
7892        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
7893        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
7894        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
7895        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7896        "-DGOOGLE_PROTOBUF_NO_RTTI",
7897        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7898        "-DHAVE_PTHREAD",
7899        "-DHAVE_SYS_UIO_H",
7900        "-DNDEBUG",
7901        "-DNO_UNWIND_TABLES",
7902        "-DNVALGRIND",
7903        "-DOFFICIAL_BUILD",
7904        "-DPROTO_TEST_IMPLEMENTATION",
7905        "-D_GNU_SOURCE",
7906        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7907        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
7908        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7909        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
7910        "-D__STDC_CONSTANT_MACROS",
7911        "-D__STDC_FORMAT_MACROS",
7912        "-fdata-sections",
7913        "-ffunction-sections",
7914        "-fno-asynchronous-unwind-tables",
7915        "-fno-unwind-tables",
7916        "-fstack-protector",
7917        "-fvisibility-inlines-hidden",
7918        "-fvisibility=hidden",
7919        "-g1",
7920    ],
7921    local_include_dirs: [
7922        "./",
7923        "base/allocator/partition_allocator/src/",
7924        "buildtools/third_party/libc++/",
7925        "third_party/abseil-cpp/",
7926        "third_party/boringssl/src/include/",
7927        "third_party/libc++/src/include",
7928        "third_party/libc++abi/src/include",
7929        "third_party/protobuf/src/",
7930    ],
7931    cpp_std: "c++20",
7932    ldflags: [
7933        "-Wl,--as-needed",
7934        "-Wl,--gc-sections",
7935        "-Wl,--icf=all",
7936        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
7937        "-Wl,-wrap,asprintf",
7938        "-Wl,-wrap,calloc",
7939        "-Wl,-wrap,free",
7940        "-Wl,-wrap,getcwd",
7941        "-Wl,-wrap,malloc",
7942        "-Wl,-wrap,malloc_usable_size",
7943        "-Wl,-wrap,memalign",
7944        "-Wl,-wrap,posix_memalign",
7945        "-Wl,-wrap,pvalloc",
7946        "-Wl,-wrap,realloc",
7947        "-Wl,-wrap,realpath",
7948        "-Wl,-wrap,strdup",
7949        "-Wl,-wrap,strndup",
7950        "-Wl,-wrap,valloc",
7951        "-Wl,-wrap,vasprintf",
7952    ],
7953    target: {
7954        android_arm: {
7955            cflags: [
7956                "-D_FORTIFY_SOURCE=2",
7957            ],
7958        },
7959        android_arm64: {
7960            cflags: [
7961                "-D_FORTIFY_SOURCE=2",
7962                "-O2",
7963                "-mno-outline",
7964            ],
7965        },
7966        android_x86: {
7967            cflags: [
7968                "-D_FORTIFY_SOURCE=2",
7969                "-msse3",
7970            ],
7971        },
7972        android_x86_64: {
7973            cflags: [
7974                "-D_FORTIFY_SOURCE=2",
7975                "-msse3",
7976            ],
7977        },
7978    },
7979}
7980
7981// GN: //base/test:test_config__testing
7982cc_library_static {
7983    name: "cronet_aml_base_test_test_config__testing",
7984    srcs: [
7985        "base/test/test_switches.cc",
7986        "base/test/test_timeouts.cc",
7987    ],
7988    shared_libs: [
7989        "libandroid",
7990        "liblog",
7991    ],
7992    generated_headers: [
7993        "cronet_aml_base_allocator_buildflags__testing",
7994        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
7995        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
7996        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
7997        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
7998        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
7999        "cronet_aml_base_anchor_functions_buildflags__testing",
8000        "cronet_aml_base_build_date__testing",
8001        "cronet_aml_base_cfi_buildflags__testing",
8002        "cronet_aml_base_check_version_internal_action__testing",
8003        "cronet_aml_base_clang_profiling_buildflags__testing",
8004        "cronet_aml_base_debugging_buildflags__testing",
8005        "cronet_aml_base_feature_list_buildflags__testing",
8006        "cronet_aml_base_fuzzing_buildflags__testing",
8007        "cronet_aml_base_ios_cronet_buildflags__testing",
8008        "cronet_aml_base_logging_buildflags__testing",
8009        "cronet_aml_base_message_pump_buildflags__testing",
8010        "cronet_aml_base_orderfile_buildflags__testing",
8011        "cronet_aml_base_power_monitor_buildflags__testing",
8012        "cronet_aml_base_profiler_buildflags__testing",
8013        "cronet_aml_base_protected_memory_buildflags__testing",
8014        "cronet_aml_base_rust_buildflags__testing",
8015        "cronet_aml_base_sanitizer_buildflags__testing",
8016        "cronet_aml_base_synchronization_buildflags__testing",
8017        "cronet_aml_base_tracing_buildflags__testing",
8018        "cronet_aml_build_blink_buildflags__testing",
8019        "cronet_aml_build_branding_buildflags__testing",
8020        "cronet_aml_build_chromecast_buildflags__testing",
8021        "cronet_aml_build_chromeos_buildflags__testing",
8022        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
8023        "cronet_aml_build_ios_buildflags__testing",
8024    ],
8025    export_generated_headers: [
8026        "cronet_aml_base_allocator_buildflags__testing",
8027        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
8028        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
8029        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
8030        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
8031        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
8032        "cronet_aml_base_anchor_functions_buildflags__testing",
8033        "cronet_aml_base_build_date__testing",
8034        "cronet_aml_base_cfi_buildflags__testing",
8035        "cronet_aml_base_check_version_internal_action__testing",
8036        "cronet_aml_base_clang_profiling_buildflags__testing",
8037        "cronet_aml_base_debugging_buildflags__testing",
8038        "cronet_aml_base_feature_list_buildflags__testing",
8039        "cronet_aml_base_fuzzing_buildflags__testing",
8040        "cronet_aml_base_ios_cronet_buildflags__testing",
8041        "cronet_aml_base_logging_buildflags__testing",
8042        "cronet_aml_base_message_pump_buildflags__testing",
8043        "cronet_aml_base_orderfile_buildflags__testing",
8044        "cronet_aml_base_power_monitor_buildflags__testing",
8045        "cronet_aml_base_profiler_buildflags__testing",
8046        "cronet_aml_base_protected_memory_buildflags__testing",
8047        "cronet_aml_base_rust_buildflags__testing",
8048        "cronet_aml_base_sanitizer_buildflags__testing",
8049        "cronet_aml_base_synchronization_buildflags__testing",
8050        "cronet_aml_base_tracing_buildflags__testing",
8051        "cronet_aml_build_blink_buildflags__testing",
8052        "cronet_aml_build_branding_buildflags__testing",
8053        "cronet_aml_build_chromecast_buildflags__testing",
8054        "cronet_aml_build_chromeos_buildflags__testing",
8055        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
8056        "cronet_aml_build_ios_buildflags__testing",
8057    ],
8058    defaults: [
8059        "cronet_aml_cc_defaults",
8060    ],
8061    cflags: [
8062        "-DANDROID",
8063        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
8064        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
8065        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
8066        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8067        "-DHAVE_SYS_UIO_H",
8068        "-DNDEBUG",
8069        "-DNO_UNWIND_TABLES",
8070        "-DNVALGRIND",
8071        "-DOFFICIAL_BUILD",
8072        "-D_GNU_SOURCE",
8073        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8074        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
8075        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8076        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
8077        "-D__STDC_CONSTANT_MACROS",
8078        "-D__STDC_FORMAT_MACROS",
8079        "-fdata-sections",
8080        "-ffunction-sections",
8081        "-fno-asynchronous-unwind-tables",
8082        "-fno-unwind-tables",
8083        "-fstack-protector",
8084        "-fvisibility-inlines-hidden",
8085        "-fvisibility=hidden",
8086        "-g1",
8087    ],
8088    local_include_dirs: [
8089        "./",
8090        "base/allocator/partition_allocator/src/",
8091        "buildtools/third_party/libc++/",
8092        "third_party/abseil-cpp/",
8093        "third_party/boringssl/src/include/",
8094        "third_party/libc++/src/include",
8095        "third_party/libc++abi/src/include",
8096    ],
8097    cpp_std: "c++20",
8098    ldflags: [
8099        "-Wl,--as-needed",
8100        "-Wl,--gc-sections",
8101        "-Wl,--icf=all",
8102        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
8103        "-Wl,-wrap,asprintf",
8104        "-Wl,-wrap,calloc",
8105        "-Wl,-wrap,free",
8106        "-Wl,-wrap,getcwd",
8107        "-Wl,-wrap,malloc",
8108        "-Wl,-wrap,malloc_usable_size",
8109        "-Wl,-wrap,memalign",
8110        "-Wl,-wrap,posix_memalign",
8111        "-Wl,-wrap,pvalloc",
8112        "-Wl,-wrap,realloc",
8113        "-Wl,-wrap,realpath",
8114        "-Wl,-wrap,strdup",
8115        "-Wl,-wrap,strndup",
8116        "-Wl,-wrap,valloc",
8117        "-Wl,-wrap,vasprintf",
8118    ],
8119    target: {
8120        android_arm: {
8121            cflags: [
8122                "-D_FORTIFY_SOURCE=2",
8123            ],
8124        },
8125        android_arm64: {
8126            cflags: [
8127                "-D_FORTIFY_SOURCE=2",
8128                "-O2",
8129                "-mno-outline",
8130            ],
8131        },
8132        android_x86: {
8133            cflags: [
8134                "-D_FORTIFY_SOURCE=2",
8135                "-msse3",
8136            ],
8137        },
8138        android_x86_64: {
8139            cflags: [
8140                "-D_FORTIFY_SOURCE=2",
8141                "-msse3",
8142            ],
8143        },
8144    },
8145}
8146
8147// GN: //base/test:test_support__testing
8148cc_library_static {
8149    name: "cronet_aml_base_test_test_support__testing",
8150    srcs: [
8151        "base/task/sequence_manager/test/fake_task.cc",
8152        "base/task/sequence_manager/test/mock_time_domain.cc",
8153        "base/task/sequence_manager/test/mock_time_message_pump.cc",
8154        "base/task/sequence_manager/test/sequence_manager_for_test.cc",
8155        "base/test/android/java_handler_thread_helpers.cc",
8156        "base/test/android/url_utils.cc",
8157        "base/test/bind.cc",
8158        "base/test/copy_only_int.cc",
8159        "base/test/gtest_links.cc",
8160        "base/test/gtest_tags.cc",
8161        "base/test/gtest_util.cc",
8162        "base/test/gtest_xml_unittest_result_printer.cc",
8163        "base/test/gtest_xml_util.cc",
8164        "base/test/icu_test_util.cc",
8165        "base/test/launcher/test_launcher.cc",
8166        "base/test/launcher/test_launcher_test_utils.cc",
8167        "base/test/launcher/test_launcher_tracer.cc",
8168        "base/test/launcher/test_result.cc",
8169        "base/test/launcher/test_results_tracker.cc",
8170        "base/test/launcher/unit_test_launcher.cc",
8171        "base/test/metrics/histogram_enum_reader.cc",
8172        "base/test/metrics/histogram_tester.cc",
8173        "base/test/metrics/histogram_variants_reader.cc",
8174        "base/test/metrics/user_action_tester.cc",
8175        "base/test/mock_devices_changed_observer.cc",
8176        "base/test/mock_entropy_provider.cc",
8177        "base/test/mock_log.cc",
8178        "base/test/multiprocess_test.cc",
8179        "base/test/multiprocess_test_android.cc",
8180        "base/test/null_task_runner.cc",
8181        "base/test/perf_log.cc",
8182        "base/test/perf_test_suite.cc",
8183        "base/test/perf_time_logger.cc",
8184        "base/test/power_monitor_test.cc",
8185        "base/test/power_monitor_test_utils.cc",
8186        "base/test/protobuf_matchers.cc",
8187        "base/test/run_until.cc",
8188        "base/test/scoped_amount_of_physical_memory_override.cc",
8189        "base/test/scoped_block_tests_writing_to_special_dirs.cc",
8190        "base/test/scoped_command_line.cc",
8191        "base/test/scoped_feature_list.cc",
8192        "base/test/scoped_locale.cc",
8193        "base/test/scoped_mock_clock_override.cc",
8194        "base/test/scoped_mock_time_message_loop_task_runner.cc",
8195        "base/test/scoped_path_override.cc",
8196        "base/test/scoped_run_loop_timeout.cc",
8197        "base/test/sequenced_task_runner_test_template.cc",
8198        "base/test/simple_test_clock.cc",
8199        "base/test/simple_test_tick_clock.cc",
8200        "base/test/task_environment.cc",
8201        "base/test/task_runner_test_template.cc",
8202        "base/test/test_discardable_memory_allocator.cc",
8203        "base/test/test_file_util.cc",
8204        "base/test/test_file_util_android.cc",
8205        "base/test/test_file_util_linux.cc",
8206        "base/test/test_file_util_posix.cc",
8207        "base/test/test_io_thread.cc",
8208        "base/test/test_message_loop.cc",
8209        "base/test/test_mock_time_task_runner.cc",
8210        "base/test/test_pending_task.cc",
8211        "base/test/test_shared_memory_util.cc",
8212        "base/test/test_simple_task_runner.cc",
8213        "base/test/test_suite.cc",
8214        "base/test/test_support_android.cc",
8215        "base/test/test_waitable_event.cc",
8216        "base/test/thread_pool_test_helpers_android.cc",
8217        "base/test/thread_test_helper.cc",
8218        "base/test/values_test_util.cc",
8219        "base/test/with_feature_override.cc",
8220        "base/timer/mock_timer.cc",
8221    ],
8222    shared_libs: [
8223        "libandroid",
8224        "liblog",
8225        "libz",
8226    ],
8227    generated_headers: [
8228        "cronet_aml_base_allocator_buildflags__testing",
8229        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
8230        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
8231        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
8232        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
8233        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
8234        "cronet_aml_base_anchor_functions_buildflags__testing",
8235        "cronet_aml_base_build_date__testing",
8236        "cronet_aml_base_cfi_buildflags__testing",
8237        "cronet_aml_base_check_version_internal_action__testing",
8238        "cronet_aml_base_clang_profiling_buildflags__testing",
8239        "cronet_aml_base_debugging_buildflags__testing",
8240        "cronet_aml_base_feature_list_buildflags__testing",
8241        "cronet_aml_base_fuzzing_buildflags__testing",
8242        "cronet_aml_base_ios_cronet_buildflags__testing",
8243        "cronet_aml_base_logging_buildflags__testing",
8244        "cronet_aml_base_message_pump_buildflags__testing",
8245        "cronet_aml_base_orderfile_buildflags__testing",
8246        "cronet_aml_base_power_monitor_buildflags__testing",
8247        "cronet_aml_base_profiler_buildflags__testing",
8248        "cronet_aml_base_protected_memory_buildflags__testing",
8249        "cronet_aml_base_rust_buildflags__testing",
8250        "cronet_aml_base_sanitizer_buildflags__testing",
8251        "cronet_aml_base_synchronization_buildflags__testing",
8252        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
8253        "cronet_aml_base_test_test_support_jni_headers__action__testing",
8254        "cronet_aml_base_tracing_buildflags__testing",
8255        "cronet_aml_build_blink_buildflags__testing",
8256        "cronet_aml_build_branding_buildflags__testing",
8257        "cronet_aml_build_chromecast_buildflags__testing",
8258        "cronet_aml_build_chromeos_buildflags__testing",
8259        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
8260        "cronet_aml_build_ios_buildflags__testing",
8261    ],
8262    export_generated_headers: [
8263        "cronet_aml_base_allocator_buildflags__testing",
8264        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
8265        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
8266        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
8267        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
8268        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
8269        "cronet_aml_base_anchor_functions_buildflags__testing",
8270        "cronet_aml_base_build_date__testing",
8271        "cronet_aml_base_cfi_buildflags__testing",
8272        "cronet_aml_base_check_version_internal_action__testing",
8273        "cronet_aml_base_clang_profiling_buildflags__testing",
8274        "cronet_aml_base_debugging_buildflags__testing",
8275        "cronet_aml_base_feature_list_buildflags__testing",
8276        "cronet_aml_base_fuzzing_buildflags__testing",
8277        "cronet_aml_base_ios_cronet_buildflags__testing",
8278        "cronet_aml_base_logging_buildflags__testing",
8279        "cronet_aml_base_message_pump_buildflags__testing",
8280        "cronet_aml_base_orderfile_buildflags__testing",
8281        "cronet_aml_base_power_monitor_buildflags__testing",
8282        "cronet_aml_base_profiler_buildflags__testing",
8283        "cronet_aml_base_protected_memory_buildflags__testing",
8284        "cronet_aml_base_rust_buildflags__testing",
8285        "cronet_aml_base_sanitizer_buildflags__testing",
8286        "cronet_aml_base_synchronization_buildflags__testing",
8287        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
8288        "cronet_aml_base_test_test_support_jni_headers__action__testing",
8289        "cronet_aml_base_tracing_buildflags__testing",
8290        "cronet_aml_build_blink_buildflags__testing",
8291        "cronet_aml_build_branding_buildflags__testing",
8292        "cronet_aml_build_chromecast_buildflags__testing",
8293        "cronet_aml_build_chromeos_buildflags__testing",
8294        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
8295        "cronet_aml_build_ios_buildflags__testing",
8296    ],
8297    defaults: [
8298        "cronet_aml_cc_defaults",
8299    ],
8300    cflags: [
8301        "-DANDROID",
8302        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
8303        "-DBENCHMARK_STATIC_DEFINE",
8304        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
8305        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
8306        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8307        "-DGTEST_API_=",
8308        "-DGTEST_HAS_ABSL",
8309        "-DGTEST_HAS_POSIX_RE=0",
8310        "-DGTEST_HAS_TR1_TUPLE=0",
8311        "-DGTEST_LANG_CXX11=1",
8312        "-DGTEST_NO_ABSL_FLAGS",
8313        "-DHAVE_SYS_UIO_H",
8314        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
8315        "-DNDEBUG",
8316        "-DNO_UNWIND_TABLES",
8317        "-DNVALGRIND",
8318        "-DOFFICIAL_BUILD",
8319        "-DUNIT_TEST",
8320        "-DUSE_CHROMIUM_ICU=1",
8321        "-DU_ENABLE_DYLOAD=0",
8322        "-DU_ENABLE_RESOURCE_TRACING=0",
8323        "-DU_ENABLE_TRACING=1",
8324        "-DU_STATIC_IMPLEMENTATION",
8325        "-DU_USING_ICU_NAMESPACE=0",
8326        "-D_GNU_SOURCE",
8327        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8328        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
8329        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8330        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
8331        "-D__STDC_CONSTANT_MACROS",
8332        "-D__STDC_FORMAT_MACROS",
8333        "-fdata-sections",
8334        "-ffunction-sections",
8335        "-fno-asynchronous-unwind-tables",
8336        "-fno-unwind-tables",
8337        "-fstack-protector",
8338        "-fvisibility-inlines-hidden",
8339        "-fvisibility=hidden",
8340        "-g1",
8341    ],
8342    local_include_dirs: [
8343        "./",
8344        "base/allocator/partition_allocator/src/",
8345        "buildtools/third_party/libc++/",
8346        "third_party/abseil-cpp/",
8347        "third_party/boringssl/src/include/",
8348        "third_party/ced/src/",
8349        "third_party/google_benchmark/src/include/",
8350        "third_party/googletest/custom/",
8351        "third_party/googletest/src/googlemock/include/",
8352        "third_party/googletest/src/googletest/include/",
8353        "third_party/icu/source/common/",
8354        "third_party/icu/source/i18n/",
8355        "third_party/libc++/src/include",
8356        "third_party/libc++abi/src/include",
8357        "third_party/libxml/linux/include/",
8358        "third_party/libxml/src/include/",
8359        "third_party/re2/src/",
8360    ],
8361    cpp_std: "c++20",
8362    ldflags: [
8363        "-Wl,--as-needed",
8364        "-Wl,--gc-sections",
8365        "-Wl,--icf=all",
8366        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
8367        "-Wl,-wrap,asprintf",
8368        "-Wl,-wrap,calloc",
8369        "-Wl,-wrap,free",
8370        "-Wl,-wrap,getcwd",
8371        "-Wl,-wrap,malloc",
8372        "-Wl,-wrap,malloc_usable_size",
8373        "-Wl,-wrap,memalign",
8374        "-Wl,-wrap,posix_memalign",
8375        "-Wl,-wrap,pvalloc",
8376        "-Wl,-wrap,realloc",
8377        "-Wl,-wrap,realpath",
8378        "-Wl,-wrap,strdup",
8379        "-Wl,-wrap,strndup",
8380        "-Wl,-wrap,valloc",
8381        "-Wl,-wrap,vasprintf",
8382    ],
8383    target: {
8384        android_arm: {
8385            cflags: [
8386                "-D_FORTIFY_SOURCE=2",
8387            ],
8388        },
8389        android_arm64: {
8390            cflags: [
8391                "-D_FORTIFY_SOURCE=2",
8392                "-O2",
8393                "-mno-outline",
8394            ],
8395        },
8396        android_x86: {
8397            cflags: [
8398                "-D_FORTIFY_SOURCE=2",
8399                "-msse3",
8400            ],
8401        },
8402        android_x86_64: {
8403            cflags: [
8404                "-D_FORTIFY_SOURCE=2",
8405                "-msse3",
8406            ],
8407        },
8408    },
8409}
8410
8411// GN: //base/test:test_support_jni_headers__action__testing
8412cc_genrule {
8413    name: "cronet_aml_base_test_test_support_jni_headers__action__testing",
8414    srcs: [
8415        "base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java",
8416        "base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java",
8417        "base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java",
8418        "base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java",
8419    ],
8420    cmd: "mkdir -p $(genDir)/base/test &&  " +
8421         "mkdir -p $(genDir)/jni_headers/base/test/test_support_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
8422         "--output-dir " +
8423         "$(genDir)/base/test/test_support_jni_headers " +
8424         "--extra-include " +
8425         "third_party/jni_zero/jni_zero_internal.h " +
8426         "--srcjar-path " +
8427         "$(genDir)/base/test/test_support_jni_headers.srcjar " +
8428         "--placeholder-srcjar-path " +
8429         "$(genDir)/base/test/test_support_jni_headers_placeholder.srcjar " +
8430         "--use-proxy-hash " +
8431         "--output-name " +
8432         "MainReturnCodeResult_jni.h " +
8433         "--output-name " +
8434         "MultiprocessTestClientLauncher_jni.h " +
8435         "--output-name " +
8436         "ThreadPoolTestHelpers_jni.h " +
8437         "--output-name " +
8438         "UrlUtils_jni.h " +
8439         "--input-file " +
8440         "$(location base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java) " +
8441         "--input-file " +
8442         "$(location base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java) " +
8443         "--input-file " +
8444         "$(location base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java) " +
8445         "--input-file " +
8446         "$(location base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java)",
8447    out: [
8448        "base/test/test_support_jni_headers.srcjar",
8449        "base/test/test_support_jni_headers/MainReturnCodeResult_jni.h",
8450        "base/test/test_support_jni_headers/MultiprocessTestClientLauncher_jni.h",
8451        "base/test/test_support_jni_headers/ThreadPoolTestHelpers_jni.h",
8452        "base/test/test_support_jni_headers/UrlUtils_jni.h",
8453    ],
8454    tool_files: [
8455        "third_party/jni_zero/codegen/called_by_native_header.py",
8456        "third_party/jni_zero/codegen/convert_type.py",
8457        "third_party/jni_zero/codegen/header_common.py",
8458        "third_party/jni_zero/codegen/natives_header.py",
8459        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
8460        "third_party/jni_zero/codegen/placeholder_java_type.py",
8461        "third_party/jni_zero/codegen/proxy_impl_java.py",
8462        "third_party/jni_zero/common.py",
8463        "third_party/jni_zero/java_lang_classes.py",
8464        "third_party/jni_zero/java_types.py",
8465        "third_party/jni_zero/jni_generator.py",
8466        "third_party/jni_zero/jni_registration_generator.py",
8467        "third_party/jni_zero/jni_zero.py",
8468        "third_party/jni_zero/parse.py",
8469        "third_party/jni_zero/proxy.py",
8470    ],
8471    apex_available: [
8472        "com.android.tethering",
8473    ],
8474}
8475
8476// GN: //base/third_party/double_conversion:double_conversion
8477cc_library_static {
8478    name: "cronet_aml_base_third_party_double_conversion_double_conversion",
8479    srcs: [
8480        "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
8481        "base/third_party/double_conversion/double-conversion/bignum.cc",
8482        "base/third_party/double_conversion/double-conversion/cached-powers.cc",
8483        "base/third_party/double_conversion/double-conversion/double-to-string.cc",
8484        "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
8485        "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
8486        "base/third_party/double_conversion/double-conversion/string-to-double.cc",
8487        "base/third_party/double_conversion/double-conversion/strtod.cc",
8488    ],
8489    defaults: [
8490        "cronet_aml_cc_defaults",
8491    ],
8492    cflags: [
8493        "-DANDROID",
8494        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
8495        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
8496        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
8497        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8498        "-DHAVE_SYS_UIO_H",
8499        "-DNDEBUG",
8500        "-DNO_UNWIND_TABLES",
8501        "-DNVALGRIND",
8502        "-DOFFICIAL_BUILD",
8503        "-D_GNU_SOURCE",
8504        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8505        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
8506        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8507        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
8508        "-D__STDC_CONSTANT_MACROS",
8509        "-D__STDC_FORMAT_MACROS",
8510        "-fdata-sections",
8511        "-ffunction-sections",
8512        "-fno-asynchronous-unwind-tables",
8513        "-fno-unwind-tables",
8514        "-fstack-protector",
8515        "-fvisibility-inlines-hidden",
8516        "-fvisibility=hidden",
8517        "-g1",
8518    ],
8519    local_include_dirs: [
8520        "./",
8521        "buildtools/third_party/libc++/",
8522        "third_party/libc++/src/include",
8523        "third_party/libc++abi/src/include",
8524    ],
8525    cpp_std: "c++20",
8526    ldflags: [
8527        "-Wl,--as-needed",
8528        "-Wl,--gc-sections",
8529        "-Wl,--icf=all",
8530    ],
8531    target: {
8532        android_arm: {
8533            cflags: [
8534                "-D_FORTIFY_SOURCE=2",
8535            ],
8536        },
8537        android_arm64: {
8538            cflags: [
8539                "-D_FORTIFY_SOURCE=2",
8540                "-O2",
8541                "-mno-outline",
8542            ],
8543        },
8544        android_x86: {
8545            cflags: [
8546                "-D_FORTIFY_SOURCE=2",
8547                "-msse3",
8548            ],
8549        },
8550        android_x86_64: {
8551            cflags: [
8552                "-D_FORTIFY_SOURCE=2",
8553                "-msse3",
8554            ],
8555        },
8556    },
8557}
8558
8559// GN: //base/third_party/double_conversion:double_conversion__testing
8560cc_library_static {
8561    name: "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
8562    srcs: [
8563        "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
8564        "base/third_party/double_conversion/double-conversion/bignum.cc",
8565        "base/third_party/double_conversion/double-conversion/cached-powers.cc",
8566        "base/third_party/double_conversion/double-conversion/double-to-string.cc",
8567        "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
8568        "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
8569        "base/third_party/double_conversion/double-conversion/string-to-double.cc",
8570        "base/third_party/double_conversion/double-conversion/strtod.cc",
8571    ],
8572    host_supported: true,
8573    defaults: [
8574        "cronet_aml_cc_defaults",
8575    ],
8576    cflags: [
8577        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
8578        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
8579        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8580        "-DNDEBUG",
8581        "-DNO_UNWIND_TABLES",
8582        "-DNVALGRIND",
8583        "-DOFFICIAL_BUILD",
8584        "-D_GNU_SOURCE",
8585        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8586        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
8587        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8588        "-D__STDC_CONSTANT_MACROS",
8589        "-D__STDC_FORMAT_MACROS",
8590        "-fdata-sections",
8591        "-ffunction-sections",
8592        "-fno-asynchronous-unwind-tables",
8593        "-fno-unwind-tables",
8594        "-fstack-protector",
8595        "-fvisibility-inlines-hidden",
8596        "-fvisibility=hidden",
8597        "-g1",
8598    ],
8599    local_include_dirs: [
8600        "./",
8601        "buildtools/third_party/libc++/",
8602        "third_party/libc++/src/include",
8603        "third_party/libc++abi/src/include",
8604    ],
8605    cpp_std: "c++20",
8606    ldflags: [
8607        "-Wl,--as-needed",
8608        "-Wl,--gc-sections",
8609        "-Wl,--icf=all",
8610    ],
8611    target: {
8612        android_arm: {
8613            cflags: [
8614                "-DANDROID",
8615                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
8616                "-DHAVE_SYS_UIO_H",
8617                "-D_FORTIFY_SOURCE=2",
8618                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
8619            ],
8620        },
8621        android_arm64: {
8622            cflags: [
8623                "-DANDROID",
8624                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
8625                "-DHAVE_SYS_UIO_H",
8626                "-D_FORTIFY_SOURCE=2",
8627                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
8628                "-O2",
8629                "-mno-outline",
8630            ],
8631        },
8632        android_riscv64: {
8633            cflags: [
8634                "-DANDROID",
8635                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
8636                "-DHAVE_SYS_UIO_H",
8637                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
8638            ],
8639        },
8640        android_x86: {
8641            cflags: [
8642                "-DANDROID",
8643                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
8644                "-DHAVE_SYS_UIO_H",
8645                "-D_FORTIFY_SOURCE=2",
8646                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
8647                "-msse3",
8648            ],
8649        },
8650        android_x86_64: {
8651            cflags: [
8652                "-DANDROID",
8653                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
8654                "-DHAVE_SYS_UIO_H",
8655                "-D_FORTIFY_SOURCE=2",
8656                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
8657                "-msse3",
8658            ],
8659        },
8660        host: {
8661            cflags: [
8662                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
8663                "-DUSE_AURA=1",
8664                "-DUSE_OZONE=1",
8665                "-DUSE_UDEV",
8666                "-D_FILE_OFFSET_BITS=64",
8667                "-D_FORTIFY_SOURCE=2",
8668                "-D_LARGEFILE64_SOURCE",
8669                "-D_LARGEFILE_SOURCE",
8670                "-O2",
8671                "-msse3",
8672            ],
8673            compile_multilib: "64",
8674        },
8675    },
8676}
8677
8678// GN: //base:tracing_buildflags
8679cc_genrule {
8680    name: "cronet_aml_base_tracing_buildflags",
8681    cmd: "mkdir -p $(genDir)/base && echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"true\" USE_PERFETTO_TRACE_PROCESSOR=\"true\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
8682         "$(location build/write_buildflag_header.py) --output " +
8683         "$(out) " +
8684         "--rulename " +
8685         "//base:tracing_buildflags " +
8686         "--gen-dir " +
8687         ". " +
8688         "--definitions " +
8689         "/dev/stdin",
8690    out: [
8691        "base/tracing_buildflags.h",
8692    ],
8693    tool_files: [
8694        "build/write_buildflag_header.py",
8695    ],
8696    apex_available: [
8697        "com.android.tethering",
8698    ],
8699}
8700
8701// GN: //base:tracing_buildflags__testing
8702cc_genrule {
8703    name: "cronet_aml_base_tracing_buildflags__testing",
8704    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
8705         "then " +
8706         "mkdir -p $(genDir)/base && echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"true\" USE_PERFETTO_TRACE_PROCESSOR=\"true\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
8707         "$(location build/write_buildflag_header.py) --output " +
8708         "$(out) " +
8709         "--rulename " +
8710         "//base:tracing_buildflags " +
8711         "--gen-dir " +
8712         ". " +
8713         "--definitions " +
8714         "/dev/stdin; " +
8715         "fi; " +
8716         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
8717         "then " +
8718         "mkdir -p $(genDir)/base && echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"true\" USE_PERFETTO_TRACE_PROCESSOR=\"true\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
8719         "$(location build/write_buildflag_header.py) --output " +
8720         "$(out) " +
8721         "--rulename " +
8722         "//base:tracing_buildflags " +
8723         "--gen-dir " +
8724         ". " +
8725         "--definitions " +
8726         "/dev/stdin; " +
8727         "fi; " +
8728         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
8729         "then " +
8730         "mkdir -p $(genDir)/base && echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"true\" USE_PERFETTO_TRACE_PROCESSOR=\"true\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
8731         "$(location build/write_buildflag_header.py) --output " +
8732         "$(out) " +
8733         "--rulename " +
8734         "//base:tracing_buildflags " +
8735         "--gen-dir " +
8736         ". " +
8737         "--definitions " +
8738         "/dev/stdin; " +
8739         "fi; " +
8740         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
8741         "then " +
8742         "mkdir -p $(genDir)/base && echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"true\" USE_PERFETTO_TRACE_PROCESSOR=\"true\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
8743         "$(location build/write_buildflag_header.py) --output " +
8744         "$(out) " +
8745         "--rulename " +
8746         "//base:tracing_buildflags " +
8747         "--gen-dir " +
8748         ". " +
8749         "--definitions " +
8750         "/dev/stdin; " +
8751         "fi; " +
8752         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
8753         "then " +
8754         "mkdir -p $(genDir)/base && echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"true\" USE_PERFETTO_TRACE_PROCESSOR=\"true\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
8755         "$(location build/write_buildflag_header.py) --output " +
8756         "$(out) " +
8757         "--rulename " +
8758         "//base:tracing_buildflags " +
8759         "--gen-dir " +
8760         ". " +
8761         "--definitions " +
8762         "/dev/stdin; " +
8763         "fi; " +
8764         "if [[ $$CC_OS != 'android' ]]; " +
8765         "then " +
8766         "mkdir -p $(genDir)/base && echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"true\" USE_PERFETTO_TRACE_PROCESSOR=\"true\" OPTIONAL_TRACE_EVENTS_ENABLED=\"true\"' | " +
8767         "$(location build/write_buildflag_header.py) --output " +
8768         "$(out) " +
8769         "--rulename " +
8770         "//base:tracing_buildflags " +
8771         "--gen-dir " +
8772         ". " +
8773         "--definitions " +
8774         "/dev/stdin; " +
8775         "fi;",
8776    host_supported: true,
8777    out: [
8778        "base/tracing_buildflags.h",
8779    ],
8780    tool_files: [
8781        "build/write_buildflag_header.py",
8782    ],
8783    apex_available: [
8784        "com.android.tethering",
8785    ],
8786}
8787
8788// GN: //base/version_info/android:channel_enum_java__testing
8789java_library {
8790    name: "cronet_aml_base_version_info_android_channel_enum_java__testing",
8791    srcs: [
8792        ":cronet_aml_base_version_info_android_channel_enum_srcjar__testing",
8793    ],
8794    apex_available: [
8795        "com.android.tethering",
8796    ],
8797    min_sdk_version: "30",
8798    libs: [
8799        "androidx.annotation_annotation",
8800    ],
8801    sdk_version: "current",
8802    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
8803}
8804
8805// GN: //base/version_info/android:channel_enum_srcjar__testing
8806java_genrule {
8807    name: "cronet_aml_base_version_info_android_channel_enum_srcjar__testing",
8808    cmd: "mkdir -p $(genDir)/base/version_info/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
8809         "$(out) " +
8810         "$(location base/version_info/channel.h)",
8811    out: [
8812        "base/version_info/android/channel_enum_srcjar.srcjar",
8813    ],
8814    tool_files: [
8815        "base/version_info/channel.h",
8816        "build/action_helpers.py",
8817        "build/android/gyp/java_cpp_enum.py",
8818        "build/android/gyp/util/__init__.py",
8819        "build/android/gyp/util/build_utils.py",
8820        "build/android/gyp/util/java_cpp_utils.py",
8821        "build/gn_helpers.py",
8822        "build/zip_helpers.py",
8823    ],
8824}
8825
8826// GN: //base/version_info/android:generate_version_constants__testing
8827java_genrule {
8828    name: "cronet_aml_base_version_info_android_generate_version_constants__testing",
8829    cmd: "mkdir -p $(genDir)/base/version_info/android/java/org/chromium/base/version_info && $(location build/util/version.py) --official " +
8830         "-f " +
8831         "$(location chrome/VERSION) " +
8832         "-e " +
8833         "'CHANNEL=str.upper(\"default\")' " +
8834         "-o " +
8835         "$(out) " +
8836         "$(location base/version_info/android/java/VersionConstants.java.version)",
8837    out: [
8838        "base/version_info/android/java/org/chromium/base/version_info/VersionConstants.java",
8839    ],
8840    tool_files: [
8841        "base/version_info/android/java/VersionConstants.java.version",
8842        "build/util/LASTCHANGE",
8843        "build/util/android_chrome_version.py",
8844        "build/util/version.py",
8845        "chrome/VERSION",
8846    ],
8847}
8848
8849// GN: //base/version_info/android:version_constants_java__testing
8850java_library {
8851    name: "cronet_aml_base_version_info_android_version_constants_java__testing",
8852    srcs: [
8853        ":cronet_aml_base_version_info_android_generate_version_constants__testing",
8854        "base/version_info/android/java/src/org/chromium/base/version_info/VersionConstantsBridge.java",
8855        "base/version_info/android/java/src/org/chromium/base/version_info/VersionInfo.java",
8856    ],
8857    static_libs: [
8858        "cronet_aml_base_version_info_android_channel_enum_java__testing",
8859        "cronet_aml_build_android_build_java__testing",
8860        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
8861    ],
8862    apex_available: [
8863        "com.android.tethering",
8864    ],
8865    min_sdk_version: "30",
8866    libs: [
8867        "androidx.annotation_annotation",
8868    ],
8869    sdk_version: "current",
8870    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
8871}
8872
8873// GN: //build/android:build_config_gen
8874genrule {
8875    name: "cronet_aml_build_android_build_config_gen",
8876    srcs: [
8877        ":cronet_aml_build_android_build_config_gen_preprocess",
8878    ],
8879    tools: [
8880        "soong_zip",
8881    ],
8882    cmd: "cp $(in) $(genDir)/BuildConfig.java && " +
8883         "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/BuildConfig.java",
8884    out: [
8885        "BuildConfig.srcjar",
8886    ],
8887    defaults: [
8888        "cronet_aml_cc_defaults",
8889    ],
8890}
8891
8892// GN: //build/android:build_config_gen__testing
8893genrule {
8894    name: "cronet_aml_build_android_build_config_gen__testing",
8895    srcs: [
8896        ":cronet_aml_build_android_build_config_gen__testing_preprocess",
8897    ],
8898    tools: [
8899        "soong_zip",
8900    ],
8901    cmd: "cp $(in) $(genDir)/BuildConfig.java && " +
8902         "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/BuildConfig.java",
8903    out: [
8904        "BuildConfig.srcjar",
8905    ],
8906    defaults: [
8907        "cronet_aml_cc_defaults",
8908    ],
8909}
8910
8911// GN: //build/android:build_config_gen__testing
8912cc_object {
8913    name: "cronet_aml_build_android_build_config_gen__testing_preprocess",
8914    srcs: [
8915        ":cronet_aml_build_android_build_config_gen__testing_rename",
8916    ],
8917    cflags: [
8918        "-DANDROID",
8919        "-E",
8920        "-P",
8921    ],
8922    compile_multilib: "first",
8923}
8924
8925// GN: //build/android:build_config_gen__testing
8926genrule {
8927    name: "cronet_aml_build_android_build_config_gen__testing_rename",
8928    srcs: [
8929        "build/android/java/templates/BuildConfig.template",
8930    ],
8931    cmd: "cp $(in) $(out)",
8932    out: [
8933        "BuildConfig.cc",
8934    ],
8935}
8936
8937// GN: //build/android:build_config_gen
8938cc_object {
8939    name: "cronet_aml_build_android_build_config_gen_preprocess",
8940    srcs: [
8941        ":cronet_aml_build_android_build_config_gen_rename",
8942    ],
8943    cflags: [
8944        "-DANDROID",
8945        "-E",
8946        "-P",
8947    ],
8948    compile_multilib: "first",
8949}
8950
8951// GN: //build/android:build_config_gen
8952genrule {
8953    name: "cronet_aml_build_android_build_config_gen_rename",
8954    srcs: [
8955        "build/android/java/templates/BuildConfig.template",
8956    ],
8957    cmd: "cp $(in) $(out)",
8958    out: [
8959        "BuildConfig.cc",
8960    ],
8961}
8962
8963// GN: //build/android:build_java
8964java_library {
8965    name: "cronet_aml_build_android_build_java",
8966    srcs: [
8967        ":cronet_aml_build_android_build_config_gen",
8968        ":cronet_aml_build_android_native_libraries_gen",
8969        "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
8970        "build/android/java/src/org/chromium/build/annotations/AssumeNonNull.java",
8971        "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
8972        "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
8973        "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
8974        "build/android/java/src/org/chromium/build/annotations/DoNotStripLogs.java",
8975        "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
8976        "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
8977        "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
8978    ],
8979    defaults: [
8980        "cronet_aml_java_framework_defaults",
8981    ],
8982    apex_available: [
8983        "com.android.tethering",
8984    ],
8985    min_sdk_version: "30",
8986    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
8987}
8988
8989// GN: //build/android:build_java__testing
8990java_library {
8991    name: "cronet_aml_build_android_build_java__testing",
8992    srcs: [
8993        ":cronet_aml_build_android_build_config_gen__testing",
8994        ":cronet_aml_build_android_native_libraries_gen__testing",
8995        "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
8996        "build/android/java/src/org/chromium/build/annotations/AssumeNonNull.java",
8997        "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
8998        "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
8999        "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
9000        "build/android/java/src/org/chromium/build/annotations/DoNotStripLogs.java",
9001        "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
9002        "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
9003        "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
9004    ],
9005    apex_available: [
9006        "com.android.tethering",
9007    ],
9008    min_sdk_version: "30",
9009    sdk_version: "current",
9010    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
9011}
9012
9013// GN: //build/android/gtest_apk:native_test_instrumentation_test_runner_java__testing
9014java_library {
9015    name: "cronet_aml_build_android_gtest_apk_native_test_instrumentation_test_runner_java__testing",
9016    srcs: [
9017        "build/android/gtest_apk/java/src/org/chromium/build/gtest_apk/NativeTestInstrumentationTestRunner.java",
9018        "build/android/gtest_apk/java/src/org/chromium/build/gtest_apk/NativeTestIntent.java",
9019        "build/android/gtest_apk/java/src/org/chromium/build/gtest_apk/TestStatusIntent.java",
9020        "build/android/gtest_apk/java/src/org/chromium/build/gtest_apk/TestStatusReceiver.java",
9021    ],
9022    apex_available: [
9023        "com.android.tethering",
9024    ],
9025    min_sdk_version: "30",
9026    sdk_version: "current",
9027    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
9028}
9029
9030// GN: //build/android:native_libraries_gen
9031java_genrule {
9032    name: "cronet_aml_build_android_native_libraries_gen",
9033    cmd: "mkdir -p $(genDir)/build/android && $(location build/android/gyp/write_native_libraries_java.py) --output " +
9034         "$(out) " +
9035         "--cpu-family " +
9036         "CPU_FAMILY_ARM",
9037    out: [
9038        "build/android/native_libraries_gen.srcjar",
9039    ],
9040    tool_files: [
9041        "build/action_helpers.py",
9042        "build/android/gyp/util/__init__.py",
9043        "build/android/gyp/util/build_utils.py",
9044        "build/android/gyp/write_native_libraries_java.py",
9045        "build/gn_helpers.py",
9046        "build/zip_helpers.py",
9047    ],
9048}
9049
9050// GN: //build/android:native_libraries_gen__testing
9051java_genrule {
9052    name: "cronet_aml_build_android_native_libraries_gen__testing",
9053    cmd: "mkdir -p $(genDir)/build/android && $(location build/android/gyp/write_native_libraries_java.py) --output " +
9054         "$(out) " +
9055         "--cpu-family " +
9056         "CPU_FAMILY_ARM",
9057    out: [
9058        "build/android/native_libraries_gen.srcjar",
9059    ],
9060    tool_files: [
9061        "build/action_helpers.py",
9062        "build/android/gyp/util/__init__.py",
9063        "build/android/gyp/util/build_utils.py",
9064        "build/android/gyp/write_native_libraries_java.py",
9065        "build/gn_helpers.py",
9066        "build/zip_helpers.py",
9067    ],
9068}
9069
9070// GN: //build:blink_buildflags
9071cc_genrule {
9072    name: "cronet_aml_build_blink_buildflags",
9073    cmd: "mkdir -p $(genDir)/build && echo '--flags USE_BLINK=\"true\"' | " +
9074         "$(location build/write_buildflag_header.py) --output " +
9075         "$(out) " +
9076         "--rulename " +
9077         "//build:blink_buildflags " +
9078         "--gen-dir " +
9079         ". " +
9080         "--definitions " +
9081         "/dev/stdin",
9082    out: [
9083        "build/blink_buildflags.h",
9084    ],
9085    tool_files: [
9086        "build/write_buildflag_header.py",
9087    ],
9088    apex_available: [
9089        "com.android.tethering",
9090    ],
9091}
9092
9093// GN: //build:blink_buildflags__testing
9094cc_genrule {
9095    name: "cronet_aml_build_blink_buildflags__testing",
9096    cmd: "mkdir -p $(genDir)/build && echo '--flags USE_BLINK=\"true\"' | " +
9097         "$(location build/write_buildflag_header.py) --output " +
9098         "$(out) " +
9099         "--rulename " +
9100         "//build:blink_buildflags " +
9101         "--gen-dir " +
9102         ". " +
9103         "--definitions " +
9104         "/dev/stdin",
9105    host_supported: true,
9106    out: [
9107        "build/blink_buildflags.h",
9108    ],
9109    tool_files: [
9110        "build/write_buildflag_header.py",
9111    ],
9112    apex_available: [
9113        "com.android.tethering",
9114    ],
9115}
9116
9117// GN: //build:branding_buildflags
9118cc_genrule {
9119    name: "cronet_aml_build_branding_buildflags",
9120    cmd: "mkdir -p $(genDir)/build && echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\" CHROME_FOR_TESTING=\"0\" GOOGLE_CHROME_FOR_TESTING_BRANDING=\"0\"' | " +
9121         "$(location build/write_buildflag_header.py) --output " +
9122         "$(out) " +
9123         "--rulename " +
9124         "//build:branding_buildflags " +
9125         "--gen-dir " +
9126         ". " +
9127         "--definitions " +
9128         "/dev/stdin",
9129    out: [
9130        "build/branding_buildflags.h",
9131    ],
9132    tool_files: [
9133        "build/write_buildflag_header.py",
9134    ],
9135    apex_available: [
9136        "com.android.tethering",
9137    ],
9138}
9139
9140// GN: //build:branding_buildflags__testing
9141cc_genrule {
9142    name: "cronet_aml_build_branding_buildflags__testing",
9143    cmd: "mkdir -p $(genDir)/build && echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\" CHROME_FOR_TESTING=\"0\" GOOGLE_CHROME_FOR_TESTING_BRANDING=\"0\"' | " +
9144         "$(location build/write_buildflag_header.py) --output " +
9145         "$(out) " +
9146         "--rulename " +
9147         "//build:branding_buildflags " +
9148         "--gen-dir " +
9149         ". " +
9150         "--definitions " +
9151         "/dev/stdin",
9152    host_supported: true,
9153    out: [
9154        "build/branding_buildflags.h",
9155    ],
9156    tool_files: [
9157        "build/write_buildflag_header.py",
9158    ],
9159    apex_available: [
9160        "com.android.tethering",
9161    ],
9162}
9163
9164// GN: //build:chromecast_buildflags
9165cc_genrule {
9166    name: "cronet_aml_build_chromecast_buildflags",
9167    cmd: "mkdir -p $(genDir)/build && echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\"' | " +
9168         "$(location build/write_buildflag_header.py) --output " +
9169         "$(out) " +
9170         "--rulename " +
9171         "//build:chromecast_buildflags " +
9172         "--gen-dir " +
9173         ". " +
9174         "--definitions " +
9175         "/dev/stdin",
9176    out: [
9177        "build/chromecast_buildflags.h",
9178    ],
9179    tool_files: [
9180        "build/write_buildflag_header.py",
9181    ],
9182    apex_available: [
9183        "com.android.tethering",
9184    ],
9185}
9186
9187// GN: //build:chromecast_buildflags__testing
9188cc_genrule {
9189    name: "cronet_aml_build_chromecast_buildflags__testing",
9190    cmd: "mkdir -p $(genDir)/build && echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\"' | " +
9191         "$(location build/write_buildflag_header.py) --output " +
9192         "$(out) " +
9193         "--rulename " +
9194         "//build:chromecast_buildflags " +
9195         "--gen-dir " +
9196         ". " +
9197         "--definitions " +
9198         "/dev/stdin",
9199    host_supported: true,
9200    out: [
9201        "build/chromecast_buildflags.h",
9202    ],
9203    tool_files: [
9204        "build/write_buildflag_header.py",
9205    ],
9206    apex_available: [
9207        "com.android.tethering",
9208    ],
9209}
9210
9211// GN: //build:chromeos_buildflags
9212cc_genrule {
9213    name: "cronet_aml_build_chromeos_buildflags",
9214    cmd: "mkdir -p $(genDir)/build && echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
9215         "$(location build/write_buildflag_header.py) --output " +
9216         "$(out) " +
9217         "--rulename " +
9218         "//build:chromeos_buildflags " +
9219         "--gen-dir " +
9220         ". " +
9221         "--definitions " +
9222         "/dev/stdin",
9223    out: [
9224        "build/chromeos_buildflags.h",
9225    ],
9226    tool_files: [
9227        "build/write_buildflag_header.py",
9228    ],
9229    apex_available: [
9230        "com.android.tethering",
9231    ],
9232}
9233
9234// GN: //build:chromeos_buildflags__testing
9235cc_genrule {
9236    name: "cronet_aml_build_chromeos_buildflags__testing",
9237    cmd: "mkdir -p $(genDir)/build && echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
9238         "$(location build/write_buildflag_header.py) --output " +
9239         "$(out) " +
9240         "--rulename " +
9241         "//build:chromeos_buildflags " +
9242         "--gen-dir " +
9243         ". " +
9244         "--definitions " +
9245         "/dev/stdin",
9246    host_supported: true,
9247    out: [
9248        "build/chromeos_buildflags.h",
9249    ],
9250    tool_files: [
9251        "build/write_buildflag_header.py",
9252    ],
9253    apex_available: [
9254        "com.android.tethering",
9255    ],
9256}
9257
9258// GN: //build/config/compiler:compiler_buildflags
9259cc_genrule {
9260    name: "cronet_aml_build_config_compiler_compiler_buildflags",
9261    cmd: "mkdir -p $(genDir)/build/config/compiler && echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
9262         "$(location build/write_buildflag_header.py) --output " +
9263         "$(out) " +
9264         "--rulename " +
9265         "//build/config/compiler:compiler_buildflags " +
9266         "--gen-dir " +
9267         ". " +
9268         "--definitions " +
9269         "/dev/stdin",
9270    out: [
9271        "build/config/compiler/compiler_buildflags.h",
9272    ],
9273    tool_files: [
9274        "build/write_buildflag_header.py",
9275    ],
9276    apex_available: [
9277        "com.android.tethering",
9278    ],
9279}
9280
9281// GN: //build/config/compiler:compiler_buildflags__testing
9282cc_genrule {
9283    name: "cronet_aml_build_config_compiler_compiler_buildflags__testing",
9284    cmd: "mkdir -p $(genDir)/build/config/compiler && echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
9285         "$(location build/write_buildflag_header.py) --output " +
9286         "$(out) " +
9287         "--rulename " +
9288         "//build/config/compiler:compiler_buildflags " +
9289         "--gen-dir " +
9290         ". " +
9291         "--definitions " +
9292         "/dev/stdin",
9293    host_supported: true,
9294    out: [
9295        "build/config/compiler/compiler_buildflags.h",
9296    ],
9297    tool_files: [
9298        "build/write_buildflag_header.py",
9299    ],
9300    apex_available: [
9301        "com.android.tethering",
9302    ],
9303}
9304
9305// GN: //build:ios_buildflags
9306cc_genrule {
9307    name: "cronet_aml_build_ios_buildflags",
9308    cmd: "mkdir -p $(genDir)/build && echo '--flags IS_IOS_APP_EXTENSION=\"false\"' | " +
9309         "$(location build/write_buildflag_header.py) --output " +
9310         "$(out) " +
9311         "--rulename " +
9312         "//build:ios_buildflags " +
9313         "--gen-dir " +
9314         ". " +
9315         "--definitions " +
9316         "/dev/stdin",
9317    out: [
9318        "build/ios_buildflags.h",
9319    ],
9320    tool_files: [
9321        "build/write_buildflag_header.py",
9322    ],
9323    apex_available: [
9324        "com.android.tethering",
9325    ],
9326}
9327
9328// GN: //build:ios_buildflags__testing
9329cc_genrule {
9330    name: "cronet_aml_build_ios_buildflags__testing",
9331    cmd: "mkdir -p $(genDir)/build && echo '--flags IS_IOS_APP_EXTENSION=\"false\"' | " +
9332         "$(location build/write_buildflag_header.py) --output " +
9333         "$(out) " +
9334         "--rulename " +
9335         "//build:ios_buildflags " +
9336         "--gen-dir " +
9337         ". " +
9338         "--definitions " +
9339         "/dev/stdin",
9340    host_supported: true,
9341    out: [
9342        "build/ios_buildflags.h",
9343    ],
9344    tool_files: [
9345        "build/write_buildflag_header.py",
9346    ],
9347    apex_available: [
9348        "com.android.tethering",
9349    ],
9350}
9351
9352// GN: //build:robolectric_buildflags
9353cc_genrule {
9354    name: "cronet_aml_build_robolectric_buildflags",
9355    cmd: "mkdir -p $(genDir)/build && echo '--flags IS_ROBOLECTRIC=\"false\"' | " +
9356         "$(location build/write_buildflag_header.py) --output " +
9357         "$(out) " +
9358         "--rulename " +
9359         "//build:robolectric_buildflags " +
9360         "--gen-dir " +
9361         ". " +
9362         "--definitions " +
9363         "/dev/stdin",
9364    out: [
9365        "build/robolectric_buildflags.h",
9366    ],
9367    tool_files: [
9368        "build/write_buildflag_header.py",
9369    ],
9370    apex_available: [
9371        "com.android.tethering",
9372    ],
9373}
9374
9375// GN: //build:robolectric_buildflags__testing
9376cc_genrule {
9377    name: "cronet_aml_build_robolectric_buildflags__testing",
9378    cmd: "mkdir -p $(genDir)/build && echo '--flags IS_ROBOLECTRIC=\"false\"' | " +
9379         "$(location build/write_buildflag_header.py) --output " +
9380         "$(out) " +
9381         "--rulename " +
9382         "//build:robolectric_buildflags " +
9383         "--gen-dir " +
9384         ". " +
9385         "--definitions " +
9386         "/dev/stdin",
9387    out: [
9388        "build/robolectric_buildflags.h",
9389    ],
9390    tool_files: [
9391        "build/write_buildflag_header.py",
9392    ],
9393    apex_available: [
9394        "com.android.tethering",
9395    ],
9396}
9397
9398// GN: //buildtools/third_party/libc++:libc++
9399cc_library_static {
9400    name: "cronet_aml_buildtools_third_party_libc___libc__",
9401    srcs: [
9402        "third_party/libc++/src/src/algorithm.cpp",
9403        "third_party/libc++/src/src/any.cpp",
9404        "third_party/libc++/src/src/atomic.cpp",
9405        "third_party/libc++/src/src/barrier.cpp",
9406        "third_party/libc++/src/src/bind.cpp",
9407        "third_party/libc++/src/src/call_once.cpp",
9408        "third_party/libc++/src/src/charconv.cpp",
9409        "third_party/libc++/src/src/chrono.cpp",
9410        "third_party/libc++/src/src/condition_variable.cpp",
9411        "third_party/libc++/src/src/condition_variable_destructor.cpp",
9412        "third_party/libc++/src/src/error_category.cpp",
9413        "third_party/libc++/src/src/exception.cpp",
9414        "third_party/libc++/src/src/filesystem/directory_iterator.cpp",
9415        "third_party/libc++/src/src/filesystem/filesystem_error.cpp",
9416        "third_party/libc++/src/src/filesystem/operations.cpp",
9417        "third_party/libc++/src/src/filesystem/path.cpp",
9418        "third_party/libc++/src/src/functional.cpp",
9419        "third_party/libc++/src/src/future.cpp",
9420        "third_party/libc++/src/src/hash.cpp",
9421        "third_party/libc++/src/src/ios.cpp",
9422        "third_party/libc++/src/src/ios.instantiations.cpp",
9423        "third_party/libc++/src/src/iostream.cpp",
9424        "third_party/libc++/src/src/legacy_pointer_safety.cpp",
9425        "third_party/libc++/src/src/locale.cpp",
9426        "third_party/libc++/src/src/memory.cpp",
9427        "third_party/libc++/src/src/mutex.cpp",
9428        "third_party/libc++/src/src/mutex_destructor.cpp",
9429        "third_party/libc++/src/src/new.cpp",
9430        "third_party/libc++/src/src/new_handler.cpp",
9431        "third_party/libc++/src/src/new_helpers.cpp",
9432        "third_party/libc++/src/src/optional.cpp",
9433        "third_party/libc++/src/src/random.cpp",
9434        "third_party/libc++/src/src/random_shuffle.cpp",
9435        "third_party/libc++/src/src/regex.cpp",
9436        "third_party/libc++/src/src/ryu/d2fixed.cpp",
9437        "third_party/libc++/src/src/ryu/d2s.cpp",
9438        "third_party/libc++/src/src/ryu/f2s.cpp",
9439        "third_party/libc++/src/src/shared_mutex.cpp",
9440        "third_party/libc++/src/src/stdexcept.cpp",
9441        "third_party/libc++/src/src/string.cpp",
9442        "third_party/libc++/src/src/strstream.cpp",
9443        "third_party/libc++/src/src/system_error.cpp",
9444        "third_party/libc++/src/src/thread.cpp",
9445        "third_party/libc++/src/src/typeinfo.cpp",
9446        "third_party/libc++/src/src/valarray.cpp",
9447        "third_party/libc++/src/src/variant.cpp",
9448        "third_party/libc++/src/src/vector.cpp",
9449        "third_party/libc++/src/src/verbose_abort.cpp",
9450    ],
9451    host_supported: true,
9452    defaults: [
9453        "cronet_aml_cc_defaults",
9454    ],
9455    cflags: [
9456        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
9457        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
9458        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9459        "-DLIBCXX_BUILDING_LIBCXXABI",
9460        "-DNDEBUG",
9461        "-DNO_UNWIND_TABLES",
9462        "-DNVALGRIND",
9463        "-DOFFICIAL_BUILD",
9464        "-D_GNU_SOURCE",
9465        "-D_LIBCPP_BUILDING_LIBRARY",
9466        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9467        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
9468        "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
9469        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9470        "-fdata-sections",
9471        "-ffunction-sections",
9472        "-fno-asynchronous-unwind-tables",
9473        "-fno-unwind-tables",
9474        "-fstack-protector",
9475        "-fvisibility-inlines-hidden",
9476        "-fvisibility=hidden",
9477        "-g1",
9478    ],
9479    local_include_dirs: [
9480        "./",
9481        "buildtools/third_party/libc++/",
9482        "third_party/libc++/src/include",
9483        "third_party/libc++/src/src/",
9484        "third_party/libc++abi/src/include",
9485    ],
9486    cpp_std: "c++20",
9487    ldflags: [
9488        "-Wl,--as-needed",
9489        "-Wl,--gc-sections",
9490        "-Wl,--icf=all",
9491    ],
9492    cppflags: [
9493        "-fexceptions",
9494    ],
9495    rtti: true,
9496    target: {
9497        android_arm: {
9498            cflags: [
9499                "-DANDROID",
9500                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9501                "-DHAVE_SYS_UIO_H",
9502                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9503            ],
9504        },
9505        android_arm64: {
9506            cflags: [
9507                "-DANDROID",
9508                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9509                "-DHAVE_SYS_UIO_H",
9510                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9511                "-O2",
9512                "-mno-outline",
9513            ],
9514        },
9515        android_riscv64: {
9516            cflags: [
9517                "-DANDROID",
9518                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9519                "-DHAVE_SYS_UIO_H",
9520                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9521            ],
9522        },
9523        android_x86: {
9524            cflags: [
9525                "-DANDROID",
9526                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9527                "-DHAVE_SYS_UIO_H",
9528                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9529                "-msse3",
9530            ],
9531        },
9532        android_x86_64: {
9533            cflags: [
9534                "-DANDROID",
9535                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9536                "-DHAVE_SYS_UIO_H",
9537                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9538                "-msse3",
9539            ],
9540        },
9541        host: {
9542            srcs: [
9543                "third_party/libc++/src/src/filesystem/directory_entry.cpp",
9544                "third_party/libc++/src/src/filesystem/filesystem_clock.cpp",
9545            ],
9546            cflags: [
9547                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
9548                "-DUSE_AURA=1",
9549                "-DUSE_OZONE=1",
9550                "-DUSE_UDEV",
9551                "-D_FILE_OFFSET_BITS=64",
9552                "-D_LARGEFILE64_SOURCE",
9553                "-D_LARGEFILE_SOURCE",
9554                "-O2",
9555                "-msse3",
9556            ],
9557            compile_multilib: "64",
9558        },
9559    },
9560}
9561
9562// GN: //buildtools/third_party/libc++:libc++__testing
9563cc_library_static {
9564    name: "cronet_aml_buildtools_third_party_libc___libc____testing",
9565    srcs: [
9566        "third_party/libc++/src/src/algorithm.cpp",
9567        "third_party/libc++/src/src/any.cpp",
9568        "third_party/libc++/src/src/atomic.cpp",
9569        "third_party/libc++/src/src/barrier.cpp",
9570        "third_party/libc++/src/src/bind.cpp",
9571        "third_party/libc++/src/src/call_once.cpp",
9572        "third_party/libc++/src/src/charconv.cpp",
9573        "third_party/libc++/src/src/chrono.cpp",
9574        "third_party/libc++/src/src/condition_variable.cpp",
9575        "third_party/libc++/src/src/condition_variable_destructor.cpp",
9576        "third_party/libc++/src/src/error_category.cpp",
9577        "third_party/libc++/src/src/exception.cpp",
9578        "third_party/libc++/src/src/filesystem/directory_iterator.cpp",
9579        "third_party/libc++/src/src/filesystem/filesystem_error.cpp",
9580        "third_party/libc++/src/src/filesystem/operations.cpp",
9581        "third_party/libc++/src/src/filesystem/path.cpp",
9582        "third_party/libc++/src/src/functional.cpp",
9583        "third_party/libc++/src/src/future.cpp",
9584        "third_party/libc++/src/src/hash.cpp",
9585        "third_party/libc++/src/src/ios.cpp",
9586        "third_party/libc++/src/src/ios.instantiations.cpp",
9587        "third_party/libc++/src/src/iostream.cpp",
9588        "third_party/libc++/src/src/legacy_pointer_safety.cpp",
9589        "third_party/libc++/src/src/locale.cpp",
9590        "third_party/libc++/src/src/memory.cpp",
9591        "third_party/libc++/src/src/mutex.cpp",
9592        "third_party/libc++/src/src/mutex_destructor.cpp",
9593        "third_party/libc++/src/src/new.cpp",
9594        "third_party/libc++/src/src/new_handler.cpp",
9595        "third_party/libc++/src/src/new_helpers.cpp",
9596        "third_party/libc++/src/src/optional.cpp",
9597        "third_party/libc++/src/src/random.cpp",
9598        "third_party/libc++/src/src/random_shuffle.cpp",
9599        "third_party/libc++/src/src/regex.cpp",
9600        "third_party/libc++/src/src/ryu/d2fixed.cpp",
9601        "third_party/libc++/src/src/ryu/d2s.cpp",
9602        "third_party/libc++/src/src/ryu/f2s.cpp",
9603        "third_party/libc++/src/src/shared_mutex.cpp",
9604        "third_party/libc++/src/src/stdexcept.cpp",
9605        "third_party/libc++/src/src/string.cpp",
9606        "third_party/libc++/src/src/strstream.cpp",
9607        "third_party/libc++/src/src/system_error.cpp",
9608        "third_party/libc++/src/src/thread.cpp",
9609        "third_party/libc++/src/src/typeinfo.cpp",
9610        "third_party/libc++/src/src/valarray.cpp",
9611        "third_party/libc++/src/src/variant.cpp",
9612        "third_party/libc++/src/src/vector.cpp",
9613        "third_party/libc++/src/src/verbose_abort.cpp",
9614    ],
9615    host_supported: true,
9616    defaults: [
9617        "cronet_aml_cc_defaults",
9618    ],
9619    cflags: [
9620        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
9621        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
9622        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9623        "-DLIBCXX_BUILDING_LIBCXXABI",
9624        "-DNDEBUG",
9625        "-DNO_UNWIND_TABLES",
9626        "-DNVALGRIND",
9627        "-DOFFICIAL_BUILD",
9628        "-D_GNU_SOURCE",
9629        "-D_LIBCPP_BUILDING_LIBRARY",
9630        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9631        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
9632        "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
9633        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9634        "-fdata-sections",
9635        "-ffunction-sections",
9636        "-fno-asynchronous-unwind-tables",
9637        "-fno-unwind-tables",
9638        "-fstack-protector",
9639        "-fvisibility-inlines-hidden",
9640        "-fvisibility=hidden",
9641        "-g1",
9642    ],
9643    local_include_dirs: [
9644        "./",
9645        "buildtools/third_party/libc++/",
9646        "third_party/libc++/src/include",
9647        "third_party/libc++/src/src/",
9648        "third_party/libc++abi/src/include",
9649    ],
9650    cpp_std: "c++20",
9651    ldflags: [
9652        "-Wl,--as-needed",
9653        "-Wl,--gc-sections",
9654        "-Wl,--icf=all",
9655    ],
9656    cppflags: [
9657        "-fexceptions",
9658    ],
9659    rtti: true,
9660    target: {
9661        android_arm: {
9662            cflags: [
9663                "-DANDROID",
9664                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9665                "-DHAVE_SYS_UIO_H",
9666                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9667            ],
9668        },
9669        android_arm64: {
9670            cflags: [
9671                "-DANDROID",
9672                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9673                "-DHAVE_SYS_UIO_H",
9674                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9675                "-O2",
9676                "-mno-outline",
9677            ],
9678        },
9679        android_riscv64: {
9680            cflags: [
9681                "-DANDROID",
9682                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9683                "-DHAVE_SYS_UIO_H",
9684                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9685            ],
9686        },
9687        android_x86: {
9688            cflags: [
9689                "-DANDROID",
9690                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9691                "-DHAVE_SYS_UIO_H",
9692                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9693                "-msse3",
9694            ],
9695        },
9696        android_x86_64: {
9697            cflags: [
9698                "-DANDROID",
9699                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9700                "-DHAVE_SYS_UIO_H",
9701                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9702                "-msse3",
9703            ],
9704        },
9705        host: {
9706            srcs: [
9707                "third_party/libc++/src/src/filesystem/directory_entry.cpp",
9708                "third_party/libc++/src/src/filesystem/filesystem_clock.cpp",
9709            ],
9710            cflags: [
9711                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
9712                "-DUSE_AURA=1",
9713                "-DUSE_OZONE=1",
9714                "-DUSE_UDEV",
9715                "-D_FILE_OFFSET_BITS=64",
9716                "-D_LARGEFILE64_SOURCE",
9717                "-D_LARGEFILE_SOURCE",
9718                "-O2",
9719                "-msse3",
9720            ],
9721            compile_multilib: "64",
9722        },
9723    },
9724}
9725
9726// GN: //buildtools/third_party/libc++abi:libc++abi
9727cc_library_static {
9728    name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi",
9729    srcs: [
9730        "third_party/libc++abi/src/src/abort_message.cpp",
9731        "third_party/libc++abi/src/src/cxa_aux_runtime.cpp",
9732        "third_party/libc++abi/src/src/cxa_default_handlers.cpp",
9733        "third_party/libc++abi/src/src/cxa_exception.cpp",
9734        "third_party/libc++abi/src/src/cxa_exception_storage.cpp",
9735        "third_party/libc++abi/src/src/cxa_guard.cpp",
9736        "third_party/libc++abi/src/src/cxa_handlers.cpp",
9737        "third_party/libc++abi/src/src/cxa_personality.cpp",
9738        "third_party/libc++abi/src/src/cxa_thread_atexit.cpp",
9739        "third_party/libc++abi/src/src/cxa_vector.cpp",
9740        "third_party/libc++abi/src/src/cxa_virtual.cpp",
9741        "third_party/libc++abi/src/src/fallback_malloc.cpp",
9742        "third_party/libc++abi/src/src/private_typeinfo.cpp",
9743        "third_party/libc++abi/src/src/stdlib_exception.cpp",
9744        "third_party/libc++abi/src/src/stdlib_stdexcept.cpp",
9745        "third_party/libc++abi/src/src/stdlib_typeinfo.cpp",
9746    ],
9747    host_supported: true,
9748    defaults: [
9749        "cronet_aml_cc_defaults",
9750    ],
9751    cflags: [
9752        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
9753        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
9754        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9755        "-DLIBCXXABI_SILENT_TERMINATE",
9756        "-DNDEBUG",
9757        "-DNO_UNWIND_TABLES",
9758        "-DNVALGRIND",
9759        "-DOFFICIAL_BUILD",
9760        "-D_GNU_SOURCE",
9761        "-D_LIBCPP_BUILDING_LIBRARY",
9762        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9763        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
9764        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9765        "-fdata-sections",
9766        "-ffunction-sections",
9767        "-fno-asynchronous-unwind-tables",
9768        "-fno-unwind-tables",
9769        "-fstack-protector",
9770        "-fvisibility-inlines-hidden",
9771        "-fvisibility=hidden",
9772        "-g1",
9773    ],
9774    local_include_dirs: [
9775        "./",
9776        "buildtools/third_party/libc++/",
9777        "third_party/libc++/src/include",
9778        "third_party/libc++/src/src/",
9779        "third_party/libc++abi/src/include",
9780    ],
9781    cpp_std: "c++20",
9782    ldflags: [
9783        "-Wl,--as-needed",
9784        "-Wl,--gc-sections",
9785        "-Wl,--icf=all",
9786    ],
9787    cppflags: [
9788        "-fexceptions",
9789    ],
9790    rtti: true,
9791    target: {
9792        android_arm: {
9793            srcs: [
9794                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9795            ],
9796            cflags: [
9797                "-DANDROID",
9798                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9799                "-DHAVE_SYS_UIO_H",
9800                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9801            ],
9802        },
9803        android_arm64: {
9804            srcs: [
9805                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9806            ],
9807            cflags: [
9808                "-DANDROID",
9809                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9810                "-DHAVE_SYS_UIO_H",
9811                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9812                "-O2",
9813                "-mno-outline",
9814            ],
9815        },
9816        android_riscv64: {
9817            srcs: [
9818                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9819            ],
9820            cflags: [
9821                "-DANDROID",
9822                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9823                "-DHAVE_SYS_UIO_H",
9824                "-DHAVE___CXA_THREAD_ATEXIT_IMPL",
9825                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9826            ],
9827        },
9828        android_x86: {
9829            srcs: [
9830                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9831            ],
9832            cflags: [
9833                "-DANDROID",
9834                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9835                "-DHAVE_SYS_UIO_H",
9836                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9837                "-msse3",
9838            ],
9839        },
9840        android_x86_64: {
9841            srcs: [
9842                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9843            ],
9844            cflags: [
9845                "-DANDROID",
9846                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9847                "-DHAVE_SYS_UIO_H",
9848                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9849                "-msse3",
9850            ],
9851        },
9852        host: {
9853            srcs: [
9854                "third_party/libc++abi/src/src/cxa_demangle.cpp",
9855            ],
9856            cflags: [
9857                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
9858                "-DUSE_AURA=1",
9859                "-DUSE_OZONE=1",
9860                "-DUSE_UDEV",
9861                "-D_FILE_OFFSET_BITS=64",
9862                "-D_LARGEFILE64_SOURCE",
9863                "-D_LARGEFILE_SOURCE",
9864                "-O2",
9865                "-msse3",
9866            ],
9867            compile_multilib: "64",
9868        },
9869    },
9870}
9871
9872// GN: //buildtools/third_party/libc++abi:libc++abi__testing
9873cc_library_static {
9874    name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
9875    srcs: [
9876        "third_party/libc++abi/src/src/abort_message.cpp",
9877        "third_party/libc++abi/src/src/cxa_aux_runtime.cpp",
9878        "third_party/libc++abi/src/src/cxa_default_handlers.cpp",
9879        "third_party/libc++abi/src/src/cxa_exception.cpp",
9880        "third_party/libc++abi/src/src/cxa_exception_storage.cpp",
9881        "third_party/libc++abi/src/src/cxa_guard.cpp",
9882        "third_party/libc++abi/src/src/cxa_handlers.cpp",
9883        "third_party/libc++abi/src/src/cxa_personality.cpp",
9884        "third_party/libc++abi/src/src/cxa_thread_atexit.cpp",
9885        "third_party/libc++abi/src/src/cxa_vector.cpp",
9886        "third_party/libc++abi/src/src/cxa_virtual.cpp",
9887        "third_party/libc++abi/src/src/fallback_malloc.cpp",
9888        "third_party/libc++abi/src/src/private_typeinfo.cpp",
9889        "third_party/libc++abi/src/src/stdlib_exception.cpp",
9890        "third_party/libc++abi/src/src/stdlib_stdexcept.cpp",
9891        "third_party/libc++abi/src/src/stdlib_typeinfo.cpp",
9892    ],
9893    host_supported: true,
9894    defaults: [
9895        "cronet_aml_cc_defaults",
9896    ],
9897    cflags: [
9898        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
9899        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
9900        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9901        "-DLIBCXXABI_SILENT_TERMINATE",
9902        "-DNDEBUG",
9903        "-DNO_UNWIND_TABLES",
9904        "-DNVALGRIND",
9905        "-DOFFICIAL_BUILD",
9906        "-D_GNU_SOURCE",
9907        "-D_LIBCPP_BUILDING_LIBRARY",
9908        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9909        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
9910        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9911        "-fdata-sections",
9912        "-ffunction-sections",
9913        "-fno-asynchronous-unwind-tables",
9914        "-fno-unwind-tables",
9915        "-fstack-protector",
9916        "-fvisibility-inlines-hidden",
9917        "-fvisibility=hidden",
9918        "-g1",
9919    ],
9920    local_include_dirs: [
9921        "./",
9922        "buildtools/third_party/libc++/",
9923        "third_party/libc++/src/include",
9924        "third_party/libc++/src/src/",
9925        "third_party/libc++abi/src/include",
9926    ],
9927    cpp_std: "c++20",
9928    ldflags: [
9929        "-Wl,--as-needed",
9930        "-Wl,--gc-sections",
9931        "-Wl,--icf=all",
9932    ],
9933    cppflags: [
9934        "-fexceptions",
9935    ],
9936    rtti: true,
9937    target: {
9938        android_arm: {
9939            srcs: [
9940                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9941            ],
9942            cflags: [
9943                "-DANDROID",
9944                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9945                "-DHAVE_SYS_UIO_H",
9946                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9947            ],
9948        },
9949        android_arm64: {
9950            srcs: [
9951                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9952            ],
9953            cflags: [
9954                "-DANDROID",
9955                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9956                "-DHAVE_SYS_UIO_H",
9957                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9958                "-O2",
9959                "-mno-outline",
9960            ],
9961        },
9962        android_riscv64: {
9963            srcs: [
9964                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9965            ],
9966            cflags: [
9967                "-DANDROID",
9968                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9969                "-DHAVE_SYS_UIO_H",
9970                "-DHAVE___CXA_THREAD_ATEXIT_IMPL",
9971                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9972            ],
9973        },
9974        android_x86: {
9975            srcs: [
9976                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9977            ],
9978            cflags: [
9979                "-DANDROID",
9980                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9981                "-DHAVE_SYS_UIO_H",
9982                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9983                "-msse3",
9984            ],
9985        },
9986        android_x86_64: {
9987            srcs: [
9988                "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
9989            ],
9990            cflags: [
9991                "-DANDROID",
9992                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
9993                "-DHAVE_SYS_UIO_H",
9994                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
9995                "-msse3",
9996            ],
9997        },
9998        host: {
9999            srcs: [
10000                "third_party/libc++abi/src/src/cxa_demangle.cpp",
10001            ],
10002            cflags: [
10003                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
10004                "-DUSE_AURA=1",
10005                "-DUSE_OZONE=1",
10006                "-DUSE_UDEV",
10007                "-D_FILE_OFFSET_BITS=64",
10008                "-D_LARGEFILE64_SOURCE",
10009                "-D_LARGEFILE_SOURCE",
10010                "-O2",
10011                "-msse3",
10012            ],
10013            compile_multilib: "64",
10014        },
10015    },
10016}
10017
10018// GN: //gn:default_deps
10019cc_defaults {
10020    name: "cronet_aml_cc_defaults",
10021    cflags: [
10022        "-DBORINGSSL_SHARED_LIBRARY",
10023        "-DGOOGLE_PROTOBUF_NO_RTTI",
10024        "-Wno-ambiguous-reversed-operator",
10025        "-Wno-c++11-narrowing",
10026        "-Wno-error=return-type",
10027        "-Wno-invalid-constexpr",
10028        "-Wno-macro-redefined",
10029        "-Wno-missing-field-initializers",
10030        "-Wno-non-virtual-dtor",
10031        "-Wno-null-pointer-subtraction",
10032        "-Wno-sign-compare",
10033        "-Wno-sign-promo",
10034        "-Wno-unreachable-code-loop-increment",
10035        "-Wno-unused-parameter",
10036        "-fPIC",
10037        "-fprofile-list=external/cronet/exclude_coverage.list",
10038    ],
10039    stl: "none",
10040    cpp_std: "c++17",
10041    apex_available: [
10042        "com.android.tethering",
10043    ],
10044    min_sdk_version: "29",
10045    c_std: "gnu11",
10046    target: {
10047        android: {
10048            shared_libs: [
10049                "libmediandk",
10050            ],
10051            header_libs: [
10052                "jni_headers",
10053            ],
10054        },
10055        host: {
10056            cflags: [
10057                "-UANDROID",
10058            ],
10059            compile_multilib: "64",
10060        },
10061    },
10062}
10063
10064// GN: //components/cronet/android:api_version
10065java_genrule {
10066    name: "cronet_aml_components_cronet_android_api_version",
10067    cmd: "mkdir -p $(genDir)/components/cronet/android/templates/org/chromium/net && $(location build/util/version.py) --official " +
10068         "-f " +
10069         "$(location chrome/VERSION) " +
10070         "-f " +
10071         "$(location build/util/LASTCHANGE) " +
10072         "-e " +
10073         "'API_LEVEL=31' " +
10074         "-o " +
10075         "$(out) " +
10076         "$(location components/cronet/android/api/src/org/chromium/net/ApiVersion.template)",
10077    out: [
10078        "components/cronet/android/templates/org/chromium/net/ApiVersion.java",
10079    ],
10080    tool_files: [
10081        "build/util/LASTCHANGE",
10082        "build/util/android_chrome_version.py",
10083        "build/util/version.py",
10084        "chrome/VERSION",
10085        "components/cronet/android/api/src/org/chromium/net/ApiVersion.template",
10086    ],
10087}
10088
10089// GN: //components/cronet/android:api_version__testing
10090java_genrule {
10091    name: "cronet_aml_components_cronet_android_api_version__testing",
10092    cmd: "mkdir -p $(genDir)/components/cronet/android/templates/org/chromium/net && $(location build/util/version.py) --official " +
10093         "-f " +
10094         "$(location chrome/VERSION) " +
10095         "-f " +
10096         "$(location build/util/LASTCHANGE) " +
10097         "-e " +
10098         "'API_LEVEL=31' " +
10099         "-o " +
10100         "$(out) " +
10101         "$(location components/cronet/android/api/src/org/chromium/net/ApiVersion.template)",
10102    out: [
10103        "components/cronet/android/templates/org/chromium/net/ApiVersion.java",
10104    ],
10105    tool_files: [
10106        "build/util/LASTCHANGE",
10107        "build/util/android_chrome_version.py",
10108        "build/util/version.py",
10109        "chrome/VERSION",
10110        "components/cronet/android/api/src/org/chromium/net/ApiVersion.template",
10111    ],
10112}
10113
10114// GN: //components/cronet/android:base_feature_overrides_java_proto
10115java_library {
10116    name: "cronet_aml_components_cronet_android_base_feature_overrides_java_proto",
10117    srcs: [
10118        ":cronet_aml_components_cronet_android_base_feature_overrides_java_proto__protoc_java",
10119    ],
10120    static_libs: [
10121        "libprotobuf-java-lite",
10122    ],
10123    defaults: [
10124        "cronet_aml_java_framework_defaults",
10125    ],
10126    apex_available: [
10127        "com.android.tethering",
10128    ],
10129    min_sdk_version: "30",
10130    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
10131}
10132
10133// GN: //components/cronet/android:base_feature_overrides_java_proto__protoc_java
10134java_genrule {
10135    name: "cronet_aml_components_cronet_android_base_feature_overrides_java_proto__protoc_java",
10136    srcs: [
10137        "components/cronet/android/proto/base_feature_overrides.proto",
10138    ],
10139    tools: [
10140        "cronet_aml_third_party_protobuf_protoc",
10141    ],
10142    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/protoc_java.py) --protoc " +
10143         "$(location cronet_aml_third_party_protobuf_protoc) " +
10144         "--proto-path " +
10145         "external/cronet/components/cronet/android " +
10146         "--srcjar " +
10147         "$(out) " +
10148         "$(location components/cronet/android/proto/base_feature_overrides.proto)",
10149    out: [
10150        "components/cronet/android/base_feature_overrides_java_proto__protoc_java.srcjar",
10151    ],
10152    tool_files: [
10153        "build/action_helpers.py",
10154        "build/android/gyp/util/__init__.py",
10155        "build/android/gyp/util/build_utils.py",
10156        "build/gn_helpers.py",
10157        "build/protoc_java.py",
10158        "build/zip_helpers.py",
10159    ],
10160}
10161
10162// GN: //components/cronet/android:base_feature_overrides_java_proto__protoc_java__testing
10163java_genrule {
10164    name: "cronet_aml_components_cronet_android_base_feature_overrides_java_proto__protoc_java__testing",
10165    srcs: [
10166        "components/cronet/android/proto/base_feature_overrides.proto",
10167    ],
10168    tools: [
10169        "cronet_aml_third_party_protobuf_protoc",
10170    ],
10171    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/protoc_java.py) --protoc " +
10172         "$(location cronet_aml_third_party_protobuf_protoc) " +
10173         "--proto-path " +
10174         "external/cronet/components/cronet/android " +
10175         "--srcjar " +
10176         "$(out) " +
10177         "$(location components/cronet/android/proto/base_feature_overrides.proto)",
10178    out: [
10179        "components/cronet/android/base_feature_overrides_java_proto__protoc_java.srcjar",
10180    ],
10181    tool_files: [
10182        "build/action_helpers.py",
10183        "build/android/gyp/util/__init__.py",
10184        "build/android/gyp/util/build_utils.py",
10185        "build/gn_helpers.py",
10186        "build/protoc_java.py",
10187        "build/zip_helpers.py",
10188    ],
10189}
10190
10191// GN: //components/cronet/android:base_feature_overrides_java_proto__testing
10192java_library {
10193    name: "cronet_aml_components_cronet_android_base_feature_overrides_java_proto__testing",
10194    srcs: [
10195        ":cronet_aml_components_cronet_android_base_feature_overrides_java_proto__protoc_java__testing",
10196    ],
10197    static_libs: [
10198        "libprotobuf-java-lite",
10199    ],
10200    apex_available: [
10201        "com.android.tethering",
10202    ],
10203    min_sdk_version: "30",
10204    sdk_version: "current",
10205    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
10206}
10207
10208// GN: //components/cronet/android:base_feature_overrides_proto
10209cc_library_static {
10210    name: "cronet_aml_components_cronet_android_base_feature_overrides_proto",
10211    srcs: [
10212        ":cronet_aml_components_cronet_android_base_feature_overrides_proto_gen",
10213    ],
10214    shared_libs: [
10215        "liblog",
10216        "libprotobuf-cpp-lite",
10217    ],
10218    generated_headers: [
10219        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen_headers",
10220    ],
10221    export_generated_headers: [
10222        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen_headers",
10223    ],
10224    defaults: [
10225        "cronet_aml_cc_defaults",
10226    ],
10227    cflags: [
10228        "-DANDROID",
10229        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
10230        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
10231        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
10232        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
10233        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10234        "-DGOOGLE_PROTOBUF_NO_RTTI",
10235        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10236        "-DHAVE_PTHREAD",
10237        "-DHAVE_SYS_UIO_H",
10238        "-DNDEBUG",
10239        "-DNO_UNWIND_TABLES",
10240        "-DNVALGRIND",
10241        "-DOFFICIAL_BUILD",
10242        "-D_GNU_SOURCE",
10243        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10244        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
10245        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10246        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
10247        "-D__STDC_CONSTANT_MACROS",
10248        "-D__STDC_FORMAT_MACROS",
10249        "-fdata-sections",
10250        "-ffunction-sections",
10251        "-fno-asynchronous-unwind-tables",
10252        "-fno-unwind-tables",
10253        "-fstack-protector",
10254        "-fvisibility-inlines-hidden",
10255        "-fvisibility=hidden",
10256        "-g1",
10257    ],
10258    local_include_dirs: [
10259        "./",
10260        "buildtools/third_party/libc++/",
10261        "third_party/libc++/src/include",
10262        "third_party/libc++abi/src/include",
10263        "third_party/protobuf/src/",
10264    ],
10265    cpp_std: "c++20",
10266    ldflags: [
10267        "-Wl,--as-needed",
10268        "-Wl,--gc-sections",
10269        "-Wl,--icf=all",
10270    ],
10271    target: {
10272        android_arm: {
10273            cflags: [
10274                "-D_FORTIFY_SOURCE=2",
10275            ],
10276        },
10277        android_arm64: {
10278            cflags: [
10279                "-D_FORTIFY_SOURCE=2",
10280                "-O2",
10281                "-mno-outline",
10282            ],
10283        },
10284        android_x86: {
10285            cflags: [
10286                "-D_FORTIFY_SOURCE=2",
10287                "-msse3",
10288            ],
10289        },
10290        android_x86_64: {
10291            cflags: [
10292                "-D_FORTIFY_SOURCE=2",
10293                "-msse3",
10294            ],
10295        },
10296    },
10297}
10298
10299// GN: //components/cronet/android:base_feature_overrides_proto__testing
10300cc_library_static {
10301    name: "cronet_aml_components_cronet_android_base_feature_overrides_proto__testing",
10302    srcs: [
10303        ":cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing",
10304    ],
10305    shared_libs: [
10306        "liblog",
10307        "libprotobuf-cpp-lite",
10308    ],
10309    generated_headers: [
10310        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
10311    ],
10312    export_generated_headers: [
10313        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
10314    ],
10315    defaults: [
10316        "cronet_aml_cc_defaults",
10317    ],
10318    cflags: [
10319        "-DANDROID",
10320        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
10321        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
10322        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
10323        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
10324        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10325        "-DGOOGLE_PROTOBUF_NO_RTTI",
10326        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10327        "-DHAVE_PTHREAD",
10328        "-DHAVE_SYS_UIO_H",
10329        "-DNDEBUG",
10330        "-DNO_UNWIND_TABLES",
10331        "-DNVALGRIND",
10332        "-DOFFICIAL_BUILD",
10333        "-D_GNU_SOURCE",
10334        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10335        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
10336        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10337        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
10338        "-D__STDC_CONSTANT_MACROS",
10339        "-D__STDC_FORMAT_MACROS",
10340        "-fdata-sections",
10341        "-ffunction-sections",
10342        "-fno-asynchronous-unwind-tables",
10343        "-fno-unwind-tables",
10344        "-fstack-protector",
10345        "-fvisibility-inlines-hidden",
10346        "-fvisibility=hidden",
10347        "-g1",
10348    ],
10349    local_include_dirs: [
10350        "./",
10351        "buildtools/third_party/libc++/",
10352        "third_party/libc++/src/include",
10353        "third_party/libc++abi/src/include",
10354        "third_party/protobuf/src/",
10355    ],
10356    cpp_std: "c++20",
10357    ldflags: [
10358        "-Wl,--as-needed",
10359        "-Wl,--gc-sections",
10360        "-Wl,--icf=all",
10361    ],
10362    target: {
10363        android_arm: {
10364            cflags: [
10365                "-D_FORTIFY_SOURCE=2",
10366            ],
10367        },
10368        android_arm64: {
10369            cflags: [
10370                "-D_FORTIFY_SOURCE=2",
10371                "-O2",
10372                "-mno-outline",
10373            ],
10374        },
10375        android_x86: {
10376            cflags: [
10377                "-D_FORTIFY_SOURCE=2",
10378                "-msse3",
10379            ],
10380        },
10381        android_x86_64: {
10382            cflags: [
10383                "-D_FORTIFY_SOURCE=2",
10384                "-msse3",
10385            ],
10386        },
10387    },
10388}
10389
10390// GN: //components/cronet/android:base_feature_overrides_proto_gen
10391cc_genrule {
10392    name: "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen",
10393    srcs: [
10394        "components/cronet/android/proto/base_feature_overrides.proto",
10395    ],
10396    tools: [
10397        "cronet_aml_third_party_protobuf_protoc",
10398    ],
10399    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)",
10400    out: [
10401        "external/cronet/components/cronet/android/proto/base_feature_overrides.pb.cc",
10402    ],
10403    apex_available: [
10404        "com.android.tethering",
10405    ],
10406}
10407
10408// GN: //components/cronet/android:base_feature_overrides_proto_gen__testing
10409cc_genrule {
10410    name: "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing",
10411    srcs: [
10412        "components/cronet/android/proto/base_feature_overrides.proto",
10413    ],
10414    tools: [
10415        "cronet_aml_third_party_protobuf_protoc",
10416    ],
10417    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)",
10418    out: [
10419        "external/cronet/components/cronet/android/proto/base_feature_overrides.pb.cc",
10420    ],
10421    apex_available: [
10422        "com.android.tethering",
10423    ],
10424}
10425
10426// GN: //components/cronet/android:base_feature_overrides_proto_gen__testing
10427cc_genrule {
10428    name: "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
10429    srcs: [
10430        "components/cronet/android/proto/base_feature_overrides.proto",
10431    ],
10432    tools: [
10433        "cronet_aml_third_party_protobuf_protoc",
10434    ],
10435    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)",
10436    out: [
10437        "external/cronet/components/cronet/android/proto/base_feature_overrides.pb.h",
10438    ],
10439    export_include_dirs: [
10440        ".",
10441        "components/cronet/android/proto",
10442        "protos",
10443    ],
10444    apex_available: [
10445        "com.android.tethering",
10446    ],
10447}
10448
10449// GN: //components/cronet/android:base_feature_overrides_proto_gen
10450cc_genrule {
10451    name: "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen_headers",
10452    srcs: [
10453        "components/cronet/android/proto/base_feature_overrides.proto",
10454    ],
10455    tools: [
10456        "cronet_aml_third_party_protobuf_protoc",
10457    ],
10458    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)",
10459    out: [
10460        "external/cronet/components/cronet/android/proto/base_feature_overrides.pb.h",
10461    ],
10462    export_include_dirs: [
10463        ".",
10464        "components/cronet/android/proto",
10465        "protos",
10466    ],
10467    apex_available: [
10468        "com.android.tethering",
10469    ],
10470}
10471
10472// GN: //components/cronet/android:cronet
10473cc_library_shared {
10474    name: "cronet_aml_components_cronet_android_cronet",
10475    srcs: [
10476        "components/cronet/android/cronet_jni.cc",
10477    ],
10478    shared_libs: [
10479        "//external/cronet/third_party/boringssl:libcrypto",
10480        "//external/cronet/third_party/boringssl:libpki",
10481        "//external/cronet/third_party/boringssl:libssl",
10482        "libandroid",
10483        "liblog",
10484        "libz",
10485    ],
10486    whole_static_libs: [
10487        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base",
10488        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core",
10489        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim",
10490        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr",
10491        "cronet_aml_base_base",
10492        "cronet_aml_base_base_static",
10493        "cronet_aml_base_check_version_internal",
10494        "cronet_aml_base_nodebug_assertion",
10495        "cronet_aml_base_third_party_double_conversion_double_conversion",
10496        "cronet_aml_buildtools_third_party_libc___libc__",
10497        "cronet_aml_buildtools_third_party_libc__abi_libc__abi",
10498        "cronet_aml_components_cronet_android_base_feature_overrides_proto",
10499        "cronet_aml_components_cronet_android_cronet_base_feature",
10500        "cronet_aml_components_cronet_android_cronet_static",
10501        "cronet_aml_components_cronet_android_request_context_config_proto",
10502        "cronet_aml_components_cronet_cronet_common",
10503        "cronet_aml_components_cronet_cronet_version_header",
10504        "cronet_aml_components_cronet_metrics_util",
10505        "cronet_aml_components_metrics_library_support",
10506        "cronet_aml_components_miracle_parameter_common_common",
10507        "cronet_aml_components_prefs_prefs",
10508        "cronet_aml_crypto_crypto",
10509        "cronet_aml_net_constants",
10510        "cronet_aml_net_dns_dns",
10511        "cronet_aml_net_dns_dns_client",
10512        "cronet_aml_net_dns_host_resolver",
10513        "cronet_aml_net_dns_host_resolver_manager",
10514        "cronet_aml_net_dns_mdns_client",
10515        "cronet_aml_net_dns_public_public",
10516        "cronet_aml_net_http_transport_security_state_generated_files",
10517        "cronet_aml_net_isolation_info_proto",
10518        "cronet_aml_net_net",
10519        "cronet_aml_net_net_deps",
10520        "cronet_aml_net_net_nqe_proto",
10521        "cronet_aml_net_net_public_deps",
10522        "cronet_aml_net_preload_decoder",
10523        "cronet_aml_net_third_party_quiche_net_quic_proto",
10524        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto",
10525        "cronet_aml_net_third_party_quiche_quiche",
10526        "cronet_aml_net_traffic_annotation_traffic_annotation",
10527        "cronet_aml_net_uri_template",
10528        "cronet_aml_third_party_abseil_cpp_absl",
10529        "cronet_aml_third_party_abseil_cpp_absl_base_base",
10530        "cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
10531        "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
10532        "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
10533        "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
10534        "cronet_aml_third_party_abseil_cpp_absl_base_strerror",
10535        "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
10536        "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
10537        "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
10538        "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect",
10539        "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c",
10540        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state",
10541        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal",
10542        "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
10543        "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
10544        "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
10545        "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
10546        "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
10547        "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
10548        "cronet_aml_third_party_abseil_cpp_absl_hash_city",
10549        "cronet_aml_third_party_abseil_cpp_absl_hash_hash",
10550        "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
10551        "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null",
10552        "cronet_aml_third_party_abseil_cpp_absl_log_globals",
10553        "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op",
10554        "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions",
10555        "cronet_aml_third_party_abseil_cpp_absl_log_internal_fnmatch",
10556        "cronet_aml_third_party_abseil_cpp_absl_log_internal_format",
10557        "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals",
10558        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message",
10559        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set",
10560        "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard",
10561        "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto",
10562        "cronet_aml_third_party_abseil_cpp_absl_log_internal_vlog_config",
10563        "cronet_aml_third_party_abseil_cpp_absl_log_log_entry",
10564        "cronet_aml_third_party_abseil_cpp_absl_log_log_sink",
10565        "cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
10566        "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
10567        "cronet_aml_third_party_abseil_cpp_absl_random_distributions",
10568        "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
10569        "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
10570        "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
10571        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
10572        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
10573        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
10574        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
10575        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
10576        "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
10577        "cronet_aml_third_party_abseil_cpp_absl_random_random",
10578        "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
10579        "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
10580        "cronet_aml_third_party_abseil_cpp_absl_status_status",
10581        "cronet_aml_third_party_abseil_cpp_absl_status_statusor",
10582        "cronet_aml_third_party_abseil_cpp_absl_strings_cord",
10583        "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
10584        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
10585        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
10586        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
10587        "cronet_aml_third_party_abseil_cpp_absl_strings_internal",
10588        "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
10589        "cronet_aml_third_party_abseil_cpp_absl_strings_string_view",
10590        "cronet_aml_third_party_abseil_cpp_absl_strings_strings",
10591        "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
10592        "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
10593        "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
10594        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
10595        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
10596        "cronet_aml_third_party_abseil_cpp_absl_time_time",
10597        "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
10598        "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
10599        "cronet_aml_third_party_ashmem_ashmem",
10600        "cronet_aml_third_party_brotli_common",
10601        "cronet_aml_third_party_brotli_dec",
10602        "cronet_aml_third_party_cpu_features_cpuinfo",
10603        "cronet_aml_third_party_cpu_features_ndk_compat",
10604        "cronet_aml_third_party_icu_icui18n",
10605        "cronet_aml_third_party_icu_icuuc_private",
10606        "cronet_aml_third_party_jni_zero_jni_zero",
10607        "cronet_aml_third_party_libevent_libevent",
10608        "cronet_aml_third_party_metrics_proto_metrics_proto",
10609        "cronet_aml_third_party_modp_b64_modp_b64",
10610        "cronet_aml_third_party_protobuf_protobuf_lite",
10611        "cronet_aml_url_url",
10612    ],
10613    defaults: [
10614        "cronet_aml_cc_defaults",
10615    ],
10616    cflags: [
10617        "-DANDROID",
10618        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
10619        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
10620        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
10621        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
10622        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10623        "-DGOOGLE_PROTOBUF_NO_RTTI",
10624        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10625        "-DHAVE_PTHREAD",
10626        "-DHAVE_SYS_UIO_H",
10627        "-DNDEBUG",
10628        "-DNO_UNWIND_TABLES",
10629        "-DNVALGRIND",
10630        "-DOFFICIAL_BUILD",
10631        "-D_GNU_SOURCE",
10632        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10633        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
10634        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10635        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
10636        "-D__STDC_CONSTANT_MACROS",
10637        "-D__STDC_FORMAT_MACROS",
10638        "-fdata-sections",
10639        "-ffunction-sections",
10640        "-fno-asynchronous-unwind-tables",
10641        "-fno-unwind-tables",
10642        "-fstack-protector",
10643        "-fvisibility-inlines-hidden",
10644        "-fvisibility=hidden",
10645        "-g1",
10646    ],
10647    local_include_dirs: [
10648        "./",
10649        "base/allocator/partition_allocator/src/",
10650        "buildtools/third_party/libc++/",
10651        "net/third_party/quiche/overrides/",
10652        "net/third_party/quiche/src/",
10653        "net/third_party/quiche/src/quiche/common/platform/default/",
10654        "third_party/abseil-cpp/",
10655        "third_party/boringssl/src/include/",
10656        "third_party/libc++/src/include",
10657        "third_party/libc++abi/src/include",
10658        "third_party/protobuf/src/",
10659    ],
10660    cpp_std: "c++20",
10661    ldflags: [
10662        "-Wl,--as-needed",
10663        "-Wl,--gc-sections",
10664        "-Wl,--icf=all",
10665        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
10666        "-Wl,-wrap,asprintf",
10667        "-Wl,-wrap,calloc",
10668        "-Wl,-wrap,free",
10669        "-Wl,-wrap,getcwd",
10670        "-Wl,-wrap,malloc",
10671        "-Wl,-wrap,malloc_usable_size",
10672        "-Wl,-wrap,memalign",
10673        "-Wl,-wrap,posix_memalign",
10674        "-Wl,-wrap,pvalloc",
10675        "-Wl,-wrap,realloc",
10676        "-Wl,-wrap,realpath",
10677        "-Wl,-wrap,strdup",
10678        "-Wl,-wrap,strndup",
10679        "-Wl,-wrap,valloc",
10680        "-Wl,-wrap,vasprintf",
10681    ],
10682    stem: "libmainlinecronet.126.0.6423.0",
10683    visibility: [
10684        "//external/cronet:__subpackages__",
10685        "//packages/modules/Connectivity:__subpackages__",
10686    ],
10687    target: {
10688        android_arm: {
10689            cflags: [
10690                "-D_FORTIFY_SOURCE=2",
10691            ],
10692        },
10693        android_arm64: {
10694            cflags: [
10695                "-D_FORTIFY_SOURCE=2",
10696                "-O2",
10697                "-mno-outline",
10698            ],
10699        },
10700        android_x86: {
10701            cflags: [
10702                "-D_FORTIFY_SOURCE=2",
10703                "-msse3",
10704            ],
10705        },
10706        android_x86_64: {
10707            cflags: [
10708                "-D_FORTIFY_SOURCE=2",
10709                "-msse3",
10710            ],
10711        },
10712    },
10713}
10714
10715// TODO: remove stem for riscv64
10716// This is essential as there can't be two different modules
10717// with the same output. We usually got away with that because
10718// the non-testing Cronet is part of the Tethering APEX and the
10719// testing Cronet is not part of the Tethering APEX which made them
10720// look like two different outputs from the build system perspective.
10721// However, Cronet does not ship to Tethering APEX for RISCV64 which
10722// raises the conflict. Once we start shipping Cronet for RISCV64,
10723// this can be removed.
10724cc_library_shared {
10725    name: "cronet_aml_components_cronet_android_cronet__testing",
10726    srcs: [
10727        "components/cronet/android/cronet_jni.cc",
10728    ],
10729    shared_libs: [
10730        "libandroid",
10731        "liblog",
10732        "libz",
10733    ],
10734    whole_static_libs: [
10735        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base__testing",
10736        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core__testing",
10737        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim__testing",
10738        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr__testing",
10739        "cronet_aml_base_base__testing",
10740        "cronet_aml_base_base_static__testing",
10741        "cronet_aml_base_check_version_internal__testing",
10742        "cronet_aml_base_nodebug_assertion__testing",
10743        "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
10744        "cronet_aml_buildtools_third_party_libc___libc____testing",
10745        "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
10746        "cronet_aml_components_cronet_android_base_feature_overrides_proto__testing",
10747        "cronet_aml_components_cronet_android_cronet_base_feature__testing",
10748        "cronet_aml_components_cronet_android_cronet_static__testing",
10749        "cronet_aml_components_cronet_android_request_context_config_proto__testing",
10750        "cronet_aml_components_cronet_cronet_common__testing",
10751        "cronet_aml_components_cronet_cronet_version_header__testing",
10752        "cronet_aml_components_cronet_metrics_util__testing",
10753        "cronet_aml_components_metrics_library_support__testing",
10754        "cronet_aml_components_miracle_parameter_common_common__testing",
10755        "cronet_aml_components_prefs_prefs__testing",
10756        "cronet_aml_crypto_crypto__testing",
10757        "cronet_aml_net_constants__testing",
10758        "cronet_aml_net_dns_dns__testing",
10759        "cronet_aml_net_dns_dns_client__testing",
10760        "cronet_aml_net_dns_host_resolver__testing",
10761        "cronet_aml_net_dns_host_resolver_manager__testing",
10762        "cronet_aml_net_dns_mdns_client__testing",
10763        "cronet_aml_net_dns_public_public__testing",
10764        "cronet_aml_net_http_transport_security_state_generated_files__testing",
10765        "cronet_aml_net_isolation_info_proto__testing",
10766        "cronet_aml_net_net__testing",
10767        "cronet_aml_net_net_deps__testing",
10768        "cronet_aml_net_net_nqe_proto__testing",
10769        "cronet_aml_net_net_public_deps__testing",
10770        "cronet_aml_net_preload_decoder__testing",
10771        "cronet_aml_net_third_party_quiche_net_quic_proto__testing",
10772        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing",
10773        "cronet_aml_net_third_party_quiche_quiche__testing",
10774        "cronet_aml_net_traffic_annotation_traffic_annotation__testing",
10775        "cronet_aml_net_uri_template__testing",
10776        "cronet_aml_third_party_abseil_cpp_absl__testing",
10777        "cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
10778        "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
10779        "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
10780        "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
10781        "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
10782        "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
10783        "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
10784        "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
10785        "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
10786        "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing",
10787        "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing",
10788        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing",
10789        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing",
10790        "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
10791        "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
10792        "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
10793        "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
10794        "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
10795        "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
10796        "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
10797        "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
10798        "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
10799        "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing",
10800        "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing",
10801        "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing",
10802        "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing",
10803        "cronet_aml_third_party_abseil_cpp_absl_log_internal_fnmatch__testing",
10804        "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing",
10805        "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing",
10806        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing",
10807        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing",
10808        "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing",
10809        "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing",
10810        "cronet_aml_third_party_abseil_cpp_absl_log_internal_vlog_config__testing",
10811        "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing",
10812        "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing",
10813        "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
10814        "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
10815        "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
10816        "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base__testing",
10817        "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
10818        "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
10819        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
10820        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine__testing",
10821        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
10822        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
10823        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
10824        "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
10825        "cronet_aml_third_party_abseil_cpp_absl_random_random__testing",
10826        "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
10827        "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
10828        "cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
10829        "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
10830        "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
10831        "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
10832        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
10833        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
10834        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
10835        "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
10836        "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
10837        "cronet_aml_third_party_abseil_cpp_absl_strings_string_view__testing",
10838        "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
10839        "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
10840        "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing",
10841        "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
10842        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
10843        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
10844        "cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
10845        "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
10846        "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
10847        "cronet_aml_third_party_ashmem_ashmem__testing",
10848        "cronet_aml_third_party_boringssl_boringssl__testing",
10849        "cronet_aml_third_party_boringssl_boringssl_asm__testing",
10850        "cronet_aml_third_party_brotli_common__testing",
10851        "cronet_aml_third_party_brotli_dec__testing",
10852        "cronet_aml_third_party_cpu_features_cpuinfo__testing",
10853        "cronet_aml_third_party_cpu_features_ndk_compat__testing",
10854        "cronet_aml_third_party_icu_icui18n__testing",
10855        "cronet_aml_third_party_icu_icuuc_private__testing",
10856        "cronet_aml_third_party_jni_zero_jni_zero__testing",
10857        "cronet_aml_third_party_libevent_libevent__testing",
10858        "cronet_aml_third_party_metrics_proto_metrics_proto__testing",
10859        "cronet_aml_third_party_modp_b64_modp_b64__testing",
10860        "cronet_aml_third_party_protobuf_protobuf_lite__testing",
10861        "cronet_aml_url_url__testing",
10862    ],
10863    defaults: [
10864        "cronet_aml_cc_defaults",
10865    ],
10866    cflags: [
10867        "-DANDROID",
10868        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
10869        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
10870        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
10871        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
10872        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10873        "-DGOOGLE_PROTOBUF_NO_RTTI",
10874        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10875        "-DHAVE_PTHREAD",
10876        "-DHAVE_SYS_UIO_H",
10877        "-DNDEBUG",
10878        "-DNO_UNWIND_TABLES",
10879        "-DNVALGRIND",
10880        "-DOFFICIAL_BUILD",
10881        "-D_GNU_SOURCE",
10882        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10883        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
10884        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10885        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
10886        "-D__STDC_CONSTANT_MACROS",
10887        "-D__STDC_FORMAT_MACROS",
10888        "-fdata-sections",
10889        "-ffunction-sections",
10890        "-fno-asynchronous-unwind-tables",
10891        "-fno-unwind-tables",
10892        "-fstack-protector",
10893        "-fvisibility-inlines-hidden",
10894        "-fvisibility=hidden",
10895        "-g1",
10896    ],
10897    local_include_dirs: [
10898        "./",
10899        "base/allocator/partition_allocator/src/",
10900        "buildtools/third_party/libc++/",
10901        "net/third_party/quiche/overrides/",
10902        "net/third_party/quiche/src/",
10903        "net/third_party/quiche/src/quiche/common/platform/default/",
10904        "third_party/abseil-cpp/",
10905        "third_party/boringssl/src/include/",
10906        "third_party/libc++/src/include",
10907        "third_party/libc++abi/src/include",
10908        "third_party/protobuf/src/",
10909    ],
10910    cpp_std: "c++20",
10911    ldflags: [
10912        "-Wl,--as-needed",
10913        "-Wl,--gc-sections",
10914        "-Wl,--icf=all",
10915        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
10916        "-Wl,-wrap,asprintf",
10917        "-Wl,-wrap,calloc",
10918        "-Wl,-wrap,free",
10919        "-Wl,-wrap,getcwd",
10920        "-Wl,-wrap,malloc",
10921        "-Wl,-wrap,malloc_usable_size",
10922        "-Wl,-wrap,memalign",
10923        "-Wl,-wrap,posix_memalign",
10924        "-Wl,-wrap,pvalloc",
10925        "-Wl,-wrap,realloc",
10926        "-Wl,-wrap,realpath",
10927        "-Wl,-wrap,strdup",
10928        "-Wl,-wrap,strndup",
10929        "-Wl,-wrap,valloc",
10930        "-Wl,-wrap,vasprintf",
10931    ],
10932    stem: "libmainlinecronet.126.0.6423.0",
10933    visibility: [
10934        "//external/cronet:__subpackages__",
10935        "//packages/modules/Connectivity:__subpackages__",
10936    ],
10937    target: {
10938        android_arm: {
10939            cflags: [
10940                "-D_FORTIFY_SOURCE=2",
10941            ],
10942        },
10943        android_arm64: {
10944            cflags: [
10945                "-D_FORTIFY_SOURCE=2",
10946                "-O2",
10947                "-mno-outline",
10948            ],
10949        },
10950        android_riscv64: {
10951            stem: "libmainlinecronet_riscv64",
10952        },
10953        android_x86: {
10954            cflags: [
10955                "-D_FORTIFY_SOURCE=2",
10956                "-msse3",
10957            ],
10958        },
10959        android_x86_64: {
10960            cflags: [
10961                "-D_FORTIFY_SOURCE=2",
10962                "-msse3",
10963            ],
10964        },
10965    },
10966}
10967
10968// GN: //components/cronet/android:cronet_all_java__testing
10969java_library {
10970    name: "cronet_aml_components_cronet_android_cronet_all_java__testing",
10971    static_libs: [
10972        "cronet_aml_components_cronet_android_cronet_api_java__testing",
10973        "cronet_aml_components_cronet_android_cronet_impl_common_java__testing",
10974        "cronet_aml_components_cronet_android_cronet_impl_native_java__testing",
10975        "cronet_aml_components_cronet_android_cronet_impl_platform_java__testing",
10976        "cronet_aml_components_cronet_android_cronet_shared_java__testing",
10977        "cronet_aml_components_cronet_android_httpengine_native_provider_java__testing",
10978    ],
10979    apex_available: [
10980        "com.android.tethering",
10981    ],
10982    min_sdk_version: "30",
10983    sdk_version: "system_current",
10984    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
10985}
10986
10987// GN: //components/cronet/android:cronet_api_helpers_java__testing
10988java_library {
10989    name: "cronet_aml_components_cronet_android_cronet_api_helpers_java__testing",
10990    srcs: [
10991        "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
10992        "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
10993    ],
10994    static_libs: [
10995        "cronet_aml_components_cronet_android_cronet_api_java__testing",
10996    ],
10997    apex_available: [
10998        "com.android.tethering",
10999    ],
11000    min_sdk_version: "30",
11001    libs: [
11002        "androidx.annotation_annotation",
11003    ],
11004    sdk_version: "system_current",
11005    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11006}
11007
11008// GN: //components/cronet/android:cronet_api_java
11009java_library {
11010    name: "cronet_aml_components_cronet_android_cronet_api_java",
11011    srcs: [
11012        ":cronet_aml_components_cronet_android_api_version",
11013        "components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java",
11014        "components/cronet/android/api/src/org/chromium/net/CallbackException.java",
11015        "components/cronet/android/api/src/org/chromium/net/ConnectionMigrationOptions.java",
11016        "components/cronet/android/api/src/org/chromium/net/CronetEngine.java",
11017        "components/cronet/android/api/src/org/chromium/net/CronetException.java",
11018        "components/cronet/android/api/src/org/chromium/net/CronetProvider.java",
11019        "components/cronet/android/api/src/org/chromium/net/DnsOptions.java",
11020        "components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java",
11021        "components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java",
11022        "components/cronet/android/api/src/org/chromium/net/ExperimentalOptionsTranslatingCronetEngineBuilder.java",
11023        "components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java",
11024        "components/cronet/android/api/src/org/chromium/net/ICronetEngineBuilder.java",
11025        "components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java",
11026        "components/cronet/android/api/src/org/chromium/net/NetworkException.java",
11027        "components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java",
11028        "components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java",
11029        "components/cronet/android/api/src/org/chromium/net/QuicException.java",
11030        "components/cronet/android/api/src/org/chromium/net/QuicOptions.java",
11031        "components/cronet/android/api/src/org/chromium/net/RequestFinishedInfo.java",
11032        "components/cronet/android/api/src/org/chromium/net/UploadDataProvider.java",
11033        "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
11034        "components/cronet/android/api/src/org/chromium/net/UploadDataSink.java",
11035        "components/cronet/android/api/src/org/chromium/net/UrlRequest.java",
11036        "components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java",
11037        "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
11038    ],
11039    static_libs: [
11040        "cronet_aml_components_cronet_android_cronet_shared_java",
11041    ],
11042    defaults: [
11043        "cronet_aml_java_framework_defaults",
11044    ],
11045    apex_available: [
11046        "com.android.tethering",
11047    ],
11048    min_sdk_version: "30",
11049    libs: [
11050        "androidx.annotation_annotation",
11051        "androidx.annotation_annotation-experimental",
11052    ],
11053    visibility: [
11054        "//external/cronet:__subpackages__",
11055        "//packages/modules/Connectivity:__subpackages__",
11056    ],
11057    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11058}
11059
11060// GN: //components/cronet/android:cronet_api_java__testing
11061java_library {
11062    name: "cronet_aml_components_cronet_android_cronet_api_java__testing",
11063    srcs: [
11064        ":cronet_aml_components_cronet_android_api_version__testing",
11065        "components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java",
11066        "components/cronet/android/api/src/org/chromium/net/CallbackException.java",
11067        "components/cronet/android/api/src/org/chromium/net/ConnectionMigrationOptions.java",
11068        "components/cronet/android/api/src/org/chromium/net/CronetEngine.java",
11069        "components/cronet/android/api/src/org/chromium/net/CronetException.java",
11070        "components/cronet/android/api/src/org/chromium/net/CronetProvider.java",
11071        "components/cronet/android/api/src/org/chromium/net/DnsOptions.java",
11072        "components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java",
11073        "components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java",
11074        "components/cronet/android/api/src/org/chromium/net/ExperimentalOptionsTranslatingCronetEngineBuilder.java",
11075        "components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java",
11076        "components/cronet/android/api/src/org/chromium/net/ICronetEngineBuilder.java",
11077        "components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java",
11078        "components/cronet/android/api/src/org/chromium/net/NetworkException.java",
11079        "components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java",
11080        "components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java",
11081        "components/cronet/android/api/src/org/chromium/net/QuicException.java",
11082        "components/cronet/android/api/src/org/chromium/net/QuicOptions.java",
11083        "components/cronet/android/api/src/org/chromium/net/RequestFinishedInfo.java",
11084        "components/cronet/android/api/src/org/chromium/net/UploadDataProvider.java",
11085        "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
11086        "components/cronet/android/api/src/org/chromium/net/UploadDataSink.java",
11087        "components/cronet/android/api/src/org/chromium/net/UrlRequest.java",
11088        "components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java",
11089        "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
11090    ],
11091    static_libs: [
11092        "cronet_aml_components_cronet_android_cronet_shared_java__testing",
11093    ],
11094    apex_available: [
11095        "com.android.tethering",
11096    ],
11097    min_sdk_version: "30",
11098    libs: [
11099        "androidx.annotation_annotation",
11100        "androidx.annotation_annotation-experimental",
11101    ],
11102    sdk_version: "system_current",
11103    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11104}
11105
11106// GN: //components/cronet/android:cronet_base_feature
11107cc_library_static {
11108    name: "cronet_aml_components_cronet_android_cronet_base_feature",
11109    srcs: [
11110        "components/cronet/android/cronet_base_feature.cc",
11111    ],
11112    shared_libs: [
11113        "//external/cronet/third_party/boringssl:libcrypto",
11114        "//external/cronet/third_party/boringssl:libpki",
11115        "//external/cronet/third_party/boringssl:libssl",
11116        "libandroid",
11117        "liblog",
11118        "libprotobuf-cpp-lite",
11119    ],
11120    generated_headers: [
11121        "cronet_aml_base_allocator_buildflags",
11122        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
11123        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
11124        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
11125        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
11126        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
11127        "cronet_aml_base_anchor_functions_buildflags",
11128        "cronet_aml_base_android_runtime_jni_headers__action",
11129        "cronet_aml_base_base_jni__action",
11130        "cronet_aml_base_base_shared_preferences_jni__action",
11131        "cronet_aml_base_build_date",
11132        "cronet_aml_base_cfi_buildflags",
11133        "cronet_aml_base_check_version_internal_action",
11134        "cronet_aml_base_clang_profiling_buildflags",
11135        "cronet_aml_base_debugging_buildflags",
11136        "cronet_aml_base_feature_list_buildflags",
11137        "cronet_aml_base_fuzzing_buildflags",
11138        "cronet_aml_base_ios_cronet_buildflags",
11139        "cronet_aml_base_logging_buildflags",
11140        "cronet_aml_base_message_pump_buildflags",
11141        "cronet_aml_base_orderfile_buildflags",
11142        "cronet_aml_base_power_monitor_buildflags",
11143        "cronet_aml_base_process_launcher_jni__action",
11144        "cronet_aml_base_profiler_buildflags",
11145        "cronet_aml_base_protected_memory_buildflags",
11146        "cronet_aml_base_rust_buildflags",
11147        "cronet_aml_base_sanitizer_buildflags",
11148        "cronet_aml_base_synchronization_buildflags",
11149        "cronet_aml_base_tracing_buildflags",
11150        "cronet_aml_build_blink_buildflags",
11151        "cronet_aml_build_branding_buildflags",
11152        "cronet_aml_build_chromecast_buildflags",
11153        "cronet_aml_build_chromeos_buildflags",
11154        "cronet_aml_build_config_compiler_compiler_buildflags",
11155        "cronet_aml_build_ios_buildflags",
11156        "cronet_aml_build_robolectric_buildflags",
11157        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen_headers",
11158    ],
11159    export_generated_headers: [
11160        "cronet_aml_base_allocator_buildflags",
11161        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
11162        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
11163        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
11164        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
11165        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
11166        "cronet_aml_base_anchor_functions_buildflags",
11167        "cronet_aml_base_android_runtime_jni_headers__action",
11168        "cronet_aml_base_base_jni__action",
11169        "cronet_aml_base_base_shared_preferences_jni__action",
11170        "cronet_aml_base_build_date",
11171        "cronet_aml_base_cfi_buildflags",
11172        "cronet_aml_base_check_version_internal_action",
11173        "cronet_aml_base_clang_profiling_buildflags",
11174        "cronet_aml_base_debugging_buildflags",
11175        "cronet_aml_base_feature_list_buildflags",
11176        "cronet_aml_base_fuzzing_buildflags",
11177        "cronet_aml_base_ios_cronet_buildflags",
11178        "cronet_aml_base_logging_buildflags",
11179        "cronet_aml_base_message_pump_buildflags",
11180        "cronet_aml_base_orderfile_buildflags",
11181        "cronet_aml_base_power_monitor_buildflags",
11182        "cronet_aml_base_process_launcher_jni__action",
11183        "cronet_aml_base_profiler_buildflags",
11184        "cronet_aml_base_protected_memory_buildflags",
11185        "cronet_aml_base_rust_buildflags",
11186        "cronet_aml_base_sanitizer_buildflags",
11187        "cronet_aml_base_synchronization_buildflags",
11188        "cronet_aml_base_tracing_buildflags",
11189        "cronet_aml_build_blink_buildflags",
11190        "cronet_aml_build_branding_buildflags",
11191        "cronet_aml_build_chromecast_buildflags",
11192        "cronet_aml_build_chromeos_buildflags",
11193        "cronet_aml_build_config_compiler_compiler_buildflags",
11194        "cronet_aml_build_ios_buildflags",
11195        "cronet_aml_build_robolectric_buildflags",
11196        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen_headers",
11197    ],
11198    defaults: [
11199        "cronet_aml_cc_defaults",
11200    ],
11201    cflags: [
11202        "-DANDROID",
11203        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
11204        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
11205        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
11206        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11207        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11208        "-DGOOGLE_PROTOBUF_NO_RTTI",
11209        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11210        "-DHAVE_PTHREAD",
11211        "-DHAVE_SYS_UIO_H",
11212        "-DNDEBUG",
11213        "-DNO_UNWIND_TABLES",
11214        "-DNVALGRIND",
11215        "-DOFFICIAL_BUILD",
11216        "-D_GNU_SOURCE",
11217        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11218        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
11219        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11220        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
11221        "-D__STDC_CONSTANT_MACROS",
11222        "-D__STDC_FORMAT_MACROS",
11223        "-fdata-sections",
11224        "-ffunction-sections",
11225        "-fno-asynchronous-unwind-tables",
11226        "-fno-unwind-tables",
11227        "-fstack-protector",
11228        "-fvisibility-inlines-hidden",
11229        "-fvisibility=hidden",
11230        "-g1",
11231    ],
11232    local_include_dirs: [
11233        "./",
11234        "base/allocator/partition_allocator/src/",
11235        "buildtools/third_party/libc++/",
11236        "third_party/abseil-cpp/",
11237        "third_party/boringssl/src/include/",
11238        "third_party/libc++/src/include",
11239        "third_party/libc++abi/src/include",
11240        "third_party/protobuf/src/",
11241    ],
11242    cpp_std: "c++20",
11243    ldflags: [
11244        "-Wl,--as-needed",
11245        "-Wl,--gc-sections",
11246        "-Wl,--icf=all",
11247        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
11248        "-Wl,-wrap,asprintf",
11249        "-Wl,-wrap,calloc",
11250        "-Wl,-wrap,free",
11251        "-Wl,-wrap,getcwd",
11252        "-Wl,-wrap,malloc",
11253        "-Wl,-wrap,malloc_usable_size",
11254        "-Wl,-wrap,memalign",
11255        "-Wl,-wrap,posix_memalign",
11256        "-Wl,-wrap,pvalloc",
11257        "-Wl,-wrap,realloc",
11258        "-Wl,-wrap,realpath",
11259        "-Wl,-wrap,strdup",
11260        "-Wl,-wrap,strndup",
11261        "-Wl,-wrap,valloc",
11262        "-Wl,-wrap,vasprintf",
11263    ],
11264    target: {
11265        android_arm: {
11266            cflags: [
11267                "-D_FORTIFY_SOURCE=2",
11268            ],
11269        },
11270        android_arm64: {
11271            cflags: [
11272                "-D_FORTIFY_SOURCE=2",
11273                "-O2",
11274                "-mno-outline",
11275            ],
11276        },
11277        android_x86: {
11278            cflags: [
11279                "-D_FORTIFY_SOURCE=2",
11280                "-msse3",
11281            ],
11282        },
11283        android_x86_64: {
11284            cflags: [
11285                "-D_FORTIFY_SOURCE=2",
11286                "-msse3",
11287            ],
11288        },
11289    },
11290}
11291
11292// GN: //components/cronet/android:cronet_base_feature__testing
11293cc_library_static {
11294    name: "cronet_aml_components_cronet_android_cronet_base_feature__testing",
11295    srcs: [
11296        "components/cronet/android/cronet_base_feature.cc",
11297    ],
11298    shared_libs: [
11299        "libandroid",
11300        "liblog",
11301        "libprotobuf-cpp-lite",
11302    ],
11303    generated_headers: [
11304        "cronet_aml_base_allocator_buildflags__testing",
11305        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
11306        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
11307        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
11308        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
11309        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
11310        "cronet_aml_base_anchor_functions_buildflags__testing",
11311        "cronet_aml_base_build_date__testing",
11312        "cronet_aml_base_cfi_buildflags__testing",
11313        "cronet_aml_base_check_version_internal_action__testing",
11314        "cronet_aml_base_clang_profiling_buildflags__testing",
11315        "cronet_aml_base_debugging_buildflags__testing",
11316        "cronet_aml_base_feature_list_buildflags__testing",
11317        "cronet_aml_base_fuzzing_buildflags__testing",
11318        "cronet_aml_base_ios_cronet_buildflags__testing",
11319        "cronet_aml_base_logging_buildflags__testing",
11320        "cronet_aml_base_message_pump_buildflags__testing",
11321        "cronet_aml_base_orderfile_buildflags__testing",
11322        "cronet_aml_base_power_monitor_buildflags__testing",
11323        "cronet_aml_base_profiler_buildflags__testing",
11324        "cronet_aml_base_protected_memory_buildflags__testing",
11325        "cronet_aml_base_rust_buildflags__testing",
11326        "cronet_aml_base_sanitizer_buildflags__testing",
11327        "cronet_aml_base_synchronization_buildflags__testing",
11328        "cronet_aml_base_tracing_buildflags__testing",
11329        "cronet_aml_build_blink_buildflags__testing",
11330        "cronet_aml_build_branding_buildflags__testing",
11331        "cronet_aml_build_chromecast_buildflags__testing",
11332        "cronet_aml_build_chromeos_buildflags__testing",
11333        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
11334        "cronet_aml_build_ios_buildflags__testing",
11335        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
11336    ],
11337    export_generated_headers: [
11338        "cronet_aml_base_allocator_buildflags__testing",
11339        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
11340        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
11341        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
11342        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
11343        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
11344        "cronet_aml_base_anchor_functions_buildflags__testing",
11345        "cronet_aml_base_build_date__testing",
11346        "cronet_aml_base_cfi_buildflags__testing",
11347        "cronet_aml_base_check_version_internal_action__testing",
11348        "cronet_aml_base_clang_profiling_buildflags__testing",
11349        "cronet_aml_base_debugging_buildflags__testing",
11350        "cronet_aml_base_feature_list_buildflags__testing",
11351        "cronet_aml_base_fuzzing_buildflags__testing",
11352        "cronet_aml_base_ios_cronet_buildflags__testing",
11353        "cronet_aml_base_logging_buildflags__testing",
11354        "cronet_aml_base_message_pump_buildflags__testing",
11355        "cronet_aml_base_orderfile_buildflags__testing",
11356        "cronet_aml_base_power_monitor_buildflags__testing",
11357        "cronet_aml_base_profiler_buildflags__testing",
11358        "cronet_aml_base_protected_memory_buildflags__testing",
11359        "cronet_aml_base_rust_buildflags__testing",
11360        "cronet_aml_base_sanitizer_buildflags__testing",
11361        "cronet_aml_base_synchronization_buildflags__testing",
11362        "cronet_aml_base_tracing_buildflags__testing",
11363        "cronet_aml_build_blink_buildflags__testing",
11364        "cronet_aml_build_branding_buildflags__testing",
11365        "cronet_aml_build_chromecast_buildflags__testing",
11366        "cronet_aml_build_chromeos_buildflags__testing",
11367        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
11368        "cronet_aml_build_ios_buildflags__testing",
11369        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
11370    ],
11371    defaults: [
11372        "cronet_aml_cc_defaults",
11373    ],
11374    cflags: [
11375        "-DANDROID",
11376        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
11377        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
11378        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
11379        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11380        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11381        "-DGOOGLE_PROTOBUF_NO_RTTI",
11382        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11383        "-DHAVE_PTHREAD",
11384        "-DHAVE_SYS_UIO_H",
11385        "-DNDEBUG",
11386        "-DNO_UNWIND_TABLES",
11387        "-DNVALGRIND",
11388        "-DOFFICIAL_BUILD",
11389        "-D_GNU_SOURCE",
11390        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11391        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
11392        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11393        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
11394        "-D__STDC_CONSTANT_MACROS",
11395        "-D__STDC_FORMAT_MACROS",
11396        "-fdata-sections",
11397        "-ffunction-sections",
11398        "-fno-asynchronous-unwind-tables",
11399        "-fno-unwind-tables",
11400        "-fstack-protector",
11401        "-fvisibility-inlines-hidden",
11402        "-fvisibility=hidden",
11403        "-g1",
11404    ],
11405    local_include_dirs: [
11406        "./",
11407        "base/allocator/partition_allocator/src/",
11408        "buildtools/third_party/libc++/",
11409        "third_party/abseil-cpp/",
11410        "third_party/boringssl/src/include/",
11411        "third_party/libc++/src/include",
11412        "third_party/libc++abi/src/include",
11413        "third_party/protobuf/src/",
11414    ],
11415    cpp_std: "c++20",
11416    ldflags: [
11417        "-Wl,--as-needed",
11418        "-Wl,--gc-sections",
11419        "-Wl,--icf=all",
11420        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
11421        "-Wl,-wrap,asprintf",
11422        "-Wl,-wrap,calloc",
11423        "-Wl,-wrap,free",
11424        "-Wl,-wrap,getcwd",
11425        "-Wl,-wrap,malloc",
11426        "-Wl,-wrap,malloc_usable_size",
11427        "-Wl,-wrap,memalign",
11428        "-Wl,-wrap,posix_memalign",
11429        "-Wl,-wrap,pvalloc",
11430        "-Wl,-wrap,realloc",
11431        "-Wl,-wrap,realpath",
11432        "-Wl,-wrap,strdup",
11433        "-Wl,-wrap,strndup",
11434        "-Wl,-wrap,valloc",
11435        "-Wl,-wrap,vasprintf",
11436    ],
11437    target: {
11438        android_arm: {
11439            cflags: [
11440                "-D_FORTIFY_SOURCE=2",
11441            ],
11442        },
11443        android_arm64: {
11444            cflags: [
11445                "-D_FORTIFY_SOURCE=2",
11446                "-O2",
11447                "-mno-outline",
11448            ],
11449        },
11450        android_x86: {
11451            cflags: [
11452                "-D_FORTIFY_SOURCE=2",
11453                "-msse3",
11454            ],
11455        },
11456        android_x86_64: {
11457            cflags: [
11458                "-D_FORTIFY_SOURCE=2",
11459                "-msse3",
11460            ],
11461        },
11462    },
11463}
11464
11465// GN: //components/cronet/android:cronet_base_feature_unittest__testing
11466cc_library_static {
11467    name: "cronet_aml_components_cronet_android_cronet_base_feature_unittest__testing",
11468    srcs: [
11469        "components/cronet/android/cronet_base_feature_unittest.cc",
11470    ],
11471    shared_libs: [
11472        "libandroid",
11473        "liblog",
11474        "libprotobuf-cpp-lite",
11475        "libz",
11476    ],
11477    generated_headers: [
11478        "cronet_aml_base_allocator_buildflags__testing",
11479        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
11480        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
11481        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
11482        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
11483        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
11484        "cronet_aml_base_anchor_functions_buildflags__testing",
11485        "cronet_aml_base_build_date__testing",
11486        "cronet_aml_base_cfi_buildflags__testing",
11487        "cronet_aml_base_check_version_internal_action__testing",
11488        "cronet_aml_base_clang_profiling_buildflags__testing",
11489        "cronet_aml_base_debugging_buildflags__testing",
11490        "cronet_aml_base_feature_list_buildflags__testing",
11491        "cronet_aml_base_fuzzing_buildflags__testing",
11492        "cronet_aml_base_ios_cronet_buildflags__testing",
11493        "cronet_aml_base_logging_buildflags__testing",
11494        "cronet_aml_base_message_pump_buildflags__testing",
11495        "cronet_aml_base_orderfile_buildflags__testing",
11496        "cronet_aml_base_power_monitor_buildflags__testing",
11497        "cronet_aml_base_profiler_buildflags__testing",
11498        "cronet_aml_base_protected_memory_buildflags__testing",
11499        "cronet_aml_base_rust_buildflags__testing",
11500        "cronet_aml_base_sanitizer_buildflags__testing",
11501        "cronet_aml_base_synchronization_buildflags__testing",
11502        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
11503        "cronet_aml_base_test_test_support_jni_headers__action__testing",
11504        "cronet_aml_base_tracing_buildflags__testing",
11505        "cronet_aml_build_blink_buildflags__testing",
11506        "cronet_aml_build_branding_buildflags__testing",
11507        "cronet_aml_build_chromecast_buildflags__testing",
11508        "cronet_aml_build_chromeos_buildflags__testing",
11509        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
11510        "cronet_aml_build_ios_buildflags__testing",
11511        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
11512    ],
11513    export_generated_headers: [
11514        "cronet_aml_base_allocator_buildflags__testing",
11515        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
11516        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
11517        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
11518        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
11519        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
11520        "cronet_aml_base_anchor_functions_buildflags__testing",
11521        "cronet_aml_base_build_date__testing",
11522        "cronet_aml_base_cfi_buildflags__testing",
11523        "cronet_aml_base_check_version_internal_action__testing",
11524        "cronet_aml_base_clang_profiling_buildflags__testing",
11525        "cronet_aml_base_debugging_buildflags__testing",
11526        "cronet_aml_base_feature_list_buildflags__testing",
11527        "cronet_aml_base_fuzzing_buildflags__testing",
11528        "cronet_aml_base_ios_cronet_buildflags__testing",
11529        "cronet_aml_base_logging_buildflags__testing",
11530        "cronet_aml_base_message_pump_buildflags__testing",
11531        "cronet_aml_base_orderfile_buildflags__testing",
11532        "cronet_aml_base_power_monitor_buildflags__testing",
11533        "cronet_aml_base_profiler_buildflags__testing",
11534        "cronet_aml_base_protected_memory_buildflags__testing",
11535        "cronet_aml_base_rust_buildflags__testing",
11536        "cronet_aml_base_sanitizer_buildflags__testing",
11537        "cronet_aml_base_synchronization_buildflags__testing",
11538        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
11539        "cronet_aml_base_test_test_support_jni_headers__action__testing",
11540        "cronet_aml_base_tracing_buildflags__testing",
11541        "cronet_aml_build_blink_buildflags__testing",
11542        "cronet_aml_build_branding_buildflags__testing",
11543        "cronet_aml_build_chromecast_buildflags__testing",
11544        "cronet_aml_build_chromeos_buildflags__testing",
11545        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
11546        "cronet_aml_build_ios_buildflags__testing",
11547        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
11548    ],
11549    defaults: [
11550        "cronet_aml_cc_defaults",
11551    ],
11552    cflags: [
11553        "-DANDROID",
11554        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
11555        "-DBENCHMARK_STATIC_DEFINE",
11556        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
11557        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
11558        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11559        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11560        "-DGOOGLE_PROTOBUF_NO_RTTI",
11561        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11562        "-DGTEST_API_=",
11563        "-DGTEST_HAS_ABSL",
11564        "-DGTEST_HAS_POSIX_RE=0",
11565        "-DGTEST_HAS_TR1_TUPLE=0",
11566        "-DGTEST_LANG_CXX11=1",
11567        "-DGTEST_NO_ABSL_FLAGS",
11568        "-DHAVE_PTHREAD",
11569        "-DHAVE_SYS_UIO_H",
11570        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
11571        "-DNDEBUG",
11572        "-DNO_UNWIND_TABLES",
11573        "-DNVALGRIND",
11574        "-DOFFICIAL_BUILD",
11575        "-DUNIT_TEST",
11576        "-DUSE_CHROMIUM_ICU=1",
11577        "-DU_ENABLE_DYLOAD=0",
11578        "-DU_ENABLE_RESOURCE_TRACING=0",
11579        "-DU_ENABLE_TRACING=1",
11580        "-DU_STATIC_IMPLEMENTATION",
11581        "-DU_USING_ICU_NAMESPACE=0",
11582        "-D_GNU_SOURCE",
11583        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11584        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
11585        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11586        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
11587        "-D__STDC_CONSTANT_MACROS",
11588        "-D__STDC_FORMAT_MACROS",
11589        "-fdata-sections",
11590        "-ffunction-sections",
11591        "-fno-asynchronous-unwind-tables",
11592        "-fno-unwind-tables",
11593        "-fstack-protector",
11594        "-fvisibility-inlines-hidden",
11595        "-fvisibility=hidden",
11596        "-g1",
11597    ],
11598    local_include_dirs: [
11599        "./",
11600        "base/allocator/partition_allocator/src/",
11601        "buildtools/third_party/libc++/",
11602        "third_party/abseil-cpp/",
11603        "third_party/boringssl/src/include/",
11604        "third_party/ced/src/",
11605        "third_party/google_benchmark/src/include/",
11606        "third_party/googletest/custom/",
11607        "third_party/googletest/src/googlemock/include/",
11608        "third_party/googletest/src/googletest/include/",
11609        "third_party/icu/source/common/",
11610        "third_party/icu/source/i18n/",
11611        "third_party/libc++/src/include",
11612        "third_party/libc++abi/src/include",
11613        "third_party/protobuf/src/",
11614        "third_party/re2/src/",
11615    ],
11616    cpp_std: "c++20",
11617    ldflags: [
11618        "-Wl,--as-needed",
11619        "-Wl,--gc-sections",
11620        "-Wl,--icf=all",
11621        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
11622        "-Wl,-wrap,asprintf",
11623        "-Wl,-wrap,calloc",
11624        "-Wl,-wrap,free",
11625        "-Wl,-wrap,getcwd",
11626        "-Wl,-wrap,malloc",
11627        "-Wl,-wrap,malloc_usable_size",
11628        "-Wl,-wrap,memalign",
11629        "-Wl,-wrap,posix_memalign",
11630        "-Wl,-wrap,pvalloc",
11631        "-Wl,-wrap,realloc",
11632        "-Wl,-wrap,realpath",
11633        "-Wl,-wrap,strdup",
11634        "-Wl,-wrap,strndup",
11635        "-Wl,-wrap,valloc",
11636        "-Wl,-wrap,vasprintf",
11637    ],
11638    target: {
11639        android_arm: {
11640            cflags: [
11641                "-D_FORTIFY_SOURCE=2",
11642            ],
11643        },
11644        android_arm64: {
11645            cflags: [
11646                "-D_FORTIFY_SOURCE=2",
11647                "-O2",
11648                "-mno-outline",
11649            ],
11650        },
11651        android_x86: {
11652            cflags: [
11653                "-D_FORTIFY_SOURCE=2",
11654                "-msse3",
11655            ],
11656        },
11657        android_x86_64: {
11658            cflags: [
11659                "-D_FORTIFY_SOURCE=2",
11660                "-msse3",
11661            ],
11662        },
11663    },
11664}
11665
11666// GN: //components/cronet/android:cronet_common_javatests__testing
11667java_library {
11668    name: "cronet_aml_components_cronet_android_cronet_common_javatests__testing",
11669    srcs: [
11670        "components/cronet/android/test/javatests/src/org/chromium/net/ContextInterceptor.java",
11671        "components/cronet/android/test/javatests/src/org/chromium/net/CronetLoggerTestRule.java",
11672        "components/cronet/android/test/javatests/src/org/chromium/net/CronetTestRule.java",
11673        "components/cronet/android/test/javatests/src/org/chromium/net/TestRequestFinishedListener.java",
11674        "components/cronet/android/test/javatests/src/org/chromium/net/TestUploadDataProvider.java",
11675        "components/cronet/android/test/javatests/src/org/chromium/net/TestUrlRequestCallback.java",
11676        "components/cronet/android/test/javatests/src/org/chromium/net/httpflags/HttpFlagsInterceptor.java",
11677        "components/cronet/android/test/javatests/src/org/chromium/net/impl/CronetManifestInterceptor.java",
11678    ],
11679    static_libs: [
11680        "androidx.test.core",
11681        "androidx.test.ext.junit",
11682        "androidx.test.runner",
11683        "cronet_aml_base_base_java__testing",
11684        "cronet_aml_base_base_java_test_support__testing",
11685        "cronet_aml_build_android_build_java__testing",
11686        "cronet_aml_components_cronet_android_cronet_all_java__testing",
11687        "cronet_aml_components_cronet_android_cronet_test_apk_java__testing",
11688        "cronet_aml_components_cronet_android_flags_java_proto__testing",
11689        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
11690        "junit",
11691        "truth",
11692    ],
11693    apex_available: [
11694        "com.android.tethering",
11695    ],
11696    min_sdk_version: "30",
11697    libs: [
11698        "androidx.annotation_annotation",
11699        "androidx.core_core",
11700    ],
11701    sdk_version: "system_current",
11702    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11703}
11704
11705// GN: //components/cronet/android:cronet_impl_common_java
11706java_library {
11707    name: "cronet_aml_components_cronet_android_cronet_impl_common_java",
11708    srcs: [
11709        ":cronet_aml_components_cronet_android_http_cache_type_java",
11710        ":cronet_aml_components_cronet_android_impl_version",
11711        ":cronet_aml_components_cronet_android_load_states_list",
11712        ":cronet_aml_components_cronet_android_rtt_throughput_values_java",
11713        ":cronet_aml_net_effective_connection_type_java",
11714        "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
11715        "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
11716        "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
11717        "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
11718        "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
11719        "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
11720        "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
11721        "components/cronet/android/java/src/org/chromium/net/impl/RefCountDelegate.java",
11722        "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
11723        "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
11724        "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
11725        "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
11726        "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
11727        "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
11728    ],
11729    static_libs: [
11730        "cronet_aml_components_cronet_android_cronet_api_java",
11731        "cronet_aml_components_cronet_android_cronet_shared_java",
11732        "cronet_aml_net_android_net_thread_stats_uid_java",
11733    ],
11734    defaults: [
11735        "cronet_aml_java_framework_defaults",
11736    ],
11737    apex_available: [
11738        "com.android.tethering",
11739    ],
11740    min_sdk_version: "30",
11741    libs: [
11742        "androidx.annotation_annotation",
11743    ],
11744    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11745}
11746
11747// GN: //components/cronet/android:cronet_impl_common_java__testing
11748java_library {
11749    name: "cronet_aml_components_cronet_android_cronet_impl_common_java__testing",
11750    srcs: [
11751        ":cronet_aml_components_cronet_android_http_cache_type_java__testing",
11752        ":cronet_aml_components_cronet_android_impl_version__testing",
11753        ":cronet_aml_components_cronet_android_load_states_list__testing",
11754        ":cronet_aml_components_cronet_android_rtt_throughput_values_java__testing",
11755        ":cronet_aml_net_effective_connection_type_java__testing",
11756        "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
11757        "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
11758        "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
11759        "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
11760        "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
11761        "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
11762        "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
11763        "components/cronet/android/java/src/org/chromium/net/impl/RefCountDelegate.java",
11764        "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
11765        "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
11766        "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
11767        "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
11768        "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
11769        "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
11770    ],
11771    static_libs: [
11772        "cronet_aml_components_cronet_android_cronet_api_java__testing",
11773        "cronet_aml_components_cronet_android_cronet_shared_java__testing",
11774        "cronet_aml_net_android_net_thread_stats_uid_java__testing",
11775    ],
11776    apex_available: [
11777        "com.android.tethering",
11778    ],
11779    min_sdk_version: "30",
11780    libs: [
11781        "androidx.annotation_annotation",
11782    ],
11783    sdk_version: "system_current",
11784    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11785}
11786
11787// GN: //components/cronet/android:cronet_impl_java_util_java__testing
11788java_library {
11789    name: "cronet_aml_components_cronet_android_cronet_impl_java_util_java__testing",
11790    srcs: [
11791        "components/cronet/android/java/src/org/chromium/net/impl/JavaUploadDataSinkBase.java",
11792        "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequestUtils.java",
11793    ],
11794    static_libs: [
11795        "cronet_aml_components_cronet_android_cronet_api_java__testing",
11796        "cronet_aml_components_cronet_android_cronet_impl_common_java__testing",
11797    ],
11798    apex_available: [
11799        "com.android.tethering",
11800    ],
11801    min_sdk_version: "30",
11802    libs: [
11803        "androidx.annotation_annotation",
11804    ],
11805    sdk_version: "system_current",
11806    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11807}
11808
11809// GN: //components/cronet/android:cronet_impl_native_java
11810java_library {
11811    name: "cronet_aml_components_cronet_android_cronet_impl_native_java",
11812    srcs: [
11813        ":cronet_aml_components_cronet_android_cronet_jni_headers__action__java",
11814        ":cronet_aml_components_cronet_android_net_idempotency_java",
11815        ":cronet_aml_components_cronet_android_net_request_priority_java",
11816        ":cronet_aml_components_cronet_android_network_quality_observation_source_java",
11817        ":cronet_aml_components_cronet_android_url_request_error_java",
11818        "components/cronet/android/java/src/org/chromium/net/httpflags/BaseFeature.java",
11819        "components/cronet/android/java/src/org/chromium/net/httpflags/HttpFlagsLoader.java",
11820        "components/cronet/android/java/src/org/chromium/net/httpflags/ResolvedFlags.java",
11821        "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
11822        "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
11823        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
11824        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
11825        "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
11826        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
11827        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
11828        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
11829        "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
11830        "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderWithLibraryLoaderImpl.java",
11831        "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetProvider.java",
11832    ],
11833    static_libs: [
11834        "cronet_aml_base_base_java",
11835        "cronet_aml_build_android_build_java",
11836        "cronet_aml_components_cronet_android_base_feature_overrides_java_proto",
11837        "cronet_aml_components_cronet_android_cronet_api_java",
11838        "cronet_aml_components_cronet_android_cronet_impl_common_java",
11839        "cronet_aml_components_cronet_android_cronet_shared_java",
11840        "cronet_aml_components_cronet_android_cronet_urlconnection_impl_java",
11841        "cronet_aml_components_cronet_android_flags_java_proto",
11842        "cronet_aml_components_cronet_android_request_context_config_java_proto",
11843        "cronet_aml_net_android_net_java",
11844        "cronet_aml_third_party_jni_zero_jni_zero_java",
11845        "cronet_aml_url_url_java",
11846        "libprotobuf-java-lite",
11847    ],
11848    defaults: [
11849        "cronet_aml_java_framework_defaults",
11850    ],
11851    apex_available: [
11852        "com.android.tethering",
11853    ],
11854    min_sdk_version: "30",
11855    libs: [
11856        "androidx.annotation_annotation",
11857        "jsr305",
11858    ],
11859    visibility: [
11860        "//external/cronet:__subpackages__",
11861        "//packages/modules/Connectivity:__subpackages__",
11862    ],
11863    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11864}
11865
11866// GN: //components/cronet/android:cronet_impl_native_java__testing
11867java_library {
11868    name: "cronet_aml_components_cronet_android_cronet_impl_native_java__testing",
11869    srcs: [
11870        ":cronet_aml_components_cronet_android_cronet_jni_headers__action__testing__java",
11871        ":cronet_aml_components_cronet_android_net_idempotency_java__testing",
11872        ":cronet_aml_components_cronet_android_net_request_priority_java__testing",
11873        ":cronet_aml_components_cronet_android_network_quality_observation_source_java__testing",
11874        ":cronet_aml_components_cronet_android_url_request_error_java__testing",
11875        "components/cronet/android/java/src/org/chromium/net/httpflags/BaseFeature.java",
11876        "components/cronet/android/java/src/org/chromium/net/httpflags/HttpFlagsLoader.java",
11877        "components/cronet/android/java/src/org/chromium/net/httpflags/ResolvedFlags.java",
11878        "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
11879        "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
11880        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
11881        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
11882        "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
11883        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
11884        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
11885        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
11886        "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
11887        "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderWithLibraryLoaderImpl.java",
11888        "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetProvider.java",
11889    ],
11890    static_libs: [
11891        "cronet_aml_base_base_java__testing",
11892        "cronet_aml_build_android_build_java__testing",
11893        "cronet_aml_components_cronet_android_base_feature_overrides_java_proto__testing",
11894        "cronet_aml_components_cronet_android_cronet_api_java__testing",
11895        "cronet_aml_components_cronet_android_cronet_impl_common_java__testing",
11896        "cronet_aml_components_cronet_android_cronet_shared_java__testing",
11897        "cronet_aml_components_cronet_android_cronet_urlconnection_impl_java__testing",
11898        "cronet_aml_components_cronet_android_flags_java_proto__testing",
11899        "cronet_aml_components_cronet_android_request_context_config_java_proto__testing",
11900        "cronet_aml_net_android_net_java__testing",
11901        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
11902        "cronet_aml_url_url_java__testing",
11903        "libprotobuf-java-lite",
11904    ],
11905    apex_available: [
11906        "com.android.tethering",
11907    ],
11908    min_sdk_version: "30",
11909    libs: [
11910        "androidx.annotation_annotation",
11911        "jsr305",
11912    ],
11913    sdk_version: "system_current",
11914    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11915}
11916
11917// GN: //components/cronet/android:cronet_impl_platform_java__testing
11918java_library {
11919    name: "cronet_aml_components_cronet_android_cronet_impl_platform_java__testing",
11920    srcs: [
11921        "components/cronet/android/java/src/org/chromium/net/impl/InputStreamChannel.java",
11922        "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java",
11923        "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngineBuilderImpl.java",
11924        "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetProvider.java",
11925        "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequest.java",
11926    ],
11927    static_libs: [
11928        "cronet_aml_components_cronet_android_cronet_api_java__testing",
11929        "cronet_aml_components_cronet_android_cronet_impl_common_java__testing",
11930        "cronet_aml_components_cronet_android_cronet_impl_java_util_java__testing",
11931        "cronet_aml_components_cronet_android_cronet_shared_java__testing",
11932        "cronet_aml_net_android_net_thread_stats_uid_java__testing",
11933    ],
11934    apex_available: [
11935        "com.android.tethering",
11936    ],
11937    min_sdk_version: "30",
11938    libs: [
11939        "androidx.annotation_annotation",
11940        "jsr305",
11941    ],
11942    sdk_version: "system_current",
11943    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
11944}
11945
11946// GN: //components/cronet/android:cronet_javatests__testing
11947java_library {
11948    name: "cronet_aml_components_cronet_android_cronet_javatests__testing",
11949    srcs: [
11950        ":cronet_aml_components_cronet_android_cronet_tests_jni_headers__action__testing__java",
11951        "components/cronet/android/test/javatests/src/org/chromium/net/BidirectionalStreamQuicTest.java",
11952        "components/cronet/android/test/javatests/src/org/chromium/net/BidirectionalStreamTest.java",
11953        "components/cronet/android/test/javatests/src/org/chromium/net/BrotliTest.java",
11954        "components/cronet/android/test/javatests/src/org/chromium/net/Criteria.java",
11955        "components/cronet/android/test/javatests/src/org/chromium/net/CronetOnboardingTest.java",
11956        "components/cronet/android/test/javatests/src/org/chromium/net/CronetStressTest.java",
11957        "components/cronet/android/test/javatests/src/org/chromium/net/CronetTestRuleTest.java",
11958        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUploadTest.java",
11959        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java",
11960        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestHTTPSTest.java",
11961        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java",
11962        "components/cronet/android/test/javatests/src/org/chromium/net/DiskStorageTest.java",
11963        "components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java",
11964        "components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTranslationTest.java",
11965        "components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTranslationTestUtil.java",
11966        "components/cronet/android/test/javatests/src/org/chromium/net/FileUtils.java",
11967        "components/cronet/android/test/javatests/src/org/chromium/net/GetStatusTest.java",
11968        "components/cronet/android/test/javatests/src/org/chromium/net/LogcatCapture.java",
11969        "components/cronet/android/test/javatests/src/org/chromium/net/MetricsTestUtil.java",
11970        "components/cronet/android/test/javatests/src/org/chromium/net/MockCertVerifierTest.java",
11971        "components/cronet/android/test/javatests/src/org/chromium/net/NQETest.java",
11972        "components/cronet/android/test/javatests/src/org/chromium/net/NetworkChangesTest.java",
11973        "components/cronet/android/test/javatests/src/org/chromium/net/NetworkErrorLoggingTest.java",
11974        "components/cronet/android/test/javatests/src/org/chromium/net/PkpTest.java",
11975        "components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java",
11976        "components/cronet/android/test/javatests/src/org/chromium/net/RequestFinishedInfoTest.java",
11977        "components/cronet/android/test/javatests/src/org/chromium/net/TestBidirectionalStreamCallback.java",
11978        "components/cronet/android/test/javatests/src/org/chromium/net/TestDrivenDataProvider.java",
11979        "components/cronet/android/test/javatests/src/org/chromium/net/TestNetworkQualityRttListener.java",
11980        "components/cronet/android/test/javatests/src/org/chromium/net/TestNetworkQualityThroughputListener.java",
11981        "components/cronet/android/test/javatests/src/org/chromium/net/UrlResponseInfoTest.java",
11982        "components/cronet/android/test/javatests/src/org/chromium/net/apihelpers/UploadDataProvidersTest.java",
11983        "components/cronet/android/test/javatests/src/org/chromium/net/httpflags/BaseFeatureTest.java",
11984        "components/cronet/android/test/javatests/src/org/chromium/net/httpflags/HttpFlagsLoaderTest.java",
11985        "components/cronet/android/test/javatests/src/org/chromium/net/httpflags/ResolvedFlagsTest.java",
11986        "components/cronet/android/test/javatests/src/org/chromium/net/impl/AndroidHttpEngineBuilderWrapperTest.java",
11987        "components/cronet/android/test/javatests/src/org/chromium/net/impl/CronetLoggerTest.java",
11988        "components/cronet/android/test/javatests/src/org/chromium/net/impl/CronetManifestTest.java",
11989        "components/cronet/android/test/javatests/src/org/chromium/net/telemetry/CronetLoggerImplTest.java",
11990        "components/cronet/android/test/javatests/src/org/chromium/net/telemetry/ExperimentalOptionsTest.java",
11991        "components/cronet/android/test/javatests/src/org/chromium/net/telemetry/HashTest.java",
11992        "components/cronet/android/test/javatests/src/org/chromium/net/telemetry/RateLimiterTest.java",
11993        "components/cronet/android/test/javatests/src/org/chromium/net/telemetry/SizeBucketsTest.java",
11994        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/CronetBufferedOutputStreamTest.java",
11995        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/CronetChunkedOutputStreamTest.java",
11996        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/CronetFixedModeOutputStreamTest.java",
11997        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/CronetHttpURLConnectionTest.java",
11998        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandlerTest.java",
11999        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/CronetInputStreamTest.java",
12000        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactoryTest.java",
12001        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/MessageLoopTest.java",
12002        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/QuicUploadTest.java",
12003        "components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/TestUtil.java",
12004    ],
12005    static_libs: [
12006        "androidx.test.core",
12007        "androidx.test.ext.junit",
12008        "androidx.test.runner",
12009        "cronet_aml_base_base_java__testing",
12010        "cronet_aml_base_base_java_test_support__testing",
12011        "cronet_aml_components_cronet_android_cronet_all_java__testing",
12012        "cronet_aml_components_cronet_android_cronet_api_helpers_java__testing",
12013        "cronet_aml_components_cronet_android_cronet_common_javatests__testing",
12014        "cronet_aml_components_cronet_android_cronet_test_apk_java__testing",
12015        "cronet_aml_components_cronet_android_cronet_urlconnection_impl_java__testing",
12016        "cronet_aml_components_cronet_android_flags_java_proto__testing",
12017        "cronet_aml_net_android_embedded_test_server_aidl_java__testing",
12018        "cronet_aml_net_android_net_java__testing",
12019        "cronet_aml_net_android_net_java_test_support__testing",
12020        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
12021        "cronet_aml_url_url_java__testing",
12022        "guava",
12023        "hamcrest",
12024        "hamcrest-library",
12025        "junit",
12026        "libprotobuf-java-lite",
12027        "mockito",
12028        "net-tests-utils",
12029        "truth",
12030    ],
12031    apex_available: [
12032        "com.android.tethering",
12033    ],
12034    min_sdk_version: "30",
12035    libs: [
12036        "androidx.annotation_annotation",
12037        "androidx.annotation_annotation-experimental",
12038    ],
12039    visibility: [
12040        "//external/cronet:__subpackages__",
12041        "//packages/modules/Connectivity:__subpackages__",
12042    ],
12043    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
12044}
12045
12046// GN: //components/cronet/android:cronet_jni_headers__action
12047cc_genrule {
12048    name: "cronet_aml_components_cronet_android_cronet_jni_headers__action",
12049    srcs: [
12050        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
12051        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
12052        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
12053        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
12054        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
12055    ],
12056    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
12057         "mkdir -p $(genDir)/jni_headers/components/cronet/android/cronet_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
12058         "--output-dir " +
12059         "$(genDir)/components/cronet/android/cronet_jni_headers " +
12060         "--extra-include " +
12061         "third_party/jni_zero/jni_zero_internal.h " +
12062         "--srcjar-path " +
12063         "$(genDir)/components/cronet/android/cronet_jni_headers.srcjar " +
12064         "--placeholder-srcjar-path " +
12065         "$(genDir)/components/cronet/android/cronet_jni_headers_placeholder.srcjar " +
12066         "--use-proxy-hash " +
12067         "--output-name " +
12068         "CronetBidirectionalStream_jni.h " +
12069         "--output-name " +
12070         "CronetLibraryLoader_jni.h " +
12071         "--output-name " +
12072         "CronetUploadDataStream_jni.h " +
12073         "--output-name " +
12074         "CronetUrlRequest_jni.h " +
12075         "--output-name " +
12076         "CronetUrlRequestContext_jni.h " +
12077         "--input-file " +
12078         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
12079         "--input-file " +
12080         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
12081         "--input-file " +
12082         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
12083         "--input-file " +
12084         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
12085         "--input-file " +
12086         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java) " +
12087         "--package-prefix " +
12088         "android.net.connectivity",
12089    out: [
12090        "components/cronet/android/cronet_jni_headers.srcjar",
12091        "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
12092        "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
12093        "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
12094        "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
12095        "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
12096    ],
12097    tool_files: [
12098        "third_party/jni_zero/codegen/called_by_native_header.py",
12099        "third_party/jni_zero/codegen/convert_type.py",
12100        "third_party/jni_zero/codegen/header_common.py",
12101        "third_party/jni_zero/codegen/natives_header.py",
12102        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
12103        "third_party/jni_zero/codegen/placeholder_java_type.py",
12104        "third_party/jni_zero/codegen/proxy_impl_java.py",
12105        "third_party/jni_zero/common.py",
12106        "third_party/jni_zero/java_lang_classes.py",
12107        "third_party/jni_zero/java_types.py",
12108        "third_party/jni_zero/jni_generator.py",
12109        "third_party/jni_zero/jni_registration_generator.py",
12110        "third_party/jni_zero/jni_zero.py",
12111        "third_party/jni_zero/parse.py",
12112        "third_party/jni_zero/proxy.py",
12113    ],
12114    apex_available: [
12115        "com.android.tethering",
12116    ],
12117}
12118
12119// GN: //components/cronet/android:cronet_jni_headers__action
12120java_genrule {
12121    name: "cronet_aml_components_cronet_android_cronet_jni_headers__action__java",
12122    srcs: [
12123        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
12124        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
12125        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
12126        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
12127        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
12128    ],
12129    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
12130         "mkdir -p $(genDir)/jni_headers/components/cronet/android/cronet_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
12131         "--output-dir " +
12132         "$(genDir)/components/cronet/android/cronet_jni_headers " +
12133         "--extra-include " +
12134         "third_party/jni_zero/jni_zero_internal.h " +
12135         "--srcjar-path " +
12136         "$(genDir)/components/cronet/android/cronet_jni_headers.srcjar " +
12137         "--placeholder-srcjar-path " +
12138         "$(genDir)/components/cronet/android/cronet_jni_headers_placeholder.srcjar " +
12139         "--use-proxy-hash " +
12140         "--output-name " +
12141         "CronetBidirectionalStream_jni.h " +
12142         "--output-name " +
12143         "CronetLibraryLoader_jni.h " +
12144         "--output-name " +
12145         "CronetUploadDataStream_jni.h " +
12146         "--output-name " +
12147         "CronetUrlRequest_jni.h " +
12148         "--output-name " +
12149         "CronetUrlRequestContext_jni.h " +
12150         "--input-file " +
12151         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
12152         "--input-file " +
12153         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
12154         "--input-file " +
12155         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
12156         "--input-file " +
12157         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
12158         "--input-file " +
12159         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java) " +
12160         "--package-prefix " +
12161         "android.net.connectivity",
12162    out: [
12163        "components/cronet/android/cronet_jni_headers.srcjar",
12164        "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
12165        "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
12166        "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
12167        "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
12168        "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
12169    ],
12170    tool_files: [
12171        "third_party/jni_zero/codegen/called_by_native_header.py",
12172        "third_party/jni_zero/codegen/convert_type.py",
12173        "third_party/jni_zero/codegen/header_common.py",
12174        "third_party/jni_zero/codegen/natives_header.py",
12175        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
12176        "third_party/jni_zero/codegen/placeholder_java_type.py",
12177        "third_party/jni_zero/codegen/proxy_impl_java.py",
12178        "third_party/jni_zero/common.py",
12179        "third_party/jni_zero/java_lang_classes.py",
12180        "third_party/jni_zero/java_types.py",
12181        "third_party/jni_zero/jni_generator.py",
12182        "third_party/jni_zero/jni_registration_generator.py",
12183        "third_party/jni_zero/jni_zero.py",
12184        "third_party/jni_zero/parse.py",
12185        "third_party/jni_zero/proxy.py",
12186    ],
12187}
12188
12189// GN: //components/cronet/android:cronet_jni_headers__action__testing
12190cc_genrule {
12191    name: "cronet_aml_components_cronet_android_cronet_jni_headers__action__testing",
12192    srcs: [
12193        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
12194        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
12195        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
12196        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
12197        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
12198    ],
12199    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
12200         "mkdir -p $(genDir)/jni_headers/components/cronet/android/cronet_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
12201         "--output-dir " +
12202         "$(genDir)/components/cronet/android/cronet_jni_headers " +
12203         "--extra-include " +
12204         "third_party/jni_zero/jni_zero_internal.h " +
12205         "--srcjar-path " +
12206         "$(genDir)/components/cronet/android/cronet_jni_headers.srcjar " +
12207         "--placeholder-srcjar-path " +
12208         "$(genDir)/components/cronet/android/cronet_jni_headers_placeholder.srcjar " +
12209         "--use-proxy-hash " +
12210         "--output-name " +
12211         "CronetBidirectionalStream_jni.h " +
12212         "--output-name " +
12213         "CronetLibraryLoader_jni.h " +
12214         "--output-name " +
12215         "CronetUploadDataStream_jni.h " +
12216         "--output-name " +
12217         "CronetUrlRequest_jni.h " +
12218         "--output-name " +
12219         "CronetUrlRequestContext_jni.h " +
12220         "--input-file " +
12221         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
12222         "--input-file " +
12223         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
12224         "--input-file " +
12225         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
12226         "--input-file " +
12227         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
12228         "--input-file " +
12229         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)",
12230    out: [
12231        "components/cronet/android/cronet_jni_headers.srcjar",
12232        "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
12233        "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
12234        "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
12235        "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
12236        "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
12237    ],
12238    tool_files: [
12239        "third_party/jni_zero/codegen/called_by_native_header.py",
12240        "third_party/jni_zero/codegen/convert_type.py",
12241        "third_party/jni_zero/codegen/header_common.py",
12242        "third_party/jni_zero/codegen/natives_header.py",
12243        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
12244        "third_party/jni_zero/codegen/placeholder_java_type.py",
12245        "third_party/jni_zero/codegen/proxy_impl_java.py",
12246        "third_party/jni_zero/common.py",
12247        "third_party/jni_zero/java_lang_classes.py",
12248        "third_party/jni_zero/java_types.py",
12249        "third_party/jni_zero/jni_generator.py",
12250        "third_party/jni_zero/jni_registration_generator.py",
12251        "third_party/jni_zero/jni_zero.py",
12252        "third_party/jni_zero/parse.py",
12253        "third_party/jni_zero/proxy.py",
12254    ],
12255    apex_available: [
12256        "com.android.tethering",
12257    ],
12258}
12259
12260// GN: //components/cronet/android:cronet_jni_headers__action__testing
12261java_genrule {
12262    name: "cronet_aml_components_cronet_android_cronet_jni_headers__action__testing__java",
12263    srcs: [
12264        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
12265        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
12266        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
12267        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
12268        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
12269    ],
12270    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
12271         "mkdir -p $(genDir)/jni_headers/components/cronet/android/cronet_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
12272         "--output-dir " +
12273         "$(genDir)/components/cronet/android/cronet_jni_headers " +
12274         "--extra-include " +
12275         "third_party/jni_zero/jni_zero_internal.h " +
12276         "--srcjar-path " +
12277         "$(genDir)/components/cronet/android/cronet_jni_headers.srcjar " +
12278         "--placeholder-srcjar-path " +
12279         "$(genDir)/components/cronet/android/cronet_jni_headers_placeholder.srcjar " +
12280         "--use-proxy-hash " +
12281         "--output-name " +
12282         "CronetBidirectionalStream_jni.h " +
12283         "--output-name " +
12284         "CronetLibraryLoader_jni.h " +
12285         "--output-name " +
12286         "CronetUploadDataStream_jni.h " +
12287         "--output-name " +
12288         "CronetUrlRequest_jni.h " +
12289         "--output-name " +
12290         "CronetUrlRequestContext_jni.h " +
12291         "--input-file " +
12292         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
12293         "--input-file " +
12294         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
12295         "--input-file " +
12296         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
12297         "--input-file " +
12298         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
12299         "--input-file " +
12300         "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)",
12301    out: [
12302        "components/cronet/android/cronet_jni_headers.srcjar",
12303        "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
12304        "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
12305        "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
12306        "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
12307        "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
12308    ],
12309    tool_files: [
12310        "third_party/jni_zero/codegen/called_by_native_header.py",
12311        "third_party/jni_zero/codegen/convert_type.py",
12312        "third_party/jni_zero/codegen/header_common.py",
12313        "third_party/jni_zero/codegen/natives_header.py",
12314        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
12315        "third_party/jni_zero/codegen/placeholder_java_type.py",
12316        "third_party/jni_zero/codegen/proxy_impl_java.py",
12317        "third_party/jni_zero/common.py",
12318        "third_party/jni_zero/java_lang_classes.py",
12319        "third_party/jni_zero/java_types.py",
12320        "third_party/jni_zero/jni_generator.py",
12321        "third_party/jni_zero/jni_registration_generator.py",
12322        "third_party/jni_zero/jni_zero.py",
12323        "third_party/jni_zero/parse.py",
12324        "third_party/jni_zero/proxy.py",
12325    ],
12326}
12327
12328// GN: //components/cronet/android:cronet_jni_registration
12329cc_genrule {
12330    name: "cronet_aml_components_cronet_android_cronet_jni_registration",
12331    srcs: [
12332        "base/android/java/src/org/chromium/base/ApkAssets.java",
12333        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
12334        "base/android/java/src/org/chromium/base/BuildInfo.java",
12335        "base/android/java/src/org/chromium/base/BundleUtils.java",
12336        "base/android/java/src/org/chromium/base/Callback.java",
12337        "base/android/java/src/org/chromium/base/CommandLine.java",
12338        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
12339        "base/android/java/src/org/chromium/base/CpuFeatures.java",
12340        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
12341        "base/android/java/src/org/chromium/base/EventLog.java",
12342        "base/android/java/src/org/chromium/base/FeatureList.java",
12343        "base/android/java/src/org/chromium/base/FeatureMap.java",
12344        "base/android/java/src/org/chromium/base/Features.java",
12345        "base/android/java/src/org/chromium/base/FieldTrialList.java",
12346        "base/android/java/src/org/chromium/base/FileUtils.java",
12347        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
12348        "base/android/java/src/org/chromium/base/InputHintChecker.java",
12349        "base/android/java/src/org/chromium/base/IntStringCallback.java",
12350        "base/android/java/src/org/chromium/base/JNIUtils.java",
12351        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
12352        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
12353        "base/android/java/src/org/chromium/base/JniAndroid.java",
12354        "base/android/java/src/org/chromium/base/LocaleUtils.java",
12355        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
12356        "base/android/java/src/org/chromium/base/PathService.java",
12357        "base/android/java/src/org/chromium/base/PathUtils.java",
12358        "base/android/java/src/org/chromium/base/PowerMonitor.java",
12359        "base/android/java/src/org/chromium/base/RadioUtils.java",
12360        "base/android/java/src/org/chromium/base/SysUtils.java",
12361        "base/android/java/src/org/chromium/base/ThreadUtils.java",
12362        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
12363        "base/android/java/src/org/chromium/base/Token.java",
12364        "base/android/java/src/org/chromium/base/TraceEvent.java",
12365        "base/android/java/src/org/chromium/base/UnguessableToken.java",
12366        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
12367        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
12368        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
12369        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
12370        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
12371        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
12372        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
12373        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
12374        "base/android/java/src/org/chromium/base/task/PostTask.java",
12375        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
12376        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
12377        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
12378        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
12379        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
12380        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
12381        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
12382        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
12383        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
12384        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
12385        "net/android/java/src/org/chromium/net/DnsStatus.java",
12386        "net/android/java/src/org/chromium/net/GURLUtils.java",
12387        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
12388        "net/android/java/src/org/chromium/net/HttpUtil.java",
12389        "net/android/java/src/org/chromium/net/NetStringUtil.java",
12390        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
12391        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
12392        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
12393        "net/android/java/src/org/chromium/net/X509Util.java",
12394        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
12395    ],
12396    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
12397         "mkdir -p $(genDir)/jni_headers/components/cronet/android && current_dir=`basename \\`pwd\\``; " +
12398         "for f in $(in); " +
12399         "do " +
12400         "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
12401         "done; " +
12402         "python3 $(location third_party/jni_zero/jni_zero.py) generate-final " +
12403         "--srcjar-path " +
12404         "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
12405         "--java-sources-file " +
12406         "$(genDir)/java.sources " +
12407         "--include-test-only " +
12408         "--use-proxy-hash " +
12409         "--manual-jni-registration " +
12410         "--header-path " +
12411         "$(genDir)/components/cronet/android/cronet_jni_registration_generated.h " +
12412         "--package-prefix " +
12413         "android.net.connectivity",
12414    out: [
12415        "components/cronet/android/cronet_jni_registration.srcjar",
12416        "components/cronet/android/cronet_jni_registration_generated.h",
12417    ],
12418    tool_files: [
12419        "third_party/jni_zero/codegen/called_by_native_header.py",
12420        "third_party/jni_zero/codegen/convert_type.py",
12421        "third_party/jni_zero/codegen/header_common.py",
12422        "third_party/jni_zero/codegen/natives_header.py",
12423        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
12424        "third_party/jni_zero/codegen/placeholder_java_type.py",
12425        "third_party/jni_zero/codegen/proxy_impl_java.py",
12426        "third_party/jni_zero/common.py",
12427        "third_party/jni_zero/java_lang_classes.py",
12428        "third_party/jni_zero/java_types.py",
12429        "third_party/jni_zero/jni_generator.py",
12430        "third_party/jni_zero/jni_registration_generator.py",
12431        "third_party/jni_zero/jni_zero.py",
12432        "third_party/jni_zero/parse.py",
12433        "third_party/jni_zero/proxy.py",
12434    ],
12435    apex_available: [
12436        "com.android.tethering",
12437    ],
12438}
12439
12440// GN: //components/cronet/android:cronet_jni_registration
12441java_genrule {
12442    name: "cronet_aml_components_cronet_android_cronet_jni_registration__java",
12443    srcs: [
12444        "base/android/java/src/org/chromium/base/ApkAssets.java",
12445        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
12446        "base/android/java/src/org/chromium/base/BuildInfo.java",
12447        "base/android/java/src/org/chromium/base/BundleUtils.java",
12448        "base/android/java/src/org/chromium/base/Callback.java",
12449        "base/android/java/src/org/chromium/base/CommandLine.java",
12450        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
12451        "base/android/java/src/org/chromium/base/CpuFeatures.java",
12452        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
12453        "base/android/java/src/org/chromium/base/EventLog.java",
12454        "base/android/java/src/org/chromium/base/FeatureList.java",
12455        "base/android/java/src/org/chromium/base/FeatureMap.java",
12456        "base/android/java/src/org/chromium/base/Features.java",
12457        "base/android/java/src/org/chromium/base/FieldTrialList.java",
12458        "base/android/java/src/org/chromium/base/FileUtils.java",
12459        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
12460        "base/android/java/src/org/chromium/base/InputHintChecker.java",
12461        "base/android/java/src/org/chromium/base/IntStringCallback.java",
12462        "base/android/java/src/org/chromium/base/JNIUtils.java",
12463        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
12464        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
12465        "base/android/java/src/org/chromium/base/JniAndroid.java",
12466        "base/android/java/src/org/chromium/base/LocaleUtils.java",
12467        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
12468        "base/android/java/src/org/chromium/base/PathService.java",
12469        "base/android/java/src/org/chromium/base/PathUtils.java",
12470        "base/android/java/src/org/chromium/base/PowerMonitor.java",
12471        "base/android/java/src/org/chromium/base/RadioUtils.java",
12472        "base/android/java/src/org/chromium/base/SysUtils.java",
12473        "base/android/java/src/org/chromium/base/ThreadUtils.java",
12474        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
12475        "base/android/java/src/org/chromium/base/Token.java",
12476        "base/android/java/src/org/chromium/base/TraceEvent.java",
12477        "base/android/java/src/org/chromium/base/UnguessableToken.java",
12478        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
12479        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
12480        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
12481        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
12482        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
12483        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
12484        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
12485        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
12486        "base/android/java/src/org/chromium/base/task/PostTask.java",
12487        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
12488        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
12489        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
12490        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
12491        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
12492        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
12493        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
12494        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
12495        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
12496        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
12497        "net/android/java/src/org/chromium/net/DnsStatus.java",
12498        "net/android/java/src/org/chromium/net/GURLUtils.java",
12499        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
12500        "net/android/java/src/org/chromium/net/HttpUtil.java",
12501        "net/android/java/src/org/chromium/net/NetStringUtil.java",
12502        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
12503        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
12504        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
12505        "net/android/java/src/org/chromium/net/X509Util.java",
12506        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
12507    ],
12508    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
12509         "mkdir -p $(genDir)/jni_headers/components/cronet/android && current_dir=`basename \\`pwd\\``; " +
12510         "for f in $(in); " +
12511         "do " +
12512         "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
12513         "done; " +
12514         "python3 $(location third_party/jni_zero/jni_zero.py) generate-final " +
12515         "--srcjar-path " +
12516         "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
12517         "--java-sources-file " +
12518         "$(genDir)/java.sources " +
12519         "--include-test-only " +
12520         "--use-proxy-hash " +
12521         "--manual-jni-registration " +
12522         "--header-path " +
12523         "$(genDir)/components/cronet/android/cronet_jni_registration_generated.h " +
12524         "--package-prefix " +
12525         "android.net.connectivity",
12526    out: [
12527        "components/cronet/android/cronet_jni_registration.srcjar",
12528    ],
12529    tool_files: [
12530        "third_party/jni_zero/codegen/called_by_native_header.py",
12531        "third_party/jni_zero/codegen/convert_type.py",
12532        "third_party/jni_zero/codegen/header_common.py",
12533        "third_party/jni_zero/codegen/natives_header.py",
12534        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
12535        "third_party/jni_zero/codegen/placeholder_java_type.py",
12536        "third_party/jni_zero/codegen/proxy_impl_java.py",
12537        "third_party/jni_zero/common.py",
12538        "third_party/jni_zero/java_lang_classes.py",
12539        "third_party/jni_zero/java_types.py",
12540        "third_party/jni_zero/jni_generator.py",
12541        "third_party/jni_zero/jni_registration_generator.py",
12542        "third_party/jni_zero/jni_zero.py",
12543        "third_party/jni_zero/parse.py",
12544        "third_party/jni_zero/proxy.py",
12545    ],
12546}
12547
12548// GN: //components/cronet/android:cronet_jni_registration__testing
12549cc_genrule {
12550    name: "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
12551    srcs: [
12552        "base/android/java/src/org/chromium/base/ApkAssets.java",
12553        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
12554        "base/android/java/src/org/chromium/base/BuildInfo.java",
12555        "base/android/java/src/org/chromium/base/BundleUtils.java",
12556        "base/android/java/src/org/chromium/base/Callback.java",
12557        "base/android/java/src/org/chromium/base/CommandLine.java",
12558        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
12559        "base/android/java/src/org/chromium/base/CpuFeatures.java",
12560        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
12561        "base/android/java/src/org/chromium/base/EventLog.java",
12562        "base/android/java/src/org/chromium/base/FeatureList.java",
12563        "base/android/java/src/org/chromium/base/FeatureMap.java",
12564        "base/android/java/src/org/chromium/base/Features.java",
12565        "base/android/java/src/org/chromium/base/FieldTrialList.java",
12566        "base/android/java/src/org/chromium/base/FileUtils.java",
12567        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
12568        "base/android/java/src/org/chromium/base/InputHintChecker.java",
12569        "base/android/java/src/org/chromium/base/IntStringCallback.java",
12570        "base/android/java/src/org/chromium/base/JNIUtils.java",
12571        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
12572        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
12573        "base/android/java/src/org/chromium/base/JniAndroid.java",
12574        "base/android/java/src/org/chromium/base/LocaleUtils.java",
12575        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
12576        "base/android/java/src/org/chromium/base/PathService.java",
12577        "base/android/java/src/org/chromium/base/PathUtils.java",
12578        "base/android/java/src/org/chromium/base/PowerMonitor.java",
12579        "base/android/java/src/org/chromium/base/RadioUtils.java",
12580        "base/android/java/src/org/chromium/base/SysUtils.java",
12581        "base/android/java/src/org/chromium/base/ThreadUtils.java",
12582        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
12583        "base/android/java/src/org/chromium/base/Token.java",
12584        "base/android/java/src/org/chromium/base/TraceEvent.java",
12585        "base/android/java/src/org/chromium/base/UnguessableToken.java",
12586        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
12587        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
12588        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
12589        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
12590        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
12591        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
12592        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
12593        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
12594        "base/android/java/src/org/chromium/base/task/PostTask.java",
12595        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
12596        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
12597        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
12598        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
12599        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
12600        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
12601        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
12602        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
12603        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
12604        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
12605        "net/android/java/src/org/chromium/net/DnsStatus.java",
12606        "net/android/java/src/org/chromium/net/GURLUtils.java",
12607        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
12608        "net/android/java/src/org/chromium/net/HttpUtil.java",
12609        "net/android/java/src/org/chromium/net/NetStringUtil.java",
12610        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
12611        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
12612        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
12613        "net/android/java/src/org/chromium/net/X509Util.java",
12614        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
12615    ],
12616    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
12617         "mkdir -p $(genDir)/jni_headers/components/cronet/android && current_dir=`basename \\`pwd\\``; " +
12618         "for f in $(in); " +
12619         "do " +
12620         "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
12621         "done; " +
12622         "python3 $(location third_party/jni_zero/jni_zero.py) generate-final " +
12623         "--srcjar-path " +
12624         "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
12625         "--java-sources-file " +
12626         "$(genDir)/java.sources " +
12627         "--include-test-only " +
12628         "--use-proxy-hash " +
12629         "--manual-jni-registration " +
12630         "--header-path " +
12631         "$(genDir)/components/cronet/android/cronet_jni_registration_generated.h",
12632    out: [
12633        "components/cronet/android/cronet_jni_registration.srcjar",
12634        "components/cronet/android/cronet_jni_registration_generated.h",
12635    ],
12636    tool_files: [
12637        "third_party/jni_zero/codegen/called_by_native_header.py",
12638        "third_party/jni_zero/codegen/convert_type.py",
12639        "third_party/jni_zero/codegen/header_common.py",
12640        "third_party/jni_zero/codegen/natives_header.py",
12641        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
12642        "third_party/jni_zero/codegen/placeholder_java_type.py",
12643        "third_party/jni_zero/codegen/proxy_impl_java.py",
12644        "third_party/jni_zero/common.py",
12645        "third_party/jni_zero/java_lang_classes.py",
12646        "third_party/jni_zero/java_types.py",
12647        "third_party/jni_zero/jni_generator.py",
12648        "third_party/jni_zero/jni_registration_generator.py",
12649        "third_party/jni_zero/jni_zero.py",
12650        "third_party/jni_zero/parse.py",
12651        "third_party/jni_zero/proxy.py",
12652    ],
12653    apex_available: [
12654        "com.android.tethering",
12655    ],
12656}
12657
12658// GN: //components/cronet/android:cronet_jni_registration__testing
12659java_genrule {
12660    name: "cronet_aml_components_cronet_android_cronet_jni_registration__testing__java",
12661    srcs: [
12662        "base/android/java/src/org/chromium/base/ApkAssets.java",
12663        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
12664        "base/android/java/src/org/chromium/base/BuildInfo.java",
12665        "base/android/java/src/org/chromium/base/BundleUtils.java",
12666        "base/android/java/src/org/chromium/base/Callback.java",
12667        "base/android/java/src/org/chromium/base/CommandLine.java",
12668        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
12669        "base/android/java/src/org/chromium/base/CpuFeatures.java",
12670        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
12671        "base/android/java/src/org/chromium/base/EventLog.java",
12672        "base/android/java/src/org/chromium/base/FeatureList.java",
12673        "base/android/java/src/org/chromium/base/FeatureMap.java",
12674        "base/android/java/src/org/chromium/base/Features.java",
12675        "base/android/java/src/org/chromium/base/FieldTrialList.java",
12676        "base/android/java/src/org/chromium/base/FileUtils.java",
12677        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
12678        "base/android/java/src/org/chromium/base/InputHintChecker.java",
12679        "base/android/java/src/org/chromium/base/IntStringCallback.java",
12680        "base/android/java/src/org/chromium/base/JNIUtils.java",
12681        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
12682        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
12683        "base/android/java/src/org/chromium/base/JniAndroid.java",
12684        "base/android/java/src/org/chromium/base/LocaleUtils.java",
12685        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
12686        "base/android/java/src/org/chromium/base/PathService.java",
12687        "base/android/java/src/org/chromium/base/PathUtils.java",
12688        "base/android/java/src/org/chromium/base/PowerMonitor.java",
12689        "base/android/java/src/org/chromium/base/RadioUtils.java",
12690        "base/android/java/src/org/chromium/base/SysUtils.java",
12691        "base/android/java/src/org/chromium/base/ThreadUtils.java",
12692        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
12693        "base/android/java/src/org/chromium/base/Token.java",
12694        "base/android/java/src/org/chromium/base/TraceEvent.java",
12695        "base/android/java/src/org/chromium/base/UnguessableToken.java",
12696        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
12697        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
12698        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
12699        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
12700        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
12701        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
12702        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
12703        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
12704        "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
12705        "base/android/java/src/org/chromium/base/shared_preferences/SharedPreferencesManager.java",
12706        "base/android/java/src/org/chromium/base/task/PostTask.java",
12707        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
12708        "base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java",
12709        "base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java",
12710        "base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java",
12711        "base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java",
12712        "base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java",
12713        "base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java",
12714        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
12715        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
12716        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
12717        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
12718        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
12719        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java",
12720        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java",
12721        "components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java",
12722        "components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java",
12723        "components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java",
12724        "components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java",
12725        "components/cronet/android/test/src/org/chromium/net/NativeTestServer.java",
12726        "components/cronet/android/test/src/org/chromium/net/QuicTestServer.java",
12727        "components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java",
12728        "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
12729        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
12730        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
12731        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
12732        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
12733        "net/android/java/src/org/chromium/net/DnsStatus.java",
12734        "net/android/java/src/org/chromium/net/GURLUtils.java",
12735        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
12736        "net/android/java/src/org/chromium/net/HttpUtil.java",
12737        "net/android/java/src/org/chromium/net/NetStringUtil.java",
12738        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
12739        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
12740        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
12741        "net/android/java/src/org/chromium/net/X509Util.java",
12742        "net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java",
12743        "net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java",
12744        "net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java",
12745        "net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java",
12746        "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java",
12747        "testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java",
12748        "testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java",
12749        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
12750    ],
12751    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
12752         "mkdir -p $(genDir)/jni_headers/components/cronet/android && current_dir=`basename \\`pwd\\``; " +
12753         "for f in $(in); " +
12754         "do " +
12755         "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
12756         "done; " +
12757         "python3 $(location third_party/jni_zero/jni_zero.py) generate-final " +
12758         "--srcjar-path " +
12759         "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
12760         "--java-sources-file " +
12761         "$(genDir)/java.sources " +
12762         "--include-test-only " +
12763         "--use-proxy-hash " +
12764         "--manual-jni-registration " +
12765         "--header-path " +
12766         "$(genDir)/components/cronet/android/cronet_jni_registration_generated.h",
12767    out: [
12768        "components/cronet/android/cronet_jni_registration.srcjar",
12769    ],
12770    tool_files: [
12771        "third_party/jni_zero/codegen/called_by_native_header.py",
12772        "third_party/jni_zero/codegen/convert_type.py",
12773        "third_party/jni_zero/codegen/header_common.py",
12774        "third_party/jni_zero/codegen/natives_header.py",
12775        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
12776        "third_party/jni_zero/codegen/placeholder_java_type.py",
12777        "third_party/jni_zero/codegen/proxy_impl_java.py",
12778        "third_party/jni_zero/common.py",
12779        "third_party/jni_zero/java_lang_classes.py",
12780        "third_party/jni_zero/java_types.py",
12781        "third_party/jni_zero/jni_generator.py",
12782        "third_party/jni_zero/jni_registration_generator.py",
12783        "third_party/jni_zero/jni_zero.py",
12784        "third_party/jni_zero/parse.py",
12785        "third_party/jni_zero/proxy.py",
12786    ],
12787}
12788
12789// GN: //components/cronet/android:cronet_jni_registration_java
12790java_library {
12791    name: "cronet_aml_components_cronet_android_cronet_jni_registration_java",
12792    srcs: [
12793        ":cronet_aml_components_cronet_android_cronet_jni_registration__java",
12794    ],
12795    defaults: [
12796        "cronet_aml_java_framework_defaults",
12797    ],
12798    apex_available: [
12799        "com.android.tethering",
12800    ],
12801    min_sdk_version: "30",
12802    visibility: [
12803        "//external/cronet:__subpackages__",
12804        "//packages/modules/Connectivity:__subpackages__",
12805    ],
12806}
12807
12808// GN: //components/cronet/android:cronet_jni_registration_java__testing
12809java_library {
12810    name: "cronet_aml_components_cronet_android_cronet_jni_registration_java__testing",
12811    srcs: [
12812        ":cronet_aml_components_cronet_android_cronet_jni_registration__testing__java",
12813    ],
12814    apex_available: [
12815        "com.android.tethering",
12816    ],
12817    min_sdk_version: "30",
12818    sdk_version: "current",
12819    visibility: [
12820        "//external/cronet:__subpackages__",
12821        "//packages/modules/Connectivity:__subpackages__",
12822    ],
12823}
12824
12825// GN: //components/cronet/android:cronet_shared_java
12826java_library {
12827    name: "cronet_aml_components_cronet_android_cronet_shared_java",
12828    srcs: [
12829        "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
12830        "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
12831        "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
12832        "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
12833        "components/cronet/android/java/src/org/chromium/net/telemetry/CronetLoggerImpl.java",
12834        "components/cronet/android/java/src/org/chromium/net/telemetry/ExperimentalOptions.java",
12835        "components/cronet/android/java/src/org/chromium/net/telemetry/Hash.java",
12836        "components/cronet/android/java/src/org/chromium/net/telemetry/OptionalBoolean.java",
12837        "components/cronet/android/java/src/org/chromium/net/telemetry/RateLimiter.java",
12838        "components/cronet/android/java/src/org/chromium/net/telemetry/SizeBuckets.java",
12839    ],
12840    static_libs: [
12841        "cronet_aml_components_cronet_android_cronet_stats_log_java",
12842    ],
12843    defaults: [
12844        "cronet_aml_java_framework_defaults",
12845    ],
12846    apex_available: [
12847        "com.android.tethering",
12848    ],
12849    min_sdk_version: "30",
12850    libs: [
12851        "androidx.annotation_annotation",
12852    ],
12853    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
12854}
12855
12856// GN: //components/cronet/android:cronet_shared_java__testing
12857java_library {
12858    name: "cronet_aml_components_cronet_android_cronet_shared_java__testing",
12859    srcs: [
12860        "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
12861        "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
12862        "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
12863        "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
12864        "components/cronet/android/java/src/org/chromium/net/telemetry/CronetLoggerImpl.java",
12865        "components/cronet/android/java/src/org/chromium/net/telemetry/ExperimentalOptions.java",
12866        "components/cronet/android/java/src/org/chromium/net/telemetry/Hash.java",
12867        "components/cronet/android/java/src/org/chromium/net/telemetry/OptionalBoolean.java",
12868        "components/cronet/android/java/src/org/chromium/net/telemetry/RateLimiter.java",
12869        "components/cronet/android/java/src/org/chromium/net/telemetry/SizeBuckets.java",
12870    ],
12871    static_libs: [
12872        "cronet_aml_components_cronet_android_cronet_stats_log_java__testing",
12873    ],
12874    apex_available: [
12875        "com.android.tethering",
12876    ],
12877    min_sdk_version: "30",
12878    libs: [
12879        "androidx.annotation_annotation",
12880    ],
12881    sdk_version: "system_current",
12882    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
12883}
12884
12885// GN: //components/cronet/android:cronet_static
12886cc_library_static {
12887    name: "cronet_aml_components_cronet_android_cronet_static",
12888    srcs: [
12889        "components/cronet/android/cronet_bidirectional_stream_adapter.cc",
12890        "components/cronet/android/cronet_context_adapter.cc",
12891        "components/cronet/android/cronet_library_loader.cc",
12892        "components/cronet/android/cronet_upload_data_stream_adapter.cc",
12893        "components/cronet/android/cronet_url_request_adapter.cc",
12894        "components/cronet/android/io_buffer_with_byte_buffer.cc",
12895        "components/cronet/android/url_request_error.cc",
12896    ],
12897    shared_libs: [
12898        "//external/cronet/third_party/boringssl:libcrypto",
12899        "//external/cronet/third_party/boringssl:libpki",
12900        "//external/cronet/third_party/boringssl:libssl",
12901        "libandroid",
12902        "liblog",
12903        "libprotobuf-cpp-lite",
12904        "libz",
12905    ],
12906    generated_headers: [
12907        "cronet_aml_base_allocator_buildflags",
12908        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
12909        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
12910        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
12911        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
12912        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
12913        "cronet_aml_base_anchor_functions_buildflags",
12914        "cronet_aml_base_android_runtime_jni_headers__action",
12915        "cronet_aml_base_base_jni__action",
12916        "cronet_aml_base_base_shared_preferences_jni__action",
12917        "cronet_aml_base_build_date",
12918        "cronet_aml_base_cfi_buildflags",
12919        "cronet_aml_base_check_version_internal_action",
12920        "cronet_aml_base_clang_profiling_buildflags",
12921        "cronet_aml_base_debugging_buildflags",
12922        "cronet_aml_base_feature_list_buildflags",
12923        "cronet_aml_base_fuzzing_buildflags",
12924        "cronet_aml_base_ios_cronet_buildflags",
12925        "cronet_aml_base_logging_buildflags",
12926        "cronet_aml_base_message_pump_buildflags",
12927        "cronet_aml_base_orderfile_buildflags",
12928        "cronet_aml_base_power_monitor_buildflags",
12929        "cronet_aml_base_process_launcher_jni__action",
12930        "cronet_aml_base_profiler_buildflags",
12931        "cronet_aml_base_protected_memory_buildflags",
12932        "cronet_aml_base_rust_buildflags",
12933        "cronet_aml_base_sanitizer_buildflags",
12934        "cronet_aml_base_synchronization_buildflags",
12935        "cronet_aml_base_tracing_buildflags",
12936        "cronet_aml_build_blink_buildflags",
12937        "cronet_aml_build_branding_buildflags",
12938        "cronet_aml_build_chromecast_buildflags",
12939        "cronet_aml_build_chromeos_buildflags",
12940        "cronet_aml_build_config_compiler_compiler_buildflags",
12941        "cronet_aml_build_ios_buildflags",
12942        "cronet_aml_build_robolectric_buildflags",
12943        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen_headers",
12944        "cronet_aml_components_cronet_android_cronet_jni_headers__action",
12945        "cronet_aml_components_cronet_android_cronet_jni_registration",
12946        "cronet_aml_components_cronet_android_request_context_config_proto_gen_headers",
12947        "cronet_aml_components_cronet_cronet_buildflags",
12948        "cronet_aml_components_cronet_cronet_version_header_action",
12949        "cronet_aml_components_prefs_android_jni_headers__action",
12950        "cronet_aml_crypto_buildflags",
12951        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
12952        "cronet_aml_net_buildflags",
12953        "cronet_aml_net_cronet_buildflags",
12954        "cronet_aml_net_isolation_info_proto_gen_headers",
12955        "cronet_aml_net_net_jni_headers__action",
12956        "cronet_aml_net_net_nqe_proto_gen_headers",
12957        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
12958        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
12959        "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
12960        "cronet_aml_url_buildflags",
12961        "cronet_aml_url_url_jni_headers__action",
12962    ],
12963    export_generated_headers: [
12964        "cronet_aml_base_allocator_buildflags",
12965        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
12966        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
12967        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
12968        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
12969        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
12970        "cronet_aml_base_anchor_functions_buildflags",
12971        "cronet_aml_base_android_runtime_jni_headers__action",
12972        "cronet_aml_base_base_jni__action",
12973        "cronet_aml_base_base_shared_preferences_jni__action",
12974        "cronet_aml_base_build_date",
12975        "cronet_aml_base_cfi_buildflags",
12976        "cronet_aml_base_check_version_internal_action",
12977        "cronet_aml_base_clang_profiling_buildflags",
12978        "cronet_aml_base_debugging_buildflags",
12979        "cronet_aml_base_feature_list_buildflags",
12980        "cronet_aml_base_fuzzing_buildflags",
12981        "cronet_aml_base_ios_cronet_buildflags",
12982        "cronet_aml_base_logging_buildflags",
12983        "cronet_aml_base_message_pump_buildflags",
12984        "cronet_aml_base_orderfile_buildflags",
12985        "cronet_aml_base_power_monitor_buildflags",
12986        "cronet_aml_base_process_launcher_jni__action",
12987        "cronet_aml_base_profiler_buildflags",
12988        "cronet_aml_base_protected_memory_buildflags",
12989        "cronet_aml_base_rust_buildflags",
12990        "cronet_aml_base_sanitizer_buildflags",
12991        "cronet_aml_base_synchronization_buildflags",
12992        "cronet_aml_base_tracing_buildflags",
12993        "cronet_aml_build_blink_buildflags",
12994        "cronet_aml_build_branding_buildflags",
12995        "cronet_aml_build_chromecast_buildflags",
12996        "cronet_aml_build_chromeos_buildflags",
12997        "cronet_aml_build_config_compiler_compiler_buildflags",
12998        "cronet_aml_build_ios_buildflags",
12999        "cronet_aml_build_robolectric_buildflags",
13000        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen_headers",
13001        "cronet_aml_components_cronet_android_cronet_jni_headers__action",
13002        "cronet_aml_components_cronet_android_cronet_jni_registration",
13003        "cronet_aml_components_cronet_android_request_context_config_proto_gen_headers",
13004        "cronet_aml_components_cronet_cronet_buildflags",
13005        "cronet_aml_components_cronet_cronet_version_header_action",
13006        "cronet_aml_components_prefs_android_jni_headers__action",
13007        "cronet_aml_crypto_buildflags",
13008        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
13009        "cronet_aml_net_buildflags",
13010        "cronet_aml_net_cronet_buildflags",
13011        "cronet_aml_net_isolation_info_proto_gen_headers",
13012        "cronet_aml_net_net_jni_headers__action",
13013        "cronet_aml_net_net_nqe_proto_gen_headers",
13014        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
13015        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
13016        "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
13017        "cronet_aml_url_buildflags",
13018        "cronet_aml_url_url_jni_headers__action",
13019    ],
13020    defaults: [
13021        "cronet_aml_cc_defaults",
13022    ],
13023    cflags: [
13024        "-DANDROID",
13025        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
13026        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
13027        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
13028        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
13029        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13030        "-DGOOGLE_PROTOBUF_NO_RTTI",
13031        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13032        "-DHAVE_PTHREAD",
13033        "-DHAVE_SYS_UIO_H",
13034        "-DNDEBUG",
13035        "-DNO_UNWIND_TABLES",
13036        "-DNVALGRIND",
13037        "-DOFFICIAL_BUILD",
13038        "-D_GNU_SOURCE",
13039        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13040        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
13041        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13042        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
13043        "-D__STDC_CONSTANT_MACROS",
13044        "-D__STDC_FORMAT_MACROS",
13045        "-fdata-sections",
13046        "-ffunction-sections",
13047        "-fno-asynchronous-unwind-tables",
13048        "-fno-unwind-tables",
13049        "-fstack-protector",
13050        "-fvisibility-inlines-hidden",
13051        "-fvisibility=hidden",
13052        "-g1",
13053    ],
13054    local_include_dirs: [
13055        "./",
13056        "base/allocator/partition_allocator/src/",
13057        "buildtools/third_party/libc++/",
13058        "net/third_party/quiche/overrides/",
13059        "net/third_party/quiche/src/",
13060        "net/third_party/quiche/src/quiche/common/platform/default/",
13061        "third_party/abseil-cpp/",
13062        "third_party/boringssl/src/include/",
13063        "third_party/libc++/src/include",
13064        "third_party/libc++abi/src/include",
13065        "third_party/protobuf/src/",
13066    ],
13067    cpp_std: "c++20",
13068    ldflags: [
13069        "-Wl,--as-needed",
13070        "-Wl,--gc-sections",
13071        "-Wl,--icf=all",
13072        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
13073        "-Wl,-wrap,asprintf",
13074        "-Wl,-wrap,calloc",
13075        "-Wl,-wrap,free",
13076        "-Wl,-wrap,getcwd",
13077        "-Wl,-wrap,malloc",
13078        "-Wl,-wrap,malloc_usable_size",
13079        "-Wl,-wrap,memalign",
13080        "-Wl,-wrap,posix_memalign",
13081        "-Wl,-wrap,pvalloc",
13082        "-Wl,-wrap,realloc",
13083        "-Wl,-wrap,realpath",
13084        "-Wl,-wrap,strdup",
13085        "-Wl,-wrap,strndup",
13086        "-Wl,-wrap,valloc",
13087        "-Wl,-wrap,vasprintf",
13088    ],
13089    target: {
13090        android_arm: {
13091            cflags: [
13092                "-D_FORTIFY_SOURCE=2",
13093            ],
13094        },
13095        android_arm64: {
13096            cflags: [
13097                "-D_FORTIFY_SOURCE=2",
13098                "-O2",
13099                "-mno-outline",
13100            ],
13101        },
13102        android_x86: {
13103            cflags: [
13104                "-D_FORTIFY_SOURCE=2",
13105                "-msse3",
13106            ],
13107        },
13108        android_x86_64: {
13109            cflags: [
13110                "-D_FORTIFY_SOURCE=2",
13111                "-msse3",
13112            ],
13113        },
13114    },
13115}
13116
13117// GN: //components/cronet/android:cronet_static__testing
13118cc_library_static {
13119    name: "cronet_aml_components_cronet_android_cronet_static__testing",
13120    srcs: [
13121        "components/cronet/android/cronet_bidirectional_stream_adapter.cc",
13122        "components/cronet/android/cronet_context_adapter.cc",
13123        "components/cronet/android/cronet_library_loader.cc",
13124        "components/cronet/android/cronet_upload_data_stream_adapter.cc",
13125        "components/cronet/android/cronet_url_request_adapter.cc",
13126        "components/cronet/android/io_buffer_with_byte_buffer.cc",
13127        "components/cronet/android/url_request_error.cc",
13128    ],
13129    shared_libs: [
13130        "libandroid",
13131        "liblog",
13132        "libprotobuf-cpp-lite",
13133        "libz",
13134    ],
13135    generated_headers: [
13136        "cronet_aml_base_allocator_buildflags__testing",
13137        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
13138        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
13139        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
13140        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
13141        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
13142        "cronet_aml_base_anchor_functions_buildflags__testing",
13143        "cronet_aml_base_build_date__testing",
13144        "cronet_aml_base_cfi_buildflags__testing",
13145        "cronet_aml_base_check_version_internal_action__testing",
13146        "cronet_aml_base_clang_profiling_buildflags__testing",
13147        "cronet_aml_base_debugging_buildflags__testing",
13148        "cronet_aml_base_feature_list_buildflags__testing",
13149        "cronet_aml_base_fuzzing_buildflags__testing",
13150        "cronet_aml_base_ios_cronet_buildflags__testing",
13151        "cronet_aml_base_logging_buildflags__testing",
13152        "cronet_aml_base_message_pump_buildflags__testing",
13153        "cronet_aml_base_orderfile_buildflags__testing",
13154        "cronet_aml_base_power_monitor_buildflags__testing",
13155        "cronet_aml_base_profiler_buildflags__testing",
13156        "cronet_aml_base_protected_memory_buildflags__testing",
13157        "cronet_aml_base_rust_buildflags__testing",
13158        "cronet_aml_base_sanitizer_buildflags__testing",
13159        "cronet_aml_base_synchronization_buildflags__testing",
13160        "cronet_aml_base_tracing_buildflags__testing",
13161        "cronet_aml_build_blink_buildflags__testing",
13162        "cronet_aml_build_branding_buildflags__testing",
13163        "cronet_aml_build_chromecast_buildflags__testing",
13164        "cronet_aml_build_chromeos_buildflags__testing",
13165        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
13166        "cronet_aml_build_ios_buildflags__testing",
13167        "cronet_aml_build_robolectric_buildflags__testing",
13168        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
13169        "cronet_aml_components_cronet_android_cronet_jni_headers__action__testing",
13170        "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
13171        "cronet_aml_components_cronet_android_request_context_config_proto_gen__testing_headers",
13172        "cronet_aml_components_cronet_cronet_buildflags__testing",
13173        "cronet_aml_components_cronet_cronet_version_header_action__testing",
13174        "cronet_aml_components_prefs_android_jni_headers__action__testing",
13175        "cronet_aml_crypto_buildflags__testing",
13176        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
13177        "cronet_aml_net_buildflags__testing",
13178        "cronet_aml_net_cronet_buildflags__testing",
13179        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
13180        "cronet_aml_net_net_jni_headers__action__testing",
13181        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
13182        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
13183        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
13184        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
13185        "cronet_aml_url_buildflags__testing",
13186        "cronet_aml_url_url_jni_headers__action__testing",
13187    ],
13188    export_generated_headers: [
13189        "cronet_aml_base_allocator_buildflags__testing",
13190        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
13191        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
13192        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
13193        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
13194        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
13195        "cronet_aml_base_anchor_functions_buildflags__testing",
13196        "cronet_aml_base_build_date__testing",
13197        "cronet_aml_base_cfi_buildflags__testing",
13198        "cronet_aml_base_check_version_internal_action__testing",
13199        "cronet_aml_base_clang_profiling_buildflags__testing",
13200        "cronet_aml_base_debugging_buildflags__testing",
13201        "cronet_aml_base_feature_list_buildflags__testing",
13202        "cronet_aml_base_fuzzing_buildflags__testing",
13203        "cronet_aml_base_ios_cronet_buildflags__testing",
13204        "cronet_aml_base_logging_buildflags__testing",
13205        "cronet_aml_base_message_pump_buildflags__testing",
13206        "cronet_aml_base_orderfile_buildflags__testing",
13207        "cronet_aml_base_power_monitor_buildflags__testing",
13208        "cronet_aml_base_profiler_buildflags__testing",
13209        "cronet_aml_base_protected_memory_buildflags__testing",
13210        "cronet_aml_base_rust_buildflags__testing",
13211        "cronet_aml_base_sanitizer_buildflags__testing",
13212        "cronet_aml_base_synchronization_buildflags__testing",
13213        "cronet_aml_base_tracing_buildflags__testing",
13214        "cronet_aml_build_blink_buildflags__testing",
13215        "cronet_aml_build_branding_buildflags__testing",
13216        "cronet_aml_build_chromecast_buildflags__testing",
13217        "cronet_aml_build_chromeos_buildflags__testing",
13218        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
13219        "cronet_aml_build_ios_buildflags__testing",
13220        "cronet_aml_build_robolectric_buildflags__testing",
13221        "cronet_aml_components_cronet_android_base_feature_overrides_proto_gen__testing_headers",
13222        "cronet_aml_components_cronet_android_cronet_jni_headers__action__testing",
13223        "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
13224        "cronet_aml_components_cronet_android_request_context_config_proto_gen__testing_headers",
13225        "cronet_aml_components_cronet_cronet_buildflags__testing",
13226        "cronet_aml_components_cronet_cronet_version_header_action__testing",
13227        "cronet_aml_components_prefs_android_jni_headers__action__testing",
13228        "cronet_aml_crypto_buildflags__testing",
13229        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
13230        "cronet_aml_net_buildflags__testing",
13231        "cronet_aml_net_cronet_buildflags__testing",
13232        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
13233        "cronet_aml_net_net_jni_headers__action__testing",
13234        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
13235        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
13236        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
13237        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
13238        "cronet_aml_url_buildflags__testing",
13239        "cronet_aml_url_url_jni_headers__action__testing",
13240    ],
13241    defaults: [
13242        "cronet_aml_cc_defaults",
13243    ],
13244    cflags: [
13245        "-DANDROID",
13246        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
13247        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
13248        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
13249        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
13250        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13251        "-DGOOGLE_PROTOBUF_NO_RTTI",
13252        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13253        "-DHAVE_PTHREAD",
13254        "-DHAVE_SYS_UIO_H",
13255        "-DNDEBUG",
13256        "-DNO_UNWIND_TABLES",
13257        "-DNVALGRIND",
13258        "-DOFFICIAL_BUILD",
13259        "-D_GNU_SOURCE",
13260        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13261        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
13262        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13263        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
13264        "-D__STDC_CONSTANT_MACROS",
13265        "-D__STDC_FORMAT_MACROS",
13266        "-fdata-sections",
13267        "-ffunction-sections",
13268        "-fno-asynchronous-unwind-tables",
13269        "-fno-unwind-tables",
13270        "-fstack-protector",
13271        "-fvisibility-inlines-hidden",
13272        "-fvisibility=hidden",
13273        "-g1",
13274    ],
13275    local_include_dirs: [
13276        "./",
13277        "base/allocator/partition_allocator/src/",
13278        "buildtools/third_party/libc++/",
13279        "net/third_party/quiche/overrides/",
13280        "net/third_party/quiche/src/",
13281        "net/third_party/quiche/src/quiche/common/platform/default/",
13282        "third_party/abseil-cpp/",
13283        "third_party/boringssl/src/include/",
13284        "third_party/libc++/src/include",
13285        "third_party/libc++abi/src/include",
13286        "third_party/protobuf/src/",
13287    ],
13288    cpp_std: "c++20",
13289    ldflags: [
13290        "-Wl,--as-needed",
13291        "-Wl,--gc-sections",
13292        "-Wl,--icf=all",
13293        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
13294        "-Wl,-wrap,asprintf",
13295        "-Wl,-wrap,calloc",
13296        "-Wl,-wrap,free",
13297        "-Wl,-wrap,getcwd",
13298        "-Wl,-wrap,malloc",
13299        "-Wl,-wrap,malloc_usable_size",
13300        "-Wl,-wrap,memalign",
13301        "-Wl,-wrap,posix_memalign",
13302        "-Wl,-wrap,pvalloc",
13303        "-Wl,-wrap,realloc",
13304        "-Wl,-wrap,realpath",
13305        "-Wl,-wrap,strdup",
13306        "-Wl,-wrap,strndup",
13307        "-Wl,-wrap,valloc",
13308        "-Wl,-wrap,vasprintf",
13309    ],
13310    target: {
13311        android_arm: {
13312            cflags: [
13313                "-D_FORTIFY_SOURCE=2",
13314            ],
13315        },
13316        android_arm64: {
13317            cflags: [
13318                "-D_FORTIFY_SOURCE=2",
13319                "-O2",
13320                "-mno-outline",
13321            ],
13322        },
13323        android_x86: {
13324            cflags: [
13325                "-D_FORTIFY_SOURCE=2",
13326                "-msse3",
13327            ],
13328        },
13329        android_x86_64: {
13330            cflags: [
13331                "-D_FORTIFY_SOURCE=2",
13332                "-msse3",
13333            ],
13334        },
13335    },
13336}
13337
13338// GN: //components/cronet/android:cronet_stats_log_java
13339java_library {
13340    name: "cronet_aml_components_cronet_android_cronet_stats_log_java",
13341    srcs: [
13342        "components/cronet/android/java/src/org/chromium/net/telemetry/CronetStatsLog.java",
13343    ],
13344    defaults: [
13345        "cronet_aml_java_framework_defaults",
13346    ],
13347    apex_available: [
13348        "com.android.tethering",
13349    ],
13350    min_sdk_version: "30",
13351    libs: [
13352        "androidx.annotation_annotation",
13353    ],
13354    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
13355}
13356
13357// GN: //components/cronet/android:cronet_stats_log_java__testing
13358java_library {
13359    name: "cronet_aml_components_cronet_android_cronet_stats_log_java__testing",
13360    srcs: [
13361        "components/cronet/android/java/src/org/chromium/net/telemetry/CronetStatsLog.java",
13362    ],
13363    apex_available: [
13364        "com.android.tethering",
13365    ],
13366    min_sdk_version: "30",
13367    libs: [
13368        "androidx.annotation_annotation",
13369    ],
13370    sdk_version: "system_current",
13371    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
13372}
13373
13374// GN: //components/cronet/android:cronet_test_apk_java__testing
13375java_library {
13376    name: "cronet_aml_components_cronet_android_cronet_test_apk_java__testing",
13377    srcs: [
13378        ":cronet_aml_components_cronet_android_cronet_test_apk_jni__action__testing__java",
13379        "components/cronet/android/test/src/org/chromium/net/CronetTestApplication.java",
13380        "components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java",
13381        "components/cronet/android/test/src/org/chromium/net/Http2TestHandler.java",
13382        "components/cronet/android/test/src/org/chromium/net/Http2TestServer.java",
13383        "components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java",
13384        "components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java",
13385        "components/cronet/android/test/src/org/chromium/net/NativeTestServer.java",
13386        "components/cronet/android/test/src/org/chromium/net/QuicTestServer.java",
13387        "components/cronet/android/test/src/org/chromium/net/ReportingCollector.java",
13388        "components/cronet/android/test/src/org/chromium/net/TestFilesInstaller.java",
13389        "components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java",
13390        "components/cronet/android/test/src/org/chromium/net/truth/UrlResponseInfoSubject.java",
13391    ],
13392    static_libs: [
13393        "cronet_aml_base_base_java__testing",
13394        "cronet_aml_base_base_java_test_support__testing",
13395        "cronet_aml_build_android_build_java__testing",
13396        "cronet_aml_components_cronet_android_cronet_all_java__testing",
13397        "cronet_aml_net_android_net_java_test_support__testing",
13398        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
13399        "cronet_aml_third_party_netty4_netty_all_java__testing",
13400        "junit",
13401        "truth",
13402    ],
13403    apex_available: [
13404        "com.android.tethering",
13405    ],
13406    min_sdk_version: "30",
13407    libs: [
13408        "androidx.annotation_annotation",
13409    ],
13410    sdk_version: "system_current",
13411    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
13412}
13413
13414// GN: //components/cronet/android:cronet_test_apk_jni__action__testing
13415cc_genrule {
13416    name: "cronet_aml_components_cronet_android_cronet_test_apk_jni__action__testing",
13417    srcs: [
13418        "components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java",
13419        "components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java",
13420        "components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java",
13421        "components/cronet/android/test/src/org/chromium/net/NativeTestServer.java",
13422        "components/cronet/android/test/src/org/chromium/net/QuicTestServer.java",
13423        "components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java",
13424    ],
13425    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
13426         "mkdir -p $(genDir)/jni_headers/components/cronet/android/cronet_test_apk_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
13427         "--output-dir " +
13428         "$(genDir)/components/cronet/android/cronet_test_apk_jni " +
13429         "--extra-include " +
13430         "third_party/jni_zero/jni_zero_internal.h " +
13431         "--srcjar-path " +
13432         "$(genDir)/components/cronet/android/cronet_test_apk_jni.srcjar " +
13433         "--placeholder-srcjar-path " +
13434         "$(genDir)/components/cronet/android/cronet_test_apk_jni_placeholder.srcjar " +
13435         "--use-proxy-hash " +
13436         "--output-name " +
13437         "CronetTestUtil_jni.h " +
13438         "--output-name " +
13439         "MockCertVerifier_jni.h " +
13440         "--output-name " +
13441         "MockUrlRequestJobFactory_jni.h " +
13442         "--output-name " +
13443         "NativeTestServer_jni.h " +
13444         "--output-name " +
13445         "QuicTestServer_jni.h " +
13446         "--output-name " +
13447         "TestUploadDataStreamHandler_jni.h " +
13448         "--input-file " +
13449         "$(location components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java) " +
13450         "--input-file " +
13451         "$(location components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java) " +
13452         "--input-file " +
13453         "$(location components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java) " +
13454         "--input-file " +
13455         "$(location components/cronet/android/test/src/org/chromium/net/NativeTestServer.java) " +
13456         "--input-file " +
13457         "$(location components/cronet/android/test/src/org/chromium/net/QuicTestServer.java) " +
13458         "--input-file " +
13459         "$(location components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java)",
13460    out: [
13461        "components/cronet/android/cronet_test_apk_jni.srcjar",
13462        "components/cronet/android/cronet_test_apk_jni/CronetTestUtil_jni.h",
13463        "components/cronet/android/cronet_test_apk_jni/MockCertVerifier_jni.h",
13464        "components/cronet/android/cronet_test_apk_jni/MockUrlRequestJobFactory_jni.h",
13465        "components/cronet/android/cronet_test_apk_jni/NativeTestServer_jni.h",
13466        "components/cronet/android/cronet_test_apk_jni/QuicTestServer_jni.h",
13467        "components/cronet/android/cronet_test_apk_jni/TestUploadDataStreamHandler_jni.h",
13468    ],
13469    tool_files: [
13470        "third_party/jni_zero/codegen/called_by_native_header.py",
13471        "third_party/jni_zero/codegen/convert_type.py",
13472        "third_party/jni_zero/codegen/header_common.py",
13473        "third_party/jni_zero/codegen/natives_header.py",
13474        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
13475        "third_party/jni_zero/codegen/placeholder_java_type.py",
13476        "third_party/jni_zero/codegen/proxy_impl_java.py",
13477        "third_party/jni_zero/common.py",
13478        "third_party/jni_zero/java_lang_classes.py",
13479        "third_party/jni_zero/java_types.py",
13480        "third_party/jni_zero/jni_generator.py",
13481        "third_party/jni_zero/jni_registration_generator.py",
13482        "third_party/jni_zero/jni_zero.py",
13483        "third_party/jni_zero/parse.py",
13484        "third_party/jni_zero/proxy.py",
13485    ],
13486    apex_available: [
13487        "com.android.tethering",
13488    ],
13489}
13490
13491// GN: //components/cronet/android:cronet_test_apk_jni__action__testing
13492java_genrule {
13493    name: "cronet_aml_components_cronet_android_cronet_test_apk_jni__action__testing__java",
13494    srcs: [
13495        "components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java",
13496        "components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java",
13497        "components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java",
13498        "components/cronet/android/test/src/org/chromium/net/NativeTestServer.java",
13499        "components/cronet/android/test/src/org/chromium/net/QuicTestServer.java",
13500        "components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java",
13501    ],
13502    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
13503         "mkdir -p $(genDir)/jni_headers/components/cronet/android/cronet_test_apk_jni && $(location third_party/jni_zero/jni_zero.py) from-source " +
13504         "--output-dir " +
13505         "$(genDir)/components/cronet/android/cronet_test_apk_jni " +
13506         "--extra-include " +
13507         "third_party/jni_zero/jni_zero_internal.h " +
13508         "--srcjar-path " +
13509         "$(genDir)/components/cronet/android/cronet_test_apk_jni.srcjar " +
13510         "--placeholder-srcjar-path " +
13511         "$(genDir)/components/cronet/android/cronet_test_apk_jni_placeholder.srcjar " +
13512         "--use-proxy-hash " +
13513         "--output-name " +
13514         "CronetTestUtil_jni.h " +
13515         "--output-name " +
13516         "MockCertVerifier_jni.h " +
13517         "--output-name " +
13518         "MockUrlRequestJobFactory_jni.h " +
13519         "--output-name " +
13520         "NativeTestServer_jni.h " +
13521         "--output-name " +
13522         "QuicTestServer_jni.h " +
13523         "--output-name " +
13524         "TestUploadDataStreamHandler_jni.h " +
13525         "--input-file " +
13526         "$(location components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java) " +
13527         "--input-file " +
13528         "$(location components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java) " +
13529         "--input-file " +
13530         "$(location components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java) " +
13531         "--input-file " +
13532         "$(location components/cronet/android/test/src/org/chromium/net/NativeTestServer.java) " +
13533         "--input-file " +
13534         "$(location components/cronet/android/test/src/org/chromium/net/QuicTestServer.java) " +
13535         "--input-file " +
13536         "$(location components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java)",
13537    out: [
13538        "components/cronet/android/cronet_test_apk_jni.srcjar",
13539        "components/cronet/android/cronet_test_apk_jni/CronetTestUtil_jni.h",
13540        "components/cronet/android/cronet_test_apk_jni/MockCertVerifier_jni.h",
13541        "components/cronet/android/cronet_test_apk_jni/MockUrlRequestJobFactory_jni.h",
13542        "components/cronet/android/cronet_test_apk_jni/NativeTestServer_jni.h",
13543        "components/cronet/android/cronet_test_apk_jni/QuicTestServer_jni.h",
13544        "components/cronet/android/cronet_test_apk_jni/TestUploadDataStreamHandler_jni.h",
13545    ],
13546    tool_files: [
13547        "third_party/jni_zero/codegen/called_by_native_header.py",
13548        "third_party/jni_zero/codegen/convert_type.py",
13549        "third_party/jni_zero/codegen/header_common.py",
13550        "third_party/jni_zero/codegen/natives_header.py",
13551        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
13552        "third_party/jni_zero/codegen/placeholder_java_type.py",
13553        "third_party/jni_zero/codegen/proxy_impl_java.py",
13554        "third_party/jni_zero/common.py",
13555        "third_party/jni_zero/java_lang_classes.py",
13556        "third_party/jni_zero/java_types.py",
13557        "third_party/jni_zero/jni_generator.py",
13558        "third_party/jni_zero/jni_registration_generator.py",
13559        "third_party/jni_zero/jni_zero.py",
13560        "third_party/jni_zero/parse.py",
13561        "third_party/jni_zero/proxy.py",
13562    ],
13563}
13564
13565// GN: //components/cronet/android:cronet_tests__testing
13566cc_library_shared {
13567    name: "cronet_aml_components_cronet_android_cronet_tests__testing",
13568    srcs: [
13569        "components/cronet/android/test/cronet_test_jni.cc",
13570        "components/cronet/android/test/cronet_test_util.cc",
13571        "components/cronet/android/test/cronet_url_request_context_config_test.cc",
13572        "components/cronet/android/test/cronet_url_request_test.cc",
13573        "components/cronet/android/test/experimental_options_test.cc",
13574        "components/cronet/android/test/mock_cert_verifier.cc",
13575        "components/cronet/android/test/mock_url_request_job_factory.cc",
13576        "components/cronet/android/test/native_test_server.cc",
13577        "components/cronet/android/test/quic_test_server.cc",
13578        "components/cronet/android/test/test_upload_data_stream_handler.cc",
13579        "components/cronet/android/test/url_request_intercepting_job_factory.cc",
13580    ],
13581    shared_libs: [
13582        "libandroid",
13583        "liblog",
13584        "libz",
13585    ],
13586    whole_static_libs: [
13587        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base__testing",
13588        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core__testing",
13589        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim__testing",
13590        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr__testing",
13591        "cronet_aml_base_base__testing",
13592        "cronet_aml_base_base_static__testing",
13593        "cronet_aml_base_check_version_internal__testing",
13594        "cronet_aml_base_i18n__testing",
13595        "cronet_aml_base_nodebug_assertion__testing",
13596        "cronet_aml_base_test_proto_test_support__testing",
13597        "cronet_aml_base_test_test_config__testing",
13598        "cronet_aml_base_test_test_support__testing",
13599        "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
13600        "cronet_aml_buildtools_third_party_libc___libc____testing",
13601        "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
13602        "cronet_aml_components_cronet_cronet_common__testing",
13603        "cronet_aml_components_cronet_cronet_version_header__testing",
13604        "cronet_aml_components_cronet_testing_test_support__testing",
13605        "cronet_aml_components_metrics_library_support__testing",
13606        "cronet_aml_components_miracle_parameter_common_common__testing",
13607        "cronet_aml_components_prefs_prefs__testing",
13608        "cronet_aml_crypto_crypto__testing",
13609        "cronet_aml_net_constants__testing",
13610        "cronet_aml_net_dns_dns__testing",
13611        "cronet_aml_net_dns_dns_client__testing",
13612        "cronet_aml_net_dns_host_resolver__testing",
13613        "cronet_aml_net_dns_host_resolver_manager__testing",
13614        "cronet_aml_net_dns_mdns_client__testing",
13615        "cronet_aml_net_dns_public_public__testing",
13616        "cronet_aml_net_dns_test_support__testing",
13617        "cronet_aml_net_gtest_util__testing",
13618        "cronet_aml_net_http_transport_security_state_generated_files__testing",
13619        "cronet_aml_net_isolation_info_proto__testing",
13620        "cronet_aml_net_net__testing",
13621        "cronet_aml_net_net_deps__testing",
13622        "cronet_aml_net_net_nqe_proto__testing",
13623        "cronet_aml_net_net_public_deps__testing",
13624        "cronet_aml_net_preload_decoder__testing",
13625        "cronet_aml_net_quic_test_flags_utils__testing",
13626        "cronet_aml_net_simple_quic_tools__testing",
13627        "cronet_aml_net_test_support__testing",
13628        "cronet_aml_net_third_party_quiche_net_quic_proto__testing",
13629        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing",
13630        "cronet_aml_net_third_party_quiche_quiche__testing",
13631        "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
13632        "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing",
13633        "cronet_aml_net_traffic_annotation_test_support__testing",
13634        "cronet_aml_net_traffic_annotation_traffic_annotation__testing",
13635        "cronet_aml_net_uri_template__testing",
13636        "cronet_aml_testing_gmock_gmock__testing",
13637        "cronet_aml_testing_gtest_gtest__testing",
13638        "cronet_aml_third_party_abseil_cpp_absl__testing",
13639        "cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
13640        "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
13641        "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
13642        "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
13643        "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
13644        "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
13645        "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
13646        "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
13647        "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
13648        "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing",
13649        "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing",
13650        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing",
13651        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing",
13652        "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
13653        "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
13654        "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
13655        "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
13656        "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
13657        "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
13658        "cronet_aml_third_party_abseil_cpp_absl_flags_commandlineflag__testing",
13659        "cronet_aml_third_party_abseil_cpp_absl_flags_commandlineflag_internal__testing",
13660        "cronet_aml_third_party_abseil_cpp_absl_flags_config__testing",
13661        "cronet_aml_third_party_abseil_cpp_absl_flags_flag_internal__testing",
13662        "cronet_aml_third_party_abseil_cpp_absl_flags_marshalling__testing",
13663        "cronet_aml_third_party_abseil_cpp_absl_flags_parse__testing",
13664        "cronet_aml_third_party_abseil_cpp_absl_flags_private_handle_accessor__testing",
13665        "cronet_aml_third_party_abseil_cpp_absl_flags_program_name__testing",
13666        "cronet_aml_third_party_abseil_cpp_absl_flags_reflection__testing",
13667        "cronet_aml_third_party_abseil_cpp_absl_flags_usage__testing",
13668        "cronet_aml_third_party_abseil_cpp_absl_flags_usage_internal__testing",
13669        "cronet_aml_third_party_abseil_cpp_absl_full__testing",
13670        "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
13671        "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
13672        "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
13673        "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing",
13674        "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing",
13675        "cronet_aml_third_party_abseil_cpp_absl_log_initialize__testing",
13676        "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing",
13677        "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing",
13678        "cronet_aml_third_party_abseil_cpp_absl_log_internal_fnmatch__testing",
13679        "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing",
13680        "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing",
13681        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing",
13682        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing",
13683        "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing",
13684        "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing",
13685        "cronet_aml_third_party_abseil_cpp_absl_log_internal_vlog_config__testing",
13686        "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing",
13687        "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing",
13688        "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
13689        "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
13690        "cronet_aml_third_party_abseil_cpp_absl_random_bit_gen_ref__testing",
13691        "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
13692        "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base__testing",
13693        "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
13694        "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
13695        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
13696        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine__testing",
13697        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
13698        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
13699        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
13700        "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
13701        "cronet_aml_third_party_abseil_cpp_absl_random_random__testing",
13702        "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
13703        "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
13704        "cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
13705        "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
13706        "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
13707        "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
13708        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
13709        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
13710        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
13711        "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
13712        "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
13713        "cronet_aml_third_party_abseil_cpp_absl_strings_string_view__testing",
13714        "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
13715        "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
13716        "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing",
13717        "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
13718        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
13719        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
13720        "cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
13721        "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
13722        "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
13723        "cronet_aml_third_party_ashmem_ashmem__testing",
13724        "cronet_aml_third_party_boringssl_boringssl__testing",
13725        "cronet_aml_third_party_boringssl_boringssl_asm__testing",
13726        "cronet_aml_third_party_brotli_common__testing",
13727        "cronet_aml_third_party_brotli_dec__testing",
13728        "cronet_aml_third_party_ced_ced__testing",
13729        "cronet_aml_third_party_cpu_features_cpuinfo__testing",
13730        "cronet_aml_third_party_cpu_features_ndk_compat__testing",
13731        "cronet_aml_third_party_google_benchmark_google_benchmark__testing",
13732        "cronet_aml_third_party_googletest_gmock__testing",
13733        "cronet_aml_third_party_googletest_gtest__testing",
13734        "cronet_aml_third_party_icu_icui18n__testing",
13735        "cronet_aml_third_party_icu_icuuc_private__testing",
13736        "cronet_aml_third_party_jni_zero_jni_zero__testing",
13737        "cronet_aml_third_party_libevent_libevent__testing",
13738        "cronet_aml_third_party_libxml_libxml__testing",
13739        "cronet_aml_third_party_libxml_libxml_utils__testing",
13740        "cronet_aml_third_party_libxml_xml_reader__testing",
13741        "cronet_aml_third_party_metrics_proto_metrics_proto__testing",
13742        "cronet_aml_third_party_modp_b64_modp_b64__testing",
13743        "cronet_aml_third_party_protobuf_protobuf_full__testing",
13744        "cronet_aml_third_party_protobuf_protobuf_lite__testing",
13745        "cronet_aml_third_party_quic_trace_quic_trace_proto__testing",
13746        "cronet_aml_third_party_re2_re2__testing",
13747        "cronet_aml_url_url__testing",
13748    ],
13749    generated_headers: [
13750        "cronet_aml_components_cronet_android_cronet_test_apk_jni__action__testing",
13751        "cronet_aml_components_cronet_android_cronet_tests_jni_headers__action__testing",
13752    ],
13753    defaults: [
13754        "cronet_aml_cc_defaults",
13755    ],
13756    cflags: [
13757        "-DANDROID",
13758        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
13759        "-DBENCHMARK_STATIC_DEFINE",
13760        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
13761        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
13762        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
13763        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13764        "-DGOOGLE_PROTOBUF_NO_RTTI",
13765        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13766        "-DGTEST_API_=",
13767        "-DGTEST_HAS_ABSL",
13768        "-DGTEST_HAS_POSIX_RE=0",
13769        "-DGTEST_HAS_TR1_TUPLE=0",
13770        "-DGTEST_LANG_CXX11=1",
13771        "-DGTEST_NO_ABSL_FLAGS",
13772        "-DHAVE_PTHREAD",
13773        "-DHAVE_SYS_UIO_H",
13774        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
13775        "-DNDEBUG",
13776        "-DNO_UNWIND_TABLES",
13777        "-DNVALGRIND",
13778        "-DOFFICIAL_BUILD",
13779        "-DUNIT_TEST",
13780        "-DUSE_CHROMIUM_ICU=1",
13781        "-DUSE_REMOTE_TEST_SERVER",
13782        "-DU_ENABLE_DYLOAD=0",
13783        "-DU_ENABLE_RESOURCE_TRACING=0",
13784        "-DU_ENABLE_TRACING=1",
13785        "-DU_STATIC_IMPLEMENTATION",
13786        "-DU_USING_ICU_NAMESPACE=0",
13787        "-D_GNU_SOURCE",
13788        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13789        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
13790        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13791        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
13792        "-D__STDC_CONSTANT_MACROS",
13793        "-D__STDC_FORMAT_MACROS",
13794        "-fdata-sections",
13795        "-ffunction-sections",
13796        "-fno-asynchronous-unwind-tables",
13797        "-fno-unwind-tables",
13798        "-fstack-protector",
13799        "-fvisibility-inlines-hidden",
13800        "-fvisibility=hidden",
13801        "-g1",
13802    ],
13803    local_include_dirs: [
13804        "./",
13805        "base/allocator/partition_allocator/src/",
13806        "buildtools/third_party/libc++/",
13807        "net/third_party/quiche/overrides/",
13808        "net/third_party/quiche/src/",
13809        "net/third_party/quiche/src/quiche/common/platform/default/",
13810        "third_party/abseil-cpp/",
13811        "third_party/boringssl/src/include/",
13812        "third_party/ced/src/",
13813        "third_party/google_benchmark/src/include/",
13814        "third_party/googletest/custom/",
13815        "third_party/googletest/src/googlemock/include/",
13816        "third_party/googletest/src/googletest/include/",
13817        "third_party/icu/source/common/",
13818        "third_party/icu/source/i18n/",
13819        "third_party/libc++/src/include",
13820        "third_party/libc++abi/src/include",
13821        "third_party/protobuf/src/",
13822        "third_party/re2/src/",
13823    ],
13824    cpp_std: "c++20",
13825    ldflags: [
13826        "-Wl,--as-needed",
13827        "-Wl,--gc-sections",
13828        "-Wl,--icf=all",
13829        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
13830        "-Wl,-wrap,asprintf",
13831        "-Wl,-wrap,calloc",
13832        "-Wl,-wrap,free",
13833        "-Wl,-wrap,getcwd",
13834        "-Wl,-wrap,malloc",
13835        "-Wl,-wrap,malloc_usable_size",
13836        "-Wl,-wrap,memalign",
13837        "-Wl,-wrap,posix_memalign",
13838        "-Wl,-wrap,pvalloc",
13839        "-Wl,-wrap,realloc",
13840        "-Wl,-wrap,realpath",
13841        "-Wl,-wrap,strdup",
13842        "-Wl,-wrap,strndup",
13843        "-Wl,-wrap,valloc",
13844        "-Wl,-wrap,vasprintf",
13845    ],
13846    stem: "libcronet_tests",
13847    visibility: [
13848        "//external/cronet:__subpackages__",
13849        "//packages/modules/Connectivity:__subpackages__",
13850    ],
13851    target: {
13852        android_arm: {
13853            cflags: [
13854                "-D_FORTIFY_SOURCE=2",
13855            ],
13856        },
13857        android_arm64: {
13858            cflags: [
13859                "-D_FORTIFY_SOURCE=2",
13860                "-O2",
13861                "-mno-outline",
13862            ],
13863        },
13864        android_x86: {
13865            cflags: [
13866                "-D_FORTIFY_SOURCE=2",
13867                "-msse3",
13868            ],
13869        },
13870        android_x86_64: {
13871            cflags: [
13872                "-D_FORTIFY_SOURCE=2",
13873                "-msse3",
13874            ],
13875        },
13876    },
13877}
13878
13879// GN: //components/cronet/android:cronet_tests_jni_headers__action__testing
13880cc_genrule {
13881    name: "cronet_aml_components_cronet_android_cronet_tests_jni_headers__action__testing",
13882    srcs: [
13883        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java",
13884        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java",
13885        "components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java",
13886    ],
13887    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
13888         "mkdir -p $(genDir)/jni_headers/components/cronet/android/cronet_tests_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
13889         "--output-dir " +
13890         "$(genDir)/components/cronet/android/cronet_tests_jni_headers " +
13891         "--extra-include " +
13892         "third_party/jni_zero/jni_zero_internal.h " +
13893         "--srcjar-path " +
13894         "$(genDir)/components/cronet/android/cronet_tests_jni_headers.srcjar " +
13895         "--placeholder-srcjar-path " +
13896         "$(genDir)/components/cronet/android/cronet_tests_jni_headers_placeholder.srcjar " +
13897         "--use-proxy-hash " +
13898         "--output-name " +
13899         "CronetUrlRequestContextTest_jni.h " +
13900         "--output-name " +
13901         "CronetUrlRequestTest_jni.h " +
13902         "--output-name " +
13903         "ExperimentalOptionsTest_jni.h " +
13904         "--input-file " +
13905         "$(location components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java) " +
13906         "--input-file " +
13907         "$(location components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java) " +
13908         "--input-file " +
13909         "$(location components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java)",
13910    out: [
13911        "components/cronet/android/cronet_tests_jni_headers.srcjar",
13912        "components/cronet/android/cronet_tests_jni_headers/CronetUrlRequestContextTest_jni.h",
13913        "components/cronet/android/cronet_tests_jni_headers/CronetUrlRequestTest_jni.h",
13914        "components/cronet/android/cronet_tests_jni_headers/ExperimentalOptionsTest_jni.h",
13915    ],
13916    tool_files: [
13917        "third_party/jni_zero/codegen/called_by_native_header.py",
13918        "third_party/jni_zero/codegen/convert_type.py",
13919        "third_party/jni_zero/codegen/header_common.py",
13920        "third_party/jni_zero/codegen/natives_header.py",
13921        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
13922        "third_party/jni_zero/codegen/placeholder_java_type.py",
13923        "third_party/jni_zero/codegen/proxy_impl_java.py",
13924        "third_party/jni_zero/common.py",
13925        "third_party/jni_zero/java_lang_classes.py",
13926        "third_party/jni_zero/java_types.py",
13927        "third_party/jni_zero/jni_generator.py",
13928        "third_party/jni_zero/jni_registration_generator.py",
13929        "third_party/jni_zero/jni_zero.py",
13930        "third_party/jni_zero/parse.py",
13931        "third_party/jni_zero/proxy.py",
13932    ],
13933    apex_available: [
13934        "com.android.tethering",
13935    ],
13936}
13937
13938// GN: //components/cronet/android:cronet_tests_jni_headers__action__testing
13939java_genrule {
13940    name: "cronet_aml_components_cronet_android_cronet_tests_jni_headers__action__testing__java",
13941    srcs: [
13942        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java",
13943        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java",
13944        "components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java",
13945    ],
13946    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
13947         "mkdir -p $(genDir)/jni_headers/components/cronet/android/cronet_tests_jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
13948         "--output-dir " +
13949         "$(genDir)/components/cronet/android/cronet_tests_jni_headers " +
13950         "--extra-include " +
13951         "third_party/jni_zero/jni_zero_internal.h " +
13952         "--srcjar-path " +
13953         "$(genDir)/components/cronet/android/cronet_tests_jni_headers.srcjar " +
13954         "--placeholder-srcjar-path " +
13955         "$(genDir)/components/cronet/android/cronet_tests_jni_headers_placeholder.srcjar " +
13956         "--use-proxy-hash " +
13957         "--output-name " +
13958         "CronetUrlRequestContextTest_jni.h " +
13959         "--output-name " +
13960         "CronetUrlRequestTest_jni.h " +
13961         "--output-name " +
13962         "ExperimentalOptionsTest_jni.h " +
13963         "--input-file " +
13964         "$(location components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java) " +
13965         "--input-file " +
13966         "$(location components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java) " +
13967         "--input-file " +
13968         "$(location components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java)",
13969    out: [
13970        "components/cronet/android/cronet_tests_jni_headers.srcjar",
13971        "components/cronet/android/cronet_tests_jni_headers/CronetUrlRequestContextTest_jni.h",
13972        "components/cronet/android/cronet_tests_jni_headers/CronetUrlRequestTest_jni.h",
13973        "components/cronet/android/cronet_tests_jni_headers/ExperimentalOptionsTest_jni.h",
13974    ],
13975    tool_files: [
13976        "third_party/jni_zero/codegen/called_by_native_header.py",
13977        "third_party/jni_zero/codegen/convert_type.py",
13978        "third_party/jni_zero/codegen/header_common.py",
13979        "third_party/jni_zero/codegen/natives_header.py",
13980        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
13981        "third_party/jni_zero/codegen/placeholder_java_type.py",
13982        "third_party/jni_zero/codegen/proxy_impl_java.py",
13983        "third_party/jni_zero/common.py",
13984        "third_party/jni_zero/java_lang_classes.py",
13985        "third_party/jni_zero/java_types.py",
13986        "third_party/jni_zero/jni_generator.py",
13987        "third_party/jni_zero/jni_registration_generator.py",
13988        "third_party/jni_zero/jni_zero.py",
13989        "third_party/jni_zero/parse.py",
13990        "third_party/jni_zero/proxy.py",
13991    ],
13992}
13993
13994// GN: //components/cronet/android:cronet_tests_jni_registration__testing
13995java_genrule {
13996    name: "cronet_aml_components_cronet_android_cronet_tests_jni_registration__testing__java",
13997    srcs: [
13998        "base/android/java/src/org/chromium/base/ApkAssets.java",
13999        "base/android/java/src/org/chromium/base/ApplicationStatus.java",
14000        "base/android/java/src/org/chromium/base/BuildInfo.java",
14001        "base/android/java/src/org/chromium/base/BundleUtils.java",
14002        "base/android/java/src/org/chromium/base/Callback.java",
14003        "base/android/java/src/org/chromium/base/CommandLine.java",
14004        "base/android/java/src/org/chromium/base/ContentUriUtils.java",
14005        "base/android/java/src/org/chromium/base/CpuFeatures.java",
14006        "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
14007        "base/android/java/src/org/chromium/base/EventLog.java",
14008        "base/android/java/src/org/chromium/base/FeatureList.java",
14009        "base/android/java/src/org/chromium/base/FeatureMap.java",
14010        "base/android/java/src/org/chromium/base/Features.java",
14011        "base/android/java/src/org/chromium/base/FieldTrialList.java",
14012        "base/android/java/src/org/chromium/base/FileUtils.java",
14013        "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
14014        "base/android/java/src/org/chromium/base/InputHintChecker.java",
14015        "base/android/java/src/org/chromium/base/IntStringCallback.java",
14016        "base/android/java/src/org/chromium/base/JNIUtils.java",
14017        "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
14018        "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
14019        "base/android/java/src/org/chromium/base/JniAndroid.java",
14020        "base/android/java/src/org/chromium/base/LocaleUtils.java",
14021        "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
14022        "base/android/java/src/org/chromium/base/PathService.java",
14023        "base/android/java/src/org/chromium/base/PathUtils.java",
14024        "base/android/java/src/org/chromium/base/PowerMonitor.java",
14025        "base/android/java/src/org/chromium/base/RadioUtils.java",
14026        "base/android/java/src/org/chromium/base/SysUtils.java",
14027        "base/android/java/src/org/chromium/base/ThreadUtils.java",
14028        "base/android/java/src/org/chromium/base/TimezoneUtils.java",
14029        "base/android/java/src/org/chromium/base/Token.java",
14030        "base/android/java/src/org/chromium/base/TraceEvent.java",
14031        "base/android/java/src/org/chromium/base/UnguessableToken.java",
14032        "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
14033        "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
14034        "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
14035        "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
14036        "base/android/java/src/org/chromium/base/memory/MemoryInfoBridge.java",
14037        "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
14038        "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
14039        "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
14040        "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
14041        "base/android/java/src/org/chromium/base/shared_preferences/SharedPreferencesManager.java",
14042        "base/android/java/src/org/chromium/base/task/PostTask.java",
14043        "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
14044        "base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java",
14045        "base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java",
14046        "base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java",
14047        "base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java",
14048        "base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java",
14049        "base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java",
14050        "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
14051        "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
14052        "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
14053        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
14054        "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
14055        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestContextTest.java",
14056        "components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java",
14057        "components/cronet/android/test/javatests/src/org/chromium/net/ExperimentalOptionsTest.java",
14058        "components/cronet/android/test/src/org/chromium/net/CronetTestUtil.java",
14059        "components/cronet/android/test/src/org/chromium/net/MockCertVerifier.java",
14060        "components/cronet/android/test/src/org/chromium/net/MockUrlRequestJobFactory.java",
14061        "components/cronet/android/test/src/org/chromium/net/NativeTestServer.java",
14062        "components/cronet/android/test/src/org/chromium/net/QuicTestServer.java",
14063        "components/cronet/android/test/src/org/chromium/net/TestUploadDataStreamHandler.java",
14064        "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
14065        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
14066        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
14067        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
14068        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
14069        "net/android/java/src/org/chromium/net/DnsStatus.java",
14070        "net/android/java/src/org/chromium/net/GURLUtils.java",
14071        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
14072        "net/android/java/src/org/chromium/net/HttpUtil.java",
14073        "net/android/java/src/org/chromium/net/NetStringUtil.java",
14074        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
14075        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
14076        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
14077        "net/android/java/src/org/chromium/net/X509Util.java",
14078        "net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java",
14079        "net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java",
14080        "net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java",
14081        "net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java",
14082        "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java",
14083        "testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java",
14084        "testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java",
14085        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
14086    ],
14087    cmd: "mkdir -p $(genDir)/components/cronet/android &&  " +
14088         "mkdir -p $(genDir)/jni_headers/components/cronet/android && current_dir=`basename \\`pwd\\``; " +
14089         "for f in $(in); " +
14090         "do " +
14091         "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
14092         "done; " +
14093         "python3 $(location third_party/jni_zero/jni_zero.py) generate-final " +
14094         "--srcjar-path " +
14095         "$(genDir)/components/cronet/android/cronet_tests_jni_registration.srcjar " +
14096         "--java-sources-file " +
14097         "$(genDir)/java.sources " +
14098         "--include-test-only " +
14099         "--use-proxy-hash " +
14100         "--manual-jni-registration " +
14101         "--header-path " +
14102         "$(genDir)/components/cronet/android/cronet_tests_jni_registration_generated.h " +
14103         "--module-name " +
14104         "cronet_tests",
14105    out: [
14106        "components/cronet/android/cronet_tests_jni_registration.srcjar",
14107    ],
14108    tool_files: [
14109        "third_party/jni_zero/codegen/called_by_native_header.py",
14110        "third_party/jni_zero/codegen/convert_type.py",
14111        "third_party/jni_zero/codegen/header_common.py",
14112        "third_party/jni_zero/codegen/natives_header.py",
14113        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
14114        "third_party/jni_zero/codegen/placeholder_java_type.py",
14115        "third_party/jni_zero/codegen/proxy_impl_java.py",
14116        "third_party/jni_zero/common.py",
14117        "third_party/jni_zero/java_lang_classes.py",
14118        "third_party/jni_zero/java_types.py",
14119        "third_party/jni_zero/jni_generator.py",
14120        "third_party/jni_zero/jni_registration_generator.py",
14121        "third_party/jni_zero/jni_zero.py",
14122        "third_party/jni_zero/parse.py",
14123        "third_party/jni_zero/proxy.py",
14124    ],
14125}
14126
14127// GN: //components/cronet/android:cronet_tests_jni_registration_java__testing
14128java_library {
14129    name: "cronet_aml_components_cronet_android_cronet_tests_jni_registration_java__testing",
14130    srcs: [
14131        ":cronet_aml_components_cronet_android_cronet_tests_jni_registration__testing__java",
14132    ],
14133    apex_available: [
14134        "com.android.tethering",
14135    ],
14136    min_sdk_version: "30",
14137    sdk_version: "current",
14138    visibility: [
14139        "//external/cronet:__subpackages__",
14140        "//packages/modules/Connectivity:__subpackages__",
14141    ],
14142}
14143
14144// GN: //components/cronet/android:cronet_unittests_android__library__testing
14145cc_library_shared {
14146    name: "cronet_aml_components_cronet_android_cronet_unittests_android__library__testing",
14147    srcs: [
14148        "components/cronet/run_all_unittests.cc",
14149    ],
14150    shared_libs: [
14151        "libandroid",
14152        "liblog",
14153        "libz",
14154    ],
14155    whole_static_libs: [
14156        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base__testing",
14157        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core__testing",
14158        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim__testing",
14159        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr__testing",
14160        "cronet_aml_base_base__testing",
14161        "cronet_aml_base_base_static__testing",
14162        "cronet_aml_base_check_version_internal__testing",
14163        "cronet_aml_base_i18n__testing",
14164        "cronet_aml_base_nodebug_assertion__testing",
14165        "cronet_aml_base_test_proto_test_support__testing",
14166        "cronet_aml_base_test_test_config__testing",
14167        "cronet_aml_base_test_test_support__testing",
14168        "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14169        "cronet_aml_buildtools_third_party_libc___libc____testing",
14170        "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
14171        "cronet_aml_components_cronet_android_base_feature_overrides_proto__testing",
14172        "cronet_aml_components_cronet_android_cronet_base_feature__testing",
14173        "cronet_aml_components_cronet_android_cronet_base_feature_unittest__testing",
14174        "cronet_aml_components_cronet_android_cronet_static__testing",
14175        "cronet_aml_components_cronet_android_request_context_config_proto__testing",
14176        "cronet_aml_components_cronet_cronet_common__testing",
14177        "cronet_aml_components_cronet_cronet_common_unittests__testing",
14178        "cronet_aml_components_cronet_cronet_version_header__testing",
14179        "cronet_aml_components_cronet_metrics_util__testing",
14180        "cronet_aml_components_metrics_library_support__testing",
14181        "cronet_aml_components_miracle_parameter_common_common__testing",
14182        "cronet_aml_components_prefs_prefs__testing",
14183        "cronet_aml_components_prefs_test_support__testing",
14184        "cronet_aml_crypto_crypto__testing",
14185        "cronet_aml_net_constants__testing",
14186        "cronet_aml_net_dns_dns__testing",
14187        "cronet_aml_net_dns_dns_client__testing",
14188        "cronet_aml_net_dns_host_resolver__testing",
14189        "cronet_aml_net_dns_host_resolver_manager__testing",
14190        "cronet_aml_net_dns_mdns_client__testing",
14191        "cronet_aml_net_dns_public_public__testing",
14192        "cronet_aml_net_dns_test_support__testing",
14193        "cronet_aml_net_gtest_util__testing",
14194        "cronet_aml_net_http_transport_security_state_generated_files__testing",
14195        "cronet_aml_net_isolation_info_proto__testing",
14196        "cronet_aml_net_net__testing",
14197        "cronet_aml_net_net_deps__testing",
14198        "cronet_aml_net_net_nqe_proto__testing",
14199        "cronet_aml_net_net_public_deps__testing",
14200        "cronet_aml_net_preload_decoder__testing",
14201        "cronet_aml_net_quic_test_flags_utils__testing",
14202        "cronet_aml_net_simple_quic_tools__testing",
14203        "cronet_aml_net_test_support__testing",
14204        "cronet_aml_net_third_party_quiche_net_quic_proto__testing",
14205        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing",
14206        "cronet_aml_net_third_party_quiche_quiche__testing",
14207        "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
14208        "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing",
14209        "cronet_aml_net_traffic_annotation_test_support__testing",
14210        "cronet_aml_net_traffic_annotation_traffic_annotation__testing",
14211        "cronet_aml_net_uri_template__testing",
14212        "cronet_aml_testing_android_native_test_native_test_native_code__testing",
14213        "cronet_aml_testing_android_native_test_native_test_support__testing",
14214        "cronet_aml_testing_gmock_gmock__testing",
14215        "cronet_aml_testing_gtest_gtest__testing",
14216        "cronet_aml_third_party_abseil_cpp_absl__testing",
14217        "cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
14218        "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
14219        "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
14220        "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
14221        "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
14222        "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
14223        "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
14224        "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
14225        "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
14226        "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing",
14227        "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing",
14228        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing",
14229        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing",
14230        "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
14231        "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
14232        "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
14233        "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
14234        "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
14235        "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
14236        "cronet_aml_third_party_abseil_cpp_absl_flags_commandlineflag__testing",
14237        "cronet_aml_third_party_abseil_cpp_absl_flags_commandlineflag_internal__testing",
14238        "cronet_aml_third_party_abseil_cpp_absl_flags_config__testing",
14239        "cronet_aml_third_party_abseil_cpp_absl_flags_flag_internal__testing",
14240        "cronet_aml_third_party_abseil_cpp_absl_flags_marshalling__testing",
14241        "cronet_aml_third_party_abseil_cpp_absl_flags_parse__testing",
14242        "cronet_aml_third_party_abseil_cpp_absl_flags_private_handle_accessor__testing",
14243        "cronet_aml_third_party_abseil_cpp_absl_flags_program_name__testing",
14244        "cronet_aml_third_party_abseil_cpp_absl_flags_reflection__testing",
14245        "cronet_aml_third_party_abseil_cpp_absl_flags_usage__testing",
14246        "cronet_aml_third_party_abseil_cpp_absl_flags_usage_internal__testing",
14247        "cronet_aml_third_party_abseil_cpp_absl_full__testing",
14248        "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
14249        "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
14250        "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
14251        "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing",
14252        "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing",
14253        "cronet_aml_third_party_abseil_cpp_absl_log_initialize__testing",
14254        "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing",
14255        "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing",
14256        "cronet_aml_third_party_abseil_cpp_absl_log_internal_fnmatch__testing",
14257        "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing",
14258        "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing",
14259        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing",
14260        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing",
14261        "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing",
14262        "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing",
14263        "cronet_aml_third_party_abseil_cpp_absl_log_internal_vlog_config__testing",
14264        "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing",
14265        "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing",
14266        "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
14267        "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
14268        "cronet_aml_third_party_abseil_cpp_absl_random_bit_gen_ref__testing",
14269        "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
14270        "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base__testing",
14271        "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
14272        "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
14273        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
14274        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine__testing",
14275        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
14276        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
14277        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
14278        "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
14279        "cronet_aml_third_party_abseil_cpp_absl_random_random__testing",
14280        "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
14281        "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
14282        "cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
14283        "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
14284        "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
14285        "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
14286        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
14287        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
14288        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
14289        "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
14290        "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
14291        "cronet_aml_third_party_abseil_cpp_absl_strings_string_view__testing",
14292        "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
14293        "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
14294        "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing",
14295        "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
14296        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
14297        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
14298        "cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
14299        "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
14300        "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
14301        "cronet_aml_third_party_ashmem_ashmem__testing",
14302        "cronet_aml_third_party_boringssl_boringssl__testing",
14303        "cronet_aml_third_party_boringssl_boringssl_asm__testing",
14304        "cronet_aml_third_party_brotli_common__testing",
14305        "cronet_aml_third_party_brotli_dec__testing",
14306        "cronet_aml_third_party_ced_ced__testing",
14307        "cronet_aml_third_party_cpu_features_cpuinfo__testing",
14308        "cronet_aml_third_party_cpu_features_ndk_compat__testing",
14309        "cronet_aml_third_party_google_benchmark_google_benchmark__testing",
14310        "cronet_aml_third_party_googletest_gmock__testing",
14311        "cronet_aml_third_party_googletest_gtest__testing",
14312        "cronet_aml_third_party_icu_icui18n__testing",
14313        "cronet_aml_third_party_icu_icuuc_private__testing",
14314        "cronet_aml_third_party_jni_zero_jni_zero__testing",
14315        "cronet_aml_third_party_libevent_libevent__testing",
14316        "cronet_aml_third_party_libxml_libxml__testing",
14317        "cronet_aml_third_party_libxml_libxml_utils__testing",
14318        "cronet_aml_third_party_libxml_xml_reader__testing",
14319        "cronet_aml_third_party_metrics_proto_metrics_proto__testing",
14320        "cronet_aml_third_party_modp_b64_modp_b64__testing",
14321        "cronet_aml_third_party_protobuf_protobuf_full__testing",
14322        "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14323        "cronet_aml_third_party_quic_trace_quic_trace_proto__testing",
14324        "cronet_aml_third_party_re2_re2__testing",
14325        "cronet_aml_url_url__testing",
14326    ],
14327    defaults: [
14328        "cronet_aml_cc_defaults",
14329    ],
14330    cflags: [
14331        "-DANDROID",
14332        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
14333        "-DBENCHMARK_STATIC_DEFINE",
14334        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
14335        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
14336        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14337        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14338        "-DGOOGLE_PROTOBUF_NO_RTTI",
14339        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14340        "-DGTEST_API_=",
14341        "-DGTEST_HAS_ABSL",
14342        "-DGTEST_HAS_POSIX_RE=0",
14343        "-DGTEST_HAS_TR1_TUPLE=0",
14344        "-DGTEST_LANG_CXX11=1",
14345        "-DGTEST_NO_ABSL_FLAGS",
14346        "-DHAVE_PTHREAD",
14347        "-DHAVE_SYS_UIO_H",
14348        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
14349        "-DNDEBUG",
14350        "-DNO_UNWIND_TABLES",
14351        "-DNVALGRIND",
14352        "-DOFFICIAL_BUILD",
14353        "-DUNIT_TEST",
14354        "-DUSE_CHROMIUM_ICU=1",
14355        "-DUSE_REMOTE_TEST_SERVER",
14356        "-DU_ENABLE_DYLOAD=0",
14357        "-DU_ENABLE_RESOURCE_TRACING=0",
14358        "-DU_ENABLE_TRACING=1",
14359        "-DU_STATIC_IMPLEMENTATION",
14360        "-DU_USING_ICU_NAMESPACE=0",
14361        "-D_GNU_SOURCE",
14362        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14363        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
14364        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14365        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
14366        "-D__STDC_CONSTANT_MACROS",
14367        "-D__STDC_FORMAT_MACROS",
14368        "-fdata-sections",
14369        "-ffunction-sections",
14370        "-fno-asynchronous-unwind-tables",
14371        "-fno-unwind-tables",
14372        "-fstack-protector",
14373        "-fvisibility-inlines-hidden",
14374        "-fvisibility=hidden",
14375        "-g1",
14376    ],
14377    local_include_dirs: [
14378        "./",
14379        "base/allocator/partition_allocator/src/",
14380        "buildtools/third_party/libc++/",
14381        "net/third_party/quiche/overrides/",
14382        "net/third_party/quiche/src/",
14383        "net/third_party/quiche/src/quiche/common/platform/default/",
14384        "third_party/abseil-cpp/",
14385        "third_party/boringssl/src/include/",
14386        "third_party/ced/src/",
14387        "third_party/google_benchmark/src/include/",
14388        "third_party/googletest/custom/",
14389        "third_party/googletest/src/googlemock/include/",
14390        "third_party/googletest/src/googletest/include/",
14391        "third_party/icu/source/common/",
14392        "third_party/icu/source/i18n/",
14393        "third_party/libc++/src/include",
14394        "third_party/libc++abi/src/include",
14395        "third_party/protobuf/src/",
14396        "third_party/re2/src/",
14397    ],
14398    cpp_std: "c++20",
14399    ldflags: [
14400        "-Wl,--as-needed",
14401        "-Wl,--gc-sections",
14402        "-Wl,--icf=all",
14403        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
14404        "-Wl,-wrap,asprintf",
14405        "-Wl,-wrap,calloc",
14406        "-Wl,-wrap,free",
14407        "-Wl,-wrap,getcwd",
14408        "-Wl,-wrap,malloc",
14409        "-Wl,-wrap,malloc_usable_size",
14410        "-Wl,-wrap,memalign",
14411        "-Wl,-wrap,posix_memalign",
14412        "-Wl,-wrap,pvalloc",
14413        "-Wl,-wrap,realloc",
14414        "-Wl,-wrap,realpath",
14415        "-Wl,-wrap,strdup",
14416        "-Wl,-wrap,strndup",
14417        "-Wl,-wrap,valloc",
14418        "-Wl,-wrap,vasprintf",
14419    ],
14420    stem: "libcronet_unittests_android__library",
14421    visibility: [
14422        "//external/cronet:__subpackages__",
14423        "//packages/modules/Connectivity:__subpackages__",
14424    ],
14425    target: {
14426        android_arm: {
14427            cflags: [
14428                "-D_FORTIFY_SOURCE=2",
14429            ],
14430        },
14431        android_arm64: {
14432            cflags: [
14433                "-D_FORTIFY_SOURCE=2",
14434                "-O2",
14435                "-mno-outline",
14436            ],
14437        },
14438        android_x86: {
14439            cflags: [
14440                "-D_FORTIFY_SOURCE=2",
14441                "-msse3",
14442            ],
14443        },
14444        android_x86_64: {
14445            cflags: [
14446                "-D_FORTIFY_SOURCE=2",
14447                "-msse3",
14448            ],
14449        },
14450    },
14451}
14452
14453// GN: //components/cronet/android:cronet_urlconnection_impl_java
14454java_library {
14455    name: "cronet_aml_components_cronet_android_cronet_urlconnection_impl_java",
14456    srcs: [
14457        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
14458        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
14459        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
14460        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
14461        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
14462        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
14463        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
14464        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
14465        "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
14466    ],
14467    static_libs: [
14468        "cronet_aml_components_cronet_android_cronet_api_java",
14469    ],
14470    defaults: [
14471        "cronet_aml_java_framework_defaults",
14472    ],
14473    apex_available: [
14474        "com.android.tethering",
14475    ],
14476    min_sdk_version: "30",
14477    libs: [
14478        "androidx.annotation_annotation",
14479    ],
14480    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
14481}
14482
14483// GN: //components/cronet/android:cronet_urlconnection_impl_java__testing
14484java_library {
14485    name: "cronet_aml_components_cronet_android_cronet_urlconnection_impl_java__testing",
14486    srcs: [
14487        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
14488        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
14489        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
14490        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
14491        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
14492        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
14493        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
14494        "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
14495        "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
14496    ],
14497    static_libs: [
14498        "cronet_aml_components_cronet_android_cronet_api_java__testing",
14499    ],
14500    apex_available: [
14501        "com.android.tethering",
14502    ],
14503    min_sdk_version: "30",
14504    libs: [
14505        "androidx.annotation_annotation",
14506    ],
14507    sdk_version: "system_current",
14508    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
14509}
14510
14511// GN: //components/cronet/android:flags_java_proto
14512java_library {
14513    name: "cronet_aml_components_cronet_android_flags_java_proto",
14514    srcs: [
14515        ":cronet_aml_components_cronet_android_flags_java_proto__protoc_java",
14516    ],
14517    static_libs: [
14518        "libprotobuf-java-lite",
14519    ],
14520    defaults: [
14521        "cronet_aml_java_framework_defaults",
14522    ],
14523    apex_available: [
14524        "com.android.tethering",
14525    ],
14526    min_sdk_version: "30",
14527    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
14528}
14529
14530// GN: //components/cronet/android:flags_java_proto__protoc_java
14531java_genrule {
14532    name: "cronet_aml_components_cronet_android_flags_java_proto__protoc_java",
14533    srcs: [
14534        "components/cronet/android/proto/flags.proto",
14535    ],
14536    tools: [
14537        "cronet_aml_third_party_protobuf_protoc",
14538    ],
14539    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/protoc_java.py) --protoc " +
14540         "$(location cronet_aml_third_party_protobuf_protoc) " +
14541         "--proto-path " +
14542         "external/cronet/components/cronet/android " +
14543         "--srcjar " +
14544         "$(out) " +
14545         "$(location components/cronet/android/proto/flags.proto)",
14546    out: [
14547        "components/cronet/android/flags_java_proto__protoc_java.srcjar",
14548    ],
14549    tool_files: [
14550        "build/action_helpers.py",
14551        "build/android/gyp/util/__init__.py",
14552        "build/android/gyp/util/build_utils.py",
14553        "build/gn_helpers.py",
14554        "build/protoc_java.py",
14555        "build/zip_helpers.py",
14556    ],
14557}
14558
14559// GN: //components/cronet/android:flags_java_proto__protoc_java__testing
14560java_genrule {
14561    name: "cronet_aml_components_cronet_android_flags_java_proto__protoc_java__testing",
14562    srcs: [
14563        "components/cronet/android/proto/flags.proto",
14564    ],
14565    tools: [
14566        "cronet_aml_third_party_protobuf_protoc",
14567    ],
14568    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/protoc_java.py) --protoc " +
14569         "$(location cronet_aml_third_party_protobuf_protoc) " +
14570         "--proto-path " +
14571         "external/cronet/components/cronet/android " +
14572         "--srcjar " +
14573         "$(out) " +
14574         "$(location components/cronet/android/proto/flags.proto)",
14575    out: [
14576        "components/cronet/android/flags_java_proto__protoc_java.srcjar",
14577    ],
14578    tool_files: [
14579        "build/action_helpers.py",
14580        "build/android/gyp/util/__init__.py",
14581        "build/android/gyp/util/build_utils.py",
14582        "build/gn_helpers.py",
14583        "build/protoc_java.py",
14584        "build/zip_helpers.py",
14585    ],
14586}
14587
14588// GN: //components/cronet/android:flags_java_proto__testing
14589java_library {
14590    name: "cronet_aml_components_cronet_android_flags_java_proto__testing",
14591    srcs: [
14592        ":cronet_aml_components_cronet_android_flags_java_proto__protoc_java__testing",
14593    ],
14594    static_libs: [
14595        "libprotobuf-java-lite",
14596    ],
14597    apex_available: [
14598        "com.android.tethering",
14599    ],
14600    min_sdk_version: "30",
14601    sdk_version: "current",
14602    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
14603}
14604
14605// GN: //components/cronet/android:http_cache_type_java
14606java_genrule {
14607    name: "cronet_aml_components_cronet_android_http_cache_type_java",
14608    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
14609         "$(out) " +
14610         "$(location components/cronet/url_request_context_config.h)",
14611    out: [
14612        "components/cronet/android/http_cache_type_java.srcjar",
14613    ],
14614    tool_files: [
14615        "build/action_helpers.py",
14616        "build/android/gyp/java_cpp_enum.py",
14617        "build/android/gyp/util/__init__.py",
14618        "build/android/gyp/util/build_utils.py",
14619        "build/android/gyp/util/java_cpp_utils.py",
14620        "build/gn_helpers.py",
14621        "build/zip_helpers.py",
14622        "components/cronet/url_request_context_config.h",
14623    ],
14624}
14625
14626// GN: //components/cronet/android:http_cache_type_java__testing
14627java_genrule {
14628    name: "cronet_aml_components_cronet_android_http_cache_type_java__testing",
14629    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
14630         "$(out) " +
14631         "$(location components/cronet/url_request_context_config.h)",
14632    out: [
14633        "components/cronet/android/http_cache_type_java.srcjar",
14634    ],
14635    tool_files: [
14636        "build/action_helpers.py",
14637        "build/android/gyp/java_cpp_enum.py",
14638        "build/android/gyp/util/__init__.py",
14639        "build/android/gyp/util/build_utils.py",
14640        "build/android/gyp/util/java_cpp_utils.py",
14641        "build/gn_helpers.py",
14642        "build/zip_helpers.py",
14643        "components/cronet/url_request_context_config.h",
14644    ],
14645}
14646
14647// GN: //components/cronet/android:httpengine_native_provider_java__testing
14648java_library {
14649    name: "cronet_aml_components_cronet_android_httpengine_native_provider_java__testing",
14650    srcs: [
14651        "components/cronet/android/java/src/org/chromium/net/impl/AndroidBidirectionalStreamBuilderWrapper.java",
14652        "components/cronet/android/java/src/org/chromium/net/impl/AndroidBidirectionalStreamCallbackWrapper.java",
14653        "components/cronet/android/java/src/org/chromium/net/impl/AndroidBidirectionalStreamWrapper.java",
14654        "components/cronet/android/java/src/org/chromium/net/impl/AndroidCallbackExceptionWrapper.java",
14655        "components/cronet/android/java/src/org/chromium/net/impl/AndroidHeaderBlockWrapper.java",
14656        "components/cronet/android/java/src/org/chromium/net/impl/AndroidHttpEngineBuilderWrapper.java",
14657        "components/cronet/android/java/src/org/chromium/net/impl/AndroidHttpEngineWrapper.java",
14658        "components/cronet/android/java/src/org/chromium/net/impl/AndroidHttpExceptionWrapper.java",
14659        "components/cronet/android/java/src/org/chromium/net/impl/AndroidNetworkExceptionWrapper.java",
14660        "components/cronet/android/java/src/org/chromium/net/impl/AndroidQuicExceptionWrapper.java",
14661        "components/cronet/android/java/src/org/chromium/net/impl/AndroidUploadDataProviderWrapper.java",
14662        "components/cronet/android/java/src/org/chromium/net/impl/AndroidUploadDataSinkWrapper.java",
14663        "components/cronet/android/java/src/org/chromium/net/impl/AndroidUrlRequestBuilderWrapper.java",
14664        "components/cronet/android/java/src/org/chromium/net/impl/AndroidUrlRequestCallbackWrapper.java",
14665        "components/cronet/android/java/src/org/chromium/net/impl/AndroidUrlRequestStatusListenerWrapper.java",
14666        "components/cronet/android/java/src/org/chromium/net/impl/AndroidUrlRequestWrapper.java",
14667        "components/cronet/android/java/src/org/chromium/net/impl/AndroidUrlResponseInfoWrapper.java",
14668        "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionTranslationUtils.java",
14669        "components/cronet/android/java/src/org/chromium/net/impl/HttpEngineNativeProvider.java",
14670    ],
14671    static_libs: [
14672        "cronet_aml_build_android_build_java__testing",
14673        "cronet_aml_components_cronet_android_cronet_api_java__testing",
14674        "cronet_aml_components_cronet_android_cronet_impl_common_java__testing",
14675        "cronet_aml_components_cronet_android_cronet_shared_java__testing",
14676        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
14677    ],
14678    apex_available: [
14679        "com.android.tethering",
14680    ],
14681    min_sdk_version: "30",
14682    libs: [
14683        "androidx.annotation_annotation",
14684        "androidx.core_core",
14685    ],
14686    sdk_version: "system_current",
14687    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
14688}
14689
14690// GN: //components/cronet/android:impl_version
14691java_genrule {
14692    name: "cronet_aml_components_cronet_android_impl_version",
14693    cmd: "mkdir -p $(genDir)/components/cronet/android/templates/org/chromium/net/impl && $(location build/util/version.py) --official " +
14694         "-f " +
14695         "$(location chrome/VERSION) " +
14696         "-f " +
14697         "$(location build/util/LASTCHANGE) " +
14698         "-e " +
14699         "'API_LEVEL=31' " +
14700         "-o " +
14701         "$(out) " +
14702         "$(location components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template)",
14703    out: [
14704        "components/cronet/android/templates/org/chromium/net/impl/ImplVersion.java",
14705    ],
14706    tool_files: [
14707        "build/util/LASTCHANGE",
14708        "build/util/android_chrome_version.py",
14709        "build/util/version.py",
14710        "chrome/VERSION",
14711        "components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template",
14712    ],
14713}
14714
14715// GN: //components/cronet/android:impl_version__testing
14716java_genrule {
14717    name: "cronet_aml_components_cronet_android_impl_version__testing",
14718    cmd: "mkdir -p $(genDir)/components/cronet/android/templates/org/chromium/net/impl && $(location build/util/version.py) --official " +
14719         "-f " +
14720         "$(location chrome/VERSION) " +
14721         "-f " +
14722         "$(location build/util/LASTCHANGE) " +
14723         "-e " +
14724         "'API_LEVEL=31' " +
14725         "-o " +
14726         "$(out) " +
14727         "$(location components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template)",
14728    out: [
14729        "components/cronet/android/templates/org/chromium/net/impl/ImplVersion.java",
14730    ],
14731    tool_files: [
14732        "build/util/LASTCHANGE",
14733        "build/util/android_chrome_version.py",
14734        "build/util/version.py",
14735        "chrome/VERSION",
14736        "components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template",
14737    ],
14738}
14739
14740// GN: //components/cronet/android:load_states_list
14741genrule {
14742    name: "cronet_aml_components_cronet_android_load_states_list",
14743    srcs: [
14744        ":cronet_aml_components_cronet_android_load_states_list_preprocess",
14745    ],
14746    tools: [
14747        "soong_zip",
14748    ],
14749    cmd: "cp $(in) $(genDir)/LoadState.java && " +
14750         "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/LoadState.java",
14751    out: [
14752        "LoadState.srcjar",
14753    ],
14754    defaults: [
14755        "cronet_aml_cc_defaults",
14756    ],
14757}
14758
14759// GN: //components/cronet/android:load_states_list__testing
14760genrule {
14761    name: "cronet_aml_components_cronet_android_load_states_list__testing",
14762    srcs: [
14763        ":cronet_aml_components_cronet_android_load_states_list__testing_preprocess",
14764    ],
14765    tools: [
14766        "soong_zip",
14767    ],
14768    cmd: "cp $(in) $(genDir)/LoadState.java && " +
14769         "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/LoadState.java",
14770    out: [
14771        "LoadState.srcjar",
14772    ],
14773    defaults: [
14774        "cronet_aml_cc_defaults",
14775    ],
14776}
14777
14778// GN: //components/cronet/android:load_states_list__testing
14779cc_object {
14780    name: "cronet_aml_components_cronet_android_load_states_list__testing_preprocess",
14781    srcs: [
14782        ":cronet_aml_components_cronet_android_load_states_list__testing_rename",
14783    ],
14784    cflags: [
14785        "-DANDROID",
14786        "-E",
14787        "-P",
14788    ],
14789    compile_multilib: "first",
14790}
14791
14792// GN: //components/cronet/android:load_states_list__testing
14793genrule {
14794    name: "cronet_aml_components_cronet_android_load_states_list__testing_rename",
14795    srcs: [
14796        "components/cronet/android/java/src/org/chromium/net/impl/LoadState.template",
14797    ],
14798    cmd: "cp $(in) $(out)",
14799    out: [
14800        "LoadState.cc",
14801    ],
14802}
14803
14804// GN: //components/cronet/android:load_states_list
14805cc_object {
14806    name: "cronet_aml_components_cronet_android_load_states_list_preprocess",
14807    srcs: [
14808        ":cronet_aml_components_cronet_android_load_states_list_rename",
14809    ],
14810    cflags: [
14811        "-DANDROID",
14812        "-E",
14813        "-P",
14814    ],
14815    compile_multilib: "first",
14816}
14817
14818// GN: //components/cronet/android:load_states_list
14819genrule {
14820    name: "cronet_aml_components_cronet_android_load_states_list_rename",
14821    srcs: [
14822        "components/cronet/android/java/src/org/chromium/net/impl/LoadState.template",
14823    ],
14824    cmd: "cp $(in) $(out)",
14825    out: [
14826        "LoadState.cc",
14827    ],
14828}
14829
14830// GN: //components/cronet/android:net_idempotency_java
14831java_genrule {
14832    name: "cronet_aml_components_cronet_android_net_idempotency_java",
14833    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
14834         "$(out) " +
14835         "$(location net/base/idempotency.h)",
14836    out: [
14837        "components/cronet/android/net_idempotency_java.srcjar",
14838    ],
14839    tool_files: [
14840        "build/action_helpers.py",
14841        "build/android/gyp/java_cpp_enum.py",
14842        "build/android/gyp/util/__init__.py",
14843        "build/android/gyp/util/build_utils.py",
14844        "build/android/gyp/util/java_cpp_utils.py",
14845        "build/gn_helpers.py",
14846        "build/zip_helpers.py",
14847        "net/base/idempotency.h",
14848    ],
14849}
14850
14851// GN: //components/cronet/android:net_idempotency_java__testing
14852java_genrule {
14853    name: "cronet_aml_components_cronet_android_net_idempotency_java__testing",
14854    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
14855         "$(out) " +
14856         "$(location net/base/idempotency.h)",
14857    out: [
14858        "components/cronet/android/net_idempotency_java.srcjar",
14859    ],
14860    tool_files: [
14861        "build/action_helpers.py",
14862        "build/android/gyp/java_cpp_enum.py",
14863        "build/android/gyp/util/__init__.py",
14864        "build/android/gyp/util/build_utils.py",
14865        "build/android/gyp/util/java_cpp_utils.py",
14866        "build/gn_helpers.py",
14867        "build/zip_helpers.py",
14868        "net/base/idempotency.h",
14869    ],
14870}
14871
14872// GN: //components/cronet/android:net_request_priority_java
14873java_genrule {
14874    name: "cronet_aml_components_cronet_android_net_request_priority_java",
14875    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
14876         "$(out) " +
14877         "$(location net/base/request_priority.h)",
14878    out: [
14879        "components/cronet/android/net_request_priority_java.srcjar",
14880    ],
14881    tool_files: [
14882        "build/action_helpers.py",
14883        "build/android/gyp/java_cpp_enum.py",
14884        "build/android/gyp/util/__init__.py",
14885        "build/android/gyp/util/build_utils.py",
14886        "build/android/gyp/util/java_cpp_utils.py",
14887        "build/gn_helpers.py",
14888        "build/zip_helpers.py",
14889        "net/base/request_priority.h",
14890    ],
14891}
14892
14893// GN: //components/cronet/android:net_request_priority_java__testing
14894java_genrule {
14895    name: "cronet_aml_components_cronet_android_net_request_priority_java__testing",
14896    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
14897         "$(out) " +
14898         "$(location net/base/request_priority.h)",
14899    out: [
14900        "components/cronet/android/net_request_priority_java.srcjar",
14901    ],
14902    tool_files: [
14903        "build/action_helpers.py",
14904        "build/android/gyp/java_cpp_enum.py",
14905        "build/android/gyp/util/__init__.py",
14906        "build/android/gyp/util/build_utils.py",
14907        "build/android/gyp/util/java_cpp_utils.py",
14908        "build/gn_helpers.py",
14909        "build/zip_helpers.py",
14910        "net/base/request_priority.h",
14911    ],
14912}
14913
14914// GN: //components/cronet/android:network_quality_observation_source_java
14915java_genrule {
14916    name: "cronet_aml_components_cronet_android_network_quality_observation_source_java",
14917    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
14918         "$(out) " +
14919         "$(location net/nqe/network_quality_observation_source.h)",
14920    out: [
14921        "components/cronet/android/network_quality_observation_source_java.srcjar",
14922    ],
14923    tool_files: [
14924        "build/action_helpers.py",
14925        "build/android/gyp/java_cpp_enum.py",
14926        "build/android/gyp/util/__init__.py",
14927        "build/android/gyp/util/build_utils.py",
14928        "build/android/gyp/util/java_cpp_utils.py",
14929        "build/gn_helpers.py",
14930        "build/zip_helpers.py",
14931        "net/nqe/network_quality_observation_source.h",
14932    ],
14933}
14934
14935// GN: //components/cronet/android:network_quality_observation_source_java__testing
14936java_genrule {
14937    name: "cronet_aml_components_cronet_android_network_quality_observation_source_java__testing",
14938    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
14939         "$(out) " +
14940         "$(location net/nqe/network_quality_observation_source.h)",
14941    out: [
14942        "components/cronet/android/network_quality_observation_source_java.srcjar",
14943    ],
14944    tool_files: [
14945        "build/action_helpers.py",
14946        "build/android/gyp/java_cpp_enum.py",
14947        "build/android/gyp/util/__init__.py",
14948        "build/android/gyp/util/build_utils.py",
14949        "build/android/gyp/util/java_cpp_utils.py",
14950        "build/gn_helpers.py",
14951        "build/zip_helpers.py",
14952        "net/nqe/network_quality_observation_source.h",
14953    ],
14954}
14955
14956// GN: //components/cronet/android:request_context_config_java_proto
14957java_library {
14958    name: "cronet_aml_components_cronet_android_request_context_config_java_proto",
14959    srcs: [
14960        ":cronet_aml_components_cronet_android_request_context_config_java_proto__protoc_java",
14961    ],
14962    static_libs: [
14963        "libprotobuf-java-lite",
14964    ],
14965    defaults: [
14966        "cronet_aml_java_framework_defaults",
14967    ],
14968    apex_available: [
14969        "com.android.tethering",
14970    ],
14971    min_sdk_version: "30",
14972    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
14973}
14974
14975// GN: //components/cronet/android:request_context_config_java_proto__protoc_java
14976java_genrule {
14977    name: "cronet_aml_components_cronet_android_request_context_config_java_proto__protoc_java",
14978    srcs: [
14979        "components/cronet/android/proto/request_context_config.proto",
14980    ],
14981    tools: [
14982        "cronet_aml_third_party_protobuf_protoc",
14983    ],
14984    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/protoc_java.py) --protoc " +
14985         "$(location cronet_aml_third_party_protobuf_protoc) " +
14986         "--proto-path " +
14987         "external/cronet/components/cronet/android " +
14988         "--srcjar " +
14989         "$(out) " +
14990         "$(location components/cronet/android/proto/request_context_config.proto)",
14991    out: [
14992        "components/cronet/android/request_context_config_java_proto__protoc_java.srcjar",
14993    ],
14994    tool_files: [
14995        "build/action_helpers.py",
14996        "build/android/gyp/util/__init__.py",
14997        "build/android/gyp/util/build_utils.py",
14998        "build/gn_helpers.py",
14999        "build/protoc_java.py",
15000        "build/zip_helpers.py",
15001    ],
15002}
15003
15004// GN: //components/cronet/android:request_context_config_java_proto__protoc_java__testing
15005java_genrule {
15006    name: "cronet_aml_components_cronet_android_request_context_config_java_proto__protoc_java__testing",
15007    srcs: [
15008        "components/cronet/android/proto/request_context_config.proto",
15009    ],
15010    tools: [
15011        "cronet_aml_third_party_protobuf_protoc",
15012    ],
15013    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/protoc_java.py) --protoc " +
15014         "$(location cronet_aml_third_party_protobuf_protoc) " +
15015         "--proto-path " +
15016         "external/cronet/components/cronet/android " +
15017         "--srcjar " +
15018         "$(out) " +
15019         "$(location components/cronet/android/proto/request_context_config.proto)",
15020    out: [
15021        "components/cronet/android/request_context_config_java_proto__protoc_java.srcjar",
15022    ],
15023    tool_files: [
15024        "build/action_helpers.py",
15025        "build/android/gyp/util/__init__.py",
15026        "build/android/gyp/util/build_utils.py",
15027        "build/gn_helpers.py",
15028        "build/protoc_java.py",
15029        "build/zip_helpers.py",
15030    ],
15031}
15032
15033// GN: //components/cronet/android:request_context_config_java_proto__testing
15034java_library {
15035    name: "cronet_aml_components_cronet_android_request_context_config_java_proto__testing",
15036    srcs: [
15037        ":cronet_aml_components_cronet_android_request_context_config_java_proto__protoc_java__testing",
15038    ],
15039    static_libs: [
15040        "libprotobuf-java-lite",
15041    ],
15042    apex_available: [
15043        "com.android.tethering",
15044    ],
15045    min_sdk_version: "30",
15046    sdk_version: "current",
15047    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
15048}
15049
15050// GN: //components/cronet/android:request_context_config_proto
15051cc_library_static {
15052    name: "cronet_aml_components_cronet_android_request_context_config_proto",
15053    srcs: [
15054        ":cronet_aml_components_cronet_android_request_context_config_proto_gen",
15055    ],
15056    shared_libs: [
15057        "liblog",
15058        "libprotobuf-cpp-lite",
15059    ],
15060    generated_headers: [
15061        "cronet_aml_components_cronet_android_request_context_config_proto_gen_headers",
15062    ],
15063    export_generated_headers: [
15064        "cronet_aml_components_cronet_android_request_context_config_proto_gen_headers",
15065    ],
15066    defaults: [
15067        "cronet_aml_cc_defaults",
15068    ],
15069    cflags: [
15070        "-DANDROID",
15071        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
15072        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
15073        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
15074        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
15075        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15076        "-DGOOGLE_PROTOBUF_NO_RTTI",
15077        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15078        "-DHAVE_PTHREAD",
15079        "-DHAVE_SYS_UIO_H",
15080        "-DNDEBUG",
15081        "-DNO_UNWIND_TABLES",
15082        "-DNVALGRIND",
15083        "-DOFFICIAL_BUILD",
15084        "-D_GNU_SOURCE",
15085        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15086        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
15087        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
15088        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
15089        "-D__STDC_CONSTANT_MACROS",
15090        "-D__STDC_FORMAT_MACROS",
15091        "-fdata-sections",
15092        "-ffunction-sections",
15093        "-fno-asynchronous-unwind-tables",
15094        "-fno-unwind-tables",
15095        "-fstack-protector",
15096        "-fvisibility-inlines-hidden",
15097        "-fvisibility=hidden",
15098        "-g1",
15099    ],
15100    local_include_dirs: [
15101        "./",
15102        "buildtools/third_party/libc++/",
15103        "third_party/libc++/src/include",
15104        "third_party/libc++abi/src/include",
15105        "third_party/protobuf/src/",
15106    ],
15107    cpp_std: "c++20",
15108    ldflags: [
15109        "-Wl,--as-needed",
15110        "-Wl,--gc-sections",
15111        "-Wl,--icf=all",
15112    ],
15113    target: {
15114        android_arm: {
15115            cflags: [
15116                "-D_FORTIFY_SOURCE=2",
15117            ],
15118        },
15119        android_arm64: {
15120            cflags: [
15121                "-D_FORTIFY_SOURCE=2",
15122                "-O2",
15123                "-mno-outline",
15124            ],
15125        },
15126        android_x86: {
15127            cflags: [
15128                "-D_FORTIFY_SOURCE=2",
15129                "-msse3",
15130            ],
15131        },
15132        android_x86_64: {
15133            cflags: [
15134                "-D_FORTIFY_SOURCE=2",
15135                "-msse3",
15136            ],
15137        },
15138    },
15139}
15140
15141// GN: //components/cronet/android:request_context_config_proto__testing
15142cc_library_static {
15143    name: "cronet_aml_components_cronet_android_request_context_config_proto__testing",
15144    srcs: [
15145        ":cronet_aml_components_cronet_android_request_context_config_proto_gen__testing",
15146    ],
15147    shared_libs: [
15148        "liblog",
15149        "libprotobuf-cpp-lite",
15150    ],
15151    generated_headers: [
15152        "cronet_aml_components_cronet_android_request_context_config_proto_gen__testing_headers",
15153    ],
15154    export_generated_headers: [
15155        "cronet_aml_components_cronet_android_request_context_config_proto_gen__testing_headers",
15156    ],
15157    defaults: [
15158        "cronet_aml_cc_defaults",
15159    ],
15160    cflags: [
15161        "-DANDROID",
15162        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
15163        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
15164        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
15165        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
15166        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15167        "-DGOOGLE_PROTOBUF_NO_RTTI",
15168        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15169        "-DHAVE_PTHREAD",
15170        "-DHAVE_SYS_UIO_H",
15171        "-DNDEBUG",
15172        "-DNO_UNWIND_TABLES",
15173        "-DNVALGRIND",
15174        "-DOFFICIAL_BUILD",
15175        "-D_GNU_SOURCE",
15176        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15177        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
15178        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
15179        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
15180        "-D__STDC_CONSTANT_MACROS",
15181        "-D__STDC_FORMAT_MACROS",
15182        "-fdata-sections",
15183        "-ffunction-sections",
15184        "-fno-asynchronous-unwind-tables",
15185        "-fno-unwind-tables",
15186        "-fstack-protector",
15187        "-fvisibility-inlines-hidden",
15188        "-fvisibility=hidden",
15189        "-g1",
15190    ],
15191    local_include_dirs: [
15192        "./",
15193        "buildtools/third_party/libc++/",
15194        "third_party/libc++/src/include",
15195        "third_party/libc++abi/src/include",
15196        "third_party/protobuf/src/",
15197    ],
15198    cpp_std: "c++20",
15199    ldflags: [
15200        "-Wl,--as-needed",
15201        "-Wl,--gc-sections",
15202        "-Wl,--icf=all",
15203    ],
15204    target: {
15205        android_arm: {
15206            cflags: [
15207                "-D_FORTIFY_SOURCE=2",
15208            ],
15209        },
15210        android_arm64: {
15211            cflags: [
15212                "-D_FORTIFY_SOURCE=2",
15213                "-O2",
15214                "-mno-outline",
15215            ],
15216        },
15217        android_x86: {
15218            cflags: [
15219                "-D_FORTIFY_SOURCE=2",
15220                "-msse3",
15221            ],
15222        },
15223        android_x86_64: {
15224            cflags: [
15225                "-D_FORTIFY_SOURCE=2",
15226                "-msse3",
15227            ],
15228        },
15229    },
15230}
15231
15232// GN: //components/cronet/android:request_context_config_proto_gen
15233cc_genrule {
15234    name: "cronet_aml_components_cronet_android_request_context_config_proto_gen",
15235    srcs: [
15236        "components/cronet/android/proto/request_context_config.proto",
15237    ],
15238    tools: [
15239        "cronet_aml_third_party_protobuf_protoc",
15240    ],
15241    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)",
15242    out: [
15243        "external/cronet/components/cronet/android/proto/request_context_config.pb.cc",
15244    ],
15245    apex_available: [
15246        "com.android.tethering",
15247    ],
15248}
15249
15250// GN: //components/cronet/android:request_context_config_proto_gen__testing
15251cc_genrule {
15252    name: "cronet_aml_components_cronet_android_request_context_config_proto_gen__testing",
15253    srcs: [
15254        "components/cronet/android/proto/request_context_config.proto",
15255    ],
15256    tools: [
15257        "cronet_aml_third_party_protobuf_protoc",
15258    ],
15259    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)",
15260    out: [
15261        "external/cronet/components/cronet/android/proto/request_context_config.pb.cc",
15262    ],
15263    apex_available: [
15264        "com.android.tethering",
15265    ],
15266}
15267
15268// GN: //components/cronet/android:request_context_config_proto_gen__testing
15269cc_genrule {
15270    name: "cronet_aml_components_cronet_android_request_context_config_proto_gen__testing_headers",
15271    srcs: [
15272        "components/cronet/android/proto/request_context_config.proto",
15273    ],
15274    tools: [
15275        "cronet_aml_third_party_protobuf_protoc",
15276    ],
15277    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)",
15278    out: [
15279        "external/cronet/components/cronet/android/proto/request_context_config.pb.h",
15280    ],
15281    export_include_dirs: [
15282        ".",
15283        "components/cronet/android/proto",
15284        "protos",
15285    ],
15286    apex_available: [
15287        "com.android.tethering",
15288    ],
15289}
15290
15291// GN: //components/cronet/android:request_context_config_proto_gen
15292cc_genrule {
15293    name: "cronet_aml_components_cronet_android_request_context_config_proto_gen_headers",
15294    srcs: [
15295        "components/cronet/android/proto/request_context_config.proto",
15296    ],
15297    tools: [
15298        "cronet_aml_third_party_protobuf_protoc",
15299    ],
15300    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/components/cronet/android/proto --cpp_out=lite=true:$(genDir)/external/cronet/components/cronet/android/proto/ $(in)",
15301    out: [
15302        "external/cronet/components/cronet/android/proto/request_context_config.pb.h",
15303    ],
15304    export_include_dirs: [
15305        ".",
15306        "components/cronet/android/proto",
15307        "protos",
15308    ],
15309    apex_available: [
15310        "com.android.tethering",
15311    ],
15312}
15313
15314// GN: //components/cronet/android:rtt_throughput_values_java
15315java_genrule {
15316    name: "cronet_aml_components_cronet_android_rtt_throughput_values_java",
15317    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
15318         "$(out) " +
15319         "$(location net/nqe/network_quality.h)",
15320    out: [
15321        "components/cronet/android/rtt_throughput_values_java.srcjar",
15322    ],
15323    tool_files: [
15324        "build/action_helpers.py",
15325        "build/android/gyp/java_cpp_enum.py",
15326        "build/android/gyp/util/__init__.py",
15327        "build/android/gyp/util/build_utils.py",
15328        "build/android/gyp/util/java_cpp_utils.py",
15329        "build/gn_helpers.py",
15330        "build/zip_helpers.py",
15331        "net/nqe/network_quality.h",
15332    ],
15333}
15334
15335// GN: //components/cronet/android:rtt_throughput_values_java__testing
15336java_genrule {
15337    name: "cronet_aml_components_cronet_android_rtt_throughput_values_java__testing",
15338    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
15339         "$(out) " +
15340         "$(location net/nqe/network_quality.h)",
15341    out: [
15342        "components/cronet/android/rtt_throughput_values_java.srcjar",
15343    ],
15344    tool_files: [
15345        "build/action_helpers.py",
15346        "build/android/gyp/java_cpp_enum.py",
15347        "build/android/gyp/util/__init__.py",
15348        "build/android/gyp/util/build_utils.py",
15349        "build/android/gyp/util/java_cpp_utils.py",
15350        "build/gn_helpers.py",
15351        "build/zip_helpers.py",
15352        "net/nqe/network_quality.h",
15353    ],
15354}
15355
15356// GN: //components/cronet/android:url_request_error_java
15357java_genrule {
15358    name: "cronet_aml_components_cronet_android_url_request_error_java",
15359    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
15360         "$(out) " +
15361         "$(location components/cronet/android/url_request_error.h)",
15362    out: [
15363        "components/cronet/android/url_request_error_java.srcjar",
15364    ],
15365    tool_files: [
15366        "build/action_helpers.py",
15367        "build/android/gyp/java_cpp_enum.py",
15368        "build/android/gyp/util/__init__.py",
15369        "build/android/gyp/util/build_utils.py",
15370        "build/android/gyp/util/java_cpp_utils.py",
15371        "build/gn_helpers.py",
15372        "build/zip_helpers.py",
15373        "components/cronet/android/url_request_error.h",
15374    ],
15375}
15376
15377// GN: //components/cronet/android:url_request_error_java__testing
15378java_genrule {
15379    name: "cronet_aml_components_cronet_android_url_request_error_java__testing",
15380    cmd: "mkdir -p $(genDir)/components/cronet/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
15381         "$(out) " +
15382         "$(location components/cronet/android/url_request_error.h)",
15383    out: [
15384        "components/cronet/android/url_request_error_java.srcjar",
15385    ],
15386    tool_files: [
15387        "build/action_helpers.py",
15388        "build/android/gyp/java_cpp_enum.py",
15389        "build/android/gyp/util/__init__.py",
15390        "build/android/gyp/util/build_utils.py",
15391        "build/android/gyp/util/java_cpp_utils.py",
15392        "build/gn_helpers.py",
15393        "build/zip_helpers.py",
15394        "components/cronet/android/url_request_error.h",
15395    ],
15396}
15397
15398// GN: //components/cronet:cronet_buildflags
15399cc_genrule {
15400    name: "cronet_aml_components_cronet_cronet_buildflags",
15401    cmd: "mkdir -p $(genDir)/components/cronet && echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
15402         "$(location build/write_buildflag_header.py) --output " +
15403         "$(out) " +
15404         "--rulename " +
15405         "//components/cronet:cronet_buildflags " +
15406         "--gen-dir " +
15407         ". " +
15408         "--definitions " +
15409         "/dev/stdin",
15410    out: [
15411        "components/cronet/cronet_buildflags.h",
15412    ],
15413    tool_files: [
15414        "build/write_buildflag_header.py",
15415    ],
15416    apex_available: [
15417        "com.android.tethering",
15418    ],
15419}
15420
15421// GN: //components/cronet:cronet_buildflags__testing
15422cc_genrule {
15423    name: "cronet_aml_components_cronet_cronet_buildflags__testing",
15424    cmd: "mkdir -p $(genDir)/components/cronet && echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
15425         "$(location build/write_buildflag_header.py) --output " +
15426         "$(out) " +
15427         "--rulename " +
15428         "//components/cronet:cronet_buildflags " +
15429         "--gen-dir " +
15430         ". " +
15431         "--definitions " +
15432         "/dev/stdin",
15433    out: [
15434        "components/cronet/cronet_buildflags.h",
15435    ],
15436    tool_files: [
15437        "build/write_buildflag_header.py",
15438    ],
15439    apex_available: [
15440        "com.android.tethering",
15441    ],
15442}
15443
15444// GN: //components/cronet:cronet_common
15445cc_library_static {
15446    name: "cronet_aml_components_cronet_cronet_common",
15447    srcs: [
15448        "components/cronet/cronet_context.cc",
15449        "components/cronet/cronet_prefs_manager.cc",
15450        "components/cronet/cronet_upload_data_stream.cc",
15451        "components/cronet/cronet_url_request.cc",
15452        "components/cronet/host_cache_persistence_manager.cc",
15453        "components/cronet/stale_host_resolver.cc",
15454        "components/cronet/url_request_context_config.cc",
15455    ],
15456    shared_libs: [
15457        "//external/cronet/third_party/boringssl:libcrypto",
15458        "//external/cronet/third_party/boringssl:libpki",
15459        "//external/cronet/third_party/boringssl:libssl",
15460        "libandroid",
15461        "liblog",
15462        "libprotobuf-cpp-lite",
15463        "libz",
15464    ],
15465    generated_headers: [
15466        "cronet_aml_base_allocator_buildflags",
15467        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
15468        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
15469        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
15470        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
15471        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
15472        "cronet_aml_base_anchor_functions_buildflags",
15473        "cronet_aml_base_android_runtime_jni_headers__action",
15474        "cronet_aml_base_base_jni__action",
15475        "cronet_aml_base_base_shared_preferences_jni__action",
15476        "cronet_aml_base_build_date",
15477        "cronet_aml_base_cfi_buildflags",
15478        "cronet_aml_base_check_version_internal_action",
15479        "cronet_aml_base_clang_profiling_buildflags",
15480        "cronet_aml_base_debugging_buildflags",
15481        "cronet_aml_base_feature_list_buildflags",
15482        "cronet_aml_base_fuzzing_buildflags",
15483        "cronet_aml_base_ios_cronet_buildflags",
15484        "cronet_aml_base_logging_buildflags",
15485        "cronet_aml_base_message_pump_buildflags",
15486        "cronet_aml_base_orderfile_buildflags",
15487        "cronet_aml_base_power_monitor_buildflags",
15488        "cronet_aml_base_process_launcher_jni__action",
15489        "cronet_aml_base_profiler_buildflags",
15490        "cronet_aml_base_protected_memory_buildflags",
15491        "cronet_aml_base_rust_buildflags",
15492        "cronet_aml_base_sanitizer_buildflags",
15493        "cronet_aml_base_synchronization_buildflags",
15494        "cronet_aml_base_tracing_buildflags",
15495        "cronet_aml_build_blink_buildflags",
15496        "cronet_aml_build_branding_buildflags",
15497        "cronet_aml_build_chromecast_buildflags",
15498        "cronet_aml_build_chromeos_buildflags",
15499        "cronet_aml_build_config_compiler_compiler_buildflags",
15500        "cronet_aml_build_ios_buildflags",
15501        "cronet_aml_build_robolectric_buildflags",
15502        "cronet_aml_components_cronet_cronet_buildflags",
15503        "cronet_aml_components_cronet_cronet_version_header_action",
15504        "cronet_aml_components_prefs_android_jni_headers__action",
15505        "cronet_aml_crypto_buildflags",
15506        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
15507        "cronet_aml_net_buildflags",
15508        "cronet_aml_net_cronet_buildflags",
15509        "cronet_aml_net_isolation_info_proto_gen_headers",
15510        "cronet_aml_net_net_jni_headers__action",
15511        "cronet_aml_net_net_nqe_proto_gen_headers",
15512        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
15513        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
15514        "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
15515        "cronet_aml_url_buildflags",
15516        "cronet_aml_url_url_jni_headers__action",
15517    ],
15518    export_generated_headers: [
15519        "cronet_aml_base_allocator_buildflags",
15520        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
15521        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
15522        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
15523        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
15524        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
15525        "cronet_aml_base_anchor_functions_buildflags",
15526        "cronet_aml_base_android_runtime_jni_headers__action",
15527        "cronet_aml_base_base_jni__action",
15528        "cronet_aml_base_base_shared_preferences_jni__action",
15529        "cronet_aml_base_build_date",
15530        "cronet_aml_base_cfi_buildflags",
15531        "cronet_aml_base_check_version_internal_action",
15532        "cronet_aml_base_clang_profiling_buildflags",
15533        "cronet_aml_base_debugging_buildflags",
15534        "cronet_aml_base_feature_list_buildflags",
15535        "cronet_aml_base_fuzzing_buildflags",
15536        "cronet_aml_base_ios_cronet_buildflags",
15537        "cronet_aml_base_logging_buildflags",
15538        "cronet_aml_base_message_pump_buildflags",
15539        "cronet_aml_base_orderfile_buildflags",
15540        "cronet_aml_base_power_monitor_buildflags",
15541        "cronet_aml_base_process_launcher_jni__action",
15542        "cronet_aml_base_profiler_buildflags",
15543        "cronet_aml_base_protected_memory_buildflags",
15544        "cronet_aml_base_rust_buildflags",
15545        "cronet_aml_base_sanitizer_buildflags",
15546        "cronet_aml_base_synchronization_buildflags",
15547        "cronet_aml_base_tracing_buildflags",
15548        "cronet_aml_build_blink_buildflags",
15549        "cronet_aml_build_branding_buildflags",
15550        "cronet_aml_build_chromecast_buildflags",
15551        "cronet_aml_build_chromeos_buildflags",
15552        "cronet_aml_build_config_compiler_compiler_buildflags",
15553        "cronet_aml_build_ios_buildflags",
15554        "cronet_aml_build_robolectric_buildflags",
15555        "cronet_aml_components_cronet_cronet_buildflags",
15556        "cronet_aml_components_cronet_cronet_version_header_action",
15557        "cronet_aml_components_prefs_android_jni_headers__action",
15558        "cronet_aml_crypto_buildflags",
15559        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
15560        "cronet_aml_net_buildflags",
15561        "cronet_aml_net_cronet_buildflags",
15562        "cronet_aml_net_isolation_info_proto_gen_headers",
15563        "cronet_aml_net_net_jni_headers__action",
15564        "cronet_aml_net_net_nqe_proto_gen_headers",
15565        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
15566        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
15567        "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
15568        "cronet_aml_url_buildflags",
15569        "cronet_aml_url_url_jni_headers__action",
15570    ],
15571    defaults: [
15572        "cronet_aml_cc_defaults",
15573    ],
15574    cflags: [
15575        "-DANDROID",
15576        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
15577        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
15578        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
15579        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
15580        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15581        "-DGOOGLE_PROTOBUF_NO_RTTI",
15582        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15583        "-DHAVE_PTHREAD",
15584        "-DHAVE_SYS_UIO_H",
15585        "-DNDEBUG",
15586        "-DNO_UNWIND_TABLES",
15587        "-DNVALGRIND",
15588        "-DOFFICIAL_BUILD",
15589        "-D_GNU_SOURCE",
15590        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15591        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
15592        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
15593        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
15594        "-D__STDC_CONSTANT_MACROS",
15595        "-D__STDC_FORMAT_MACROS",
15596        "-fdata-sections",
15597        "-ffunction-sections",
15598        "-fno-asynchronous-unwind-tables",
15599        "-fno-unwind-tables",
15600        "-fstack-protector",
15601        "-fvisibility-inlines-hidden",
15602        "-fvisibility=hidden",
15603        "-g1",
15604    ],
15605    local_include_dirs: [
15606        "./",
15607        "base/allocator/partition_allocator/src/",
15608        "buildtools/third_party/libc++/",
15609        "net/third_party/quiche/overrides/",
15610        "net/third_party/quiche/src/",
15611        "net/third_party/quiche/src/quiche/common/platform/default/",
15612        "third_party/abseil-cpp/",
15613        "third_party/boringssl/src/include/",
15614        "third_party/libc++/src/include",
15615        "third_party/libc++abi/src/include",
15616        "third_party/protobuf/src/",
15617    ],
15618    cpp_std: "c++20",
15619    ldflags: [
15620        "-Wl,--as-needed",
15621        "-Wl,--gc-sections",
15622        "-Wl,--icf=all",
15623        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
15624        "-Wl,-wrap,asprintf",
15625        "-Wl,-wrap,calloc",
15626        "-Wl,-wrap,free",
15627        "-Wl,-wrap,getcwd",
15628        "-Wl,-wrap,malloc",
15629        "-Wl,-wrap,malloc_usable_size",
15630        "-Wl,-wrap,memalign",
15631        "-Wl,-wrap,posix_memalign",
15632        "-Wl,-wrap,pvalloc",
15633        "-Wl,-wrap,realloc",
15634        "-Wl,-wrap,realpath",
15635        "-Wl,-wrap,strdup",
15636        "-Wl,-wrap,strndup",
15637        "-Wl,-wrap,valloc",
15638        "-Wl,-wrap,vasprintf",
15639    ],
15640    target: {
15641        android_arm: {
15642            cflags: [
15643                "-D_FORTIFY_SOURCE=2",
15644            ],
15645        },
15646        android_arm64: {
15647            cflags: [
15648                "-D_FORTIFY_SOURCE=2",
15649                "-O2",
15650                "-mno-outline",
15651            ],
15652        },
15653        android_x86: {
15654            cflags: [
15655                "-D_FORTIFY_SOURCE=2",
15656                "-msse3",
15657            ],
15658        },
15659        android_x86_64: {
15660            cflags: [
15661                "-D_FORTIFY_SOURCE=2",
15662                "-msse3",
15663            ],
15664        },
15665    },
15666}
15667
15668// GN: //components/cronet:cronet_common__testing
15669cc_library_static {
15670    name: "cronet_aml_components_cronet_cronet_common__testing",
15671    srcs: [
15672        "components/cronet/cronet_context.cc",
15673        "components/cronet/cronet_prefs_manager.cc",
15674        "components/cronet/cronet_upload_data_stream.cc",
15675        "components/cronet/cronet_url_request.cc",
15676        "components/cronet/host_cache_persistence_manager.cc",
15677        "components/cronet/stale_host_resolver.cc",
15678        "components/cronet/url_request_context_config.cc",
15679    ],
15680    shared_libs: [
15681        "libandroid",
15682        "liblog",
15683        "libprotobuf-cpp-lite",
15684        "libz",
15685    ],
15686    generated_headers: [
15687        "cronet_aml_base_allocator_buildflags__testing",
15688        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
15689        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
15690        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
15691        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
15692        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
15693        "cronet_aml_base_anchor_functions_buildflags__testing",
15694        "cronet_aml_base_build_date__testing",
15695        "cronet_aml_base_cfi_buildflags__testing",
15696        "cronet_aml_base_check_version_internal_action__testing",
15697        "cronet_aml_base_clang_profiling_buildflags__testing",
15698        "cronet_aml_base_debugging_buildflags__testing",
15699        "cronet_aml_base_feature_list_buildflags__testing",
15700        "cronet_aml_base_fuzzing_buildflags__testing",
15701        "cronet_aml_base_ios_cronet_buildflags__testing",
15702        "cronet_aml_base_logging_buildflags__testing",
15703        "cronet_aml_base_message_pump_buildflags__testing",
15704        "cronet_aml_base_orderfile_buildflags__testing",
15705        "cronet_aml_base_power_monitor_buildflags__testing",
15706        "cronet_aml_base_profiler_buildflags__testing",
15707        "cronet_aml_base_protected_memory_buildflags__testing",
15708        "cronet_aml_base_rust_buildflags__testing",
15709        "cronet_aml_base_sanitizer_buildflags__testing",
15710        "cronet_aml_base_synchronization_buildflags__testing",
15711        "cronet_aml_base_tracing_buildflags__testing",
15712        "cronet_aml_build_blink_buildflags__testing",
15713        "cronet_aml_build_branding_buildflags__testing",
15714        "cronet_aml_build_chromecast_buildflags__testing",
15715        "cronet_aml_build_chromeos_buildflags__testing",
15716        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
15717        "cronet_aml_build_ios_buildflags__testing",
15718        "cronet_aml_build_robolectric_buildflags__testing",
15719        "cronet_aml_components_cronet_cronet_buildflags__testing",
15720        "cronet_aml_components_cronet_cronet_version_header_action__testing",
15721        "cronet_aml_components_prefs_android_jni_headers__action__testing",
15722        "cronet_aml_crypto_buildflags__testing",
15723        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
15724        "cronet_aml_net_buildflags__testing",
15725        "cronet_aml_net_cronet_buildflags__testing",
15726        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
15727        "cronet_aml_net_net_jni_headers__action__testing",
15728        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
15729        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
15730        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
15731        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
15732        "cronet_aml_url_buildflags__testing",
15733        "cronet_aml_url_url_jni_headers__action__testing",
15734    ],
15735    export_generated_headers: [
15736        "cronet_aml_base_allocator_buildflags__testing",
15737        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
15738        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
15739        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
15740        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
15741        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
15742        "cronet_aml_base_anchor_functions_buildflags__testing",
15743        "cronet_aml_base_build_date__testing",
15744        "cronet_aml_base_cfi_buildflags__testing",
15745        "cronet_aml_base_check_version_internal_action__testing",
15746        "cronet_aml_base_clang_profiling_buildflags__testing",
15747        "cronet_aml_base_debugging_buildflags__testing",
15748        "cronet_aml_base_feature_list_buildflags__testing",
15749        "cronet_aml_base_fuzzing_buildflags__testing",
15750        "cronet_aml_base_ios_cronet_buildflags__testing",
15751        "cronet_aml_base_logging_buildflags__testing",
15752        "cronet_aml_base_message_pump_buildflags__testing",
15753        "cronet_aml_base_orderfile_buildflags__testing",
15754        "cronet_aml_base_power_monitor_buildflags__testing",
15755        "cronet_aml_base_profiler_buildflags__testing",
15756        "cronet_aml_base_protected_memory_buildflags__testing",
15757        "cronet_aml_base_rust_buildflags__testing",
15758        "cronet_aml_base_sanitizer_buildflags__testing",
15759        "cronet_aml_base_synchronization_buildflags__testing",
15760        "cronet_aml_base_tracing_buildflags__testing",
15761        "cronet_aml_build_blink_buildflags__testing",
15762        "cronet_aml_build_branding_buildflags__testing",
15763        "cronet_aml_build_chromecast_buildflags__testing",
15764        "cronet_aml_build_chromeos_buildflags__testing",
15765        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
15766        "cronet_aml_build_ios_buildflags__testing",
15767        "cronet_aml_build_robolectric_buildflags__testing",
15768        "cronet_aml_components_cronet_cronet_buildflags__testing",
15769        "cronet_aml_components_cronet_cronet_version_header_action__testing",
15770        "cronet_aml_components_prefs_android_jni_headers__action__testing",
15771        "cronet_aml_crypto_buildflags__testing",
15772        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
15773        "cronet_aml_net_buildflags__testing",
15774        "cronet_aml_net_cronet_buildflags__testing",
15775        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
15776        "cronet_aml_net_net_jni_headers__action__testing",
15777        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
15778        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
15779        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
15780        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
15781        "cronet_aml_url_buildflags__testing",
15782        "cronet_aml_url_url_jni_headers__action__testing",
15783    ],
15784    defaults: [
15785        "cronet_aml_cc_defaults",
15786    ],
15787    cflags: [
15788        "-DANDROID",
15789        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
15790        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
15791        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
15792        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
15793        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15794        "-DGOOGLE_PROTOBUF_NO_RTTI",
15795        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15796        "-DHAVE_PTHREAD",
15797        "-DHAVE_SYS_UIO_H",
15798        "-DNDEBUG",
15799        "-DNO_UNWIND_TABLES",
15800        "-DNVALGRIND",
15801        "-DOFFICIAL_BUILD",
15802        "-D_GNU_SOURCE",
15803        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15804        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
15805        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
15806        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
15807        "-D__STDC_CONSTANT_MACROS",
15808        "-D__STDC_FORMAT_MACROS",
15809        "-fdata-sections",
15810        "-ffunction-sections",
15811        "-fno-asynchronous-unwind-tables",
15812        "-fno-unwind-tables",
15813        "-fstack-protector",
15814        "-fvisibility-inlines-hidden",
15815        "-fvisibility=hidden",
15816        "-g1",
15817    ],
15818    local_include_dirs: [
15819        "./",
15820        "base/allocator/partition_allocator/src/",
15821        "buildtools/third_party/libc++/",
15822        "net/third_party/quiche/overrides/",
15823        "net/third_party/quiche/src/",
15824        "net/third_party/quiche/src/quiche/common/platform/default/",
15825        "third_party/abseil-cpp/",
15826        "third_party/boringssl/src/include/",
15827        "third_party/libc++/src/include",
15828        "third_party/libc++abi/src/include",
15829        "third_party/protobuf/src/",
15830    ],
15831    cpp_std: "c++20",
15832    ldflags: [
15833        "-Wl,--as-needed",
15834        "-Wl,--gc-sections",
15835        "-Wl,--icf=all",
15836        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
15837        "-Wl,-wrap,asprintf",
15838        "-Wl,-wrap,calloc",
15839        "-Wl,-wrap,free",
15840        "-Wl,-wrap,getcwd",
15841        "-Wl,-wrap,malloc",
15842        "-Wl,-wrap,malloc_usable_size",
15843        "-Wl,-wrap,memalign",
15844        "-Wl,-wrap,posix_memalign",
15845        "-Wl,-wrap,pvalloc",
15846        "-Wl,-wrap,realloc",
15847        "-Wl,-wrap,realpath",
15848        "-Wl,-wrap,strdup",
15849        "-Wl,-wrap,strndup",
15850        "-Wl,-wrap,valloc",
15851        "-Wl,-wrap,vasprintf",
15852    ],
15853    target: {
15854        android_arm: {
15855            cflags: [
15856                "-D_FORTIFY_SOURCE=2",
15857            ],
15858        },
15859        android_arm64: {
15860            cflags: [
15861                "-D_FORTIFY_SOURCE=2",
15862                "-O2",
15863                "-mno-outline",
15864            ],
15865        },
15866        android_x86: {
15867            cflags: [
15868                "-D_FORTIFY_SOURCE=2",
15869                "-msse3",
15870            ],
15871        },
15872        android_x86_64: {
15873            cflags: [
15874                "-D_FORTIFY_SOURCE=2",
15875                "-msse3",
15876            ],
15877        },
15878    },
15879}
15880
15881// GN: //components/cronet:cronet_common_unittests__testing
15882cc_library_static {
15883    name: "cronet_aml_components_cronet_cronet_common_unittests__testing",
15884    srcs: [
15885        "components/cronet/host_cache_persistence_manager_unittest.cc",
15886        "components/cronet/network_tasks_unittest.cc",
15887        "components/cronet/stale_host_resolver_unittest.cc",
15888        "components/cronet/url_request_context_config_unittest.cc",
15889    ],
15890    shared_libs: [
15891        "libandroid",
15892        "liblog",
15893        "libprotobuf-cpp-lite",
15894        "libz",
15895    ],
15896    generated_headers: [
15897        "cronet_aml_base_allocator_buildflags__testing",
15898        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
15899        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
15900        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
15901        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
15902        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
15903        "cronet_aml_base_anchor_functions_buildflags__testing",
15904        "cronet_aml_base_build_date__testing",
15905        "cronet_aml_base_cfi_buildflags__testing",
15906        "cronet_aml_base_check_version_internal_action__testing",
15907        "cronet_aml_base_clang_profiling_buildflags__testing",
15908        "cronet_aml_base_debugging_buildflags__testing",
15909        "cronet_aml_base_feature_list_buildflags__testing",
15910        "cronet_aml_base_fuzzing_buildflags__testing",
15911        "cronet_aml_base_ios_cronet_buildflags__testing",
15912        "cronet_aml_base_logging_buildflags__testing",
15913        "cronet_aml_base_message_pump_buildflags__testing",
15914        "cronet_aml_base_orderfile_buildflags__testing",
15915        "cronet_aml_base_power_monitor_buildflags__testing",
15916        "cronet_aml_base_profiler_buildflags__testing",
15917        "cronet_aml_base_protected_memory_buildflags__testing",
15918        "cronet_aml_base_rust_buildflags__testing",
15919        "cronet_aml_base_sanitizer_buildflags__testing",
15920        "cronet_aml_base_synchronization_buildflags__testing",
15921        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
15922        "cronet_aml_base_test_test_support_jni_headers__action__testing",
15923        "cronet_aml_base_tracing_buildflags__testing",
15924        "cronet_aml_build_blink_buildflags__testing",
15925        "cronet_aml_build_branding_buildflags__testing",
15926        "cronet_aml_build_chromecast_buildflags__testing",
15927        "cronet_aml_build_chromeos_buildflags__testing",
15928        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
15929        "cronet_aml_build_ios_buildflags__testing",
15930        "cronet_aml_build_robolectric_buildflags__testing",
15931        "cronet_aml_components_cronet_cronet_buildflags__testing",
15932        "cronet_aml_components_cronet_cronet_version_header_action__testing",
15933        "cronet_aml_components_prefs_android_jni_headers__action__testing",
15934        "cronet_aml_crypto_buildflags__testing",
15935        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
15936        "cronet_aml_net_buildflags__testing",
15937        "cronet_aml_net_cronet_buildflags__testing",
15938        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
15939        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
15940        "cronet_aml_net_net_jni_headers__action__testing",
15941        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
15942        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
15943        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
15944        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
15945        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
15946        "cronet_aml_url_buildflags__testing",
15947        "cronet_aml_url_url_jni_headers__action__testing",
15948    ],
15949    export_generated_headers: [
15950        "cronet_aml_base_allocator_buildflags__testing",
15951        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
15952        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
15953        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
15954        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
15955        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
15956        "cronet_aml_base_anchor_functions_buildflags__testing",
15957        "cronet_aml_base_build_date__testing",
15958        "cronet_aml_base_cfi_buildflags__testing",
15959        "cronet_aml_base_check_version_internal_action__testing",
15960        "cronet_aml_base_clang_profiling_buildflags__testing",
15961        "cronet_aml_base_debugging_buildflags__testing",
15962        "cronet_aml_base_feature_list_buildflags__testing",
15963        "cronet_aml_base_fuzzing_buildflags__testing",
15964        "cronet_aml_base_ios_cronet_buildflags__testing",
15965        "cronet_aml_base_logging_buildflags__testing",
15966        "cronet_aml_base_message_pump_buildflags__testing",
15967        "cronet_aml_base_orderfile_buildflags__testing",
15968        "cronet_aml_base_power_monitor_buildflags__testing",
15969        "cronet_aml_base_profiler_buildflags__testing",
15970        "cronet_aml_base_protected_memory_buildflags__testing",
15971        "cronet_aml_base_rust_buildflags__testing",
15972        "cronet_aml_base_sanitizer_buildflags__testing",
15973        "cronet_aml_base_synchronization_buildflags__testing",
15974        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
15975        "cronet_aml_base_test_test_support_jni_headers__action__testing",
15976        "cronet_aml_base_tracing_buildflags__testing",
15977        "cronet_aml_build_blink_buildflags__testing",
15978        "cronet_aml_build_branding_buildflags__testing",
15979        "cronet_aml_build_chromecast_buildflags__testing",
15980        "cronet_aml_build_chromeos_buildflags__testing",
15981        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
15982        "cronet_aml_build_ios_buildflags__testing",
15983        "cronet_aml_build_robolectric_buildflags__testing",
15984        "cronet_aml_components_cronet_cronet_buildflags__testing",
15985        "cronet_aml_components_cronet_cronet_version_header_action__testing",
15986        "cronet_aml_components_prefs_android_jni_headers__action__testing",
15987        "cronet_aml_crypto_buildflags__testing",
15988        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
15989        "cronet_aml_net_buildflags__testing",
15990        "cronet_aml_net_cronet_buildflags__testing",
15991        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
15992        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
15993        "cronet_aml_net_net_jni_headers__action__testing",
15994        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
15995        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
15996        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
15997        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
15998        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
15999        "cronet_aml_url_buildflags__testing",
16000        "cronet_aml_url_url_jni_headers__action__testing",
16001    ],
16002    defaults: [
16003        "cronet_aml_cc_defaults",
16004    ],
16005    cflags: [
16006        "-DANDROID",
16007        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
16008        "-DBENCHMARK_STATIC_DEFINE",
16009        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
16010        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
16011        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16012        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
16013        "-DGOOGLE_PROTOBUF_NO_RTTI",
16014        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
16015        "-DGTEST_API_=",
16016        "-DGTEST_HAS_ABSL",
16017        "-DGTEST_HAS_POSIX_RE=0",
16018        "-DGTEST_HAS_TR1_TUPLE=0",
16019        "-DGTEST_LANG_CXX11=1",
16020        "-DGTEST_NO_ABSL_FLAGS",
16021        "-DHAVE_PTHREAD",
16022        "-DHAVE_SYS_UIO_H",
16023        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
16024        "-DNDEBUG",
16025        "-DNO_UNWIND_TABLES",
16026        "-DNVALGRIND",
16027        "-DOFFICIAL_BUILD",
16028        "-DUNIT_TEST",
16029        "-DUSE_CHROMIUM_ICU=1",
16030        "-DUSE_REMOTE_TEST_SERVER",
16031        "-DU_ENABLE_DYLOAD=0",
16032        "-DU_ENABLE_RESOURCE_TRACING=0",
16033        "-DU_ENABLE_TRACING=1",
16034        "-DU_STATIC_IMPLEMENTATION",
16035        "-DU_USING_ICU_NAMESPACE=0",
16036        "-D_GNU_SOURCE",
16037        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16038        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
16039        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16040        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
16041        "-D__STDC_CONSTANT_MACROS",
16042        "-D__STDC_FORMAT_MACROS",
16043        "-fdata-sections",
16044        "-ffunction-sections",
16045        "-fno-asynchronous-unwind-tables",
16046        "-fno-unwind-tables",
16047        "-fstack-protector",
16048        "-fvisibility-inlines-hidden",
16049        "-fvisibility=hidden",
16050        "-g1",
16051    ],
16052    local_include_dirs: [
16053        "./",
16054        "base/allocator/partition_allocator/src/",
16055        "buildtools/third_party/libc++/",
16056        "net/third_party/quiche/overrides/",
16057        "net/third_party/quiche/src/",
16058        "net/third_party/quiche/src/quiche/common/platform/default/",
16059        "third_party/abseil-cpp/",
16060        "third_party/boringssl/src/include/",
16061        "third_party/ced/src/",
16062        "third_party/google_benchmark/src/include/",
16063        "third_party/googletest/custom/",
16064        "third_party/googletest/src/googlemock/include/",
16065        "third_party/googletest/src/googletest/include/",
16066        "third_party/icu/source/common/",
16067        "third_party/icu/source/i18n/",
16068        "third_party/libc++/src/include",
16069        "third_party/libc++abi/src/include",
16070        "third_party/protobuf/src/",
16071        "third_party/re2/src/",
16072    ],
16073    cpp_std: "c++20",
16074    ldflags: [
16075        "-Wl,--as-needed",
16076        "-Wl,--gc-sections",
16077        "-Wl,--icf=all",
16078        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
16079        "-Wl,-wrap,asprintf",
16080        "-Wl,-wrap,calloc",
16081        "-Wl,-wrap,free",
16082        "-Wl,-wrap,getcwd",
16083        "-Wl,-wrap,malloc",
16084        "-Wl,-wrap,malloc_usable_size",
16085        "-Wl,-wrap,memalign",
16086        "-Wl,-wrap,posix_memalign",
16087        "-Wl,-wrap,pvalloc",
16088        "-Wl,-wrap,realloc",
16089        "-Wl,-wrap,realpath",
16090        "-Wl,-wrap,strdup",
16091        "-Wl,-wrap,strndup",
16092        "-Wl,-wrap,valloc",
16093        "-Wl,-wrap,vasprintf",
16094    ],
16095    target: {
16096        android_arm: {
16097            cflags: [
16098                "-D_FORTIFY_SOURCE=2",
16099            ],
16100        },
16101        android_arm64: {
16102            cflags: [
16103                "-D_FORTIFY_SOURCE=2",
16104                "-O2",
16105                "-mno-outline",
16106            ],
16107        },
16108        android_x86: {
16109            cflags: [
16110                "-D_FORTIFY_SOURCE=2",
16111                "-msse3",
16112            ],
16113        },
16114        android_x86_64: {
16115            cflags: [
16116                "-D_FORTIFY_SOURCE=2",
16117                "-msse3",
16118            ],
16119        },
16120    },
16121}
16122
16123// GN: //components/cronet:cronet_version_header
16124cc_library_static {
16125    name: "cronet_aml_components_cronet_cronet_version_header",
16126    generated_headers: [
16127        "cronet_aml_components_cronet_cronet_version_header_action",
16128    ],
16129    export_generated_headers: [
16130        "cronet_aml_components_cronet_cronet_version_header_action",
16131    ],
16132    defaults: [
16133        "cronet_aml_cc_defaults",
16134    ],
16135    cflags: [
16136        "-DANDROID",
16137        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
16138        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
16139        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
16140        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16141        "-DHAVE_SYS_UIO_H",
16142        "-DNDEBUG",
16143        "-DNO_UNWIND_TABLES",
16144        "-DNVALGRIND",
16145        "-DOFFICIAL_BUILD",
16146        "-D_GNU_SOURCE",
16147        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16148        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
16149        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16150        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
16151        "-D__STDC_CONSTANT_MACROS",
16152        "-D__STDC_FORMAT_MACROS",
16153        "-fdata-sections",
16154        "-ffunction-sections",
16155        "-fno-asynchronous-unwind-tables",
16156        "-fno-unwind-tables",
16157        "-fstack-protector",
16158        "-fvisibility-inlines-hidden",
16159        "-fvisibility=hidden",
16160        "-g1",
16161    ],
16162    local_include_dirs: [
16163        "./",
16164        "buildtools/third_party/libc++/",
16165        "third_party/libc++/src/include",
16166        "third_party/libc++abi/src/include",
16167    ],
16168    cpp_std: "c++20",
16169    ldflags: [
16170        "-Wl,--as-needed",
16171        "-Wl,--gc-sections",
16172        "-Wl,--icf=all",
16173    ],
16174    target: {
16175        android_arm: {
16176            cflags: [
16177                "-D_FORTIFY_SOURCE=2",
16178            ],
16179        },
16180        android_arm64: {
16181            cflags: [
16182                "-D_FORTIFY_SOURCE=2",
16183                "-O2",
16184                "-mno-outline",
16185            ],
16186        },
16187        android_x86: {
16188            cflags: [
16189                "-D_FORTIFY_SOURCE=2",
16190                "-msse3",
16191            ],
16192        },
16193        android_x86_64: {
16194            cflags: [
16195                "-D_FORTIFY_SOURCE=2",
16196                "-msse3",
16197            ],
16198        },
16199    },
16200}
16201
16202// GN: //components/cronet:cronet_version_header__testing
16203cc_library_static {
16204    name: "cronet_aml_components_cronet_cronet_version_header__testing",
16205    generated_headers: [
16206        "cronet_aml_components_cronet_cronet_version_header_action__testing",
16207    ],
16208    export_generated_headers: [
16209        "cronet_aml_components_cronet_cronet_version_header_action__testing",
16210    ],
16211    defaults: [
16212        "cronet_aml_cc_defaults",
16213    ],
16214    cflags: [
16215        "-DANDROID",
16216        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
16217        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
16218        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
16219        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16220        "-DHAVE_SYS_UIO_H",
16221        "-DNDEBUG",
16222        "-DNO_UNWIND_TABLES",
16223        "-DNVALGRIND",
16224        "-DOFFICIAL_BUILD",
16225        "-D_GNU_SOURCE",
16226        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16227        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
16228        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16229        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
16230        "-D__STDC_CONSTANT_MACROS",
16231        "-D__STDC_FORMAT_MACROS",
16232        "-fdata-sections",
16233        "-ffunction-sections",
16234        "-fno-asynchronous-unwind-tables",
16235        "-fno-unwind-tables",
16236        "-fstack-protector",
16237        "-fvisibility-inlines-hidden",
16238        "-fvisibility=hidden",
16239        "-g1",
16240    ],
16241    local_include_dirs: [
16242        "./",
16243        "buildtools/third_party/libc++/",
16244        "third_party/libc++/src/include",
16245        "third_party/libc++abi/src/include",
16246    ],
16247    cpp_std: "c++20",
16248    ldflags: [
16249        "-Wl,--as-needed",
16250        "-Wl,--gc-sections",
16251        "-Wl,--icf=all",
16252    ],
16253    target: {
16254        android_arm: {
16255            cflags: [
16256                "-D_FORTIFY_SOURCE=2",
16257            ],
16258        },
16259        android_arm64: {
16260            cflags: [
16261                "-D_FORTIFY_SOURCE=2",
16262                "-O2",
16263                "-mno-outline",
16264            ],
16265        },
16266        android_x86: {
16267            cflags: [
16268                "-D_FORTIFY_SOURCE=2",
16269                "-msse3",
16270            ],
16271        },
16272        android_x86_64: {
16273            cflags: [
16274                "-D_FORTIFY_SOURCE=2",
16275                "-msse3",
16276            ],
16277        },
16278    },
16279}
16280
16281// GN: //components/cronet:cronet_version_header_action
16282cc_genrule {
16283    name: "cronet_aml_components_cronet_cronet_version_header_action",
16284    cmd: "mkdir -p $(genDir)/components/cronet && $(location build/util/version.py) --official " +
16285         "-f " +
16286         "$(location chrome/VERSION) " +
16287         "-e " +
16288         "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
16289         "-o " +
16290         "$(out) " +
16291         "$(location components/cronet/version.h.in)",
16292    out: [
16293        "components/cronet/version.h",
16294    ],
16295    tool_files: [
16296        "build/util/LASTCHANGE",
16297        "build/util/android_chrome_version.py",
16298        "build/util/version.py",
16299        "chrome/VERSION",
16300        "components/cronet/version.h.in",
16301    ],
16302    apex_available: [
16303        "com.android.tethering",
16304    ],
16305}
16306
16307// GN: //components/cronet:cronet_version_header_action__testing
16308cc_genrule {
16309    name: "cronet_aml_components_cronet_cronet_version_header_action__testing",
16310    cmd: "mkdir -p $(genDir)/components/cronet && $(location build/util/version.py) --official " +
16311         "-f " +
16312         "$(location chrome/VERSION) " +
16313         "-e " +
16314         "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
16315         "-o " +
16316         "$(out) " +
16317         "$(location components/cronet/version.h.in)",
16318    out: [
16319        "components/cronet/version.h",
16320    ],
16321    tool_files: [
16322        "build/util/LASTCHANGE",
16323        "build/util/android_chrome_version.py",
16324        "build/util/version.py",
16325        "chrome/VERSION",
16326        "components/cronet/version.h.in",
16327    ],
16328    apex_available: [
16329        "com.android.tethering",
16330    ],
16331}
16332
16333// GN: //components/cronet:metrics_util
16334cc_library_static {
16335    name: "cronet_aml_components_cronet_metrics_util",
16336    srcs: [
16337        "components/cronet/metrics_util.cc",
16338    ],
16339    shared_libs: [
16340        "//external/cronet/third_party/boringssl:libcrypto",
16341        "//external/cronet/third_party/boringssl:libpki",
16342        "//external/cronet/third_party/boringssl:libssl",
16343        "libandroid",
16344        "liblog",
16345    ],
16346    generated_headers: [
16347        "cronet_aml_base_allocator_buildflags",
16348        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
16349        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
16350        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
16351        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
16352        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
16353        "cronet_aml_base_anchor_functions_buildflags",
16354        "cronet_aml_base_android_runtime_jni_headers__action",
16355        "cronet_aml_base_base_jni__action",
16356        "cronet_aml_base_base_shared_preferences_jni__action",
16357        "cronet_aml_base_build_date",
16358        "cronet_aml_base_cfi_buildflags",
16359        "cronet_aml_base_check_version_internal_action",
16360        "cronet_aml_base_clang_profiling_buildflags",
16361        "cronet_aml_base_debugging_buildflags",
16362        "cronet_aml_base_feature_list_buildflags",
16363        "cronet_aml_base_fuzzing_buildflags",
16364        "cronet_aml_base_ios_cronet_buildflags",
16365        "cronet_aml_base_logging_buildflags",
16366        "cronet_aml_base_message_pump_buildflags",
16367        "cronet_aml_base_orderfile_buildflags",
16368        "cronet_aml_base_power_monitor_buildflags",
16369        "cronet_aml_base_process_launcher_jni__action",
16370        "cronet_aml_base_profiler_buildflags",
16371        "cronet_aml_base_protected_memory_buildflags",
16372        "cronet_aml_base_rust_buildflags",
16373        "cronet_aml_base_sanitizer_buildflags",
16374        "cronet_aml_base_synchronization_buildflags",
16375        "cronet_aml_base_tracing_buildflags",
16376        "cronet_aml_build_blink_buildflags",
16377        "cronet_aml_build_branding_buildflags",
16378        "cronet_aml_build_chromecast_buildflags",
16379        "cronet_aml_build_chromeos_buildflags",
16380        "cronet_aml_build_config_compiler_compiler_buildflags",
16381        "cronet_aml_build_ios_buildflags",
16382        "cronet_aml_build_robolectric_buildflags",
16383    ],
16384    export_generated_headers: [
16385        "cronet_aml_base_allocator_buildflags",
16386        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
16387        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
16388        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
16389        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
16390        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
16391        "cronet_aml_base_anchor_functions_buildflags",
16392        "cronet_aml_base_android_runtime_jni_headers__action",
16393        "cronet_aml_base_base_jni__action",
16394        "cronet_aml_base_base_shared_preferences_jni__action",
16395        "cronet_aml_base_build_date",
16396        "cronet_aml_base_cfi_buildflags",
16397        "cronet_aml_base_check_version_internal_action",
16398        "cronet_aml_base_clang_profiling_buildflags",
16399        "cronet_aml_base_debugging_buildflags",
16400        "cronet_aml_base_feature_list_buildflags",
16401        "cronet_aml_base_fuzzing_buildflags",
16402        "cronet_aml_base_ios_cronet_buildflags",
16403        "cronet_aml_base_logging_buildflags",
16404        "cronet_aml_base_message_pump_buildflags",
16405        "cronet_aml_base_orderfile_buildflags",
16406        "cronet_aml_base_power_monitor_buildflags",
16407        "cronet_aml_base_process_launcher_jni__action",
16408        "cronet_aml_base_profiler_buildflags",
16409        "cronet_aml_base_protected_memory_buildflags",
16410        "cronet_aml_base_rust_buildflags",
16411        "cronet_aml_base_sanitizer_buildflags",
16412        "cronet_aml_base_synchronization_buildflags",
16413        "cronet_aml_base_tracing_buildflags",
16414        "cronet_aml_build_blink_buildflags",
16415        "cronet_aml_build_branding_buildflags",
16416        "cronet_aml_build_chromecast_buildflags",
16417        "cronet_aml_build_chromeos_buildflags",
16418        "cronet_aml_build_config_compiler_compiler_buildflags",
16419        "cronet_aml_build_ios_buildflags",
16420        "cronet_aml_build_robolectric_buildflags",
16421    ],
16422    defaults: [
16423        "cronet_aml_cc_defaults",
16424    ],
16425    cflags: [
16426        "-DANDROID",
16427        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
16428        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
16429        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
16430        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16431        "-DHAVE_SYS_UIO_H",
16432        "-DNDEBUG",
16433        "-DNO_UNWIND_TABLES",
16434        "-DNVALGRIND",
16435        "-DOFFICIAL_BUILD",
16436        "-D_GNU_SOURCE",
16437        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16438        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
16439        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16440        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
16441        "-D__STDC_CONSTANT_MACROS",
16442        "-D__STDC_FORMAT_MACROS",
16443        "-fdata-sections",
16444        "-ffunction-sections",
16445        "-fno-asynchronous-unwind-tables",
16446        "-fno-unwind-tables",
16447        "-fstack-protector",
16448        "-fvisibility-inlines-hidden",
16449        "-fvisibility=hidden",
16450        "-g1",
16451    ],
16452    local_include_dirs: [
16453        "./",
16454        "base/allocator/partition_allocator/src/",
16455        "buildtools/third_party/libc++/",
16456        "third_party/abseil-cpp/",
16457        "third_party/boringssl/src/include/",
16458        "third_party/libc++/src/include",
16459        "third_party/libc++abi/src/include",
16460    ],
16461    cpp_std: "c++20",
16462    ldflags: [
16463        "-Wl,--as-needed",
16464        "-Wl,--gc-sections",
16465        "-Wl,--icf=all",
16466        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
16467        "-Wl,-wrap,asprintf",
16468        "-Wl,-wrap,calloc",
16469        "-Wl,-wrap,free",
16470        "-Wl,-wrap,getcwd",
16471        "-Wl,-wrap,malloc",
16472        "-Wl,-wrap,malloc_usable_size",
16473        "-Wl,-wrap,memalign",
16474        "-Wl,-wrap,posix_memalign",
16475        "-Wl,-wrap,pvalloc",
16476        "-Wl,-wrap,realloc",
16477        "-Wl,-wrap,realpath",
16478        "-Wl,-wrap,strdup",
16479        "-Wl,-wrap,strndup",
16480        "-Wl,-wrap,valloc",
16481        "-Wl,-wrap,vasprintf",
16482    ],
16483    target: {
16484        android_arm: {
16485            cflags: [
16486                "-D_FORTIFY_SOURCE=2",
16487            ],
16488        },
16489        android_arm64: {
16490            cflags: [
16491                "-D_FORTIFY_SOURCE=2",
16492                "-O2",
16493                "-mno-outline",
16494            ],
16495        },
16496        android_x86: {
16497            cflags: [
16498                "-D_FORTIFY_SOURCE=2",
16499                "-msse3",
16500            ],
16501        },
16502        android_x86_64: {
16503            cflags: [
16504                "-D_FORTIFY_SOURCE=2",
16505                "-msse3",
16506            ],
16507        },
16508    },
16509}
16510
16511// GN: //components/cronet:metrics_util__testing
16512cc_library_static {
16513    name: "cronet_aml_components_cronet_metrics_util__testing",
16514    srcs: [
16515        "components/cronet/metrics_util.cc",
16516    ],
16517    shared_libs: [
16518        "libandroid",
16519        "liblog",
16520    ],
16521    generated_headers: [
16522        "cronet_aml_base_allocator_buildflags__testing",
16523        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
16524        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
16525        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
16526        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
16527        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
16528        "cronet_aml_base_anchor_functions_buildflags__testing",
16529        "cronet_aml_base_build_date__testing",
16530        "cronet_aml_base_cfi_buildflags__testing",
16531        "cronet_aml_base_check_version_internal_action__testing",
16532        "cronet_aml_base_clang_profiling_buildflags__testing",
16533        "cronet_aml_base_debugging_buildflags__testing",
16534        "cronet_aml_base_feature_list_buildflags__testing",
16535        "cronet_aml_base_fuzzing_buildflags__testing",
16536        "cronet_aml_base_ios_cronet_buildflags__testing",
16537        "cronet_aml_base_logging_buildflags__testing",
16538        "cronet_aml_base_message_pump_buildflags__testing",
16539        "cronet_aml_base_orderfile_buildflags__testing",
16540        "cronet_aml_base_power_monitor_buildflags__testing",
16541        "cronet_aml_base_profiler_buildflags__testing",
16542        "cronet_aml_base_protected_memory_buildflags__testing",
16543        "cronet_aml_base_rust_buildflags__testing",
16544        "cronet_aml_base_sanitizer_buildflags__testing",
16545        "cronet_aml_base_synchronization_buildflags__testing",
16546        "cronet_aml_base_tracing_buildflags__testing",
16547        "cronet_aml_build_blink_buildflags__testing",
16548        "cronet_aml_build_branding_buildflags__testing",
16549        "cronet_aml_build_chromecast_buildflags__testing",
16550        "cronet_aml_build_chromeos_buildflags__testing",
16551        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
16552        "cronet_aml_build_ios_buildflags__testing",
16553    ],
16554    export_generated_headers: [
16555        "cronet_aml_base_allocator_buildflags__testing",
16556        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
16557        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
16558        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
16559        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
16560        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
16561        "cronet_aml_base_anchor_functions_buildflags__testing",
16562        "cronet_aml_base_build_date__testing",
16563        "cronet_aml_base_cfi_buildflags__testing",
16564        "cronet_aml_base_check_version_internal_action__testing",
16565        "cronet_aml_base_clang_profiling_buildflags__testing",
16566        "cronet_aml_base_debugging_buildflags__testing",
16567        "cronet_aml_base_feature_list_buildflags__testing",
16568        "cronet_aml_base_fuzzing_buildflags__testing",
16569        "cronet_aml_base_ios_cronet_buildflags__testing",
16570        "cronet_aml_base_logging_buildflags__testing",
16571        "cronet_aml_base_message_pump_buildflags__testing",
16572        "cronet_aml_base_orderfile_buildflags__testing",
16573        "cronet_aml_base_power_monitor_buildflags__testing",
16574        "cronet_aml_base_profiler_buildflags__testing",
16575        "cronet_aml_base_protected_memory_buildflags__testing",
16576        "cronet_aml_base_rust_buildflags__testing",
16577        "cronet_aml_base_sanitizer_buildflags__testing",
16578        "cronet_aml_base_synchronization_buildflags__testing",
16579        "cronet_aml_base_tracing_buildflags__testing",
16580        "cronet_aml_build_blink_buildflags__testing",
16581        "cronet_aml_build_branding_buildflags__testing",
16582        "cronet_aml_build_chromecast_buildflags__testing",
16583        "cronet_aml_build_chromeos_buildflags__testing",
16584        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
16585        "cronet_aml_build_ios_buildflags__testing",
16586    ],
16587    defaults: [
16588        "cronet_aml_cc_defaults",
16589    ],
16590    cflags: [
16591        "-DANDROID",
16592        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
16593        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
16594        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
16595        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16596        "-DHAVE_SYS_UIO_H",
16597        "-DNDEBUG",
16598        "-DNO_UNWIND_TABLES",
16599        "-DNVALGRIND",
16600        "-DOFFICIAL_BUILD",
16601        "-D_GNU_SOURCE",
16602        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16603        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
16604        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16605        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
16606        "-D__STDC_CONSTANT_MACROS",
16607        "-D__STDC_FORMAT_MACROS",
16608        "-fdata-sections",
16609        "-ffunction-sections",
16610        "-fno-asynchronous-unwind-tables",
16611        "-fno-unwind-tables",
16612        "-fstack-protector",
16613        "-fvisibility-inlines-hidden",
16614        "-fvisibility=hidden",
16615        "-g1",
16616    ],
16617    local_include_dirs: [
16618        "./",
16619        "base/allocator/partition_allocator/src/",
16620        "buildtools/third_party/libc++/",
16621        "third_party/abseil-cpp/",
16622        "third_party/boringssl/src/include/",
16623        "third_party/libc++/src/include",
16624        "third_party/libc++abi/src/include",
16625    ],
16626    cpp_std: "c++20",
16627    ldflags: [
16628        "-Wl,--as-needed",
16629        "-Wl,--gc-sections",
16630        "-Wl,--icf=all",
16631        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
16632        "-Wl,-wrap,asprintf",
16633        "-Wl,-wrap,calloc",
16634        "-Wl,-wrap,free",
16635        "-Wl,-wrap,getcwd",
16636        "-Wl,-wrap,malloc",
16637        "-Wl,-wrap,malloc_usable_size",
16638        "-Wl,-wrap,memalign",
16639        "-Wl,-wrap,posix_memalign",
16640        "-Wl,-wrap,pvalloc",
16641        "-Wl,-wrap,realloc",
16642        "-Wl,-wrap,realpath",
16643        "-Wl,-wrap,strdup",
16644        "-Wl,-wrap,strndup",
16645        "-Wl,-wrap,valloc",
16646        "-Wl,-wrap,vasprintf",
16647    ],
16648    target: {
16649        android_arm: {
16650            cflags: [
16651                "-D_FORTIFY_SOURCE=2",
16652            ],
16653        },
16654        android_arm64: {
16655            cflags: [
16656                "-D_FORTIFY_SOURCE=2",
16657                "-O2",
16658                "-mno-outline",
16659            ],
16660        },
16661        android_x86: {
16662            cflags: [
16663                "-D_FORTIFY_SOURCE=2",
16664                "-msse3",
16665            ],
16666        },
16667        android_x86_64: {
16668            cflags: [
16669                "-D_FORTIFY_SOURCE=2",
16670                "-msse3",
16671            ],
16672        },
16673    },
16674}
16675
16676// GN: //components/cronet/testing:test_support__testing
16677cc_library_static {
16678    name: "cronet_aml_components_cronet_testing_test_support__testing",
16679    srcs: [
16680        "components/cronet/testing/test_server/test_server.cc",
16681    ],
16682    shared_libs: [
16683        "libandroid",
16684        "liblog",
16685        "libprotobuf-cpp-lite",
16686        "libz",
16687    ],
16688    generated_headers: [
16689        "cronet_aml_base_allocator_buildflags__testing",
16690        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
16691        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
16692        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
16693        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
16694        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
16695        "cronet_aml_base_anchor_functions_buildflags__testing",
16696        "cronet_aml_base_build_date__testing",
16697        "cronet_aml_base_cfi_buildflags__testing",
16698        "cronet_aml_base_check_version_internal_action__testing",
16699        "cronet_aml_base_clang_profiling_buildflags__testing",
16700        "cronet_aml_base_debugging_buildflags__testing",
16701        "cronet_aml_base_feature_list_buildflags__testing",
16702        "cronet_aml_base_fuzzing_buildflags__testing",
16703        "cronet_aml_base_ios_cronet_buildflags__testing",
16704        "cronet_aml_base_logging_buildflags__testing",
16705        "cronet_aml_base_message_pump_buildflags__testing",
16706        "cronet_aml_base_orderfile_buildflags__testing",
16707        "cronet_aml_base_power_monitor_buildflags__testing",
16708        "cronet_aml_base_profiler_buildflags__testing",
16709        "cronet_aml_base_protected_memory_buildflags__testing",
16710        "cronet_aml_base_rust_buildflags__testing",
16711        "cronet_aml_base_sanitizer_buildflags__testing",
16712        "cronet_aml_base_synchronization_buildflags__testing",
16713        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
16714        "cronet_aml_base_test_test_support_jni_headers__action__testing",
16715        "cronet_aml_base_tracing_buildflags__testing",
16716        "cronet_aml_build_blink_buildflags__testing",
16717        "cronet_aml_build_branding_buildflags__testing",
16718        "cronet_aml_build_chromecast_buildflags__testing",
16719        "cronet_aml_build_chromeos_buildflags__testing",
16720        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
16721        "cronet_aml_build_ios_buildflags__testing",
16722        "cronet_aml_build_robolectric_buildflags__testing",
16723        "cronet_aml_crypto_buildflags__testing",
16724        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
16725        "cronet_aml_net_buildflags__testing",
16726        "cronet_aml_net_cronet_buildflags__testing",
16727        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
16728        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
16729        "cronet_aml_net_net_jni_headers__action__testing",
16730        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
16731        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
16732        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
16733        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
16734        "cronet_aml_url_buildflags__testing",
16735        "cronet_aml_url_url_jni_headers__action__testing",
16736    ],
16737    export_generated_headers: [
16738        "cronet_aml_base_allocator_buildflags__testing",
16739        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
16740        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
16741        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
16742        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
16743        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
16744        "cronet_aml_base_anchor_functions_buildflags__testing",
16745        "cronet_aml_base_build_date__testing",
16746        "cronet_aml_base_cfi_buildflags__testing",
16747        "cronet_aml_base_check_version_internal_action__testing",
16748        "cronet_aml_base_clang_profiling_buildflags__testing",
16749        "cronet_aml_base_debugging_buildflags__testing",
16750        "cronet_aml_base_feature_list_buildflags__testing",
16751        "cronet_aml_base_fuzzing_buildflags__testing",
16752        "cronet_aml_base_ios_cronet_buildflags__testing",
16753        "cronet_aml_base_logging_buildflags__testing",
16754        "cronet_aml_base_message_pump_buildflags__testing",
16755        "cronet_aml_base_orderfile_buildflags__testing",
16756        "cronet_aml_base_power_monitor_buildflags__testing",
16757        "cronet_aml_base_profiler_buildflags__testing",
16758        "cronet_aml_base_protected_memory_buildflags__testing",
16759        "cronet_aml_base_rust_buildflags__testing",
16760        "cronet_aml_base_sanitizer_buildflags__testing",
16761        "cronet_aml_base_synchronization_buildflags__testing",
16762        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
16763        "cronet_aml_base_test_test_support_jni_headers__action__testing",
16764        "cronet_aml_base_tracing_buildflags__testing",
16765        "cronet_aml_build_blink_buildflags__testing",
16766        "cronet_aml_build_branding_buildflags__testing",
16767        "cronet_aml_build_chromecast_buildflags__testing",
16768        "cronet_aml_build_chromeos_buildflags__testing",
16769        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
16770        "cronet_aml_build_ios_buildflags__testing",
16771        "cronet_aml_build_robolectric_buildflags__testing",
16772        "cronet_aml_crypto_buildflags__testing",
16773        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
16774        "cronet_aml_net_buildflags__testing",
16775        "cronet_aml_net_cronet_buildflags__testing",
16776        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
16777        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
16778        "cronet_aml_net_net_jni_headers__action__testing",
16779        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
16780        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
16781        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
16782        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
16783        "cronet_aml_url_buildflags__testing",
16784        "cronet_aml_url_url_jni_headers__action__testing",
16785    ],
16786    defaults: [
16787        "cronet_aml_cc_defaults",
16788    ],
16789    cflags: [
16790        "-DANDROID",
16791        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
16792        "-DBENCHMARK_STATIC_DEFINE",
16793        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
16794        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
16795        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16796        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
16797        "-DGOOGLE_PROTOBUF_NO_RTTI",
16798        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
16799        "-DGTEST_API_=",
16800        "-DGTEST_HAS_ABSL",
16801        "-DGTEST_HAS_POSIX_RE=0",
16802        "-DGTEST_HAS_TR1_TUPLE=0",
16803        "-DGTEST_LANG_CXX11=1",
16804        "-DGTEST_NO_ABSL_FLAGS",
16805        "-DHAVE_PTHREAD",
16806        "-DHAVE_SYS_UIO_H",
16807        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
16808        "-DNDEBUG",
16809        "-DNO_UNWIND_TABLES",
16810        "-DNVALGRIND",
16811        "-DOFFICIAL_BUILD",
16812        "-DUNIT_TEST",
16813        "-DUSE_CHROMIUM_ICU=1",
16814        "-DUSE_REMOTE_TEST_SERVER",
16815        "-DU_ENABLE_DYLOAD=0",
16816        "-DU_ENABLE_RESOURCE_TRACING=0",
16817        "-DU_ENABLE_TRACING=1",
16818        "-DU_STATIC_IMPLEMENTATION",
16819        "-DU_USING_ICU_NAMESPACE=0",
16820        "-D_GNU_SOURCE",
16821        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16822        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
16823        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16824        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
16825        "-D__STDC_CONSTANT_MACROS",
16826        "-D__STDC_FORMAT_MACROS",
16827        "-fdata-sections",
16828        "-ffunction-sections",
16829        "-fno-asynchronous-unwind-tables",
16830        "-fno-unwind-tables",
16831        "-fstack-protector",
16832        "-fvisibility-inlines-hidden",
16833        "-fvisibility=hidden",
16834        "-g1",
16835    ],
16836    local_include_dirs: [
16837        "./",
16838        "base/allocator/partition_allocator/src/",
16839        "buildtools/third_party/libc++/",
16840        "net/third_party/quiche/overrides/",
16841        "net/third_party/quiche/src/",
16842        "net/third_party/quiche/src/quiche/common/platform/default/",
16843        "third_party/abseil-cpp/",
16844        "third_party/boringssl/src/include/",
16845        "third_party/ced/src/",
16846        "third_party/google_benchmark/src/include/",
16847        "third_party/googletest/custom/",
16848        "third_party/googletest/src/googlemock/include/",
16849        "third_party/googletest/src/googletest/include/",
16850        "third_party/icu/source/common/",
16851        "third_party/icu/source/i18n/",
16852        "third_party/libc++/src/include",
16853        "third_party/libc++abi/src/include",
16854        "third_party/protobuf/src/",
16855        "third_party/re2/src/",
16856    ],
16857    cpp_std: "c++20",
16858    ldflags: [
16859        "-Wl,--as-needed",
16860        "-Wl,--gc-sections",
16861        "-Wl,--icf=all",
16862        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
16863        "-Wl,-wrap,asprintf",
16864        "-Wl,-wrap,calloc",
16865        "-Wl,-wrap,free",
16866        "-Wl,-wrap,getcwd",
16867        "-Wl,-wrap,malloc",
16868        "-Wl,-wrap,malloc_usable_size",
16869        "-Wl,-wrap,memalign",
16870        "-Wl,-wrap,posix_memalign",
16871        "-Wl,-wrap,pvalloc",
16872        "-Wl,-wrap,realloc",
16873        "-Wl,-wrap,realpath",
16874        "-Wl,-wrap,strdup",
16875        "-Wl,-wrap,strndup",
16876        "-Wl,-wrap,valloc",
16877        "-Wl,-wrap,vasprintf",
16878    ],
16879    target: {
16880        android_arm: {
16881            cflags: [
16882                "-D_FORTIFY_SOURCE=2",
16883            ],
16884        },
16885        android_arm64: {
16886            cflags: [
16887                "-D_FORTIFY_SOURCE=2",
16888                "-O2",
16889                "-mno-outline",
16890            ],
16891        },
16892        android_x86: {
16893            cflags: [
16894                "-D_FORTIFY_SOURCE=2",
16895                "-msse3",
16896            ],
16897        },
16898        android_x86_64: {
16899            cflags: [
16900                "-D_FORTIFY_SOURCE=2",
16901                "-msse3",
16902            ],
16903        },
16904    },
16905}
16906
16907// GN: //components/metrics:library_support
16908cc_library_static {
16909    name: "cronet_aml_components_metrics_library_support",
16910    srcs: [
16911        "components/metrics/histogram_encoder.cc",
16912        "components/metrics/library_support/histogram_manager.cc",
16913    ],
16914    shared_libs: [
16915        "//external/cronet/third_party/boringssl:libcrypto",
16916        "//external/cronet/third_party/boringssl:libpki",
16917        "//external/cronet/third_party/boringssl:libssl",
16918        "libandroid",
16919        "liblog",
16920        "libprotobuf-cpp-lite",
16921    ],
16922    generated_headers: [
16923        "cronet_aml_base_allocator_buildflags",
16924        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
16925        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
16926        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
16927        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
16928        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
16929        "cronet_aml_base_anchor_functions_buildflags",
16930        "cronet_aml_base_android_runtime_jni_headers__action",
16931        "cronet_aml_base_base_jni__action",
16932        "cronet_aml_base_base_shared_preferences_jni__action",
16933        "cronet_aml_base_build_date",
16934        "cronet_aml_base_cfi_buildflags",
16935        "cronet_aml_base_check_version_internal_action",
16936        "cronet_aml_base_clang_profiling_buildflags",
16937        "cronet_aml_base_debugging_buildflags",
16938        "cronet_aml_base_feature_list_buildflags",
16939        "cronet_aml_base_fuzzing_buildflags",
16940        "cronet_aml_base_ios_cronet_buildflags",
16941        "cronet_aml_base_logging_buildflags",
16942        "cronet_aml_base_message_pump_buildflags",
16943        "cronet_aml_base_orderfile_buildflags",
16944        "cronet_aml_base_power_monitor_buildflags",
16945        "cronet_aml_base_process_launcher_jni__action",
16946        "cronet_aml_base_profiler_buildflags",
16947        "cronet_aml_base_protected_memory_buildflags",
16948        "cronet_aml_base_rust_buildflags",
16949        "cronet_aml_base_sanitizer_buildflags",
16950        "cronet_aml_base_synchronization_buildflags",
16951        "cronet_aml_base_tracing_buildflags",
16952        "cronet_aml_build_blink_buildflags",
16953        "cronet_aml_build_branding_buildflags",
16954        "cronet_aml_build_chromecast_buildflags",
16955        "cronet_aml_build_chromeos_buildflags",
16956        "cronet_aml_build_config_compiler_compiler_buildflags",
16957        "cronet_aml_build_ios_buildflags",
16958        "cronet_aml_build_robolectric_buildflags",
16959        "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
16960    ],
16961    export_generated_headers: [
16962        "cronet_aml_base_allocator_buildflags",
16963        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
16964        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
16965        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
16966        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
16967        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
16968        "cronet_aml_base_anchor_functions_buildflags",
16969        "cronet_aml_base_android_runtime_jni_headers__action",
16970        "cronet_aml_base_base_jni__action",
16971        "cronet_aml_base_base_shared_preferences_jni__action",
16972        "cronet_aml_base_build_date",
16973        "cronet_aml_base_cfi_buildflags",
16974        "cronet_aml_base_check_version_internal_action",
16975        "cronet_aml_base_clang_profiling_buildflags",
16976        "cronet_aml_base_debugging_buildflags",
16977        "cronet_aml_base_feature_list_buildflags",
16978        "cronet_aml_base_fuzzing_buildflags",
16979        "cronet_aml_base_ios_cronet_buildflags",
16980        "cronet_aml_base_logging_buildflags",
16981        "cronet_aml_base_message_pump_buildflags",
16982        "cronet_aml_base_orderfile_buildflags",
16983        "cronet_aml_base_power_monitor_buildflags",
16984        "cronet_aml_base_process_launcher_jni__action",
16985        "cronet_aml_base_profiler_buildflags",
16986        "cronet_aml_base_protected_memory_buildflags",
16987        "cronet_aml_base_rust_buildflags",
16988        "cronet_aml_base_sanitizer_buildflags",
16989        "cronet_aml_base_synchronization_buildflags",
16990        "cronet_aml_base_tracing_buildflags",
16991        "cronet_aml_build_blink_buildflags",
16992        "cronet_aml_build_branding_buildflags",
16993        "cronet_aml_build_chromecast_buildflags",
16994        "cronet_aml_build_chromeos_buildflags",
16995        "cronet_aml_build_config_compiler_compiler_buildflags",
16996        "cronet_aml_build_ios_buildflags",
16997        "cronet_aml_build_robolectric_buildflags",
16998        "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
16999    ],
17000    defaults: [
17001        "cronet_aml_cc_defaults",
17002    ],
17003    cflags: [
17004        "-DANDROID",
17005        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
17006        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
17007        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
17008        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17009        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
17010        "-DGOOGLE_PROTOBUF_NO_RTTI",
17011        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
17012        "-DHAVE_PTHREAD",
17013        "-DHAVE_SYS_UIO_H",
17014        "-DNDEBUG",
17015        "-DNO_UNWIND_TABLES",
17016        "-DNVALGRIND",
17017        "-DOFFICIAL_BUILD",
17018        "-D_GNU_SOURCE",
17019        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17020        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
17021        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17022        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
17023        "-D__STDC_CONSTANT_MACROS",
17024        "-D__STDC_FORMAT_MACROS",
17025        "-fdata-sections",
17026        "-ffunction-sections",
17027        "-fno-asynchronous-unwind-tables",
17028        "-fno-unwind-tables",
17029        "-fstack-protector",
17030        "-fvisibility-inlines-hidden",
17031        "-fvisibility=hidden",
17032        "-g1",
17033    ],
17034    local_include_dirs: [
17035        "./",
17036        "base/allocator/partition_allocator/src/",
17037        "buildtools/third_party/libc++/",
17038        "third_party/abseil-cpp/",
17039        "third_party/boringssl/src/include/",
17040        "third_party/libc++/src/include",
17041        "third_party/libc++abi/src/include",
17042        "third_party/protobuf/src/",
17043    ],
17044    cpp_std: "c++20",
17045    ldflags: [
17046        "-Wl,--as-needed",
17047        "-Wl,--gc-sections",
17048        "-Wl,--icf=all",
17049        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
17050        "-Wl,-wrap,asprintf",
17051        "-Wl,-wrap,calloc",
17052        "-Wl,-wrap,free",
17053        "-Wl,-wrap,getcwd",
17054        "-Wl,-wrap,malloc",
17055        "-Wl,-wrap,malloc_usable_size",
17056        "-Wl,-wrap,memalign",
17057        "-Wl,-wrap,posix_memalign",
17058        "-Wl,-wrap,pvalloc",
17059        "-Wl,-wrap,realloc",
17060        "-Wl,-wrap,realpath",
17061        "-Wl,-wrap,strdup",
17062        "-Wl,-wrap,strndup",
17063        "-Wl,-wrap,valloc",
17064        "-Wl,-wrap,vasprintf",
17065    ],
17066    target: {
17067        android_arm: {
17068            cflags: [
17069                "-D_FORTIFY_SOURCE=2",
17070            ],
17071        },
17072        android_arm64: {
17073            cflags: [
17074                "-D_FORTIFY_SOURCE=2",
17075                "-O2",
17076                "-mno-outline",
17077            ],
17078        },
17079        android_x86: {
17080            cflags: [
17081                "-D_FORTIFY_SOURCE=2",
17082                "-msse3",
17083            ],
17084        },
17085        android_x86_64: {
17086            cflags: [
17087                "-D_FORTIFY_SOURCE=2",
17088                "-msse3",
17089            ],
17090        },
17091    },
17092}
17093
17094// GN: //components/metrics:library_support__testing
17095cc_library_static {
17096    name: "cronet_aml_components_metrics_library_support__testing",
17097    srcs: [
17098        "components/metrics/histogram_encoder.cc",
17099        "components/metrics/library_support/histogram_manager.cc",
17100    ],
17101    shared_libs: [
17102        "libandroid",
17103        "liblog",
17104        "libprotobuf-cpp-lite",
17105    ],
17106    generated_headers: [
17107        "cronet_aml_base_allocator_buildflags__testing",
17108        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
17109        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
17110        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
17111        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
17112        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
17113        "cronet_aml_base_anchor_functions_buildflags__testing",
17114        "cronet_aml_base_build_date__testing",
17115        "cronet_aml_base_cfi_buildflags__testing",
17116        "cronet_aml_base_check_version_internal_action__testing",
17117        "cronet_aml_base_clang_profiling_buildflags__testing",
17118        "cronet_aml_base_debugging_buildflags__testing",
17119        "cronet_aml_base_feature_list_buildflags__testing",
17120        "cronet_aml_base_fuzzing_buildflags__testing",
17121        "cronet_aml_base_ios_cronet_buildflags__testing",
17122        "cronet_aml_base_logging_buildflags__testing",
17123        "cronet_aml_base_message_pump_buildflags__testing",
17124        "cronet_aml_base_orderfile_buildflags__testing",
17125        "cronet_aml_base_power_monitor_buildflags__testing",
17126        "cronet_aml_base_profiler_buildflags__testing",
17127        "cronet_aml_base_protected_memory_buildflags__testing",
17128        "cronet_aml_base_rust_buildflags__testing",
17129        "cronet_aml_base_sanitizer_buildflags__testing",
17130        "cronet_aml_base_synchronization_buildflags__testing",
17131        "cronet_aml_base_tracing_buildflags__testing",
17132        "cronet_aml_build_blink_buildflags__testing",
17133        "cronet_aml_build_branding_buildflags__testing",
17134        "cronet_aml_build_chromecast_buildflags__testing",
17135        "cronet_aml_build_chromeos_buildflags__testing",
17136        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
17137        "cronet_aml_build_ios_buildflags__testing",
17138        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
17139    ],
17140    export_generated_headers: [
17141        "cronet_aml_base_allocator_buildflags__testing",
17142        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
17143        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
17144        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
17145        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
17146        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
17147        "cronet_aml_base_anchor_functions_buildflags__testing",
17148        "cronet_aml_base_build_date__testing",
17149        "cronet_aml_base_cfi_buildflags__testing",
17150        "cronet_aml_base_check_version_internal_action__testing",
17151        "cronet_aml_base_clang_profiling_buildflags__testing",
17152        "cronet_aml_base_debugging_buildflags__testing",
17153        "cronet_aml_base_feature_list_buildflags__testing",
17154        "cronet_aml_base_fuzzing_buildflags__testing",
17155        "cronet_aml_base_ios_cronet_buildflags__testing",
17156        "cronet_aml_base_logging_buildflags__testing",
17157        "cronet_aml_base_message_pump_buildflags__testing",
17158        "cronet_aml_base_orderfile_buildflags__testing",
17159        "cronet_aml_base_power_monitor_buildflags__testing",
17160        "cronet_aml_base_profiler_buildflags__testing",
17161        "cronet_aml_base_protected_memory_buildflags__testing",
17162        "cronet_aml_base_rust_buildflags__testing",
17163        "cronet_aml_base_sanitizer_buildflags__testing",
17164        "cronet_aml_base_synchronization_buildflags__testing",
17165        "cronet_aml_base_tracing_buildflags__testing",
17166        "cronet_aml_build_blink_buildflags__testing",
17167        "cronet_aml_build_branding_buildflags__testing",
17168        "cronet_aml_build_chromecast_buildflags__testing",
17169        "cronet_aml_build_chromeos_buildflags__testing",
17170        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
17171        "cronet_aml_build_ios_buildflags__testing",
17172        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
17173    ],
17174    defaults: [
17175        "cronet_aml_cc_defaults",
17176    ],
17177    cflags: [
17178        "-DANDROID",
17179        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
17180        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
17181        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
17182        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17183        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
17184        "-DGOOGLE_PROTOBUF_NO_RTTI",
17185        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
17186        "-DHAVE_PTHREAD",
17187        "-DHAVE_SYS_UIO_H",
17188        "-DNDEBUG",
17189        "-DNO_UNWIND_TABLES",
17190        "-DNVALGRIND",
17191        "-DOFFICIAL_BUILD",
17192        "-D_GNU_SOURCE",
17193        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17194        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
17195        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17196        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
17197        "-D__STDC_CONSTANT_MACROS",
17198        "-D__STDC_FORMAT_MACROS",
17199        "-fdata-sections",
17200        "-ffunction-sections",
17201        "-fno-asynchronous-unwind-tables",
17202        "-fno-unwind-tables",
17203        "-fstack-protector",
17204        "-fvisibility-inlines-hidden",
17205        "-fvisibility=hidden",
17206        "-g1",
17207    ],
17208    local_include_dirs: [
17209        "./",
17210        "base/allocator/partition_allocator/src/",
17211        "buildtools/third_party/libc++/",
17212        "third_party/abseil-cpp/",
17213        "third_party/boringssl/src/include/",
17214        "third_party/libc++/src/include",
17215        "third_party/libc++abi/src/include",
17216        "third_party/protobuf/src/",
17217    ],
17218    cpp_std: "c++20",
17219    ldflags: [
17220        "-Wl,--as-needed",
17221        "-Wl,--gc-sections",
17222        "-Wl,--icf=all",
17223        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
17224        "-Wl,-wrap,asprintf",
17225        "-Wl,-wrap,calloc",
17226        "-Wl,-wrap,free",
17227        "-Wl,-wrap,getcwd",
17228        "-Wl,-wrap,malloc",
17229        "-Wl,-wrap,malloc_usable_size",
17230        "-Wl,-wrap,memalign",
17231        "-Wl,-wrap,posix_memalign",
17232        "-Wl,-wrap,pvalloc",
17233        "-Wl,-wrap,realloc",
17234        "-Wl,-wrap,realpath",
17235        "-Wl,-wrap,strdup",
17236        "-Wl,-wrap,strndup",
17237        "-Wl,-wrap,valloc",
17238        "-Wl,-wrap,vasprintf",
17239    ],
17240    target: {
17241        android_arm: {
17242            cflags: [
17243                "-D_FORTIFY_SOURCE=2",
17244            ],
17245        },
17246        android_arm64: {
17247            cflags: [
17248                "-D_FORTIFY_SOURCE=2",
17249                "-O2",
17250                "-mno-outline",
17251            ],
17252        },
17253        android_x86: {
17254            cflags: [
17255                "-D_FORTIFY_SOURCE=2",
17256                "-msse3",
17257            ],
17258        },
17259        android_x86_64: {
17260            cflags: [
17261                "-D_FORTIFY_SOURCE=2",
17262                "-msse3",
17263            ],
17264        },
17265    },
17266}
17267
17268// GN: //components/miracle_parameter/common:common
17269cc_library_static {
17270    name: "cronet_aml_components_miracle_parameter_common_common",
17271    srcs: [
17272        "components/miracle_parameter/common/public/miracle_parameter.cc",
17273    ],
17274    shared_libs: [
17275        "//external/cronet/third_party/boringssl:libcrypto",
17276        "//external/cronet/third_party/boringssl:libpki",
17277        "//external/cronet/third_party/boringssl:libssl",
17278        "libandroid",
17279        "liblog",
17280    ],
17281    generated_headers: [
17282        "cronet_aml_base_allocator_buildflags",
17283        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
17284        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
17285        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
17286        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
17287        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
17288        "cronet_aml_base_anchor_functions_buildflags",
17289        "cronet_aml_base_android_runtime_jni_headers__action",
17290        "cronet_aml_base_base_jni__action",
17291        "cronet_aml_base_base_shared_preferences_jni__action",
17292        "cronet_aml_base_build_date",
17293        "cronet_aml_base_cfi_buildflags",
17294        "cronet_aml_base_check_version_internal_action",
17295        "cronet_aml_base_clang_profiling_buildflags",
17296        "cronet_aml_base_debugging_buildflags",
17297        "cronet_aml_base_feature_list_buildflags",
17298        "cronet_aml_base_fuzzing_buildflags",
17299        "cronet_aml_base_ios_cronet_buildflags",
17300        "cronet_aml_base_logging_buildflags",
17301        "cronet_aml_base_message_pump_buildflags",
17302        "cronet_aml_base_orderfile_buildflags",
17303        "cronet_aml_base_power_monitor_buildflags",
17304        "cronet_aml_base_process_launcher_jni__action",
17305        "cronet_aml_base_profiler_buildflags",
17306        "cronet_aml_base_protected_memory_buildflags",
17307        "cronet_aml_base_rust_buildflags",
17308        "cronet_aml_base_sanitizer_buildflags",
17309        "cronet_aml_base_synchronization_buildflags",
17310        "cronet_aml_base_tracing_buildflags",
17311        "cronet_aml_build_blink_buildflags",
17312        "cronet_aml_build_branding_buildflags",
17313        "cronet_aml_build_chromecast_buildflags",
17314        "cronet_aml_build_chromeos_buildflags",
17315        "cronet_aml_build_config_compiler_compiler_buildflags",
17316        "cronet_aml_build_ios_buildflags",
17317        "cronet_aml_build_robolectric_buildflags",
17318    ],
17319    export_generated_headers: [
17320        "cronet_aml_base_allocator_buildflags",
17321        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
17322        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
17323        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
17324        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
17325        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
17326        "cronet_aml_base_anchor_functions_buildflags",
17327        "cronet_aml_base_android_runtime_jni_headers__action",
17328        "cronet_aml_base_base_jni__action",
17329        "cronet_aml_base_base_shared_preferences_jni__action",
17330        "cronet_aml_base_build_date",
17331        "cronet_aml_base_cfi_buildflags",
17332        "cronet_aml_base_check_version_internal_action",
17333        "cronet_aml_base_clang_profiling_buildflags",
17334        "cronet_aml_base_debugging_buildflags",
17335        "cronet_aml_base_feature_list_buildflags",
17336        "cronet_aml_base_fuzzing_buildflags",
17337        "cronet_aml_base_ios_cronet_buildflags",
17338        "cronet_aml_base_logging_buildflags",
17339        "cronet_aml_base_message_pump_buildflags",
17340        "cronet_aml_base_orderfile_buildflags",
17341        "cronet_aml_base_power_monitor_buildflags",
17342        "cronet_aml_base_process_launcher_jni__action",
17343        "cronet_aml_base_profiler_buildflags",
17344        "cronet_aml_base_protected_memory_buildflags",
17345        "cronet_aml_base_rust_buildflags",
17346        "cronet_aml_base_sanitizer_buildflags",
17347        "cronet_aml_base_synchronization_buildflags",
17348        "cronet_aml_base_tracing_buildflags",
17349        "cronet_aml_build_blink_buildflags",
17350        "cronet_aml_build_branding_buildflags",
17351        "cronet_aml_build_chromecast_buildflags",
17352        "cronet_aml_build_chromeos_buildflags",
17353        "cronet_aml_build_config_compiler_compiler_buildflags",
17354        "cronet_aml_build_ios_buildflags",
17355        "cronet_aml_build_robolectric_buildflags",
17356    ],
17357    defaults: [
17358        "cronet_aml_cc_defaults",
17359    ],
17360    cflags: [
17361        "-DANDROID",
17362        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
17363        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
17364        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
17365        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17366        "-DHAVE_SYS_UIO_H",
17367        "-DIS_MIRACLE_PARAMETER_IMPL",
17368        "-DNDEBUG",
17369        "-DNO_UNWIND_TABLES",
17370        "-DNVALGRIND",
17371        "-DOFFICIAL_BUILD",
17372        "-D_GNU_SOURCE",
17373        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17374        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
17375        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17376        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
17377        "-D__STDC_CONSTANT_MACROS",
17378        "-D__STDC_FORMAT_MACROS",
17379        "-fdata-sections",
17380        "-ffunction-sections",
17381        "-fno-asynchronous-unwind-tables",
17382        "-fno-unwind-tables",
17383        "-fstack-protector",
17384        "-fvisibility-inlines-hidden",
17385        "-fvisibility=hidden",
17386        "-g1",
17387    ],
17388    local_include_dirs: [
17389        "./",
17390        "base/allocator/partition_allocator/src/",
17391        "buildtools/third_party/libc++/",
17392        "third_party/abseil-cpp/",
17393        "third_party/boringssl/src/include/",
17394        "third_party/libc++/src/include",
17395        "third_party/libc++abi/src/include",
17396    ],
17397    cpp_std: "c++20",
17398    ldflags: [
17399        "-Wl,--as-needed",
17400        "-Wl,--gc-sections",
17401        "-Wl,--icf=all",
17402        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
17403        "-Wl,-wrap,asprintf",
17404        "-Wl,-wrap,calloc",
17405        "-Wl,-wrap,free",
17406        "-Wl,-wrap,getcwd",
17407        "-Wl,-wrap,malloc",
17408        "-Wl,-wrap,malloc_usable_size",
17409        "-Wl,-wrap,memalign",
17410        "-Wl,-wrap,posix_memalign",
17411        "-Wl,-wrap,pvalloc",
17412        "-Wl,-wrap,realloc",
17413        "-Wl,-wrap,realpath",
17414        "-Wl,-wrap,strdup",
17415        "-Wl,-wrap,strndup",
17416        "-Wl,-wrap,valloc",
17417        "-Wl,-wrap,vasprintf",
17418    ],
17419    target: {
17420        android_arm: {
17421            cflags: [
17422                "-D_FORTIFY_SOURCE=2",
17423            ],
17424        },
17425        android_arm64: {
17426            cflags: [
17427                "-D_FORTIFY_SOURCE=2",
17428                "-O2",
17429                "-mno-outline",
17430            ],
17431        },
17432        android_x86: {
17433            cflags: [
17434                "-D_FORTIFY_SOURCE=2",
17435                "-msse3",
17436            ],
17437        },
17438        android_x86_64: {
17439            cflags: [
17440                "-D_FORTIFY_SOURCE=2",
17441                "-msse3",
17442            ],
17443        },
17444    },
17445}
17446
17447// GN: //components/miracle_parameter/common:common__testing
17448cc_library_static {
17449    name: "cronet_aml_components_miracle_parameter_common_common__testing",
17450    srcs: [
17451        "components/miracle_parameter/common/public/miracle_parameter.cc",
17452    ],
17453    shared_libs: [
17454        "libandroid",
17455        "liblog",
17456    ],
17457    generated_headers: [
17458        "cronet_aml_base_allocator_buildflags__testing",
17459        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
17460        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
17461        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
17462        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
17463        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
17464        "cronet_aml_base_anchor_functions_buildflags__testing",
17465        "cronet_aml_base_build_date__testing",
17466        "cronet_aml_base_cfi_buildflags__testing",
17467        "cronet_aml_base_check_version_internal_action__testing",
17468        "cronet_aml_base_clang_profiling_buildflags__testing",
17469        "cronet_aml_base_debugging_buildflags__testing",
17470        "cronet_aml_base_feature_list_buildflags__testing",
17471        "cronet_aml_base_fuzzing_buildflags__testing",
17472        "cronet_aml_base_ios_cronet_buildflags__testing",
17473        "cronet_aml_base_logging_buildflags__testing",
17474        "cronet_aml_base_message_pump_buildflags__testing",
17475        "cronet_aml_base_orderfile_buildflags__testing",
17476        "cronet_aml_base_power_monitor_buildflags__testing",
17477        "cronet_aml_base_profiler_buildflags__testing",
17478        "cronet_aml_base_protected_memory_buildflags__testing",
17479        "cronet_aml_base_rust_buildflags__testing",
17480        "cronet_aml_base_sanitizer_buildflags__testing",
17481        "cronet_aml_base_synchronization_buildflags__testing",
17482        "cronet_aml_base_tracing_buildflags__testing",
17483        "cronet_aml_build_blink_buildflags__testing",
17484        "cronet_aml_build_branding_buildflags__testing",
17485        "cronet_aml_build_chromecast_buildflags__testing",
17486        "cronet_aml_build_chromeos_buildflags__testing",
17487        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
17488        "cronet_aml_build_ios_buildflags__testing",
17489    ],
17490    export_generated_headers: [
17491        "cronet_aml_base_allocator_buildflags__testing",
17492        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
17493        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
17494        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
17495        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
17496        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
17497        "cronet_aml_base_anchor_functions_buildflags__testing",
17498        "cronet_aml_base_build_date__testing",
17499        "cronet_aml_base_cfi_buildflags__testing",
17500        "cronet_aml_base_check_version_internal_action__testing",
17501        "cronet_aml_base_clang_profiling_buildflags__testing",
17502        "cronet_aml_base_debugging_buildflags__testing",
17503        "cronet_aml_base_feature_list_buildflags__testing",
17504        "cronet_aml_base_fuzzing_buildflags__testing",
17505        "cronet_aml_base_ios_cronet_buildflags__testing",
17506        "cronet_aml_base_logging_buildflags__testing",
17507        "cronet_aml_base_message_pump_buildflags__testing",
17508        "cronet_aml_base_orderfile_buildflags__testing",
17509        "cronet_aml_base_power_monitor_buildflags__testing",
17510        "cronet_aml_base_profiler_buildflags__testing",
17511        "cronet_aml_base_protected_memory_buildflags__testing",
17512        "cronet_aml_base_rust_buildflags__testing",
17513        "cronet_aml_base_sanitizer_buildflags__testing",
17514        "cronet_aml_base_synchronization_buildflags__testing",
17515        "cronet_aml_base_tracing_buildflags__testing",
17516        "cronet_aml_build_blink_buildflags__testing",
17517        "cronet_aml_build_branding_buildflags__testing",
17518        "cronet_aml_build_chromecast_buildflags__testing",
17519        "cronet_aml_build_chromeos_buildflags__testing",
17520        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
17521        "cronet_aml_build_ios_buildflags__testing",
17522    ],
17523    defaults: [
17524        "cronet_aml_cc_defaults",
17525    ],
17526    cflags: [
17527        "-DANDROID",
17528        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
17529        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
17530        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
17531        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17532        "-DHAVE_SYS_UIO_H",
17533        "-DIS_MIRACLE_PARAMETER_IMPL",
17534        "-DNDEBUG",
17535        "-DNO_UNWIND_TABLES",
17536        "-DNVALGRIND",
17537        "-DOFFICIAL_BUILD",
17538        "-D_GNU_SOURCE",
17539        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17540        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
17541        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17542        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
17543        "-D__STDC_CONSTANT_MACROS",
17544        "-D__STDC_FORMAT_MACROS",
17545        "-fdata-sections",
17546        "-ffunction-sections",
17547        "-fno-asynchronous-unwind-tables",
17548        "-fno-unwind-tables",
17549        "-fstack-protector",
17550        "-fvisibility-inlines-hidden",
17551        "-fvisibility=hidden",
17552        "-g1",
17553    ],
17554    local_include_dirs: [
17555        "./",
17556        "base/allocator/partition_allocator/src/",
17557        "buildtools/third_party/libc++/",
17558        "third_party/abseil-cpp/",
17559        "third_party/boringssl/src/include/",
17560        "third_party/libc++/src/include",
17561        "third_party/libc++abi/src/include",
17562    ],
17563    cpp_std: "c++20",
17564    ldflags: [
17565        "-Wl,--as-needed",
17566        "-Wl,--gc-sections",
17567        "-Wl,--icf=all",
17568        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
17569        "-Wl,-wrap,asprintf",
17570        "-Wl,-wrap,calloc",
17571        "-Wl,-wrap,free",
17572        "-Wl,-wrap,getcwd",
17573        "-Wl,-wrap,malloc",
17574        "-Wl,-wrap,malloc_usable_size",
17575        "-Wl,-wrap,memalign",
17576        "-Wl,-wrap,posix_memalign",
17577        "-Wl,-wrap,pvalloc",
17578        "-Wl,-wrap,realloc",
17579        "-Wl,-wrap,realpath",
17580        "-Wl,-wrap,strdup",
17581        "-Wl,-wrap,strndup",
17582        "-Wl,-wrap,valloc",
17583        "-Wl,-wrap,vasprintf",
17584    ],
17585    target: {
17586        android_arm: {
17587            cflags: [
17588                "-D_FORTIFY_SOURCE=2",
17589            ],
17590        },
17591        android_arm64: {
17592            cflags: [
17593                "-D_FORTIFY_SOURCE=2",
17594                "-O2",
17595                "-mno-outline",
17596            ],
17597        },
17598        android_x86: {
17599            cflags: [
17600                "-D_FORTIFY_SOURCE=2",
17601                "-msse3",
17602            ],
17603        },
17604        android_x86_64: {
17605            cflags: [
17606                "-D_FORTIFY_SOURCE=2",
17607                "-msse3",
17608            ],
17609        },
17610    },
17611}
17612
17613// GN: //components/prefs/android:jni_headers__action
17614cc_genrule {
17615    name: "cronet_aml_components_prefs_android_jni_headers__action",
17616    srcs: [
17617        "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
17618    ],
17619    cmd: "mkdir -p $(genDir)/components/prefs/android &&  " +
17620         "mkdir -p $(genDir)/jni_headers/components/prefs/android/jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
17621         "--output-dir " +
17622         "$(genDir)/components/prefs/android/jni_headers " +
17623         "--extra-include " +
17624         "third_party/jni_zero/jni_zero_internal.h " +
17625         "--srcjar-path " +
17626         "$(genDir)/components/prefs/android/jni_headers.srcjar " +
17627         "--placeholder-srcjar-path " +
17628         "$(genDir)/components/prefs/android/jni_headers_placeholder.srcjar " +
17629         "--use-proxy-hash " +
17630         "--output-name " +
17631         "PrefService_jni.h " +
17632         "--input-file " +
17633         "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java) " +
17634         "--package-prefix " +
17635         "android.net.connectivity",
17636    out: [
17637        "components/prefs/android/jni_headers.srcjar",
17638        "components/prefs/android/jni_headers/PrefService_jni.h",
17639    ],
17640    tool_files: [
17641        "third_party/jni_zero/codegen/called_by_native_header.py",
17642        "third_party/jni_zero/codegen/convert_type.py",
17643        "third_party/jni_zero/codegen/header_common.py",
17644        "third_party/jni_zero/codegen/natives_header.py",
17645        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
17646        "third_party/jni_zero/codegen/placeholder_java_type.py",
17647        "third_party/jni_zero/codegen/proxy_impl_java.py",
17648        "third_party/jni_zero/common.py",
17649        "third_party/jni_zero/java_lang_classes.py",
17650        "third_party/jni_zero/java_types.py",
17651        "third_party/jni_zero/jni_generator.py",
17652        "third_party/jni_zero/jni_registration_generator.py",
17653        "third_party/jni_zero/jni_zero.py",
17654        "third_party/jni_zero/parse.py",
17655        "third_party/jni_zero/proxy.py",
17656    ],
17657    apex_available: [
17658        "com.android.tethering",
17659    ],
17660}
17661
17662// GN: //components/prefs/android:jni_headers__action__testing
17663cc_genrule {
17664    name: "cronet_aml_components_prefs_android_jni_headers__action__testing",
17665    srcs: [
17666        "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
17667    ],
17668    cmd: "mkdir -p $(genDir)/components/prefs/android &&  " +
17669         "mkdir -p $(genDir)/jni_headers/components/prefs/android/jni_headers && $(location third_party/jni_zero/jni_zero.py) from-source " +
17670         "--output-dir " +
17671         "$(genDir)/components/prefs/android/jni_headers " +
17672         "--extra-include " +
17673         "third_party/jni_zero/jni_zero_internal.h " +
17674         "--srcjar-path " +
17675         "$(genDir)/components/prefs/android/jni_headers.srcjar " +
17676         "--placeholder-srcjar-path " +
17677         "$(genDir)/components/prefs/android/jni_headers_placeholder.srcjar " +
17678         "--use-proxy-hash " +
17679         "--output-name " +
17680         "PrefService_jni.h " +
17681         "--input-file " +
17682         "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java)",
17683    out: [
17684        "components/prefs/android/jni_headers.srcjar",
17685        "components/prefs/android/jni_headers/PrefService_jni.h",
17686    ],
17687    tool_files: [
17688        "third_party/jni_zero/codegen/called_by_native_header.py",
17689        "third_party/jni_zero/codegen/convert_type.py",
17690        "third_party/jni_zero/codegen/header_common.py",
17691        "third_party/jni_zero/codegen/natives_header.py",
17692        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
17693        "third_party/jni_zero/codegen/placeholder_java_type.py",
17694        "third_party/jni_zero/codegen/proxy_impl_java.py",
17695        "third_party/jni_zero/common.py",
17696        "third_party/jni_zero/java_lang_classes.py",
17697        "third_party/jni_zero/java_types.py",
17698        "third_party/jni_zero/jni_generator.py",
17699        "third_party/jni_zero/jni_registration_generator.py",
17700        "third_party/jni_zero/jni_zero.py",
17701        "third_party/jni_zero/parse.py",
17702        "third_party/jni_zero/proxy.py",
17703    ],
17704    apex_available: [
17705        "com.android.tethering",
17706    ],
17707}
17708
17709// GN: //components/prefs:prefs
17710cc_library_static {
17711    name: "cronet_aml_components_prefs_prefs",
17712    srcs: [
17713        "components/prefs/android/pref_service_android.cc",
17714        "components/prefs/command_line_pref_store.cc",
17715        "components/prefs/default_pref_store.cc",
17716        "components/prefs/in_memory_pref_store.cc",
17717        "components/prefs/json_pref_store.cc",
17718        "components/prefs/overlay_user_pref_store.cc",
17719        "components/prefs/persistent_pref_store.cc",
17720        "components/prefs/pref_change_registrar.cc",
17721        "components/prefs/pref_member.cc",
17722        "components/prefs/pref_notifier_impl.cc",
17723        "components/prefs/pref_registry.cc",
17724        "components/prefs/pref_registry_simple.cc",
17725        "components/prefs/pref_service.cc",
17726        "components/prefs/pref_service_factory.cc",
17727        "components/prefs/pref_store.cc",
17728        "components/prefs/pref_value_map.cc",
17729        "components/prefs/pref_value_store.cc",
17730        "components/prefs/scoped_user_pref_update.cc",
17731        "components/prefs/segregated_pref_store.cc",
17732        "components/prefs/value_map_pref_store.cc",
17733        "components/prefs/writeable_pref_store.cc",
17734    ],
17735    shared_libs: [
17736        "//external/cronet/third_party/boringssl:libcrypto",
17737        "//external/cronet/third_party/boringssl:libpki",
17738        "//external/cronet/third_party/boringssl:libssl",
17739        "libandroid",
17740        "liblog",
17741    ],
17742    generated_headers: [
17743        "cronet_aml_base_allocator_buildflags",
17744        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
17745        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
17746        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
17747        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
17748        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
17749        "cronet_aml_base_anchor_functions_buildflags",
17750        "cronet_aml_base_android_runtime_jni_headers__action",
17751        "cronet_aml_base_base_jni__action",
17752        "cronet_aml_base_base_shared_preferences_jni__action",
17753        "cronet_aml_base_build_date",
17754        "cronet_aml_base_cfi_buildflags",
17755        "cronet_aml_base_check_version_internal_action",
17756        "cronet_aml_base_clang_profiling_buildflags",
17757        "cronet_aml_base_debugging_buildflags",
17758        "cronet_aml_base_feature_list_buildflags",
17759        "cronet_aml_base_fuzzing_buildflags",
17760        "cronet_aml_base_ios_cronet_buildflags",
17761        "cronet_aml_base_logging_buildflags",
17762        "cronet_aml_base_message_pump_buildflags",
17763        "cronet_aml_base_orderfile_buildflags",
17764        "cronet_aml_base_power_monitor_buildflags",
17765        "cronet_aml_base_process_launcher_jni__action",
17766        "cronet_aml_base_profiler_buildflags",
17767        "cronet_aml_base_protected_memory_buildflags",
17768        "cronet_aml_base_rust_buildflags",
17769        "cronet_aml_base_sanitizer_buildflags",
17770        "cronet_aml_base_synchronization_buildflags",
17771        "cronet_aml_base_tracing_buildflags",
17772        "cronet_aml_build_blink_buildflags",
17773        "cronet_aml_build_branding_buildflags",
17774        "cronet_aml_build_chromecast_buildflags",
17775        "cronet_aml_build_chromeos_buildflags",
17776        "cronet_aml_build_config_compiler_compiler_buildflags",
17777        "cronet_aml_build_ios_buildflags",
17778        "cronet_aml_build_robolectric_buildflags",
17779        "cronet_aml_components_prefs_android_jni_headers__action",
17780    ],
17781    export_generated_headers: [
17782        "cronet_aml_base_allocator_buildflags",
17783        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
17784        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
17785        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
17786        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
17787        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
17788        "cronet_aml_base_anchor_functions_buildflags",
17789        "cronet_aml_base_android_runtime_jni_headers__action",
17790        "cronet_aml_base_base_jni__action",
17791        "cronet_aml_base_base_shared_preferences_jni__action",
17792        "cronet_aml_base_build_date",
17793        "cronet_aml_base_cfi_buildflags",
17794        "cronet_aml_base_check_version_internal_action",
17795        "cronet_aml_base_clang_profiling_buildflags",
17796        "cronet_aml_base_debugging_buildflags",
17797        "cronet_aml_base_feature_list_buildflags",
17798        "cronet_aml_base_fuzzing_buildflags",
17799        "cronet_aml_base_ios_cronet_buildflags",
17800        "cronet_aml_base_logging_buildflags",
17801        "cronet_aml_base_message_pump_buildflags",
17802        "cronet_aml_base_orderfile_buildflags",
17803        "cronet_aml_base_power_monitor_buildflags",
17804        "cronet_aml_base_process_launcher_jni__action",
17805        "cronet_aml_base_profiler_buildflags",
17806        "cronet_aml_base_protected_memory_buildflags",
17807        "cronet_aml_base_rust_buildflags",
17808        "cronet_aml_base_sanitizer_buildflags",
17809        "cronet_aml_base_synchronization_buildflags",
17810        "cronet_aml_base_tracing_buildflags",
17811        "cronet_aml_build_blink_buildflags",
17812        "cronet_aml_build_branding_buildflags",
17813        "cronet_aml_build_chromecast_buildflags",
17814        "cronet_aml_build_chromeos_buildflags",
17815        "cronet_aml_build_config_compiler_compiler_buildflags",
17816        "cronet_aml_build_ios_buildflags",
17817        "cronet_aml_build_robolectric_buildflags",
17818        "cronet_aml_components_prefs_android_jni_headers__action",
17819    ],
17820    defaults: [
17821        "cronet_aml_cc_defaults",
17822    ],
17823    cflags: [
17824        "-DANDROID",
17825        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
17826        "-DCOMPONENTS_PREFS_IMPLEMENTATION",
17827        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
17828        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
17829        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17830        "-DHAVE_SYS_UIO_H",
17831        "-DNDEBUG",
17832        "-DNO_UNWIND_TABLES",
17833        "-DNVALGRIND",
17834        "-DOFFICIAL_BUILD",
17835        "-D_GNU_SOURCE",
17836        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17837        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
17838        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17839        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
17840        "-D__STDC_CONSTANT_MACROS",
17841        "-D__STDC_FORMAT_MACROS",
17842        "-fdata-sections",
17843        "-ffunction-sections",
17844        "-fno-asynchronous-unwind-tables",
17845        "-fno-unwind-tables",
17846        "-fstack-protector",
17847        "-fvisibility-inlines-hidden",
17848        "-fvisibility=hidden",
17849        "-g1",
17850    ],
17851    local_include_dirs: [
17852        "./",
17853        "base/allocator/partition_allocator/src/",
17854        "buildtools/third_party/libc++/",
17855        "third_party/abseil-cpp/",
17856        "third_party/boringssl/src/include/",
17857        "third_party/libc++/src/include",
17858        "third_party/libc++abi/src/include",
17859    ],
17860    cpp_std: "c++20",
17861    ldflags: [
17862        "-Wl,--as-needed",
17863        "-Wl,--gc-sections",
17864        "-Wl,--icf=all",
17865        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
17866        "-Wl,-wrap,asprintf",
17867        "-Wl,-wrap,calloc",
17868        "-Wl,-wrap,free",
17869        "-Wl,-wrap,getcwd",
17870        "-Wl,-wrap,malloc",
17871        "-Wl,-wrap,malloc_usable_size",
17872        "-Wl,-wrap,memalign",
17873        "-Wl,-wrap,posix_memalign",
17874        "-Wl,-wrap,pvalloc",
17875        "-Wl,-wrap,realloc",
17876        "-Wl,-wrap,realpath",
17877        "-Wl,-wrap,strdup",
17878        "-Wl,-wrap,strndup",
17879        "-Wl,-wrap,valloc",
17880        "-Wl,-wrap,vasprintf",
17881    ],
17882    target: {
17883        android_arm: {
17884            cflags: [
17885                "-D_FORTIFY_SOURCE=2",
17886            ],
17887        },
17888        android_arm64: {
17889            cflags: [
17890                "-D_FORTIFY_SOURCE=2",
17891                "-O2",
17892                "-mno-outline",
17893            ],
17894        },
17895        android_x86: {
17896            cflags: [
17897                "-D_FORTIFY_SOURCE=2",
17898                "-msse3",
17899            ],
17900        },
17901        android_x86_64: {
17902            cflags: [
17903                "-D_FORTIFY_SOURCE=2",
17904                "-msse3",
17905            ],
17906        },
17907    },
17908}
17909
17910// GN: //components/prefs:prefs__testing
17911cc_library_static {
17912    name: "cronet_aml_components_prefs_prefs__testing",
17913    srcs: [
17914        "components/prefs/android/pref_service_android.cc",
17915        "components/prefs/command_line_pref_store.cc",
17916        "components/prefs/default_pref_store.cc",
17917        "components/prefs/in_memory_pref_store.cc",
17918        "components/prefs/json_pref_store.cc",
17919        "components/prefs/overlay_user_pref_store.cc",
17920        "components/prefs/persistent_pref_store.cc",
17921        "components/prefs/pref_change_registrar.cc",
17922        "components/prefs/pref_member.cc",
17923        "components/prefs/pref_notifier_impl.cc",
17924        "components/prefs/pref_registry.cc",
17925        "components/prefs/pref_registry_simple.cc",
17926        "components/prefs/pref_service.cc",
17927        "components/prefs/pref_service_factory.cc",
17928        "components/prefs/pref_store.cc",
17929        "components/prefs/pref_value_map.cc",
17930        "components/prefs/pref_value_store.cc",
17931        "components/prefs/scoped_user_pref_update.cc",
17932        "components/prefs/segregated_pref_store.cc",
17933        "components/prefs/value_map_pref_store.cc",
17934        "components/prefs/writeable_pref_store.cc",
17935    ],
17936    shared_libs: [
17937        "libandroid",
17938        "liblog",
17939    ],
17940    generated_headers: [
17941        "cronet_aml_base_allocator_buildflags__testing",
17942        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
17943        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
17944        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
17945        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
17946        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
17947        "cronet_aml_base_anchor_functions_buildflags__testing",
17948        "cronet_aml_base_build_date__testing",
17949        "cronet_aml_base_cfi_buildflags__testing",
17950        "cronet_aml_base_check_version_internal_action__testing",
17951        "cronet_aml_base_clang_profiling_buildflags__testing",
17952        "cronet_aml_base_debugging_buildflags__testing",
17953        "cronet_aml_base_feature_list_buildflags__testing",
17954        "cronet_aml_base_fuzzing_buildflags__testing",
17955        "cronet_aml_base_ios_cronet_buildflags__testing",
17956        "cronet_aml_base_logging_buildflags__testing",
17957        "cronet_aml_base_message_pump_buildflags__testing",
17958        "cronet_aml_base_orderfile_buildflags__testing",
17959        "cronet_aml_base_power_monitor_buildflags__testing",
17960        "cronet_aml_base_profiler_buildflags__testing",
17961        "cronet_aml_base_protected_memory_buildflags__testing",
17962        "cronet_aml_base_rust_buildflags__testing",
17963        "cronet_aml_base_sanitizer_buildflags__testing",
17964        "cronet_aml_base_synchronization_buildflags__testing",
17965        "cronet_aml_base_tracing_buildflags__testing",
17966        "cronet_aml_build_blink_buildflags__testing",
17967        "cronet_aml_build_branding_buildflags__testing",
17968        "cronet_aml_build_chromecast_buildflags__testing",
17969        "cronet_aml_build_chromeos_buildflags__testing",
17970        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
17971        "cronet_aml_build_ios_buildflags__testing",
17972        "cronet_aml_components_prefs_android_jni_headers__action__testing",
17973    ],
17974    export_generated_headers: [
17975        "cronet_aml_base_allocator_buildflags__testing",
17976        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
17977        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
17978        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
17979        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
17980        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
17981        "cronet_aml_base_anchor_functions_buildflags__testing",
17982        "cronet_aml_base_build_date__testing",
17983        "cronet_aml_base_cfi_buildflags__testing",
17984        "cronet_aml_base_check_version_internal_action__testing",
17985        "cronet_aml_base_clang_profiling_buildflags__testing",
17986        "cronet_aml_base_debugging_buildflags__testing",
17987        "cronet_aml_base_feature_list_buildflags__testing",
17988        "cronet_aml_base_fuzzing_buildflags__testing",
17989        "cronet_aml_base_ios_cronet_buildflags__testing",
17990        "cronet_aml_base_logging_buildflags__testing",
17991        "cronet_aml_base_message_pump_buildflags__testing",
17992        "cronet_aml_base_orderfile_buildflags__testing",
17993        "cronet_aml_base_power_monitor_buildflags__testing",
17994        "cronet_aml_base_profiler_buildflags__testing",
17995        "cronet_aml_base_protected_memory_buildflags__testing",
17996        "cronet_aml_base_rust_buildflags__testing",
17997        "cronet_aml_base_sanitizer_buildflags__testing",
17998        "cronet_aml_base_synchronization_buildflags__testing",
17999        "cronet_aml_base_tracing_buildflags__testing",
18000        "cronet_aml_build_blink_buildflags__testing",
18001        "cronet_aml_build_branding_buildflags__testing",
18002        "cronet_aml_build_chromecast_buildflags__testing",
18003        "cronet_aml_build_chromeos_buildflags__testing",
18004        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
18005        "cronet_aml_build_ios_buildflags__testing",
18006        "cronet_aml_components_prefs_android_jni_headers__action__testing",
18007    ],
18008    defaults: [
18009        "cronet_aml_cc_defaults",
18010    ],
18011    cflags: [
18012        "-DANDROID",
18013        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18014        "-DCOMPONENTS_PREFS_IMPLEMENTATION",
18015        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
18016        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
18017        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18018        "-DHAVE_SYS_UIO_H",
18019        "-DNDEBUG",
18020        "-DNO_UNWIND_TABLES",
18021        "-DNVALGRIND",
18022        "-DOFFICIAL_BUILD",
18023        "-D_GNU_SOURCE",
18024        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18025        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
18026        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18027        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18028        "-D__STDC_CONSTANT_MACROS",
18029        "-D__STDC_FORMAT_MACROS",
18030        "-fdata-sections",
18031        "-ffunction-sections",
18032        "-fno-asynchronous-unwind-tables",
18033        "-fno-unwind-tables",
18034        "-fstack-protector",
18035        "-fvisibility-inlines-hidden",
18036        "-fvisibility=hidden",
18037        "-g1",
18038    ],
18039    local_include_dirs: [
18040        "./",
18041        "base/allocator/partition_allocator/src/",
18042        "buildtools/third_party/libc++/",
18043        "third_party/abseil-cpp/",
18044        "third_party/boringssl/src/include/",
18045        "third_party/libc++/src/include",
18046        "third_party/libc++abi/src/include",
18047    ],
18048    cpp_std: "c++20",
18049    ldflags: [
18050        "-Wl,--as-needed",
18051        "-Wl,--gc-sections",
18052        "-Wl,--icf=all",
18053        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
18054        "-Wl,-wrap,asprintf",
18055        "-Wl,-wrap,calloc",
18056        "-Wl,-wrap,free",
18057        "-Wl,-wrap,getcwd",
18058        "-Wl,-wrap,malloc",
18059        "-Wl,-wrap,malloc_usable_size",
18060        "-Wl,-wrap,memalign",
18061        "-Wl,-wrap,posix_memalign",
18062        "-Wl,-wrap,pvalloc",
18063        "-Wl,-wrap,realloc",
18064        "-Wl,-wrap,realpath",
18065        "-Wl,-wrap,strdup",
18066        "-Wl,-wrap,strndup",
18067        "-Wl,-wrap,valloc",
18068        "-Wl,-wrap,vasprintf",
18069    ],
18070    target: {
18071        android_arm: {
18072            cflags: [
18073                "-D_FORTIFY_SOURCE=2",
18074            ],
18075        },
18076        android_arm64: {
18077            cflags: [
18078                "-D_FORTIFY_SOURCE=2",
18079                "-O2",
18080                "-mno-outline",
18081            ],
18082        },
18083        android_x86: {
18084            cflags: [
18085                "-D_FORTIFY_SOURCE=2",
18086                "-msse3",
18087            ],
18088        },
18089        android_x86_64: {
18090            cflags: [
18091                "-D_FORTIFY_SOURCE=2",
18092                "-msse3",
18093            ],
18094        },
18095    },
18096}
18097
18098// GN: //components/prefs:test_support__testing
18099cc_library_static {
18100    name: "cronet_aml_components_prefs_test_support__testing",
18101    srcs: [
18102        "components/prefs/mock_pref_change_callback.cc",
18103        "components/prefs/pref_store_observer_mock.cc",
18104        "components/prefs/pref_test_utils.cc",
18105        "components/prefs/testing_pref_service.cc",
18106        "components/prefs/testing_pref_store.cc",
18107    ],
18108    shared_libs: [
18109        "libandroid",
18110        "liblog",
18111        "libz",
18112    ],
18113    generated_headers: [
18114        "cronet_aml_base_allocator_buildflags__testing",
18115        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
18116        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
18117        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
18118        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
18119        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
18120        "cronet_aml_base_anchor_functions_buildflags__testing",
18121        "cronet_aml_base_build_date__testing",
18122        "cronet_aml_base_cfi_buildflags__testing",
18123        "cronet_aml_base_check_version_internal_action__testing",
18124        "cronet_aml_base_clang_profiling_buildflags__testing",
18125        "cronet_aml_base_debugging_buildflags__testing",
18126        "cronet_aml_base_feature_list_buildflags__testing",
18127        "cronet_aml_base_fuzzing_buildflags__testing",
18128        "cronet_aml_base_ios_cronet_buildflags__testing",
18129        "cronet_aml_base_logging_buildflags__testing",
18130        "cronet_aml_base_message_pump_buildflags__testing",
18131        "cronet_aml_base_orderfile_buildflags__testing",
18132        "cronet_aml_base_power_monitor_buildflags__testing",
18133        "cronet_aml_base_profiler_buildflags__testing",
18134        "cronet_aml_base_protected_memory_buildflags__testing",
18135        "cronet_aml_base_rust_buildflags__testing",
18136        "cronet_aml_base_sanitizer_buildflags__testing",
18137        "cronet_aml_base_synchronization_buildflags__testing",
18138        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
18139        "cronet_aml_base_test_test_support_jni_headers__action__testing",
18140        "cronet_aml_base_tracing_buildflags__testing",
18141        "cronet_aml_build_blink_buildflags__testing",
18142        "cronet_aml_build_branding_buildflags__testing",
18143        "cronet_aml_build_chromecast_buildflags__testing",
18144        "cronet_aml_build_chromeos_buildflags__testing",
18145        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
18146        "cronet_aml_build_ios_buildflags__testing",
18147        "cronet_aml_components_prefs_android_jni_headers__action__testing",
18148    ],
18149    export_generated_headers: [
18150        "cronet_aml_base_allocator_buildflags__testing",
18151        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
18152        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
18153        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
18154        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
18155        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
18156        "cronet_aml_base_anchor_functions_buildflags__testing",
18157        "cronet_aml_base_build_date__testing",
18158        "cronet_aml_base_cfi_buildflags__testing",
18159        "cronet_aml_base_check_version_internal_action__testing",
18160        "cronet_aml_base_clang_profiling_buildflags__testing",
18161        "cronet_aml_base_debugging_buildflags__testing",
18162        "cronet_aml_base_feature_list_buildflags__testing",
18163        "cronet_aml_base_fuzzing_buildflags__testing",
18164        "cronet_aml_base_ios_cronet_buildflags__testing",
18165        "cronet_aml_base_logging_buildflags__testing",
18166        "cronet_aml_base_message_pump_buildflags__testing",
18167        "cronet_aml_base_orderfile_buildflags__testing",
18168        "cronet_aml_base_power_monitor_buildflags__testing",
18169        "cronet_aml_base_profiler_buildflags__testing",
18170        "cronet_aml_base_protected_memory_buildflags__testing",
18171        "cronet_aml_base_rust_buildflags__testing",
18172        "cronet_aml_base_sanitizer_buildflags__testing",
18173        "cronet_aml_base_synchronization_buildflags__testing",
18174        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
18175        "cronet_aml_base_test_test_support_jni_headers__action__testing",
18176        "cronet_aml_base_tracing_buildflags__testing",
18177        "cronet_aml_build_blink_buildflags__testing",
18178        "cronet_aml_build_branding_buildflags__testing",
18179        "cronet_aml_build_chromecast_buildflags__testing",
18180        "cronet_aml_build_chromeos_buildflags__testing",
18181        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
18182        "cronet_aml_build_ios_buildflags__testing",
18183        "cronet_aml_components_prefs_android_jni_headers__action__testing",
18184    ],
18185    defaults: [
18186        "cronet_aml_cc_defaults",
18187    ],
18188    cflags: [
18189        "-DANDROID",
18190        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18191        "-DBENCHMARK_STATIC_DEFINE",
18192        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
18193        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
18194        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18195        "-DGTEST_API_=",
18196        "-DGTEST_HAS_ABSL",
18197        "-DGTEST_HAS_POSIX_RE=0",
18198        "-DGTEST_HAS_TR1_TUPLE=0",
18199        "-DGTEST_LANG_CXX11=1",
18200        "-DGTEST_NO_ABSL_FLAGS",
18201        "-DHAVE_SYS_UIO_H",
18202        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
18203        "-DNDEBUG",
18204        "-DNO_UNWIND_TABLES",
18205        "-DNVALGRIND",
18206        "-DOFFICIAL_BUILD",
18207        "-DUNIT_TEST",
18208        "-DUSE_CHROMIUM_ICU=1",
18209        "-DU_ENABLE_DYLOAD=0",
18210        "-DU_ENABLE_RESOURCE_TRACING=0",
18211        "-DU_ENABLE_TRACING=1",
18212        "-DU_STATIC_IMPLEMENTATION",
18213        "-DU_USING_ICU_NAMESPACE=0",
18214        "-D_GNU_SOURCE",
18215        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18216        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
18217        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18218        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18219        "-D__STDC_CONSTANT_MACROS",
18220        "-D__STDC_FORMAT_MACROS",
18221        "-fdata-sections",
18222        "-ffunction-sections",
18223        "-fno-asynchronous-unwind-tables",
18224        "-fno-unwind-tables",
18225        "-fstack-protector",
18226        "-fvisibility-inlines-hidden",
18227        "-fvisibility=hidden",
18228        "-g1",
18229    ],
18230    local_include_dirs: [
18231        "./",
18232        "base/allocator/partition_allocator/src/",
18233        "buildtools/third_party/libc++/",
18234        "third_party/abseil-cpp/",
18235        "third_party/boringssl/src/include/",
18236        "third_party/ced/src/",
18237        "third_party/google_benchmark/src/include/",
18238        "third_party/googletest/custom/",
18239        "third_party/googletest/src/googlemock/include/",
18240        "third_party/googletest/src/googletest/include/",
18241        "third_party/icu/source/common/",
18242        "third_party/icu/source/i18n/",
18243        "third_party/libc++/src/include",
18244        "third_party/libc++abi/src/include",
18245        "third_party/re2/src/",
18246    ],
18247    cpp_std: "c++20",
18248    ldflags: [
18249        "-Wl,--as-needed",
18250        "-Wl,--gc-sections",
18251        "-Wl,--icf=all",
18252        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
18253        "-Wl,-wrap,asprintf",
18254        "-Wl,-wrap,calloc",
18255        "-Wl,-wrap,free",
18256        "-Wl,-wrap,getcwd",
18257        "-Wl,-wrap,malloc",
18258        "-Wl,-wrap,malloc_usable_size",
18259        "-Wl,-wrap,memalign",
18260        "-Wl,-wrap,posix_memalign",
18261        "-Wl,-wrap,pvalloc",
18262        "-Wl,-wrap,realloc",
18263        "-Wl,-wrap,realpath",
18264        "-Wl,-wrap,strdup",
18265        "-Wl,-wrap,strndup",
18266        "-Wl,-wrap,valloc",
18267        "-Wl,-wrap,vasprintf",
18268    ],
18269    target: {
18270        android_arm: {
18271            cflags: [
18272                "-D_FORTIFY_SOURCE=2",
18273            ],
18274        },
18275        android_arm64: {
18276            cflags: [
18277                "-D_FORTIFY_SOURCE=2",
18278                "-O2",
18279                "-mno-outline",
18280            ],
18281        },
18282        android_x86: {
18283            cflags: [
18284                "-D_FORTIFY_SOURCE=2",
18285                "-msse3",
18286            ],
18287        },
18288        android_x86_64: {
18289            cflags: [
18290                "-D_FORTIFY_SOURCE=2",
18291                "-msse3",
18292            ],
18293        },
18294    },
18295}
18296
18297// GN: //crypto:buildflags
18298cc_genrule {
18299    name: "cronet_aml_crypto_buildflags",
18300    cmd: "mkdir -p $(genDir)/crypto && echo '--flags USE_NSS_CERTS=\"false\"' | " +
18301         "$(location build/write_buildflag_header.py) --output " +
18302         "$(out) " +
18303         "--rulename " +
18304         "//crypto:buildflags " +
18305         "--gen-dir " +
18306         ". " +
18307         "--definitions " +
18308         "/dev/stdin",
18309    out: [
18310        "crypto/crypto_buildflags.h",
18311    ],
18312    tool_files: [
18313        "build/write_buildflag_header.py",
18314    ],
18315    apex_available: [
18316        "com.android.tethering",
18317    ],
18318}
18319
18320// GN: //crypto:buildflags__testing
18321cc_genrule {
18322    name: "cronet_aml_crypto_buildflags__testing",
18323    cmd: "mkdir -p $(genDir)/crypto && echo '--flags USE_NSS_CERTS=\"false\"' | " +
18324         "$(location build/write_buildflag_header.py) --output " +
18325         "$(out) " +
18326         "--rulename " +
18327         "//crypto:buildflags " +
18328         "--gen-dir " +
18329         ". " +
18330         "--definitions " +
18331         "/dev/stdin",
18332    host_supported: true,
18333    out: [
18334        "crypto/crypto_buildflags.h",
18335    ],
18336    tool_files: [
18337        "build/write_buildflag_header.py",
18338    ],
18339    apex_available: [
18340        "com.android.tethering",
18341    ],
18342}
18343
18344// GN: //crypto:crypto
18345cc_library_static {
18346    name: "cronet_aml_crypto_crypto",
18347    srcs: [
18348        "crypto/aead.cc",
18349        "crypto/ec_private_key.cc",
18350        "crypto/ec_signature_creator.cc",
18351        "crypto/ec_signature_creator_impl.cc",
18352        "crypto/encryptor.cc",
18353        "crypto/features.cc",
18354        "crypto/hkdf.cc",
18355        "crypto/hmac.cc",
18356        "crypto/openssl_util.cc",
18357        "crypto/p224_spake.cc",
18358        "crypto/random.cc",
18359        "crypto/rsa_private_key.cc",
18360        "crypto/secure_hash.cc",
18361        "crypto/secure_util.cc",
18362        "crypto/sha2.cc",
18363        "crypto/signature_creator.cc",
18364        "crypto/signature_verifier.cc",
18365        "crypto/symmetric_key.cc",
18366        "crypto/unexportable_key.cc",
18367        "crypto/unexportable_key_metrics.cc",
18368        "crypto/unexportable_key_software_unsecure.cc",
18369        "crypto/user_verifying_key.cc",
18370    ],
18371    shared_libs: [
18372        "//external/cronet/third_party/boringssl:libcrypto",
18373        "//external/cronet/third_party/boringssl:libpki",
18374        "//external/cronet/third_party/boringssl:libssl",
18375        "libandroid",
18376        "liblog",
18377    ],
18378    generated_headers: [
18379        "cronet_aml_base_allocator_buildflags",
18380        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
18381        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
18382        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
18383        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
18384        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
18385        "cronet_aml_base_anchor_functions_buildflags",
18386        "cronet_aml_base_android_runtime_jni_headers__action",
18387        "cronet_aml_base_base_jni__action",
18388        "cronet_aml_base_base_shared_preferences_jni__action",
18389        "cronet_aml_base_build_date",
18390        "cronet_aml_base_cfi_buildflags",
18391        "cronet_aml_base_check_version_internal_action",
18392        "cronet_aml_base_clang_profiling_buildflags",
18393        "cronet_aml_base_debugging_buildflags",
18394        "cronet_aml_base_feature_list_buildflags",
18395        "cronet_aml_base_fuzzing_buildflags",
18396        "cronet_aml_base_ios_cronet_buildflags",
18397        "cronet_aml_base_logging_buildflags",
18398        "cronet_aml_base_message_pump_buildflags",
18399        "cronet_aml_base_orderfile_buildflags",
18400        "cronet_aml_base_power_monitor_buildflags",
18401        "cronet_aml_base_process_launcher_jni__action",
18402        "cronet_aml_base_profiler_buildflags",
18403        "cronet_aml_base_protected_memory_buildflags",
18404        "cronet_aml_base_rust_buildflags",
18405        "cronet_aml_base_sanitizer_buildflags",
18406        "cronet_aml_base_synchronization_buildflags",
18407        "cronet_aml_base_tracing_buildflags",
18408        "cronet_aml_build_blink_buildflags",
18409        "cronet_aml_build_branding_buildflags",
18410        "cronet_aml_build_chromecast_buildflags",
18411        "cronet_aml_build_chromeos_buildflags",
18412        "cronet_aml_build_config_compiler_compiler_buildflags",
18413        "cronet_aml_build_ios_buildflags",
18414        "cronet_aml_build_robolectric_buildflags",
18415        "cronet_aml_crypto_buildflags",
18416    ],
18417    export_generated_headers: [
18418        "cronet_aml_base_allocator_buildflags",
18419        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
18420        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
18421        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
18422        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
18423        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
18424        "cronet_aml_base_anchor_functions_buildflags",
18425        "cronet_aml_base_android_runtime_jni_headers__action",
18426        "cronet_aml_base_base_jni__action",
18427        "cronet_aml_base_base_shared_preferences_jni__action",
18428        "cronet_aml_base_build_date",
18429        "cronet_aml_base_cfi_buildflags",
18430        "cronet_aml_base_check_version_internal_action",
18431        "cronet_aml_base_clang_profiling_buildflags",
18432        "cronet_aml_base_debugging_buildflags",
18433        "cronet_aml_base_feature_list_buildflags",
18434        "cronet_aml_base_fuzzing_buildflags",
18435        "cronet_aml_base_ios_cronet_buildflags",
18436        "cronet_aml_base_logging_buildflags",
18437        "cronet_aml_base_message_pump_buildflags",
18438        "cronet_aml_base_orderfile_buildflags",
18439        "cronet_aml_base_power_monitor_buildflags",
18440        "cronet_aml_base_process_launcher_jni__action",
18441        "cronet_aml_base_profiler_buildflags",
18442        "cronet_aml_base_protected_memory_buildflags",
18443        "cronet_aml_base_rust_buildflags",
18444        "cronet_aml_base_sanitizer_buildflags",
18445        "cronet_aml_base_synchronization_buildflags",
18446        "cronet_aml_base_tracing_buildflags",
18447        "cronet_aml_build_blink_buildflags",
18448        "cronet_aml_build_branding_buildflags",
18449        "cronet_aml_build_chromecast_buildflags",
18450        "cronet_aml_build_chromeos_buildflags",
18451        "cronet_aml_build_config_compiler_compiler_buildflags",
18452        "cronet_aml_build_ios_buildflags",
18453        "cronet_aml_build_robolectric_buildflags",
18454        "cronet_aml_crypto_buildflags",
18455    ],
18456    defaults: [
18457        "cronet_aml_cc_defaults",
18458    ],
18459    cflags: [
18460        "-DANDROID",
18461        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18462        "-DCRYPTO_IMPLEMENTATION",
18463        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
18464        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
18465        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18466        "-DHAVE_SYS_UIO_H",
18467        "-DNDEBUG",
18468        "-DNO_UNWIND_TABLES",
18469        "-DNVALGRIND",
18470        "-DOFFICIAL_BUILD",
18471        "-D_GNU_SOURCE",
18472        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18473        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
18474        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18475        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18476        "-D__STDC_CONSTANT_MACROS",
18477        "-D__STDC_FORMAT_MACROS",
18478        "-fdata-sections",
18479        "-ffunction-sections",
18480        "-fno-asynchronous-unwind-tables",
18481        "-fno-unwind-tables",
18482        "-fstack-protector",
18483        "-fvisibility-inlines-hidden",
18484        "-fvisibility=hidden",
18485        "-g1",
18486    ],
18487    local_include_dirs: [
18488        "./",
18489        "base/allocator/partition_allocator/src/",
18490        "buildtools/third_party/libc++/",
18491        "third_party/abseil-cpp/",
18492        "third_party/boringssl/src/include/",
18493        "third_party/libc++/src/include",
18494        "third_party/libc++abi/src/include",
18495    ],
18496    cpp_std: "c++20",
18497    ldflags: [
18498        "-Wl,--as-needed",
18499        "-Wl,--gc-sections",
18500        "-Wl,--icf=all",
18501        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
18502        "-Wl,-wrap,asprintf",
18503        "-Wl,-wrap,calloc",
18504        "-Wl,-wrap,free",
18505        "-Wl,-wrap,getcwd",
18506        "-Wl,-wrap,malloc",
18507        "-Wl,-wrap,malloc_usable_size",
18508        "-Wl,-wrap,memalign",
18509        "-Wl,-wrap,posix_memalign",
18510        "-Wl,-wrap,pvalloc",
18511        "-Wl,-wrap,realloc",
18512        "-Wl,-wrap,realpath",
18513        "-Wl,-wrap,strdup",
18514        "-Wl,-wrap,strndup",
18515        "-Wl,-wrap,valloc",
18516        "-Wl,-wrap,vasprintf",
18517    ],
18518    target: {
18519        android_arm: {
18520            cflags: [
18521                "-D_FORTIFY_SOURCE=2",
18522            ],
18523        },
18524        android_arm64: {
18525            cflags: [
18526                "-D_FORTIFY_SOURCE=2",
18527                "-O2",
18528                "-mno-outline",
18529            ],
18530        },
18531        android_x86: {
18532            cflags: [
18533                "-D_FORTIFY_SOURCE=2",
18534                "-msse3",
18535            ],
18536        },
18537        android_x86_64: {
18538            cflags: [
18539                "-D_FORTIFY_SOURCE=2",
18540                "-msse3",
18541            ],
18542        },
18543    },
18544}
18545
18546// GN: //crypto:crypto__testing
18547cc_library_static {
18548    name: "cronet_aml_crypto_crypto__testing",
18549    srcs: [
18550        "crypto/aead.cc",
18551        "crypto/ec_private_key.cc",
18552        "crypto/ec_signature_creator.cc",
18553        "crypto/ec_signature_creator_impl.cc",
18554        "crypto/encryptor.cc",
18555        "crypto/features.cc",
18556        "crypto/hkdf.cc",
18557        "crypto/hmac.cc",
18558        "crypto/openssl_util.cc",
18559        "crypto/p224_spake.cc",
18560        "crypto/random.cc",
18561        "crypto/rsa_private_key.cc",
18562        "crypto/secure_hash.cc",
18563        "crypto/secure_util.cc",
18564        "crypto/sha2.cc",
18565        "crypto/signature_creator.cc",
18566        "crypto/signature_verifier.cc",
18567        "crypto/symmetric_key.cc",
18568        "crypto/unexportable_key.cc",
18569        "crypto/unexportable_key_metrics.cc",
18570        "crypto/unexportable_key_software_unsecure.cc",
18571        "crypto/user_verifying_key.cc",
18572    ],
18573    host_supported: true,
18574    generated_headers: [
18575        "cronet_aml_base_allocator_buildflags__testing",
18576        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
18577        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
18578        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
18579        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
18580        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
18581        "cronet_aml_base_anchor_functions_buildflags__testing",
18582        "cronet_aml_base_build_date__testing",
18583        "cronet_aml_base_cfi_buildflags__testing",
18584        "cronet_aml_base_check_version_internal_action__testing",
18585        "cronet_aml_base_clang_profiling_buildflags__testing",
18586        "cronet_aml_base_debugging_buildflags__testing",
18587        "cronet_aml_base_feature_list_buildflags__testing",
18588        "cronet_aml_base_fuzzing_buildflags__testing",
18589        "cronet_aml_base_ios_cronet_buildflags__testing",
18590        "cronet_aml_base_logging_buildflags__testing",
18591        "cronet_aml_base_message_pump_buildflags__testing",
18592        "cronet_aml_base_orderfile_buildflags__testing",
18593        "cronet_aml_base_power_monitor_buildflags__testing",
18594        "cronet_aml_base_profiler_buildflags__testing",
18595        "cronet_aml_base_protected_memory_buildflags__testing",
18596        "cronet_aml_base_rust_buildflags__testing",
18597        "cronet_aml_base_sanitizer_buildflags__testing",
18598        "cronet_aml_base_synchronization_buildflags__testing",
18599        "cronet_aml_base_tracing_buildflags__testing",
18600        "cronet_aml_build_blink_buildflags__testing",
18601        "cronet_aml_build_branding_buildflags__testing",
18602        "cronet_aml_build_chromecast_buildflags__testing",
18603        "cronet_aml_build_chromeos_buildflags__testing",
18604        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
18605        "cronet_aml_build_ios_buildflags__testing",
18606        "cronet_aml_crypto_buildflags__testing",
18607    ],
18608    export_generated_headers: [
18609        "cronet_aml_base_allocator_buildflags__testing",
18610        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
18611        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
18612        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
18613        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
18614        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
18615        "cronet_aml_base_anchor_functions_buildflags__testing",
18616        "cronet_aml_base_build_date__testing",
18617        "cronet_aml_base_cfi_buildflags__testing",
18618        "cronet_aml_base_check_version_internal_action__testing",
18619        "cronet_aml_base_clang_profiling_buildflags__testing",
18620        "cronet_aml_base_debugging_buildflags__testing",
18621        "cronet_aml_base_feature_list_buildflags__testing",
18622        "cronet_aml_base_fuzzing_buildflags__testing",
18623        "cronet_aml_base_ios_cronet_buildflags__testing",
18624        "cronet_aml_base_logging_buildflags__testing",
18625        "cronet_aml_base_message_pump_buildflags__testing",
18626        "cronet_aml_base_orderfile_buildflags__testing",
18627        "cronet_aml_base_power_monitor_buildflags__testing",
18628        "cronet_aml_base_profiler_buildflags__testing",
18629        "cronet_aml_base_protected_memory_buildflags__testing",
18630        "cronet_aml_base_rust_buildflags__testing",
18631        "cronet_aml_base_sanitizer_buildflags__testing",
18632        "cronet_aml_base_synchronization_buildflags__testing",
18633        "cronet_aml_base_tracing_buildflags__testing",
18634        "cronet_aml_build_blink_buildflags__testing",
18635        "cronet_aml_build_branding_buildflags__testing",
18636        "cronet_aml_build_chromecast_buildflags__testing",
18637        "cronet_aml_build_chromeos_buildflags__testing",
18638        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
18639        "cronet_aml_build_ios_buildflags__testing",
18640        "cronet_aml_crypto_buildflags__testing",
18641    ],
18642    defaults: [
18643        "cronet_aml_cc_defaults",
18644    ],
18645    cflags: [
18646        "-DCRYPTO_IMPLEMENTATION",
18647        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
18648        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
18649        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18650        "-DNDEBUG",
18651        "-DNO_UNWIND_TABLES",
18652        "-DNVALGRIND",
18653        "-DOFFICIAL_BUILD",
18654        "-D_GNU_SOURCE",
18655        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18656        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
18657        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18658        "-D__STDC_CONSTANT_MACROS",
18659        "-D__STDC_FORMAT_MACROS",
18660        "-fdata-sections",
18661        "-ffunction-sections",
18662        "-fno-asynchronous-unwind-tables",
18663        "-fno-unwind-tables",
18664        "-fstack-protector",
18665        "-fvisibility-inlines-hidden",
18666        "-fvisibility=hidden",
18667        "-g1",
18668    ],
18669    local_include_dirs: [
18670        "./",
18671        "base/allocator/partition_allocator/src/",
18672        "buildtools/third_party/libc++/",
18673        "third_party/abseil-cpp/",
18674        "third_party/boringssl/src/include/",
18675        "third_party/libc++/src/include",
18676        "third_party/libc++abi/src/include",
18677    ],
18678    cpp_std: "c++20",
18679    ldflags: [
18680        "-Wl,--as-needed",
18681        "-Wl,--gc-sections",
18682        "-Wl,--icf=all",
18683        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
18684    ],
18685    target: {
18686        android: {
18687            shared_libs: [
18688                "libandroid",
18689                "liblog",
18690            ],
18691        },
18692        android_arm: {
18693            shared_libs: [
18694                "liblog",
18695            ],
18696            cflags: [
18697                "-DANDROID",
18698                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18699                "-DHAVE_SYS_UIO_H",
18700                "-D_FORTIFY_SOURCE=2",
18701                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18702            ],
18703            ldflags: [
18704                "-Wl,-wrap,asprintf",
18705                "-Wl,-wrap,calloc",
18706                "-Wl,-wrap,free",
18707                "-Wl,-wrap,getcwd",
18708                "-Wl,-wrap,malloc",
18709                "-Wl,-wrap,malloc_usable_size",
18710                "-Wl,-wrap,memalign",
18711                "-Wl,-wrap,posix_memalign",
18712                "-Wl,-wrap,pvalloc",
18713                "-Wl,-wrap,realloc",
18714                "-Wl,-wrap,realpath",
18715                "-Wl,-wrap,strdup",
18716                "-Wl,-wrap,strndup",
18717                "-Wl,-wrap,valloc",
18718                "-Wl,-wrap,vasprintf",
18719            ],
18720        },
18721        android_arm64: {
18722            shared_libs: [
18723                "liblog",
18724            ],
18725            cflags: [
18726                "-DANDROID",
18727                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18728                "-DHAVE_SYS_UIO_H",
18729                "-D_FORTIFY_SOURCE=2",
18730                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18731                "-O2",
18732                "-mno-outline",
18733            ],
18734            ldflags: [
18735                "-Wl,-wrap,asprintf",
18736                "-Wl,-wrap,calloc",
18737                "-Wl,-wrap,free",
18738                "-Wl,-wrap,getcwd",
18739                "-Wl,-wrap,malloc",
18740                "-Wl,-wrap,malloc_usable_size",
18741                "-Wl,-wrap,memalign",
18742                "-Wl,-wrap,posix_memalign",
18743                "-Wl,-wrap,pvalloc",
18744                "-Wl,-wrap,realloc",
18745                "-Wl,-wrap,realpath",
18746                "-Wl,-wrap,strdup",
18747                "-Wl,-wrap,strndup",
18748                "-Wl,-wrap,valloc",
18749                "-Wl,-wrap,vasprintf",
18750            ],
18751        },
18752        android_riscv64: {
18753            shared_libs: [
18754                "liblog",
18755            ],
18756            cflags: [
18757                "-DANDROID",
18758                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18759                "-DHAVE_SYS_UIO_H",
18760                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18761            ],
18762            ldflags: [
18763                "-Wl,-wrap,asprintf",
18764                "-Wl,-wrap,calloc",
18765                "-Wl,-wrap,free",
18766                "-Wl,-wrap,getcwd",
18767                "-Wl,-wrap,malloc",
18768                "-Wl,-wrap,malloc_usable_size",
18769                "-Wl,-wrap,memalign",
18770                "-Wl,-wrap,posix_memalign",
18771                "-Wl,-wrap,pvalloc",
18772                "-Wl,-wrap,realloc",
18773                "-Wl,-wrap,realpath",
18774                "-Wl,-wrap,strdup",
18775                "-Wl,-wrap,strndup",
18776                "-Wl,-wrap,valloc",
18777                "-Wl,-wrap,vasprintf",
18778            ],
18779        },
18780        android_x86: {
18781            shared_libs: [
18782                "liblog",
18783            ],
18784            cflags: [
18785                "-DANDROID",
18786                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18787                "-DHAVE_SYS_UIO_H",
18788                "-D_FORTIFY_SOURCE=2",
18789                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18790                "-msse3",
18791            ],
18792            ldflags: [
18793                "-Wl,-wrap,asprintf",
18794                "-Wl,-wrap,calloc",
18795                "-Wl,-wrap,free",
18796                "-Wl,-wrap,getcwd",
18797                "-Wl,-wrap,malloc",
18798                "-Wl,-wrap,malloc_usable_size",
18799                "-Wl,-wrap,memalign",
18800                "-Wl,-wrap,posix_memalign",
18801                "-Wl,-wrap,pvalloc",
18802                "-Wl,-wrap,realloc",
18803                "-Wl,-wrap,realpath",
18804                "-Wl,-wrap,strdup",
18805                "-Wl,-wrap,strndup",
18806                "-Wl,-wrap,valloc",
18807                "-Wl,-wrap,vasprintf",
18808            ],
18809        },
18810        android_x86_64: {
18811            shared_libs: [
18812                "liblog",
18813            ],
18814            cflags: [
18815                "-DANDROID",
18816                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18817                "-DHAVE_SYS_UIO_H",
18818                "-D_FORTIFY_SOURCE=2",
18819                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18820                "-msse3",
18821            ],
18822            ldflags: [
18823                "-Wl,-wrap,asprintf",
18824                "-Wl,-wrap,calloc",
18825                "-Wl,-wrap,free",
18826                "-Wl,-wrap,getcwd",
18827                "-Wl,-wrap,malloc",
18828                "-Wl,-wrap,malloc_usable_size",
18829                "-Wl,-wrap,memalign",
18830                "-Wl,-wrap,posix_memalign",
18831                "-Wl,-wrap,pvalloc",
18832                "-Wl,-wrap,realloc",
18833                "-Wl,-wrap,realpath",
18834                "-Wl,-wrap,strdup",
18835                "-Wl,-wrap,strndup",
18836                "-Wl,-wrap,valloc",
18837                "-Wl,-wrap,vasprintf",
18838            ],
18839        },
18840        host: {
18841            cflags: [
18842                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
18843                "-DUSE_AURA=1",
18844                "-DUSE_OZONE=1",
18845                "-DUSE_UDEV",
18846                "-D_FILE_OFFSET_BITS=64",
18847                "-D_FORTIFY_SOURCE=2",
18848                "-D_LARGEFILE64_SOURCE",
18849                "-D_LARGEFILE_SOURCE",
18850                "-O2",
18851                "-msse3",
18852            ],
18853            compile_multilib: "64",
18854        },
18855    },
18856}
18857
18858// GN: //crypto:test_support__testing
18859cc_library_static {
18860    name: "cronet_aml_crypto_test_support__testing",
18861    srcs: [
18862        "crypto/scoped_fake_user_verifying_key_provider.cc",
18863        "crypto/scoped_mock_unexportable_key_provider.cc",
18864    ],
18865    shared_libs: [
18866        "libandroid",
18867        "liblog",
18868    ],
18869    generated_headers: [
18870        "cronet_aml_base_allocator_buildflags__testing",
18871        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
18872        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
18873        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
18874        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
18875        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
18876        "cronet_aml_base_anchor_functions_buildflags__testing",
18877        "cronet_aml_base_build_date__testing",
18878        "cronet_aml_base_cfi_buildflags__testing",
18879        "cronet_aml_base_check_version_internal_action__testing",
18880        "cronet_aml_base_clang_profiling_buildflags__testing",
18881        "cronet_aml_base_debugging_buildflags__testing",
18882        "cronet_aml_base_feature_list_buildflags__testing",
18883        "cronet_aml_base_fuzzing_buildflags__testing",
18884        "cronet_aml_base_ios_cronet_buildflags__testing",
18885        "cronet_aml_base_logging_buildflags__testing",
18886        "cronet_aml_base_message_pump_buildflags__testing",
18887        "cronet_aml_base_orderfile_buildflags__testing",
18888        "cronet_aml_base_power_monitor_buildflags__testing",
18889        "cronet_aml_base_profiler_buildflags__testing",
18890        "cronet_aml_base_protected_memory_buildflags__testing",
18891        "cronet_aml_base_rust_buildflags__testing",
18892        "cronet_aml_base_sanitizer_buildflags__testing",
18893        "cronet_aml_base_synchronization_buildflags__testing",
18894        "cronet_aml_base_tracing_buildflags__testing",
18895        "cronet_aml_build_blink_buildflags__testing",
18896        "cronet_aml_build_branding_buildflags__testing",
18897        "cronet_aml_build_chromecast_buildflags__testing",
18898        "cronet_aml_build_chromeos_buildflags__testing",
18899        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
18900        "cronet_aml_build_ios_buildflags__testing",
18901        "cronet_aml_crypto_buildflags__testing",
18902    ],
18903    export_generated_headers: [
18904        "cronet_aml_base_allocator_buildflags__testing",
18905        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
18906        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
18907        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
18908        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
18909        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
18910        "cronet_aml_base_anchor_functions_buildflags__testing",
18911        "cronet_aml_base_build_date__testing",
18912        "cronet_aml_base_cfi_buildflags__testing",
18913        "cronet_aml_base_check_version_internal_action__testing",
18914        "cronet_aml_base_clang_profiling_buildflags__testing",
18915        "cronet_aml_base_debugging_buildflags__testing",
18916        "cronet_aml_base_feature_list_buildflags__testing",
18917        "cronet_aml_base_fuzzing_buildflags__testing",
18918        "cronet_aml_base_ios_cronet_buildflags__testing",
18919        "cronet_aml_base_logging_buildflags__testing",
18920        "cronet_aml_base_message_pump_buildflags__testing",
18921        "cronet_aml_base_orderfile_buildflags__testing",
18922        "cronet_aml_base_power_monitor_buildflags__testing",
18923        "cronet_aml_base_profiler_buildflags__testing",
18924        "cronet_aml_base_protected_memory_buildflags__testing",
18925        "cronet_aml_base_rust_buildflags__testing",
18926        "cronet_aml_base_sanitizer_buildflags__testing",
18927        "cronet_aml_base_synchronization_buildflags__testing",
18928        "cronet_aml_base_tracing_buildflags__testing",
18929        "cronet_aml_build_blink_buildflags__testing",
18930        "cronet_aml_build_branding_buildflags__testing",
18931        "cronet_aml_build_chromecast_buildflags__testing",
18932        "cronet_aml_build_chromeos_buildflags__testing",
18933        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
18934        "cronet_aml_build_ios_buildflags__testing",
18935        "cronet_aml_crypto_buildflags__testing",
18936    ],
18937    defaults: [
18938        "cronet_aml_cc_defaults",
18939    ],
18940    cflags: [
18941        "-DANDROID",
18942        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
18943        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
18944        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
18945        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18946        "-DHAVE_SYS_UIO_H",
18947        "-DNDEBUG",
18948        "-DNO_UNWIND_TABLES",
18949        "-DNVALGRIND",
18950        "-DOFFICIAL_BUILD",
18951        "-D_GNU_SOURCE",
18952        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18953        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
18954        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18955        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
18956        "-D__STDC_CONSTANT_MACROS",
18957        "-D__STDC_FORMAT_MACROS",
18958        "-fdata-sections",
18959        "-ffunction-sections",
18960        "-fno-asynchronous-unwind-tables",
18961        "-fno-unwind-tables",
18962        "-fstack-protector",
18963        "-fvisibility-inlines-hidden",
18964        "-fvisibility=hidden",
18965        "-g1",
18966    ],
18967    local_include_dirs: [
18968        "./",
18969        "base/allocator/partition_allocator/src/",
18970        "buildtools/third_party/libc++/",
18971        "third_party/abseil-cpp/",
18972        "third_party/boringssl/src/include/",
18973        "third_party/libc++/src/include",
18974        "third_party/libc++abi/src/include",
18975    ],
18976    cpp_std: "c++20",
18977    ldflags: [
18978        "-Wl,--as-needed",
18979        "-Wl,--gc-sections",
18980        "-Wl,--icf=all",
18981        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
18982        "-Wl,-wrap,asprintf",
18983        "-Wl,-wrap,calloc",
18984        "-Wl,-wrap,free",
18985        "-Wl,-wrap,getcwd",
18986        "-Wl,-wrap,malloc",
18987        "-Wl,-wrap,malloc_usable_size",
18988        "-Wl,-wrap,memalign",
18989        "-Wl,-wrap,posix_memalign",
18990        "-Wl,-wrap,pvalloc",
18991        "-Wl,-wrap,realloc",
18992        "-Wl,-wrap,realpath",
18993        "-Wl,-wrap,strdup",
18994        "-Wl,-wrap,strndup",
18995        "-Wl,-wrap,valloc",
18996        "-Wl,-wrap,vasprintf",
18997    ],
18998    target: {
18999        android_arm: {
19000            cflags: [
19001                "-D_FORTIFY_SOURCE=2",
19002            ],
19003        },
19004        android_arm64: {
19005            cflags: [
19006                "-D_FORTIFY_SOURCE=2",
19007                "-O2",
19008                "-mno-outline",
19009            ],
19010        },
19011        android_x86: {
19012            cflags: [
19013                "-D_FORTIFY_SOURCE=2",
19014                "-msse3",
19015            ],
19016        },
19017        android_x86_64: {
19018            cflags: [
19019                "-D_FORTIFY_SOURCE=2",
19020                "-msse3",
19021            ],
19022        },
19023    },
19024}
19025
19026// GN: //net/android:embedded_test_server_aidl__testing
19027java_library {
19028    name: "cronet_aml_net_android_embedded_test_server_aidl__testing",
19029    srcs: [
19030        "net/test/android/javatests/src/org/chromium/net/test/IConnectionListener.aidl",
19031        "net/test/android/javatests/src/org/chromium/net/test/IEmbeddedTestServerImpl.aidl",
19032    ],
19033    apex_available: [
19034        "com.android.tethering",
19035    ],
19036    min_sdk_version: "30",
19037    aidl: {
19038        include_dirs: [
19039            "frameworks/base/core/java/",
19040        ],
19041        local_include_dirs: [
19042            "net/test/android/javatests/src",
19043        ],
19044    },
19045    sdk_version: "current",
19046    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19047}
19048
19049// GN: //net/android:embedded_test_server_aidl_java__testing
19050java_library {
19051    name: "cronet_aml_net_android_embedded_test_server_aidl_java__testing",
19052    static_libs: [
19053        "cronet_aml_net_android_embedded_test_server_aidl__testing",
19054    ],
19055    apex_available: [
19056        "com.android.tethering",
19057    ],
19058    min_sdk_version: "30",
19059    sdk_version: "current",
19060    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19061}
19062
19063// GN: //net/android:net_android_java_enums_srcjar
19064java_genrule {
19065    name: "cronet_aml_net_android_net_android_java_enums_srcjar",
19066    srcs: [
19067        "net/android/network_change_notifier_android.cc",
19068        "net/android/traffic_stats.cc",
19069        "net/socket/socket_tag.cc",
19070    ],
19071    cmd: "mkdir -p $(genDir)/net/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
19072         "$(out) " +
19073         "$(location net/base/network_change_notifier.h) " +
19074         "$(location net/socket/socket_tag.cc) " +
19075         "$(location net/android/cert_verify_result_android.h) " +
19076         "$(location net/android/keystore.h) " +
19077         "$(location net/android/network_change_notifier_android.cc) " +
19078         "$(location net/android/traffic_stats.cc)",
19079    out: [
19080        "net/android/net_android_java_enums_srcjar.srcjar",
19081    ],
19082    tool_files: [
19083        "build/action_helpers.py",
19084        "build/android/gyp/java_cpp_enum.py",
19085        "build/android/gyp/util/__init__.py",
19086        "build/android/gyp/util/build_utils.py",
19087        "build/android/gyp/util/java_cpp_utils.py",
19088        "build/gn_helpers.py",
19089        "build/zip_helpers.py",
19090        "net/android/cert_verify_result_android.h",
19091        "net/android/keystore.h",
19092        "net/base/network_change_notifier.h",
19093    ],
19094}
19095
19096// GN: //net/android:net_android_java_enums_srcjar__testing
19097java_genrule {
19098    name: "cronet_aml_net_android_net_android_java_enums_srcjar__testing",
19099    srcs: [
19100        "net/android/network_change_notifier_android.cc",
19101        "net/android/traffic_stats.cc",
19102        "net/socket/socket_tag.cc",
19103    ],
19104    cmd: "mkdir -p $(genDir)/net/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
19105         "$(out) " +
19106         "$(location net/base/network_change_notifier.h) " +
19107         "$(location net/socket/socket_tag.cc) " +
19108         "$(location net/android/cert_verify_result_android.h) " +
19109         "$(location net/android/keystore.h) " +
19110         "$(location net/android/network_change_notifier_android.cc) " +
19111         "$(location net/android/traffic_stats.cc)",
19112    out: [
19113        "net/android/net_android_java_enums_srcjar.srcjar",
19114    ],
19115    tool_files: [
19116        "build/action_helpers.py",
19117        "build/android/gyp/java_cpp_enum.py",
19118        "build/android/gyp/util/__init__.py",
19119        "build/android/gyp/util/build_utils.py",
19120        "build/android/gyp/util/java_cpp_utils.py",
19121        "build/gn_helpers.py",
19122        "build/zip_helpers.py",
19123        "net/android/cert_verify_result_android.h",
19124        "net/android/keystore.h",
19125        "net/base/network_change_notifier.h",
19126    ],
19127}
19128
19129// GN: //net/android:net_errors_java
19130genrule {
19131    name: "cronet_aml_net_android_net_errors_java",
19132    srcs: [
19133        ":cronet_aml_net_android_net_errors_java_preprocess",
19134    ],
19135    tools: [
19136        "soong_zip",
19137    ],
19138    cmd: "cp $(in) $(genDir)/NetError.java && " +
19139         "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/NetError.java",
19140    out: [
19141        "NetError.srcjar",
19142    ],
19143    defaults: [
19144        "cronet_aml_cc_defaults",
19145    ],
19146}
19147
19148// GN: //net/android:net_errors_java__testing
19149genrule {
19150    name: "cronet_aml_net_android_net_errors_java__testing",
19151    srcs: [
19152        ":cronet_aml_net_android_net_errors_java__testing_preprocess",
19153    ],
19154    tools: [
19155        "soong_zip",
19156    ],
19157    cmd: "cp $(in) $(genDir)/NetError.java && " +
19158         "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/NetError.java",
19159    out: [
19160        "NetError.srcjar",
19161    ],
19162    defaults: [
19163        "cronet_aml_cc_defaults",
19164    ],
19165}
19166
19167// GN: //net/android:net_errors_java__testing
19168cc_object {
19169    name: "cronet_aml_net_android_net_errors_java__testing_preprocess",
19170    srcs: [
19171        ":cronet_aml_net_android_net_errors_java__testing_rename",
19172    ],
19173    cflags: [
19174        "-DANDROID",
19175        "-E",
19176        "-P",
19177    ],
19178    compile_multilib: "first",
19179}
19180
19181// GN: //net/android:net_errors_java__testing
19182genrule {
19183    name: "cronet_aml_net_android_net_errors_java__testing_rename",
19184    srcs: [
19185        "net/android/java/NetError.template",
19186    ],
19187    cmd: "cp $(in) $(out)",
19188    out: [
19189        "NetError.cc",
19190    ],
19191}
19192
19193// GN: //net/android:net_errors_java
19194cc_object {
19195    name: "cronet_aml_net_android_net_errors_java_preprocess",
19196    srcs: [
19197        ":cronet_aml_net_android_net_errors_java_rename",
19198    ],
19199    cflags: [
19200        "-DANDROID",
19201        "-E",
19202        "-P",
19203    ],
19204    compile_multilib: "first",
19205}
19206
19207// GN: //net/android:net_errors_java
19208genrule {
19209    name: "cronet_aml_net_android_net_errors_java_rename",
19210    srcs: [
19211        "net/android/java/NetError.template",
19212    ],
19213    cmd: "cp $(in) $(out)",
19214    out: [
19215        "NetError.cc",
19216    ],
19217}
19218
19219// GN: //net/android:net_java
19220java_library {
19221    name: "cronet_aml_net_android_net_java",
19222    srcs: [
19223        ":cronet_aml_net_android_net_android_java_enums_srcjar",
19224        ":cronet_aml_net_android_net_errors_java",
19225        ":cronet_aml_net_net_jni_headers__action__java",
19226        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
19227        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
19228        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
19229        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
19230        "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
19231        "net/android/java/src/org/chromium/net/DnsStatus.java",
19232        "net/android/java/src/org/chromium/net/GURLUtils.java",
19233        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
19234        "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
19235        "net/android/java/src/org/chromium/net/HttpUtil.java",
19236        "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
19237        "net/android/java/src/org/chromium/net/NetStringUtil.java",
19238        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
19239        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
19240        "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
19241        "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
19242        "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
19243        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
19244        "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
19245        "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
19246        "net/android/java/src/org/chromium/net/X509Util.java",
19247    ],
19248    static_libs: [
19249        "cronet_aml_base_base_java",
19250        "cronet_aml_build_android_build_java",
19251        "cronet_aml_net_android_net_thread_stats_uid_java",
19252        "cronet_aml_third_party_jni_zero_jni_zero_java",
19253    ],
19254    defaults: [
19255        "cronet_aml_java_framework_defaults",
19256    ],
19257    apex_available: [
19258        "com.android.tethering",
19259    ],
19260    min_sdk_version: "30",
19261    libs: [
19262        "androidx.annotation_annotation",
19263        "jsr305",
19264    ],
19265    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19266}
19267
19268// GN: //net/android:net_java__testing
19269java_library {
19270    name: "cronet_aml_net_android_net_java__testing",
19271    srcs: [
19272        ":cronet_aml_net_android_net_android_java_enums_srcjar__testing",
19273        ":cronet_aml_net_android_net_errors_java__testing",
19274        ":cronet_aml_net_net_jni_headers__action__testing__java",
19275        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
19276        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
19277        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
19278        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
19279        "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
19280        "net/android/java/src/org/chromium/net/DnsStatus.java",
19281        "net/android/java/src/org/chromium/net/GURLUtils.java",
19282        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
19283        "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
19284        "net/android/java/src/org/chromium/net/HttpUtil.java",
19285        "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
19286        "net/android/java/src/org/chromium/net/NetStringUtil.java",
19287        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
19288        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
19289        "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
19290        "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
19291        "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
19292        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
19293        "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
19294        "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
19295        "net/android/java/src/org/chromium/net/X509Util.java",
19296    ],
19297    static_libs: [
19298        "cronet_aml_base_base_java__testing",
19299        "cronet_aml_build_android_build_java__testing",
19300        "cronet_aml_net_android_net_thread_stats_uid_java__testing",
19301        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
19302    ],
19303    apex_available: [
19304        "com.android.tethering",
19305    ],
19306    min_sdk_version: "30",
19307    libs: [
19308        "androidx.annotation_annotation",
19309        "jsr305",
19310    ],
19311    sdk_version: "current",
19312    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19313}
19314
19315// GN: //net/android:net_java_test_support__testing
19316java_library {
19317    name: "cronet_aml_net_android_net_java_test_support__testing",
19318    srcs: [
19319        ":cronet_aml_net_android_net_java_test_support_enums_srcjar__testing",
19320        ":cronet_aml_net_android_net_test_support_jni__action__testing__java",
19321        "net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java",
19322        "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServer.java",
19323        "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerRule.java",
19324        "net/test/android/javatests/src/org/chromium/net/test/util/CertTestUtil.java",
19325        "net/test/android/javatests/src/org/chromium/net/test/util/NetworkChangeNotifierTestUtil.java",
19326        "net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java",
19327        "net/test/android/javatests/src/org/chromium/net/test/util/WebServer.java",
19328    ],
19329    static_libs: [
19330        "androidx.test.uiautomator_uiautomator",
19331        "cronet_aml_base_base_java__testing",
19332        "cronet_aml_base_base_java_test_support__testing",
19333        "cronet_aml_base_base_java_url_utils_for_test__testing",
19334        "cronet_aml_net_android_embedded_test_server_aidl_java__testing",
19335        "cronet_aml_net_android_net_java__testing",
19336        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
19337        "junit",
19338    ],
19339    apex_available: [
19340        "com.android.tethering",
19341    ],
19342    min_sdk_version: "30",
19343    libs: [
19344        "androidx.annotation_annotation",
19345        "androidx.test.monitor",
19346    ],
19347    sdk_version: "current",
19348    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19349}
19350
19351// GN: //net/android:net_java_test_support_enums_srcjar__testing
19352java_genrule {
19353    name: "cronet_aml_net_android_net_java_test_support_enums_srcjar__testing",
19354    cmd: "mkdir -p $(genDir)/net/android && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
19355         "$(out) " +
19356         "$(location net/test/embedded_test_server/embedded_test_server.h) " +
19357         "$(location net/test/url_request/url_request_failed_job.h)",
19358    out: [
19359        "net/android/net_java_test_support_enums_srcjar.srcjar",
19360    ],
19361    tool_files: [
19362        "build/action_helpers.py",
19363        "build/android/gyp/java_cpp_enum.py",
19364        "build/android/gyp/util/__init__.py",
19365        "build/android/gyp/util/build_utils.py",
19366        "build/android/gyp/util/java_cpp_utils.py",
19367        "build/gn_helpers.py",
19368        "build/zip_helpers.py",
19369        "net/test/embedded_test_server/embedded_test_server.h",
19370        "net/test/url_request/url_request_failed_job.h",
19371    ],
19372}
19373
19374// GN: //net/android:net_test_support_jni__action__testing
19375cc_genrule {
19376    name: "cronet_aml_net_android_net_test_support_jni__action__testing",
19377    srcs: [
19378        "net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java",
19379    ],
19380    cmd: "mkdir -p $(genDir)/jni_headers/net/android/net_test_support_jni &&  " +
19381         "mkdir -p $(genDir)/net/android && $(location third_party/jni_zero/jni_zero.py) from-source " +
19382         "--output-dir " +
19383         "$(genDir)/net/android/net_test_support_jni " +
19384         "--extra-include " +
19385         "third_party/jni_zero/jni_zero_internal.h " +
19386         "--srcjar-path " +
19387         "$(genDir)/net/android/net_test_support_jni.srcjar " +
19388         "--placeholder-srcjar-path " +
19389         "$(genDir)/net/android/net_test_support_jni_placeholder.srcjar " +
19390         "--use-proxy-hash " +
19391         "--output-name " +
19392         "AndroidNetworkLibraryTestUtil_jni.h " +
19393         "--input-file " +
19394         "$(location net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java)",
19395    out: [
19396        "net/android/net_test_support_jni.srcjar",
19397        "net/android/net_test_support_jni/AndroidNetworkLibraryTestUtil_jni.h",
19398    ],
19399    tool_files: [
19400        "third_party/jni_zero/codegen/called_by_native_header.py",
19401        "third_party/jni_zero/codegen/convert_type.py",
19402        "third_party/jni_zero/codegen/header_common.py",
19403        "third_party/jni_zero/codegen/natives_header.py",
19404        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
19405        "third_party/jni_zero/codegen/placeholder_java_type.py",
19406        "third_party/jni_zero/codegen/proxy_impl_java.py",
19407        "third_party/jni_zero/common.py",
19408        "third_party/jni_zero/java_lang_classes.py",
19409        "third_party/jni_zero/java_types.py",
19410        "third_party/jni_zero/jni_generator.py",
19411        "third_party/jni_zero/jni_registration_generator.py",
19412        "third_party/jni_zero/jni_zero.py",
19413        "third_party/jni_zero/parse.py",
19414        "third_party/jni_zero/proxy.py",
19415    ],
19416    apex_available: [
19417        "com.android.tethering",
19418    ],
19419}
19420
19421// GN: //net/android:net_test_support_jni__action__testing
19422java_genrule {
19423    name: "cronet_aml_net_android_net_test_support_jni__action__testing__java",
19424    srcs: [
19425        "net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java",
19426    ],
19427    cmd: "mkdir -p $(genDir)/jni_headers/net/android/net_test_support_jni &&  " +
19428         "mkdir -p $(genDir)/net/android && $(location third_party/jni_zero/jni_zero.py) from-source " +
19429         "--output-dir " +
19430         "$(genDir)/net/android/net_test_support_jni " +
19431         "--extra-include " +
19432         "third_party/jni_zero/jni_zero_internal.h " +
19433         "--srcjar-path " +
19434         "$(genDir)/net/android/net_test_support_jni.srcjar " +
19435         "--placeholder-srcjar-path " +
19436         "$(genDir)/net/android/net_test_support_jni_placeholder.srcjar " +
19437         "--use-proxy-hash " +
19438         "--output-name " +
19439         "AndroidNetworkLibraryTestUtil_jni.h " +
19440         "--input-file " +
19441         "$(location net/test/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTestUtil.java)",
19442    out: [
19443        "net/android/net_test_support_jni.srcjar",
19444        "net/android/net_test_support_jni/AndroidNetworkLibraryTestUtil_jni.h",
19445    ],
19446    tool_files: [
19447        "third_party/jni_zero/codegen/called_by_native_header.py",
19448        "third_party/jni_zero/codegen/convert_type.py",
19449        "third_party/jni_zero/codegen/header_common.py",
19450        "third_party/jni_zero/codegen/natives_header.py",
19451        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
19452        "third_party/jni_zero/codegen/placeholder_java_type.py",
19453        "third_party/jni_zero/codegen/proxy_impl_java.py",
19454        "third_party/jni_zero/common.py",
19455        "third_party/jni_zero/java_lang_classes.py",
19456        "third_party/jni_zero/java_types.py",
19457        "third_party/jni_zero/jni_generator.py",
19458        "third_party/jni_zero/jni_registration_generator.py",
19459        "third_party/jni_zero/jni_zero.py",
19460        "third_party/jni_zero/parse.py",
19461        "third_party/jni_zero/proxy.py",
19462    ],
19463}
19464
19465// GN: //net/android:net_test_support_provider_java__testing
19466java_library {
19467    name: "cronet_aml_net_android_net_test_support_provider_java__testing",
19468    srcs: [
19469        ":cronet_aml_net_android_net_test_support_provider_jni__action__testing__java",
19470        "net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java",
19471        "net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticatorService.java",
19472        "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java",
19473        "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerService.java",
19474    ],
19475    static_libs: [
19476        "cronet_aml_base_base_java__testing",
19477        "cronet_aml_base_base_java_url_utils_for_test__testing",
19478        "cronet_aml_net_android_embedded_test_server_aidl_java__testing",
19479        "cronet_aml_net_android_net_java__testing",
19480        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
19481    ],
19482    apex_available: [
19483        "com.android.tethering",
19484    ],
19485    min_sdk_version: "30",
19486    sdk_version: "current",
19487    visibility: [
19488        "//external/cronet:__subpackages__",
19489        "//packages/modules/Connectivity:__subpackages__",
19490    ],
19491    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19492}
19493
19494// GN: //net/android:net_test_support_provider_jni__action__testing
19495cc_genrule {
19496    name: "cronet_aml_net_android_net_test_support_provider_jni__action__testing",
19497    srcs: [
19498        "net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java",
19499        "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java",
19500    ],
19501    cmd: "mkdir -p $(genDir)/jni_headers/net/android/net_test_support_provider_jni &&  " +
19502         "mkdir -p $(genDir)/net/android && $(location third_party/jni_zero/jni_zero.py) from-source " +
19503         "--output-dir " +
19504         "$(genDir)/net/android/net_test_support_provider_jni " +
19505         "--extra-include " +
19506         "third_party/jni_zero/jni_zero_internal.h " +
19507         "--srcjar-path " +
19508         "$(genDir)/net/android/net_test_support_provider_jni.srcjar " +
19509         "--placeholder-srcjar-path " +
19510         "$(genDir)/net/android/net_test_support_provider_jni_placeholder.srcjar " +
19511         "--use-proxy-hash " +
19512         "--output-name " +
19513         "DummySpnegoAuthenticator_jni.h " +
19514         "--output-name " +
19515         "EmbeddedTestServerImpl_jni.h " +
19516         "--input-file " +
19517         "$(location net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java) " +
19518         "--input-file " +
19519         "$(location net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java)",
19520    out: [
19521        "net/android/net_test_support_provider_jni.srcjar",
19522        "net/android/net_test_support_provider_jni/DummySpnegoAuthenticator_jni.h",
19523        "net/android/net_test_support_provider_jni/EmbeddedTestServerImpl_jni.h",
19524    ],
19525    tool_files: [
19526        "third_party/jni_zero/codegen/called_by_native_header.py",
19527        "third_party/jni_zero/codegen/convert_type.py",
19528        "third_party/jni_zero/codegen/header_common.py",
19529        "third_party/jni_zero/codegen/natives_header.py",
19530        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
19531        "third_party/jni_zero/codegen/placeholder_java_type.py",
19532        "third_party/jni_zero/codegen/proxy_impl_java.py",
19533        "third_party/jni_zero/common.py",
19534        "third_party/jni_zero/java_lang_classes.py",
19535        "third_party/jni_zero/java_types.py",
19536        "third_party/jni_zero/jni_generator.py",
19537        "third_party/jni_zero/jni_registration_generator.py",
19538        "third_party/jni_zero/jni_zero.py",
19539        "third_party/jni_zero/parse.py",
19540        "third_party/jni_zero/proxy.py",
19541    ],
19542    apex_available: [
19543        "com.android.tethering",
19544    ],
19545}
19546
19547// GN: //net/android:net_test_support_provider_jni__action__testing
19548java_genrule {
19549    name: "cronet_aml_net_android_net_test_support_provider_jni__action__testing__java",
19550    srcs: [
19551        "net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java",
19552        "net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java",
19553    ],
19554    cmd: "mkdir -p $(genDir)/jni_headers/net/android/net_test_support_provider_jni &&  " +
19555         "mkdir -p $(genDir)/net/android && $(location third_party/jni_zero/jni_zero.py) from-source " +
19556         "--output-dir " +
19557         "$(genDir)/net/android/net_test_support_provider_jni " +
19558         "--extra-include " +
19559         "third_party/jni_zero/jni_zero_internal.h " +
19560         "--srcjar-path " +
19561         "$(genDir)/net/android/net_test_support_provider_jni.srcjar " +
19562         "--placeholder-srcjar-path " +
19563         "$(genDir)/net/android/net_test_support_provider_jni_placeholder.srcjar " +
19564         "--use-proxy-hash " +
19565         "--output-name " +
19566         "DummySpnegoAuthenticator_jni.h " +
19567         "--output-name " +
19568         "EmbeddedTestServerImpl_jni.h " +
19569         "--input-file " +
19570         "$(location net/test/android/javatests/src/org/chromium/net/test/DummySpnegoAuthenticator.java) " +
19571         "--input-file " +
19572         "$(location net/test/android/javatests/src/org/chromium/net/test/EmbeddedTestServerImpl.java)",
19573    out: [
19574        "net/android/net_test_support_provider_jni.srcjar",
19575        "net/android/net_test_support_provider_jni/DummySpnegoAuthenticator_jni.h",
19576        "net/android/net_test_support_provider_jni/EmbeddedTestServerImpl_jni.h",
19577    ],
19578    tool_files: [
19579        "third_party/jni_zero/codegen/called_by_native_header.py",
19580        "third_party/jni_zero/codegen/convert_type.py",
19581        "third_party/jni_zero/codegen/header_common.py",
19582        "third_party/jni_zero/codegen/natives_header.py",
19583        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
19584        "third_party/jni_zero/codegen/placeholder_java_type.py",
19585        "third_party/jni_zero/codegen/proxy_impl_java.py",
19586        "third_party/jni_zero/common.py",
19587        "third_party/jni_zero/java_lang_classes.py",
19588        "third_party/jni_zero/java_types.py",
19589        "third_party/jni_zero/jni_generator.py",
19590        "third_party/jni_zero/jni_registration_generator.py",
19591        "third_party/jni_zero/jni_zero.py",
19592        "third_party/jni_zero/parse.py",
19593        "third_party/jni_zero/proxy.py",
19594    ],
19595}
19596
19597// GN: //net/android:net_tests_java__testing
19598java_library {
19599    name: "cronet_aml_net_android_net_tests_java__testing",
19600    srcs: [
19601        ":cronet_aml_net_android_net_tests_jni__action__testing__java",
19602        "net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java",
19603        "net/android/javatests/src/org/chromium/net/AndroidNetworkLibraryTest.java",
19604        "net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java",
19605        "net/android/javatests/src/org/chromium/net/AndroidProxySelectorTest.java",
19606        "net/android/javatests/src/org/chromium/net/HttpUtilTest.java",
19607        "net/android/javatests/src/org/chromium/net/MimeTypeFilterTest.java",
19608        "net/android/javatests/src/org/chromium/net/NetErrorsTest.java",
19609        "net/android/javatests/src/org/chromium/net/NetworkChangeNotifierNoNativeTest.java",
19610        "net/android/javatests/src/org/chromium/net/NetworkChangeNotifierTest.java",
19611        "net/android/javatests/src/org/chromium/net/ProxyChangeListenerTest.java",
19612        "net/android/javatests/src/org/chromium/net/X509UtilTest.java",
19613    ],
19614    static_libs: [
19615        "androidx.test.rules",
19616        "androidx.test.runner",
19617        "cronet_aml_base_base_java__testing",
19618        "cronet_aml_base_base_java_test_support__testing",
19619        "cronet_aml_net_android_net_java__testing",
19620        "cronet_aml_net_android_net_java_test_support__testing",
19621        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
19622        "junit",
19623        "mockito",
19624    ],
19625    apex_available: [
19626        "com.android.tethering",
19627    ],
19628    min_sdk_version: "30",
19629    libs: [
19630        "android.test.mock.stubs",
19631        "androidx.test.monitor",
19632    ],
19633    sdk_version: "current",
19634    visibility: [
19635        "//external/cronet:__subpackages__",
19636        "//packages/modules/Connectivity:__subpackages__",
19637    ],
19638    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19639}
19640
19641// GN: //net/android:net_tests_jni__action__testing
19642cc_genrule {
19643    name: "cronet_aml_net_android_net_tests_jni__action__testing",
19644    srcs: [
19645        "net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java",
19646        "net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java",
19647    ],
19648    cmd: "mkdir -p $(genDir)/jni_headers/net/android/net_tests_jni &&  " +
19649         "mkdir -p $(genDir)/net/android && $(location third_party/jni_zero/jni_zero.py) from-source " +
19650         "--output-dir " +
19651         "$(genDir)/net/android/net_tests_jni " +
19652         "--extra-include " +
19653         "third_party/jni_zero/jni_zero_internal.h " +
19654         "--srcjar-path " +
19655         "$(genDir)/net/android/net_tests_jni.srcjar " +
19656         "--placeholder-srcjar-path " +
19657         "$(genDir)/net/android/net_tests_jni_placeholder.srcjar " +
19658         "--use-proxy-hash " +
19659         "--output-name " +
19660         "AndroidKeyStoreTestUtil_jni.h " +
19661         "--output-name " +
19662         "AndroidProxyConfigServiceTestUtil_jni.h " +
19663         "--input-file " +
19664         "$(location net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java) " +
19665         "--input-file " +
19666         "$(location net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java)",
19667    out: [
19668        "net/android/net_tests_jni.srcjar",
19669        "net/android/net_tests_jni/AndroidKeyStoreTestUtil_jni.h",
19670        "net/android/net_tests_jni/AndroidProxyConfigServiceTestUtil_jni.h",
19671    ],
19672    tool_files: [
19673        "third_party/jni_zero/codegen/called_by_native_header.py",
19674        "third_party/jni_zero/codegen/convert_type.py",
19675        "third_party/jni_zero/codegen/header_common.py",
19676        "third_party/jni_zero/codegen/natives_header.py",
19677        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
19678        "third_party/jni_zero/codegen/placeholder_java_type.py",
19679        "third_party/jni_zero/codegen/proxy_impl_java.py",
19680        "third_party/jni_zero/common.py",
19681        "third_party/jni_zero/java_lang_classes.py",
19682        "third_party/jni_zero/java_types.py",
19683        "third_party/jni_zero/jni_generator.py",
19684        "third_party/jni_zero/jni_registration_generator.py",
19685        "third_party/jni_zero/jni_zero.py",
19686        "third_party/jni_zero/parse.py",
19687        "third_party/jni_zero/proxy.py",
19688    ],
19689    apex_available: [
19690        "com.android.tethering",
19691    ],
19692}
19693
19694// GN: //net/android:net_tests_jni__action__testing
19695java_genrule {
19696    name: "cronet_aml_net_android_net_tests_jni__action__testing__java",
19697    srcs: [
19698        "net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java",
19699        "net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java",
19700    ],
19701    cmd: "mkdir -p $(genDir)/jni_headers/net/android/net_tests_jni &&  " +
19702         "mkdir -p $(genDir)/net/android && $(location third_party/jni_zero/jni_zero.py) from-source " +
19703         "--output-dir " +
19704         "$(genDir)/net/android/net_tests_jni " +
19705         "--extra-include " +
19706         "third_party/jni_zero/jni_zero_internal.h " +
19707         "--srcjar-path " +
19708         "$(genDir)/net/android/net_tests_jni.srcjar " +
19709         "--placeholder-srcjar-path " +
19710         "$(genDir)/net/android/net_tests_jni_placeholder.srcjar " +
19711         "--use-proxy-hash " +
19712         "--output-name " +
19713         "AndroidKeyStoreTestUtil_jni.h " +
19714         "--output-name " +
19715         "AndroidProxyConfigServiceTestUtil_jni.h " +
19716         "--input-file " +
19717         "$(location net/android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java) " +
19718         "--input-file " +
19719         "$(location net/android/javatests/src/org/chromium/net/AndroidProxyConfigServiceTestUtil.java)",
19720    out: [
19721        "net/android/net_tests_jni.srcjar",
19722        "net/android/net_tests_jni/AndroidKeyStoreTestUtil_jni.h",
19723        "net/android/net_tests_jni/AndroidProxyConfigServiceTestUtil_jni.h",
19724    ],
19725    tool_files: [
19726        "third_party/jni_zero/codegen/called_by_native_header.py",
19727        "third_party/jni_zero/codegen/convert_type.py",
19728        "third_party/jni_zero/codegen/header_common.py",
19729        "third_party/jni_zero/codegen/natives_header.py",
19730        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
19731        "third_party/jni_zero/codegen/placeholder_java_type.py",
19732        "third_party/jni_zero/codegen/proxy_impl_java.py",
19733        "third_party/jni_zero/common.py",
19734        "third_party/jni_zero/java_lang_classes.py",
19735        "third_party/jni_zero/java_types.py",
19736        "third_party/jni_zero/jni_generator.py",
19737        "third_party/jni_zero/jni_registration_generator.py",
19738        "third_party/jni_zero/jni_zero.py",
19739        "third_party/jni_zero/parse.py",
19740        "third_party/jni_zero/proxy.py",
19741    ],
19742}
19743
19744// GN: //net/android:net_thread_stats_uid_java
19745java_library {
19746    name: "cronet_aml_net_android_net_thread_stats_uid_java",
19747    srcs: [
19748        "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
19749    ],
19750    defaults: [
19751        "cronet_aml_java_framework_defaults",
19752    ],
19753    apex_available: [
19754        "com.android.tethering",
19755    ],
19756    min_sdk_version: "30",
19757    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19758}
19759
19760// GN: //net/android:net_thread_stats_uid_java__testing
19761java_library {
19762    name: "cronet_aml_net_android_net_thread_stats_uid_java__testing",
19763    srcs: [
19764        "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
19765    ],
19766    apex_available: [
19767        "com.android.tethering",
19768    ],
19769    min_sdk_version: "30",
19770    sdk_version: "current",
19771    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
19772}
19773
19774// GN: //net/base/registry_controlled_domains:lookup_strings_test_sets__testing
19775cc_genrule {
19776    name: "cronet_aml_net_base_registry_controlled_domains_lookup_strings_test_sets__testing",
19777    cmd: "mkdir -p $(genDir)/net/base/registry_controlled_domains && $(location net/tools/dafsa/make_dafsa.py) $(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
19778         "$(location net/base/registry_controlled_domains/effective_tld_names-inc.cc) " +
19779         "&& " +
19780         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19781         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
19782         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-inc.cc) " +
19783         "&& " +
19784         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19785         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
19786         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-inc.cc) " +
19787         "&& " +
19788         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19789         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
19790         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-inc.cc) " +
19791         "&& " +
19792         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19793         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
19794         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-inc.cc) " +
19795         "&& " +
19796         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19797         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
19798         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-inc.cc) " +
19799         "&& " +
19800         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19801         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
19802         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-inc.cc)",
19803    out: [
19804        "net/base/registry_controlled_domains/effective_tld_names-inc.cc",
19805        "net/base/registry_controlled_domains/effective_tld_names_unittest1-inc.cc",
19806        "net/base/registry_controlled_domains/effective_tld_names_unittest2-inc.cc",
19807        "net/base/registry_controlled_domains/effective_tld_names_unittest3-inc.cc",
19808        "net/base/registry_controlled_domains/effective_tld_names_unittest4-inc.cc",
19809        "net/base/registry_controlled_domains/effective_tld_names_unittest5-inc.cc",
19810        "net/base/registry_controlled_domains/effective_tld_names_unittest6-inc.cc",
19811    ],
19812    tool_files: [
19813        "net/base/registry_controlled_domains/effective_tld_names.gperf",
19814        "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
19815        "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
19816        "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
19817        "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
19818        "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
19819        "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
19820        "net/tools/dafsa/make_dafsa.py",
19821    ],
19822    apex_available: [
19823        "com.android.tethering",
19824    ],
19825}
19826
19827// GN: //net/base/registry_controlled_domains:registry_controlled_domains
19828cc_genrule {
19829    name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
19830    cmd: "mkdir -p $(genDir)/net/base/registry_controlled_domains && $(location net/tools/dafsa/make_dafsa.py) --reverse " +
19831         "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
19832         "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
19833         "&& " +
19834         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19835         "--reverse " +
19836         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
19837         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
19838         "&& " +
19839         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19840         "--reverse " +
19841         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
19842         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
19843         "&& " +
19844         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19845         "--reverse " +
19846         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
19847         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
19848         "&& " +
19849         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19850         "--reverse " +
19851         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
19852         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
19853         "&& " +
19854         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19855         "--reverse " +
19856         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
19857         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
19858         "&& " +
19859         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19860         "--reverse " +
19861         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
19862         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
19863    out: [
19864        "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
19865        "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
19866        "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
19867        "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
19868        "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
19869        "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
19870        "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
19871    ],
19872    tool_files: [
19873        "net/base/registry_controlled_domains/effective_tld_names.gperf",
19874        "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
19875        "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
19876        "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
19877        "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
19878        "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
19879        "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
19880        "net/tools/dafsa/make_dafsa.py",
19881    ],
19882    apex_available: [
19883        "com.android.tethering",
19884    ],
19885}
19886
19887// GN: //net/base/registry_controlled_domains:registry_controlled_domains__testing
19888cc_genrule {
19889    name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
19890    cmd: "mkdir -p $(genDir)/net/base/registry_controlled_domains && $(location net/tools/dafsa/make_dafsa.py) --reverse " +
19891         "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
19892         "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
19893         "&& " +
19894         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19895         "--reverse " +
19896         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
19897         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
19898         "&& " +
19899         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19900         "--reverse " +
19901         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
19902         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
19903         "&& " +
19904         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19905         "--reverse " +
19906         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
19907         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
19908         "&& " +
19909         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19910         "--reverse " +
19911         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
19912         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
19913         "&& " +
19914         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19915         "--reverse " +
19916         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
19917         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
19918         "&& " +
19919         "python3 $(location net/tools/dafsa/make_dafsa.py) " +
19920         "--reverse " +
19921         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
19922         "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
19923    out: [
19924        "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
19925        "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
19926        "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
19927        "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
19928        "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
19929        "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
19930        "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
19931    ],
19932    tool_files: [
19933        "net/base/registry_controlled_domains/effective_tld_names.gperf",
19934        "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
19935        "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
19936        "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
19937        "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
19938        "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
19939        "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
19940        "net/tools/dafsa/make_dafsa.py",
19941    ],
19942    apex_available: [
19943        "com.android.tethering",
19944    ],
19945}
19946
19947// GN: //net:buildflags
19948cc_genrule {
19949    name: "cronet_aml_net_buildflags",
19950    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
19951         "then " +
19952         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
19953         "$(location build/write_buildflag_header.py) --output " +
19954         "$(out) " +
19955         "--rulename " +
19956         "//net:buildflags " +
19957         "--gen-dir " +
19958         ". " +
19959         "--definitions " +
19960         "/dev/stdin; " +
19961         "fi; " +
19962         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
19963         "then " +
19964         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
19965         "$(location build/write_buildflag_header.py) --output " +
19966         "$(out) " +
19967         "--rulename " +
19968         "//net:buildflags " +
19969         "--gen-dir " +
19970         ". " +
19971         "--definitions " +
19972         "/dev/stdin; " +
19973         "fi; " +
19974         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
19975         "then " +
19976         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
19977         "$(location build/write_buildflag_header.py) --output " +
19978         "$(out) " +
19979         "--rulename " +
19980         "//net:buildflags " +
19981         "--gen-dir " +
19982         ". " +
19983         "--definitions " +
19984         "/dev/stdin; " +
19985         "fi; " +
19986         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
19987         "then " +
19988         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"false\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
19989         "$(location build/write_buildflag_header.py) --output " +
19990         "$(out) " +
19991         "--rulename " +
19992         "//net:buildflags " +
19993         "--gen-dir " +
19994         ". " +
19995         "--definitions " +
19996         "/dev/stdin; " +
19997         "fi; " +
19998         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
19999         "then " +
20000         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
20001         "$(location build/write_buildflag_header.py) --output " +
20002         "$(out) " +
20003         "--rulename " +
20004         "//net:buildflags " +
20005         "--gen-dir " +
20006         ". " +
20007         "--definitions " +
20008         "/dev/stdin; " +
20009         "fi;",
20010    out: [
20011        "net/net_buildflags.h",
20012    ],
20013    tool_files: [
20014        "build/write_buildflag_header.py",
20015    ],
20016    apex_available: [
20017        "com.android.tethering",
20018    ],
20019}
20020
20021// GN: //net:buildflags__testing
20022cc_genrule {
20023    name: "cronet_aml_net_buildflags__testing",
20024    cmd: "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
20025         "then " +
20026         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
20027         "$(location build/write_buildflag_header.py) --output " +
20028         "$(out) " +
20029         "--rulename " +
20030         "//net:buildflags " +
20031         "--gen-dir " +
20032         ". " +
20033         "--definitions " +
20034         "/dev/stdin; " +
20035         "fi; " +
20036         "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
20037         "then " +
20038         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
20039         "$(location build/write_buildflag_header.py) --output " +
20040         "$(out) " +
20041         "--rulename " +
20042         "//net:buildflags " +
20043         "--gen-dir " +
20044         ". " +
20045         "--definitions " +
20046         "/dev/stdin; " +
20047         "fi; " +
20048         "if [[ ( $$CC_ARCH == 'riscv64' && $$CC_OS == 'android' ) ]]; " +
20049         "then " +
20050         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
20051         "$(location build/write_buildflag_header.py) --output " +
20052         "$(out) " +
20053         "--rulename " +
20054         "//net:buildflags " +
20055         "--gen-dir " +
20056         ". " +
20057         "--definitions " +
20058         "/dev/stdin; " +
20059         "fi; " +
20060         "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
20061         "then " +
20062         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"false\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
20063         "$(location build/write_buildflag_header.py) --output " +
20064         "$(out) " +
20065         "--rulename " +
20066         "//net:buildflags " +
20067         "--gen-dir " +
20068         ". " +
20069         "--definitions " +
20070         "/dev/stdin; " +
20071         "fi; " +
20072         "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
20073         "then " +
20074         "mkdir -p $(genDir)/net && echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" ENABLE_CLIENT_CERTIFICATES=\"true\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" CHROME_ROOT_STORE_OPTIONAL=\"false\" CHROME_ROOT_STORE_ONLY=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\" ENABLE_DEVICE_BOUND_SESSIONS=\"false\"' | " +
20075         "$(location build/write_buildflag_header.py) --output " +
20076         "$(out) " +
20077         "--rulename " +
20078         "//net:buildflags " +
20079         "--gen-dir " +
20080         ". " +
20081         "--definitions " +
20082         "/dev/stdin; " +
20083         "fi;",
20084    out: [
20085        "net/net_buildflags.h",
20086    ],
20087    tool_files: [
20088        "build/write_buildflag_header.py",
20089    ],
20090    apex_available: [
20091        "com.android.tethering",
20092    ],
20093}
20094
20095// GN: //net:constants
20096cc_library_static {
20097    name: "cronet_aml_net_constants",
20098    shared_libs: [
20099        "//external/cronet/third_party/boringssl:libcrypto",
20100        "//external/cronet/third_party/boringssl:libpki",
20101        "//external/cronet/third_party/boringssl:libssl",
20102        "libandroid",
20103        "liblog",
20104    ],
20105    generated_headers: [
20106        "cronet_aml_base_allocator_buildflags",
20107        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
20108        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
20109        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
20110        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
20111        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
20112        "cronet_aml_base_anchor_functions_buildflags",
20113        "cronet_aml_base_android_runtime_jni_headers__action",
20114        "cronet_aml_base_base_jni__action",
20115        "cronet_aml_base_base_shared_preferences_jni__action",
20116        "cronet_aml_base_build_date",
20117        "cronet_aml_base_cfi_buildflags",
20118        "cronet_aml_base_check_version_internal_action",
20119        "cronet_aml_base_clang_profiling_buildflags",
20120        "cronet_aml_base_debugging_buildflags",
20121        "cronet_aml_base_feature_list_buildflags",
20122        "cronet_aml_base_fuzzing_buildflags",
20123        "cronet_aml_base_ios_cronet_buildflags",
20124        "cronet_aml_base_logging_buildflags",
20125        "cronet_aml_base_message_pump_buildflags",
20126        "cronet_aml_base_orderfile_buildflags",
20127        "cronet_aml_base_power_monitor_buildflags",
20128        "cronet_aml_base_process_launcher_jni__action",
20129        "cronet_aml_base_profiler_buildflags",
20130        "cronet_aml_base_protected_memory_buildflags",
20131        "cronet_aml_base_rust_buildflags",
20132        "cronet_aml_base_sanitizer_buildflags",
20133        "cronet_aml_base_synchronization_buildflags",
20134        "cronet_aml_base_tracing_buildflags",
20135        "cronet_aml_build_blink_buildflags",
20136        "cronet_aml_build_branding_buildflags",
20137        "cronet_aml_build_chromecast_buildflags",
20138        "cronet_aml_build_chromeos_buildflags",
20139        "cronet_aml_build_config_compiler_compiler_buildflags",
20140        "cronet_aml_build_ios_buildflags",
20141        "cronet_aml_build_robolectric_buildflags",
20142    ],
20143    export_generated_headers: [
20144        "cronet_aml_base_allocator_buildflags",
20145        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
20146        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
20147        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
20148        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
20149        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
20150        "cronet_aml_base_anchor_functions_buildflags",
20151        "cronet_aml_base_android_runtime_jni_headers__action",
20152        "cronet_aml_base_base_jni__action",
20153        "cronet_aml_base_base_shared_preferences_jni__action",
20154        "cronet_aml_base_build_date",
20155        "cronet_aml_base_cfi_buildflags",
20156        "cronet_aml_base_check_version_internal_action",
20157        "cronet_aml_base_clang_profiling_buildflags",
20158        "cronet_aml_base_debugging_buildflags",
20159        "cronet_aml_base_feature_list_buildflags",
20160        "cronet_aml_base_fuzzing_buildflags",
20161        "cronet_aml_base_ios_cronet_buildflags",
20162        "cronet_aml_base_logging_buildflags",
20163        "cronet_aml_base_message_pump_buildflags",
20164        "cronet_aml_base_orderfile_buildflags",
20165        "cronet_aml_base_power_monitor_buildflags",
20166        "cronet_aml_base_process_launcher_jni__action",
20167        "cronet_aml_base_profiler_buildflags",
20168        "cronet_aml_base_protected_memory_buildflags",
20169        "cronet_aml_base_rust_buildflags",
20170        "cronet_aml_base_sanitizer_buildflags",
20171        "cronet_aml_base_synchronization_buildflags",
20172        "cronet_aml_base_tracing_buildflags",
20173        "cronet_aml_build_blink_buildflags",
20174        "cronet_aml_build_branding_buildflags",
20175        "cronet_aml_build_chromecast_buildflags",
20176        "cronet_aml_build_chromeos_buildflags",
20177        "cronet_aml_build_config_compiler_compiler_buildflags",
20178        "cronet_aml_build_ios_buildflags",
20179        "cronet_aml_build_robolectric_buildflags",
20180    ],
20181    defaults: [
20182        "cronet_aml_cc_defaults",
20183    ],
20184    cflags: [
20185        "-DANDROID",
20186        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
20187        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
20188        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
20189        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20190        "-DHAVE_SYS_UIO_H",
20191        "-DNDEBUG",
20192        "-DNO_UNWIND_TABLES",
20193        "-DNVALGRIND",
20194        "-DOFFICIAL_BUILD",
20195        "-D_GNU_SOURCE",
20196        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20197        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
20198        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20199        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
20200        "-D__STDC_CONSTANT_MACROS",
20201        "-D__STDC_FORMAT_MACROS",
20202        "-fdata-sections",
20203        "-ffunction-sections",
20204        "-fno-asynchronous-unwind-tables",
20205        "-fno-unwind-tables",
20206        "-fstack-protector",
20207        "-fvisibility-inlines-hidden",
20208        "-fvisibility=hidden",
20209        "-g1",
20210    ],
20211    local_include_dirs: [
20212        "./",
20213        "base/allocator/partition_allocator/src/",
20214        "buildtools/third_party/libc++/",
20215        "third_party/abseil-cpp/",
20216        "third_party/boringssl/src/include/",
20217        "third_party/libc++/src/include",
20218        "third_party/libc++abi/src/include",
20219    ],
20220    cpp_std: "c++20",
20221    ldflags: [
20222        "-Wl,--as-needed",
20223        "-Wl,--gc-sections",
20224        "-Wl,--icf=all",
20225        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
20226        "-Wl,-wrap,asprintf",
20227        "-Wl,-wrap,calloc",
20228        "-Wl,-wrap,free",
20229        "-Wl,-wrap,getcwd",
20230        "-Wl,-wrap,malloc",
20231        "-Wl,-wrap,malloc_usable_size",
20232        "-Wl,-wrap,memalign",
20233        "-Wl,-wrap,posix_memalign",
20234        "-Wl,-wrap,pvalloc",
20235        "-Wl,-wrap,realloc",
20236        "-Wl,-wrap,realpath",
20237        "-Wl,-wrap,strdup",
20238        "-Wl,-wrap,strndup",
20239        "-Wl,-wrap,valloc",
20240        "-Wl,-wrap,vasprintf",
20241    ],
20242    target: {
20243        android_arm: {
20244            cflags: [
20245                "-D_FORTIFY_SOURCE=2",
20246            ],
20247        },
20248        android_arm64: {
20249            cflags: [
20250                "-D_FORTIFY_SOURCE=2",
20251                "-O2",
20252                "-mno-outline",
20253            ],
20254        },
20255        android_x86: {
20256            cflags: [
20257                "-D_FORTIFY_SOURCE=2",
20258                "-msse3",
20259            ],
20260        },
20261        android_x86_64: {
20262            cflags: [
20263                "-D_FORTIFY_SOURCE=2",
20264                "-msse3",
20265            ],
20266        },
20267    },
20268}
20269
20270// GN: //net:constants__testing
20271cc_library_static {
20272    name: "cronet_aml_net_constants__testing",
20273    shared_libs: [
20274        "libandroid",
20275        "liblog",
20276    ],
20277    generated_headers: [
20278        "cronet_aml_base_allocator_buildflags__testing",
20279        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
20280        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
20281        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
20282        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
20283        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
20284        "cronet_aml_base_anchor_functions_buildflags__testing",
20285        "cronet_aml_base_build_date__testing",
20286        "cronet_aml_base_cfi_buildflags__testing",
20287        "cronet_aml_base_check_version_internal_action__testing",
20288        "cronet_aml_base_clang_profiling_buildflags__testing",
20289        "cronet_aml_base_debugging_buildflags__testing",
20290        "cronet_aml_base_feature_list_buildflags__testing",
20291        "cronet_aml_base_fuzzing_buildflags__testing",
20292        "cronet_aml_base_ios_cronet_buildflags__testing",
20293        "cronet_aml_base_logging_buildflags__testing",
20294        "cronet_aml_base_message_pump_buildflags__testing",
20295        "cronet_aml_base_orderfile_buildflags__testing",
20296        "cronet_aml_base_power_monitor_buildflags__testing",
20297        "cronet_aml_base_profiler_buildflags__testing",
20298        "cronet_aml_base_protected_memory_buildflags__testing",
20299        "cronet_aml_base_rust_buildflags__testing",
20300        "cronet_aml_base_sanitizer_buildflags__testing",
20301        "cronet_aml_base_synchronization_buildflags__testing",
20302        "cronet_aml_base_tracing_buildflags__testing",
20303        "cronet_aml_build_blink_buildflags__testing",
20304        "cronet_aml_build_branding_buildflags__testing",
20305        "cronet_aml_build_chromecast_buildflags__testing",
20306        "cronet_aml_build_chromeos_buildflags__testing",
20307        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
20308        "cronet_aml_build_ios_buildflags__testing",
20309    ],
20310    export_generated_headers: [
20311        "cronet_aml_base_allocator_buildflags__testing",
20312        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
20313        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
20314        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
20315        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
20316        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
20317        "cronet_aml_base_anchor_functions_buildflags__testing",
20318        "cronet_aml_base_build_date__testing",
20319        "cronet_aml_base_cfi_buildflags__testing",
20320        "cronet_aml_base_check_version_internal_action__testing",
20321        "cronet_aml_base_clang_profiling_buildflags__testing",
20322        "cronet_aml_base_debugging_buildflags__testing",
20323        "cronet_aml_base_feature_list_buildflags__testing",
20324        "cronet_aml_base_fuzzing_buildflags__testing",
20325        "cronet_aml_base_ios_cronet_buildflags__testing",
20326        "cronet_aml_base_logging_buildflags__testing",
20327        "cronet_aml_base_message_pump_buildflags__testing",
20328        "cronet_aml_base_orderfile_buildflags__testing",
20329        "cronet_aml_base_power_monitor_buildflags__testing",
20330        "cronet_aml_base_profiler_buildflags__testing",
20331        "cronet_aml_base_protected_memory_buildflags__testing",
20332        "cronet_aml_base_rust_buildflags__testing",
20333        "cronet_aml_base_sanitizer_buildflags__testing",
20334        "cronet_aml_base_synchronization_buildflags__testing",
20335        "cronet_aml_base_tracing_buildflags__testing",
20336        "cronet_aml_build_blink_buildflags__testing",
20337        "cronet_aml_build_branding_buildflags__testing",
20338        "cronet_aml_build_chromecast_buildflags__testing",
20339        "cronet_aml_build_chromeos_buildflags__testing",
20340        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
20341        "cronet_aml_build_ios_buildflags__testing",
20342    ],
20343    defaults: [
20344        "cronet_aml_cc_defaults",
20345    ],
20346    cflags: [
20347        "-DANDROID",
20348        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
20349        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
20350        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
20351        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20352        "-DHAVE_SYS_UIO_H",
20353        "-DNDEBUG",
20354        "-DNO_UNWIND_TABLES",
20355        "-DNVALGRIND",
20356        "-DOFFICIAL_BUILD",
20357        "-D_GNU_SOURCE",
20358        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20359        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
20360        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20361        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
20362        "-D__STDC_CONSTANT_MACROS",
20363        "-D__STDC_FORMAT_MACROS",
20364        "-fdata-sections",
20365        "-ffunction-sections",
20366        "-fno-asynchronous-unwind-tables",
20367        "-fno-unwind-tables",
20368        "-fstack-protector",
20369        "-fvisibility-inlines-hidden",
20370        "-fvisibility=hidden",
20371        "-g1",
20372    ],
20373    local_include_dirs: [
20374        "./",
20375        "base/allocator/partition_allocator/src/",
20376        "buildtools/third_party/libc++/",
20377        "third_party/abseil-cpp/",
20378        "third_party/boringssl/src/include/",
20379        "third_party/libc++/src/include",
20380        "third_party/libc++abi/src/include",
20381    ],
20382    cpp_std: "c++20",
20383    ldflags: [
20384        "-Wl,--as-needed",
20385        "-Wl,--gc-sections",
20386        "-Wl,--icf=all",
20387        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
20388        "-Wl,-wrap,asprintf",
20389        "-Wl,-wrap,calloc",
20390        "-Wl,-wrap,free",
20391        "-Wl,-wrap,getcwd",
20392        "-Wl,-wrap,malloc",
20393        "-Wl,-wrap,malloc_usable_size",
20394        "-Wl,-wrap,memalign",
20395        "-Wl,-wrap,posix_memalign",
20396        "-Wl,-wrap,pvalloc",
20397        "-Wl,-wrap,realloc",
20398        "-Wl,-wrap,realpath",
20399        "-Wl,-wrap,strdup",
20400        "-Wl,-wrap,strndup",
20401        "-Wl,-wrap,valloc",
20402        "-Wl,-wrap,vasprintf",
20403    ],
20404    target: {
20405        android_arm: {
20406            cflags: [
20407                "-D_FORTIFY_SOURCE=2",
20408            ],
20409        },
20410        android_arm64: {
20411            cflags: [
20412                "-D_FORTIFY_SOURCE=2",
20413                "-O2",
20414                "-mno-outline",
20415            ],
20416        },
20417        android_x86: {
20418            cflags: [
20419                "-D_FORTIFY_SOURCE=2",
20420                "-msse3",
20421            ],
20422        },
20423        android_x86_64: {
20424            cflags: [
20425                "-D_FORTIFY_SOURCE=2",
20426                "-msse3",
20427            ],
20428        },
20429    },
20430}
20431
20432// GN: //net:cronet_buildflags
20433cc_genrule {
20434    name: "cronet_aml_net_cronet_buildflags",
20435    cmd: "mkdir -p $(genDir)/net/base && echo '--flags CRONET_BUILD=\"true\"' | " +
20436         "$(location build/write_buildflag_header.py) --output " +
20437         "$(out) " +
20438         "--rulename " +
20439         "//net:cronet_buildflags " +
20440         "--gen-dir " +
20441         ". " +
20442         "--definitions " +
20443         "/dev/stdin",
20444    out: [
20445        "net/base/cronet_buildflags.h",
20446    ],
20447    tool_files: [
20448        "build/write_buildflag_header.py",
20449    ],
20450    apex_available: [
20451        "com.android.tethering",
20452    ],
20453}
20454
20455// GN: //net:cronet_buildflags__testing
20456cc_genrule {
20457    name: "cronet_aml_net_cronet_buildflags__testing",
20458    cmd: "mkdir -p $(genDir)/net/base && echo '--flags CRONET_BUILD=\"true\"' | " +
20459         "$(location build/write_buildflag_header.py) --output " +
20460         "$(out) " +
20461         "--rulename " +
20462         "//net:cronet_buildflags " +
20463         "--gen-dir " +
20464         ". " +
20465         "--definitions " +
20466         "/dev/stdin",
20467    out: [
20468        "net/base/cronet_buildflags.h",
20469    ],
20470    tool_files: [
20471        "build/write_buildflag_header.py",
20472    ],
20473    apex_available: [
20474        "com.android.tethering",
20475    ],
20476}
20477
20478// GN: //net/dns:dns
20479cc_library_static {
20480    name: "cronet_aml_net_dns_dns",
20481    srcs: [
20482        "net/dns/address_info.cc",
20483        "net/dns/address_sorter_posix.cc",
20484        "net/dns/context_host_resolver.cc",
20485        "net/dns/dns_alias_utility.cc",
20486        "net/dns/dns_client.cc",
20487        "net/dns/dns_config.cc",
20488        "net/dns/dns_config_service.cc",
20489        "net/dns/dns_config_service_android.cc",
20490        "net/dns/dns_hosts.cc",
20491        "net/dns/dns_names_util.cc",
20492        "net/dns/dns_query.cc",
20493        "net/dns/dns_reloader.cc",
20494        "net/dns/dns_response.cc",
20495        "net/dns/dns_response_result_extractor.cc",
20496        "net/dns/dns_server_iterator.cc",
20497        "net/dns/dns_session.cc",
20498        "net/dns/dns_task_results_manager.cc",
20499        "net/dns/dns_transaction.cc",
20500        "net/dns/dns_udp_tracker.cc",
20501        "net/dns/dns_util.cc",
20502        "net/dns/host_cache.cc",
20503        "net/dns/host_resolver.cc",
20504        "net/dns/host_resolver_cache.cc",
20505        "net/dns/host_resolver_dns_task.cc",
20506        "net/dns/host_resolver_internal_result.cc",
20507        "net/dns/host_resolver_manager.cc",
20508        "net/dns/host_resolver_manager_job.cc",
20509        "net/dns/host_resolver_manager_request_impl.cc",
20510        "net/dns/host_resolver_manager_service_endpoint_request_impl.cc",
20511        "net/dns/host_resolver_mdns_listener_impl.cc",
20512        "net/dns/host_resolver_mdns_task.cc",
20513        "net/dns/host_resolver_nat64_task.cc",
20514        "net/dns/host_resolver_proc.cc",
20515        "net/dns/host_resolver_system_task.cc",
20516        "net/dns/https_record_rdata.cc",
20517        "net/dns/httpssvc_metrics.cc",
20518        "net/dns/loopback_only.cc",
20519        "net/dns/mapped_host_resolver.cc",
20520        "net/dns/nsswitch_reader.cc",
20521        "net/dns/opt_record_rdata.cc",
20522        "net/dns/record_parsed.cc",
20523        "net/dns/record_rdata.cc",
20524        "net/dns/resolve_context.cc",
20525        "net/dns/serial_worker.cc",
20526        "net/dns/system_dns_config_change_notifier.cc",
20527        "net/dns/test_dns_config_service.cc",
20528    ],
20529    shared_libs: [
20530        "//external/cronet/third_party/boringssl:libcrypto",
20531        "//external/cronet/third_party/boringssl:libpki",
20532        "//external/cronet/third_party/boringssl:libssl",
20533        "libandroid",
20534        "liblog",
20535        "libprotobuf-cpp-lite",
20536        "libz",
20537    ],
20538    generated_headers: [
20539        "cronet_aml_base_allocator_buildflags",
20540        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
20541        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
20542        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
20543        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
20544        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
20545        "cronet_aml_base_anchor_functions_buildflags",
20546        "cronet_aml_base_android_runtime_jni_headers__action",
20547        "cronet_aml_base_base_jni__action",
20548        "cronet_aml_base_base_shared_preferences_jni__action",
20549        "cronet_aml_base_build_date",
20550        "cronet_aml_base_cfi_buildflags",
20551        "cronet_aml_base_check_version_internal_action",
20552        "cronet_aml_base_clang_profiling_buildflags",
20553        "cronet_aml_base_debugging_buildflags",
20554        "cronet_aml_base_feature_list_buildflags",
20555        "cronet_aml_base_fuzzing_buildflags",
20556        "cronet_aml_base_ios_cronet_buildflags",
20557        "cronet_aml_base_logging_buildflags",
20558        "cronet_aml_base_message_pump_buildflags",
20559        "cronet_aml_base_orderfile_buildflags",
20560        "cronet_aml_base_power_monitor_buildflags",
20561        "cronet_aml_base_process_launcher_jni__action",
20562        "cronet_aml_base_profiler_buildflags",
20563        "cronet_aml_base_protected_memory_buildflags",
20564        "cronet_aml_base_rust_buildflags",
20565        "cronet_aml_base_sanitizer_buildflags",
20566        "cronet_aml_base_synchronization_buildflags",
20567        "cronet_aml_base_tracing_buildflags",
20568        "cronet_aml_build_blink_buildflags",
20569        "cronet_aml_build_branding_buildflags",
20570        "cronet_aml_build_chromecast_buildflags",
20571        "cronet_aml_build_chromeos_buildflags",
20572        "cronet_aml_build_config_compiler_compiler_buildflags",
20573        "cronet_aml_build_ios_buildflags",
20574        "cronet_aml_build_robolectric_buildflags",
20575        "cronet_aml_crypto_buildflags",
20576        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
20577        "cronet_aml_net_buildflags",
20578        "cronet_aml_net_cronet_buildflags",
20579        "cronet_aml_net_isolation_info_proto_gen_headers",
20580        "cronet_aml_net_net_jni_headers__action",
20581        "cronet_aml_net_net_nqe_proto_gen_headers",
20582        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
20583        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
20584        "cronet_aml_url_buildflags",
20585        "cronet_aml_url_url_jni_headers__action",
20586    ],
20587    export_generated_headers: [
20588        "cronet_aml_base_allocator_buildflags",
20589        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
20590        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
20591        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
20592        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
20593        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
20594        "cronet_aml_base_anchor_functions_buildflags",
20595        "cronet_aml_base_android_runtime_jni_headers__action",
20596        "cronet_aml_base_base_jni__action",
20597        "cronet_aml_base_base_shared_preferences_jni__action",
20598        "cronet_aml_base_build_date",
20599        "cronet_aml_base_cfi_buildflags",
20600        "cronet_aml_base_check_version_internal_action",
20601        "cronet_aml_base_clang_profiling_buildflags",
20602        "cronet_aml_base_debugging_buildflags",
20603        "cronet_aml_base_feature_list_buildflags",
20604        "cronet_aml_base_fuzzing_buildflags",
20605        "cronet_aml_base_ios_cronet_buildflags",
20606        "cronet_aml_base_logging_buildflags",
20607        "cronet_aml_base_message_pump_buildflags",
20608        "cronet_aml_base_orderfile_buildflags",
20609        "cronet_aml_base_power_monitor_buildflags",
20610        "cronet_aml_base_process_launcher_jni__action",
20611        "cronet_aml_base_profiler_buildflags",
20612        "cronet_aml_base_protected_memory_buildflags",
20613        "cronet_aml_base_rust_buildflags",
20614        "cronet_aml_base_sanitizer_buildflags",
20615        "cronet_aml_base_synchronization_buildflags",
20616        "cronet_aml_base_tracing_buildflags",
20617        "cronet_aml_build_blink_buildflags",
20618        "cronet_aml_build_branding_buildflags",
20619        "cronet_aml_build_chromecast_buildflags",
20620        "cronet_aml_build_chromeos_buildflags",
20621        "cronet_aml_build_config_compiler_compiler_buildflags",
20622        "cronet_aml_build_ios_buildflags",
20623        "cronet_aml_build_robolectric_buildflags",
20624        "cronet_aml_crypto_buildflags",
20625        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
20626        "cronet_aml_net_buildflags",
20627        "cronet_aml_net_cronet_buildflags",
20628        "cronet_aml_net_isolation_info_proto_gen_headers",
20629        "cronet_aml_net_net_jni_headers__action",
20630        "cronet_aml_net_net_nqe_proto_gen_headers",
20631        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
20632        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
20633        "cronet_aml_url_buildflags",
20634        "cronet_aml_url_url_jni_headers__action",
20635    ],
20636    defaults: [
20637        "cronet_aml_cc_defaults",
20638    ],
20639    cflags: [
20640        "-DANDROID",
20641        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
20642        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
20643        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
20644        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20645        "-DENABLE_BUILT_IN_DNS",
20646        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
20647        "-DGOOGLE_PROTOBUF_NO_RTTI",
20648        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
20649        "-DHAVE_PTHREAD",
20650        "-DHAVE_SYS_UIO_H",
20651        "-DNDEBUG",
20652        "-DNET_IMPLEMENTATION",
20653        "-DNO_UNWIND_TABLES",
20654        "-DNVALGRIND",
20655        "-DOFFICIAL_BUILD",
20656        "-D_GNU_SOURCE",
20657        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20658        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
20659        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20660        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
20661        "-D__STDC_CONSTANT_MACROS",
20662        "-D__STDC_FORMAT_MACROS",
20663        "-fdata-sections",
20664        "-ffunction-sections",
20665        "-fno-asynchronous-unwind-tables",
20666        "-fno-unwind-tables",
20667        "-fstack-protector",
20668        "-fvisibility-inlines-hidden",
20669        "-fvisibility=hidden",
20670        "-g1",
20671    ],
20672    local_include_dirs: [
20673        "./",
20674        "base/allocator/partition_allocator/src/",
20675        "buildtools/third_party/libc++/",
20676        "net/third_party/quiche/overrides/",
20677        "net/third_party/quiche/src/",
20678        "net/third_party/quiche/src/quiche/common/platform/default/",
20679        "third_party/abseil-cpp/",
20680        "third_party/boringssl/src/include/",
20681        "third_party/brotli/include/",
20682        "third_party/libc++/src/include",
20683        "third_party/libc++abi/src/include",
20684        "third_party/protobuf/src/",
20685    ],
20686    cpp_std: "c++20",
20687    ldflags: [
20688        "-Wl,--as-needed",
20689        "-Wl,--gc-sections",
20690        "-Wl,--icf=all",
20691        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
20692        "-Wl,-wrap,asprintf",
20693        "-Wl,-wrap,calloc",
20694        "-Wl,-wrap,free",
20695        "-Wl,-wrap,getcwd",
20696        "-Wl,-wrap,malloc",
20697        "-Wl,-wrap,malloc_usable_size",
20698        "-Wl,-wrap,memalign",
20699        "-Wl,-wrap,posix_memalign",
20700        "-Wl,-wrap,pvalloc",
20701        "-Wl,-wrap,realloc",
20702        "-Wl,-wrap,realpath",
20703        "-Wl,-wrap,strdup",
20704        "-Wl,-wrap,strndup",
20705        "-Wl,-wrap,valloc",
20706        "-Wl,-wrap,vasprintf",
20707    ],
20708    target: {
20709        android_arm: {
20710            cflags: [
20711                "-D_FORTIFY_SOURCE=2",
20712            ],
20713        },
20714        android_arm64: {
20715            cflags: [
20716                "-D_FORTIFY_SOURCE=2",
20717                "-O2",
20718                "-mno-outline",
20719            ],
20720        },
20721        android_x86: {
20722            cflags: [
20723                "-D_FORTIFY_SOURCE=2",
20724                "-msse3",
20725            ],
20726        },
20727        android_x86_64: {
20728            cflags: [
20729                "-D_FORTIFY_SOURCE=2",
20730                "-msse3",
20731            ],
20732        },
20733    },
20734}
20735
20736// GN: //net/dns:dns__testing
20737cc_library_static {
20738    name: "cronet_aml_net_dns_dns__testing",
20739    srcs: [
20740        "net/dns/address_info.cc",
20741        "net/dns/address_sorter_posix.cc",
20742        "net/dns/context_host_resolver.cc",
20743        "net/dns/dns_alias_utility.cc",
20744        "net/dns/dns_client.cc",
20745        "net/dns/dns_config.cc",
20746        "net/dns/dns_config_service.cc",
20747        "net/dns/dns_config_service_android.cc",
20748        "net/dns/dns_hosts.cc",
20749        "net/dns/dns_names_util.cc",
20750        "net/dns/dns_query.cc",
20751        "net/dns/dns_reloader.cc",
20752        "net/dns/dns_response.cc",
20753        "net/dns/dns_response_result_extractor.cc",
20754        "net/dns/dns_server_iterator.cc",
20755        "net/dns/dns_session.cc",
20756        "net/dns/dns_task_results_manager.cc",
20757        "net/dns/dns_transaction.cc",
20758        "net/dns/dns_udp_tracker.cc",
20759        "net/dns/dns_util.cc",
20760        "net/dns/host_cache.cc",
20761        "net/dns/host_resolver.cc",
20762        "net/dns/host_resolver_cache.cc",
20763        "net/dns/host_resolver_dns_task.cc",
20764        "net/dns/host_resolver_internal_result.cc",
20765        "net/dns/host_resolver_manager.cc",
20766        "net/dns/host_resolver_manager_job.cc",
20767        "net/dns/host_resolver_manager_request_impl.cc",
20768        "net/dns/host_resolver_manager_service_endpoint_request_impl.cc",
20769        "net/dns/host_resolver_mdns_listener_impl.cc",
20770        "net/dns/host_resolver_mdns_task.cc",
20771        "net/dns/host_resolver_nat64_task.cc",
20772        "net/dns/host_resolver_proc.cc",
20773        "net/dns/host_resolver_system_task.cc",
20774        "net/dns/https_record_rdata.cc",
20775        "net/dns/httpssvc_metrics.cc",
20776        "net/dns/loopback_only.cc",
20777        "net/dns/mapped_host_resolver.cc",
20778        "net/dns/nsswitch_reader.cc",
20779        "net/dns/opt_record_rdata.cc",
20780        "net/dns/record_parsed.cc",
20781        "net/dns/record_rdata.cc",
20782        "net/dns/resolve_context.cc",
20783        "net/dns/serial_worker.cc",
20784        "net/dns/system_dns_config_change_notifier.cc",
20785        "net/dns/test_dns_config_service.cc",
20786    ],
20787    shared_libs: [
20788        "libandroid",
20789        "liblog",
20790        "libprotobuf-cpp-lite",
20791        "libz",
20792    ],
20793    generated_headers: [
20794        "cronet_aml_base_allocator_buildflags__testing",
20795        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
20796        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
20797        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
20798        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
20799        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
20800        "cronet_aml_base_anchor_functions_buildflags__testing",
20801        "cronet_aml_base_build_date__testing",
20802        "cronet_aml_base_cfi_buildflags__testing",
20803        "cronet_aml_base_check_version_internal_action__testing",
20804        "cronet_aml_base_clang_profiling_buildflags__testing",
20805        "cronet_aml_base_debugging_buildflags__testing",
20806        "cronet_aml_base_feature_list_buildflags__testing",
20807        "cronet_aml_base_fuzzing_buildflags__testing",
20808        "cronet_aml_base_ios_cronet_buildflags__testing",
20809        "cronet_aml_base_logging_buildflags__testing",
20810        "cronet_aml_base_message_pump_buildflags__testing",
20811        "cronet_aml_base_orderfile_buildflags__testing",
20812        "cronet_aml_base_power_monitor_buildflags__testing",
20813        "cronet_aml_base_profiler_buildflags__testing",
20814        "cronet_aml_base_protected_memory_buildflags__testing",
20815        "cronet_aml_base_rust_buildflags__testing",
20816        "cronet_aml_base_sanitizer_buildflags__testing",
20817        "cronet_aml_base_synchronization_buildflags__testing",
20818        "cronet_aml_base_tracing_buildflags__testing",
20819        "cronet_aml_build_blink_buildflags__testing",
20820        "cronet_aml_build_branding_buildflags__testing",
20821        "cronet_aml_build_chromecast_buildflags__testing",
20822        "cronet_aml_build_chromeos_buildflags__testing",
20823        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
20824        "cronet_aml_build_ios_buildflags__testing",
20825        "cronet_aml_build_robolectric_buildflags__testing",
20826        "cronet_aml_crypto_buildflags__testing",
20827        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
20828        "cronet_aml_net_buildflags__testing",
20829        "cronet_aml_net_cronet_buildflags__testing",
20830        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
20831        "cronet_aml_net_net_jni_headers__action__testing",
20832        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
20833        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
20834        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
20835        "cronet_aml_url_buildflags__testing",
20836        "cronet_aml_url_url_jni_headers__action__testing",
20837    ],
20838    export_generated_headers: [
20839        "cronet_aml_base_allocator_buildflags__testing",
20840        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
20841        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
20842        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
20843        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
20844        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
20845        "cronet_aml_base_anchor_functions_buildflags__testing",
20846        "cronet_aml_base_build_date__testing",
20847        "cronet_aml_base_cfi_buildflags__testing",
20848        "cronet_aml_base_check_version_internal_action__testing",
20849        "cronet_aml_base_clang_profiling_buildflags__testing",
20850        "cronet_aml_base_debugging_buildflags__testing",
20851        "cronet_aml_base_feature_list_buildflags__testing",
20852        "cronet_aml_base_fuzzing_buildflags__testing",
20853        "cronet_aml_base_ios_cronet_buildflags__testing",
20854        "cronet_aml_base_logging_buildflags__testing",
20855        "cronet_aml_base_message_pump_buildflags__testing",
20856        "cronet_aml_base_orderfile_buildflags__testing",
20857        "cronet_aml_base_power_monitor_buildflags__testing",
20858        "cronet_aml_base_profiler_buildflags__testing",
20859        "cronet_aml_base_protected_memory_buildflags__testing",
20860        "cronet_aml_base_rust_buildflags__testing",
20861        "cronet_aml_base_sanitizer_buildflags__testing",
20862        "cronet_aml_base_synchronization_buildflags__testing",
20863        "cronet_aml_base_tracing_buildflags__testing",
20864        "cronet_aml_build_blink_buildflags__testing",
20865        "cronet_aml_build_branding_buildflags__testing",
20866        "cronet_aml_build_chromecast_buildflags__testing",
20867        "cronet_aml_build_chromeos_buildflags__testing",
20868        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
20869        "cronet_aml_build_ios_buildflags__testing",
20870        "cronet_aml_build_robolectric_buildflags__testing",
20871        "cronet_aml_crypto_buildflags__testing",
20872        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
20873        "cronet_aml_net_buildflags__testing",
20874        "cronet_aml_net_cronet_buildflags__testing",
20875        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
20876        "cronet_aml_net_net_jni_headers__action__testing",
20877        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
20878        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
20879        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
20880        "cronet_aml_url_buildflags__testing",
20881        "cronet_aml_url_url_jni_headers__action__testing",
20882    ],
20883    defaults: [
20884        "cronet_aml_cc_defaults",
20885    ],
20886    cflags: [
20887        "-DANDROID",
20888        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
20889        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
20890        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
20891        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20892        "-DENABLE_BUILT_IN_DNS",
20893        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
20894        "-DGOOGLE_PROTOBUF_NO_RTTI",
20895        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
20896        "-DHAVE_PTHREAD",
20897        "-DHAVE_SYS_UIO_H",
20898        "-DNDEBUG",
20899        "-DNET_IMPLEMENTATION",
20900        "-DNO_UNWIND_TABLES",
20901        "-DNVALGRIND",
20902        "-DOFFICIAL_BUILD",
20903        "-D_GNU_SOURCE",
20904        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20905        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
20906        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20907        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
20908        "-D__STDC_CONSTANT_MACROS",
20909        "-D__STDC_FORMAT_MACROS",
20910        "-fdata-sections",
20911        "-ffunction-sections",
20912        "-fno-asynchronous-unwind-tables",
20913        "-fno-unwind-tables",
20914        "-fstack-protector",
20915        "-fvisibility-inlines-hidden",
20916        "-fvisibility=hidden",
20917        "-g1",
20918    ],
20919    local_include_dirs: [
20920        "./",
20921        "base/allocator/partition_allocator/src/",
20922        "buildtools/third_party/libc++/",
20923        "net/third_party/quiche/overrides/",
20924        "net/third_party/quiche/src/",
20925        "net/third_party/quiche/src/quiche/common/platform/default/",
20926        "third_party/abseil-cpp/",
20927        "third_party/boringssl/src/include/",
20928        "third_party/brotli/include/",
20929        "third_party/libc++/src/include",
20930        "third_party/libc++abi/src/include",
20931        "third_party/protobuf/src/",
20932    ],
20933    cpp_std: "c++20",
20934    ldflags: [
20935        "-Wl,--as-needed",
20936        "-Wl,--gc-sections",
20937        "-Wl,--icf=all",
20938        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
20939        "-Wl,-wrap,asprintf",
20940        "-Wl,-wrap,calloc",
20941        "-Wl,-wrap,free",
20942        "-Wl,-wrap,getcwd",
20943        "-Wl,-wrap,malloc",
20944        "-Wl,-wrap,malloc_usable_size",
20945        "-Wl,-wrap,memalign",
20946        "-Wl,-wrap,posix_memalign",
20947        "-Wl,-wrap,pvalloc",
20948        "-Wl,-wrap,realloc",
20949        "-Wl,-wrap,realpath",
20950        "-Wl,-wrap,strdup",
20951        "-Wl,-wrap,strndup",
20952        "-Wl,-wrap,valloc",
20953        "-Wl,-wrap,vasprintf",
20954    ],
20955    target: {
20956        android_arm: {
20957            cflags: [
20958                "-D_FORTIFY_SOURCE=2",
20959            ],
20960        },
20961        android_arm64: {
20962            cflags: [
20963                "-D_FORTIFY_SOURCE=2",
20964                "-O2",
20965                "-mno-outline",
20966            ],
20967        },
20968        android_x86: {
20969            cflags: [
20970                "-D_FORTIFY_SOURCE=2",
20971                "-msse3",
20972            ],
20973        },
20974        android_x86_64: {
20975            cflags: [
20976                "-D_FORTIFY_SOURCE=2",
20977                "-msse3",
20978            ],
20979        },
20980    },
20981}
20982
20983// GN: //net/dns:dns_client
20984cc_library_static {
20985    name: "cronet_aml_net_dns_dns_client",
20986    shared_libs: [
20987        "//external/cronet/third_party/boringssl:libcrypto",
20988        "//external/cronet/third_party/boringssl:libpki",
20989        "//external/cronet/third_party/boringssl:libssl",
20990        "libandroid",
20991        "liblog",
20992        "libprotobuf-cpp-lite",
20993        "libz",
20994    ],
20995    generated_headers: [
20996        "cronet_aml_base_allocator_buildflags",
20997        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
20998        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
20999        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
21000        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
21001        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
21002        "cronet_aml_base_anchor_functions_buildflags",
21003        "cronet_aml_base_android_runtime_jni_headers__action",
21004        "cronet_aml_base_base_jni__action",
21005        "cronet_aml_base_base_shared_preferences_jni__action",
21006        "cronet_aml_base_build_date",
21007        "cronet_aml_base_cfi_buildflags",
21008        "cronet_aml_base_check_version_internal_action",
21009        "cronet_aml_base_clang_profiling_buildflags",
21010        "cronet_aml_base_debugging_buildflags",
21011        "cronet_aml_base_feature_list_buildflags",
21012        "cronet_aml_base_fuzzing_buildflags",
21013        "cronet_aml_base_ios_cronet_buildflags",
21014        "cronet_aml_base_logging_buildflags",
21015        "cronet_aml_base_message_pump_buildflags",
21016        "cronet_aml_base_orderfile_buildflags",
21017        "cronet_aml_base_power_monitor_buildflags",
21018        "cronet_aml_base_process_launcher_jni__action",
21019        "cronet_aml_base_profiler_buildflags",
21020        "cronet_aml_base_protected_memory_buildflags",
21021        "cronet_aml_base_rust_buildflags",
21022        "cronet_aml_base_sanitizer_buildflags",
21023        "cronet_aml_base_synchronization_buildflags",
21024        "cronet_aml_base_tracing_buildflags",
21025        "cronet_aml_build_blink_buildflags",
21026        "cronet_aml_build_branding_buildflags",
21027        "cronet_aml_build_chromecast_buildflags",
21028        "cronet_aml_build_chromeos_buildflags",
21029        "cronet_aml_build_config_compiler_compiler_buildflags",
21030        "cronet_aml_build_ios_buildflags",
21031        "cronet_aml_build_robolectric_buildflags",
21032        "cronet_aml_crypto_buildflags",
21033        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
21034        "cronet_aml_net_buildflags",
21035        "cronet_aml_net_cronet_buildflags",
21036        "cronet_aml_net_isolation_info_proto_gen_headers",
21037        "cronet_aml_net_net_jni_headers__action",
21038        "cronet_aml_net_net_nqe_proto_gen_headers",
21039        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
21040        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
21041        "cronet_aml_url_buildflags",
21042        "cronet_aml_url_url_jni_headers__action",
21043    ],
21044    export_generated_headers: [
21045        "cronet_aml_base_allocator_buildflags",
21046        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
21047        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
21048        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
21049        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
21050        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
21051        "cronet_aml_base_anchor_functions_buildflags",
21052        "cronet_aml_base_android_runtime_jni_headers__action",
21053        "cronet_aml_base_base_jni__action",
21054        "cronet_aml_base_base_shared_preferences_jni__action",
21055        "cronet_aml_base_build_date",
21056        "cronet_aml_base_cfi_buildflags",
21057        "cronet_aml_base_check_version_internal_action",
21058        "cronet_aml_base_clang_profiling_buildflags",
21059        "cronet_aml_base_debugging_buildflags",
21060        "cronet_aml_base_feature_list_buildflags",
21061        "cronet_aml_base_fuzzing_buildflags",
21062        "cronet_aml_base_ios_cronet_buildflags",
21063        "cronet_aml_base_logging_buildflags",
21064        "cronet_aml_base_message_pump_buildflags",
21065        "cronet_aml_base_orderfile_buildflags",
21066        "cronet_aml_base_power_monitor_buildflags",
21067        "cronet_aml_base_process_launcher_jni__action",
21068        "cronet_aml_base_profiler_buildflags",
21069        "cronet_aml_base_protected_memory_buildflags",
21070        "cronet_aml_base_rust_buildflags",
21071        "cronet_aml_base_sanitizer_buildflags",
21072        "cronet_aml_base_synchronization_buildflags",
21073        "cronet_aml_base_tracing_buildflags",
21074        "cronet_aml_build_blink_buildflags",
21075        "cronet_aml_build_branding_buildflags",
21076        "cronet_aml_build_chromecast_buildflags",
21077        "cronet_aml_build_chromeos_buildflags",
21078        "cronet_aml_build_config_compiler_compiler_buildflags",
21079        "cronet_aml_build_ios_buildflags",
21080        "cronet_aml_build_robolectric_buildflags",
21081        "cronet_aml_crypto_buildflags",
21082        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
21083        "cronet_aml_net_buildflags",
21084        "cronet_aml_net_cronet_buildflags",
21085        "cronet_aml_net_isolation_info_proto_gen_headers",
21086        "cronet_aml_net_net_jni_headers__action",
21087        "cronet_aml_net_net_nqe_proto_gen_headers",
21088        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
21089        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
21090        "cronet_aml_url_buildflags",
21091        "cronet_aml_url_url_jni_headers__action",
21092    ],
21093    defaults: [
21094        "cronet_aml_cc_defaults",
21095    ],
21096    cflags: [
21097        "-DANDROID",
21098        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
21099        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
21100        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
21101        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21102        "-DENABLE_BUILT_IN_DNS",
21103        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
21104        "-DGOOGLE_PROTOBUF_NO_RTTI",
21105        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
21106        "-DHAVE_PTHREAD",
21107        "-DHAVE_SYS_UIO_H",
21108        "-DNDEBUG",
21109        "-DNET_IMPLEMENTATION",
21110        "-DNO_UNWIND_TABLES",
21111        "-DNVALGRIND",
21112        "-DOFFICIAL_BUILD",
21113        "-D_GNU_SOURCE",
21114        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21115        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
21116        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21117        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
21118        "-D__STDC_CONSTANT_MACROS",
21119        "-D__STDC_FORMAT_MACROS",
21120        "-fdata-sections",
21121        "-ffunction-sections",
21122        "-fno-asynchronous-unwind-tables",
21123        "-fno-unwind-tables",
21124        "-fstack-protector",
21125        "-fvisibility-inlines-hidden",
21126        "-fvisibility=hidden",
21127        "-g1",
21128    ],
21129    local_include_dirs: [
21130        "./",
21131        "base/allocator/partition_allocator/src/",
21132        "buildtools/third_party/libc++/",
21133        "net/third_party/quiche/overrides/",
21134        "net/third_party/quiche/src/",
21135        "net/third_party/quiche/src/quiche/common/platform/default/",
21136        "third_party/abseil-cpp/",
21137        "third_party/boringssl/src/include/",
21138        "third_party/brotli/include/",
21139        "third_party/libc++/src/include",
21140        "third_party/libc++abi/src/include",
21141        "third_party/protobuf/src/",
21142    ],
21143    cpp_std: "c++20",
21144    ldflags: [
21145        "-Wl,--as-needed",
21146        "-Wl,--gc-sections",
21147        "-Wl,--icf=all",
21148        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
21149        "-Wl,-wrap,asprintf",
21150        "-Wl,-wrap,calloc",
21151        "-Wl,-wrap,free",
21152        "-Wl,-wrap,getcwd",
21153        "-Wl,-wrap,malloc",
21154        "-Wl,-wrap,malloc_usable_size",
21155        "-Wl,-wrap,memalign",
21156        "-Wl,-wrap,posix_memalign",
21157        "-Wl,-wrap,pvalloc",
21158        "-Wl,-wrap,realloc",
21159        "-Wl,-wrap,realpath",
21160        "-Wl,-wrap,strdup",
21161        "-Wl,-wrap,strndup",
21162        "-Wl,-wrap,valloc",
21163        "-Wl,-wrap,vasprintf",
21164    ],
21165    target: {
21166        android_arm: {
21167            cflags: [
21168                "-D_FORTIFY_SOURCE=2",
21169            ],
21170        },
21171        android_arm64: {
21172            cflags: [
21173                "-D_FORTIFY_SOURCE=2",
21174                "-O2",
21175                "-mno-outline",
21176            ],
21177        },
21178        android_x86: {
21179            cflags: [
21180                "-D_FORTIFY_SOURCE=2",
21181                "-msse3",
21182            ],
21183        },
21184        android_x86_64: {
21185            cflags: [
21186                "-D_FORTIFY_SOURCE=2",
21187                "-msse3",
21188            ],
21189        },
21190    },
21191}
21192
21193// GN: //net/dns:dns_client__testing
21194cc_library_static {
21195    name: "cronet_aml_net_dns_dns_client__testing",
21196    shared_libs: [
21197        "libandroid",
21198        "liblog",
21199        "libprotobuf-cpp-lite",
21200        "libz",
21201    ],
21202    generated_headers: [
21203        "cronet_aml_base_allocator_buildflags__testing",
21204        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
21205        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
21206        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
21207        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
21208        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
21209        "cronet_aml_base_anchor_functions_buildflags__testing",
21210        "cronet_aml_base_build_date__testing",
21211        "cronet_aml_base_cfi_buildflags__testing",
21212        "cronet_aml_base_check_version_internal_action__testing",
21213        "cronet_aml_base_clang_profiling_buildflags__testing",
21214        "cronet_aml_base_debugging_buildflags__testing",
21215        "cronet_aml_base_feature_list_buildflags__testing",
21216        "cronet_aml_base_fuzzing_buildflags__testing",
21217        "cronet_aml_base_ios_cronet_buildflags__testing",
21218        "cronet_aml_base_logging_buildflags__testing",
21219        "cronet_aml_base_message_pump_buildflags__testing",
21220        "cronet_aml_base_orderfile_buildflags__testing",
21221        "cronet_aml_base_power_monitor_buildflags__testing",
21222        "cronet_aml_base_profiler_buildflags__testing",
21223        "cronet_aml_base_protected_memory_buildflags__testing",
21224        "cronet_aml_base_rust_buildflags__testing",
21225        "cronet_aml_base_sanitizer_buildflags__testing",
21226        "cronet_aml_base_synchronization_buildflags__testing",
21227        "cronet_aml_base_tracing_buildflags__testing",
21228        "cronet_aml_build_blink_buildflags__testing",
21229        "cronet_aml_build_branding_buildflags__testing",
21230        "cronet_aml_build_chromecast_buildflags__testing",
21231        "cronet_aml_build_chromeos_buildflags__testing",
21232        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
21233        "cronet_aml_build_ios_buildflags__testing",
21234        "cronet_aml_build_robolectric_buildflags__testing",
21235        "cronet_aml_crypto_buildflags__testing",
21236        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
21237        "cronet_aml_net_buildflags__testing",
21238        "cronet_aml_net_cronet_buildflags__testing",
21239        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
21240        "cronet_aml_net_net_jni_headers__action__testing",
21241        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
21242        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
21243        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
21244        "cronet_aml_url_buildflags__testing",
21245        "cronet_aml_url_url_jni_headers__action__testing",
21246    ],
21247    export_generated_headers: [
21248        "cronet_aml_base_allocator_buildflags__testing",
21249        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
21250        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
21251        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
21252        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
21253        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
21254        "cronet_aml_base_anchor_functions_buildflags__testing",
21255        "cronet_aml_base_build_date__testing",
21256        "cronet_aml_base_cfi_buildflags__testing",
21257        "cronet_aml_base_check_version_internal_action__testing",
21258        "cronet_aml_base_clang_profiling_buildflags__testing",
21259        "cronet_aml_base_debugging_buildflags__testing",
21260        "cronet_aml_base_feature_list_buildflags__testing",
21261        "cronet_aml_base_fuzzing_buildflags__testing",
21262        "cronet_aml_base_ios_cronet_buildflags__testing",
21263        "cronet_aml_base_logging_buildflags__testing",
21264        "cronet_aml_base_message_pump_buildflags__testing",
21265        "cronet_aml_base_orderfile_buildflags__testing",
21266        "cronet_aml_base_power_monitor_buildflags__testing",
21267        "cronet_aml_base_profiler_buildflags__testing",
21268        "cronet_aml_base_protected_memory_buildflags__testing",
21269        "cronet_aml_base_rust_buildflags__testing",
21270        "cronet_aml_base_sanitizer_buildflags__testing",
21271        "cronet_aml_base_synchronization_buildflags__testing",
21272        "cronet_aml_base_tracing_buildflags__testing",
21273        "cronet_aml_build_blink_buildflags__testing",
21274        "cronet_aml_build_branding_buildflags__testing",
21275        "cronet_aml_build_chromecast_buildflags__testing",
21276        "cronet_aml_build_chromeos_buildflags__testing",
21277        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
21278        "cronet_aml_build_ios_buildflags__testing",
21279        "cronet_aml_build_robolectric_buildflags__testing",
21280        "cronet_aml_crypto_buildflags__testing",
21281        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
21282        "cronet_aml_net_buildflags__testing",
21283        "cronet_aml_net_cronet_buildflags__testing",
21284        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
21285        "cronet_aml_net_net_jni_headers__action__testing",
21286        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
21287        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
21288        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
21289        "cronet_aml_url_buildflags__testing",
21290        "cronet_aml_url_url_jni_headers__action__testing",
21291    ],
21292    defaults: [
21293        "cronet_aml_cc_defaults",
21294    ],
21295    cflags: [
21296        "-DANDROID",
21297        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
21298        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
21299        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
21300        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21301        "-DENABLE_BUILT_IN_DNS",
21302        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
21303        "-DGOOGLE_PROTOBUF_NO_RTTI",
21304        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
21305        "-DHAVE_PTHREAD",
21306        "-DHAVE_SYS_UIO_H",
21307        "-DNDEBUG",
21308        "-DNET_IMPLEMENTATION",
21309        "-DNO_UNWIND_TABLES",
21310        "-DNVALGRIND",
21311        "-DOFFICIAL_BUILD",
21312        "-D_GNU_SOURCE",
21313        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21314        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
21315        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21316        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
21317        "-D__STDC_CONSTANT_MACROS",
21318        "-D__STDC_FORMAT_MACROS",
21319        "-fdata-sections",
21320        "-ffunction-sections",
21321        "-fno-asynchronous-unwind-tables",
21322        "-fno-unwind-tables",
21323        "-fstack-protector",
21324        "-fvisibility-inlines-hidden",
21325        "-fvisibility=hidden",
21326        "-g1",
21327    ],
21328    local_include_dirs: [
21329        "./",
21330        "base/allocator/partition_allocator/src/",
21331        "buildtools/third_party/libc++/",
21332        "net/third_party/quiche/overrides/",
21333        "net/third_party/quiche/src/",
21334        "net/third_party/quiche/src/quiche/common/platform/default/",
21335        "third_party/abseil-cpp/",
21336        "third_party/boringssl/src/include/",
21337        "third_party/brotli/include/",
21338        "third_party/libc++/src/include",
21339        "third_party/libc++abi/src/include",
21340        "third_party/protobuf/src/",
21341    ],
21342    cpp_std: "c++20",
21343    ldflags: [
21344        "-Wl,--as-needed",
21345        "-Wl,--gc-sections",
21346        "-Wl,--icf=all",
21347        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
21348        "-Wl,-wrap,asprintf",
21349        "-Wl,-wrap,calloc",
21350        "-Wl,-wrap,free",
21351        "-Wl,-wrap,getcwd",
21352        "-Wl,-wrap,malloc",
21353        "-Wl,-wrap,malloc_usable_size",
21354        "-Wl,-wrap,memalign",
21355        "-Wl,-wrap,posix_memalign",
21356        "-Wl,-wrap,pvalloc",
21357        "-Wl,-wrap,realloc",
21358        "-Wl,-wrap,realpath",
21359        "-Wl,-wrap,strdup",
21360        "-Wl,-wrap,strndup",
21361        "-Wl,-wrap,valloc",
21362        "-Wl,-wrap,vasprintf",
21363    ],
21364    target: {
21365        android_arm: {
21366            cflags: [
21367                "-D_FORTIFY_SOURCE=2",
21368            ],
21369        },
21370        android_arm64: {
21371            cflags: [
21372                "-D_FORTIFY_SOURCE=2",
21373                "-O2",
21374                "-mno-outline",
21375            ],
21376        },
21377        android_x86: {
21378            cflags: [
21379                "-D_FORTIFY_SOURCE=2",
21380                "-msse3",
21381            ],
21382        },
21383        android_x86_64: {
21384            cflags: [
21385                "-D_FORTIFY_SOURCE=2",
21386                "-msse3",
21387            ],
21388        },
21389    },
21390}
21391
21392// GN: //net/dns:host_resolver
21393cc_library_static {
21394    name: "cronet_aml_net_dns_host_resolver",
21395    shared_libs: [
21396        "//external/cronet/third_party/boringssl:libcrypto",
21397        "//external/cronet/third_party/boringssl:libpki",
21398        "//external/cronet/third_party/boringssl:libssl",
21399        "libandroid",
21400        "liblog",
21401        "libprotobuf-cpp-lite",
21402        "libz",
21403    ],
21404    generated_headers: [
21405        "cronet_aml_base_allocator_buildflags",
21406        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
21407        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
21408        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
21409        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
21410        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
21411        "cronet_aml_base_anchor_functions_buildflags",
21412        "cronet_aml_base_android_runtime_jni_headers__action",
21413        "cronet_aml_base_base_jni__action",
21414        "cronet_aml_base_base_shared_preferences_jni__action",
21415        "cronet_aml_base_build_date",
21416        "cronet_aml_base_cfi_buildflags",
21417        "cronet_aml_base_check_version_internal_action",
21418        "cronet_aml_base_clang_profiling_buildflags",
21419        "cronet_aml_base_debugging_buildflags",
21420        "cronet_aml_base_feature_list_buildflags",
21421        "cronet_aml_base_fuzzing_buildflags",
21422        "cronet_aml_base_ios_cronet_buildflags",
21423        "cronet_aml_base_logging_buildflags",
21424        "cronet_aml_base_message_pump_buildflags",
21425        "cronet_aml_base_orderfile_buildflags",
21426        "cronet_aml_base_power_monitor_buildflags",
21427        "cronet_aml_base_process_launcher_jni__action",
21428        "cronet_aml_base_profiler_buildflags",
21429        "cronet_aml_base_protected_memory_buildflags",
21430        "cronet_aml_base_rust_buildflags",
21431        "cronet_aml_base_sanitizer_buildflags",
21432        "cronet_aml_base_synchronization_buildflags",
21433        "cronet_aml_base_tracing_buildflags",
21434        "cronet_aml_build_blink_buildflags",
21435        "cronet_aml_build_branding_buildflags",
21436        "cronet_aml_build_chromecast_buildflags",
21437        "cronet_aml_build_chromeos_buildflags",
21438        "cronet_aml_build_config_compiler_compiler_buildflags",
21439        "cronet_aml_build_ios_buildflags",
21440        "cronet_aml_build_robolectric_buildflags",
21441        "cronet_aml_crypto_buildflags",
21442        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
21443        "cronet_aml_net_buildflags",
21444        "cronet_aml_net_cronet_buildflags",
21445        "cronet_aml_net_isolation_info_proto_gen_headers",
21446        "cronet_aml_net_net_jni_headers__action",
21447        "cronet_aml_net_net_nqe_proto_gen_headers",
21448        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
21449        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
21450        "cronet_aml_url_buildflags",
21451        "cronet_aml_url_url_jni_headers__action",
21452    ],
21453    export_generated_headers: [
21454        "cronet_aml_base_allocator_buildflags",
21455        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
21456        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
21457        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
21458        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
21459        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
21460        "cronet_aml_base_anchor_functions_buildflags",
21461        "cronet_aml_base_android_runtime_jni_headers__action",
21462        "cronet_aml_base_base_jni__action",
21463        "cronet_aml_base_base_shared_preferences_jni__action",
21464        "cronet_aml_base_build_date",
21465        "cronet_aml_base_cfi_buildflags",
21466        "cronet_aml_base_check_version_internal_action",
21467        "cronet_aml_base_clang_profiling_buildflags",
21468        "cronet_aml_base_debugging_buildflags",
21469        "cronet_aml_base_feature_list_buildflags",
21470        "cronet_aml_base_fuzzing_buildflags",
21471        "cronet_aml_base_ios_cronet_buildflags",
21472        "cronet_aml_base_logging_buildflags",
21473        "cronet_aml_base_message_pump_buildflags",
21474        "cronet_aml_base_orderfile_buildflags",
21475        "cronet_aml_base_power_monitor_buildflags",
21476        "cronet_aml_base_process_launcher_jni__action",
21477        "cronet_aml_base_profiler_buildflags",
21478        "cronet_aml_base_protected_memory_buildflags",
21479        "cronet_aml_base_rust_buildflags",
21480        "cronet_aml_base_sanitizer_buildflags",
21481        "cronet_aml_base_synchronization_buildflags",
21482        "cronet_aml_base_tracing_buildflags",
21483        "cronet_aml_build_blink_buildflags",
21484        "cronet_aml_build_branding_buildflags",
21485        "cronet_aml_build_chromecast_buildflags",
21486        "cronet_aml_build_chromeos_buildflags",
21487        "cronet_aml_build_config_compiler_compiler_buildflags",
21488        "cronet_aml_build_ios_buildflags",
21489        "cronet_aml_build_robolectric_buildflags",
21490        "cronet_aml_crypto_buildflags",
21491        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
21492        "cronet_aml_net_buildflags",
21493        "cronet_aml_net_cronet_buildflags",
21494        "cronet_aml_net_isolation_info_proto_gen_headers",
21495        "cronet_aml_net_net_jni_headers__action",
21496        "cronet_aml_net_net_nqe_proto_gen_headers",
21497        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
21498        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
21499        "cronet_aml_url_buildflags",
21500        "cronet_aml_url_url_jni_headers__action",
21501    ],
21502    defaults: [
21503        "cronet_aml_cc_defaults",
21504    ],
21505    cflags: [
21506        "-DANDROID",
21507        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
21508        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
21509        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
21510        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21511        "-DENABLE_BUILT_IN_DNS",
21512        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
21513        "-DGOOGLE_PROTOBUF_NO_RTTI",
21514        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
21515        "-DHAVE_PTHREAD",
21516        "-DHAVE_SYS_UIO_H",
21517        "-DNDEBUG",
21518        "-DNET_IMPLEMENTATION",
21519        "-DNO_UNWIND_TABLES",
21520        "-DNVALGRIND",
21521        "-DOFFICIAL_BUILD",
21522        "-D_GNU_SOURCE",
21523        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21524        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
21525        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21526        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
21527        "-D__STDC_CONSTANT_MACROS",
21528        "-D__STDC_FORMAT_MACROS",
21529        "-fdata-sections",
21530        "-ffunction-sections",
21531        "-fno-asynchronous-unwind-tables",
21532        "-fno-unwind-tables",
21533        "-fstack-protector",
21534        "-fvisibility-inlines-hidden",
21535        "-fvisibility=hidden",
21536        "-g1",
21537    ],
21538    local_include_dirs: [
21539        "./",
21540        "base/allocator/partition_allocator/src/",
21541        "buildtools/third_party/libc++/",
21542        "net/third_party/quiche/overrides/",
21543        "net/third_party/quiche/src/",
21544        "net/third_party/quiche/src/quiche/common/platform/default/",
21545        "third_party/abseil-cpp/",
21546        "third_party/boringssl/src/include/",
21547        "third_party/brotli/include/",
21548        "third_party/libc++/src/include",
21549        "third_party/libc++abi/src/include",
21550        "third_party/protobuf/src/",
21551    ],
21552    cpp_std: "c++20",
21553    ldflags: [
21554        "-Wl,--as-needed",
21555        "-Wl,--gc-sections",
21556        "-Wl,--icf=all",
21557        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
21558        "-Wl,-wrap,asprintf",
21559        "-Wl,-wrap,calloc",
21560        "-Wl,-wrap,free",
21561        "-Wl,-wrap,getcwd",
21562        "-Wl,-wrap,malloc",
21563        "-Wl,-wrap,malloc_usable_size",
21564        "-Wl,-wrap,memalign",
21565        "-Wl,-wrap,posix_memalign",
21566        "-Wl,-wrap,pvalloc",
21567        "-Wl,-wrap,realloc",
21568        "-Wl,-wrap,realpath",
21569        "-Wl,-wrap,strdup",
21570        "-Wl,-wrap,strndup",
21571        "-Wl,-wrap,valloc",
21572        "-Wl,-wrap,vasprintf",
21573    ],
21574    target: {
21575        android_arm: {
21576            cflags: [
21577                "-D_FORTIFY_SOURCE=2",
21578            ],
21579        },
21580        android_arm64: {
21581            cflags: [
21582                "-D_FORTIFY_SOURCE=2",
21583                "-O2",
21584                "-mno-outline",
21585            ],
21586        },
21587        android_x86: {
21588            cflags: [
21589                "-D_FORTIFY_SOURCE=2",
21590                "-msse3",
21591            ],
21592        },
21593        android_x86_64: {
21594            cflags: [
21595                "-D_FORTIFY_SOURCE=2",
21596                "-msse3",
21597            ],
21598        },
21599    },
21600}
21601
21602// GN: //net/dns:host_resolver__testing
21603cc_library_static {
21604    name: "cronet_aml_net_dns_host_resolver__testing",
21605    shared_libs: [
21606        "libandroid",
21607        "liblog",
21608        "libprotobuf-cpp-lite",
21609        "libz",
21610    ],
21611    generated_headers: [
21612        "cronet_aml_base_allocator_buildflags__testing",
21613        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
21614        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
21615        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
21616        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
21617        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
21618        "cronet_aml_base_anchor_functions_buildflags__testing",
21619        "cronet_aml_base_build_date__testing",
21620        "cronet_aml_base_cfi_buildflags__testing",
21621        "cronet_aml_base_check_version_internal_action__testing",
21622        "cronet_aml_base_clang_profiling_buildflags__testing",
21623        "cronet_aml_base_debugging_buildflags__testing",
21624        "cronet_aml_base_feature_list_buildflags__testing",
21625        "cronet_aml_base_fuzzing_buildflags__testing",
21626        "cronet_aml_base_ios_cronet_buildflags__testing",
21627        "cronet_aml_base_logging_buildflags__testing",
21628        "cronet_aml_base_message_pump_buildflags__testing",
21629        "cronet_aml_base_orderfile_buildflags__testing",
21630        "cronet_aml_base_power_monitor_buildflags__testing",
21631        "cronet_aml_base_profiler_buildflags__testing",
21632        "cronet_aml_base_protected_memory_buildflags__testing",
21633        "cronet_aml_base_rust_buildflags__testing",
21634        "cronet_aml_base_sanitizer_buildflags__testing",
21635        "cronet_aml_base_synchronization_buildflags__testing",
21636        "cronet_aml_base_tracing_buildflags__testing",
21637        "cronet_aml_build_blink_buildflags__testing",
21638        "cronet_aml_build_branding_buildflags__testing",
21639        "cronet_aml_build_chromecast_buildflags__testing",
21640        "cronet_aml_build_chromeos_buildflags__testing",
21641        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
21642        "cronet_aml_build_ios_buildflags__testing",
21643        "cronet_aml_build_robolectric_buildflags__testing",
21644        "cronet_aml_crypto_buildflags__testing",
21645        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
21646        "cronet_aml_net_buildflags__testing",
21647        "cronet_aml_net_cronet_buildflags__testing",
21648        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
21649        "cronet_aml_net_net_jni_headers__action__testing",
21650        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
21651        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
21652        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
21653        "cronet_aml_url_buildflags__testing",
21654        "cronet_aml_url_url_jni_headers__action__testing",
21655    ],
21656    export_generated_headers: [
21657        "cronet_aml_base_allocator_buildflags__testing",
21658        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
21659        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
21660        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
21661        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
21662        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
21663        "cronet_aml_base_anchor_functions_buildflags__testing",
21664        "cronet_aml_base_build_date__testing",
21665        "cronet_aml_base_cfi_buildflags__testing",
21666        "cronet_aml_base_check_version_internal_action__testing",
21667        "cronet_aml_base_clang_profiling_buildflags__testing",
21668        "cronet_aml_base_debugging_buildflags__testing",
21669        "cronet_aml_base_feature_list_buildflags__testing",
21670        "cronet_aml_base_fuzzing_buildflags__testing",
21671        "cronet_aml_base_ios_cronet_buildflags__testing",
21672        "cronet_aml_base_logging_buildflags__testing",
21673        "cronet_aml_base_message_pump_buildflags__testing",
21674        "cronet_aml_base_orderfile_buildflags__testing",
21675        "cronet_aml_base_power_monitor_buildflags__testing",
21676        "cronet_aml_base_profiler_buildflags__testing",
21677        "cronet_aml_base_protected_memory_buildflags__testing",
21678        "cronet_aml_base_rust_buildflags__testing",
21679        "cronet_aml_base_sanitizer_buildflags__testing",
21680        "cronet_aml_base_synchronization_buildflags__testing",
21681        "cronet_aml_base_tracing_buildflags__testing",
21682        "cronet_aml_build_blink_buildflags__testing",
21683        "cronet_aml_build_branding_buildflags__testing",
21684        "cronet_aml_build_chromecast_buildflags__testing",
21685        "cronet_aml_build_chromeos_buildflags__testing",
21686        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
21687        "cronet_aml_build_ios_buildflags__testing",
21688        "cronet_aml_build_robolectric_buildflags__testing",
21689        "cronet_aml_crypto_buildflags__testing",
21690        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
21691        "cronet_aml_net_buildflags__testing",
21692        "cronet_aml_net_cronet_buildflags__testing",
21693        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
21694        "cronet_aml_net_net_jni_headers__action__testing",
21695        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
21696        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
21697        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
21698        "cronet_aml_url_buildflags__testing",
21699        "cronet_aml_url_url_jni_headers__action__testing",
21700    ],
21701    defaults: [
21702        "cronet_aml_cc_defaults",
21703    ],
21704    cflags: [
21705        "-DANDROID",
21706        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
21707        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
21708        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
21709        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21710        "-DENABLE_BUILT_IN_DNS",
21711        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
21712        "-DGOOGLE_PROTOBUF_NO_RTTI",
21713        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
21714        "-DHAVE_PTHREAD",
21715        "-DHAVE_SYS_UIO_H",
21716        "-DNDEBUG",
21717        "-DNET_IMPLEMENTATION",
21718        "-DNO_UNWIND_TABLES",
21719        "-DNVALGRIND",
21720        "-DOFFICIAL_BUILD",
21721        "-D_GNU_SOURCE",
21722        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21723        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
21724        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21725        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
21726        "-D__STDC_CONSTANT_MACROS",
21727        "-D__STDC_FORMAT_MACROS",
21728        "-fdata-sections",
21729        "-ffunction-sections",
21730        "-fno-asynchronous-unwind-tables",
21731        "-fno-unwind-tables",
21732        "-fstack-protector",
21733        "-fvisibility-inlines-hidden",
21734        "-fvisibility=hidden",
21735        "-g1",
21736    ],
21737    local_include_dirs: [
21738        "./",
21739        "base/allocator/partition_allocator/src/",
21740        "buildtools/third_party/libc++/",
21741        "net/third_party/quiche/overrides/",
21742        "net/third_party/quiche/src/",
21743        "net/third_party/quiche/src/quiche/common/platform/default/",
21744        "third_party/abseil-cpp/",
21745        "third_party/boringssl/src/include/",
21746        "third_party/brotli/include/",
21747        "third_party/libc++/src/include",
21748        "third_party/libc++abi/src/include",
21749        "third_party/protobuf/src/",
21750    ],
21751    cpp_std: "c++20",
21752    ldflags: [
21753        "-Wl,--as-needed",
21754        "-Wl,--gc-sections",
21755        "-Wl,--icf=all",
21756        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
21757        "-Wl,-wrap,asprintf",
21758        "-Wl,-wrap,calloc",
21759        "-Wl,-wrap,free",
21760        "-Wl,-wrap,getcwd",
21761        "-Wl,-wrap,malloc",
21762        "-Wl,-wrap,malloc_usable_size",
21763        "-Wl,-wrap,memalign",
21764        "-Wl,-wrap,posix_memalign",
21765        "-Wl,-wrap,pvalloc",
21766        "-Wl,-wrap,realloc",
21767        "-Wl,-wrap,realpath",
21768        "-Wl,-wrap,strdup",
21769        "-Wl,-wrap,strndup",
21770        "-Wl,-wrap,valloc",
21771        "-Wl,-wrap,vasprintf",
21772    ],
21773    target: {
21774        android_arm: {
21775            cflags: [
21776                "-D_FORTIFY_SOURCE=2",
21777            ],
21778        },
21779        android_arm64: {
21780            cflags: [
21781                "-D_FORTIFY_SOURCE=2",
21782                "-O2",
21783                "-mno-outline",
21784            ],
21785        },
21786        android_x86: {
21787            cflags: [
21788                "-D_FORTIFY_SOURCE=2",
21789                "-msse3",
21790            ],
21791        },
21792        android_x86_64: {
21793            cflags: [
21794                "-D_FORTIFY_SOURCE=2",
21795                "-msse3",
21796            ],
21797        },
21798    },
21799}
21800
21801// GN: //net/dns:host_resolver_manager
21802cc_library_static {
21803    name: "cronet_aml_net_dns_host_resolver_manager",
21804    shared_libs: [
21805        "//external/cronet/third_party/boringssl:libcrypto",
21806        "//external/cronet/third_party/boringssl:libpki",
21807        "//external/cronet/third_party/boringssl:libssl",
21808        "libandroid",
21809        "liblog",
21810        "libprotobuf-cpp-lite",
21811        "libz",
21812    ],
21813    generated_headers: [
21814        "cronet_aml_base_allocator_buildflags",
21815        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
21816        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
21817        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
21818        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
21819        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
21820        "cronet_aml_base_anchor_functions_buildflags",
21821        "cronet_aml_base_android_runtime_jni_headers__action",
21822        "cronet_aml_base_base_jni__action",
21823        "cronet_aml_base_base_shared_preferences_jni__action",
21824        "cronet_aml_base_build_date",
21825        "cronet_aml_base_cfi_buildflags",
21826        "cronet_aml_base_check_version_internal_action",
21827        "cronet_aml_base_clang_profiling_buildflags",
21828        "cronet_aml_base_debugging_buildflags",
21829        "cronet_aml_base_feature_list_buildflags",
21830        "cronet_aml_base_fuzzing_buildflags",
21831        "cronet_aml_base_ios_cronet_buildflags",
21832        "cronet_aml_base_logging_buildflags",
21833        "cronet_aml_base_message_pump_buildflags",
21834        "cronet_aml_base_orderfile_buildflags",
21835        "cronet_aml_base_power_monitor_buildflags",
21836        "cronet_aml_base_process_launcher_jni__action",
21837        "cronet_aml_base_profiler_buildflags",
21838        "cronet_aml_base_protected_memory_buildflags",
21839        "cronet_aml_base_rust_buildflags",
21840        "cronet_aml_base_sanitizer_buildflags",
21841        "cronet_aml_base_synchronization_buildflags",
21842        "cronet_aml_base_tracing_buildflags",
21843        "cronet_aml_build_blink_buildflags",
21844        "cronet_aml_build_branding_buildflags",
21845        "cronet_aml_build_chromecast_buildflags",
21846        "cronet_aml_build_chromeos_buildflags",
21847        "cronet_aml_build_config_compiler_compiler_buildflags",
21848        "cronet_aml_build_ios_buildflags",
21849        "cronet_aml_build_robolectric_buildflags",
21850        "cronet_aml_crypto_buildflags",
21851        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
21852        "cronet_aml_net_buildflags",
21853        "cronet_aml_net_cronet_buildflags",
21854        "cronet_aml_net_isolation_info_proto_gen_headers",
21855        "cronet_aml_net_net_jni_headers__action",
21856        "cronet_aml_net_net_nqe_proto_gen_headers",
21857        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
21858        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
21859        "cronet_aml_url_buildflags",
21860        "cronet_aml_url_url_jni_headers__action",
21861    ],
21862    export_generated_headers: [
21863        "cronet_aml_base_allocator_buildflags",
21864        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
21865        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
21866        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
21867        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
21868        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
21869        "cronet_aml_base_anchor_functions_buildflags",
21870        "cronet_aml_base_android_runtime_jni_headers__action",
21871        "cronet_aml_base_base_jni__action",
21872        "cronet_aml_base_base_shared_preferences_jni__action",
21873        "cronet_aml_base_build_date",
21874        "cronet_aml_base_cfi_buildflags",
21875        "cronet_aml_base_check_version_internal_action",
21876        "cronet_aml_base_clang_profiling_buildflags",
21877        "cronet_aml_base_debugging_buildflags",
21878        "cronet_aml_base_feature_list_buildflags",
21879        "cronet_aml_base_fuzzing_buildflags",
21880        "cronet_aml_base_ios_cronet_buildflags",
21881        "cronet_aml_base_logging_buildflags",
21882        "cronet_aml_base_message_pump_buildflags",
21883        "cronet_aml_base_orderfile_buildflags",
21884        "cronet_aml_base_power_monitor_buildflags",
21885        "cronet_aml_base_process_launcher_jni__action",
21886        "cronet_aml_base_profiler_buildflags",
21887        "cronet_aml_base_protected_memory_buildflags",
21888        "cronet_aml_base_rust_buildflags",
21889        "cronet_aml_base_sanitizer_buildflags",
21890        "cronet_aml_base_synchronization_buildflags",
21891        "cronet_aml_base_tracing_buildflags",
21892        "cronet_aml_build_blink_buildflags",
21893        "cronet_aml_build_branding_buildflags",
21894        "cronet_aml_build_chromecast_buildflags",
21895        "cronet_aml_build_chromeos_buildflags",
21896        "cronet_aml_build_config_compiler_compiler_buildflags",
21897        "cronet_aml_build_ios_buildflags",
21898        "cronet_aml_build_robolectric_buildflags",
21899        "cronet_aml_crypto_buildflags",
21900        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
21901        "cronet_aml_net_buildflags",
21902        "cronet_aml_net_cronet_buildflags",
21903        "cronet_aml_net_isolation_info_proto_gen_headers",
21904        "cronet_aml_net_net_jni_headers__action",
21905        "cronet_aml_net_net_nqe_proto_gen_headers",
21906        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
21907        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
21908        "cronet_aml_url_buildflags",
21909        "cronet_aml_url_url_jni_headers__action",
21910    ],
21911    defaults: [
21912        "cronet_aml_cc_defaults",
21913    ],
21914    cflags: [
21915        "-DANDROID",
21916        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
21917        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
21918        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
21919        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21920        "-DENABLE_BUILT_IN_DNS",
21921        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
21922        "-DGOOGLE_PROTOBUF_NO_RTTI",
21923        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
21924        "-DHAVE_PTHREAD",
21925        "-DHAVE_SYS_UIO_H",
21926        "-DNDEBUG",
21927        "-DNET_IMPLEMENTATION",
21928        "-DNO_UNWIND_TABLES",
21929        "-DNVALGRIND",
21930        "-DOFFICIAL_BUILD",
21931        "-D_GNU_SOURCE",
21932        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21933        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
21934        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21935        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
21936        "-D__STDC_CONSTANT_MACROS",
21937        "-D__STDC_FORMAT_MACROS",
21938        "-fdata-sections",
21939        "-ffunction-sections",
21940        "-fno-asynchronous-unwind-tables",
21941        "-fno-unwind-tables",
21942        "-fstack-protector",
21943        "-fvisibility-inlines-hidden",
21944        "-fvisibility=hidden",
21945        "-g1",
21946    ],
21947    local_include_dirs: [
21948        "./",
21949        "base/allocator/partition_allocator/src/",
21950        "buildtools/third_party/libc++/",
21951        "net/third_party/quiche/overrides/",
21952        "net/third_party/quiche/src/",
21953        "net/third_party/quiche/src/quiche/common/platform/default/",
21954        "third_party/abseil-cpp/",
21955        "third_party/boringssl/src/include/",
21956        "third_party/brotli/include/",
21957        "third_party/libc++/src/include",
21958        "third_party/libc++abi/src/include",
21959        "third_party/protobuf/src/",
21960    ],
21961    cpp_std: "c++20",
21962    ldflags: [
21963        "-Wl,--as-needed",
21964        "-Wl,--gc-sections",
21965        "-Wl,--icf=all",
21966        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
21967        "-Wl,-wrap,asprintf",
21968        "-Wl,-wrap,calloc",
21969        "-Wl,-wrap,free",
21970        "-Wl,-wrap,getcwd",
21971        "-Wl,-wrap,malloc",
21972        "-Wl,-wrap,malloc_usable_size",
21973        "-Wl,-wrap,memalign",
21974        "-Wl,-wrap,posix_memalign",
21975        "-Wl,-wrap,pvalloc",
21976        "-Wl,-wrap,realloc",
21977        "-Wl,-wrap,realpath",
21978        "-Wl,-wrap,strdup",
21979        "-Wl,-wrap,strndup",
21980        "-Wl,-wrap,valloc",
21981        "-Wl,-wrap,vasprintf",
21982    ],
21983    target: {
21984        android_arm: {
21985            cflags: [
21986                "-D_FORTIFY_SOURCE=2",
21987            ],
21988        },
21989        android_arm64: {
21990            cflags: [
21991                "-D_FORTIFY_SOURCE=2",
21992                "-O2",
21993                "-mno-outline",
21994            ],
21995        },
21996        android_x86: {
21997            cflags: [
21998                "-D_FORTIFY_SOURCE=2",
21999                "-msse3",
22000            ],
22001        },
22002        android_x86_64: {
22003            cflags: [
22004                "-D_FORTIFY_SOURCE=2",
22005                "-msse3",
22006            ],
22007        },
22008    },
22009}
22010
22011// GN: //net/dns:host_resolver_manager__testing
22012cc_library_static {
22013    name: "cronet_aml_net_dns_host_resolver_manager__testing",
22014    shared_libs: [
22015        "libandroid",
22016        "liblog",
22017        "libprotobuf-cpp-lite",
22018        "libz",
22019    ],
22020    generated_headers: [
22021        "cronet_aml_base_allocator_buildflags__testing",
22022        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
22023        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
22024        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
22025        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
22026        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
22027        "cronet_aml_base_anchor_functions_buildflags__testing",
22028        "cronet_aml_base_build_date__testing",
22029        "cronet_aml_base_cfi_buildflags__testing",
22030        "cronet_aml_base_check_version_internal_action__testing",
22031        "cronet_aml_base_clang_profiling_buildflags__testing",
22032        "cronet_aml_base_debugging_buildflags__testing",
22033        "cronet_aml_base_feature_list_buildflags__testing",
22034        "cronet_aml_base_fuzzing_buildflags__testing",
22035        "cronet_aml_base_ios_cronet_buildflags__testing",
22036        "cronet_aml_base_logging_buildflags__testing",
22037        "cronet_aml_base_message_pump_buildflags__testing",
22038        "cronet_aml_base_orderfile_buildflags__testing",
22039        "cronet_aml_base_power_monitor_buildflags__testing",
22040        "cronet_aml_base_profiler_buildflags__testing",
22041        "cronet_aml_base_protected_memory_buildflags__testing",
22042        "cronet_aml_base_rust_buildflags__testing",
22043        "cronet_aml_base_sanitizer_buildflags__testing",
22044        "cronet_aml_base_synchronization_buildflags__testing",
22045        "cronet_aml_base_tracing_buildflags__testing",
22046        "cronet_aml_build_blink_buildflags__testing",
22047        "cronet_aml_build_branding_buildflags__testing",
22048        "cronet_aml_build_chromecast_buildflags__testing",
22049        "cronet_aml_build_chromeos_buildflags__testing",
22050        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
22051        "cronet_aml_build_ios_buildflags__testing",
22052        "cronet_aml_build_robolectric_buildflags__testing",
22053        "cronet_aml_crypto_buildflags__testing",
22054        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
22055        "cronet_aml_net_buildflags__testing",
22056        "cronet_aml_net_cronet_buildflags__testing",
22057        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
22058        "cronet_aml_net_net_jni_headers__action__testing",
22059        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
22060        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
22061        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
22062        "cronet_aml_url_buildflags__testing",
22063        "cronet_aml_url_url_jni_headers__action__testing",
22064    ],
22065    export_generated_headers: [
22066        "cronet_aml_base_allocator_buildflags__testing",
22067        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
22068        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
22069        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
22070        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
22071        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
22072        "cronet_aml_base_anchor_functions_buildflags__testing",
22073        "cronet_aml_base_build_date__testing",
22074        "cronet_aml_base_cfi_buildflags__testing",
22075        "cronet_aml_base_check_version_internal_action__testing",
22076        "cronet_aml_base_clang_profiling_buildflags__testing",
22077        "cronet_aml_base_debugging_buildflags__testing",
22078        "cronet_aml_base_feature_list_buildflags__testing",
22079        "cronet_aml_base_fuzzing_buildflags__testing",
22080        "cronet_aml_base_ios_cronet_buildflags__testing",
22081        "cronet_aml_base_logging_buildflags__testing",
22082        "cronet_aml_base_message_pump_buildflags__testing",
22083        "cronet_aml_base_orderfile_buildflags__testing",
22084        "cronet_aml_base_power_monitor_buildflags__testing",
22085        "cronet_aml_base_profiler_buildflags__testing",
22086        "cronet_aml_base_protected_memory_buildflags__testing",
22087        "cronet_aml_base_rust_buildflags__testing",
22088        "cronet_aml_base_sanitizer_buildflags__testing",
22089        "cronet_aml_base_synchronization_buildflags__testing",
22090        "cronet_aml_base_tracing_buildflags__testing",
22091        "cronet_aml_build_blink_buildflags__testing",
22092        "cronet_aml_build_branding_buildflags__testing",
22093        "cronet_aml_build_chromecast_buildflags__testing",
22094        "cronet_aml_build_chromeos_buildflags__testing",
22095        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
22096        "cronet_aml_build_ios_buildflags__testing",
22097        "cronet_aml_build_robolectric_buildflags__testing",
22098        "cronet_aml_crypto_buildflags__testing",
22099        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
22100        "cronet_aml_net_buildflags__testing",
22101        "cronet_aml_net_cronet_buildflags__testing",
22102        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
22103        "cronet_aml_net_net_jni_headers__action__testing",
22104        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
22105        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
22106        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
22107        "cronet_aml_url_buildflags__testing",
22108        "cronet_aml_url_url_jni_headers__action__testing",
22109    ],
22110    defaults: [
22111        "cronet_aml_cc_defaults",
22112    ],
22113    cflags: [
22114        "-DANDROID",
22115        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
22116        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
22117        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
22118        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22119        "-DENABLE_BUILT_IN_DNS",
22120        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
22121        "-DGOOGLE_PROTOBUF_NO_RTTI",
22122        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
22123        "-DHAVE_PTHREAD",
22124        "-DHAVE_SYS_UIO_H",
22125        "-DNDEBUG",
22126        "-DNET_IMPLEMENTATION",
22127        "-DNO_UNWIND_TABLES",
22128        "-DNVALGRIND",
22129        "-DOFFICIAL_BUILD",
22130        "-D_GNU_SOURCE",
22131        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22132        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
22133        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22134        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
22135        "-D__STDC_CONSTANT_MACROS",
22136        "-D__STDC_FORMAT_MACROS",
22137        "-fdata-sections",
22138        "-ffunction-sections",
22139        "-fno-asynchronous-unwind-tables",
22140        "-fno-unwind-tables",
22141        "-fstack-protector",
22142        "-fvisibility-inlines-hidden",
22143        "-fvisibility=hidden",
22144        "-g1",
22145    ],
22146    local_include_dirs: [
22147        "./",
22148        "base/allocator/partition_allocator/src/",
22149        "buildtools/third_party/libc++/",
22150        "net/third_party/quiche/overrides/",
22151        "net/third_party/quiche/src/",
22152        "net/third_party/quiche/src/quiche/common/platform/default/",
22153        "third_party/abseil-cpp/",
22154        "third_party/boringssl/src/include/",
22155        "third_party/brotli/include/",
22156        "third_party/libc++/src/include",
22157        "third_party/libc++abi/src/include",
22158        "third_party/protobuf/src/",
22159    ],
22160    cpp_std: "c++20",
22161    ldflags: [
22162        "-Wl,--as-needed",
22163        "-Wl,--gc-sections",
22164        "-Wl,--icf=all",
22165        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
22166        "-Wl,-wrap,asprintf",
22167        "-Wl,-wrap,calloc",
22168        "-Wl,-wrap,free",
22169        "-Wl,-wrap,getcwd",
22170        "-Wl,-wrap,malloc",
22171        "-Wl,-wrap,malloc_usable_size",
22172        "-Wl,-wrap,memalign",
22173        "-Wl,-wrap,posix_memalign",
22174        "-Wl,-wrap,pvalloc",
22175        "-Wl,-wrap,realloc",
22176        "-Wl,-wrap,realpath",
22177        "-Wl,-wrap,strdup",
22178        "-Wl,-wrap,strndup",
22179        "-Wl,-wrap,valloc",
22180        "-Wl,-wrap,vasprintf",
22181    ],
22182    target: {
22183        android_arm: {
22184            cflags: [
22185                "-D_FORTIFY_SOURCE=2",
22186            ],
22187        },
22188        android_arm64: {
22189            cflags: [
22190                "-D_FORTIFY_SOURCE=2",
22191                "-O2",
22192                "-mno-outline",
22193            ],
22194        },
22195        android_x86: {
22196            cflags: [
22197                "-D_FORTIFY_SOURCE=2",
22198                "-msse3",
22199            ],
22200        },
22201        android_x86_64: {
22202            cflags: [
22203                "-D_FORTIFY_SOURCE=2",
22204                "-msse3",
22205            ],
22206        },
22207    },
22208}
22209
22210// GN: //net/dns:mdns_client
22211cc_library_static {
22212    name: "cronet_aml_net_dns_mdns_client",
22213    shared_libs: [
22214        "//external/cronet/third_party/boringssl:libcrypto",
22215        "//external/cronet/third_party/boringssl:libpki",
22216        "//external/cronet/third_party/boringssl:libssl",
22217        "libandroid",
22218        "liblog",
22219        "libprotobuf-cpp-lite",
22220        "libz",
22221    ],
22222    generated_headers: [
22223        "cronet_aml_base_allocator_buildflags",
22224        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
22225        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
22226        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
22227        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
22228        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
22229        "cronet_aml_base_anchor_functions_buildflags",
22230        "cronet_aml_base_android_runtime_jni_headers__action",
22231        "cronet_aml_base_base_jni__action",
22232        "cronet_aml_base_base_shared_preferences_jni__action",
22233        "cronet_aml_base_build_date",
22234        "cronet_aml_base_cfi_buildflags",
22235        "cronet_aml_base_check_version_internal_action",
22236        "cronet_aml_base_clang_profiling_buildflags",
22237        "cronet_aml_base_debugging_buildflags",
22238        "cronet_aml_base_feature_list_buildflags",
22239        "cronet_aml_base_fuzzing_buildflags",
22240        "cronet_aml_base_ios_cronet_buildflags",
22241        "cronet_aml_base_logging_buildflags",
22242        "cronet_aml_base_message_pump_buildflags",
22243        "cronet_aml_base_orderfile_buildflags",
22244        "cronet_aml_base_power_monitor_buildflags",
22245        "cronet_aml_base_process_launcher_jni__action",
22246        "cronet_aml_base_profiler_buildflags",
22247        "cronet_aml_base_protected_memory_buildflags",
22248        "cronet_aml_base_rust_buildflags",
22249        "cronet_aml_base_sanitizer_buildflags",
22250        "cronet_aml_base_synchronization_buildflags",
22251        "cronet_aml_base_tracing_buildflags",
22252        "cronet_aml_build_blink_buildflags",
22253        "cronet_aml_build_branding_buildflags",
22254        "cronet_aml_build_chromecast_buildflags",
22255        "cronet_aml_build_chromeos_buildflags",
22256        "cronet_aml_build_config_compiler_compiler_buildflags",
22257        "cronet_aml_build_ios_buildflags",
22258        "cronet_aml_build_robolectric_buildflags",
22259        "cronet_aml_crypto_buildflags",
22260        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
22261        "cronet_aml_net_buildflags",
22262        "cronet_aml_net_cronet_buildflags",
22263        "cronet_aml_net_isolation_info_proto_gen_headers",
22264        "cronet_aml_net_net_jni_headers__action",
22265        "cronet_aml_net_net_nqe_proto_gen_headers",
22266        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
22267        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
22268        "cronet_aml_url_buildflags",
22269        "cronet_aml_url_url_jni_headers__action",
22270    ],
22271    export_generated_headers: [
22272        "cronet_aml_base_allocator_buildflags",
22273        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
22274        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
22275        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
22276        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
22277        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
22278        "cronet_aml_base_anchor_functions_buildflags",
22279        "cronet_aml_base_android_runtime_jni_headers__action",
22280        "cronet_aml_base_base_jni__action",
22281        "cronet_aml_base_base_shared_preferences_jni__action",
22282        "cronet_aml_base_build_date",
22283        "cronet_aml_base_cfi_buildflags",
22284        "cronet_aml_base_check_version_internal_action",
22285        "cronet_aml_base_clang_profiling_buildflags",
22286        "cronet_aml_base_debugging_buildflags",
22287        "cronet_aml_base_feature_list_buildflags",
22288        "cronet_aml_base_fuzzing_buildflags",
22289        "cronet_aml_base_ios_cronet_buildflags",
22290        "cronet_aml_base_logging_buildflags",
22291        "cronet_aml_base_message_pump_buildflags",
22292        "cronet_aml_base_orderfile_buildflags",
22293        "cronet_aml_base_power_monitor_buildflags",
22294        "cronet_aml_base_process_launcher_jni__action",
22295        "cronet_aml_base_profiler_buildflags",
22296        "cronet_aml_base_protected_memory_buildflags",
22297        "cronet_aml_base_rust_buildflags",
22298        "cronet_aml_base_sanitizer_buildflags",
22299        "cronet_aml_base_synchronization_buildflags",
22300        "cronet_aml_base_tracing_buildflags",
22301        "cronet_aml_build_blink_buildflags",
22302        "cronet_aml_build_branding_buildflags",
22303        "cronet_aml_build_chromecast_buildflags",
22304        "cronet_aml_build_chromeos_buildflags",
22305        "cronet_aml_build_config_compiler_compiler_buildflags",
22306        "cronet_aml_build_ios_buildflags",
22307        "cronet_aml_build_robolectric_buildflags",
22308        "cronet_aml_crypto_buildflags",
22309        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
22310        "cronet_aml_net_buildflags",
22311        "cronet_aml_net_cronet_buildflags",
22312        "cronet_aml_net_isolation_info_proto_gen_headers",
22313        "cronet_aml_net_net_jni_headers__action",
22314        "cronet_aml_net_net_nqe_proto_gen_headers",
22315        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
22316        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
22317        "cronet_aml_url_buildflags",
22318        "cronet_aml_url_url_jni_headers__action",
22319    ],
22320    defaults: [
22321        "cronet_aml_cc_defaults",
22322    ],
22323    cflags: [
22324        "-DANDROID",
22325        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
22326        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
22327        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
22328        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22329        "-DENABLE_BUILT_IN_DNS",
22330        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
22331        "-DGOOGLE_PROTOBUF_NO_RTTI",
22332        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
22333        "-DHAVE_PTHREAD",
22334        "-DHAVE_SYS_UIO_H",
22335        "-DNDEBUG",
22336        "-DNET_IMPLEMENTATION",
22337        "-DNO_UNWIND_TABLES",
22338        "-DNVALGRIND",
22339        "-DOFFICIAL_BUILD",
22340        "-D_GNU_SOURCE",
22341        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22342        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
22343        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22344        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
22345        "-D__STDC_CONSTANT_MACROS",
22346        "-D__STDC_FORMAT_MACROS",
22347        "-fdata-sections",
22348        "-ffunction-sections",
22349        "-fno-asynchronous-unwind-tables",
22350        "-fno-unwind-tables",
22351        "-fstack-protector",
22352        "-fvisibility-inlines-hidden",
22353        "-fvisibility=hidden",
22354        "-g1",
22355    ],
22356    local_include_dirs: [
22357        "./",
22358        "base/allocator/partition_allocator/src/",
22359        "buildtools/third_party/libc++/",
22360        "net/third_party/quiche/overrides/",
22361        "net/third_party/quiche/src/",
22362        "net/third_party/quiche/src/quiche/common/platform/default/",
22363        "third_party/abseil-cpp/",
22364        "third_party/boringssl/src/include/",
22365        "third_party/brotli/include/",
22366        "third_party/libc++/src/include",
22367        "third_party/libc++abi/src/include",
22368        "third_party/protobuf/src/",
22369    ],
22370    cpp_std: "c++20",
22371    ldflags: [
22372        "-Wl,--as-needed",
22373        "-Wl,--gc-sections",
22374        "-Wl,--icf=all",
22375        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
22376        "-Wl,-wrap,asprintf",
22377        "-Wl,-wrap,calloc",
22378        "-Wl,-wrap,free",
22379        "-Wl,-wrap,getcwd",
22380        "-Wl,-wrap,malloc",
22381        "-Wl,-wrap,malloc_usable_size",
22382        "-Wl,-wrap,memalign",
22383        "-Wl,-wrap,posix_memalign",
22384        "-Wl,-wrap,pvalloc",
22385        "-Wl,-wrap,realloc",
22386        "-Wl,-wrap,realpath",
22387        "-Wl,-wrap,strdup",
22388        "-Wl,-wrap,strndup",
22389        "-Wl,-wrap,valloc",
22390        "-Wl,-wrap,vasprintf",
22391    ],
22392    target: {
22393        android_arm: {
22394            cflags: [
22395                "-D_FORTIFY_SOURCE=2",
22396            ],
22397        },
22398        android_arm64: {
22399            cflags: [
22400                "-D_FORTIFY_SOURCE=2",
22401                "-O2",
22402                "-mno-outline",
22403            ],
22404        },
22405        android_x86: {
22406            cflags: [
22407                "-D_FORTIFY_SOURCE=2",
22408                "-msse3",
22409            ],
22410        },
22411        android_x86_64: {
22412            cflags: [
22413                "-D_FORTIFY_SOURCE=2",
22414                "-msse3",
22415            ],
22416        },
22417    },
22418}
22419
22420// GN: //net/dns:mdns_client__testing
22421cc_library_static {
22422    name: "cronet_aml_net_dns_mdns_client__testing",
22423    shared_libs: [
22424        "libandroid",
22425        "liblog",
22426        "libprotobuf-cpp-lite",
22427        "libz",
22428    ],
22429    generated_headers: [
22430        "cronet_aml_base_allocator_buildflags__testing",
22431        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
22432        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
22433        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
22434        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
22435        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
22436        "cronet_aml_base_anchor_functions_buildflags__testing",
22437        "cronet_aml_base_build_date__testing",
22438        "cronet_aml_base_cfi_buildflags__testing",
22439        "cronet_aml_base_check_version_internal_action__testing",
22440        "cronet_aml_base_clang_profiling_buildflags__testing",
22441        "cronet_aml_base_debugging_buildflags__testing",
22442        "cronet_aml_base_feature_list_buildflags__testing",
22443        "cronet_aml_base_fuzzing_buildflags__testing",
22444        "cronet_aml_base_ios_cronet_buildflags__testing",
22445        "cronet_aml_base_logging_buildflags__testing",
22446        "cronet_aml_base_message_pump_buildflags__testing",
22447        "cronet_aml_base_orderfile_buildflags__testing",
22448        "cronet_aml_base_power_monitor_buildflags__testing",
22449        "cronet_aml_base_profiler_buildflags__testing",
22450        "cronet_aml_base_protected_memory_buildflags__testing",
22451        "cronet_aml_base_rust_buildflags__testing",
22452        "cronet_aml_base_sanitizer_buildflags__testing",
22453        "cronet_aml_base_synchronization_buildflags__testing",
22454        "cronet_aml_base_tracing_buildflags__testing",
22455        "cronet_aml_build_blink_buildflags__testing",
22456        "cronet_aml_build_branding_buildflags__testing",
22457        "cronet_aml_build_chromecast_buildflags__testing",
22458        "cronet_aml_build_chromeos_buildflags__testing",
22459        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
22460        "cronet_aml_build_ios_buildflags__testing",
22461        "cronet_aml_build_robolectric_buildflags__testing",
22462        "cronet_aml_crypto_buildflags__testing",
22463        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
22464        "cronet_aml_net_buildflags__testing",
22465        "cronet_aml_net_cronet_buildflags__testing",
22466        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
22467        "cronet_aml_net_net_jni_headers__action__testing",
22468        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
22469        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
22470        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
22471        "cronet_aml_url_buildflags__testing",
22472        "cronet_aml_url_url_jni_headers__action__testing",
22473    ],
22474    export_generated_headers: [
22475        "cronet_aml_base_allocator_buildflags__testing",
22476        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
22477        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
22478        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
22479        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
22480        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
22481        "cronet_aml_base_anchor_functions_buildflags__testing",
22482        "cronet_aml_base_build_date__testing",
22483        "cronet_aml_base_cfi_buildflags__testing",
22484        "cronet_aml_base_check_version_internal_action__testing",
22485        "cronet_aml_base_clang_profiling_buildflags__testing",
22486        "cronet_aml_base_debugging_buildflags__testing",
22487        "cronet_aml_base_feature_list_buildflags__testing",
22488        "cronet_aml_base_fuzzing_buildflags__testing",
22489        "cronet_aml_base_ios_cronet_buildflags__testing",
22490        "cronet_aml_base_logging_buildflags__testing",
22491        "cronet_aml_base_message_pump_buildflags__testing",
22492        "cronet_aml_base_orderfile_buildflags__testing",
22493        "cronet_aml_base_power_monitor_buildflags__testing",
22494        "cronet_aml_base_profiler_buildflags__testing",
22495        "cronet_aml_base_protected_memory_buildflags__testing",
22496        "cronet_aml_base_rust_buildflags__testing",
22497        "cronet_aml_base_sanitizer_buildflags__testing",
22498        "cronet_aml_base_synchronization_buildflags__testing",
22499        "cronet_aml_base_tracing_buildflags__testing",
22500        "cronet_aml_build_blink_buildflags__testing",
22501        "cronet_aml_build_branding_buildflags__testing",
22502        "cronet_aml_build_chromecast_buildflags__testing",
22503        "cronet_aml_build_chromeos_buildflags__testing",
22504        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
22505        "cronet_aml_build_ios_buildflags__testing",
22506        "cronet_aml_build_robolectric_buildflags__testing",
22507        "cronet_aml_crypto_buildflags__testing",
22508        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
22509        "cronet_aml_net_buildflags__testing",
22510        "cronet_aml_net_cronet_buildflags__testing",
22511        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
22512        "cronet_aml_net_net_jni_headers__action__testing",
22513        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
22514        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
22515        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
22516        "cronet_aml_url_buildflags__testing",
22517        "cronet_aml_url_url_jni_headers__action__testing",
22518    ],
22519    defaults: [
22520        "cronet_aml_cc_defaults",
22521    ],
22522    cflags: [
22523        "-DANDROID",
22524        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
22525        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
22526        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
22527        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22528        "-DENABLE_BUILT_IN_DNS",
22529        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
22530        "-DGOOGLE_PROTOBUF_NO_RTTI",
22531        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
22532        "-DHAVE_PTHREAD",
22533        "-DHAVE_SYS_UIO_H",
22534        "-DNDEBUG",
22535        "-DNET_IMPLEMENTATION",
22536        "-DNO_UNWIND_TABLES",
22537        "-DNVALGRIND",
22538        "-DOFFICIAL_BUILD",
22539        "-D_GNU_SOURCE",
22540        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22541        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
22542        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22543        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
22544        "-D__STDC_CONSTANT_MACROS",
22545        "-D__STDC_FORMAT_MACROS",
22546        "-fdata-sections",
22547        "-ffunction-sections",
22548        "-fno-asynchronous-unwind-tables",
22549        "-fno-unwind-tables",
22550        "-fstack-protector",
22551        "-fvisibility-inlines-hidden",
22552        "-fvisibility=hidden",
22553        "-g1",
22554    ],
22555    local_include_dirs: [
22556        "./",
22557        "base/allocator/partition_allocator/src/",
22558        "buildtools/third_party/libc++/",
22559        "net/third_party/quiche/overrides/",
22560        "net/third_party/quiche/src/",
22561        "net/third_party/quiche/src/quiche/common/platform/default/",
22562        "third_party/abseil-cpp/",
22563        "third_party/boringssl/src/include/",
22564        "third_party/brotli/include/",
22565        "third_party/libc++/src/include",
22566        "third_party/libc++abi/src/include",
22567        "third_party/protobuf/src/",
22568    ],
22569    cpp_std: "c++20",
22570    ldflags: [
22571        "-Wl,--as-needed",
22572        "-Wl,--gc-sections",
22573        "-Wl,--icf=all",
22574        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
22575        "-Wl,-wrap,asprintf",
22576        "-Wl,-wrap,calloc",
22577        "-Wl,-wrap,free",
22578        "-Wl,-wrap,getcwd",
22579        "-Wl,-wrap,malloc",
22580        "-Wl,-wrap,malloc_usable_size",
22581        "-Wl,-wrap,memalign",
22582        "-Wl,-wrap,posix_memalign",
22583        "-Wl,-wrap,pvalloc",
22584        "-Wl,-wrap,realloc",
22585        "-Wl,-wrap,realpath",
22586        "-Wl,-wrap,strdup",
22587        "-Wl,-wrap,strndup",
22588        "-Wl,-wrap,valloc",
22589        "-Wl,-wrap,vasprintf",
22590    ],
22591    target: {
22592        android_arm: {
22593            cflags: [
22594                "-D_FORTIFY_SOURCE=2",
22595            ],
22596        },
22597        android_arm64: {
22598            cflags: [
22599                "-D_FORTIFY_SOURCE=2",
22600                "-O2",
22601                "-mno-outline",
22602            ],
22603        },
22604        android_x86: {
22605            cflags: [
22606                "-D_FORTIFY_SOURCE=2",
22607                "-msse3",
22608            ],
22609        },
22610        android_x86_64: {
22611            cflags: [
22612                "-D_FORTIFY_SOURCE=2",
22613                "-msse3",
22614            ],
22615        },
22616    },
22617}
22618
22619// GN: //net/dns/public:public
22620cc_library_static {
22621    name: "cronet_aml_net_dns_public_public",
22622    srcs: [
22623        "net/dns/public/dns_config_overrides.cc",
22624        "net/dns/public/dns_over_https_config.cc",
22625        "net/dns/public/dns_over_https_server_config.cc",
22626        "net/dns/public/dns_query_type.cc",
22627        "net/dns/public/doh_provider_entry.cc",
22628        "net/dns/public/host_resolver_results.cc",
22629        "net/dns/public/host_resolver_source.cc",
22630        "net/dns/public/resolve_error_info.cc",
22631        "net/dns/public/secure_dns_policy.cc",
22632        "net/dns/public/util.cc",
22633    ],
22634    shared_libs: [
22635        "//external/cronet/third_party/boringssl:libcrypto",
22636        "//external/cronet/third_party/boringssl:libpki",
22637        "//external/cronet/third_party/boringssl:libssl",
22638        "libandroid",
22639        "liblog",
22640        "libprotobuf-cpp-lite",
22641        "libz",
22642    ],
22643    generated_headers: [
22644        "cronet_aml_base_allocator_buildflags",
22645        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
22646        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
22647        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
22648        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
22649        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
22650        "cronet_aml_base_anchor_functions_buildflags",
22651        "cronet_aml_base_android_runtime_jni_headers__action",
22652        "cronet_aml_base_base_jni__action",
22653        "cronet_aml_base_base_shared_preferences_jni__action",
22654        "cronet_aml_base_build_date",
22655        "cronet_aml_base_cfi_buildflags",
22656        "cronet_aml_base_check_version_internal_action",
22657        "cronet_aml_base_clang_profiling_buildflags",
22658        "cronet_aml_base_debugging_buildflags",
22659        "cronet_aml_base_feature_list_buildflags",
22660        "cronet_aml_base_fuzzing_buildflags",
22661        "cronet_aml_base_ios_cronet_buildflags",
22662        "cronet_aml_base_logging_buildflags",
22663        "cronet_aml_base_message_pump_buildflags",
22664        "cronet_aml_base_orderfile_buildflags",
22665        "cronet_aml_base_power_monitor_buildflags",
22666        "cronet_aml_base_process_launcher_jni__action",
22667        "cronet_aml_base_profiler_buildflags",
22668        "cronet_aml_base_protected_memory_buildflags",
22669        "cronet_aml_base_rust_buildflags",
22670        "cronet_aml_base_sanitizer_buildflags",
22671        "cronet_aml_base_synchronization_buildflags",
22672        "cronet_aml_base_tracing_buildflags",
22673        "cronet_aml_build_blink_buildflags",
22674        "cronet_aml_build_branding_buildflags",
22675        "cronet_aml_build_chromecast_buildflags",
22676        "cronet_aml_build_chromeos_buildflags",
22677        "cronet_aml_build_config_compiler_compiler_buildflags",
22678        "cronet_aml_build_ios_buildflags",
22679        "cronet_aml_build_robolectric_buildflags",
22680        "cronet_aml_crypto_buildflags",
22681        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
22682        "cronet_aml_net_buildflags",
22683        "cronet_aml_net_cronet_buildflags",
22684        "cronet_aml_net_isolation_info_proto_gen_headers",
22685        "cronet_aml_net_net_jni_headers__action",
22686        "cronet_aml_net_net_nqe_proto_gen_headers",
22687        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
22688        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
22689        "cronet_aml_url_buildflags",
22690        "cronet_aml_url_url_jni_headers__action",
22691    ],
22692    export_generated_headers: [
22693        "cronet_aml_base_allocator_buildflags",
22694        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
22695        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
22696        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
22697        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
22698        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
22699        "cronet_aml_base_anchor_functions_buildflags",
22700        "cronet_aml_base_android_runtime_jni_headers__action",
22701        "cronet_aml_base_base_jni__action",
22702        "cronet_aml_base_base_shared_preferences_jni__action",
22703        "cronet_aml_base_build_date",
22704        "cronet_aml_base_cfi_buildflags",
22705        "cronet_aml_base_check_version_internal_action",
22706        "cronet_aml_base_clang_profiling_buildflags",
22707        "cronet_aml_base_debugging_buildflags",
22708        "cronet_aml_base_feature_list_buildflags",
22709        "cronet_aml_base_fuzzing_buildflags",
22710        "cronet_aml_base_ios_cronet_buildflags",
22711        "cronet_aml_base_logging_buildflags",
22712        "cronet_aml_base_message_pump_buildflags",
22713        "cronet_aml_base_orderfile_buildflags",
22714        "cronet_aml_base_power_monitor_buildflags",
22715        "cronet_aml_base_process_launcher_jni__action",
22716        "cronet_aml_base_profiler_buildflags",
22717        "cronet_aml_base_protected_memory_buildflags",
22718        "cronet_aml_base_rust_buildflags",
22719        "cronet_aml_base_sanitizer_buildflags",
22720        "cronet_aml_base_synchronization_buildflags",
22721        "cronet_aml_base_tracing_buildflags",
22722        "cronet_aml_build_blink_buildflags",
22723        "cronet_aml_build_branding_buildflags",
22724        "cronet_aml_build_chromecast_buildflags",
22725        "cronet_aml_build_chromeos_buildflags",
22726        "cronet_aml_build_config_compiler_compiler_buildflags",
22727        "cronet_aml_build_ios_buildflags",
22728        "cronet_aml_build_robolectric_buildflags",
22729        "cronet_aml_crypto_buildflags",
22730        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
22731        "cronet_aml_net_buildflags",
22732        "cronet_aml_net_cronet_buildflags",
22733        "cronet_aml_net_isolation_info_proto_gen_headers",
22734        "cronet_aml_net_net_jni_headers__action",
22735        "cronet_aml_net_net_nqe_proto_gen_headers",
22736        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
22737        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
22738        "cronet_aml_url_buildflags",
22739        "cronet_aml_url_url_jni_headers__action",
22740    ],
22741    defaults: [
22742        "cronet_aml_cc_defaults",
22743    ],
22744    cflags: [
22745        "-DANDROID",
22746        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
22747        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
22748        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
22749        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22750        "-DENABLE_BUILT_IN_DNS",
22751        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
22752        "-DGOOGLE_PROTOBUF_NO_RTTI",
22753        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
22754        "-DHAVE_PTHREAD",
22755        "-DHAVE_SYS_UIO_H",
22756        "-DNDEBUG",
22757        "-DNET_IMPLEMENTATION",
22758        "-DNO_UNWIND_TABLES",
22759        "-DNVALGRIND",
22760        "-DOFFICIAL_BUILD",
22761        "-D_GNU_SOURCE",
22762        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22763        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
22764        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22765        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
22766        "-D__STDC_CONSTANT_MACROS",
22767        "-D__STDC_FORMAT_MACROS",
22768        "-fdata-sections",
22769        "-ffunction-sections",
22770        "-fno-asynchronous-unwind-tables",
22771        "-fno-unwind-tables",
22772        "-fstack-protector",
22773        "-fvisibility-inlines-hidden",
22774        "-fvisibility=hidden",
22775        "-g1",
22776    ],
22777    local_include_dirs: [
22778        "./",
22779        "base/allocator/partition_allocator/src/",
22780        "buildtools/third_party/libc++/",
22781        "net/third_party/quiche/overrides/",
22782        "net/third_party/quiche/src/",
22783        "net/third_party/quiche/src/quiche/common/platform/default/",
22784        "third_party/abseil-cpp/",
22785        "third_party/boringssl/src/include/",
22786        "third_party/brotli/include/",
22787        "third_party/libc++/src/include",
22788        "third_party/libc++abi/src/include",
22789        "third_party/protobuf/src/",
22790    ],
22791    cpp_std: "c++20",
22792    ldflags: [
22793        "-Wl,--as-needed",
22794        "-Wl,--gc-sections",
22795        "-Wl,--icf=all",
22796        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
22797        "-Wl,-wrap,asprintf",
22798        "-Wl,-wrap,calloc",
22799        "-Wl,-wrap,free",
22800        "-Wl,-wrap,getcwd",
22801        "-Wl,-wrap,malloc",
22802        "-Wl,-wrap,malloc_usable_size",
22803        "-Wl,-wrap,memalign",
22804        "-Wl,-wrap,posix_memalign",
22805        "-Wl,-wrap,pvalloc",
22806        "-Wl,-wrap,realloc",
22807        "-Wl,-wrap,realpath",
22808        "-Wl,-wrap,strdup",
22809        "-Wl,-wrap,strndup",
22810        "-Wl,-wrap,valloc",
22811        "-Wl,-wrap,vasprintf",
22812    ],
22813    target: {
22814        android_arm: {
22815            cflags: [
22816                "-D_FORTIFY_SOURCE=2",
22817            ],
22818        },
22819        android_arm64: {
22820            cflags: [
22821                "-D_FORTIFY_SOURCE=2",
22822                "-O2",
22823                "-mno-outline",
22824            ],
22825        },
22826        android_x86: {
22827            cflags: [
22828                "-D_FORTIFY_SOURCE=2",
22829                "-msse3",
22830            ],
22831        },
22832        android_x86_64: {
22833            cflags: [
22834                "-D_FORTIFY_SOURCE=2",
22835                "-msse3",
22836            ],
22837        },
22838    },
22839}
22840
22841// GN: //net/dns/public:public__testing
22842cc_library_static {
22843    name: "cronet_aml_net_dns_public_public__testing",
22844    srcs: [
22845        "net/dns/public/dns_config_overrides.cc",
22846        "net/dns/public/dns_over_https_config.cc",
22847        "net/dns/public/dns_over_https_server_config.cc",
22848        "net/dns/public/dns_query_type.cc",
22849        "net/dns/public/doh_provider_entry.cc",
22850        "net/dns/public/host_resolver_results.cc",
22851        "net/dns/public/host_resolver_source.cc",
22852        "net/dns/public/resolve_error_info.cc",
22853        "net/dns/public/secure_dns_policy.cc",
22854        "net/dns/public/util.cc",
22855    ],
22856    shared_libs: [
22857        "libandroid",
22858        "liblog",
22859        "libprotobuf-cpp-lite",
22860        "libz",
22861    ],
22862    generated_headers: [
22863        "cronet_aml_base_allocator_buildflags__testing",
22864        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
22865        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
22866        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
22867        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
22868        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
22869        "cronet_aml_base_anchor_functions_buildflags__testing",
22870        "cronet_aml_base_build_date__testing",
22871        "cronet_aml_base_cfi_buildflags__testing",
22872        "cronet_aml_base_check_version_internal_action__testing",
22873        "cronet_aml_base_clang_profiling_buildflags__testing",
22874        "cronet_aml_base_debugging_buildflags__testing",
22875        "cronet_aml_base_feature_list_buildflags__testing",
22876        "cronet_aml_base_fuzzing_buildflags__testing",
22877        "cronet_aml_base_ios_cronet_buildflags__testing",
22878        "cronet_aml_base_logging_buildflags__testing",
22879        "cronet_aml_base_message_pump_buildflags__testing",
22880        "cronet_aml_base_orderfile_buildflags__testing",
22881        "cronet_aml_base_power_monitor_buildflags__testing",
22882        "cronet_aml_base_profiler_buildflags__testing",
22883        "cronet_aml_base_protected_memory_buildflags__testing",
22884        "cronet_aml_base_rust_buildflags__testing",
22885        "cronet_aml_base_sanitizer_buildflags__testing",
22886        "cronet_aml_base_synchronization_buildflags__testing",
22887        "cronet_aml_base_tracing_buildflags__testing",
22888        "cronet_aml_build_blink_buildflags__testing",
22889        "cronet_aml_build_branding_buildflags__testing",
22890        "cronet_aml_build_chromecast_buildflags__testing",
22891        "cronet_aml_build_chromeos_buildflags__testing",
22892        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
22893        "cronet_aml_build_ios_buildflags__testing",
22894        "cronet_aml_build_robolectric_buildflags__testing",
22895        "cronet_aml_crypto_buildflags__testing",
22896        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
22897        "cronet_aml_net_buildflags__testing",
22898        "cronet_aml_net_cronet_buildflags__testing",
22899        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
22900        "cronet_aml_net_net_jni_headers__action__testing",
22901        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
22902        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
22903        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
22904        "cronet_aml_url_buildflags__testing",
22905        "cronet_aml_url_url_jni_headers__action__testing",
22906    ],
22907    export_generated_headers: [
22908        "cronet_aml_base_allocator_buildflags__testing",
22909        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
22910        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
22911        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
22912        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
22913        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
22914        "cronet_aml_base_anchor_functions_buildflags__testing",
22915        "cronet_aml_base_build_date__testing",
22916        "cronet_aml_base_cfi_buildflags__testing",
22917        "cronet_aml_base_check_version_internal_action__testing",
22918        "cronet_aml_base_clang_profiling_buildflags__testing",
22919        "cronet_aml_base_debugging_buildflags__testing",
22920        "cronet_aml_base_feature_list_buildflags__testing",
22921        "cronet_aml_base_fuzzing_buildflags__testing",
22922        "cronet_aml_base_ios_cronet_buildflags__testing",
22923        "cronet_aml_base_logging_buildflags__testing",
22924        "cronet_aml_base_message_pump_buildflags__testing",
22925        "cronet_aml_base_orderfile_buildflags__testing",
22926        "cronet_aml_base_power_monitor_buildflags__testing",
22927        "cronet_aml_base_profiler_buildflags__testing",
22928        "cronet_aml_base_protected_memory_buildflags__testing",
22929        "cronet_aml_base_rust_buildflags__testing",
22930        "cronet_aml_base_sanitizer_buildflags__testing",
22931        "cronet_aml_base_synchronization_buildflags__testing",
22932        "cronet_aml_base_tracing_buildflags__testing",
22933        "cronet_aml_build_blink_buildflags__testing",
22934        "cronet_aml_build_branding_buildflags__testing",
22935        "cronet_aml_build_chromecast_buildflags__testing",
22936        "cronet_aml_build_chromeos_buildflags__testing",
22937        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
22938        "cronet_aml_build_ios_buildflags__testing",
22939        "cronet_aml_build_robolectric_buildflags__testing",
22940        "cronet_aml_crypto_buildflags__testing",
22941        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
22942        "cronet_aml_net_buildflags__testing",
22943        "cronet_aml_net_cronet_buildflags__testing",
22944        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
22945        "cronet_aml_net_net_jni_headers__action__testing",
22946        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
22947        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
22948        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
22949        "cronet_aml_url_buildflags__testing",
22950        "cronet_aml_url_url_jni_headers__action__testing",
22951    ],
22952    defaults: [
22953        "cronet_aml_cc_defaults",
22954    ],
22955    cflags: [
22956        "-DANDROID",
22957        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
22958        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
22959        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
22960        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22961        "-DENABLE_BUILT_IN_DNS",
22962        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
22963        "-DGOOGLE_PROTOBUF_NO_RTTI",
22964        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
22965        "-DHAVE_PTHREAD",
22966        "-DHAVE_SYS_UIO_H",
22967        "-DNDEBUG",
22968        "-DNET_IMPLEMENTATION",
22969        "-DNO_UNWIND_TABLES",
22970        "-DNVALGRIND",
22971        "-DOFFICIAL_BUILD",
22972        "-D_GNU_SOURCE",
22973        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22974        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
22975        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22976        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
22977        "-D__STDC_CONSTANT_MACROS",
22978        "-D__STDC_FORMAT_MACROS",
22979        "-fdata-sections",
22980        "-ffunction-sections",
22981        "-fno-asynchronous-unwind-tables",
22982        "-fno-unwind-tables",
22983        "-fstack-protector",
22984        "-fvisibility-inlines-hidden",
22985        "-fvisibility=hidden",
22986        "-g1",
22987    ],
22988    local_include_dirs: [
22989        "./",
22990        "base/allocator/partition_allocator/src/",
22991        "buildtools/third_party/libc++/",
22992        "net/third_party/quiche/overrides/",
22993        "net/third_party/quiche/src/",
22994        "net/third_party/quiche/src/quiche/common/platform/default/",
22995        "third_party/abseil-cpp/",
22996        "third_party/boringssl/src/include/",
22997        "third_party/brotli/include/",
22998        "third_party/libc++/src/include",
22999        "third_party/libc++abi/src/include",
23000        "third_party/protobuf/src/",
23001    ],
23002    cpp_std: "c++20",
23003    ldflags: [
23004        "-Wl,--as-needed",
23005        "-Wl,--gc-sections",
23006        "-Wl,--icf=all",
23007        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
23008        "-Wl,-wrap,asprintf",
23009        "-Wl,-wrap,calloc",
23010        "-Wl,-wrap,free",
23011        "-Wl,-wrap,getcwd",
23012        "-Wl,-wrap,malloc",
23013        "-Wl,-wrap,malloc_usable_size",
23014        "-Wl,-wrap,memalign",
23015        "-Wl,-wrap,posix_memalign",
23016        "-Wl,-wrap,pvalloc",
23017        "-Wl,-wrap,realloc",
23018        "-Wl,-wrap,realpath",
23019        "-Wl,-wrap,strdup",
23020        "-Wl,-wrap,strndup",
23021        "-Wl,-wrap,valloc",
23022        "-Wl,-wrap,vasprintf",
23023    ],
23024    target: {
23025        android_arm: {
23026            cflags: [
23027                "-D_FORTIFY_SOURCE=2",
23028            ],
23029        },
23030        android_arm64: {
23031            cflags: [
23032                "-D_FORTIFY_SOURCE=2",
23033                "-O2",
23034                "-mno-outline",
23035            ],
23036        },
23037        android_x86: {
23038            cflags: [
23039                "-D_FORTIFY_SOURCE=2",
23040                "-msse3",
23041            ],
23042        },
23043        android_x86_64: {
23044            cflags: [
23045                "-D_FORTIFY_SOURCE=2",
23046                "-msse3",
23047            ],
23048        },
23049    },
23050}
23051
23052// GN: //net/dns/public:tests__testing
23053cc_library_static {
23054    name: "cronet_aml_net_dns_public_tests__testing",
23055    srcs: [
23056        "net/dns/public/dns_over_https_config_unittest.cc",
23057        "net/dns/public/dns_over_https_server_config_unittest.cc",
23058        "net/dns/public/doh_provider_entry_unittest.cc",
23059    ],
23060    shared_libs: [
23061        "libandroid",
23062        "liblog",
23063        "libprotobuf-cpp-lite",
23064        "libz",
23065    ],
23066    generated_headers: [
23067        "cronet_aml_base_allocator_buildflags__testing",
23068        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
23069        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
23070        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
23071        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
23072        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
23073        "cronet_aml_base_anchor_functions_buildflags__testing",
23074        "cronet_aml_base_build_date__testing",
23075        "cronet_aml_base_cfi_buildflags__testing",
23076        "cronet_aml_base_check_version_internal_action__testing",
23077        "cronet_aml_base_clang_profiling_buildflags__testing",
23078        "cronet_aml_base_debugging_buildflags__testing",
23079        "cronet_aml_base_feature_list_buildflags__testing",
23080        "cronet_aml_base_fuzzing_buildflags__testing",
23081        "cronet_aml_base_ios_cronet_buildflags__testing",
23082        "cronet_aml_base_logging_buildflags__testing",
23083        "cronet_aml_base_message_pump_buildflags__testing",
23084        "cronet_aml_base_orderfile_buildflags__testing",
23085        "cronet_aml_base_power_monitor_buildflags__testing",
23086        "cronet_aml_base_profiler_buildflags__testing",
23087        "cronet_aml_base_protected_memory_buildflags__testing",
23088        "cronet_aml_base_rust_buildflags__testing",
23089        "cronet_aml_base_sanitizer_buildflags__testing",
23090        "cronet_aml_base_synchronization_buildflags__testing",
23091        "cronet_aml_base_tracing_buildflags__testing",
23092        "cronet_aml_build_blink_buildflags__testing",
23093        "cronet_aml_build_branding_buildflags__testing",
23094        "cronet_aml_build_chromecast_buildflags__testing",
23095        "cronet_aml_build_chromeos_buildflags__testing",
23096        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
23097        "cronet_aml_build_ios_buildflags__testing",
23098        "cronet_aml_build_robolectric_buildflags__testing",
23099        "cronet_aml_crypto_buildflags__testing",
23100        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
23101        "cronet_aml_net_buildflags__testing",
23102        "cronet_aml_net_cronet_buildflags__testing",
23103        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
23104        "cronet_aml_net_net_jni_headers__action__testing",
23105        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
23106        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
23107        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
23108        "cronet_aml_url_buildflags__testing",
23109        "cronet_aml_url_url_jni_headers__action__testing",
23110    ],
23111    export_generated_headers: [
23112        "cronet_aml_base_allocator_buildflags__testing",
23113        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
23114        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
23115        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
23116        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
23117        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
23118        "cronet_aml_base_anchor_functions_buildflags__testing",
23119        "cronet_aml_base_build_date__testing",
23120        "cronet_aml_base_cfi_buildflags__testing",
23121        "cronet_aml_base_check_version_internal_action__testing",
23122        "cronet_aml_base_clang_profiling_buildflags__testing",
23123        "cronet_aml_base_debugging_buildflags__testing",
23124        "cronet_aml_base_feature_list_buildflags__testing",
23125        "cronet_aml_base_fuzzing_buildflags__testing",
23126        "cronet_aml_base_ios_cronet_buildflags__testing",
23127        "cronet_aml_base_logging_buildflags__testing",
23128        "cronet_aml_base_message_pump_buildflags__testing",
23129        "cronet_aml_base_orderfile_buildflags__testing",
23130        "cronet_aml_base_power_monitor_buildflags__testing",
23131        "cronet_aml_base_profiler_buildflags__testing",
23132        "cronet_aml_base_protected_memory_buildflags__testing",
23133        "cronet_aml_base_rust_buildflags__testing",
23134        "cronet_aml_base_sanitizer_buildflags__testing",
23135        "cronet_aml_base_synchronization_buildflags__testing",
23136        "cronet_aml_base_tracing_buildflags__testing",
23137        "cronet_aml_build_blink_buildflags__testing",
23138        "cronet_aml_build_branding_buildflags__testing",
23139        "cronet_aml_build_chromecast_buildflags__testing",
23140        "cronet_aml_build_chromeos_buildflags__testing",
23141        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
23142        "cronet_aml_build_ios_buildflags__testing",
23143        "cronet_aml_build_robolectric_buildflags__testing",
23144        "cronet_aml_crypto_buildflags__testing",
23145        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
23146        "cronet_aml_net_buildflags__testing",
23147        "cronet_aml_net_cronet_buildflags__testing",
23148        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
23149        "cronet_aml_net_net_jni_headers__action__testing",
23150        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
23151        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
23152        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
23153        "cronet_aml_url_buildflags__testing",
23154        "cronet_aml_url_url_jni_headers__action__testing",
23155    ],
23156    defaults: [
23157        "cronet_aml_cc_defaults",
23158    ],
23159    cflags: [
23160        "-DANDROID",
23161        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
23162        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
23163        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
23164        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23165        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
23166        "-DGOOGLE_PROTOBUF_NO_RTTI",
23167        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
23168        "-DGTEST_API_=",
23169        "-DGTEST_HAS_ABSL",
23170        "-DGTEST_HAS_POSIX_RE=0",
23171        "-DGTEST_HAS_TR1_TUPLE=0",
23172        "-DGTEST_LANG_CXX11=1",
23173        "-DGTEST_NO_ABSL_FLAGS",
23174        "-DHAVE_PTHREAD",
23175        "-DHAVE_SYS_UIO_H",
23176        "-DNDEBUG",
23177        "-DNO_UNWIND_TABLES",
23178        "-DNVALGRIND",
23179        "-DOFFICIAL_BUILD",
23180        "-DUNIT_TEST",
23181        "-D_GNU_SOURCE",
23182        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23183        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
23184        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23185        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
23186        "-D__STDC_CONSTANT_MACROS",
23187        "-D__STDC_FORMAT_MACROS",
23188        "-fdata-sections",
23189        "-ffunction-sections",
23190        "-fno-asynchronous-unwind-tables",
23191        "-fno-unwind-tables",
23192        "-fstack-protector",
23193        "-fvisibility-inlines-hidden",
23194        "-fvisibility=hidden",
23195        "-g1",
23196    ],
23197    local_include_dirs: [
23198        "./",
23199        "base/allocator/partition_allocator/src/",
23200        "buildtools/third_party/libc++/",
23201        "net/third_party/quiche/overrides/",
23202        "net/third_party/quiche/src/",
23203        "net/third_party/quiche/src/quiche/common/platform/default/",
23204        "third_party/abseil-cpp/",
23205        "third_party/boringssl/src/include/",
23206        "third_party/googletest/custom/",
23207        "third_party/googletest/src/googlemock/include/",
23208        "third_party/googletest/src/googletest/include/",
23209        "third_party/libc++/src/include",
23210        "third_party/libc++abi/src/include",
23211        "third_party/protobuf/src/",
23212        "third_party/re2/src/",
23213    ],
23214    cpp_std: "c++20",
23215    ldflags: [
23216        "-Wl,--as-needed",
23217        "-Wl,--gc-sections",
23218        "-Wl,--icf=all",
23219        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
23220        "-Wl,-wrap,asprintf",
23221        "-Wl,-wrap,calloc",
23222        "-Wl,-wrap,free",
23223        "-Wl,-wrap,getcwd",
23224        "-Wl,-wrap,malloc",
23225        "-Wl,-wrap,malloc_usable_size",
23226        "-Wl,-wrap,memalign",
23227        "-Wl,-wrap,posix_memalign",
23228        "-Wl,-wrap,pvalloc",
23229        "-Wl,-wrap,realloc",
23230        "-Wl,-wrap,realpath",
23231        "-Wl,-wrap,strdup",
23232        "-Wl,-wrap,strndup",
23233        "-Wl,-wrap,valloc",
23234        "-Wl,-wrap,vasprintf",
23235    ],
23236    target: {
23237        android_arm: {
23238            cflags: [
23239                "-D_FORTIFY_SOURCE=2",
23240            ],
23241        },
23242        android_arm64: {
23243            cflags: [
23244                "-D_FORTIFY_SOURCE=2",
23245                "-O2",
23246                "-mno-outline",
23247            ],
23248        },
23249        android_x86: {
23250            cflags: [
23251                "-D_FORTIFY_SOURCE=2",
23252                "-msse3",
23253            ],
23254        },
23255        android_x86_64: {
23256            cflags: [
23257                "-D_FORTIFY_SOURCE=2",
23258                "-msse3",
23259            ],
23260        },
23261    },
23262}
23263
23264// GN: //net/dns:test_support__testing
23265cc_library_static {
23266    name: "cronet_aml_net_dns_test_support__testing",
23267    srcs: [
23268        "net/dns/dns_test_util.cc",
23269        "net/dns/host_resolver_internal_result_test_util.cc",
23270        "net/dns/host_resolver_results_test_util.cc",
23271        "net/dns/mock_host_resolver.cc",
23272    ],
23273    shared_libs: [
23274        "libandroid",
23275        "liblog",
23276        "libprotobuf-cpp-lite",
23277        "libz",
23278    ],
23279    generated_headers: [
23280        "cronet_aml_base_allocator_buildflags__testing",
23281        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
23282        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
23283        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
23284        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
23285        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
23286        "cronet_aml_base_anchor_functions_buildflags__testing",
23287        "cronet_aml_base_build_date__testing",
23288        "cronet_aml_base_cfi_buildflags__testing",
23289        "cronet_aml_base_check_version_internal_action__testing",
23290        "cronet_aml_base_clang_profiling_buildflags__testing",
23291        "cronet_aml_base_debugging_buildflags__testing",
23292        "cronet_aml_base_feature_list_buildflags__testing",
23293        "cronet_aml_base_fuzzing_buildflags__testing",
23294        "cronet_aml_base_ios_cronet_buildflags__testing",
23295        "cronet_aml_base_logging_buildflags__testing",
23296        "cronet_aml_base_message_pump_buildflags__testing",
23297        "cronet_aml_base_orderfile_buildflags__testing",
23298        "cronet_aml_base_power_monitor_buildflags__testing",
23299        "cronet_aml_base_profiler_buildflags__testing",
23300        "cronet_aml_base_protected_memory_buildflags__testing",
23301        "cronet_aml_base_rust_buildflags__testing",
23302        "cronet_aml_base_sanitizer_buildflags__testing",
23303        "cronet_aml_base_synchronization_buildflags__testing",
23304        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
23305        "cronet_aml_base_test_test_support_jni_headers__action__testing",
23306        "cronet_aml_base_tracing_buildflags__testing",
23307        "cronet_aml_build_blink_buildflags__testing",
23308        "cronet_aml_build_branding_buildflags__testing",
23309        "cronet_aml_build_chromecast_buildflags__testing",
23310        "cronet_aml_build_chromeos_buildflags__testing",
23311        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
23312        "cronet_aml_build_ios_buildflags__testing",
23313        "cronet_aml_build_robolectric_buildflags__testing",
23314        "cronet_aml_crypto_buildflags__testing",
23315        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
23316        "cronet_aml_net_buildflags__testing",
23317        "cronet_aml_net_cronet_buildflags__testing",
23318        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
23319        "cronet_aml_net_net_jni_headers__action__testing",
23320        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
23321        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
23322        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
23323        "cronet_aml_url_buildflags__testing",
23324        "cronet_aml_url_url_jni_headers__action__testing",
23325    ],
23326    export_generated_headers: [
23327        "cronet_aml_base_allocator_buildflags__testing",
23328        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
23329        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
23330        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
23331        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
23332        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
23333        "cronet_aml_base_anchor_functions_buildflags__testing",
23334        "cronet_aml_base_build_date__testing",
23335        "cronet_aml_base_cfi_buildflags__testing",
23336        "cronet_aml_base_check_version_internal_action__testing",
23337        "cronet_aml_base_clang_profiling_buildflags__testing",
23338        "cronet_aml_base_debugging_buildflags__testing",
23339        "cronet_aml_base_feature_list_buildflags__testing",
23340        "cronet_aml_base_fuzzing_buildflags__testing",
23341        "cronet_aml_base_ios_cronet_buildflags__testing",
23342        "cronet_aml_base_logging_buildflags__testing",
23343        "cronet_aml_base_message_pump_buildflags__testing",
23344        "cronet_aml_base_orderfile_buildflags__testing",
23345        "cronet_aml_base_power_monitor_buildflags__testing",
23346        "cronet_aml_base_profiler_buildflags__testing",
23347        "cronet_aml_base_protected_memory_buildflags__testing",
23348        "cronet_aml_base_rust_buildflags__testing",
23349        "cronet_aml_base_sanitizer_buildflags__testing",
23350        "cronet_aml_base_synchronization_buildflags__testing",
23351        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
23352        "cronet_aml_base_test_test_support_jni_headers__action__testing",
23353        "cronet_aml_base_tracing_buildflags__testing",
23354        "cronet_aml_build_blink_buildflags__testing",
23355        "cronet_aml_build_branding_buildflags__testing",
23356        "cronet_aml_build_chromecast_buildflags__testing",
23357        "cronet_aml_build_chromeos_buildflags__testing",
23358        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
23359        "cronet_aml_build_ios_buildflags__testing",
23360        "cronet_aml_build_robolectric_buildflags__testing",
23361        "cronet_aml_crypto_buildflags__testing",
23362        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
23363        "cronet_aml_net_buildflags__testing",
23364        "cronet_aml_net_cronet_buildflags__testing",
23365        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
23366        "cronet_aml_net_net_jni_headers__action__testing",
23367        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
23368        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
23369        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
23370        "cronet_aml_url_buildflags__testing",
23371        "cronet_aml_url_url_jni_headers__action__testing",
23372    ],
23373    defaults: [
23374        "cronet_aml_cc_defaults",
23375    ],
23376    cflags: [
23377        "-DANDROID",
23378        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
23379        "-DBENCHMARK_STATIC_DEFINE",
23380        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
23381        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
23382        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23383        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
23384        "-DGOOGLE_PROTOBUF_NO_RTTI",
23385        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
23386        "-DGTEST_API_=",
23387        "-DGTEST_HAS_ABSL",
23388        "-DGTEST_HAS_POSIX_RE=0",
23389        "-DGTEST_HAS_TR1_TUPLE=0",
23390        "-DGTEST_LANG_CXX11=1",
23391        "-DGTEST_NO_ABSL_FLAGS",
23392        "-DHAVE_PTHREAD",
23393        "-DHAVE_SYS_UIO_H",
23394        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
23395        "-DNDEBUG",
23396        "-DNO_UNWIND_TABLES",
23397        "-DNVALGRIND",
23398        "-DOFFICIAL_BUILD",
23399        "-DUNIT_TEST",
23400        "-DUSE_CHROMIUM_ICU=1",
23401        "-DU_ENABLE_DYLOAD=0",
23402        "-DU_ENABLE_RESOURCE_TRACING=0",
23403        "-DU_ENABLE_TRACING=1",
23404        "-DU_STATIC_IMPLEMENTATION",
23405        "-DU_USING_ICU_NAMESPACE=0",
23406        "-D_GNU_SOURCE",
23407        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23408        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
23409        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23410        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
23411        "-D__STDC_CONSTANT_MACROS",
23412        "-D__STDC_FORMAT_MACROS",
23413        "-fdata-sections",
23414        "-ffunction-sections",
23415        "-fno-asynchronous-unwind-tables",
23416        "-fno-unwind-tables",
23417        "-fstack-protector",
23418        "-fvisibility-inlines-hidden",
23419        "-fvisibility=hidden",
23420        "-g1",
23421    ],
23422    local_include_dirs: [
23423        "./",
23424        "base/allocator/partition_allocator/src/",
23425        "buildtools/third_party/libc++/",
23426        "net/third_party/quiche/overrides/",
23427        "net/third_party/quiche/src/",
23428        "net/third_party/quiche/src/quiche/common/platform/default/",
23429        "third_party/abseil-cpp/",
23430        "third_party/boringssl/src/include/",
23431        "third_party/ced/src/",
23432        "third_party/google_benchmark/src/include/",
23433        "third_party/googletest/custom/",
23434        "third_party/googletest/src/googlemock/include/",
23435        "third_party/googletest/src/googletest/include/",
23436        "third_party/icu/source/common/",
23437        "third_party/icu/source/i18n/",
23438        "third_party/libc++/src/include",
23439        "third_party/libc++abi/src/include",
23440        "third_party/protobuf/src/",
23441        "third_party/re2/src/",
23442    ],
23443    cpp_std: "c++20",
23444    ldflags: [
23445        "-Wl,--as-needed",
23446        "-Wl,--gc-sections",
23447        "-Wl,--icf=all",
23448        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
23449        "-Wl,-wrap,asprintf",
23450        "-Wl,-wrap,calloc",
23451        "-Wl,-wrap,free",
23452        "-Wl,-wrap,getcwd",
23453        "-Wl,-wrap,malloc",
23454        "-Wl,-wrap,malloc_usable_size",
23455        "-Wl,-wrap,memalign",
23456        "-Wl,-wrap,posix_memalign",
23457        "-Wl,-wrap,pvalloc",
23458        "-Wl,-wrap,realloc",
23459        "-Wl,-wrap,realpath",
23460        "-Wl,-wrap,strdup",
23461        "-Wl,-wrap,strndup",
23462        "-Wl,-wrap,valloc",
23463        "-Wl,-wrap,vasprintf",
23464    ],
23465    target: {
23466        android_arm: {
23467            cflags: [
23468                "-D_FORTIFY_SOURCE=2",
23469            ],
23470        },
23471        android_arm64: {
23472            cflags: [
23473                "-D_FORTIFY_SOURCE=2",
23474                "-O2",
23475                "-mno-outline",
23476            ],
23477        },
23478        android_x86: {
23479            cflags: [
23480                "-D_FORTIFY_SOURCE=2",
23481                "-msse3",
23482            ],
23483        },
23484        android_x86_64: {
23485            cflags: [
23486                "-D_FORTIFY_SOURCE=2",
23487                "-msse3",
23488            ],
23489        },
23490    },
23491}
23492
23493// GN: //net/dns:tests__testing
23494cc_library_static {
23495    name: "cronet_aml_net_dns_tests__testing",
23496    srcs: [
23497        "net/dns/address_info_unittest.cc",
23498        "net/dns/address_sorter_posix_unittest.cc",
23499        "net/dns/address_sorter_unittest.cc",
23500        "net/dns/context_host_resolver_unittest.cc",
23501        "net/dns/dns_alias_utility_unittest.cc",
23502        "net/dns/dns_client_unittest.cc",
23503        "net/dns/dns_config_service_android_unittest.cc",
23504        "net/dns/dns_config_service_unittest.cc",
23505        "net/dns/dns_hosts_unittest.cc",
23506        "net/dns/dns_names_util_unittest.cc",
23507        "net/dns/dns_query_unittest.cc",
23508        "net/dns/dns_response_result_extractor_unittest.cc",
23509        "net/dns/dns_response_unittest.cc",
23510        "net/dns/dns_task_results_manager_unittest.cc",
23511        "net/dns/dns_transaction_unittest.cc",
23512        "net/dns/dns_udp_tracker_unittest.cc",
23513        "net/dns/dns_util_unittest.cc",
23514        "net/dns/host_cache_unittest.cc",
23515        "net/dns/host_resolver_cache_unittest.cc",
23516        "net/dns/host_resolver_internal_result_unittest.cc",
23517        "net/dns/host_resolver_manager_ipv6_reachability_override_unittest.cc",
23518        "net/dns/host_resolver_manager_unittest.cc",
23519        "net/dns/host_resolver_service_endpoint_request_unittest.cc",
23520        "net/dns/https_record_rdata_unittest.cc",
23521        "net/dns/httpssvc_metrics_unittest.cc",
23522        "net/dns/loopback_only_unittest.cc",
23523        "net/dns/mapped_host_resolver_unittest.cc",
23524        "net/dns/nsswitch_reader_unittest.cc",
23525        "net/dns/opt_record_rdata_unittest.cc",
23526        "net/dns/record_parsed_unittest.cc",
23527        "net/dns/record_rdata_unittest.cc",
23528        "net/dns/resolve_context_unittest.cc",
23529        "net/dns/serial_worker_unittest.cc",
23530        "net/dns/system_dns_config_change_notifier_unittest.cc",
23531    ],
23532    shared_libs: [
23533        "libandroid",
23534        "liblog",
23535        "libprotobuf-cpp-lite",
23536        "libz",
23537    ],
23538    generated_headers: [
23539        "cronet_aml_base_allocator_buildflags__testing",
23540        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
23541        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
23542        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
23543        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
23544        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
23545        "cronet_aml_base_anchor_functions_buildflags__testing",
23546        "cronet_aml_base_build_date__testing",
23547        "cronet_aml_base_cfi_buildflags__testing",
23548        "cronet_aml_base_check_version_internal_action__testing",
23549        "cronet_aml_base_clang_profiling_buildflags__testing",
23550        "cronet_aml_base_debugging_buildflags__testing",
23551        "cronet_aml_base_feature_list_buildflags__testing",
23552        "cronet_aml_base_fuzzing_buildflags__testing",
23553        "cronet_aml_base_ios_cronet_buildflags__testing",
23554        "cronet_aml_base_logging_buildflags__testing",
23555        "cronet_aml_base_message_pump_buildflags__testing",
23556        "cronet_aml_base_orderfile_buildflags__testing",
23557        "cronet_aml_base_power_monitor_buildflags__testing",
23558        "cronet_aml_base_profiler_buildflags__testing",
23559        "cronet_aml_base_protected_memory_buildflags__testing",
23560        "cronet_aml_base_rust_buildflags__testing",
23561        "cronet_aml_base_sanitizer_buildflags__testing",
23562        "cronet_aml_base_synchronization_buildflags__testing",
23563        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
23564        "cronet_aml_base_test_test_support_jni_headers__action__testing",
23565        "cronet_aml_base_tracing_buildflags__testing",
23566        "cronet_aml_build_blink_buildflags__testing",
23567        "cronet_aml_build_branding_buildflags__testing",
23568        "cronet_aml_build_chromecast_buildflags__testing",
23569        "cronet_aml_build_chromeos_buildflags__testing",
23570        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
23571        "cronet_aml_build_ios_buildflags__testing",
23572        "cronet_aml_build_robolectric_buildflags__testing",
23573        "cronet_aml_crypto_buildflags__testing",
23574        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
23575        "cronet_aml_net_buildflags__testing",
23576        "cronet_aml_net_cronet_buildflags__testing",
23577        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
23578        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
23579        "cronet_aml_net_net_jni_headers__action__testing",
23580        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
23581        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
23582        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
23583        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
23584        "cronet_aml_url_buildflags__testing",
23585        "cronet_aml_url_url_jni_headers__action__testing",
23586    ],
23587    export_generated_headers: [
23588        "cronet_aml_base_allocator_buildflags__testing",
23589        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
23590        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
23591        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
23592        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
23593        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
23594        "cronet_aml_base_anchor_functions_buildflags__testing",
23595        "cronet_aml_base_build_date__testing",
23596        "cronet_aml_base_cfi_buildflags__testing",
23597        "cronet_aml_base_check_version_internal_action__testing",
23598        "cronet_aml_base_clang_profiling_buildflags__testing",
23599        "cronet_aml_base_debugging_buildflags__testing",
23600        "cronet_aml_base_feature_list_buildflags__testing",
23601        "cronet_aml_base_fuzzing_buildflags__testing",
23602        "cronet_aml_base_ios_cronet_buildflags__testing",
23603        "cronet_aml_base_logging_buildflags__testing",
23604        "cronet_aml_base_message_pump_buildflags__testing",
23605        "cronet_aml_base_orderfile_buildflags__testing",
23606        "cronet_aml_base_power_monitor_buildflags__testing",
23607        "cronet_aml_base_profiler_buildflags__testing",
23608        "cronet_aml_base_protected_memory_buildflags__testing",
23609        "cronet_aml_base_rust_buildflags__testing",
23610        "cronet_aml_base_sanitizer_buildflags__testing",
23611        "cronet_aml_base_synchronization_buildflags__testing",
23612        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
23613        "cronet_aml_base_test_test_support_jni_headers__action__testing",
23614        "cronet_aml_base_tracing_buildflags__testing",
23615        "cronet_aml_build_blink_buildflags__testing",
23616        "cronet_aml_build_branding_buildflags__testing",
23617        "cronet_aml_build_chromecast_buildflags__testing",
23618        "cronet_aml_build_chromeos_buildflags__testing",
23619        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
23620        "cronet_aml_build_ios_buildflags__testing",
23621        "cronet_aml_build_robolectric_buildflags__testing",
23622        "cronet_aml_crypto_buildflags__testing",
23623        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
23624        "cronet_aml_net_buildflags__testing",
23625        "cronet_aml_net_cronet_buildflags__testing",
23626        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
23627        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
23628        "cronet_aml_net_net_jni_headers__action__testing",
23629        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
23630        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
23631        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
23632        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
23633        "cronet_aml_url_buildflags__testing",
23634        "cronet_aml_url_url_jni_headers__action__testing",
23635    ],
23636    defaults: [
23637        "cronet_aml_cc_defaults",
23638    ],
23639    cflags: [
23640        "-DANDROID",
23641        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
23642        "-DBENCHMARK_STATIC_DEFINE",
23643        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
23644        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
23645        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23646        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
23647        "-DGOOGLE_PROTOBUF_NO_RTTI",
23648        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
23649        "-DGTEST_API_=",
23650        "-DGTEST_HAS_ABSL",
23651        "-DGTEST_HAS_POSIX_RE=0",
23652        "-DGTEST_HAS_TR1_TUPLE=0",
23653        "-DGTEST_LANG_CXX11=1",
23654        "-DGTEST_NO_ABSL_FLAGS",
23655        "-DHAVE_PTHREAD",
23656        "-DHAVE_SYS_UIO_H",
23657        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
23658        "-DNDEBUG",
23659        "-DNO_UNWIND_TABLES",
23660        "-DNVALGRIND",
23661        "-DOFFICIAL_BUILD",
23662        "-DUNIT_TEST",
23663        "-DUSE_CHROMIUM_ICU=1",
23664        "-DUSE_REMOTE_TEST_SERVER",
23665        "-DU_ENABLE_DYLOAD=0",
23666        "-DU_ENABLE_RESOURCE_TRACING=0",
23667        "-DU_ENABLE_TRACING=1",
23668        "-DU_STATIC_IMPLEMENTATION",
23669        "-DU_USING_ICU_NAMESPACE=0",
23670        "-D_GNU_SOURCE",
23671        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23672        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
23673        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23674        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
23675        "-D__STDC_CONSTANT_MACROS",
23676        "-D__STDC_FORMAT_MACROS",
23677        "-fdata-sections",
23678        "-ffunction-sections",
23679        "-fno-asynchronous-unwind-tables",
23680        "-fno-unwind-tables",
23681        "-fstack-protector",
23682        "-fvisibility-inlines-hidden",
23683        "-fvisibility=hidden",
23684        "-g1",
23685    ],
23686    local_include_dirs: [
23687        "./",
23688        "base/allocator/partition_allocator/src/",
23689        "buildtools/third_party/libc++/",
23690        "net/third_party/quiche/overrides/",
23691        "net/third_party/quiche/src/",
23692        "net/third_party/quiche/src/quiche/common/platform/default/",
23693        "third_party/abseil-cpp/",
23694        "third_party/boringssl/src/include/",
23695        "third_party/ced/src/",
23696        "third_party/google_benchmark/src/include/",
23697        "third_party/googletest/custom/",
23698        "third_party/googletest/src/googlemock/include/",
23699        "third_party/googletest/src/googletest/include/",
23700        "third_party/icu/source/common/",
23701        "third_party/icu/source/i18n/",
23702        "third_party/libc++/src/include",
23703        "third_party/libc++abi/src/include",
23704        "third_party/protobuf/src/",
23705        "third_party/re2/src/",
23706    ],
23707    cpp_std: "c++20",
23708    ldflags: [
23709        "-Wl,--as-needed",
23710        "-Wl,--gc-sections",
23711        "-Wl,--icf=all",
23712        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
23713        "-Wl,-wrap,asprintf",
23714        "-Wl,-wrap,calloc",
23715        "-Wl,-wrap,free",
23716        "-Wl,-wrap,getcwd",
23717        "-Wl,-wrap,malloc",
23718        "-Wl,-wrap,malloc_usable_size",
23719        "-Wl,-wrap,memalign",
23720        "-Wl,-wrap,posix_memalign",
23721        "-Wl,-wrap,pvalloc",
23722        "-Wl,-wrap,realloc",
23723        "-Wl,-wrap,realpath",
23724        "-Wl,-wrap,strdup",
23725        "-Wl,-wrap,strndup",
23726        "-Wl,-wrap,valloc",
23727        "-Wl,-wrap,vasprintf",
23728    ],
23729    target: {
23730        android_arm: {
23731            cflags: [
23732                "-D_FORTIFY_SOURCE=2",
23733            ],
23734        },
23735        android_arm64: {
23736            cflags: [
23737                "-D_FORTIFY_SOURCE=2",
23738                "-O2",
23739                "-mno-outline",
23740            ],
23741        },
23742        android_x86: {
23743            cflags: [
23744                "-D_FORTIFY_SOURCE=2",
23745                "-msse3",
23746            ],
23747        },
23748        android_x86_64: {
23749            cflags: [
23750                "-D_FORTIFY_SOURCE=2",
23751                "-msse3",
23752            ],
23753        },
23754    },
23755}
23756
23757// GN: //net:effective_connection_type_java
23758java_genrule {
23759    name: "cronet_aml_net_effective_connection_type_java",
23760    cmd: "mkdir -p $(genDir)/net && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
23761         "$(out) " +
23762         "$(location net/nqe/effective_connection_type.h)",
23763    out: [
23764        "net/effective_connection_type_java.srcjar",
23765    ],
23766    tool_files: [
23767        "build/action_helpers.py",
23768        "build/android/gyp/java_cpp_enum.py",
23769        "build/android/gyp/util/__init__.py",
23770        "build/android/gyp/util/build_utils.py",
23771        "build/android/gyp/util/java_cpp_utils.py",
23772        "build/gn_helpers.py",
23773        "build/zip_helpers.py",
23774        "net/nqe/effective_connection_type.h",
23775    ],
23776}
23777
23778// GN: //net:effective_connection_type_java__testing
23779java_genrule {
23780    name: "cronet_aml_net_effective_connection_type_java__testing",
23781    cmd: "mkdir -p $(genDir)/net && $(location build/android/gyp/java_cpp_enum.py) --srcjar " +
23782         "$(out) " +
23783         "$(location net/nqe/effective_connection_type.h)",
23784    out: [
23785        "net/effective_connection_type_java.srcjar",
23786    ],
23787    tool_files: [
23788        "build/action_helpers.py",
23789        "build/android/gyp/java_cpp_enum.py",
23790        "build/android/gyp/util/__init__.py",
23791        "build/android/gyp/util/build_utils.py",
23792        "build/android/gyp/util/java_cpp_utils.py",
23793        "build/gn_helpers.py",
23794        "build/zip_helpers.py",
23795        "net/nqe/effective_connection_type.h",
23796    ],
23797}
23798
23799// GN: //net:gtest_util__testing
23800cc_library_static {
23801    name: "cronet_aml_net_gtest_util__testing",
23802    srcs: [
23803        "net/test/scoped_disable_exit_on_dfatal.cc",
23804    ],
23805    shared_libs: [
23806        "libandroid",
23807        "liblog",
23808        "libprotobuf-cpp-lite",
23809        "libz",
23810    ],
23811    generated_headers: [
23812        "cronet_aml_base_allocator_buildflags__testing",
23813        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
23814        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
23815        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
23816        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
23817        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
23818        "cronet_aml_base_anchor_functions_buildflags__testing",
23819        "cronet_aml_base_build_date__testing",
23820        "cronet_aml_base_cfi_buildflags__testing",
23821        "cronet_aml_base_check_version_internal_action__testing",
23822        "cronet_aml_base_clang_profiling_buildflags__testing",
23823        "cronet_aml_base_debugging_buildflags__testing",
23824        "cronet_aml_base_feature_list_buildflags__testing",
23825        "cronet_aml_base_fuzzing_buildflags__testing",
23826        "cronet_aml_base_ios_cronet_buildflags__testing",
23827        "cronet_aml_base_logging_buildflags__testing",
23828        "cronet_aml_base_message_pump_buildflags__testing",
23829        "cronet_aml_base_orderfile_buildflags__testing",
23830        "cronet_aml_base_power_monitor_buildflags__testing",
23831        "cronet_aml_base_profiler_buildflags__testing",
23832        "cronet_aml_base_protected_memory_buildflags__testing",
23833        "cronet_aml_base_rust_buildflags__testing",
23834        "cronet_aml_base_sanitizer_buildflags__testing",
23835        "cronet_aml_base_synchronization_buildflags__testing",
23836        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
23837        "cronet_aml_base_test_test_support_jni_headers__action__testing",
23838        "cronet_aml_base_tracing_buildflags__testing",
23839        "cronet_aml_build_blink_buildflags__testing",
23840        "cronet_aml_build_branding_buildflags__testing",
23841        "cronet_aml_build_chromecast_buildflags__testing",
23842        "cronet_aml_build_chromeos_buildflags__testing",
23843        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
23844        "cronet_aml_build_ios_buildflags__testing",
23845        "cronet_aml_build_robolectric_buildflags__testing",
23846        "cronet_aml_crypto_buildflags__testing",
23847        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
23848        "cronet_aml_net_buildflags__testing",
23849        "cronet_aml_net_cronet_buildflags__testing",
23850        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
23851        "cronet_aml_net_net_jni_headers__action__testing",
23852        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
23853        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
23854        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
23855        "cronet_aml_url_buildflags__testing",
23856        "cronet_aml_url_url_jni_headers__action__testing",
23857    ],
23858    export_generated_headers: [
23859        "cronet_aml_base_allocator_buildflags__testing",
23860        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
23861        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
23862        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
23863        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
23864        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
23865        "cronet_aml_base_anchor_functions_buildflags__testing",
23866        "cronet_aml_base_build_date__testing",
23867        "cronet_aml_base_cfi_buildflags__testing",
23868        "cronet_aml_base_check_version_internal_action__testing",
23869        "cronet_aml_base_clang_profiling_buildflags__testing",
23870        "cronet_aml_base_debugging_buildflags__testing",
23871        "cronet_aml_base_feature_list_buildflags__testing",
23872        "cronet_aml_base_fuzzing_buildflags__testing",
23873        "cronet_aml_base_ios_cronet_buildflags__testing",
23874        "cronet_aml_base_logging_buildflags__testing",
23875        "cronet_aml_base_message_pump_buildflags__testing",
23876        "cronet_aml_base_orderfile_buildflags__testing",
23877        "cronet_aml_base_power_monitor_buildflags__testing",
23878        "cronet_aml_base_profiler_buildflags__testing",
23879        "cronet_aml_base_protected_memory_buildflags__testing",
23880        "cronet_aml_base_rust_buildflags__testing",
23881        "cronet_aml_base_sanitizer_buildflags__testing",
23882        "cronet_aml_base_synchronization_buildflags__testing",
23883        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
23884        "cronet_aml_base_test_test_support_jni_headers__action__testing",
23885        "cronet_aml_base_tracing_buildflags__testing",
23886        "cronet_aml_build_blink_buildflags__testing",
23887        "cronet_aml_build_branding_buildflags__testing",
23888        "cronet_aml_build_chromecast_buildflags__testing",
23889        "cronet_aml_build_chromeos_buildflags__testing",
23890        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
23891        "cronet_aml_build_ios_buildflags__testing",
23892        "cronet_aml_build_robolectric_buildflags__testing",
23893        "cronet_aml_crypto_buildflags__testing",
23894        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
23895        "cronet_aml_net_buildflags__testing",
23896        "cronet_aml_net_cronet_buildflags__testing",
23897        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
23898        "cronet_aml_net_net_jni_headers__action__testing",
23899        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
23900        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
23901        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
23902        "cronet_aml_url_buildflags__testing",
23903        "cronet_aml_url_url_jni_headers__action__testing",
23904    ],
23905    defaults: [
23906        "cronet_aml_cc_defaults",
23907    ],
23908    cflags: [
23909        "-DANDROID",
23910        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
23911        "-DBENCHMARK_STATIC_DEFINE",
23912        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
23913        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
23914        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23915        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
23916        "-DGOOGLE_PROTOBUF_NO_RTTI",
23917        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
23918        "-DGTEST_API_=",
23919        "-DGTEST_HAS_ABSL",
23920        "-DGTEST_HAS_POSIX_RE=0",
23921        "-DGTEST_HAS_TR1_TUPLE=0",
23922        "-DGTEST_LANG_CXX11=1",
23923        "-DGTEST_NO_ABSL_FLAGS",
23924        "-DHAVE_PTHREAD",
23925        "-DHAVE_SYS_UIO_H",
23926        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
23927        "-DNDEBUG",
23928        "-DNO_UNWIND_TABLES",
23929        "-DNVALGRIND",
23930        "-DOFFICIAL_BUILD",
23931        "-DUNIT_TEST",
23932        "-DUSE_CHROMIUM_ICU=1",
23933        "-DU_ENABLE_DYLOAD=0",
23934        "-DU_ENABLE_RESOURCE_TRACING=0",
23935        "-DU_ENABLE_TRACING=1",
23936        "-DU_STATIC_IMPLEMENTATION",
23937        "-DU_USING_ICU_NAMESPACE=0",
23938        "-D_GNU_SOURCE",
23939        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23940        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
23941        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23942        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
23943        "-D__STDC_CONSTANT_MACROS",
23944        "-D__STDC_FORMAT_MACROS",
23945        "-fdata-sections",
23946        "-ffunction-sections",
23947        "-fno-asynchronous-unwind-tables",
23948        "-fno-unwind-tables",
23949        "-fstack-protector",
23950        "-fvisibility-inlines-hidden",
23951        "-fvisibility=hidden",
23952        "-g1",
23953    ],
23954    local_include_dirs: [
23955        "./",
23956        "base/allocator/partition_allocator/src/",
23957        "buildtools/third_party/libc++/",
23958        "net/third_party/quiche/overrides/",
23959        "net/third_party/quiche/src/",
23960        "net/third_party/quiche/src/quiche/common/platform/default/",
23961        "third_party/abseil-cpp/",
23962        "third_party/boringssl/src/include/",
23963        "third_party/ced/src/",
23964        "third_party/google_benchmark/src/include/",
23965        "third_party/googletest/custom/",
23966        "third_party/googletest/src/googlemock/include/",
23967        "third_party/googletest/src/googletest/include/",
23968        "third_party/icu/source/common/",
23969        "third_party/icu/source/i18n/",
23970        "third_party/libc++/src/include",
23971        "third_party/libc++abi/src/include",
23972        "third_party/protobuf/src/",
23973        "third_party/re2/src/",
23974    ],
23975    cpp_std: "c++20",
23976    ldflags: [
23977        "-Wl,--as-needed",
23978        "-Wl,--gc-sections",
23979        "-Wl,--icf=all",
23980        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
23981        "-Wl,-wrap,asprintf",
23982        "-Wl,-wrap,calloc",
23983        "-Wl,-wrap,free",
23984        "-Wl,-wrap,getcwd",
23985        "-Wl,-wrap,malloc",
23986        "-Wl,-wrap,malloc_usable_size",
23987        "-Wl,-wrap,memalign",
23988        "-Wl,-wrap,posix_memalign",
23989        "-Wl,-wrap,pvalloc",
23990        "-Wl,-wrap,realloc",
23991        "-Wl,-wrap,realpath",
23992        "-Wl,-wrap,strdup",
23993        "-Wl,-wrap,strndup",
23994        "-Wl,-wrap,valloc",
23995        "-Wl,-wrap,vasprintf",
23996    ],
23997    target: {
23998        android_arm: {
23999            cflags: [
24000                "-D_FORTIFY_SOURCE=2",
24001            ],
24002        },
24003        android_arm64: {
24004            cflags: [
24005                "-D_FORTIFY_SOURCE=2",
24006                "-O2",
24007                "-mno-outline",
24008            ],
24009        },
24010        android_x86: {
24011            cflags: [
24012                "-D_FORTIFY_SOURCE=2",
24013                "-msse3",
24014            ],
24015        },
24016        android_x86_64: {
24017            cflags: [
24018                "-D_FORTIFY_SOURCE=2",
24019                "-msse3",
24020            ],
24021        },
24022    },
24023}
24024
24025// GN: //net/http:transport_security_state_generated_files
24026cc_library_static {
24027    name: "cronet_aml_net_http_transport_security_state_generated_files",
24028    srcs: [
24029        "net/http/transport_security_state.cc",
24030    ],
24031    shared_libs: [
24032        "//external/cronet/third_party/boringssl:libcrypto",
24033        "//external/cronet/third_party/boringssl:libpki",
24034        "//external/cronet/third_party/boringssl:libssl",
24035        "libandroid",
24036        "liblog",
24037        "libprotobuf-cpp-lite",
24038        "libz",
24039    ],
24040    generated_headers: [
24041        "cronet_aml_base_allocator_buildflags",
24042        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
24043        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
24044        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
24045        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
24046        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
24047        "cronet_aml_base_anchor_functions_buildflags",
24048        "cronet_aml_base_android_runtime_jni_headers__action",
24049        "cronet_aml_base_base_jni__action",
24050        "cronet_aml_base_base_shared_preferences_jni__action",
24051        "cronet_aml_base_build_date",
24052        "cronet_aml_base_cfi_buildflags",
24053        "cronet_aml_base_check_version_internal_action",
24054        "cronet_aml_base_clang_profiling_buildflags",
24055        "cronet_aml_base_debugging_buildflags",
24056        "cronet_aml_base_feature_list_buildflags",
24057        "cronet_aml_base_fuzzing_buildflags",
24058        "cronet_aml_base_ios_cronet_buildflags",
24059        "cronet_aml_base_logging_buildflags",
24060        "cronet_aml_base_message_pump_buildflags",
24061        "cronet_aml_base_orderfile_buildflags",
24062        "cronet_aml_base_power_monitor_buildflags",
24063        "cronet_aml_base_process_launcher_jni__action",
24064        "cronet_aml_base_profiler_buildflags",
24065        "cronet_aml_base_protected_memory_buildflags",
24066        "cronet_aml_base_rust_buildflags",
24067        "cronet_aml_base_sanitizer_buildflags",
24068        "cronet_aml_base_synchronization_buildflags",
24069        "cronet_aml_base_tracing_buildflags",
24070        "cronet_aml_build_blink_buildflags",
24071        "cronet_aml_build_branding_buildflags",
24072        "cronet_aml_build_chromecast_buildflags",
24073        "cronet_aml_build_chromeos_buildflags",
24074        "cronet_aml_build_config_compiler_compiler_buildflags",
24075        "cronet_aml_build_ios_buildflags",
24076        "cronet_aml_build_robolectric_buildflags",
24077        "cronet_aml_crypto_buildflags",
24078        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
24079        "cronet_aml_net_buildflags",
24080        "cronet_aml_net_cronet_buildflags",
24081        "cronet_aml_net_isolation_info_proto_gen_headers",
24082        "cronet_aml_net_net_jni_headers__action",
24083        "cronet_aml_net_net_nqe_proto_gen_headers",
24084        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
24085        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
24086        "cronet_aml_url_buildflags",
24087        "cronet_aml_url_url_jni_headers__action",
24088    ],
24089    export_generated_headers: [
24090        "cronet_aml_base_allocator_buildflags",
24091        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
24092        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
24093        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
24094        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
24095        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
24096        "cronet_aml_base_anchor_functions_buildflags",
24097        "cronet_aml_base_android_runtime_jni_headers__action",
24098        "cronet_aml_base_base_jni__action",
24099        "cronet_aml_base_base_shared_preferences_jni__action",
24100        "cronet_aml_base_build_date",
24101        "cronet_aml_base_cfi_buildflags",
24102        "cronet_aml_base_check_version_internal_action",
24103        "cronet_aml_base_clang_profiling_buildflags",
24104        "cronet_aml_base_debugging_buildflags",
24105        "cronet_aml_base_feature_list_buildflags",
24106        "cronet_aml_base_fuzzing_buildflags",
24107        "cronet_aml_base_ios_cronet_buildflags",
24108        "cronet_aml_base_logging_buildflags",
24109        "cronet_aml_base_message_pump_buildflags",
24110        "cronet_aml_base_orderfile_buildflags",
24111        "cronet_aml_base_power_monitor_buildflags",
24112        "cronet_aml_base_process_launcher_jni__action",
24113        "cronet_aml_base_profiler_buildflags",
24114        "cronet_aml_base_protected_memory_buildflags",
24115        "cronet_aml_base_rust_buildflags",
24116        "cronet_aml_base_sanitizer_buildflags",
24117        "cronet_aml_base_synchronization_buildflags",
24118        "cronet_aml_base_tracing_buildflags",
24119        "cronet_aml_build_blink_buildflags",
24120        "cronet_aml_build_branding_buildflags",
24121        "cronet_aml_build_chromecast_buildflags",
24122        "cronet_aml_build_chromeos_buildflags",
24123        "cronet_aml_build_config_compiler_compiler_buildflags",
24124        "cronet_aml_build_ios_buildflags",
24125        "cronet_aml_build_robolectric_buildflags",
24126        "cronet_aml_crypto_buildflags",
24127        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
24128        "cronet_aml_net_buildflags",
24129        "cronet_aml_net_cronet_buildflags",
24130        "cronet_aml_net_isolation_info_proto_gen_headers",
24131        "cronet_aml_net_net_jni_headers__action",
24132        "cronet_aml_net_net_nqe_proto_gen_headers",
24133        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
24134        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
24135        "cronet_aml_url_buildflags",
24136        "cronet_aml_url_url_jni_headers__action",
24137    ],
24138    defaults: [
24139        "cronet_aml_cc_defaults",
24140    ],
24141    cflags: [
24142        "-DANDROID",
24143        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
24144        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
24145        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
24146        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24147        "-DENABLE_BUILT_IN_DNS",
24148        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
24149        "-DGOOGLE_PROTOBUF_NO_RTTI",
24150        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
24151        "-DHAVE_PTHREAD",
24152        "-DHAVE_SYS_UIO_H",
24153        "-DNDEBUG",
24154        "-DNET_IMPLEMENTATION",
24155        "-DNO_UNWIND_TABLES",
24156        "-DNVALGRIND",
24157        "-DOFFICIAL_BUILD",
24158        "-D_GNU_SOURCE",
24159        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24160        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
24161        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24162        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
24163        "-D__STDC_CONSTANT_MACROS",
24164        "-D__STDC_FORMAT_MACROS",
24165        "-fdata-sections",
24166        "-ffunction-sections",
24167        "-fno-asynchronous-unwind-tables",
24168        "-fno-unwind-tables",
24169        "-fstack-protector",
24170        "-fvisibility-inlines-hidden",
24171        "-fvisibility=hidden",
24172        "-g1",
24173    ],
24174    local_include_dirs: [
24175        "./",
24176        "base/allocator/partition_allocator/src/",
24177        "buildtools/third_party/libc++/",
24178        "net/third_party/quiche/overrides/",
24179        "net/third_party/quiche/src/",
24180        "net/third_party/quiche/src/quiche/common/platform/default/",
24181        "third_party/abseil-cpp/",
24182        "third_party/boringssl/src/include/",
24183        "third_party/brotli/include/",
24184        "third_party/libc++/src/include",
24185        "third_party/libc++abi/src/include",
24186        "third_party/protobuf/src/",
24187    ],
24188    cpp_std: "c++20",
24189    ldflags: [
24190        "-Wl,--as-needed",
24191        "-Wl,--gc-sections",
24192        "-Wl,--icf=all",
24193        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
24194        "-Wl,-wrap,asprintf",
24195        "-Wl,-wrap,calloc",
24196        "-Wl,-wrap,free",
24197        "-Wl,-wrap,getcwd",
24198        "-Wl,-wrap,malloc",
24199        "-Wl,-wrap,malloc_usable_size",
24200        "-Wl,-wrap,memalign",
24201        "-Wl,-wrap,posix_memalign",
24202        "-Wl,-wrap,pvalloc",
24203        "-Wl,-wrap,realloc",
24204        "-Wl,-wrap,realpath",
24205        "-Wl,-wrap,strdup",
24206        "-Wl,-wrap,strndup",
24207        "-Wl,-wrap,valloc",
24208        "-Wl,-wrap,vasprintf",
24209    ],
24210    target: {
24211        android_arm: {
24212            cflags: [
24213                "-D_FORTIFY_SOURCE=2",
24214            ],
24215        },
24216        android_arm64: {
24217            cflags: [
24218                "-D_FORTIFY_SOURCE=2",
24219                "-O2",
24220                "-mno-outline",
24221            ],
24222        },
24223        android_x86: {
24224            cflags: [
24225                "-D_FORTIFY_SOURCE=2",
24226                "-msse3",
24227            ],
24228        },
24229        android_x86_64: {
24230            cflags: [
24231                "-D_FORTIFY_SOURCE=2",
24232                "-msse3",
24233            ],
24234        },
24235    },
24236}
24237
24238// GN: //net/http:transport_security_state_generated_files__testing
24239cc_library_static {
24240    name: "cronet_aml_net_http_transport_security_state_generated_files__testing",
24241    srcs: [
24242        "net/http/transport_security_state.cc",
24243    ],
24244    shared_libs: [
24245        "libandroid",
24246        "liblog",
24247        "libprotobuf-cpp-lite",
24248        "libz",
24249    ],
24250    generated_headers: [
24251        "cronet_aml_base_allocator_buildflags__testing",
24252        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
24253        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
24254        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
24255        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
24256        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
24257        "cronet_aml_base_anchor_functions_buildflags__testing",
24258        "cronet_aml_base_build_date__testing",
24259        "cronet_aml_base_cfi_buildflags__testing",
24260        "cronet_aml_base_check_version_internal_action__testing",
24261        "cronet_aml_base_clang_profiling_buildflags__testing",
24262        "cronet_aml_base_debugging_buildflags__testing",
24263        "cronet_aml_base_feature_list_buildflags__testing",
24264        "cronet_aml_base_fuzzing_buildflags__testing",
24265        "cronet_aml_base_ios_cronet_buildflags__testing",
24266        "cronet_aml_base_logging_buildflags__testing",
24267        "cronet_aml_base_message_pump_buildflags__testing",
24268        "cronet_aml_base_orderfile_buildflags__testing",
24269        "cronet_aml_base_power_monitor_buildflags__testing",
24270        "cronet_aml_base_profiler_buildflags__testing",
24271        "cronet_aml_base_protected_memory_buildflags__testing",
24272        "cronet_aml_base_rust_buildflags__testing",
24273        "cronet_aml_base_sanitizer_buildflags__testing",
24274        "cronet_aml_base_synchronization_buildflags__testing",
24275        "cronet_aml_base_tracing_buildflags__testing",
24276        "cronet_aml_build_blink_buildflags__testing",
24277        "cronet_aml_build_branding_buildflags__testing",
24278        "cronet_aml_build_chromecast_buildflags__testing",
24279        "cronet_aml_build_chromeos_buildflags__testing",
24280        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
24281        "cronet_aml_build_ios_buildflags__testing",
24282        "cronet_aml_build_robolectric_buildflags__testing",
24283        "cronet_aml_crypto_buildflags__testing",
24284        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
24285        "cronet_aml_net_buildflags__testing",
24286        "cronet_aml_net_cronet_buildflags__testing",
24287        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
24288        "cronet_aml_net_net_jni_headers__action__testing",
24289        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
24290        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
24291        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
24292        "cronet_aml_url_buildflags__testing",
24293        "cronet_aml_url_url_jni_headers__action__testing",
24294    ],
24295    export_generated_headers: [
24296        "cronet_aml_base_allocator_buildflags__testing",
24297        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
24298        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
24299        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
24300        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
24301        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
24302        "cronet_aml_base_anchor_functions_buildflags__testing",
24303        "cronet_aml_base_build_date__testing",
24304        "cronet_aml_base_cfi_buildflags__testing",
24305        "cronet_aml_base_check_version_internal_action__testing",
24306        "cronet_aml_base_clang_profiling_buildflags__testing",
24307        "cronet_aml_base_debugging_buildflags__testing",
24308        "cronet_aml_base_feature_list_buildflags__testing",
24309        "cronet_aml_base_fuzzing_buildflags__testing",
24310        "cronet_aml_base_ios_cronet_buildflags__testing",
24311        "cronet_aml_base_logging_buildflags__testing",
24312        "cronet_aml_base_message_pump_buildflags__testing",
24313        "cronet_aml_base_orderfile_buildflags__testing",
24314        "cronet_aml_base_power_monitor_buildflags__testing",
24315        "cronet_aml_base_profiler_buildflags__testing",
24316        "cronet_aml_base_protected_memory_buildflags__testing",
24317        "cronet_aml_base_rust_buildflags__testing",
24318        "cronet_aml_base_sanitizer_buildflags__testing",
24319        "cronet_aml_base_synchronization_buildflags__testing",
24320        "cronet_aml_base_tracing_buildflags__testing",
24321        "cronet_aml_build_blink_buildflags__testing",
24322        "cronet_aml_build_branding_buildflags__testing",
24323        "cronet_aml_build_chromecast_buildflags__testing",
24324        "cronet_aml_build_chromeos_buildflags__testing",
24325        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
24326        "cronet_aml_build_ios_buildflags__testing",
24327        "cronet_aml_build_robolectric_buildflags__testing",
24328        "cronet_aml_crypto_buildflags__testing",
24329        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
24330        "cronet_aml_net_buildflags__testing",
24331        "cronet_aml_net_cronet_buildflags__testing",
24332        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
24333        "cronet_aml_net_net_jni_headers__action__testing",
24334        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
24335        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
24336        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
24337        "cronet_aml_url_buildflags__testing",
24338        "cronet_aml_url_url_jni_headers__action__testing",
24339    ],
24340    defaults: [
24341        "cronet_aml_cc_defaults",
24342    ],
24343    cflags: [
24344        "-DANDROID",
24345        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
24346        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
24347        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
24348        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24349        "-DENABLE_BUILT_IN_DNS",
24350        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
24351        "-DGOOGLE_PROTOBUF_NO_RTTI",
24352        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
24353        "-DHAVE_PTHREAD",
24354        "-DHAVE_SYS_UIO_H",
24355        "-DNDEBUG",
24356        "-DNET_IMPLEMENTATION",
24357        "-DNO_UNWIND_TABLES",
24358        "-DNVALGRIND",
24359        "-DOFFICIAL_BUILD",
24360        "-D_GNU_SOURCE",
24361        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24362        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
24363        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24364        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
24365        "-D__STDC_CONSTANT_MACROS",
24366        "-D__STDC_FORMAT_MACROS",
24367        "-fdata-sections",
24368        "-ffunction-sections",
24369        "-fno-asynchronous-unwind-tables",
24370        "-fno-unwind-tables",
24371        "-fstack-protector",
24372        "-fvisibility-inlines-hidden",
24373        "-fvisibility=hidden",
24374        "-g1",
24375    ],
24376    local_include_dirs: [
24377        "./",
24378        "base/allocator/partition_allocator/src/",
24379        "buildtools/third_party/libc++/",
24380        "net/third_party/quiche/overrides/",
24381        "net/third_party/quiche/src/",
24382        "net/third_party/quiche/src/quiche/common/platform/default/",
24383        "third_party/abseil-cpp/",
24384        "third_party/boringssl/src/include/",
24385        "third_party/brotli/include/",
24386        "third_party/libc++/src/include",
24387        "third_party/libc++abi/src/include",
24388        "third_party/protobuf/src/",
24389    ],
24390    cpp_std: "c++20",
24391    ldflags: [
24392        "-Wl,--as-needed",
24393        "-Wl,--gc-sections",
24394        "-Wl,--icf=all",
24395        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
24396        "-Wl,-wrap,asprintf",
24397        "-Wl,-wrap,calloc",
24398        "-Wl,-wrap,free",
24399        "-Wl,-wrap,getcwd",
24400        "-Wl,-wrap,malloc",
24401        "-Wl,-wrap,malloc_usable_size",
24402        "-Wl,-wrap,memalign",
24403        "-Wl,-wrap,posix_memalign",
24404        "-Wl,-wrap,pvalloc",
24405        "-Wl,-wrap,realloc",
24406        "-Wl,-wrap,realpath",
24407        "-Wl,-wrap,strdup",
24408        "-Wl,-wrap,strndup",
24409        "-Wl,-wrap,valloc",
24410        "-Wl,-wrap,vasprintf",
24411    ],
24412    target: {
24413        android_arm: {
24414            cflags: [
24415                "-D_FORTIFY_SOURCE=2",
24416            ],
24417        },
24418        android_arm64: {
24419            cflags: [
24420                "-D_FORTIFY_SOURCE=2",
24421                "-O2",
24422                "-mno-outline",
24423            ],
24424        },
24425        android_x86: {
24426            cflags: [
24427                "-D_FORTIFY_SOURCE=2",
24428                "-msse3",
24429            ],
24430        },
24431        android_x86_64: {
24432            cflags: [
24433                "-D_FORTIFY_SOURCE=2",
24434                "-msse3",
24435            ],
24436        },
24437    },
24438}
24439
24440// GN: //net/http:transport_security_state_unittest_data__testing
24441cc_genrule {
24442    name: "cronet_aml_net_http_transport_security_state_unittest_data__testing",
24443    tools: [
24444        "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing",
24445    ],
24446    cmd: "mkdir -p $(genDir)/net/http && $(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " +
24447         "$(location net/http/transport_security_state_static_unittest1.json) " +
24448         "$(location net/http/transport_security_state_static_unittest1_pins.json) " +
24449         "$(location net/http/transport_security_state_static_unittest.pins) " +
24450         "$(location net/http/transport_security_state_static_unittest.template) " +
24451         "$(location net/http/transport_security_state_static_unittest1.h) " +
24452         "&& " +
24453         "$(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " +
24454         "$(location net/http/transport_security_state_static_unittest2.json) " +
24455         "$(location net/http/transport_security_state_static_unittest2_pins.json) " +
24456         "$(location net/http/transport_security_state_static_unittest.pins) " +
24457         "$(location net/http/transport_security_state_static_unittest.template) " +
24458         "$(location net/http/transport_security_state_static_unittest2.h) " +
24459         "&& " +
24460         "$(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " +
24461         "$(location net/http/transport_security_state_static_unittest3.json) " +
24462         "$(location net/http/transport_security_state_static_unittest3_pins.json) " +
24463         "$(location net/http/transport_security_state_static_unittest.pins) " +
24464         "$(location net/http/transport_security_state_static_unittest.template) " +
24465         "$(location net/http/transport_security_state_static_unittest3.h)",
24466    out: [
24467        "net/http/transport_security_state_static_unittest1.h",
24468        "net/http/transport_security_state_static_unittest2.h",
24469        "net/http/transport_security_state_static_unittest3.h",
24470    ],
24471    tool_files: [
24472        "build/gn_run_binary.py",
24473        "net/http/transport_security_state_static_unittest.pins",
24474        "net/http/transport_security_state_static_unittest.template",
24475        "net/http/transport_security_state_static_unittest1.json",
24476        "net/http/transport_security_state_static_unittest1_pins.json",
24477        "net/http/transport_security_state_static_unittest2.json",
24478        "net/http/transport_security_state_static_unittest2_pins.json",
24479        "net/http/transport_security_state_static_unittest3.json",
24480        "net/http/transport_security_state_static_unittest3_pins.json",
24481    ],
24482    apex_available: [
24483        "com.android.tethering",
24484    ],
24485}
24486
24487// GN: //net/http:transport_security_state_unittest_data_default__testing
24488cc_genrule {
24489    name: "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
24490    tools: [
24491        "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing",
24492    ],
24493    cmd: "mkdir -p $(genDir)/net/http && $(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " +
24494         "$(location net/http/transport_security_state_static_unittest_default.json) " +
24495         "$(location net/http/transport_security_state_static_unittest_default_pins.json) " +
24496         "$(location net/http/transport_security_state_static_unittest_default.pins) " +
24497         "$(location net/http/transport_security_state_static_unittest.template) " +
24498         "$(location net/http/transport_security_state_static_unittest_default.h)",
24499    out: [
24500        "net/http/transport_security_state_static_unittest_default.h",
24501    ],
24502    tool_files: [
24503        "build/gn_run_binary.py",
24504        "net/http/transport_security_state_static_unittest.template",
24505        "net/http/transport_security_state_static_unittest_default.json",
24506        "net/http/transport_security_state_static_unittest_default.pins",
24507        "net/http/transport_security_state_static_unittest_default_pins.json",
24508    ],
24509    apex_available: [
24510        "com.android.tethering",
24511    ],
24512}
24513
24514// GN: //net:isolation_info_proto
24515cc_library_static {
24516    name: "cronet_aml_net_isolation_info_proto",
24517    srcs: [
24518        ":cronet_aml_net_isolation_info_proto_gen",
24519    ],
24520    shared_libs: [
24521        "liblog",
24522        "libprotobuf-cpp-lite",
24523    ],
24524    generated_headers: [
24525        "cronet_aml_net_isolation_info_proto_gen_headers",
24526    ],
24527    export_generated_headers: [
24528        "cronet_aml_net_isolation_info_proto_gen_headers",
24529    ],
24530    defaults: [
24531        "cronet_aml_cc_defaults",
24532    ],
24533    cflags: [
24534        "-DANDROID",
24535        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
24536        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
24537        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
24538        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24539        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
24540        "-DGOOGLE_PROTOBUF_NO_RTTI",
24541        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
24542        "-DHAVE_PTHREAD",
24543        "-DHAVE_SYS_UIO_H",
24544        "-DNDEBUG",
24545        "-DNO_UNWIND_TABLES",
24546        "-DNVALGRIND",
24547        "-DOFFICIAL_BUILD",
24548        "-D_GNU_SOURCE",
24549        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24550        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
24551        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24552        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
24553        "-D__STDC_CONSTANT_MACROS",
24554        "-D__STDC_FORMAT_MACROS",
24555        "-fdata-sections",
24556        "-ffunction-sections",
24557        "-fno-asynchronous-unwind-tables",
24558        "-fno-unwind-tables",
24559        "-fstack-protector",
24560        "-fvisibility-inlines-hidden",
24561        "-fvisibility=hidden",
24562        "-g1",
24563    ],
24564    local_include_dirs: [
24565        "./",
24566        "buildtools/third_party/libc++/",
24567        "third_party/libc++/src/include",
24568        "third_party/libc++abi/src/include",
24569        "third_party/protobuf/src/",
24570    ],
24571    cpp_std: "c++20",
24572    ldflags: [
24573        "-Wl,--as-needed",
24574        "-Wl,--gc-sections",
24575        "-Wl,--icf=all",
24576    ],
24577    target: {
24578        android_arm: {
24579            cflags: [
24580                "-D_FORTIFY_SOURCE=2",
24581            ],
24582        },
24583        android_arm64: {
24584            cflags: [
24585                "-D_FORTIFY_SOURCE=2",
24586                "-O2",
24587                "-mno-outline",
24588            ],
24589        },
24590        android_x86: {
24591            cflags: [
24592                "-D_FORTIFY_SOURCE=2",
24593                "-msse3",
24594            ],
24595        },
24596        android_x86_64: {
24597            cflags: [
24598                "-D_FORTIFY_SOURCE=2",
24599                "-msse3",
24600            ],
24601        },
24602    },
24603}
24604
24605// GN: //net:isolation_info_proto__testing
24606cc_library_static {
24607    name: "cronet_aml_net_isolation_info_proto__testing",
24608    srcs: [
24609        ":cronet_aml_net_isolation_info_proto_gen__testing",
24610    ],
24611    shared_libs: [
24612        "liblog",
24613        "libprotobuf-cpp-lite",
24614    ],
24615    generated_headers: [
24616        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
24617    ],
24618    export_generated_headers: [
24619        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
24620    ],
24621    defaults: [
24622        "cronet_aml_cc_defaults",
24623    ],
24624    cflags: [
24625        "-DANDROID",
24626        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
24627        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
24628        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
24629        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24630        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
24631        "-DGOOGLE_PROTOBUF_NO_RTTI",
24632        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
24633        "-DHAVE_PTHREAD",
24634        "-DHAVE_SYS_UIO_H",
24635        "-DNDEBUG",
24636        "-DNO_UNWIND_TABLES",
24637        "-DNVALGRIND",
24638        "-DOFFICIAL_BUILD",
24639        "-D_GNU_SOURCE",
24640        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24641        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
24642        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24643        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
24644        "-D__STDC_CONSTANT_MACROS",
24645        "-D__STDC_FORMAT_MACROS",
24646        "-fdata-sections",
24647        "-ffunction-sections",
24648        "-fno-asynchronous-unwind-tables",
24649        "-fno-unwind-tables",
24650        "-fstack-protector",
24651        "-fvisibility-inlines-hidden",
24652        "-fvisibility=hidden",
24653        "-g1",
24654    ],
24655    local_include_dirs: [
24656        "./",
24657        "buildtools/third_party/libc++/",
24658        "third_party/libc++/src/include",
24659        "third_party/libc++abi/src/include",
24660        "third_party/protobuf/src/",
24661    ],
24662    cpp_std: "c++20",
24663    ldflags: [
24664        "-Wl,--as-needed",
24665        "-Wl,--gc-sections",
24666        "-Wl,--icf=all",
24667    ],
24668    target: {
24669        android_arm: {
24670            cflags: [
24671                "-D_FORTIFY_SOURCE=2",
24672            ],
24673        },
24674        android_arm64: {
24675            cflags: [
24676                "-D_FORTIFY_SOURCE=2",
24677                "-O2",
24678                "-mno-outline",
24679            ],
24680        },
24681        android_x86: {
24682            cflags: [
24683                "-D_FORTIFY_SOURCE=2",
24684                "-msse3",
24685            ],
24686        },
24687        android_x86_64: {
24688            cflags: [
24689                "-D_FORTIFY_SOURCE=2",
24690                "-msse3",
24691            ],
24692        },
24693    },
24694}
24695
24696// GN: //net:isolation_info_proto_gen
24697cc_genrule {
24698    name: "cronet_aml_net_isolation_info_proto_gen",
24699    srcs: [
24700        "net/base/isolation_info.proto",
24701    ],
24702    tools: [
24703        "cronet_aml_third_party_protobuf_protoc",
24704    ],
24705    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
24706    out: [
24707        "external/cronet/net/base/isolation_info.pb.cc",
24708    ],
24709    apex_available: [
24710        "com.android.tethering",
24711    ],
24712}
24713
24714// GN: //net:isolation_info_proto_gen__testing
24715cc_genrule {
24716    name: "cronet_aml_net_isolation_info_proto_gen__testing",
24717    srcs: [
24718        "net/base/isolation_info.proto",
24719    ],
24720    tools: [
24721        "cronet_aml_third_party_protobuf_protoc",
24722    ],
24723    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
24724    out: [
24725        "external/cronet/net/base/isolation_info.pb.cc",
24726    ],
24727    apex_available: [
24728        "com.android.tethering",
24729    ],
24730}
24731
24732// GN: //net:isolation_info_proto_gen__testing
24733cc_genrule {
24734    name: "cronet_aml_net_isolation_info_proto_gen__testing_headers",
24735    srcs: [
24736        "net/base/isolation_info.proto",
24737    ],
24738    tools: [
24739        "cronet_aml_third_party_protobuf_protoc",
24740    ],
24741    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
24742    out: [
24743        "external/cronet/net/base/isolation_info.pb.h",
24744    ],
24745    export_include_dirs: [
24746        ".",
24747        "net/base",
24748        "protos",
24749    ],
24750    apex_available: [
24751        "com.android.tethering",
24752    ],
24753}
24754
24755// GN: //net:isolation_info_proto_gen
24756cc_genrule {
24757    name: "cronet_aml_net_isolation_info_proto_gen_headers",
24758    srcs: [
24759        "net/base/isolation_info.proto",
24760    ],
24761    tools: [
24762        "cronet_aml_third_party_protobuf_protoc",
24763    ],
24764    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
24765    out: [
24766        "external/cronet/net/base/isolation_info.pb.h",
24767    ],
24768    export_include_dirs: [
24769        ".",
24770        "net/base",
24771        "protos",
24772    ],
24773    apex_available: [
24774        "com.android.tethering",
24775    ],
24776}
24777
24778// GN: //net:net
24779cc_library_static {
24780    name: "cronet_aml_net_net",
24781    srcs: [
24782        "net/android/android_http_util.cc",
24783        "net/android/cert_verify_result_android.cc",
24784        "net/android/gurl_utils.cc",
24785        "net/android/http_auth_negotiate_android.cc",
24786        "net/android/keystore.cc",
24787        "net/android/network_change_notifier_android.cc",
24788        "net/android/network_change_notifier_delegate_android.cc",
24789        "net/android/network_change_notifier_factory_android.cc",
24790        "net/android/network_library.cc",
24791        "net/android/traffic_stats.cc",
24792        "net/base/address_family.cc",
24793        "net/base/address_list.cc",
24794        "net/base/address_map_linux.cc",
24795        "net/base/address_tracker_linux.cc",
24796        "net/base/auth.cc",
24797        "net/base/backoff_entry.cc",
24798        "net/base/backoff_entry_serializer.cc",
24799        "net/base/chunked_upload_data_stream.cc",
24800        "net/base/connection_endpoint_metadata.cc",
24801        "net/base/data_url.cc",
24802        "net/base/datagram_buffer.cc",
24803        "net/base/elements_upload_data_stream.cc",
24804        "net/base/features.cc",
24805        "net/base/file_stream.cc",
24806        "net/base/file_stream_context.cc",
24807        "net/base/file_stream_context_posix.cc",
24808        "net/base/filename_util.cc",
24809        "net/base/filename_util_internal.cc",
24810        "net/base/hash_value.cc",
24811        "net/base/hex_utils.cc",
24812        "net/base/host_mapping_rules.cc",
24813        "net/base/host_port_pair.cc",
24814        "net/base/io_buffer.cc",
24815        "net/base/ip_address.cc",
24816        "net/base/ip_endpoint.cc",
24817        "net/base/isolation_info.cc",
24818        "net/base/load_timing_info.cc",
24819        "net/base/logging_network_change_observer.cc",
24820        "net/base/lookup_string_in_fixed_set.cc",
24821        "net/base/mime_sniffer.cc",
24822        "net/base/mime_util.cc",
24823        "net/base/net_errors.cc",
24824        "net/base/net_errors_posix.cc",
24825        "net/base/net_module.cc",
24826        "net/base/net_string_util_icu_alternatives_android.cc",
24827        "net/base/network_activity_monitor.cc",
24828        "net/base/network_anonymization_key.cc",
24829        "net/base/network_change_notifier.cc",
24830        "net/base/network_change_notifier_passive.cc",
24831        "net/base/network_delegate.cc",
24832        "net/base/network_delegate_impl.cc",
24833        "net/base/network_interfaces.cc",
24834        "net/base/network_interfaces_getifaddrs.cc",
24835        "net/base/network_interfaces_getifaddrs_android.cc",
24836        "net/base/network_interfaces_linux.cc",
24837        "net/base/network_interfaces_posix.cc",
24838        "net/base/network_isolation_key.cc",
24839        "net/base/parse_number.cc",
24840        "net/base/platform_mime_util_linux.cc",
24841        "net/base/port_util.cc",
24842        "net/base/prioritized_dispatcher.cc",
24843        "net/base/prioritized_task_runner.cc",
24844        "net/base/privacy_mode.cc",
24845        "net/base/proxy_chain.cc",
24846        "net/base/proxy_server.cc",
24847        "net/base/proxy_string_util.cc",
24848        "net/base/registry_controlled_domains/registry_controlled_domain.cc",
24849        "net/base/request_priority.cc",
24850        "net/base/scheme_host_port_matcher.cc",
24851        "net/base/scheme_host_port_matcher_rule.cc",
24852        "net/base/schemeful_site.cc",
24853        "net/base/sockaddr_storage.cc",
24854        "net/base/sockaddr_util_posix.cc",
24855        "net/base/transport_info.cc",
24856        "net/base/upload_bytes_element_reader.cc",
24857        "net/base/upload_data_stream.cc",
24858        "net/base/upload_element_reader.cc",
24859        "net/base/upload_file_element_reader.cc",
24860        "net/base/url_search_params.cc",
24861        "net/base/url_util.cc",
24862        "net/cert/asn1_util.cc",
24863        "net/cert/caching_cert_verifier.cc",
24864        "net/cert/cert_database.cc",
24865        "net/cert/cert_status_flags.cc",
24866        "net/cert/cert_verifier.cc",
24867        "net/cert/cert_verify_proc.cc",
24868        "net/cert/cert_verify_proc_android.cc",
24869        "net/cert/cert_verify_proc_builtin.cc",
24870        "net/cert/cert_verify_result.cc",
24871        "net/cert/coalescing_cert_verifier.cc",
24872        "net/cert/crl_set.cc",
24873        "net/cert/ct_log_response_parser.cc",
24874        "net/cert/ct_log_verifier.cc",
24875        "net/cert/ct_log_verifier_util.cc",
24876        "net/cert/ct_objects_extractor.cc",
24877        "net/cert/ct_policy_enforcer.cc",
24878        "net/cert/ct_policy_status.cc",
24879        "net/cert/ct_sct_to_string.cc",
24880        "net/cert/ct_serialization.cc",
24881        "net/cert/ct_signed_certificate_timestamp_log_param.cc",
24882        "net/cert/do_nothing_ct_verifier.cc",
24883        "net/cert/ev_root_ca_metadata.cc",
24884        "net/cert/internal/cert_issuer_source_aia.cc",
24885        "net/cert/internal/revocation_checker.cc",
24886        "net/cert/internal/system_trust_store.cc",
24887        "net/cert/internal/trust_store_features.cc",
24888        "net/cert/known_roots.cc",
24889        "net/cert/merkle_audit_proof.cc",
24890        "net/cert/merkle_consistency_proof.cc",
24891        "net/cert/merkle_tree_leaf.cc",
24892        "net/cert/multi_log_ct_verifier.cc",
24893        "net/cert/multi_threaded_cert_verifier.cc",
24894        "net/cert/sct_status_flags.cc",
24895        "net/cert/signed_certificate_timestamp.cc",
24896        "net/cert/signed_certificate_timestamp_and_status.cc",
24897        "net/cert/signed_tree_head.cc",
24898        "net/cert/symantec_certs.cc",
24899        "net/cert/test_root_certs.cc",
24900        "net/cert/test_root_certs_android.cc",
24901        "net/cert/time_conversions.cc",
24902        "net/cert/x509_cert_types.cc",
24903        "net/cert/x509_certificate.cc",
24904        "net/cert/x509_certificate_net_log_param.cc",
24905        "net/cert/x509_util.cc",
24906        "net/cert/x509_util_android.cc",
24907        "net/cert_net/cert_net_fetcher_url_request.cc",
24908        "net/cookies/canonical_cookie.cc",
24909        "net/cookies/cookie_access_delegate.cc",
24910        "net/cookies/cookie_access_result.cc",
24911        "net/cookies/cookie_base.cc",
24912        "net/cookies/cookie_change_dispatcher.cc",
24913        "net/cookies/cookie_constants.cc",
24914        "net/cookies/cookie_deletion_info.cc",
24915        "net/cookies/cookie_inclusion_status.cc",
24916        "net/cookies/cookie_monster.cc",
24917        "net/cookies/cookie_monster_change_dispatcher.cc",
24918        "net/cookies/cookie_monster_netlog_params.cc",
24919        "net/cookies/cookie_options.cc",
24920        "net/cookies/cookie_partition_key.cc",
24921        "net/cookies/cookie_partition_key_collection.cc",
24922        "net/cookies/cookie_store.cc",
24923        "net/cookies/cookie_util.cc",
24924        "net/cookies/parsed_cookie.cc",
24925        "net/cookies/site_for_cookies.cc",
24926        "net/cookies/static_cookie_policy.cc",
24927        "net/disk_cache/backend_cleanup_tracker.cc",
24928        "net/disk_cache/blockfile/addr.cc",
24929        "net/disk_cache/blockfile/backend_impl.cc",
24930        "net/disk_cache/blockfile/bitmap.cc",
24931        "net/disk_cache/blockfile/block_files.cc",
24932        "net/disk_cache/blockfile/disk_format.cc",
24933        "net/disk_cache/blockfile/entry_impl.cc",
24934        "net/disk_cache/blockfile/eviction.cc",
24935        "net/disk_cache/blockfile/file.cc",
24936        "net/disk_cache/blockfile/file_lock.cc",
24937        "net/disk_cache/blockfile/file_posix.cc",
24938        "net/disk_cache/blockfile/in_flight_backend_io.cc",
24939        "net/disk_cache/blockfile/in_flight_io.cc",
24940        "net/disk_cache/blockfile/mapped_file.cc",
24941        "net/disk_cache/blockfile/rankings.cc",
24942        "net/disk_cache/blockfile/sparse_control.cc",
24943        "net/disk_cache/blockfile/stats.cc",
24944        "net/disk_cache/cache_util.cc",
24945        "net/disk_cache/cache_util_posix.cc",
24946        "net/disk_cache/disk_cache.cc",
24947        "net/disk_cache/memory/mem_backend_impl.cc",
24948        "net/disk_cache/memory/mem_entry_impl.cc",
24949        "net/disk_cache/net_log_parameters.cc",
24950        "net/disk_cache/simple/post_operation_waiter.cc",
24951        "net/disk_cache/simple/simple_backend_impl.cc",
24952        "net/disk_cache/simple/simple_entry_format.cc",
24953        "net/disk_cache/simple/simple_entry_impl.cc",
24954        "net/disk_cache/simple/simple_entry_operation.cc",
24955        "net/disk_cache/simple/simple_file_enumerator.cc",
24956        "net/disk_cache/simple/simple_file_tracker.cc",
24957        "net/disk_cache/simple/simple_index.cc",
24958        "net/disk_cache/simple/simple_index_file.cc",
24959        "net/disk_cache/simple/simple_net_log_parameters.cc",
24960        "net/disk_cache/simple/simple_synchronous_entry.cc",
24961        "net/disk_cache/simple/simple_util.cc",
24962        "net/disk_cache/simple/simple_util_posix.cc",
24963        "net/disk_cache/simple/simple_version_upgrade.cc",
24964        "net/filter/brotli_source_stream.cc",
24965        "net/filter/filter_source_stream.cc",
24966        "net/filter/gzip_header.cc",
24967        "net/filter/gzip_source_stream.cc",
24968        "net/filter/source_stream.cc",
24969        "net/filter/zstd_source_stream_disabled.cc",
24970        "net/first_party_sets/addition_overlaps_union_find.cc",
24971        "net/first_party_sets/first_party_set_entry.cc",
24972        "net/first_party_sets/first_party_set_entry_override.cc",
24973        "net/first_party_sets/first_party_set_metadata.cc",
24974        "net/first_party_sets/first_party_sets_cache_filter.cc",
24975        "net/first_party_sets/first_party_sets_context_config.cc",
24976        "net/first_party_sets/global_first_party_sets.cc",
24977        "net/first_party_sets/local_set_declaration.cc",
24978        "net/first_party_sets/sets_mutation.cc",
24979        "net/http/alternative_service.cc",
24980        "net/http/bidirectional_stream.cc",
24981        "net/http/bidirectional_stream_impl.cc",
24982        "net/http/bidirectional_stream_request_info.cc",
24983        "net/http/broken_alternative_services.cc",
24984        "net/http/http_auth.cc",
24985        "net/http/http_auth_cache.cc",
24986        "net/http/http_auth_challenge_tokenizer.cc",
24987        "net/http/http_auth_controller.cc",
24988        "net/http/http_auth_filter.cc",
24989        "net/http/http_auth_handler.cc",
24990        "net/http/http_auth_handler_basic.cc",
24991        "net/http/http_auth_handler_digest.cc",
24992        "net/http/http_auth_handler_factory.cc",
24993        "net/http/http_auth_handler_negotiate.cc",
24994        "net/http/http_auth_handler_ntlm.cc",
24995        "net/http/http_auth_handler_ntlm_portable.cc",
24996        "net/http/http_auth_multi_round_parse.cc",
24997        "net/http/http_auth_ntlm_mechanism.cc",
24998        "net/http/http_auth_preferences.cc",
24999        "net/http/http_auth_scheme.cc",
25000        "net/http/http_basic_state.cc",
25001        "net/http/http_basic_stream.cc",
25002        "net/http/http_byte_range.cc",
25003        "net/http/http_cache.cc",
25004        "net/http/http_cache_transaction.cc",
25005        "net/http/http_cache_writers.cc",
25006        "net/http/http_chunked_decoder.cc",
25007        "net/http/http_connection_info.cc",
25008        "net/http/http_content_disposition.cc",
25009        "net/http/http_cookie_indices.cc",
25010        "net/http/http_log_util.cc",
25011        "net/http/http_network_layer.cc",
25012        "net/http/http_network_session.cc",
25013        "net/http/http_network_session_peer.cc",
25014        "net/http/http_network_transaction.cc",
25015        "net/http/http_no_vary_search_data.cc",
25016        "net/http/http_proxy_client_socket.cc",
25017        "net/http/http_proxy_connect_job.cc",
25018        "net/http/http_raw_request_headers.cc",
25019        "net/http/http_request_headers.cc",
25020        "net/http/http_request_info.cc",
25021        "net/http/http_response_body_drainer.cc",
25022        "net/http/http_response_headers.cc",
25023        "net/http/http_response_info.cc",
25024        "net/http/http_security_headers.cc",
25025        "net/http/http_server_properties.cc",
25026        "net/http/http_server_properties_manager.cc",
25027        "net/http/http_status_code.cc",
25028        "net/http/http_stream.cc",
25029        "net/http/http_stream_factory.cc",
25030        "net/http/http_stream_factory_job.cc",
25031        "net/http/http_stream_factory_job_controller.cc",
25032        "net/http/http_stream_parser.cc",
25033        "net/http/http_stream_request.cc",
25034        "net/http/http_util.cc",
25035        "net/http/http_vary_data.cc",
25036        "net/http/partial_data.cc",
25037        "net/http/proxy_client_socket.cc",
25038        "net/http/proxy_fallback.cc",
25039        "net/http/transport_security_persister.cc",
25040        "net/http/transport_security_state_source.cc",
25041        "net/http/url_security_manager.cc",
25042        "net/http/url_security_manager_posix.cc",
25043        "net/log/file_net_log_observer.cc",
25044        "net/log/net_log.cc",
25045        "net/log/net_log_capture_mode.cc",
25046        "net/log/net_log_entry.cc",
25047        "net/log/net_log_event_type.cc",
25048        "net/log/net_log_source.cc",
25049        "net/log/net_log_util.cc",
25050        "net/log/net_log_values.cc",
25051        "net/log/net_log_with_source.cc",
25052        "net/log/trace_net_log_observer.cc",
25053        "net/network_error_logging/network_error_logging_service.cc",
25054        "net/nqe/cached_network_quality.cc",
25055        "net/nqe/effective_connection_type.cc",
25056        "net/nqe/event_creator.cc",
25057        "net/nqe/network_id.cc",
25058        "net/nqe/network_qualities_prefs_manager.cc",
25059        "net/nqe/network_quality.cc",
25060        "net/nqe/network_quality_estimator.cc",
25061        "net/nqe/network_quality_estimator_params.cc",
25062        "net/nqe/network_quality_estimator_util.cc",
25063        "net/nqe/network_quality_observation.cc",
25064        "net/nqe/network_quality_store.cc",
25065        "net/nqe/observation_buffer.cc",
25066        "net/nqe/pref_names.cc",
25067        "net/nqe/socket_watcher.cc",
25068        "net/nqe/socket_watcher_factory.cc",
25069        "net/nqe/throughput_analyzer.cc",
25070        "net/ntlm/ntlm.cc",
25071        "net/ntlm/ntlm_buffer_reader.cc",
25072        "net/ntlm/ntlm_buffer_writer.cc",
25073        "net/ntlm/ntlm_client.cc",
25074        "net/ntlm/ntlm_constants.cc",
25075        "net/proxy_resolution/configured_proxy_resolution_request.cc",
25076        "net/proxy_resolution/configured_proxy_resolution_service.cc",
25077        "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
25078        "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
25079        "net/proxy_resolution/network_delegate_error_observer.cc",
25080        "net/proxy_resolution/pac_file_data.cc",
25081        "net/proxy_resolution/pac_file_decider.cc",
25082        "net/proxy_resolution/pac_file_fetcher.cc",
25083        "net/proxy_resolution/pac_file_fetcher_impl.cc",
25084        "net/proxy_resolution/polling_proxy_config_service.cc",
25085        "net/proxy_resolution/proxy_bypass_rules.cc",
25086        "net/proxy_resolution/proxy_config.cc",
25087        "net/proxy_resolution/proxy_config_service.cc",
25088        "net/proxy_resolution/proxy_config_service_android.cc",
25089        "net/proxy_resolution/proxy_config_service_fixed.cc",
25090        "net/proxy_resolution/proxy_config_with_annotation.cc",
25091        "net/proxy_resolution/proxy_info.cc",
25092        "net/proxy_resolution/proxy_list.cc",
25093        "net/proxy_resolution/proxy_resolver_factory.cc",
25094        "net/quic/bidirectional_stream_quic_impl.cc",
25095        "net/quic/crypto/proof_source_chromium.cc",
25096        "net/quic/crypto/proof_verifier_chromium.cc",
25097        "net/quic/dedicated_web_transport_http3_client.cc",
25098        "net/quic/network_connection.cc",
25099        "net/quic/platform/impl/quic_chromium_clock.cc",
25100        "net/quic/properties_based_quic_server_info.cc",
25101        "net/quic/quic_address_mismatch.cc",
25102        "net/quic/quic_chromium_alarm_factory.cc",
25103        "net/quic/quic_chromium_client_session.cc",
25104        "net/quic/quic_chromium_client_stream.cc",
25105        "net/quic/quic_chromium_connection_helper.cc",
25106        "net/quic/quic_chromium_packet_reader.cc",
25107        "net/quic/quic_chromium_packet_writer.cc",
25108        "net/quic/quic_clock_skew_detector.cc",
25109        "net/quic/quic_connection_logger.cc",
25110        "net/quic/quic_connectivity_monitor.cc",
25111        "net/quic/quic_context.cc",
25112        "net/quic/quic_crypto_client_config_handle.cc",
25113        "net/quic/quic_crypto_client_stream_factory.cc",
25114        "net/quic/quic_event_logger.cc",
25115        "net/quic/quic_http3_logger.cc",
25116        "net/quic/quic_http_stream.cc",
25117        "net/quic/quic_http_utils.cc",
25118        "net/quic/quic_proxy_client_socket.cc",
25119        "net/quic/quic_proxy_datagram_client_socket.cc",
25120        "net/quic/quic_server_info.cc",
25121        "net/quic/quic_session_key.cc",
25122        "net/quic/quic_session_pool.cc",
25123        "net/quic/quic_session_pool_direct_job.cc",
25124        "net/quic/quic_session_pool_job.cc",
25125        "net/quic/quic_session_pool_proxy_job.cc",
25126        "net/quic/quic_session_pool_session_attempt.cc",
25127        "net/quic/set_quic_flag.cc",
25128        "net/quic/web_transport_client.cc",
25129        "net/quic/web_transport_error.cc",
25130        "net/reporting/reporting_browsing_data_remover.cc",
25131        "net/reporting/reporting_cache.cc",
25132        "net/reporting/reporting_cache_impl.cc",
25133        "net/reporting/reporting_cache_observer.cc",
25134        "net/reporting/reporting_context.cc",
25135        "net/reporting/reporting_delegate.cc",
25136        "net/reporting/reporting_delivery_agent.cc",
25137        "net/reporting/reporting_endpoint.cc",
25138        "net/reporting/reporting_endpoint_manager.cc",
25139        "net/reporting/reporting_garbage_collector.cc",
25140        "net/reporting/reporting_header_parser.cc",
25141        "net/reporting/reporting_network_change_observer.cc",
25142        "net/reporting/reporting_policy.cc",
25143        "net/reporting/reporting_report.cc",
25144        "net/reporting/reporting_service.cc",
25145        "net/reporting/reporting_uploader.cc",
25146        "net/socket/client_socket_factory.cc",
25147        "net/socket/client_socket_handle.cc",
25148        "net/socket/client_socket_pool.cc",
25149        "net/socket/client_socket_pool_manager.cc",
25150        "net/socket/client_socket_pool_manager_impl.cc",
25151        "net/socket/connect_job.cc",
25152        "net/socket/connect_job_factory.cc",
25153        "net/socket/connect_job_params.cc",
25154        "net/socket/connect_job_params_factory.cc",
25155        "net/socket/network_binding_client_socket_factory.cc",
25156        "net/socket/next_proto.cc",
25157        "net/socket/server_socket.cc",
25158        "net/socket/socket.cc",
25159        "net/socket/socket_bio_adapter.cc",
25160        "net/socket/socket_descriptor.cc",
25161        "net/socket/socket_net_log_params.cc",
25162        "net/socket/socket_options.cc",
25163        "net/socket/socket_posix.cc",
25164        "net/socket/socket_tag.cc",
25165        "net/socket/socks5_client_socket.cc",
25166        "net/socket/socks_client_socket.cc",
25167        "net/socket/socks_connect_job.cc",
25168        "net/socket/ssl_client_socket.cc",
25169        "net/socket/ssl_client_socket_impl.cc",
25170        "net/socket/ssl_connect_job.cc",
25171        "net/socket/ssl_server_socket_impl.cc",
25172        "net/socket/stream_socket.cc",
25173        "net/socket/tcp_client_socket.cc",
25174        "net/socket/tcp_server_socket.cc",
25175        "net/socket/tcp_socket_posix.cc",
25176        "net/socket/transport_client_socket.cc",
25177        "net/socket/transport_client_socket_pool.cc",
25178        "net/socket/transport_connect_job.cc",
25179        "net/socket/transport_connect_sub_job.cc",
25180        "net/socket/udp_client_socket.cc",
25181        "net/socket/udp_net_log_parameters.cc",
25182        "net/socket/udp_server_socket.cc",
25183        "net/socket/udp_socket_global_limits.cc",
25184        "net/socket/udp_socket_posix.cc",
25185        "net/socket/unix_domain_client_socket_posix.cc",
25186        "net/socket/unix_domain_server_socket_posix.cc",
25187        "net/socket/websocket_endpoint_lock_manager.cc",
25188        "net/socket/websocket_transport_client_socket_pool.cc",
25189        "net/spdy/alps_decoder.cc",
25190        "net/spdy/bidirectional_stream_spdy_impl.cc",
25191        "net/spdy/buffered_spdy_framer.cc",
25192        "net/spdy/header_coalescer.cc",
25193        "net/spdy/http2_priority_dependencies.cc",
25194        "net/spdy/multiplexed_http_stream.cc",
25195        "net/spdy/multiplexed_session.cc",
25196        "net/spdy/spdy_buffer.cc",
25197        "net/spdy/spdy_buffer_producer.cc",
25198        "net/spdy/spdy_http_stream.cc",
25199        "net/spdy/spdy_http_utils.cc",
25200        "net/spdy/spdy_log_util.cc",
25201        "net/spdy/spdy_proxy_client_socket.cc",
25202        "net/spdy/spdy_read_queue.cc",
25203        "net/spdy/spdy_session.cc",
25204        "net/spdy/spdy_session_key.cc",
25205        "net/spdy/spdy_session_pool.cc",
25206        "net/spdy/spdy_stream.cc",
25207        "net/spdy/spdy_write_queue.cc",
25208        "net/ssl/cert_compression.cc",
25209        "net/ssl/client_cert_identity.cc",
25210        "net/ssl/openssl_private_key.cc",
25211        "net/ssl/openssl_ssl_util.cc",
25212        "net/ssl/ssl_cert_request_info.cc",
25213        "net/ssl/ssl_cipher_suite_names.cc",
25214        "net/ssl/ssl_client_auth_cache.cc",
25215        "net/ssl/ssl_client_session_cache.cc",
25216        "net/ssl/ssl_config.cc",
25217        "net/ssl/ssl_config_service.cc",
25218        "net/ssl/ssl_config_service_defaults.cc",
25219        "net/ssl/ssl_info.cc",
25220        "net/ssl/ssl_key_logger.cc",
25221        "net/ssl/ssl_key_logger_impl.cc",
25222        "net/ssl/ssl_platform_key_android.cc",
25223        "net/ssl/ssl_platform_key_util.cc",
25224        "net/ssl/ssl_private_key.cc",
25225        "net/ssl/ssl_server_config.cc",
25226        "net/ssl/threaded_ssl_private_key.cc",
25227        "net/url_request/clear_site_data.cc",
25228        "net/url_request/redirect_info.cc",
25229        "net/url_request/redirect_util.cc",
25230        "net/url_request/static_http_user_agent_settings.cc",
25231        "net/url_request/url_request.cc",
25232        "net/url_request/url_request_context.cc",
25233        "net/url_request/url_request_context_builder.cc",
25234        "net/url_request/url_request_context_getter.cc",
25235        "net/url_request/url_request_error_job.cc",
25236        "net/url_request/url_request_filter.cc",
25237        "net/url_request/url_request_http_job.cc",
25238        "net/url_request/url_request_interceptor.cc",
25239        "net/url_request/url_request_job.cc",
25240        "net/url_request/url_request_job_factory.cc",
25241        "net/url_request/url_request_netlog_params.cc",
25242        "net/url_request/url_request_redirect_job.cc",
25243        "net/url_request/view_cache_helper.cc",
25244        "net/url_request/websocket_handshake_userdata_key.cc",
25245    ],
25246    shared_libs: [
25247        "//external/cronet/third_party/boringssl:libcrypto",
25248        "//external/cronet/third_party/boringssl:libpki",
25249        "//external/cronet/third_party/boringssl:libssl",
25250        "libandroid",
25251        "liblog",
25252        "libprotobuf-cpp-lite",
25253        "libz",
25254    ],
25255    generated_headers: [
25256        "cronet_aml_base_allocator_buildflags",
25257        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
25258        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
25259        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
25260        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
25261        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
25262        "cronet_aml_base_anchor_functions_buildflags",
25263        "cronet_aml_base_android_runtime_jni_headers__action",
25264        "cronet_aml_base_base_jni__action",
25265        "cronet_aml_base_base_shared_preferences_jni__action",
25266        "cronet_aml_base_build_date",
25267        "cronet_aml_base_cfi_buildflags",
25268        "cronet_aml_base_check_version_internal_action",
25269        "cronet_aml_base_clang_profiling_buildflags",
25270        "cronet_aml_base_debugging_buildflags",
25271        "cronet_aml_base_feature_list_buildflags",
25272        "cronet_aml_base_fuzzing_buildflags",
25273        "cronet_aml_base_ios_cronet_buildflags",
25274        "cronet_aml_base_logging_buildflags",
25275        "cronet_aml_base_message_pump_buildflags",
25276        "cronet_aml_base_orderfile_buildflags",
25277        "cronet_aml_base_power_monitor_buildflags",
25278        "cronet_aml_base_process_launcher_jni__action",
25279        "cronet_aml_base_profiler_buildflags",
25280        "cronet_aml_base_protected_memory_buildflags",
25281        "cronet_aml_base_rust_buildflags",
25282        "cronet_aml_base_sanitizer_buildflags",
25283        "cronet_aml_base_synchronization_buildflags",
25284        "cronet_aml_base_tracing_buildflags",
25285        "cronet_aml_build_blink_buildflags",
25286        "cronet_aml_build_branding_buildflags",
25287        "cronet_aml_build_chromecast_buildflags",
25288        "cronet_aml_build_chromeos_buildflags",
25289        "cronet_aml_build_config_compiler_compiler_buildflags",
25290        "cronet_aml_build_ios_buildflags",
25291        "cronet_aml_build_robolectric_buildflags",
25292        "cronet_aml_crypto_buildflags",
25293        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
25294        "cronet_aml_net_buildflags",
25295        "cronet_aml_net_cronet_buildflags",
25296        "cronet_aml_net_isolation_info_proto_gen_headers",
25297        "cronet_aml_net_net_jni_headers__action",
25298        "cronet_aml_net_net_nqe_proto_gen_headers",
25299        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
25300        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
25301        "cronet_aml_url_buildflags",
25302        "cronet_aml_url_url_jni_headers__action",
25303    ],
25304    export_generated_headers: [
25305        "cronet_aml_base_allocator_buildflags",
25306        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
25307        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
25308        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
25309        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
25310        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
25311        "cronet_aml_base_anchor_functions_buildflags",
25312        "cronet_aml_base_android_runtime_jni_headers__action",
25313        "cronet_aml_base_base_jni__action",
25314        "cronet_aml_base_base_shared_preferences_jni__action",
25315        "cronet_aml_base_build_date",
25316        "cronet_aml_base_cfi_buildflags",
25317        "cronet_aml_base_check_version_internal_action",
25318        "cronet_aml_base_clang_profiling_buildflags",
25319        "cronet_aml_base_debugging_buildflags",
25320        "cronet_aml_base_feature_list_buildflags",
25321        "cronet_aml_base_fuzzing_buildflags",
25322        "cronet_aml_base_ios_cronet_buildflags",
25323        "cronet_aml_base_logging_buildflags",
25324        "cronet_aml_base_message_pump_buildflags",
25325        "cronet_aml_base_orderfile_buildflags",
25326        "cronet_aml_base_power_monitor_buildflags",
25327        "cronet_aml_base_process_launcher_jni__action",
25328        "cronet_aml_base_profiler_buildflags",
25329        "cronet_aml_base_protected_memory_buildflags",
25330        "cronet_aml_base_rust_buildflags",
25331        "cronet_aml_base_sanitizer_buildflags",
25332        "cronet_aml_base_synchronization_buildflags",
25333        "cronet_aml_base_tracing_buildflags",
25334        "cronet_aml_build_blink_buildflags",
25335        "cronet_aml_build_branding_buildflags",
25336        "cronet_aml_build_chromecast_buildflags",
25337        "cronet_aml_build_chromeos_buildflags",
25338        "cronet_aml_build_config_compiler_compiler_buildflags",
25339        "cronet_aml_build_ios_buildflags",
25340        "cronet_aml_build_robolectric_buildflags",
25341        "cronet_aml_crypto_buildflags",
25342        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
25343        "cronet_aml_net_buildflags",
25344        "cronet_aml_net_cronet_buildflags",
25345        "cronet_aml_net_isolation_info_proto_gen_headers",
25346        "cronet_aml_net_net_jni_headers__action",
25347        "cronet_aml_net_net_nqe_proto_gen_headers",
25348        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
25349        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
25350        "cronet_aml_url_buildflags",
25351        "cronet_aml_url_url_jni_headers__action",
25352    ],
25353    defaults: [
25354        "cronet_aml_cc_defaults",
25355    ],
25356    cflags: [
25357        "-DANDROID",
25358        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
25359        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
25360        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
25361        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25362        "-DENABLE_BUILT_IN_DNS",
25363        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
25364        "-DGOOGLE_PROTOBUF_NO_RTTI",
25365        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
25366        "-DHAVE_PTHREAD",
25367        "-DHAVE_SYS_UIO_H",
25368        "-DNDEBUG",
25369        "-DNET_DISABLE_ZSTD",
25370        "-DNET_IMPLEMENTATION",
25371        "-DNO_UNWIND_TABLES",
25372        "-DNVALGRIND",
25373        "-DOFFICIAL_BUILD",
25374        "-D_GNU_SOURCE",
25375        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
25376        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
25377        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25378        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
25379        "-D__STDC_CONSTANT_MACROS",
25380        "-D__STDC_FORMAT_MACROS",
25381        "-fdata-sections",
25382        "-ffunction-sections",
25383        "-fno-asynchronous-unwind-tables",
25384        "-fno-unwind-tables",
25385        "-fstack-protector",
25386        "-fvisibility-inlines-hidden",
25387        "-fvisibility=hidden",
25388        "-g1",
25389    ],
25390    local_include_dirs: [
25391        "./",
25392        "base/allocator/partition_allocator/src/",
25393        "buildtools/third_party/libc++/",
25394        "net/third_party/quiche/overrides/",
25395        "net/third_party/quiche/src/",
25396        "net/third_party/quiche/src/quiche/common/platform/default/",
25397        "third_party/abseil-cpp/",
25398        "third_party/boringssl/src/include/",
25399        "third_party/brotli/include/",
25400        "third_party/libc++/src/include",
25401        "third_party/libc++abi/src/include",
25402        "third_party/protobuf/src/",
25403    ],
25404    cpp_std: "c++20",
25405    ldflags: [
25406        "-Wl,--as-needed",
25407        "-Wl,--gc-sections",
25408        "-Wl,--icf=all",
25409        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
25410        "-Wl,-wrap,asprintf",
25411        "-Wl,-wrap,calloc",
25412        "-Wl,-wrap,free",
25413        "-Wl,-wrap,getcwd",
25414        "-Wl,-wrap,malloc",
25415        "-Wl,-wrap,malloc_usable_size",
25416        "-Wl,-wrap,memalign",
25417        "-Wl,-wrap,posix_memalign",
25418        "-Wl,-wrap,pvalloc",
25419        "-Wl,-wrap,realloc",
25420        "-Wl,-wrap,realpath",
25421        "-Wl,-wrap,strdup",
25422        "-Wl,-wrap,strndup",
25423        "-Wl,-wrap,valloc",
25424        "-Wl,-wrap,vasprintf",
25425    ],
25426    target: {
25427        android_arm: {
25428            srcs: [
25429                "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
25430            ],
25431            cflags: [
25432                "-D_FORTIFY_SOURCE=2",
25433            ],
25434        },
25435        android_arm64: {
25436            srcs: [
25437                "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
25438            ],
25439            cflags: [
25440                "-D_FORTIFY_SOURCE=2",
25441                "-O2",
25442                "-mno-outline",
25443            ],
25444        },
25445        android_riscv64: {
25446            srcs: [
25447                "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
25448            ],
25449        },
25450        android_x86: {
25451            srcs: [
25452                "net/disk_cache/blockfile/mapped_file_posix.cc",
25453            ],
25454            cflags: [
25455                "-D_FORTIFY_SOURCE=2",
25456                "-msse3",
25457            ],
25458        },
25459        android_x86_64: {
25460            srcs: [
25461                "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
25462            ],
25463            cflags: [
25464                "-D_FORTIFY_SOURCE=2",
25465                "-msse3",
25466            ],
25467        },
25468    },
25469}
25470
25471// GN: //net:net__testing
25472cc_library_static {
25473    name: "cronet_aml_net_net__testing",
25474    srcs: [
25475        "net/android/android_http_util.cc",
25476        "net/android/cert_verify_result_android.cc",
25477        "net/android/gurl_utils.cc",
25478        "net/android/http_auth_negotiate_android.cc",
25479        "net/android/keystore.cc",
25480        "net/android/network_change_notifier_android.cc",
25481        "net/android/network_change_notifier_delegate_android.cc",
25482        "net/android/network_change_notifier_factory_android.cc",
25483        "net/android/network_library.cc",
25484        "net/android/traffic_stats.cc",
25485        "net/base/address_family.cc",
25486        "net/base/address_list.cc",
25487        "net/base/address_map_linux.cc",
25488        "net/base/address_tracker_linux.cc",
25489        "net/base/auth.cc",
25490        "net/base/backoff_entry.cc",
25491        "net/base/backoff_entry_serializer.cc",
25492        "net/base/chunked_upload_data_stream.cc",
25493        "net/base/connection_endpoint_metadata.cc",
25494        "net/base/data_url.cc",
25495        "net/base/datagram_buffer.cc",
25496        "net/base/elements_upload_data_stream.cc",
25497        "net/base/features.cc",
25498        "net/base/file_stream.cc",
25499        "net/base/file_stream_context.cc",
25500        "net/base/file_stream_context_posix.cc",
25501        "net/base/filename_util.cc",
25502        "net/base/filename_util_internal.cc",
25503        "net/base/hash_value.cc",
25504        "net/base/hex_utils.cc",
25505        "net/base/host_mapping_rules.cc",
25506        "net/base/host_port_pair.cc",
25507        "net/base/io_buffer.cc",
25508        "net/base/ip_address.cc",
25509        "net/base/ip_endpoint.cc",
25510        "net/base/isolation_info.cc",
25511        "net/base/load_timing_info.cc",
25512        "net/base/logging_network_change_observer.cc",
25513        "net/base/lookup_string_in_fixed_set.cc",
25514        "net/base/mime_sniffer.cc",
25515        "net/base/mime_util.cc",
25516        "net/base/net_errors.cc",
25517        "net/base/net_errors_posix.cc",
25518        "net/base/net_module.cc",
25519        "net/base/net_string_util_icu_alternatives_android.cc",
25520        "net/base/network_activity_monitor.cc",
25521        "net/base/network_anonymization_key.cc",
25522        "net/base/network_change_notifier.cc",
25523        "net/base/network_change_notifier_passive.cc",
25524        "net/base/network_delegate.cc",
25525        "net/base/network_delegate_impl.cc",
25526        "net/base/network_interfaces.cc",
25527        "net/base/network_interfaces_getifaddrs.cc",
25528        "net/base/network_interfaces_getifaddrs_android.cc",
25529        "net/base/network_interfaces_linux.cc",
25530        "net/base/network_interfaces_posix.cc",
25531        "net/base/network_isolation_key.cc",
25532        "net/base/parse_number.cc",
25533        "net/base/platform_mime_util_linux.cc",
25534        "net/base/port_util.cc",
25535        "net/base/prioritized_dispatcher.cc",
25536        "net/base/prioritized_task_runner.cc",
25537        "net/base/privacy_mode.cc",
25538        "net/base/proxy_chain.cc",
25539        "net/base/proxy_server.cc",
25540        "net/base/proxy_string_util.cc",
25541        "net/base/registry_controlled_domains/registry_controlled_domain.cc",
25542        "net/base/request_priority.cc",
25543        "net/base/scheme_host_port_matcher.cc",
25544        "net/base/scheme_host_port_matcher_rule.cc",
25545        "net/base/schemeful_site.cc",
25546        "net/base/sockaddr_storage.cc",
25547        "net/base/sockaddr_util_posix.cc",
25548        "net/base/transport_info.cc",
25549        "net/base/upload_bytes_element_reader.cc",
25550        "net/base/upload_data_stream.cc",
25551        "net/base/upload_element_reader.cc",
25552        "net/base/upload_file_element_reader.cc",
25553        "net/base/url_search_params.cc",
25554        "net/base/url_util.cc",
25555        "net/cert/asn1_util.cc",
25556        "net/cert/caching_cert_verifier.cc",
25557        "net/cert/cert_database.cc",
25558        "net/cert/cert_status_flags.cc",
25559        "net/cert/cert_verifier.cc",
25560        "net/cert/cert_verify_proc.cc",
25561        "net/cert/cert_verify_proc_android.cc",
25562        "net/cert/cert_verify_proc_builtin.cc",
25563        "net/cert/cert_verify_result.cc",
25564        "net/cert/coalescing_cert_verifier.cc",
25565        "net/cert/crl_set.cc",
25566        "net/cert/ct_log_response_parser.cc",
25567        "net/cert/ct_log_verifier.cc",
25568        "net/cert/ct_log_verifier_util.cc",
25569        "net/cert/ct_objects_extractor.cc",
25570        "net/cert/ct_policy_enforcer.cc",
25571        "net/cert/ct_policy_status.cc",
25572        "net/cert/ct_sct_to_string.cc",
25573        "net/cert/ct_serialization.cc",
25574        "net/cert/ct_signed_certificate_timestamp_log_param.cc",
25575        "net/cert/do_nothing_ct_verifier.cc",
25576        "net/cert/ev_root_ca_metadata.cc",
25577        "net/cert/internal/cert_issuer_source_aia.cc",
25578        "net/cert/internal/revocation_checker.cc",
25579        "net/cert/internal/system_trust_store.cc",
25580        "net/cert/internal/trust_store_features.cc",
25581        "net/cert/known_roots.cc",
25582        "net/cert/merkle_audit_proof.cc",
25583        "net/cert/merkle_consistency_proof.cc",
25584        "net/cert/merkle_tree_leaf.cc",
25585        "net/cert/multi_log_ct_verifier.cc",
25586        "net/cert/multi_threaded_cert_verifier.cc",
25587        "net/cert/sct_status_flags.cc",
25588        "net/cert/signed_certificate_timestamp.cc",
25589        "net/cert/signed_certificate_timestamp_and_status.cc",
25590        "net/cert/signed_tree_head.cc",
25591        "net/cert/symantec_certs.cc",
25592        "net/cert/test_root_certs.cc",
25593        "net/cert/test_root_certs_android.cc",
25594        "net/cert/time_conversions.cc",
25595        "net/cert/x509_cert_types.cc",
25596        "net/cert/x509_certificate.cc",
25597        "net/cert/x509_certificate_net_log_param.cc",
25598        "net/cert/x509_util.cc",
25599        "net/cert/x509_util_android.cc",
25600        "net/cert_net/cert_net_fetcher_url_request.cc",
25601        "net/cookies/canonical_cookie.cc",
25602        "net/cookies/cookie_access_delegate.cc",
25603        "net/cookies/cookie_access_result.cc",
25604        "net/cookies/cookie_base.cc",
25605        "net/cookies/cookie_change_dispatcher.cc",
25606        "net/cookies/cookie_constants.cc",
25607        "net/cookies/cookie_deletion_info.cc",
25608        "net/cookies/cookie_inclusion_status.cc",
25609        "net/cookies/cookie_monster.cc",
25610        "net/cookies/cookie_monster_change_dispatcher.cc",
25611        "net/cookies/cookie_monster_netlog_params.cc",
25612        "net/cookies/cookie_options.cc",
25613        "net/cookies/cookie_partition_key.cc",
25614        "net/cookies/cookie_partition_key_collection.cc",
25615        "net/cookies/cookie_store.cc",
25616        "net/cookies/cookie_util.cc",
25617        "net/cookies/parsed_cookie.cc",
25618        "net/cookies/site_for_cookies.cc",
25619        "net/cookies/static_cookie_policy.cc",
25620        "net/disk_cache/backend_cleanup_tracker.cc",
25621        "net/disk_cache/blockfile/addr.cc",
25622        "net/disk_cache/blockfile/backend_impl.cc",
25623        "net/disk_cache/blockfile/bitmap.cc",
25624        "net/disk_cache/blockfile/block_files.cc",
25625        "net/disk_cache/blockfile/disk_format.cc",
25626        "net/disk_cache/blockfile/entry_impl.cc",
25627        "net/disk_cache/blockfile/eviction.cc",
25628        "net/disk_cache/blockfile/file.cc",
25629        "net/disk_cache/blockfile/file_lock.cc",
25630        "net/disk_cache/blockfile/file_posix.cc",
25631        "net/disk_cache/blockfile/in_flight_backend_io.cc",
25632        "net/disk_cache/blockfile/in_flight_io.cc",
25633        "net/disk_cache/blockfile/mapped_file.cc",
25634        "net/disk_cache/blockfile/rankings.cc",
25635        "net/disk_cache/blockfile/sparse_control.cc",
25636        "net/disk_cache/blockfile/stats.cc",
25637        "net/disk_cache/cache_util.cc",
25638        "net/disk_cache/cache_util_posix.cc",
25639        "net/disk_cache/disk_cache.cc",
25640        "net/disk_cache/memory/mem_backend_impl.cc",
25641        "net/disk_cache/memory/mem_entry_impl.cc",
25642        "net/disk_cache/net_log_parameters.cc",
25643        "net/disk_cache/simple/post_operation_waiter.cc",
25644        "net/disk_cache/simple/simple_backend_impl.cc",
25645        "net/disk_cache/simple/simple_entry_format.cc",
25646        "net/disk_cache/simple/simple_entry_impl.cc",
25647        "net/disk_cache/simple/simple_entry_operation.cc",
25648        "net/disk_cache/simple/simple_file_enumerator.cc",
25649        "net/disk_cache/simple/simple_file_tracker.cc",
25650        "net/disk_cache/simple/simple_index.cc",
25651        "net/disk_cache/simple/simple_index_file.cc",
25652        "net/disk_cache/simple/simple_net_log_parameters.cc",
25653        "net/disk_cache/simple/simple_synchronous_entry.cc",
25654        "net/disk_cache/simple/simple_util.cc",
25655        "net/disk_cache/simple/simple_util_posix.cc",
25656        "net/disk_cache/simple/simple_version_upgrade.cc",
25657        "net/filter/brotli_source_stream.cc",
25658        "net/filter/filter_source_stream.cc",
25659        "net/filter/gzip_header.cc",
25660        "net/filter/gzip_source_stream.cc",
25661        "net/filter/source_stream.cc",
25662        "net/filter/zstd_source_stream_disabled.cc",
25663        "net/first_party_sets/addition_overlaps_union_find.cc",
25664        "net/first_party_sets/first_party_set_entry.cc",
25665        "net/first_party_sets/first_party_set_entry_override.cc",
25666        "net/first_party_sets/first_party_set_metadata.cc",
25667        "net/first_party_sets/first_party_sets_cache_filter.cc",
25668        "net/first_party_sets/first_party_sets_context_config.cc",
25669        "net/first_party_sets/global_first_party_sets.cc",
25670        "net/first_party_sets/local_set_declaration.cc",
25671        "net/first_party_sets/sets_mutation.cc",
25672        "net/http/alternative_service.cc",
25673        "net/http/bidirectional_stream.cc",
25674        "net/http/bidirectional_stream_impl.cc",
25675        "net/http/bidirectional_stream_request_info.cc",
25676        "net/http/broken_alternative_services.cc",
25677        "net/http/http_auth.cc",
25678        "net/http/http_auth_cache.cc",
25679        "net/http/http_auth_challenge_tokenizer.cc",
25680        "net/http/http_auth_controller.cc",
25681        "net/http/http_auth_filter.cc",
25682        "net/http/http_auth_handler.cc",
25683        "net/http/http_auth_handler_basic.cc",
25684        "net/http/http_auth_handler_digest.cc",
25685        "net/http/http_auth_handler_factory.cc",
25686        "net/http/http_auth_handler_negotiate.cc",
25687        "net/http/http_auth_handler_ntlm.cc",
25688        "net/http/http_auth_handler_ntlm_portable.cc",
25689        "net/http/http_auth_multi_round_parse.cc",
25690        "net/http/http_auth_ntlm_mechanism.cc",
25691        "net/http/http_auth_preferences.cc",
25692        "net/http/http_auth_scheme.cc",
25693        "net/http/http_basic_state.cc",
25694        "net/http/http_basic_stream.cc",
25695        "net/http/http_byte_range.cc",
25696        "net/http/http_cache.cc",
25697        "net/http/http_cache_transaction.cc",
25698        "net/http/http_cache_writers.cc",
25699        "net/http/http_chunked_decoder.cc",
25700        "net/http/http_connection_info.cc",
25701        "net/http/http_content_disposition.cc",
25702        "net/http/http_cookie_indices.cc",
25703        "net/http/http_log_util.cc",
25704        "net/http/http_network_layer.cc",
25705        "net/http/http_network_session.cc",
25706        "net/http/http_network_session_peer.cc",
25707        "net/http/http_network_transaction.cc",
25708        "net/http/http_no_vary_search_data.cc",
25709        "net/http/http_proxy_client_socket.cc",
25710        "net/http/http_proxy_connect_job.cc",
25711        "net/http/http_raw_request_headers.cc",
25712        "net/http/http_request_headers.cc",
25713        "net/http/http_request_info.cc",
25714        "net/http/http_response_body_drainer.cc",
25715        "net/http/http_response_headers.cc",
25716        "net/http/http_response_info.cc",
25717        "net/http/http_security_headers.cc",
25718        "net/http/http_server_properties.cc",
25719        "net/http/http_server_properties_manager.cc",
25720        "net/http/http_status_code.cc",
25721        "net/http/http_stream.cc",
25722        "net/http/http_stream_factory.cc",
25723        "net/http/http_stream_factory_job.cc",
25724        "net/http/http_stream_factory_job_controller.cc",
25725        "net/http/http_stream_parser.cc",
25726        "net/http/http_stream_request.cc",
25727        "net/http/http_util.cc",
25728        "net/http/http_vary_data.cc",
25729        "net/http/partial_data.cc",
25730        "net/http/proxy_client_socket.cc",
25731        "net/http/proxy_fallback.cc",
25732        "net/http/transport_security_persister.cc",
25733        "net/http/transport_security_state_source.cc",
25734        "net/http/url_security_manager.cc",
25735        "net/http/url_security_manager_posix.cc",
25736        "net/log/file_net_log_observer.cc",
25737        "net/log/net_log.cc",
25738        "net/log/net_log_capture_mode.cc",
25739        "net/log/net_log_entry.cc",
25740        "net/log/net_log_event_type.cc",
25741        "net/log/net_log_source.cc",
25742        "net/log/net_log_util.cc",
25743        "net/log/net_log_values.cc",
25744        "net/log/net_log_with_source.cc",
25745        "net/log/trace_net_log_observer.cc",
25746        "net/network_error_logging/network_error_logging_service.cc",
25747        "net/nqe/cached_network_quality.cc",
25748        "net/nqe/effective_connection_type.cc",
25749        "net/nqe/event_creator.cc",
25750        "net/nqe/network_id.cc",
25751        "net/nqe/network_qualities_prefs_manager.cc",
25752        "net/nqe/network_quality.cc",
25753        "net/nqe/network_quality_estimator.cc",
25754        "net/nqe/network_quality_estimator_params.cc",
25755        "net/nqe/network_quality_estimator_util.cc",
25756        "net/nqe/network_quality_observation.cc",
25757        "net/nqe/network_quality_store.cc",
25758        "net/nqe/observation_buffer.cc",
25759        "net/nqe/pref_names.cc",
25760        "net/nqe/socket_watcher.cc",
25761        "net/nqe/socket_watcher_factory.cc",
25762        "net/nqe/throughput_analyzer.cc",
25763        "net/ntlm/ntlm.cc",
25764        "net/ntlm/ntlm_buffer_reader.cc",
25765        "net/ntlm/ntlm_buffer_writer.cc",
25766        "net/ntlm/ntlm_client.cc",
25767        "net/ntlm/ntlm_constants.cc",
25768        "net/proxy_resolution/configured_proxy_resolution_request.cc",
25769        "net/proxy_resolution/configured_proxy_resolution_service.cc",
25770        "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
25771        "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
25772        "net/proxy_resolution/network_delegate_error_observer.cc",
25773        "net/proxy_resolution/pac_file_data.cc",
25774        "net/proxy_resolution/pac_file_decider.cc",
25775        "net/proxy_resolution/pac_file_fetcher.cc",
25776        "net/proxy_resolution/pac_file_fetcher_impl.cc",
25777        "net/proxy_resolution/polling_proxy_config_service.cc",
25778        "net/proxy_resolution/proxy_bypass_rules.cc",
25779        "net/proxy_resolution/proxy_config.cc",
25780        "net/proxy_resolution/proxy_config_service.cc",
25781        "net/proxy_resolution/proxy_config_service_android.cc",
25782        "net/proxy_resolution/proxy_config_service_fixed.cc",
25783        "net/proxy_resolution/proxy_config_with_annotation.cc",
25784        "net/proxy_resolution/proxy_info.cc",
25785        "net/proxy_resolution/proxy_list.cc",
25786        "net/proxy_resolution/proxy_resolver_factory.cc",
25787        "net/quic/bidirectional_stream_quic_impl.cc",
25788        "net/quic/crypto/proof_source_chromium.cc",
25789        "net/quic/crypto/proof_verifier_chromium.cc",
25790        "net/quic/dedicated_web_transport_http3_client.cc",
25791        "net/quic/network_connection.cc",
25792        "net/quic/platform/impl/quic_chromium_clock.cc",
25793        "net/quic/properties_based_quic_server_info.cc",
25794        "net/quic/quic_address_mismatch.cc",
25795        "net/quic/quic_chromium_alarm_factory.cc",
25796        "net/quic/quic_chromium_client_session.cc",
25797        "net/quic/quic_chromium_client_stream.cc",
25798        "net/quic/quic_chromium_connection_helper.cc",
25799        "net/quic/quic_chromium_packet_reader.cc",
25800        "net/quic/quic_chromium_packet_writer.cc",
25801        "net/quic/quic_clock_skew_detector.cc",
25802        "net/quic/quic_connection_logger.cc",
25803        "net/quic/quic_connectivity_monitor.cc",
25804        "net/quic/quic_context.cc",
25805        "net/quic/quic_crypto_client_config_handle.cc",
25806        "net/quic/quic_crypto_client_stream_factory.cc",
25807        "net/quic/quic_event_logger.cc",
25808        "net/quic/quic_http3_logger.cc",
25809        "net/quic/quic_http_stream.cc",
25810        "net/quic/quic_http_utils.cc",
25811        "net/quic/quic_proxy_client_socket.cc",
25812        "net/quic/quic_proxy_datagram_client_socket.cc",
25813        "net/quic/quic_server_info.cc",
25814        "net/quic/quic_session_key.cc",
25815        "net/quic/quic_session_pool.cc",
25816        "net/quic/quic_session_pool_direct_job.cc",
25817        "net/quic/quic_session_pool_job.cc",
25818        "net/quic/quic_session_pool_proxy_job.cc",
25819        "net/quic/quic_session_pool_session_attempt.cc",
25820        "net/quic/set_quic_flag.cc",
25821        "net/quic/web_transport_client.cc",
25822        "net/quic/web_transport_error.cc",
25823        "net/reporting/reporting_browsing_data_remover.cc",
25824        "net/reporting/reporting_cache.cc",
25825        "net/reporting/reporting_cache_impl.cc",
25826        "net/reporting/reporting_cache_observer.cc",
25827        "net/reporting/reporting_context.cc",
25828        "net/reporting/reporting_delegate.cc",
25829        "net/reporting/reporting_delivery_agent.cc",
25830        "net/reporting/reporting_endpoint.cc",
25831        "net/reporting/reporting_endpoint_manager.cc",
25832        "net/reporting/reporting_garbage_collector.cc",
25833        "net/reporting/reporting_header_parser.cc",
25834        "net/reporting/reporting_network_change_observer.cc",
25835        "net/reporting/reporting_policy.cc",
25836        "net/reporting/reporting_report.cc",
25837        "net/reporting/reporting_service.cc",
25838        "net/reporting/reporting_uploader.cc",
25839        "net/socket/client_socket_factory.cc",
25840        "net/socket/client_socket_handle.cc",
25841        "net/socket/client_socket_pool.cc",
25842        "net/socket/client_socket_pool_manager.cc",
25843        "net/socket/client_socket_pool_manager_impl.cc",
25844        "net/socket/connect_job.cc",
25845        "net/socket/connect_job_factory.cc",
25846        "net/socket/connect_job_params.cc",
25847        "net/socket/connect_job_params_factory.cc",
25848        "net/socket/network_binding_client_socket_factory.cc",
25849        "net/socket/next_proto.cc",
25850        "net/socket/server_socket.cc",
25851        "net/socket/socket.cc",
25852        "net/socket/socket_bio_adapter.cc",
25853        "net/socket/socket_descriptor.cc",
25854        "net/socket/socket_net_log_params.cc",
25855        "net/socket/socket_options.cc",
25856        "net/socket/socket_posix.cc",
25857        "net/socket/socket_tag.cc",
25858        "net/socket/socks5_client_socket.cc",
25859        "net/socket/socks_client_socket.cc",
25860        "net/socket/socks_connect_job.cc",
25861        "net/socket/ssl_client_socket.cc",
25862        "net/socket/ssl_client_socket_impl.cc",
25863        "net/socket/ssl_connect_job.cc",
25864        "net/socket/ssl_server_socket_impl.cc",
25865        "net/socket/stream_socket.cc",
25866        "net/socket/tcp_client_socket.cc",
25867        "net/socket/tcp_server_socket.cc",
25868        "net/socket/tcp_socket_posix.cc",
25869        "net/socket/transport_client_socket.cc",
25870        "net/socket/transport_client_socket_pool.cc",
25871        "net/socket/transport_connect_job.cc",
25872        "net/socket/transport_connect_sub_job.cc",
25873        "net/socket/udp_client_socket.cc",
25874        "net/socket/udp_net_log_parameters.cc",
25875        "net/socket/udp_server_socket.cc",
25876        "net/socket/udp_socket_global_limits.cc",
25877        "net/socket/udp_socket_posix.cc",
25878        "net/socket/unix_domain_client_socket_posix.cc",
25879        "net/socket/unix_domain_server_socket_posix.cc",
25880        "net/socket/websocket_endpoint_lock_manager.cc",
25881        "net/socket/websocket_transport_client_socket_pool.cc",
25882        "net/spdy/alps_decoder.cc",
25883        "net/spdy/bidirectional_stream_spdy_impl.cc",
25884        "net/spdy/buffered_spdy_framer.cc",
25885        "net/spdy/header_coalescer.cc",
25886        "net/spdy/http2_priority_dependencies.cc",
25887        "net/spdy/multiplexed_http_stream.cc",
25888        "net/spdy/multiplexed_session.cc",
25889        "net/spdy/spdy_buffer.cc",
25890        "net/spdy/spdy_buffer_producer.cc",
25891        "net/spdy/spdy_http_stream.cc",
25892        "net/spdy/spdy_http_utils.cc",
25893        "net/spdy/spdy_log_util.cc",
25894        "net/spdy/spdy_proxy_client_socket.cc",
25895        "net/spdy/spdy_read_queue.cc",
25896        "net/spdy/spdy_session.cc",
25897        "net/spdy/spdy_session_key.cc",
25898        "net/spdy/spdy_session_pool.cc",
25899        "net/spdy/spdy_stream.cc",
25900        "net/spdy/spdy_write_queue.cc",
25901        "net/ssl/cert_compression.cc",
25902        "net/ssl/client_cert_identity.cc",
25903        "net/ssl/openssl_private_key.cc",
25904        "net/ssl/openssl_ssl_util.cc",
25905        "net/ssl/ssl_cert_request_info.cc",
25906        "net/ssl/ssl_cipher_suite_names.cc",
25907        "net/ssl/ssl_client_auth_cache.cc",
25908        "net/ssl/ssl_client_session_cache.cc",
25909        "net/ssl/ssl_config.cc",
25910        "net/ssl/ssl_config_service.cc",
25911        "net/ssl/ssl_config_service_defaults.cc",
25912        "net/ssl/ssl_info.cc",
25913        "net/ssl/ssl_key_logger.cc",
25914        "net/ssl/ssl_key_logger_impl.cc",
25915        "net/ssl/ssl_platform_key_android.cc",
25916        "net/ssl/ssl_platform_key_util.cc",
25917        "net/ssl/ssl_private_key.cc",
25918        "net/ssl/ssl_server_config.cc",
25919        "net/ssl/threaded_ssl_private_key.cc",
25920        "net/url_request/clear_site_data.cc",
25921        "net/url_request/redirect_info.cc",
25922        "net/url_request/redirect_util.cc",
25923        "net/url_request/static_http_user_agent_settings.cc",
25924        "net/url_request/url_request.cc",
25925        "net/url_request/url_request_context.cc",
25926        "net/url_request/url_request_context_builder.cc",
25927        "net/url_request/url_request_context_getter.cc",
25928        "net/url_request/url_request_error_job.cc",
25929        "net/url_request/url_request_filter.cc",
25930        "net/url_request/url_request_http_job.cc",
25931        "net/url_request/url_request_interceptor.cc",
25932        "net/url_request/url_request_job.cc",
25933        "net/url_request/url_request_job_factory.cc",
25934        "net/url_request/url_request_netlog_params.cc",
25935        "net/url_request/url_request_redirect_job.cc",
25936        "net/url_request/view_cache_helper.cc",
25937        "net/url_request/websocket_handshake_userdata_key.cc",
25938    ],
25939    shared_libs: [
25940        "libandroid",
25941        "liblog",
25942        "libprotobuf-cpp-lite",
25943        "libz",
25944    ],
25945    generated_headers: [
25946        "cronet_aml_base_allocator_buildflags__testing",
25947        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
25948        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
25949        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
25950        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
25951        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
25952        "cronet_aml_base_anchor_functions_buildflags__testing",
25953        "cronet_aml_base_build_date__testing",
25954        "cronet_aml_base_cfi_buildflags__testing",
25955        "cronet_aml_base_check_version_internal_action__testing",
25956        "cronet_aml_base_clang_profiling_buildflags__testing",
25957        "cronet_aml_base_debugging_buildflags__testing",
25958        "cronet_aml_base_feature_list_buildflags__testing",
25959        "cronet_aml_base_fuzzing_buildflags__testing",
25960        "cronet_aml_base_ios_cronet_buildflags__testing",
25961        "cronet_aml_base_logging_buildflags__testing",
25962        "cronet_aml_base_message_pump_buildflags__testing",
25963        "cronet_aml_base_orderfile_buildflags__testing",
25964        "cronet_aml_base_power_monitor_buildflags__testing",
25965        "cronet_aml_base_profiler_buildflags__testing",
25966        "cronet_aml_base_protected_memory_buildflags__testing",
25967        "cronet_aml_base_rust_buildflags__testing",
25968        "cronet_aml_base_sanitizer_buildflags__testing",
25969        "cronet_aml_base_synchronization_buildflags__testing",
25970        "cronet_aml_base_tracing_buildflags__testing",
25971        "cronet_aml_build_blink_buildflags__testing",
25972        "cronet_aml_build_branding_buildflags__testing",
25973        "cronet_aml_build_chromecast_buildflags__testing",
25974        "cronet_aml_build_chromeos_buildflags__testing",
25975        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
25976        "cronet_aml_build_ios_buildflags__testing",
25977        "cronet_aml_build_robolectric_buildflags__testing",
25978        "cronet_aml_crypto_buildflags__testing",
25979        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
25980        "cronet_aml_net_buildflags__testing",
25981        "cronet_aml_net_cronet_buildflags__testing",
25982        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
25983        "cronet_aml_net_net_jni_headers__action__testing",
25984        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
25985        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
25986        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
25987        "cronet_aml_url_buildflags__testing",
25988        "cronet_aml_url_url_jni_headers__action__testing",
25989    ],
25990    export_generated_headers: [
25991        "cronet_aml_base_allocator_buildflags__testing",
25992        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
25993        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
25994        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
25995        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
25996        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
25997        "cronet_aml_base_anchor_functions_buildflags__testing",
25998        "cronet_aml_base_build_date__testing",
25999        "cronet_aml_base_cfi_buildflags__testing",
26000        "cronet_aml_base_check_version_internal_action__testing",
26001        "cronet_aml_base_clang_profiling_buildflags__testing",
26002        "cronet_aml_base_debugging_buildflags__testing",
26003        "cronet_aml_base_feature_list_buildflags__testing",
26004        "cronet_aml_base_fuzzing_buildflags__testing",
26005        "cronet_aml_base_ios_cronet_buildflags__testing",
26006        "cronet_aml_base_logging_buildflags__testing",
26007        "cronet_aml_base_message_pump_buildflags__testing",
26008        "cronet_aml_base_orderfile_buildflags__testing",
26009        "cronet_aml_base_power_monitor_buildflags__testing",
26010        "cronet_aml_base_profiler_buildflags__testing",
26011        "cronet_aml_base_protected_memory_buildflags__testing",
26012        "cronet_aml_base_rust_buildflags__testing",
26013        "cronet_aml_base_sanitizer_buildflags__testing",
26014        "cronet_aml_base_synchronization_buildflags__testing",
26015        "cronet_aml_base_tracing_buildflags__testing",
26016        "cronet_aml_build_blink_buildflags__testing",
26017        "cronet_aml_build_branding_buildflags__testing",
26018        "cronet_aml_build_chromecast_buildflags__testing",
26019        "cronet_aml_build_chromeos_buildflags__testing",
26020        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
26021        "cronet_aml_build_ios_buildflags__testing",
26022        "cronet_aml_build_robolectric_buildflags__testing",
26023        "cronet_aml_crypto_buildflags__testing",
26024        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
26025        "cronet_aml_net_buildflags__testing",
26026        "cronet_aml_net_cronet_buildflags__testing",
26027        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
26028        "cronet_aml_net_net_jni_headers__action__testing",
26029        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
26030        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
26031        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
26032        "cronet_aml_url_buildflags__testing",
26033        "cronet_aml_url_url_jni_headers__action__testing",
26034    ],
26035    defaults: [
26036        "cronet_aml_cc_defaults",
26037    ],
26038    cflags: [
26039        "-DANDROID",
26040        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
26041        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
26042        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
26043        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26044        "-DENABLE_BUILT_IN_DNS",
26045        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
26046        "-DGOOGLE_PROTOBUF_NO_RTTI",
26047        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
26048        "-DHAVE_PTHREAD",
26049        "-DHAVE_SYS_UIO_H",
26050        "-DNDEBUG",
26051        "-DNET_DISABLE_ZSTD",
26052        "-DNET_IMPLEMENTATION",
26053        "-DNO_UNWIND_TABLES",
26054        "-DNVALGRIND",
26055        "-DOFFICIAL_BUILD",
26056        "-D_GNU_SOURCE",
26057        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26058        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
26059        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26060        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
26061        "-D__STDC_CONSTANT_MACROS",
26062        "-D__STDC_FORMAT_MACROS",
26063        "-fdata-sections",
26064        "-ffunction-sections",
26065        "-fno-asynchronous-unwind-tables",
26066        "-fno-unwind-tables",
26067        "-fstack-protector",
26068        "-fvisibility-inlines-hidden",
26069        "-fvisibility=hidden",
26070        "-g1",
26071    ],
26072    local_include_dirs: [
26073        "./",
26074        "base/allocator/partition_allocator/src/",
26075        "buildtools/third_party/libc++/",
26076        "net/third_party/quiche/overrides/",
26077        "net/third_party/quiche/src/",
26078        "net/third_party/quiche/src/quiche/common/platform/default/",
26079        "third_party/abseil-cpp/",
26080        "third_party/boringssl/src/include/",
26081        "third_party/brotli/include/",
26082        "third_party/libc++/src/include",
26083        "third_party/libc++abi/src/include",
26084        "third_party/protobuf/src/",
26085    ],
26086    cpp_std: "c++20",
26087    ldflags: [
26088        "-Wl,--as-needed",
26089        "-Wl,--gc-sections",
26090        "-Wl,--icf=all",
26091        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
26092        "-Wl,-wrap,asprintf",
26093        "-Wl,-wrap,calloc",
26094        "-Wl,-wrap,free",
26095        "-Wl,-wrap,getcwd",
26096        "-Wl,-wrap,malloc",
26097        "-Wl,-wrap,malloc_usable_size",
26098        "-Wl,-wrap,memalign",
26099        "-Wl,-wrap,posix_memalign",
26100        "-Wl,-wrap,pvalloc",
26101        "-Wl,-wrap,realloc",
26102        "-Wl,-wrap,realpath",
26103        "-Wl,-wrap,strdup",
26104        "-Wl,-wrap,strndup",
26105        "-Wl,-wrap,valloc",
26106        "-Wl,-wrap,vasprintf",
26107    ],
26108    target: {
26109        android_arm: {
26110            srcs: [
26111                "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
26112            ],
26113            cflags: [
26114                "-D_FORTIFY_SOURCE=2",
26115            ],
26116        },
26117        android_arm64: {
26118            srcs: [
26119                "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
26120            ],
26121            cflags: [
26122                "-D_FORTIFY_SOURCE=2",
26123                "-O2",
26124                "-mno-outline",
26125            ],
26126        },
26127        android_riscv64: {
26128            srcs: [
26129                "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
26130            ],
26131        },
26132        android_x86: {
26133            srcs: [
26134                "net/disk_cache/blockfile/mapped_file_posix.cc",
26135            ],
26136            cflags: [
26137                "-D_FORTIFY_SOURCE=2",
26138                "-msse3",
26139            ],
26140        },
26141        android_x86_64: {
26142            srcs: [
26143                "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
26144            ],
26145            cflags: [
26146                "-D_FORTIFY_SOURCE=2",
26147                "-msse3",
26148            ],
26149        },
26150    },
26151}
26152
26153// GN: //net:net_deps
26154cc_library_static {
26155    name: "cronet_aml_net_net_deps",
26156    shared_libs: [
26157        "//external/cronet/third_party/boringssl:libcrypto",
26158        "//external/cronet/third_party/boringssl:libpki",
26159        "//external/cronet/third_party/boringssl:libssl",
26160        "libandroid",
26161        "liblog",
26162        "libprotobuf-cpp-lite",
26163        "libz",
26164    ],
26165    generated_headers: [
26166        "cronet_aml_base_allocator_buildflags",
26167        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
26168        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
26169        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
26170        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
26171        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
26172        "cronet_aml_base_anchor_functions_buildflags",
26173        "cronet_aml_base_android_runtime_jni_headers__action",
26174        "cronet_aml_base_base_jni__action",
26175        "cronet_aml_base_base_shared_preferences_jni__action",
26176        "cronet_aml_base_build_date",
26177        "cronet_aml_base_cfi_buildflags",
26178        "cronet_aml_base_check_version_internal_action",
26179        "cronet_aml_base_clang_profiling_buildflags",
26180        "cronet_aml_base_debugging_buildflags",
26181        "cronet_aml_base_feature_list_buildflags",
26182        "cronet_aml_base_fuzzing_buildflags",
26183        "cronet_aml_base_ios_cronet_buildflags",
26184        "cronet_aml_base_logging_buildflags",
26185        "cronet_aml_base_message_pump_buildflags",
26186        "cronet_aml_base_orderfile_buildflags",
26187        "cronet_aml_base_power_monitor_buildflags",
26188        "cronet_aml_base_process_launcher_jni__action",
26189        "cronet_aml_base_profiler_buildflags",
26190        "cronet_aml_base_protected_memory_buildflags",
26191        "cronet_aml_base_rust_buildflags",
26192        "cronet_aml_base_sanitizer_buildflags",
26193        "cronet_aml_base_synchronization_buildflags",
26194        "cronet_aml_base_tracing_buildflags",
26195        "cronet_aml_build_blink_buildflags",
26196        "cronet_aml_build_branding_buildflags",
26197        "cronet_aml_build_chromecast_buildflags",
26198        "cronet_aml_build_chromeos_buildflags",
26199        "cronet_aml_build_config_compiler_compiler_buildflags",
26200        "cronet_aml_build_ios_buildflags",
26201        "cronet_aml_build_robolectric_buildflags",
26202        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
26203        "cronet_aml_net_cronet_buildflags",
26204        "cronet_aml_net_isolation_info_proto_gen_headers",
26205        "cronet_aml_net_net_jni_headers__action",
26206        "cronet_aml_url_buildflags",
26207    ],
26208    export_generated_headers: [
26209        "cronet_aml_base_allocator_buildflags",
26210        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
26211        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
26212        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
26213        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
26214        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
26215        "cronet_aml_base_anchor_functions_buildflags",
26216        "cronet_aml_base_android_runtime_jni_headers__action",
26217        "cronet_aml_base_base_jni__action",
26218        "cronet_aml_base_base_shared_preferences_jni__action",
26219        "cronet_aml_base_build_date",
26220        "cronet_aml_base_cfi_buildflags",
26221        "cronet_aml_base_check_version_internal_action",
26222        "cronet_aml_base_clang_profiling_buildflags",
26223        "cronet_aml_base_debugging_buildflags",
26224        "cronet_aml_base_feature_list_buildflags",
26225        "cronet_aml_base_fuzzing_buildflags",
26226        "cronet_aml_base_ios_cronet_buildflags",
26227        "cronet_aml_base_logging_buildflags",
26228        "cronet_aml_base_message_pump_buildflags",
26229        "cronet_aml_base_orderfile_buildflags",
26230        "cronet_aml_base_power_monitor_buildflags",
26231        "cronet_aml_base_process_launcher_jni__action",
26232        "cronet_aml_base_profiler_buildflags",
26233        "cronet_aml_base_protected_memory_buildflags",
26234        "cronet_aml_base_rust_buildflags",
26235        "cronet_aml_base_sanitizer_buildflags",
26236        "cronet_aml_base_synchronization_buildflags",
26237        "cronet_aml_base_tracing_buildflags",
26238        "cronet_aml_build_blink_buildflags",
26239        "cronet_aml_build_branding_buildflags",
26240        "cronet_aml_build_chromecast_buildflags",
26241        "cronet_aml_build_chromeos_buildflags",
26242        "cronet_aml_build_config_compiler_compiler_buildflags",
26243        "cronet_aml_build_ios_buildflags",
26244        "cronet_aml_build_robolectric_buildflags",
26245        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
26246        "cronet_aml_net_cronet_buildflags",
26247        "cronet_aml_net_isolation_info_proto_gen_headers",
26248        "cronet_aml_net_net_jni_headers__action",
26249        "cronet_aml_url_buildflags",
26250    ],
26251    defaults: [
26252        "cronet_aml_cc_defaults",
26253    ],
26254    cflags: [
26255        "-DANDROID",
26256        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
26257        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
26258        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
26259        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26260        "-DENABLE_BUILT_IN_DNS",
26261        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
26262        "-DGOOGLE_PROTOBUF_NO_RTTI",
26263        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
26264        "-DHAVE_PTHREAD",
26265        "-DHAVE_SYS_UIO_H",
26266        "-DNDEBUG",
26267        "-DNET_IMPLEMENTATION",
26268        "-DNO_UNWIND_TABLES",
26269        "-DNVALGRIND",
26270        "-DOFFICIAL_BUILD",
26271        "-D_GNU_SOURCE",
26272        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26273        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
26274        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26275        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
26276        "-D__STDC_CONSTANT_MACROS",
26277        "-D__STDC_FORMAT_MACROS",
26278        "-fdata-sections",
26279        "-ffunction-sections",
26280        "-fno-asynchronous-unwind-tables",
26281        "-fno-unwind-tables",
26282        "-fstack-protector",
26283        "-fvisibility-inlines-hidden",
26284        "-fvisibility=hidden",
26285        "-g1",
26286    ],
26287    local_include_dirs: [
26288        "./",
26289        "base/allocator/partition_allocator/src/",
26290        "buildtools/third_party/libc++/",
26291        "third_party/abseil-cpp/",
26292        "third_party/boringssl/src/include/",
26293        "third_party/brotli/include/",
26294        "third_party/libc++/src/include",
26295        "third_party/libc++abi/src/include",
26296        "third_party/protobuf/src/",
26297    ],
26298    cpp_std: "c++20",
26299    ldflags: [
26300        "-Wl,--as-needed",
26301        "-Wl,--gc-sections",
26302        "-Wl,--icf=all",
26303        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
26304        "-Wl,-wrap,asprintf",
26305        "-Wl,-wrap,calloc",
26306        "-Wl,-wrap,free",
26307        "-Wl,-wrap,getcwd",
26308        "-Wl,-wrap,malloc",
26309        "-Wl,-wrap,malloc_usable_size",
26310        "-Wl,-wrap,memalign",
26311        "-Wl,-wrap,posix_memalign",
26312        "-Wl,-wrap,pvalloc",
26313        "-Wl,-wrap,realloc",
26314        "-Wl,-wrap,realpath",
26315        "-Wl,-wrap,strdup",
26316        "-Wl,-wrap,strndup",
26317        "-Wl,-wrap,valloc",
26318        "-Wl,-wrap,vasprintf",
26319    ],
26320    target: {
26321        android_arm: {
26322            cflags: [
26323                "-D_FORTIFY_SOURCE=2",
26324            ],
26325        },
26326        android_arm64: {
26327            cflags: [
26328                "-D_FORTIFY_SOURCE=2",
26329                "-O2",
26330                "-mno-outline",
26331            ],
26332        },
26333        android_x86: {
26334            cflags: [
26335                "-D_FORTIFY_SOURCE=2",
26336                "-msse3",
26337            ],
26338        },
26339        android_x86_64: {
26340            cflags: [
26341                "-D_FORTIFY_SOURCE=2",
26342                "-msse3",
26343            ],
26344        },
26345    },
26346}
26347
26348// GN: //net:net_deps__testing
26349cc_library_static {
26350    name: "cronet_aml_net_net_deps__testing",
26351    shared_libs: [
26352        "libandroid",
26353        "liblog",
26354        "libprotobuf-cpp-lite",
26355        "libz",
26356    ],
26357    generated_headers: [
26358        "cronet_aml_base_allocator_buildflags__testing",
26359        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
26360        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
26361        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
26362        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
26363        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
26364        "cronet_aml_base_anchor_functions_buildflags__testing",
26365        "cronet_aml_base_build_date__testing",
26366        "cronet_aml_base_cfi_buildflags__testing",
26367        "cronet_aml_base_check_version_internal_action__testing",
26368        "cronet_aml_base_clang_profiling_buildflags__testing",
26369        "cronet_aml_base_debugging_buildflags__testing",
26370        "cronet_aml_base_feature_list_buildflags__testing",
26371        "cronet_aml_base_fuzzing_buildflags__testing",
26372        "cronet_aml_base_ios_cronet_buildflags__testing",
26373        "cronet_aml_base_logging_buildflags__testing",
26374        "cronet_aml_base_message_pump_buildflags__testing",
26375        "cronet_aml_base_orderfile_buildflags__testing",
26376        "cronet_aml_base_power_monitor_buildflags__testing",
26377        "cronet_aml_base_profiler_buildflags__testing",
26378        "cronet_aml_base_protected_memory_buildflags__testing",
26379        "cronet_aml_base_rust_buildflags__testing",
26380        "cronet_aml_base_sanitizer_buildflags__testing",
26381        "cronet_aml_base_synchronization_buildflags__testing",
26382        "cronet_aml_base_tracing_buildflags__testing",
26383        "cronet_aml_build_blink_buildflags__testing",
26384        "cronet_aml_build_branding_buildflags__testing",
26385        "cronet_aml_build_chromecast_buildflags__testing",
26386        "cronet_aml_build_chromeos_buildflags__testing",
26387        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
26388        "cronet_aml_build_ios_buildflags__testing",
26389        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
26390        "cronet_aml_net_cronet_buildflags__testing",
26391        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
26392        "cronet_aml_net_net_jni_headers__action__testing",
26393        "cronet_aml_url_buildflags__testing",
26394    ],
26395    export_generated_headers: [
26396        "cronet_aml_base_allocator_buildflags__testing",
26397        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
26398        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
26399        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
26400        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
26401        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
26402        "cronet_aml_base_anchor_functions_buildflags__testing",
26403        "cronet_aml_base_build_date__testing",
26404        "cronet_aml_base_cfi_buildflags__testing",
26405        "cronet_aml_base_check_version_internal_action__testing",
26406        "cronet_aml_base_clang_profiling_buildflags__testing",
26407        "cronet_aml_base_debugging_buildflags__testing",
26408        "cronet_aml_base_feature_list_buildflags__testing",
26409        "cronet_aml_base_fuzzing_buildflags__testing",
26410        "cronet_aml_base_ios_cronet_buildflags__testing",
26411        "cronet_aml_base_logging_buildflags__testing",
26412        "cronet_aml_base_message_pump_buildflags__testing",
26413        "cronet_aml_base_orderfile_buildflags__testing",
26414        "cronet_aml_base_power_monitor_buildflags__testing",
26415        "cronet_aml_base_profiler_buildflags__testing",
26416        "cronet_aml_base_protected_memory_buildflags__testing",
26417        "cronet_aml_base_rust_buildflags__testing",
26418        "cronet_aml_base_sanitizer_buildflags__testing",
26419        "cronet_aml_base_synchronization_buildflags__testing",
26420        "cronet_aml_base_tracing_buildflags__testing",
26421        "cronet_aml_build_blink_buildflags__testing",
26422        "cronet_aml_build_branding_buildflags__testing",
26423        "cronet_aml_build_chromecast_buildflags__testing",
26424        "cronet_aml_build_chromeos_buildflags__testing",
26425        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
26426        "cronet_aml_build_ios_buildflags__testing",
26427        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
26428        "cronet_aml_net_cronet_buildflags__testing",
26429        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
26430        "cronet_aml_net_net_jni_headers__action__testing",
26431        "cronet_aml_url_buildflags__testing",
26432    ],
26433    defaults: [
26434        "cronet_aml_cc_defaults",
26435    ],
26436    cflags: [
26437        "-DANDROID",
26438        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
26439        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
26440        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
26441        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26442        "-DENABLE_BUILT_IN_DNS",
26443        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
26444        "-DGOOGLE_PROTOBUF_NO_RTTI",
26445        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
26446        "-DHAVE_PTHREAD",
26447        "-DHAVE_SYS_UIO_H",
26448        "-DNDEBUG",
26449        "-DNET_IMPLEMENTATION",
26450        "-DNO_UNWIND_TABLES",
26451        "-DNVALGRIND",
26452        "-DOFFICIAL_BUILD",
26453        "-D_GNU_SOURCE",
26454        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26455        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
26456        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26457        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
26458        "-D__STDC_CONSTANT_MACROS",
26459        "-D__STDC_FORMAT_MACROS",
26460        "-fdata-sections",
26461        "-ffunction-sections",
26462        "-fno-asynchronous-unwind-tables",
26463        "-fno-unwind-tables",
26464        "-fstack-protector",
26465        "-fvisibility-inlines-hidden",
26466        "-fvisibility=hidden",
26467        "-g1",
26468    ],
26469    local_include_dirs: [
26470        "./",
26471        "base/allocator/partition_allocator/src/",
26472        "buildtools/third_party/libc++/",
26473        "third_party/abseil-cpp/",
26474        "third_party/boringssl/src/include/",
26475        "third_party/brotli/include/",
26476        "third_party/libc++/src/include",
26477        "third_party/libc++abi/src/include",
26478        "third_party/protobuf/src/",
26479    ],
26480    cpp_std: "c++20",
26481    ldflags: [
26482        "-Wl,--as-needed",
26483        "-Wl,--gc-sections",
26484        "-Wl,--icf=all",
26485        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
26486        "-Wl,-wrap,asprintf",
26487        "-Wl,-wrap,calloc",
26488        "-Wl,-wrap,free",
26489        "-Wl,-wrap,getcwd",
26490        "-Wl,-wrap,malloc",
26491        "-Wl,-wrap,malloc_usable_size",
26492        "-Wl,-wrap,memalign",
26493        "-Wl,-wrap,posix_memalign",
26494        "-Wl,-wrap,pvalloc",
26495        "-Wl,-wrap,realloc",
26496        "-Wl,-wrap,realpath",
26497        "-Wl,-wrap,strdup",
26498        "-Wl,-wrap,strndup",
26499        "-Wl,-wrap,valloc",
26500        "-Wl,-wrap,vasprintf",
26501    ],
26502    target: {
26503        android_arm: {
26504            cflags: [
26505                "-D_FORTIFY_SOURCE=2",
26506            ],
26507        },
26508        android_arm64: {
26509            cflags: [
26510                "-D_FORTIFY_SOURCE=2",
26511                "-O2",
26512                "-mno-outline",
26513            ],
26514        },
26515        android_x86: {
26516            cflags: [
26517                "-D_FORTIFY_SOURCE=2",
26518                "-msse3",
26519            ],
26520        },
26521        android_x86_64: {
26522            cflags: [
26523                "-D_FORTIFY_SOURCE=2",
26524                "-msse3",
26525            ],
26526        },
26527    },
26528}
26529
26530// GN: //net:net_jni_headers__action
26531cc_genrule {
26532    name: "cronet_aml_net_net_jni_headers__action",
26533    srcs: [
26534        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
26535        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
26536        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
26537        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
26538        "net/android/java/src/org/chromium/net/DnsStatus.java",
26539        "net/android/java/src/org/chromium/net/GURLUtils.java",
26540        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
26541        "net/android/java/src/org/chromium/net/HttpUtil.java",
26542        "net/android/java/src/org/chromium/net/NetStringUtil.java",
26543        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
26544        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
26545        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
26546        "net/android/java/src/org/chromium/net/X509Util.java",
26547    ],
26548    cmd: "mkdir -p $(genDir)/jni_headers/net/net_jni_headers &&  " +
26549         "mkdir -p $(genDir)/net && $(location third_party/jni_zero/jni_zero.py) from-source " +
26550         "--output-dir " +
26551         "$(genDir)/net/net_jni_headers " +
26552         "--extra-include " +
26553         "third_party/jni_zero/jni_zero_internal.h " +
26554         "--srcjar-path " +
26555         "$(genDir)/net/net_jni_headers.srcjar " +
26556         "--placeholder-srcjar-path " +
26557         "$(genDir)/net/net_jni_headers_placeholder.srcjar " +
26558         "--use-proxy-hash " +
26559         "--output-name " +
26560         "AndroidCertVerifyResult_jni.h " +
26561         "--output-name " +
26562         "AndroidKeyStore_jni.h " +
26563         "--output-name " +
26564         "AndroidNetworkLibrary_jni.h " +
26565         "--output-name " +
26566         "AndroidTrafficStats_jni.h " +
26567         "--output-name " +
26568         "DnsStatus_jni.h " +
26569         "--output-name " +
26570         "GURLUtils_jni.h " +
26571         "--output-name " +
26572         "HttpNegotiateAuthenticator_jni.h " +
26573         "--output-name " +
26574         "HttpUtil_jni.h " +
26575         "--output-name " +
26576         "NetStringUtil_jni.h " +
26577         "--output-name " +
26578         "NetworkActiveNotifier_jni.h " +
26579         "--output-name " +
26580         "NetworkChangeNotifier_jni.h " +
26581         "--output-name " +
26582         "ProxyChangeListener_jni.h " +
26583         "--output-name " +
26584         "X509Util_jni.h " +
26585         "--input-file " +
26586         "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
26587         "--input-file " +
26588         "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
26589         "--input-file " +
26590         "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
26591         "--input-file " +
26592         "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
26593         "--input-file " +
26594         "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
26595         "--input-file " +
26596         "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
26597         "--input-file " +
26598         "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
26599         "--input-file " +
26600         "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
26601         "--input-file " +
26602         "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
26603         "--input-file " +
26604         "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
26605         "--input-file " +
26606         "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
26607         "--input-file " +
26608         "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
26609         "--input-file " +
26610         "$(location net/android/java/src/org/chromium/net/X509Util.java) " +
26611         "--package-prefix " +
26612         "android.net.connectivity",
26613    out: [
26614        "net/net_jni_headers.srcjar",
26615        "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
26616        "net/net_jni_headers/AndroidKeyStore_jni.h",
26617        "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
26618        "net/net_jni_headers/AndroidTrafficStats_jni.h",
26619        "net/net_jni_headers/DnsStatus_jni.h",
26620        "net/net_jni_headers/GURLUtils_jni.h",
26621        "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
26622        "net/net_jni_headers/HttpUtil_jni.h",
26623        "net/net_jni_headers/NetStringUtil_jni.h",
26624        "net/net_jni_headers/NetworkActiveNotifier_jni.h",
26625        "net/net_jni_headers/NetworkChangeNotifier_jni.h",
26626        "net/net_jni_headers/ProxyChangeListener_jni.h",
26627        "net/net_jni_headers/X509Util_jni.h",
26628    ],
26629    tool_files: [
26630        "third_party/jni_zero/codegen/called_by_native_header.py",
26631        "third_party/jni_zero/codegen/convert_type.py",
26632        "third_party/jni_zero/codegen/header_common.py",
26633        "third_party/jni_zero/codegen/natives_header.py",
26634        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
26635        "third_party/jni_zero/codegen/placeholder_java_type.py",
26636        "third_party/jni_zero/codegen/proxy_impl_java.py",
26637        "third_party/jni_zero/common.py",
26638        "third_party/jni_zero/java_lang_classes.py",
26639        "third_party/jni_zero/java_types.py",
26640        "third_party/jni_zero/jni_generator.py",
26641        "third_party/jni_zero/jni_registration_generator.py",
26642        "third_party/jni_zero/jni_zero.py",
26643        "third_party/jni_zero/parse.py",
26644        "third_party/jni_zero/proxy.py",
26645    ],
26646    apex_available: [
26647        "com.android.tethering",
26648    ],
26649}
26650
26651// GN: //net:net_jni_headers__action
26652java_genrule {
26653    name: "cronet_aml_net_net_jni_headers__action__java",
26654    srcs: [
26655        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
26656        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
26657        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
26658        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
26659        "net/android/java/src/org/chromium/net/DnsStatus.java",
26660        "net/android/java/src/org/chromium/net/GURLUtils.java",
26661        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
26662        "net/android/java/src/org/chromium/net/HttpUtil.java",
26663        "net/android/java/src/org/chromium/net/NetStringUtil.java",
26664        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
26665        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
26666        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
26667        "net/android/java/src/org/chromium/net/X509Util.java",
26668    ],
26669    cmd: "mkdir -p $(genDir)/jni_headers/net/net_jni_headers &&  " +
26670         "mkdir -p $(genDir)/net && $(location third_party/jni_zero/jni_zero.py) from-source " +
26671         "--output-dir " +
26672         "$(genDir)/net/net_jni_headers " +
26673         "--extra-include " +
26674         "third_party/jni_zero/jni_zero_internal.h " +
26675         "--srcjar-path " +
26676         "$(genDir)/net/net_jni_headers.srcjar " +
26677         "--placeholder-srcjar-path " +
26678         "$(genDir)/net/net_jni_headers_placeholder.srcjar " +
26679         "--use-proxy-hash " +
26680         "--output-name " +
26681         "AndroidCertVerifyResult_jni.h " +
26682         "--output-name " +
26683         "AndroidKeyStore_jni.h " +
26684         "--output-name " +
26685         "AndroidNetworkLibrary_jni.h " +
26686         "--output-name " +
26687         "AndroidTrafficStats_jni.h " +
26688         "--output-name " +
26689         "DnsStatus_jni.h " +
26690         "--output-name " +
26691         "GURLUtils_jni.h " +
26692         "--output-name " +
26693         "HttpNegotiateAuthenticator_jni.h " +
26694         "--output-name " +
26695         "HttpUtil_jni.h " +
26696         "--output-name " +
26697         "NetStringUtil_jni.h " +
26698         "--output-name " +
26699         "NetworkActiveNotifier_jni.h " +
26700         "--output-name " +
26701         "NetworkChangeNotifier_jni.h " +
26702         "--output-name " +
26703         "ProxyChangeListener_jni.h " +
26704         "--output-name " +
26705         "X509Util_jni.h " +
26706         "--input-file " +
26707         "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
26708         "--input-file " +
26709         "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
26710         "--input-file " +
26711         "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
26712         "--input-file " +
26713         "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
26714         "--input-file " +
26715         "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
26716         "--input-file " +
26717         "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
26718         "--input-file " +
26719         "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
26720         "--input-file " +
26721         "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
26722         "--input-file " +
26723         "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
26724         "--input-file " +
26725         "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
26726         "--input-file " +
26727         "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
26728         "--input-file " +
26729         "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
26730         "--input-file " +
26731         "$(location net/android/java/src/org/chromium/net/X509Util.java) " +
26732         "--package-prefix " +
26733         "android.net.connectivity",
26734    out: [
26735        "net/net_jni_headers.srcjar",
26736        "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
26737        "net/net_jni_headers/AndroidKeyStore_jni.h",
26738        "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
26739        "net/net_jni_headers/AndroidTrafficStats_jni.h",
26740        "net/net_jni_headers/DnsStatus_jni.h",
26741        "net/net_jni_headers/GURLUtils_jni.h",
26742        "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
26743        "net/net_jni_headers/HttpUtil_jni.h",
26744        "net/net_jni_headers/NetStringUtil_jni.h",
26745        "net/net_jni_headers/NetworkActiveNotifier_jni.h",
26746        "net/net_jni_headers/NetworkChangeNotifier_jni.h",
26747        "net/net_jni_headers/ProxyChangeListener_jni.h",
26748        "net/net_jni_headers/X509Util_jni.h",
26749    ],
26750    tool_files: [
26751        "third_party/jni_zero/codegen/called_by_native_header.py",
26752        "third_party/jni_zero/codegen/convert_type.py",
26753        "third_party/jni_zero/codegen/header_common.py",
26754        "third_party/jni_zero/codegen/natives_header.py",
26755        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
26756        "third_party/jni_zero/codegen/placeholder_java_type.py",
26757        "third_party/jni_zero/codegen/proxy_impl_java.py",
26758        "third_party/jni_zero/common.py",
26759        "third_party/jni_zero/java_lang_classes.py",
26760        "third_party/jni_zero/java_types.py",
26761        "third_party/jni_zero/jni_generator.py",
26762        "third_party/jni_zero/jni_registration_generator.py",
26763        "third_party/jni_zero/jni_zero.py",
26764        "third_party/jni_zero/parse.py",
26765        "third_party/jni_zero/proxy.py",
26766    ],
26767}
26768
26769// GN: //net:net_jni_headers__action__testing
26770cc_genrule {
26771    name: "cronet_aml_net_net_jni_headers__action__testing",
26772    srcs: [
26773        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
26774        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
26775        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
26776        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
26777        "net/android/java/src/org/chromium/net/DnsStatus.java",
26778        "net/android/java/src/org/chromium/net/GURLUtils.java",
26779        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
26780        "net/android/java/src/org/chromium/net/HttpUtil.java",
26781        "net/android/java/src/org/chromium/net/NetStringUtil.java",
26782        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
26783        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
26784        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
26785        "net/android/java/src/org/chromium/net/X509Util.java",
26786    ],
26787    cmd: "mkdir -p $(genDir)/jni_headers/net/net_jni_headers &&  " +
26788         "mkdir -p $(genDir)/net && $(location third_party/jni_zero/jni_zero.py) from-source " +
26789         "--output-dir " +
26790         "$(genDir)/net/net_jni_headers " +
26791         "--extra-include " +
26792         "third_party/jni_zero/jni_zero_internal.h " +
26793         "--srcjar-path " +
26794         "$(genDir)/net/net_jni_headers.srcjar " +
26795         "--placeholder-srcjar-path " +
26796         "$(genDir)/net/net_jni_headers_placeholder.srcjar " +
26797         "--use-proxy-hash " +
26798         "--output-name " +
26799         "AndroidCertVerifyResult_jni.h " +
26800         "--output-name " +
26801         "AndroidKeyStore_jni.h " +
26802         "--output-name " +
26803         "AndroidNetworkLibrary_jni.h " +
26804         "--output-name " +
26805         "AndroidTrafficStats_jni.h " +
26806         "--output-name " +
26807         "DnsStatus_jni.h " +
26808         "--output-name " +
26809         "GURLUtils_jni.h " +
26810         "--output-name " +
26811         "HttpNegotiateAuthenticator_jni.h " +
26812         "--output-name " +
26813         "HttpUtil_jni.h " +
26814         "--output-name " +
26815         "NetStringUtil_jni.h " +
26816         "--output-name " +
26817         "NetworkActiveNotifier_jni.h " +
26818         "--output-name " +
26819         "NetworkChangeNotifier_jni.h " +
26820         "--output-name " +
26821         "ProxyChangeListener_jni.h " +
26822         "--output-name " +
26823         "X509Util_jni.h " +
26824         "--input-file " +
26825         "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
26826         "--input-file " +
26827         "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
26828         "--input-file " +
26829         "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
26830         "--input-file " +
26831         "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
26832         "--input-file " +
26833         "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
26834         "--input-file " +
26835         "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
26836         "--input-file " +
26837         "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
26838         "--input-file " +
26839         "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
26840         "--input-file " +
26841         "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
26842         "--input-file " +
26843         "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
26844         "--input-file " +
26845         "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
26846         "--input-file " +
26847         "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
26848         "--input-file " +
26849         "$(location net/android/java/src/org/chromium/net/X509Util.java)",
26850    out: [
26851        "net/net_jni_headers.srcjar",
26852        "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
26853        "net/net_jni_headers/AndroidKeyStore_jni.h",
26854        "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
26855        "net/net_jni_headers/AndroidTrafficStats_jni.h",
26856        "net/net_jni_headers/DnsStatus_jni.h",
26857        "net/net_jni_headers/GURLUtils_jni.h",
26858        "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
26859        "net/net_jni_headers/HttpUtil_jni.h",
26860        "net/net_jni_headers/NetStringUtil_jni.h",
26861        "net/net_jni_headers/NetworkActiveNotifier_jni.h",
26862        "net/net_jni_headers/NetworkChangeNotifier_jni.h",
26863        "net/net_jni_headers/ProxyChangeListener_jni.h",
26864        "net/net_jni_headers/X509Util_jni.h",
26865    ],
26866    tool_files: [
26867        "third_party/jni_zero/codegen/called_by_native_header.py",
26868        "third_party/jni_zero/codegen/convert_type.py",
26869        "third_party/jni_zero/codegen/header_common.py",
26870        "third_party/jni_zero/codegen/natives_header.py",
26871        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
26872        "third_party/jni_zero/codegen/placeholder_java_type.py",
26873        "third_party/jni_zero/codegen/proxy_impl_java.py",
26874        "third_party/jni_zero/common.py",
26875        "third_party/jni_zero/java_lang_classes.py",
26876        "third_party/jni_zero/java_types.py",
26877        "third_party/jni_zero/jni_generator.py",
26878        "third_party/jni_zero/jni_registration_generator.py",
26879        "third_party/jni_zero/jni_zero.py",
26880        "third_party/jni_zero/parse.py",
26881        "third_party/jni_zero/proxy.py",
26882    ],
26883    apex_available: [
26884        "com.android.tethering",
26885    ],
26886}
26887
26888// GN: //net:net_jni_headers__action__testing
26889java_genrule {
26890    name: "cronet_aml_net_net_jni_headers__action__testing__java",
26891    srcs: [
26892        "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
26893        "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
26894        "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
26895        "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
26896        "net/android/java/src/org/chromium/net/DnsStatus.java",
26897        "net/android/java/src/org/chromium/net/GURLUtils.java",
26898        "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
26899        "net/android/java/src/org/chromium/net/HttpUtil.java",
26900        "net/android/java/src/org/chromium/net/NetStringUtil.java",
26901        "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
26902        "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
26903        "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
26904        "net/android/java/src/org/chromium/net/X509Util.java",
26905    ],
26906    cmd: "mkdir -p $(genDir)/jni_headers/net/net_jni_headers &&  " +
26907         "mkdir -p $(genDir)/net && $(location third_party/jni_zero/jni_zero.py) from-source " +
26908         "--output-dir " +
26909         "$(genDir)/net/net_jni_headers " +
26910         "--extra-include " +
26911         "third_party/jni_zero/jni_zero_internal.h " +
26912         "--srcjar-path " +
26913         "$(genDir)/net/net_jni_headers.srcjar " +
26914         "--placeholder-srcjar-path " +
26915         "$(genDir)/net/net_jni_headers_placeholder.srcjar " +
26916         "--use-proxy-hash " +
26917         "--output-name " +
26918         "AndroidCertVerifyResult_jni.h " +
26919         "--output-name " +
26920         "AndroidKeyStore_jni.h " +
26921         "--output-name " +
26922         "AndroidNetworkLibrary_jni.h " +
26923         "--output-name " +
26924         "AndroidTrafficStats_jni.h " +
26925         "--output-name " +
26926         "DnsStatus_jni.h " +
26927         "--output-name " +
26928         "GURLUtils_jni.h " +
26929         "--output-name " +
26930         "HttpNegotiateAuthenticator_jni.h " +
26931         "--output-name " +
26932         "HttpUtil_jni.h " +
26933         "--output-name " +
26934         "NetStringUtil_jni.h " +
26935         "--output-name " +
26936         "NetworkActiveNotifier_jni.h " +
26937         "--output-name " +
26938         "NetworkChangeNotifier_jni.h " +
26939         "--output-name " +
26940         "ProxyChangeListener_jni.h " +
26941         "--output-name " +
26942         "X509Util_jni.h " +
26943         "--input-file " +
26944         "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
26945         "--input-file " +
26946         "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
26947         "--input-file " +
26948         "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
26949         "--input-file " +
26950         "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
26951         "--input-file " +
26952         "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
26953         "--input-file " +
26954         "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
26955         "--input-file " +
26956         "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
26957         "--input-file " +
26958         "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
26959         "--input-file " +
26960         "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
26961         "--input-file " +
26962         "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
26963         "--input-file " +
26964         "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
26965         "--input-file " +
26966         "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
26967         "--input-file " +
26968         "$(location net/android/java/src/org/chromium/net/X509Util.java)",
26969    out: [
26970        "net/net_jni_headers.srcjar",
26971        "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
26972        "net/net_jni_headers/AndroidKeyStore_jni.h",
26973        "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
26974        "net/net_jni_headers/AndroidTrafficStats_jni.h",
26975        "net/net_jni_headers/DnsStatus_jni.h",
26976        "net/net_jni_headers/GURLUtils_jni.h",
26977        "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
26978        "net/net_jni_headers/HttpUtil_jni.h",
26979        "net/net_jni_headers/NetStringUtil_jni.h",
26980        "net/net_jni_headers/NetworkActiveNotifier_jni.h",
26981        "net/net_jni_headers/NetworkChangeNotifier_jni.h",
26982        "net/net_jni_headers/ProxyChangeListener_jni.h",
26983        "net/net_jni_headers/X509Util_jni.h",
26984    ],
26985    tool_files: [
26986        "third_party/jni_zero/codegen/called_by_native_header.py",
26987        "third_party/jni_zero/codegen/convert_type.py",
26988        "third_party/jni_zero/codegen/header_common.py",
26989        "third_party/jni_zero/codegen/natives_header.py",
26990        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
26991        "third_party/jni_zero/codegen/placeholder_java_type.py",
26992        "third_party/jni_zero/codegen/proxy_impl_java.py",
26993        "third_party/jni_zero/common.py",
26994        "third_party/jni_zero/java_lang_classes.py",
26995        "third_party/jni_zero/java_types.py",
26996        "third_party/jni_zero/jni_generator.py",
26997        "third_party/jni_zero/jni_registration_generator.py",
26998        "third_party/jni_zero/jni_zero.py",
26999        "third_party/jni_zero/parse.py",
27000        "third_party/jni_zero/proxy.py",
27001    ],
27002}
27003
27004// GN: //net:net_nqe_proto
27005cc_library_static {
27006    name: "cronet_aml_net_net_nqe_proto",
27007    srcs: [
27008        ":cronet_aml_net_net_nqe_proto_gen",
27009    ],
27010    shared_libs: [
27011        "liblog",
27012        "libprotobuf-cpp-lite",
27013    ],
27014    generated_headers: [
27015        "cronet_aml_net_net_nqe_proto_gen_headers",
27016    ],
27017    export_generated_headers: [
27018        "cronet_aml_net_net_nqe_proto_gen_headers",
27019    ],
27020    defaults: [
27021        "cronet_aml_cc_defaults",
27022    ],
27023    cflags: [
27024        "-DANDROID",
27025        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
27026        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
27027        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
27028        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
27029        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
27030        "-DGOOGLE_PROTOBUF_NO_RTTI",
27031        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
27032        "-DHAVE_PTHREAD",
27033        "-DHAVE_SYS_UIO_H",
27034        "-DNDEBUG",
27035        "-DNET_IMPLEMENTATION",
27036        "-DNO_UNWIND_TABLES",
27037        "-DNVALGRIND",
27038        "-DOFFICIAL_BUILD",
27039        "-D_GNU_SOURCE",
27040        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
27041        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
27042        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
27043        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
27044        "-D__STDC_CONSTANT_MACROS",
27045        "-D__STDC_FORMAT_MACROS",
27046        "-fdata-sections",
27047        "-ffunction-sections",
27048        "-fno-asynchronous-unwind-tables",
27049        "-fno-unwind-tables",
27050        "-fstack-protector",
27051        "-fvisibility-inlines-hidden",
27052        "-fvisibility=hidden",
27053        "-g1",
27054    ],
27055    local_include_dirs: [
27056        "./",
27057        "buildtools/third_party/libc++/",
27058        "third_party/libc++/src/include",
27059        "third_party/libc++abi/src/include",
27060        "third_party/protobuf/src/",
27061    ],
27062    cpp_std: "c++20",
27063    ldflags: [
27064        "-Wl,--as-needed",
27065        "-Wl,--gc-sections",
27066        "-Wl,--icf=all",
27067    ],
27068    target: {
27069        android_arm: {
27070            cflags: [
27071                "-D_FORTIFY_SOURCE=2",
27072            ],
27073        },
27074        android_arm64: {
27075            cflags: [
27076                "-D_FORTIFY_SOURCE=2",
27077                "-O2",
27078                "-mno-outline",
27079            ],
27080        },
27081        android_x86: {
27082            cflags: [
27083                "-D_FORTIFY_SOURCE=2",
27084                "-msse3",
27085            ],
27086        },
27087        android_x86_64: {
27088            cflags: [
27089                "-D_FORTIFY_SOURCE=2",
27090                "-msse3",
27091            ],
27092        },
27093    },
27094}
27095
27096// GN: //net:net_nqe_proto__testing
27097cc_library_static {
27098    name: "cronet_aml_net_net_nqe_proto__testing",
27099    srcs: [
27100        ":cronet_aml_net_net_nqe_proto_gen__testing",
27101    ],
27102    shared_libs: [
27103        "liblog",
27104        "libprotobuf-cpp-lite",
27105    ],
27106    generated_headers: [
27107        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
27108    ],
27109    export_generated_headers: [
27110        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
27111    ],
27112    defaults: [
27113        "cronet_aml_cc_defaults",
27114    ],
27115    cflags: [
27116        "-DANDROID",
27117        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
27118        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
27119        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
27120        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
27121        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
27122        "-DGOOGLE_PROTOBUF_NO_RTTI",
27123        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
27124        "-DHAVE_PTHREAD",
27125        "-DHAVE_SYS_UIO_H",
27126        "-DNDEBUG",
27127        "-DNET_IMPLEMENTATION",
27128        "-DNO_UNWIND_TABLES",
27129        "-DNVALGRIND",
27130        "-DOFFICIAL_BUILD",
27131        "-D_GNU_SOURCE",
27132        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
27133        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
27134        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
27135        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
27136        "-D__STDC_CONSTANT_MACROS",
27137        "-D__STDC_FORMAT_MACROS",
27138        "-fdata-sections",
27139        "-ffunction-sections",
27140        "-fno-asynchronous-unwind-tables",
27141        "-fno-unwind-tables",
27142        "-fstack-protector",
27143        "-fvisibility-inlines-hidden",
27144        "-fvisibility=hidden",
27145        "-g1",
27146    ],
27147    local_include_dirs: [
27148        "./",
27149        "buildtools/third_party/libc++/",
27150        "third_party/libc++/src/include",
27151        "third_party/libc++abi/src/include",
27152        "third_party/protobuf/src/",
27153    ],
27154    cpp_std: "c++20",
27155    ldflags: [
27156        "-Wl,--as-needed",
27157        "-Wl,--gc-sections",
27158        "-Wl,--icf=all",
27159    ],
27160    target: {
27161        android_arm: {
27162            cflags: [
27163                "-D_FORTIFY_SOURCE=2",
27164            ],
27165        },
27166        android_arm64: {
27167            cflags: [
27168                "-D_FORTIFY_SOURCE=2",
27169                "-O2",
27170                "-mno-outline",
27171            ],
27172        },
27173        android_x86: {
27174            cflags: [
27175                "-D_FORTIFY_SOURCE=2",
27176                "-msse3",
27177            ],
27178        },
27179        android_x86_64: {
27180            cflags: [
27181                "-D_FORTIFY_SOURCE=2",
27182                "-msse3",
27183            ],
27184        },
27185    },
27186}
27187
27188// GN: //net:net_nqe_proto_gen
27189cc_genrule {
27190    name: "cronet_aml_net_net_nqe_proto_gen",
27191    srcs: [
27192        "net/nqe/proto/network_id_proto.proto",
27193    ],
27194    tools: [
27195        "cronet_aml_third_party_protobuf_protoc",
27196    ],
27197    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)",
27198    out: [
27199        "external/cronet/net/nqe/proto/network_id_proto.pb.cc",
27200    ],
27201    apex_available: [
27202        "com.android.tethering",
27203    ],
27204}
27205
27206// GN: //net:net_nqe_proto_gen__testing
27207cc_genrule {
27208    name: "cronet_aml_net_net_nqe_proto_gen__testing",
27209    srcs: [
27210        "net/nqe/proto/network_id_proto.proto",
27211    ],
27212    tools: [
27213        "cronet_aml_third_party_protobuf_protoc",
27214    ],
27215    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)",
27216    out: [
27217        "external/cronet/net/nqe/proto/network_id_proto.pb.cc",
27218    ],
27219    apex_available: [
27220        "com.android.tethering",
27221    ],
27222}
27223
27224// GN: //net:net_nqe_proto_gen__testing
27225cc_genrule {
27226    name: "cronet_aml_net_net_nqe_proto_gen__testing_headers",
27227    srcs: [
27228        "net/nqe/proto/network_id_proto.proto",
27229    ],
27230    tools: [
27231        "cronet_aml_third_party_protobuf_protoc",
27232    ],
27233    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)",
27234    out: [
27235        "external/cronet/net/nqe/proto/network_id_proto.pb.h",
27236    ],
27237    export_include_dirs: [
27238        ".",
27239        "net/nqe/proto",
27240        "protos",
27241    ],
27242    apex_available: [
27243        "com.android.tethering",
27244    ],
27245}
27246
27247// GN: //net:net_nqe_proto_gen
27248cc_genrule {
27249    name: "cronet_aml_net_net_nqe_proto_gen_headers",
27250    srcs: [
27251        "net/nqe/proto/network_id_proto.proto",
27252    ],
27253    tools: [
27254        "cronet_aml_third_party_protobuf_protoc",
27255    ],
27256    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)",
27257    out: [
27258        "external/cronet/net/nqe/proto/network_id_proto.pb.h",
27259    ],
27260    export_include_dirs: [
27261        ".",
27262        "net/nqe/proto",
27263        "protos",
27264    ],
27265    apex_available: [
27266        "com.android.tethering",
27267    ],
27268}
27269
27270// GN: //net:net_public_deps
27271cc_library_static {
27272    name: "cronet_aml_net_net_public_deps",
27273    shared_libs: [
27274        "//external/cronet/third_party/boringssl:libcrypto",
27275        "//external/cronet/third_party/boringssl:libpki",
27276        "//external/cronet/third_party/boringssl:libssl",
27277        "libandroid",
27278        "liblog",
27279        "libprotobuf-cpp-lite",
27280        "libz",
27281    ],
27282    generated_headers: [
27283        "cronet_aml_base_allocator_buildflags",
27284        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
27285        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
27286        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
27287        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
27288        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
27289        "cronet_aml_base_anchor_functions_buildflags",
27290        "cronet_aml_base_android_runtime_jni_headers__action",
27291        "cronet_aml_base_base_jni__action",
27292        "cronet_aml_base_base_shared_preferences_jni__action",
27293        "cronet_aml_base_build_date",
27294        "cronet_aml_base_cfi_buildflags",
27295        "cronet_aml_base_check_version_internal_action",
27296        "cronet_aml_base_clang_profiling_buildflags",
27297        "cronet_aml_base_debugging_buildflags",
27298        "cronet_aml_base_feature_list_buildflags",
27299        "cronet_aml_base_fuzzing_buildflags",
27300        "cronet_aml_base_ios_cronet_buildflags",
27301        "cronet_aml_base_logging_buildflags",
27302        "cronet_aml_base_message_pump_buildflags",
27303        "cronet_aml_base_orderfile_buildflags",
27304        "cronet_aml_base_power_monitor_buildflags",
27305        "cronet_aml_base_process_launcher_jni__action",
27306        "cronet_aml_base_profiler_buildflags",
27307        "cronet_aml_base_protected_memory_buildflags",
27308        "cronet_aml_base_rust_buildflags",
27309        "cronet_aml_base_sanitizer_buildflags",
27310        "cronet_aml_base_synchronization_buildflags",
27311        "cronet_aml_base_tracing_buildflags",
27312        "cronet_aml_build_blink_buildflags",
27313        "cronet_aml_build_branding_buildflags",
27314        "cronet_aml_build_chromecast_buildflags",
27315        "cronet_aml_build_chromeos_buildflags",
27316        "cronet_aml_build_config_compiler_compiler_buildflags",
27317        "cronet_aml_build_ios_buildflags",
27318        "cronet_aml_build_robolectric_buildflags",
27319        "cronet_aml_crypto_buildflags",
27320        "cronet_aml_net_buildflags",
27321        "cronet_aml_net_net_nqe_proto_gen_headers",
27322        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
27323        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
27324        "cronet_aml_url_buildflags",
27325        "cronet_aml_url_url_jni_headers__action",
27326    ],
27327    export_generated_headers: [
27328        "cronet_aml_base_allocator_buildflags",
27329        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
27330        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
27331        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
27332        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
27333        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
27334        "cronet_aml_base_anchor_functions_buildflags",
27335        "cronet_aml_base_android_runtime_jni_headers__action",
27336        "cronet_aml_base_base_jni__action",
27337        "cronet_aml_base_base_shared_preferences_jni__action",
27338        "cronet_aml_base_build_date",
27339        "cronet_aml_base_cfi_buildflags",
27340        "cronet_aml_base_check_version_internal_action",
27341        "cronet_aml_base_clang_profiling_buildflags",
27342        "cronet_aml_base_debugging_buildflags",
27343        "cronet_aml_base_feature_list_buildflags",
27344        "cronet_aml_base_fuzzing_buildflags",
27345        "cronet_aml_base_ios_cronet_buildflags",
27346        "cronet_aml_base_logging_buildflags",
27347        "cronet_aml_base_message_pump_buildflags",
27348        "cronet_aml_base_orderfile_buildflags",
27349        "cronet_aml_base_power_monitor_buildflags",
27350        "cronet_aml_base_process_launcher_jni__action",
27351        "cronet_aml_base_profiler_buildflags",
27352        "cronet_aml_base_protected_memory_buildflags",
27353        "cronet_aml_base_rust_buildflags",
27354        "cronet_aml_base_sanitizer_buildflags",
27355        "cronet_aml_base_synchronization_buildflags",
27356        "cronet_aml_base_tracing_buildflags",
27357        "cronet_aml_build_blink_buildflags",
27358        "cronet_aml_build_branding_buildflags",
27359        "cronet_aml_build_chromecast_buildflags",
27360        "cronet_aml_build_chromeos_buildflags",
27361        "cronet_aml_build_config_compiler_compiler_buildflags",
27362        "cronet_aml_build_ios_buildflags",
27363        "cronet_aml_build_robolectric_buildflags",
27364        "cronet_aml_crypto_buildflags",
27365        "cronet_aml_net_buildflags",
27366        "cronet_aml_net_net_nqe_proto_gen_headers",
27367        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
27368        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
27369        "cronet_aml_url_buildflags",
27370        "cronet_aml_url_url_jni_headers__action",
27371    ],
27372    defaults: [
27373        "cronet_aml_cc_defaults",
27374    ],
27375    cflags: [
27376        "-DANDROID",
27377        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
27378        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
27379        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
27380        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
27381        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
27382        "-DGOOGLE_PROTOBUF_NO_RTTI",
27383        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
27384        "-DHAVE_PTHREAD",
27385        "-DHAVE_SYS_UIO_H",
27386        "-DNDEBUG",
27387        "-DNO_UNWIND_TABLES",
27388        "-DNVALGRIND",
27389        "-DOFFICIAL_BUILD",
27390        "-D_GNU_SOURCE",
27391        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
27392        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
27393        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
27394        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
27395        "-D__STDC_CONSTANT_MACROS",
27396        "-D__STDC_FORMAT_MACROS",
27397        "-fdata-sections",
27398        "-ffunction-sections",
27399        "-fno-asynchronous-unwind-tables",
27400        "-fno-unwind-tables",
27401        "-fstack-protector",
27402        "-fvisibility-inlines-hidden",
27403        "-fvisibility=hidden",
27404        "-g1",
27405    ],
27406    local_include_dirs: [
27407        "./",
27408        "base/allocator/partition_allocator/src/",
27409        "buildtools/third_party/libc++/",
27410        "net/third_party/quiche/overrides/",
27411        "net/third_party/quiche/src/",
27412        "net/third_party/quiche/src/quiche/common/platform/default/",
27413        "third_party/abseil-cpp/",
27414        "third_party/boringssl/src/include/",
27415        "third_party/libc++/src/include",
27416        "third_party/libc++abi/src/include",
27417        "third_party/protobuf/src/",
27418    ],
27419    cpp_std: "c++20",
27420    ldflags: [
27421        "-Wl,--as-needed",
27422        "-Wl,--gc-sections",
27423        "-Wl,--icf=all",
27424        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
27425        "-Wl,-wrap,asprintf",
27426        "-Wl,-wrap,calloc",
27427        "-Wl,-wrap,free",
27428        "-Wl,-wrap,getcwd",
27429        "-Wl,-wrap,malloc",
27430        "-Wl,-wrap,malloc_usable_size",
27431        "-Wl,-wrap,memalign",
27432        "-Wl,-wrap,posix_memalign",
27433        "-Wl,-wrap,pvalloc",
27434        "-Wl,-wrap,realloc",
27435        "-Wl,-wrap,realpath",
27436        "-Wl,-wrap,strdup",
27437        "-Wl,-wrap,strndup",
27438        "-Wl,-wrap,valloc",
27439        "-Wl,-wrap,vasprintf",
27440    ],
27441    target: {
27442        android_arm: {
27443            cflags: [
27444                "-D_FORTIFY_SOURCE=2",
27445            ],
27446        },
27447        android_arm64: {
27448            cflags: [
27449                "-D_FORTIFY_SOURCE=2",
27450                "-O2",
27451                "-mno-outline",
27452            ],
27453        },
27454        android_x86: {
27455            cflags: [
27456                "-D_FORTIFY_SOURCE=2",
27457                "-msse3",
27458            ],
27459        },
27460        android_x86_64: {
27461            cflags: [
27462                "-D_FORTIFY_SOURCE=2",
27463                "-msse3",
27464            ],
27465        },
27466    },
27467}
27468
27469// GN: //net:net_public_deps__testing
27470cc_library_static {
27471    name: "cronet_aml_net_net_public_deps__testing",
27472    shared_libs: [
27473        "libandroid",
27474        "liblog",
27475        "libprotobuf-cpp-lite",
27476        "libz",
27477    ],
27478    generated_headers: [
27479        "cronet_aml_base_allocator_buildflags__testing",
27480        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
27481        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
27482        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
27483        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
27484        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
27485        "cronet_aml_base_anchor_functions_buildflags__testing",
27486        "cronet_aml_base_build_date__testing",
27487        "cronet_aml_base_cfi_buildflags__testing",
27488        "cronet_aml_base_check_version_internal_action__testing",
27489        "cronet_aml_base_clang_profiling_buildflags__testing",
27490        "cronet_aml_base_debugging_buildflags__testing",
27491        "cronet_aml_base_feature_list_buildflags__testing",
27492        "cronet_aml_base_fuzzing_buildflags__testing",
27493        "cronet_aml_base_ios_cronet_buildflags__testing",
27494        "cronet_aml_base_logging_buildflags__testing",
27495        "cronet_aml_base_message_pump_buildflags__testing",
27496        "cronet_aml_base_orderfile_buildflags__testing",
27497        "cronet_aml_base_power_monitor_buildflags__testing",
27498        "cronet_aml_base_profiler_buildflags__testing",
27499        "cronet_aml_base_protected_memory_buildflags__testing",
27500        "cronet_aml_base_rust_buildflags__testing",
27501        "cronet_aml_base_sanitizer_buildflags__testing",
27502        "cronet_aml_base_synchronization_buildflags__testing",
27503        "cronet_aml_base_tracing_buildflags__testing",
27504        "cronet_aml_build_blink_buildflags__testing",
27505        "cronet_aml_build_branding_buildflags__testing",
27506        "cronet_aml_build_chromecast_buildflags__testing",
27507        "cronet_aml_build_chromeos_buildflags__testing",
27508        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
27509        "cronet_aml_build_ios_buildflags__testing",
27510        "cronet_aml_build_robolectric_buildflags__testing",
27511        "cronet_aml_crypto_buildflags__testing",
27512        "cronet_aml_net_buildflags__testing",
27513        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
27514        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
27515        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
27516        "cronet_aml_url_buildflags__testing",
27517        "cronet_aml_url_url_jni_headers__action__testing",
27518    ],
27519    export_generated_headers: [
27520        "cronet_aml_base_allocator_buildflags__testing",
27521        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
27522        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
27523        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
27524        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
27525        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
27526        "cronet_aml_base_anchor_functions_buildflags__testing",
27527        "cronet_aml_base_build_date__testing",
27528        "cronet_aml_base_cfi_buildflags__testing",
27529        "cronet_aml_base_check_version_internal_action__testing",
27530        "cronet_aml_base_clang_profiling_buildflags__testing",
27531        "cronet_aml_base_debugging_buildflags__testing",
27532        "cronet_aml_base_feature_list_buildflags__testing",
27533        "cronet_aml_base_fuzzing_buildflags__testing",
27534        "cronet_aml_base_ios_cronet_buildflags__testing",
27535        "cronet_aml_base_logging_buildflags__testing",
27536        "cronet_aml_base_message_pump_buildflags__testing",
27537        "cronet_aml_base_orderfile_buildflags__testing",
27538        "cronet_aml_base_power_monitor_buildflags__testing",
27539        "cronet_aml_base_profiler_buildflags__testing",
27540        "cronet_aml_base_protected_memory_buildflags__testing",
27541        "cronet_aml_base_rust_buildflags__testing",
27542        "cronet_aml_base_sanitizer_buildflags__testing",
27543        "cronet_aml_base_synchronization_buildflags__testing",
27544        "cronet_aml_base_tracing_buildflags__testing",
27545        "cronet_aml_build_blink_buildflags__testing",
27546        "cronet_aml_build_branding_buildflags__testing",
27547        "cronet_aml_build_chromecast_buildflags__testing",
27548        "cronet_aml_build_chromeos_buildflags__testing",
27549        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
27550        "cronet_aml_build_ios_buildflags__testing",
27551        "cronet_aml_build_robolectric_buildflags__testing",
27552        "cronet_aml_crypto_buildflags__testing",
27553        "cronet_aml_net_buildflags__testing",
27554        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
27555        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
27556        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
27557        "cronet_aml_url_buildflags__testing",
27558        "cronet_aml_url_url_jni_headers__action__testing",
27559    ],
27560    defaults: [
27561        "cronet_aml_cc_defaults",
27562    ],
27563    cflags: [
27564        "-DANDROID",
27565        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
27566        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
27567        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
27568        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
27569        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
27570        "-DGOOGLE_PROTOBUF_NO_RTTI",
27571        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
27572        "-DHAVE_PTHREAD",
27573        "-DHAVE_SYS_UIO_H",
27574        "-DNDEBUG",
27575        "-DNO_UNWIND_TABLES",
27576        "-DNVALGRIND",
27577        "-DOFFICIAL_BUILD",
27578        "-D_GNU_SOURCE",
27579        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
27580        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
27581        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
27582        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
27583        "-D__STDC_CONSTANT_MACROS",
27584        "-D__STDC_FORMAT_MACROS",
27585        "-fdata-sections",
27586        "-ffunction-sections",
27587        "-fno-asynchronous-unwind-tables",
27588        "-fno-unwind-tables",
27589        "-fstack-protector",
27590        "-fvisibility-inlines-hidden",
27591        "-fvisibility=hidden",
27592        "-g1",
27593    ],
27594    local_include_dirs: [
27595        "./",
27596        "base/allocator/partition_allocator/src/",
27597        "buildtools/third_party/libc++/",
27598        "net/third_party/quiche/overrides/",
27599        "net/third_party/quiche/src/",
27600        "net/third_party/quiche/src/quiche/common/platform/default/",
27601        "third_party/abseil-cpp/",
27602        "third_party/boringssl/src/include/",
27603        "third_party/libc++/src/include",
27604        "third_party/libc++abi/src/include",
27605        "third_party/protobuf/src/",
27606    ],
27607    cpp_std: "c++20",
27608    ldflags: [
27609        "-Wl,--as-needed",
27610        "-Wl,--gc-sections",
27611        "-Wl,--icf=all",
27612        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
27613        "-Wl,-wrap,asprintf",
27614        "-Wl,-wrap,calloc",
27615        "-Wl,-wrap,free",
27616        "-Wl,-wrap,getcwd",
27617        "-Wl,-wrap,malloc",
27618        "-Wl,-wrap,malloc_usable_size",
27619        "-Wl,-wrap,memalign",
27620        "-Wl,-wrap,posix_memalign",
27621        "-Wl,-wrap,pvalloc",
27622        "-Wl,-wrap,realloc",
27623        "-Wl,-wrap,realpath",
27624        "-Wl,-wrap,strdup",
27625        "-Wl,-wrap,strndup",
27626        "-Wl,-wrap,valloc",
27627        "-Wl,-wrap,vasprintf",
27628    ],
27629    target: {
27630        android_arm: {
27631            cflags: [
27632                "-D_FORTIFY_SOURCE=2",
27633            ],
27634        },
27635        android_arm64: {
27636            cflags: [
27637                "-D_FORTIFY_SOURCE=2",
27638                "-O2",
27639                "-mno-outline",
27640            ],
27641        },
27642        android_x86: {
27643            cflags: [
27644                "-D_FORTIFY_SOURCE=2",
27645                "-msse3",
27646            ],
27647        },
27648        android_x86_64: {
27649            cflags: [
27650                "-D_FORTIFY_SOURCE=2",
27651                "-msse3",
27652            ],
27653        },
27654    },
27655}
27656
27657// GN: //net:net_unittests__library__testing
27658cc_library_shared {
27659    name: "cronet_aml_net_net_unittests__library__testing",
27660    srcs: [
27661        "net/android/dummy_spnego_authenticator.cc",
27662        "net/android/http_auth_negotiate_android_unittest.cc",
27663        "net/android/network_change_notifier_android_unittest.cc",
27664        "net/android/network_library_unittest.cc",
27665        "net/android/traffic_stats_unittest.cc",
27666        "net/base/address_family_unittest.cc",
27667        "net/base/address_list_unittest.cc",
27668        "net/base/address_tracker_linux_unittest.cc",
27669        "net/base/backoff_entry_serializer_unittest.cc",
27670        "net/base/backoff_entry_unittest.cc",
27671        "net/base/chunked_upload_data_stream_unittest.cc",
27672        "net/base/data_url_unittest.cc",
27673        "net/base/datagram_buffer_unittest.cc",
27674        "net/base/elements_upload_data_stream_unittest.cc",
27675        "net/base/expiring_cache_unittest.cc",
27676        "net/base/file_stream_unittest.cc",
27677        "net/base/host_mapping_rules_unittest.cc",
27678        "net/base/host_port_pair_unittest.cc",
27679        "net/base/interval_test.cc",
27680        "net/base/ip_address_unittest.cc",
27681        "net/base/ip_endpoint_unittest.cc",
27682        "net/base/isolation_info_unittest.cc",
27683        "net/base/lookup_string_in_fixed_set_unittest.cc",
27684        "net/base/mime_sniffer_unittest.cc",
27685        "net/base/mime_util_unittest.cc",
27686        "net/base/net_errors_unittest.cc",
27687        "net/base/net_string_util_unittest.cc",
27688        "net/base/network_activity_monitor_unittest.cc",
27689        "net/base/network_anonymization_key_unittest.cc",
27690        "net/base/network_change_notifier_passive_unittest.cc",
27691        "net/base/network_change_notifier_unittest.cc",
27692        "net/base/network_delegate_unittest.cc",
27693        "net/base/network_interfaces_getifaddrs_unittest.cc",
27694        "net/base/network_interfaces_linux_unittest.cc",
27695        "net/base/network_interfaces_unittest.cc",
27696        "net/base/network_isolation_key_unittest.cc",
27697        "net/base/parse_number_unittest.cc",
27698        "net/base/port_util_unittest.cc",
27699        "net/base/prioritized_dispatcher_unittest.cc",
27700        "net/base/prioritized_task_runner_unittest.cc",
27701        "net/base/priority_queue_unittest.cc",
27702        "net/base/proxy_chain_unittest.cc",
27703        "net/base/proxy_server_unittest.cc",
27704        "net/base/proxy_string_util_unittest.cc",
27705        "net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc",
27706        "net/base/scheme_host_port_matcher_rule_unittest.cc",
27707        "net/base/scheme_host_port_matcher_unittest.cc",
27708        "net/base/schemeful_site_unittest.cc",
27709        "net/base/sockaddr_util_posix_unittest.cc",
27710        "net/base/test_completion_callback_unittest.cc",
27711        "net/base/test_proxy_delegate.cc",
27712        "net/base/upload_bytes_element_reader_unittest.cc",
27713        "net/base/upload_file_element_reader_unittest.cc",
27714        "net/base/url_search_params_unittest.cc",
27715        "net/cert/caching_cert_verifier_unittest.cc",
27716        "net/cert/cert_database_unittest.cc",
27717        "net/cert/cert_verifier_unittest.cc",
27718        "net/cert/cert_verify_proc_android_unittest.cc",
27719        "net/cert/cert_verify_proc_builtin_unittest.cc",
27720        "net/cert/cert_verify_proc_unittest.cc",
27721        "net/cert/coalescing_cert_verifier_unittest.cc",
27722        "net/cert/crl_set_unittest.cc",
27723        "net/cert/ct_log_response_parser_unittest.cc",
27724        "net/cert/ct_log_verifier_unittest.cc",
27725        "net/cert/ct_objects_extractor_unittest.cc",
27726        "net/cert/ct_serialization_unittest.cc",
27727        "net/cert/ev_root_ca_metadata_unittest.cc",
27728        "net/cert/internal/cert_issuer_source_aia_unittest.cc",
27729        "net/cert/internal/cert_issuer_source_sync_unittest.cc",
27730        "net/cert/internal/revocation_checker_unittest.cc",
27731        "net/cert/internal/system_trust_store_unittest.cc",
27732        "net/cert/known_roots_unittest.cc",
27733        "net/cert/merkle_audit_proof_unittest.cc",
27734        "net/cert/merkle_tree_leaf_unittest.cc",
27735        "net/cert/multi_log_ct_verifier_unittest.cc",
27736        "net/cert/multi_threaded_cert_verifier_unittest.cc",
27737        "net/cert/signed_certificate_timestamp_unittest.cc",
27738        "net/cert/symantec_certs_unittest.cc",
27739        "net/cert/test_root_certs_unittest.cc",
27740        "net/cert/time_conversions_unittest.cc",
27741        "net/cert/x509_cert_types_unittest.cc",
27742        "net/cert/x509_util_unittest.cc",
27743        "net/cert_net/cert_net_fetcher_url_request_unittest.cc",
27744        "net/cookies/canonical_cookie_unittest.cc",
27745        "net/cookies/cookie_constants_unittest.cc",
27746        "net/cookies/cookie_deletion_info_unittest.cc",
27747        "net/cookies/cookie_inclusion_status_unittest.cc",
27748        "net/cookies/cookie_monster_unittest.cc",
27749        "net/cookies/cookie_options_unittest.cc",
27750        "net/cookies/cookie_partition_key_collection_unittest.cc",
27751        "net/cookies/cookie_partition_key_unittest.cc",
27752        "net/cookies/cookie_util_unittest.cc",
27753        "net/cookies/parsed_cookie_unittest.cc",
27754        "net/cookies/site_for_cookies_unittest.cc",
27755        "net/cookies/static_cookie_policy_unittest.cc",
27756        "net/disk_cache/backend_cleanup_tracker_unittest.cc",
27757        "net/disk_cache/backend_unittest.cc",
27758        "net/disk_cache/blockfile/addr_unittest.cc",
27759        "net/disk_cache/blockfile/bitmap_unittest.cc",
27760        "net/disk_cache/blockfile/block_files_unittest.cc",
27761        "net/disk_cache/blockfile/mapped_file_unittest.cc",
27762        "net/disk_cache/blockfile/stats_unittest.cc",
27763        "net/disk_cache/blockfile/storage_block_unittest.cc",
27764        "net/disk_cache/cache_util_unittest.cc",
27765        "net/disk_cache/entry_unittest.cc",
27766        "net/disk_cache/simple/simple_file_enumerator_unittest.cc",
27767        "net/disk_cache/simple/simple_file_tracker_unittest.cc",
27768        "net/disk_cache/simple/simple_index_file_unittest.cc",
27769        "net/disk_cache/simple/simple_index_unittest.cc",
27770        "net/disk_cache/simple/simple_test_util.cc",
27771        "net/disk_cache/simple/simple_util_unittest.cc",
27772        "net/disk_cache/simple/simple_version_upgrade_unittest.cc",
27773        "net/filter/brotli_source_stream_unittest.cc",
27774        "net/filter/filter_source_stream_unittest.cc",
27775        "net/filter/gzip_source_stream_unittest.cc",
27776        "net/first_party_sets/addition_overlaps_union_find_unittest.cc",
27777        "net/first_party_sets/first_party_set_entry_override_unittest.cc",
27778        "net/first_party_sets/first_party_sets_cache_filter_unittest.cc",
27779        "net/first_party_sets/first_party_sets_context_config_unittest.cc",
27780        "net/first_party_sets/global_first_party_sets_unittest.cc",
27781        "net/first_party_sets/local_set_declaration_unittest.cc",
27782        "net/first_party_sets/sets_mutation_unittest.cc",
27783        "net/http/alternative_service_unittest.cc",
27784        "net/http/bidirectional_stream_unittest.cc",
27785        "net/http/broken_alternative_services_unittest.cc",
27786        "net/http/http_auth_cache_unittest.cc",
27787        "net/http/http_auth_challenge_tokenizer_unittest.cc",
27788        "net/http/http_auth_controller_unittest.cc",
27789        "net/http/http_auth_filter_unittest.cc",
27790        "net/http/http_auth_handler_basic_unittest.cc",
27791        "net/http/http_auth_handler_digest_unittest.cc",
27792        "net/http/http_auth_handler_factory_unittest.cc",
27793        "net/http/http_auth_handler_mock.cc",
27794        "net/http/http_auth_handler_negotiate_unittest.cc",
27795        "net/http/http_auth_handler_ntlm_portable_unittest.cc",
27796        "net/http/http_auth_handler_unittest.cc",
27797        "net/http/http_auth_multi_round_parse_unittest.cc",
27798        "net/http/http_auth_preferences_unittest.cc",
27799        "net/http/http_auth_unittest.cc",
27800        "net/http/http_basic_state_unittest.cc",
27801        "net/http/http_byte_range_unittest.cc",
27802        "net/http/http_cache_unittest.cc",
27803        "net/http/http_cache_writers_unittest.cc",
27804        "net/http/http_chunked_decoder_unittest.cc",
27805        "net/http/http_content_disposition_unittest.cc",
27806        "net/http/http_cookie_indices_unittest.cc",
27807        "net/http/http_log_util_unittest.cc",
27808        "net/http/http_network_layer_unittest.cc",
27809        "net/http/http_network_transaction_unittest.cc",
27810        "net/http/http_no_vary_search_data_unittest.cc",
27811        "net/http/http_proxy_client_socket_unittest.cc",
27812        "net/http/http_proxy_connect_job_unittest.cc",
27813        "net/http/http_request_headers_unittest.cc",
27814        "net/http/http_request_info_unittest.cc",
27815        "net/http/http_response_body_drainer_unittest.cc",
27816        "net/http/http_response_headers_unittest.cc",
27817        "net/http/http_response_info_unittest.cc",
27818        "net/http/http_security_headers_unittest.cc",
27819        "net/http/http_server_properties_manager_unittest.cc",
27820        "net/http/http_server_properties_unittest.cc",
27821        "net/http/http_status_code_unittest.cc",
27822        "net/http/http_stream_factory_job_controller_unittest.cc",
27823        "net/http/http_stream_factory_unittest.cc",
27824        "net/http/http_stream_parser_unittest.cc",
27825        "net/http/http_stream_request_unittest.cc",
27826        "net/http/http_transaction_test_util_unittest.cc",
27827        "net/http/http_util_unittest.cc",
27828        "net/http/http_vary_data_unittest.cc",
27829        "net/http/mock_allow_http_auth_preferences.cc",
27830        "net/http/test_upload_data_stream_not_allow_http1.cc",
27831        "net/http/transport_security_persister_unittest.cc",
27832        "net/http/transport_security_state_unittest.cc",
27833        "net/http/url_security_manager_unittest.cc",
27834        "net/log/file_net_log_observer_unittest.cc",
27835        "net/log/net_log_capture_mode_unittest.cc",
27836        "net/log/net_log_unittest.cc",
27837        "net/log/net_log_util_unittest.cc",
27838        "net/log/net_log_values_unittest.cc",
27839        "net/network_error_logging/mock_persistent_nel_store_unittest.cc",
27840        "net/network_error_logging/network_error_logging_service_unittest.cc",
27841        "net/nqe/effective_connection_type_unittest.cc",
27842        "net/nqe/event_creator_unittest.cc",
27843        "net/nqe/network_id_unittest.cc",
27844        "net/nqe/network_qualities_prefs_manager_unittest.cc",
27845        "net/nqe/network_quality_estimator_params_unittest.cc",
27846        "net/nqe/network_quality_estimator_unittest.cc",
27847        "net/nqe/network_quality_estimator_util_unittest.cc",
27848        "net/nqe/network_quality_store_unittest.cc",
27849        "net/nqe/observation_buffer_unittest.cc",
27850        "net/nqe/socket_watcher_unittest.cc",
27851        "net/nqe/throughput_analyzer_unittest.cc",
27852        "net/ntlm/ntlm_buffer_reader_unittest.cc",
27853        "net/ntlm/ntlm_buffer_writer_unittest.cc",
27854        "net/ntlm/ntlm_client_unittest.cc",
27855        "net/ntlm/ntlm_unittest.cc",
27856        "net/proxy_resolution/configured_proxy_resolution_service_unittest.cc",
27857        "net/proxy_resolution/multi_threaded_proxy_resolver_unittest.cc",
27858        "net/proxy_resolution/network_delegate_error_observer_unittest.cc",
27859        "net/proxy_resolution/pac_file_decider_unittest.cc",
27860        "net/proxy_resolution/pac_file_fetcher_impl_unittest.cc",
27861        "net/proxy_resolution/proxy_bypass_rules_unittest.cc",
27862        "net/proxy_resolution/proxy_config_service_android_unittest.cc",
27863        "net/proxy_resolution/proxy_config_unittest.cc",
27864        "net/proxy_resolution/proxy_info_unittest.cc",
27865        "net/proxy_resolution/proxy_list_unittest.cc",
27866        "net/quic/bidirectional_stream_quic_impl_unittest.cc",
27867        "net/quic/crypto/proof_test_chromium.cc",
27868        "net/quic/crypto/proof_verifier_chromium_test.cc",
27869        "net/quic/dedicated_web_transport_http3_client_test.cc",
27870        "net/quic/mock_quic_data.cc",
27871        "net/quic/network_connection_unittest.cc",
27872        "net/quic/platform/impl/quic_chromium_clock_test.cc",
27873        "net/quic/properties_based_quic_server_info_test.cc",
27874        "net/quic/quic_address_mismatch_test.cc",
27875        "net/quic/quic_chromium_alarm_factory_test.cc",
27876        "net/quic/quic_chromium_client_session_peer.cc",
27877        "net/quic/quic_chromium_client_session_test.cc",
27878        "net/quic/quic_chromium_client_stream_test.cc",
27879        "net/quic/quic_chromium_connection_helper_test.cc",
27880        "net/quic/quic_clock_skew_detector_test.cc",
27881        "net/quic/quic_end_to_end_unittest.cc",
27882        "net/quic/quic_http_stream_test.cc",
27883        "net/quic/quic_http_utils_test.cc",
27884        "net/quic/quic_network_transaction_unittest.cc",
27885        "net/quic/quic_proxy_client_socket_test_base.cc",
27886        "net/quic/quic_proxy_client_socket_unittest.cc",
27887        "net/quic/quic_proxy_datagram_client_socket_unittest.cc",
27888        "net/quic/quic_session_key_unittest.cc",
27889        "net/quic/quic_session_pool_peer.cc",
27890        "net/quic/quic_session_pool_proxy_job_unittest.cc",
27891        "net/quic/quic_session_pool_test.cc",
27892        "net/quic/quic_session_pool_test_base.cc",
27893        "net/quic/quic_test_packet_maker.cc",
27894        "net/quic/quic_test_packet_printer.cc",
27895        "net/quic/set_quic_flag_test.cc",
27896        "net/quic/test_quic_crypto_client_config_handle.cc",
27897        "net/reporting/mock_persistent_reporting_store_unittest.cc",
27898        "net/reporting/reporting_browsing_data_remover_unittest.cc",
27899        "net/reporting/reporting_cache_unittest.cc",
27900        "net/reporting/reporting_delivery_agent_unittest.cc",
27901        "net/reporting/reporting_endpoint_manager_unittest.cc",
27902        "net/reporting/reporting_garbage_collector_unittest.cc",
27903        "net/reporting/reporting_header_parser_unittest.cc",
27904        "net/reporting/reporting_network_change_observer_unittest.cc",
27905        "net/reporting/reporting_service_unittest.cc",
27906        "net/reporting/reporting_uploader_unittest.cc",
27907        "net/socket/client_socket_pool_base_unittest.cc",
27908        "net/socket/client_socket_pool_unittest.cc",
27909        "net/socket/connect_job_factory_unittest.cc",
27910        "net/socket/connect_job_params_factory_unittest.cc",
27911        "net/socket/connect_job_test_util.cc",
27912        "net/socket/connect_job_unittest.cc",
27913        "net/socket/mock_client_socket_pool_manager.cc",
27914        "net/socket/sequenced_socket_data_unittest.cc",
27915        "net/socket/socket_bio_adapter_unittest.cc",
27916        "net/socket/socket_tag_unittest.cc",
27917        "net/socket/socks5_client_socket_unittest.cc",
27918        "net/socket/socks_client_socket_unittest.cc",
27919        "net/socket/socks_connect_job_unittest.cc",
27920        "net/socket/ssl_client_socket_unittest.cc",
27921        "net/socket/ssl_connect_job_unittest.cc",
27922        "net/socket/ssl_server_socket_unittest.cc",
27923        "net/socket/tcp_client_socket_unittest.cc",
27924        "net/socket/tcp_server_socket_unittest.cc",
27925        "net/socket/tcp_socket_unittest.cc",
27926        "net/socket/transport_client_socket_pool_test_util.cc",
27927        "net/socket/transport_client_socket_pool_unittest.cc",
27928        "net/socket/transport_client_socket_unittest.cc",
27929        "net/socket/transport_connect_job_unittest.cc",
27930        "net/socket/udp_socket_unittest.cc",
27931        "net/socket/unix_domain_client_socket_posix_unittest.cc",
27932        "net/socket/unix_domain_server_socket_posix_unittest.cc",
27933        "net/socket/websocket_endpoint_lock_manager_unittest.cc",
27934        "net/socket/websocket_transport_client_socket_pool_unittest.cc",
27935        "net/spdy/alps_decoder_test.cc",
27936        "net/spdy/bidirectional_stream_spdy_impl_unittest.cc",
27937        "net/spdy/buffered_spdy_framer_unittest.cc",
27938        "net/spdy/fuzzing/hpack_fuzz_util_test.cc",
27939        "net/spdy/header_coalescer_test.cc",
27940        "net/spdy/http2_priority_dependencies_unittest.cc",
27941        "net/spdy/spdy_buffer_unittest.cc",
27942        "net/spdy/spdy_http_stream_unittest.cc",
27943        "net/spdy/spdy_http_utils_unittest.cc",
27944        "net/spdy/spdy_log_util_unittest.cc",
27945        "net/spdy/spdy_network_transaction_unittest.cc",
27946        "net/spdy/spdy_proxy_client_socket_unittest.cc",
27947        "net/spdy/spdy_read_queue_unittest.cc",
27948        "net/spdy/spdy_session_key_unittest.cc",
27949        "net/spdy/spdy_session_pool_unittest.cc",
27950        "net/spdy/spdy_session_test_util.cc",
27951        "net/spdy/spdy_session_unittest.cc",
27952        "net/spdy/spdy_stream_test_util.cc",
27953        "net/spdy/spdy_stream_unittest.cc",
27954        "net/spdy/spdy_write_queue_unittest.cc",
27955        "net/ssl/client_cert_identity_unittest.cc",
27956        "net/ssl/openssl_private_key_unittest.cc",
27957        "net/ssl/ssl_cipher_suite_names_unittest.cc",
27958        "net/ssl/ssl_client_auth_cache_unittest.cc",
27959        "net/ssl/ssl_client_session_cache_unittest.cc",
27960        "net/ssl/ssl_config_service_unittest.cc",
27961        "net/ssl/ssl_config_unittest.cc",
27962        "net/ssl/ssl_connection_status_flags_unittest.cc",
27963        "net/ssl/ssl_platform_key_android_unittest.cc",
27964        "net/ssl/ssl_platform_key_util_unittest.cc",
27965        "net/test/embedded_test_server/embedded_test_server_unittest.cc",
27966        "net/test/embedded_test_server/http_request_unittest.cc",
27967        "net/test/embedded_test_server/http_response_unittest.cc",
27968        "net/test/run_all_unittests.cc",
27969        "net/third_party/uri_template/uri_template_test.cc",
27970        "net/tools/content_decoder_tool/content_decoder_tool.cc",
27971        "net/tools/content_decoder_tool/content_decoder_tool_unittest.cc",
27972        "net/tools/quic/quic_simple_client_test.cc",
27973        "net/tools/tld_cleanup/tld_cleanup_util_unittest.cc",
27974        "net/url_request/http_with_dns_over_https_unittest.cc",
27975        "net/url_request/redirect_info_unittest.cc",
27976        "net/url_request/redirect_util_unittest.cc",
27977        "net/url_request/url_request_context_builder_unittest.cc",
27978        "net/url_request/url_request_filter_unittest.cc",
27979        "net/url_request/url_request_http_job_unittest.cc",
27980        "net/url_request/url_request_job_factory_unittest.cc",
27981        "net/url_request/url_request_quic_unittest.cc",
27982        "net/url_request/url_request_unittest.cc",
27983        "net/url_request/view_cache_helper_unittest.cc",
27984    ],
27985    shared_libs: [
27986        "libandroid",
27987        "liblog",
27988        "libz",
27989    ],
27990    whole_static_libs: [
27991        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base__testing",
27992        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core__testing",
27993        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim__testing",
27994        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr__testing",
27995        "cronet_aml_base_base__testing",
27996        "cronet_aml_base_base_static__testing",
27997        "cronet_aml_base_check_version_internal__testing",
27998        "cronet_aml_base_i18n__testing",
27999        "cronet_aml_base_nodebug_assertion__testing",
28000        "cronet_aml_base_test_proto_test_support__testing",
28001        "cronet_aml_base_test_test_config__testing",
28002        "cronet_aml_base_test_test_support__testing",
28003        "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
28004        "cronet_aml_buildtools_third_party_libc___libc____testing",
28005        "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
28006        "cronet_aml_components_miracle_parameter_common_common__testing",
28007        "cronet_aml_crypto_crypto__testing",
28008        "cronet_aml_crypto_test_support__testing",
28009        "cronet_aml_net_constants__testing",
28010        "cronet_aml_net_dns_dns__testing",
28011        "cronet_aml_net_dns_dns_client__testing",
28012        "cronet_aml_net_dns_host_resolver__testing",
28013        "cronet_aml_net_dns_host_resolver_manager__testing",
28014        "cronet_aml_net_dns_mdns_client__testing",
28015        "cronet_aml_net_dns_public_public__testing",
28016        "cronet_aml_net_dns_public_tests__testing",
28017        "cronet_aml_net_dns_test_support__testing",
28018        "cronet_aml_net_dns_tests__testing",
28019        "cronet_aml_net_gtest_util__testing",
28020        "cronet_aml_net_http_transport_security_state_generated_files__testing",
28021        "cronet_aml_net_isolation_info_proto__testing",
28022        "cronet_aml_net_net__testing",
28023        "cronet_aml_net_net_deps__testing",
28024        "cronet_aml_net_net_nqe_proto__testing",
28025        "cronet_aml_net_net_public_deps__testing",
28026        "cronet_aml_net_preload_decoder__testing",
28027        "cronet_aml_net_quic_test_flags_utils__testing",
28028        "cronet_aml_net_quic_test_tools__testing",
28029        "cronet_aml_net_simple_quic_tools__testing",
28030        "cronet_aml_net_spdy_test_tools__testing",
28031        "cronet_aml_net_test_support__testing",
28032        "cronet_aml_net_third_party_quiche_blind_sign_auth__testing",
28033        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto__testing",
28034        "cronet_aml_net_third_party_quiche_blind_sign_auth_test_support__testing",
28035        "cronet_aml_net_third_party_quiche_net_quic_proto__testing",
28036        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing",
28037        "cronet_aml_net_third_party_quiche_quiche__testing",
28038        "cronet_aml_net_third_party_quiche_quiche_test_support__testing",
28039        "cronet_aml_net_third_party_quiche_quiche_tests__testing",
28040        "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
28041        "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing",
28042        "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing",
28043        "cronet_aml_net_traffic_annotation_test_support__testing",
28044        "cronet_aml_net_traffic_annotation_traffic_annotation__testing",
28045        "cronet_aml_net_uri_template__testing",
28046        "cronet_aml_testing_android_native_test_native_test_native_code__testing",
28047        "cronet_aml_testing_android_native_test_native_test_support__testing",
28048        "cronet_aml_testing_gmock_gmock__testing",
28049        "cronet_aml_testing_gtest_gtest__testing",
28050        "cronet_aml_third_party_abseil_cpp_absl__testing",
28051        "cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
28052        "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
28053        "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
28054        "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
28055        "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
28056        "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
28057        "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
28058        "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
28059        "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
28060        "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing",
28061        "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing",
28062        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing",
28063        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing",
28064        "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
28065        "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
28066        "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
28067        "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
28068        "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
28069        "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
28070        "cronet_aml_third_party_abseil_cpp_absl_flags_commandlineflag__testing",
28071        "cronet_aml_third_party_abseil_cpp_absl_flags_commandlineflag_internal__testing",
28072        "cronet_aml_third_party_abseil_cpp_absl_flags_config__testing",
28073        "cronet_aml_third_party_abseil_cpp_absl_flags_flag_internal__testing",
28074        "cronet_aml_third_party_abseil_cpp_absl_flags_marshalling__testing",
28075        "cronet_aml_third_party_abseil_cpp_absl_flags_parse__testing",
28076        "cronet_aml_third_party_abseil_cpp_absl_flags_private_handle_accessor__testing",
28077        "cronet_aml_third_party_abseil_cpp_absl_flags_program_name__testing",
28078        "cronet_aml_third_party_abseil_cpp_absl_flags_reflection__testing",
28079        "cronet_aml_third_party_abseil_cpp_absl_flags_usage__testing",
28080        "cronet_aml_third_party_abseil_cpp_absl_flags_usage_internal__testing",
28081        "cronet_aml_third_party_abseil_cpp_absl_full__testing",
28082        "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
28083        "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
28084        "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
28085        "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing",
28086        "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing",
28087        "cronet_aml_third_party_abseil_cpp_absl_log_initialize__testing",
28088        "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing",
28089        "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing",
28090        "cronet_aml_third_party_abseil_cpp_absl_log_internal_fnmatch__testing",
28091        "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing",
28092        "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing",
28093        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing",
28094        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing",
28095        "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing",
28096        "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing",
28097        "cronet_aml_third_party_abseil_cpp_absl_log_internal_vlog_config__testing",
28098        "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing",
28099        "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing",
28100        "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
28101        "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
28102        "cronet_aml_third_party_abseil_cpp_absl_random_bit_gen_ref__testing",
28103        "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
28104        "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base__testing",
28105        "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
28106        "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
28107        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
28108        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine__testing",
28109        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
28110        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
28111        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
28112        "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
28113        "cronet_aml_third_party_abseil_cpp_absl_random_random__testing",
28114        "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
28115        "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
28116        "cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
28117        "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
28118        "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
28119        "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
28120        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
28121        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
28122        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
28123        "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
28124        "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
28125        "cronet_aml_third_party_abseil_cpp_absl_strings_string_view__testing",
28126        "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
28127        "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
28128        "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing",
28129        "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
28130        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
28131        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
28132        "cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
28133        "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
28134        "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
28135        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto__testing",
28136        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_pb_openssl_converters__testing",
28137        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_public_key_client__testing",
28138        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_redemption_client__testing",
28139        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_rsa_bssa_client__testing",
28140        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_test_support__testing",
28141        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_tests__testing",
28142        "cronet_aml_third_party_anonymous_tokens_blind_signer__testing",
28143        "cronet_aml_third_party_anonymous_tokens_blinder__testing",
28144        "cronet_aml_third_party_anonymous_tokens_constants__testing",
28145        "cronet_aml_third_party_anonymous_tokens_crypto_utils__testing",
28146        "cronet_aml_third_party_anonymous_tokens_proto_utils__testing",
28147        "cronet_aml_third_party_anonymous_tokens_rsa_blind_signer__testing",
28148        "cronet_aml_third_party_anonymous_tokens_rsa_blinder__testing",
28149        "cronet_aml_third_party_anonymous_tokens_rsa_bssa_public_metadata_client__testing",
28150        "cronet_aml_third_party_anonymous_tokens_rsa_ssa_pss_verifier__testing",
28151        "cronet_aml_third_party_anonymous_tokens_status_utils__testing",
28152        "cronet_aml_third_party_anonymous_tokens_tokens_encodings__testing",
28153        "cronet_aml_third_party_anonymous_tokens_verifier__testing",
28154        "cronet_aml_third_party_ashmem_ashmem__testing",
28155        "cronet_aml_third_party_boringssl_boringssl__testing",
28156        "cronet_aml_third_party_boringssl_boringssl_asm__testing",
28157        "cronet_aml_third_party_brotli_common__testing",
28158        "cronet_aml_third_party_brotli_dec__testing",
28159        "cronet_aml_third_party_ced_ced__testing",
28160        "cronet_aml_third_party_cpu_features_cpuinfo__testing",
28161        "cronet_aml_third_party_cpu_features_ndk_compat__testing",
28162        "cronet_aml_third_party_google_benchmark_google_benchmark__testing",
28163        "cronet_aml_third_party_googletest_gmock__testing",
28164        "cronet_aml_third_party_googletest_gtest__testing",
28165        "cronet_aml_third_party_icu_icui18n__testing",
28166        "cronet_aml_third_party_icu_icuuc_private__testing",
28167        "cronet_aml_third_party_jni_zero_jni_zero__testing",
28168        "cronet_aml_third_party_libevent_libevent__testing",
28169        "cronet_aml_third_party_libxml_libxml__testing",
28170        "cronet_aml_third_party_libxml_libxml_utils__testing",
28171        "cronet_aml_third_party_libxml_xml_reader__testing",
28172        "cronet_aml_third_party_modp_b64_modp_b64__testing",
28173        "cronet_aml_third_party_protobuf_protobuf_full__testing",
28174        "cronet_aml_third_party_protobuf_protobuf_lite__testing",
28175        "cronet_aml_third_party_quic_trace_quic_trace_proto__testing",
28176        "cronet_aml_third_party_re2_re2__testing",
28177        "cronet_aml_url_url__testing",
28178    ],
28179    generated_headers: [
28180        "cronet_aml_build_chromeos_buildflags__testing",
28181        "cronet_aml_net_android_net_test_support_jni__action__testing",
28182        "cronet_aml_net_android_net_test_support_provider_jni__action__testing",
28183        "cronet_aml_net_android_net_tests_jni__action__testing",
28184        "cronet_aml_net_base_registry_controlled_domains_lookup_strings_test_sets__testing",
28185        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
28186        "cronet_aml_net_cronet_buildflags__testing",
28187        "cronet_aml_net_http_transport_security_state_unittest_data__testing",
28188        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
28189        "cronet_aml_net_net_jni_headers__action__testing",
28190        "cronet_aml_url_buildflags__testing",
28191    ],
28192    defaults: [
28193        "cronet_aml_cc_defaults",
28194    ],
28195    cflags: [
28196        "-DANDROID",
28197        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
28198        "-DBENCHMARK_STATIC_DEFINE",
28199        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
28200        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
28201        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28202        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
28203        "-DGOOGLE_PROTOBUF_NO_RTTI",
28204        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
28205        "-DGTEST_API_=",
28206        "-DGTEST_HAS_ABSL",
28207        "-DGTEST_HAS_POSIX_RE=0",
28208        "-DGTEST_HAS_TR1_TUPLE=0",
28209        "-DGTEST_LANG_CXX11=1",
28210        "-DGTEST_NO_ABSL_FLAGS",
28211        "-DHAVE_PTHREAD",
28212        "-DHAVE_SYS_UIO_H",
28213        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
28214        "-DNDEBUG",
28215        "-DNO_UNWIND_TABLES",
28216        "-DNVALGRIND",
28217        "-DOFFICIAL_BUILD",
28218        "-DUNIT_TEST",
28219        "-DUSE_CHROMIUM_ICU=1",
28220        "-DUSE_REMOTE_TEST_SERVER",
28221        "-DU_ENABLE_DYLOAD=0",
28222        "-DU_ENABLE_RESOURCE_TRACING=0",
28223        "-DU_ENABLE_TRACING=1",
28224        "-DU_STATIC_IMPLEMENTATION",
28225        "-DU_USING_ICU_NAMESPACE=0",
28226        "-D_GNU_SOURCE",
28227        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28228        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
28229        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28230        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
28231        "-D__STDC_CONSTANT_MACROS",
28232        "-D__STDC_FORMAT_MACROS",
28233        "-fdata-sections",
28234        "-ffunction-sections",
28235        "-fno-asynchronous-unwind-tables",
28236        "-fno-unwind-tables",
28237        "-fstack-protector",
28238        "-fvisibility-inlines-hidden",
28239        "-fvisibility=hidden",
28240        "-g1",
28241    ],
28242    local_include_dirs: [
28243        "./",
28244        "base/allocator/partition_allocator/src/",
28245        "buildtools/third_party/libc++/",
28246        "net/third_party/quiche/overrides/",
28247        "net/third_party/quiche/src/",
28248        "net/third_party/quiche/src/quiche/common/platform/default/",
28249        "third_party/abseil-cpp/",
28250        "third_party/anonymous_tokens/overrides/",
28251        "third_party/anonymous_tokens/src/",
28252        "third_party/boringssl/src/include/",
28253        "third_party/ced/src/",
28254        "third_party/google_benchmark/src/include/",
28255        "third_party/googletest/custom/",
28256        "third_party/googletest/src/googlemock/include/",
28257        "third_party/googletest/src/googletest/include/",
28258        "third_party/icu/source/common/",
28259        "third_party/icu/source/i18n/",
28260        "third_party/libc++/src/include",
28261        "third_party/libc++abi/src/include",
28262        "third_party/protobuf/src/",
28263        "third_party/re2/src/",
28264    ],
28265    cpp_std: "c++20",
28266    ldflags: [
28267        "-Wl,--as-needed",
28268        "-Wl,--gc-sections",
28269        "-Wl,--icf=all",
28270        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
28271        "-Wl,-wrap,asprintf",
28272        "-Wl,-wrap,calloc",
28273        "-Wl,-wrap,free",
28274        "-Wl,-wrap,getcwd",
28275        "-Wl,-wrap,malloc",
28276        "-Wl,-wrap,malloc_usable_size",
28277        "-Wl,-wrap,memalign",
28278        "-Wl,-wrap,posix_memalign",
28279        "-Wl,-wrap,pvalloc",
28280        "-Wl,-wrap,realloc",
28281        "-Wl,-wrap,realpath",
28282        "-Wl,-wrap,strdup",
28283        "-Wl,-wrap,strndup",
28284        "-Wl,-wrap,valloc",
28285        "-Wl,-wrap,vasprintf",
28286    ],
28287    stem: "libnet_unittests__library",
28288    visibility: [
28289        "//external/cronet:__subpackages__",
28290        "//packages/modules/Connectivity:__subpackages__",
28291    ],
28292    target: {
28293        android_arm: {
28294            cflags: [
28295                "-D_FORTIFY_SOURCE=2",
28296            ],
28297        },
28298        android_arm64: {
28299            cflags: [
28300                "-D_FORTIFY_SOURCE=2",
28301                "-O2",
28302                "-mno-outline",
28303            ],
28304        },
28305        android_x86: {
28306            cflags: [
28307                "-D_FORTIFY_SOURCE=2",
28308                "-msse3",
28309            ],
28310        },
28311        android_x86_64: {
28312            cflags: [
28313                "-D_FORTIFY_SOURCE=2",
28314                "-msse3",
28315            ],
28316        },
28317    },
28318}
28319
28320// GN: //net:preload_decoder
28321cc_library_static {
28322    name: "cronet_aml_net_preload_decoder",
28323    srcs: [
28324        "net/extras/preload_data/decoder.cc",
28325    ],
28326    shared_libs: [
28327        "//external/cronet/third_party/boringssl:libcrypto",
28328        "//external/cronet/third_party/boringssl:libpki",
28329        "//external/cronet/third_party/boringssl:libssl",
28330        "libandroid",
28331        "liblog",
28332    ],
28333    generated_headers: [
28334        "cronet_aml_base_allocator_buildflags",
28335        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
28336        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
28337        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
28338        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
28339        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
28340        "cronet_aml_base_anchor_functions_buildflags",
28341        "cronet_aml_base_android_runtime_jni_headers__action",
28342        "cronet_aml_base_base_jni__action",
28343        "cronet_aml_base_base_shared_preferences_jni__action",
28344        "cronet_aml_base_build_date",
28345        "cronet_aml_base_cfi_buildflags",
28346        "cronet_aml_base_check_version_internal_action",
28347        "cronet_aml_base_clang_profiling_buildflags",
28348        "cronet_aml_base_debugging_buildflags",
28349        "cronet_aml_base_feature_list_buildflags",
28350        "cronet_aml_base_fuzzing_buildflags",
28351        "cronet_aml_base_ios_cronet_buildflags",
28352        "cronet_aml_base_logging_buildflags",
28353        "cronet_aml_base_message_pump_buildflags",
28354        "cronet_aml_base_orderfile_buildflags",
28355        "cronet_aml_base_power_monitor_buildflags",
28356        "cronet_aml_base_process_launcher_jni__action",
28357        "cronet_aml_base_profiler_buildflags",
28358        "cronet_aml_base_protected_memory_buildflags",
28359        "cronet_aml_base_rust_buildflags",
28360        "cronet_aml_base_sanitizer_buildflags",
28361        "cronet_aml_base_synchronization_buildflags",
28362        "cronet_aml_base_tracing_buildflags",
28363        "cronet_aml_build_blink_buildflags",
28364        "cronet_aml_build_branding_buildflags",
28365        "cronet_aml_build_chromecast_buildflags",
28366        "cronet_aml_build_chromeos_buildflags",
28367        "cronet_aml_build_config_compiler_compiler_buildflags",
28368        "cronet_aml_build_ios_buildflags",
28369        "cronet_aml_build_robolectric_buildflags",
28370    ],
28371    export_generated_headers: [
28372        "cronet_aml_base_allocator_buildflags",
28373        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
28374        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
28375        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
28376        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
28377        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
28378        "cronet_aml_base_anchor_functions_buildflags",
28379        "cronet_aml_base_android_runtime_jni_headers__action",
28380        "cronet_aml_base_base_jni__action",
28381        "cronet_aml_base_base_shared_preferences_jni__action",
28382        "cronet_aml_base_build_date",
28383        "cronet_aml_base_cfi_buildflags",
28384        "cronet_aml_base_check_version_internal_action",
28385        "cronet_aml_base_clang_profiling_buildflags",
28386        "cronet_aml_base_debugging_buildflags",
28387        "cronet_aml_base_feature_list_buildflags",
28388        "cronet_aml_base_fuzzing_buildflags",
28389        "cronet_aml_base_ios_cronet_buildflags",
28390        "cronet_aml_base_logging_buildflags",
28391        "cronet_aml_base_message_pump_buildflags",
28392        "cronet_aml_base_orderfile_buildflags",
28393        "cronet_aml_base_power_monitor_buildflags",
28394        "cronet_aml_base_process_launcher_jni__action",
28395        "cronet_aml_base_profiler_buildflags",
28396        "cronet_aml_base_protected_memory_buildflags",
28397        "cronet_aml_base_rust_buildflags",
28398        "cronet_aml_base_sanitizer_buildflags",
28399        "cronet_aml_base_synchronization_buildflags",
28400        "cronet_aml_base_tracing_buildflags",
28401        "cronet_aml_build_blink_buildflags",
28402        "cronet_aml_build_branding_buildflags",
28403        "cronet_aml_build_chromecast_buildflags",
28404        "cronet_aml_build_chromeos_buildflags",
28405        "cronet_aml_build_config_compiler_compiler_buildflags",
28406        "cronet_aml_build_ios_buildflags",
28407        "cronet_aml_build_robolectric_buildflags",
28408    ],
28409    defaults: [
28410        "cronet_aml_cc_defaults",
28411    ],
28412    cflags: [
28413        "-DANDROID",
28414        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
28415        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
28416        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
28417        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28418        "-DHAVE_SYS_UIO_H",
28419        "-DNDEBUG",
28420        "-DNO_UNWIND_TABLES",
28421        "-DNVALGRIND",
28422        "-DOFFICIAL_BUILD",
28423        "-D_GNU_SOURCE",
28424        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28425        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
28426        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28427        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
28428        "-D__STDC_CONSTANT_MACROS",
28429        "-D__STDC_FORMAT_MACROS",
28430        "-fdata-sections",
28431        "-ffunction-sections",
28432        "-fno-asynchronous-unwind-tables",
28433        "-fno-unwind-tables",
28434        "-fstack-protector",
28435        "-fvisibility-inlines-hidden",
28436        "-fvisibility=hidden",
28437        "-g1",
28438    ],
28439    local_include_dirs: [
28440        "./",
28441        "base/allocator/partition_allocator/src/",
28442        "buildtools/third_party/libc++/",
28443        "third_party/abseil-cpp/",
28444        "third_party/boringssl/src/include/",
28445        "third_party/libc++/src/include",
28446        "third_party/libc++abi/src/include",
28447    ],
28448    cpp_std: "c++20",
28449    ldflags: [
28450        "-Wl,--as-needed",
28451        "-Wl,--gc-sections",
28452        "-Wl,--icf=all",
28453        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
28454        "-Wl,-wrap,asprintf",
28455        "-Wl,-wrap,calloc",
28456        "-Wl,-wrap,free",
28457        "-Wl,-wrap,getcwd",
28458        "-Wl,-wrap,malloc",
28459        "-Wl,-wrap,malloc_usable_size",
28460        "-Wl,-wrap,memalign",
28461        "-Wl,-wrap,posix_memalign",
28462        "-Wl,-wrap,pvalloc",
28463        "-Wl,-wrap,realloc",
28464        "-Wl,-wrap,realpath",
28465        "-Wl,-wrap,strdup",
28466        "-Wl,-wrap,strndup",
28467        "-Wl,-wrap,valloc",
28468        "-Wl,-wrap,vasprintf",
28469    ],
28470    target: {
28471        android_arm: {
28472            cflags: [
28473                "-D_FORTIFY_SOURCE=2",
28474            ],
28475        },
28476        android_arm64: {
28477            cflags: [
28478                "-D_FORTIFY_SOURCE=2",
28479                "-O2",
28480                "-mno-outline",
28481            ],
28482        },
28483        android_x86: {
28484            cflags: [
28485                "-D_FORTIFY_SOURCE=2",
28486                "-msse3",
28487            ],
28488        },
28489        android_x86_64: {
28490            cflags: [
28491                "-D_FORTIFY_SOURCE=2",
28492                "-msse3",
28493            ],
28494        },
28495    },
28496}
28497
28498// GN: //net:preload_decoder__testing
28499cc_library_static {
28500    name: "cronet_aml_net_preload_decoder__testing",
28501    srcs: [
28502        "net/extras/preload_data/decoder.cc",
28503    ],
28504    shared_libs: [
28505        "libandroid",
28506        "liblog",
28507    ],
28508    generated_headers: [
28509        "cronet_aml_base_allocator_buildflags__testing",
28510        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
28511        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
28512        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
28513        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
28514        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
28515        "cronet_aml_base_anchor_functions_buildflags__testing",
28516        "cronet_aml_base_build_date__testing",
28517        "cronet_aml_base_cfi_buildflags__testing",
28518        "cronet_aml_base_check_version_internal_action__testing",
28519        "cronet_aml_base_clang_profiling_buildflags__testing",
28520        "cronet_aml_base_debugging_buildflags__testing",
28521        "cronet_aml_base_feature_list_buildflags__testing",
28522        "cronet_aml_base_fuzzing_buildflags__testing",
28523        "cronet_aml_base_ios_cronet_buildflags__testing",
28524        "cronet_aml_base_logging_buildflags__testing",
28525        "cronet_aml_base_message_pump_buildflags__testing",
28526        "cronet_aml_base_orderfile_buildflags__testing",
28527        "cronet_aml_base_power_monitor_buildflags__testing",
28528        "cronet_aml_base_profiler_buildflags__testing",
28529        "cronet_aml_base_protected_memory_buildflags__testing",
28530        "cronet_aml_base_rust_buildflags__testing",
28531        "cronet_aml_base_sanitizer_buildflags__testing",
28532        "cronet_aml_base_synchronization_buildflags__testing",
28533        "cronet_aml_base_tracing_buildflags__testing",
28534        "cronet_aml_build_blink_buildflags__testing",
28535        "cronet_aml_build_branding_buildflags__testing",
28536        "cronet_aml_build_chromecast_buildflags__testing",
28537        "cronet_aml_build_chromeos_buildflags__testing",
28538        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
28539        "cronet_aml_build_ios_buildflags__testing",
28540    ],
28541    export_generated_headers: [
28542        "cronet_aml_base_allocator_buildflags__testing",
28543        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
28544        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
28545        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
28546        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
28547        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
28548        "cronet_aml_base_anchor_functions_buildflags__testing",
28549        "cronet_aml_base_build_date__testing",
28550        "cronet_aml_base_cfi_buildflags__testing",
28551        "cronet_aml_base_check_version_internal_action__testing",
28552        "cronet_aml_base_clang_profiling_buildflags__testing",
28553        "cronet_aml_base_debugging_buildflags__testing",
28554        "cronet_aml_base_feature_list_buildflags__testing",
28555        "cronet_aml_base_fuzzing_buildflags__testing",
28556        "cronet_aml_base_ios_cronet_buildflags__testing",
28557        "cronet_aml_base_logging_buildflags__testing",
28558        "cronet_aml_base_message_pump_buildflags__testing",
28559        "cronet_aml_base_orderfile_buildflags__testing",
28560        "cronet_aml_base_power_monitor_buildflags__testing",
28561        "cronet_aml_base_profiler_buildflags__testing",
28562        "cronet_aml_base_protected_memory_buildflags__testing",
28563        "cronet_aml_base_rust_buildflags__testing",
28564        "cronet_aml_base_sanitizer_buildflags__testing",
28565        "cronet_aml_base_synchronization_buildflags__testing",
28566        "cronet_aml_base_tracing_buildflags__testing",
28567        "cronet_aml_build_blink_buildflags__testing",
28568        "cronet_aml_build_branding_buildflags__testing",
28569        "cronet_aml_build_chromecast_buildflags__testing",
28570        "cronet_aml_build_chromeos_buildflags__testing",
28571        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
28572        "cronet_aml_build_ios_buildflags__testing",
28573    ],
28574    defaults: [
28575        "cronet_aml_cc_defaults",
28576    ],
28577    cflags: [
28578        "-DANDROID",
28579        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
28580        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
28581        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
28582        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28583        "-DHAVE_SYS_UIO_H",
28584        "-DNDEBUG",
28585        "-DNO_UNWIND_TABLES",
28586        "-DNVALGRIND",
28587        "-DOFFICIAL_BUILD",
28588        "-D_GNU_SOURCE",
28589        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28590        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
28591        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28592        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
28593        "-D__STDC_CONSTANT_MACROS",
28594        "-D__STDC_FORMAT_MACROS",
28595        "-fdata-sections",
28596        "-ffunction-sections",
28597        "-fno-asynchronous-unwind-tables",
28598        "-fno-unwind-tables",
28599        "-fstack-protector",
28600        "-fvisibility-inlines-hidden",
28601        "-fvisibility=hidden",
28602        "-g1",
28603    ],
28604    local_include_dirs: [
28605        "./",
28606        "base/allocator/partition_allocator/src/",
28607        "buildtools/third_party/libc++/",
28608        "third_party/abseil-cpp/",
28609        "third_party/boringssl/src/include/",
28610        "third_party/libc++/src/include",
28611        "third_party/libc++abi/src/include",
28612    ],
28613    cpp_std: "c++20",
28614    ldflags: [
28615        "-Wl,--as-needed",
28616        "-Wl,--gc-sections",
28617        "-Wl,--icf=all",
28618        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
28619        "-Wl,-wrap,asprintf",
28620        "-Wl,-wrap,calloc",
28621        "-Wl,-wrap,free",
28622        "-Wl,-wrap,getcwd",
28623        "-Wl,-wrap,malloc",
28624        "-Wl,-wrap,malloc_usable_size",
28625        "-Wl,-wrap,memalign",
28626        "-Wl,-wrap,posix_memalign",
28627        "-Wl,-wrap,pvalloc",
28628        "-Wl,-wrap,realloc",
28629        "-Wl,-wrap,realpath",
28630        "-Wl,-wrap,strdup",
28631        "-Wl,-wrap,strndup",
28632        "-Wl,-wrap,valloc",
28633        "-Wl,-wrap,vasprintf",
28634    ],
28635    target: {
28636        android_arm: {
28637            cflags: [
28638                "-D_FORTIFY_SOURCE=2",
28639            ],
28640        },
28641        android_arm64: {
28642            cflags: [
28643                "-D_FORTIFY_SOURCE=2",
28644                "-O2",
28645                "-mno-outline",
28646            ],
28647        },
28648        android_x86: {
28649            cflags: [
28650                "-D_FORTIFY_SOURCE=2",
28651                "-msse3",
28652            ],
28653        },
28654        android_x86_64: {
28655            cflags: [
28656                "-D_FORTIFY_SOURCE=2",
28657                "-msse3",
28658            ],
28659        },
28660    },
28661}
28662
28663// GN: //net:quic_test_flags_utils__testing
28664cc_library_static {
28665    name: "cronet_aml_net_quic_test_flags_utils__testing",
28666    srcs: [
28667        "net/quic/platform/impl/quic_test_flags_utils.cc",
28668    ],
28669    shared_libs: [
28670        "libandroid",
28671        "liblog",
28672        "libprotobuf-cpp-lite",
28673        "libz",
28674    ],
28675    generated_headers: [
28676        "cronet_aml_base_allocator_buildflags__testing",
28677        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
28678        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
28679        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
28680        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
28681        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
28682        "cronet_aml_base_anchor_functions_buildflags__testing",
28683        "cronet_aml_base_build_date__testing",
28684        "cronet_aml_base_cfi_buildflags__testing",
28685        "cronet_aml_base_check_version_internal_action__testing",
28686        "cronet_aml_base_clang_profiling_buildflags__testing",
28687        "cronet_aml_base_debugging_buildflags__testing",
28688        "cronet_aml_base_feature_list_buildflags__testing",
28689        "cronet_aml_base_fuzzing_buildflags__testing",
28690        "cronet_aml_base_ios_cronet_buildflags__testing",
28691        "cronet_aml_base_logging_buildflags__testing",
28692        "cronet_aml_base_message_pump_buildflags__testing",
28693        "cronet_aml_base_orderfile_buildflags__testing",
28694        "cronet_aml_base_power_monitor_buildflags__testing",
28695        "cronet_aml_base_profiler_buildflags__testing",
28696        "cronet_aml_base_protected_memory_buildflags__testing",
28697        "cronet_aml_base_rust_buildflags__testing",
28698        "cronet_aml_base_sanitizer_buildflags__testing",
28699        "cronet_aml_base_synchronization_buildflags__testing",
28700        "cronet_aml_base_tracing_buildflags__testing",
28701        "cronet_aml_build_blink_buildflags__testing",
28702        "cronet_aml_build_branding_buildflags__testing",
28703        "cronet_aml_build_chromecast_buildflags__testing",
28704        "cronet_aml_build_chromeos_buildflags__testing",
28705        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
28706        "cronet_aml_build_ios_buildflags__testing",
28707        "cronet_aml_build_robolectric_buildflags__testing",
28708        "cronet_aml_crypto_buildflags__testing",
28709        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
28710        "cronet_aml_net_buildflags__testing",
28711        "cronet_aml_net_cronet_buildflags__testing",
28712        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
28713        "cronet_aml_net_net_jni_headers__action__testing",
28714        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
28715        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
28716        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
28717        "cronet_aml_url_buildflags__testing",
28718        "cronet_aml_url_url_jni_headers__action__testing",
28719    ],
28720    export_generated_headers: [
28721        "cronet_aml_base_allocator_buildflags__testing",
28722        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
28723        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
28724        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
28725        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
28726        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
28727        "cronet_aml_base_anchor_functions_buildflags__testing",
28728        "cronet_aml_base_build_date__testing",
28729        "cronet_aml_base_cfi_buildflags__testing",
28730        "cronet_aml_base_check_version_internal_action__testing",
28731        "cronet_aml_base_clang_profiling_buildflags__testing",
28732        "cronet_aml_base_debugging_buildflags__testing",
28733        "cronet_aml_base_feature_list_buildflags__testing",
28734        "cronet_aml_base_fuzzing_buildflags__testing",
28735        "cronet_aml_base_ios_cronet_buildflags__testing",
28736        "cronet_aml_base_logging_buildflags__testing",
28737        "cronet_aml_base_message_pump_buildflags__testing",
28738        "cronet_aml_base_orderfile_buildflags__testing",
28739        "cronet_aml_base_power_monitor_buildflags__testing",
28740        "cronet_aml_base_profiler_buildflags__testing",
28741        "cronet_aml_base_protected_memory_buildflags__testing",
28742        "cronet_aml_base_rust_buildflags__testing",
28743        "cronet_aml_base_sanitizer_buildflags__testing",
28744        "cronet_aml_base_synchronization_buildflags__testing",
28745        "cronet_aml_base_tracing_buildflags__testing",
28746        "cronet_aml_build_blink_buildflags__testing",
28747        "cronet_aml_build_branding_buildflags__testing",
28748        "cronet_aml_build_chromecast_buildflags__testing",
28749        "cronet_aml_build_chromeos_buildflags__testing",
28750        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
28751        "cronet_aml_build_ios_buildflags__testing",
28752        "cronet_aml_build_robolectric_buildflags__testing",
28753        "cronet_aml_crypto_buildflags__testing",
28754        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
28755        "cronet_aml_net_buildflags__testing",
28756        "cronet_aml_net_cronet_buildflags__testing",
28757        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
28758        "cronet_aml_net_net_jni_headers__action__testing",
28759        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
28760        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
28761        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
28762        "cronet_aml_url_buildflags__testing",
28763        "cronet_aml_url_url_jni_headers__action__testing",
28764    ],
28765    defaults: [
28766        "cronet_aml_cc_defaults",
28767    ],
28768    cflags: [
28769        "-DANDROID",
28770        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
28771        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
28772        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
28773        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28774        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
28775        "-DGOOGLE_PROTOBUF_NO_RTTI",
28776        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
28777        "-DHAVE_PTHREAD",
28778        "-DHAVE_SYS_UIO_H",
28779        "-DNDEBUG",
28780        "-DNO_UNWIND_TABLES",
28781        "-DNVALGRIND",
28782        "-DOFFICIAL_BUILD",
28783        "-D_GNU_SOURCE",
28784        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28785        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
28786        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28787        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
28788        "-D__STDC_CONSTANT_MACROS",
28789        "-D__STDC_FORMAT_MACROS",
28790        "-fdata-sections",
28791        "-ffunction-sections",
28792        "-fno-asynchronous-unwind-tables",
28793        "-fno-unwind-tables",
28794        "-fstack-protector",
28795        "-fvisibility-inlines-hidden",
28796        "-fvisibility=hidden",
28797        "-g1",
28798    ],
28799    local_include_dirs: [
28800        "./",
28801        "base/allocator/partition_allocator/src/",
28802        "buildtools/third_party/libc++/",
28803        "net/third_party/quiche/overrides/",
28804        "net/third_party/quiche/src/",
28805        "net/third_party/quiche/src/quiche/common/platform/default/",
28806        "third_party/abseil-cpp/",
28807        "third_party/boringssl/src/include/",
28808        "third_party/libc++/src/include",
28809        "third_party/libc++abi/src/include",
28810        "third_party/protobuf/src/",
28811    ],
28812    cpp_std: "c++20",
28813    ldflags: [
28814        "-Wl,--as-needed",
28815        "-Wl,--gc-sections",
28816        "-Wl,--icf=all",
28817        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
28818        "-Wl,-wrap,asprintf",
28819        "-Wl,-wrap,calloc",
28820        "-Wl,-wrap,free",
28821        "-Wl,-wrap,getcwd",
28822        "-Wl,-wrap,malloc",
28823        "-Wl,-wrap,malloc_usable_size",
28824        "-Wl,-wrap,memalign",
28825        "-Wl,-wrap,posix_memalign",
28826        "-Wl,-wrap,pvalloc",
28827        "-Wl,-wrap,realloc",
28828        "-Wl,-wrap,realpath",
28829        "-Wl,-wrap,strdup",
28830        "-Wl,-wrap,strndup",
28831        "-Wl,-wrap,valloc",
28832        "-Wl,-wrap,vasprintf",
28833    ],
28834    target: {
28835        android_arm: {
28836            cflags: [
28837                "-D_FORTIFY_SOURCE=2",
28838            ],
28839        },
28840        android_arm64: {
28841            cflags: [
28842                "-D_FORTIFY_SOURCE=2",
28843                "-O2",
28844                "-mno-outline",
28845            ],
28846        },
28847        android_x86: {
28848            cflags: [
28849                "-D_FORTIFY_SOURCE=2",
28850                "-msse3",
28851            ],
28852        },
28853        android_x86_64: {
28854            cflags: [
28855                "-D_FORTIFY_SOURCE=2",
28856                "-msse3",
28857            ],
28858        },
28859    },
28860}
28861
28862// GN: //net:quic_test_tools__testing
28863cc_library_static {
28864    name: "cronet_aml_net_quic_test_tools__testing",
28865    srcs: [
28866        "net/quic/crypto_test_utils_chromium.cc",
28867        "net/quic/mock_crypto_client_stream.cc",
28868        "net/quic/mock_crypto_client_stream_factory.cc",
28869        "net/quic/mock_decrypter.cc",
28870        "net/quic/mock_encrypter.cc",
28871        "net/quic/mock_quic_context.cc",
28872        "net/quic/test_task_runner.cc",
28873    ],
28874    shared_libs: [
28875        "libandroid",
28876        "liblog",
28877        "libprotobuf-cpp-lite",
28878        "libz",
28879    ],
28880    generated_headers: [
28881        "cronet_aml_base_allocator_buildflags__testing",
28882        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
28883        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
28884        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
28885        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
28886        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
28887        "cronet_aml_base_anchor_functions_buildflags__testing",
28888        "cronet_aml_base_build_date__testing",
28889        "cronet_aml_base_cfi_buildflags__testing",
28890        "cronet_aml_base_check_version_internal_action__testing",
28891        "cronet_aml_base_clang_profiling_buildflags__testing",
28892        "cronet_aml_base_debugging_buildflags__testing",
28893        "cronet_aml_base_feature_list_buildflags__testing",
28894        "cronet_aml_base_fuzzing_buildflags__testing",
28895        "cronet_aml_base_ios_cronet_buildflags__testing",
28896        "cronet_aml_base_logging_buildflags__testing",
28897        "cronet_aml_base_message_pump_buildflags__testing",
28898        "cronet_aml_base_orderfile_buildflags__testing",
28899        "cronet_aml_base_power_monitor_buildflags__testing",
28900        "cronet_aml_base_profiler_buildflags__testing",
28901        "cronet_aml_base_protected_memory_buildflags__testing",
28902        "cronet_aml_base_rust_buildflags__testing",
28903        "cronet_aml_base_sanitizer_buildflags__testing",
28904        "cronet_aml_base_synchronization_buildflags__testing",
28905        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
28906        "cronet_aml_base_test_test_support_jni_headers__action__testing",
28907        "cronet_aml_base_tracing_buildflags__testing",
28908        "cronet_aml_build_blink_buildflags__testing",
28909        "cronet_aml_build_branding_buildflags__testing",
28910        "cronet_aml_build_chromecast_buildflags__testing",
28911        "cronet_aml_build_chromeos_buildflags__testing",
28912        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
28913        "cronet_aml_build_ios_buildflags__testing",
28914        "cronet_aml_build_robolectric_buildflags__testing",
28915        "cronet_aml_crypto_buildflags__testing",
28916        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
28917        "cronet_aml_net_buildflags__testing",
28918        "cronet_aml_net_cronet_buildflags__testing",
28919        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
28920        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
28921        "cronet_aml_net_net_jni_headers__action__testing",
28922        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
28923        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
28924        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
28925        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
28926        "cronet_aml_url_buildflags__testing",
28927        "cronet_aml_url_url_jni_headers__action__testing",
28928    ],
28929    export_generated_headers: [
28930        "cronet_aml_base_allocator_buildflags__testing",
28931        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
28932        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
28933        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
28934        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
28935        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
28936        "cronet_aml_base_anchor_functions_buildflags__testing",
28937        "cronet_aml_base_build_date__testing",
28938        "cronet_aml_base_cfi_buildflags__testing",
28939        "cronet_aml_base_check_version_internal_action__testing",
28940        "cronet_aml_base_clang_profiling_buildflags__testing",
28941        "cronet_aml_base_debugging_buildflags__testing",
28942        "cronet_aml_base_feature_list_buildflags__testing",
28943        "cronet_aml_base_fuzzing_buildflags__testing",
28944        "cronet_aml_base_ios_cronet_buildflags__testing",
28945        "cronet_aml_base_logging_buildflags__testing",
28946        "cronet_aml_base_message_pump_buildflags__testing",
28947        "cronet_aml_base_orderfile_buildflags__testing",
28948        "cronet_aml_base_power_monitor_buildflags__testing",
28949        "cronet_aml_base_profiler_buildflags__testing",
28950        "cronet_aml_base_protected_memory_buildflags__testing",
28951        "cronet_aml_base_rust_buildflags__testing",
28952        "cronet_aml_base_sanitizer_buildflags__testing",
28953        "cronet_aml_base_synchronization_buildflags__testing",
28954        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
28955        "cronet_aml_base_test_test_support_jni_headers__action__testing",
28956        "cronet_aml_base_tracing_buildflags__testing",
28957        "cronet_aml_build_blink_buildflags__testing",
28958        "cronet_aml_build_branding_buildflags__testing",
28959        "cronet_aml_build_chromecast_buildflags__testing",
28960        "cronet_aml_build_chromeos_buildflags__testing",
28961        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
28962        "cronet_aml_build_ios_buildflags__testing",
28963        "cronet_aml_build_robolectric_buildflags__testing",
28964        "cronet_aml_crypto_buildflags__testing",
28965        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
28966        "cronet_aml_net_buildflags__testing",
28967        "cronet_aml_net_cronet_buildflags__testing",
28968        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
28969        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
28970        "cronet_aml_net_net_jni_headers__action__testing",
28971        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
28972        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
28973        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
28974        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
28975        "cronet_aml_url_buildflags__testing",
28976        "cronet_aml_url_url_jni_headers__action__testing",
28977    ],
28978    defaults: [
28979        "cronet_aml_cc_defaults",
28980    ],
28981    cflags: [
28982        "-DANDROID",
28983        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
28984        "-DBENCHMARK_STATIC_DEFINE",
28985        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
28986        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
28987        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28988        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
28989        "-DGOOGLE_PROTOBUF_NO_RTTI",
28990        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
28991        "-DGTEST_API_=",
28992        "-DGTEST_HAS_ABSL",
28993        "-DGTEST_HAS_POSIX_RE=0",
28994        "-DGTEST_HAS_TR1_TUPLE=0",
28995        "-DGTEST_LANG_CXX11=1",
28996        "-DGTEST_NO_ABSL_FLAGS",
28997        "-DHAVE_PTHREAD",
28998        "-DHAVE_SYS_UIO_H",
28999        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
29000        "-DNDEBUG",
29001        "-DNO_UNWIND_TABLES",
29002        "-DNVALGRIND",
29003        "-DOFFICIAL_BUILD",
29004        "-DUNIT_TEST",
29005        "-DUSE_CHROMIUM_ICU=1",
29006        "-DUSE_REMOTE_TEST_SERVER",
29007        "-DU_ENABLE_DYLOAD=0",
29008        "-DU_ENABLE_RESOURCE_TRACING=0",
29009        "-DU_ENABLE_TRACING=1",
29010        "-DU_STATIC_IMPLEMENTATION",
29011        "-DU_USING_ICU_NAMESPACE=0",
29012        "-D_GNU_SOURCE",
29013        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29014        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
29015        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29016        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
29017        "-D__STDC_CONSTANT_MACROS",
29018        "-D__STDC_FORMAT_MACROS",
29019        "-fdata-sections",
29020        "-ffunction-sections",
29021        "-fno-asynchronous-unwind-tables",
29022        "-fno-unwind-tables",
29023        "-fstack-protector",
29024        "-fvisibility-inlines-hidden",
29025        "-fvisibility=hidden",
29026        "-g1",
29027    ],
29028    local_include_dirs: [
29029        "./",
29030        "base/allocator/partition_allocator/src/",
29031        "buildtools/third_party/libc++/",
29032        "net/third_party/quiche/overrides/",
29033        "net/third_party/quiche/src/",
29034        "net/third_party/quiche/src/quiche/common/platform/default/",
29035        "third_party/abseil-cpp/",
29036        "third_party/boringssl/src/include/",
29037        "third_party/ced/src/",
29038        "third_party/google_benchmark/src/include/",
29039        "third_party/googletest/custom/",
29040        "third_party/googletest/src/googlemock/include/",
29041        "third_party/googletest/src/googletest/include/",
29042        "third_party/icu/source/common/",
29043        "third_party/icu/source/i18n/",
29044        "third_party/libc++/src/include",
29045        "third_party/libc++abi/src/include",
29046        "third_party/protobuf/src/",
29047        "third_party/re2/src/",
29048    ],
29049    cpp_std: "c++20",
29050    ldflags: [
29051        "-Wl,--as-needed",
29052        "-Wl,--gc-sections",
29053        "-Wl,--icf=all",
29054        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
29055        "-Wl,-wrap,asprintf",
29056        "-Wl,-wrap,calloc",
29057        "-Wl,-wrap,free",
29058        "-Wl,-wrap,getcwd",
29059        "-Wl,-wrap,malloc",
29060        "-Wl,-wrap,malloc_usable_size",
29061        "-Wl,-wrap,memalign",
29062        "-Wl,-wrap,posix_memalign",
29063        "-Wl,-wrap,pvalloc",
29064        "-Wl,-wrap,realloc",
29065        "-Wl,-wrap,realpath",
29066        "-Wl,-wrap,strdup",
29067        "-Wl,-wrap,strndup",
29068        "-Wl,-wrap,valloc",
29069        "-Wl,-wrap,vasprintf",
29070    ],
29071    target: {
29072        android_arm: {
29073            cflags: [
29074                "-D_FORTIFY_SOURCE=2",
29075            ],
29076        },
29077        android_arm64: {
29078            cflags: [
29079                "-D_FORTIFY_SOURCE=2",
29080                "-O2",
29081                "-mno-outline",
29082            ],
29083        },
29084        android_x86: {
29085            cflags: [
29086                "-D_FORTIFY_SOURCE=2",
29087                "-msse3",
29088            ],
29089        },
29090        android_x86_64: {
29091            cflags: [
29092                "-D_FORTIFY_SOURCE=2",
29093                "-msse3",
29094            ],
29095        },
29096    },
29097}
29098
29099// GN: //net:simple_quic_tools__testing
29100cc_library_static {
29101    name: "cronet_aml_net_simple_quic_tools__testing",
29102    srcs: [
29103        "net/tools/quic/quic_client_message_loop_network_helper.cc",
29104        "net/tools/quic/quic_simple_client.cc",
29105        "net/tools/quic/quic_simple_server.cc",
29106        "net/tools/quic/quic_simple_server_packet_writer.cc",
29107        "net/tools/quic/quic_simple_server_session_helper.cc",
29108        "net/tools/quic/quic_simple_server_socket.cc",
29109        "net/tools/quic/synchronous_host_resolver.cc",
29110    ],
29111    shared_libs: [
29112        "libandroid",
29113        "liblog",
29114        "libprotobuf-cpp-lite",
29115        "libz",
29116    ],
29117    generated_headers: [
29118        "cronet_aml_base_allocator_buildflags__testing",
29119        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
29120        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
29121        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
29122        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
29123        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
29124        "cronet_aml_base_anchor_functions_buildflags__testing",
29125        "cronet_aml_base_build_date__testing",
29126        "cronet_aml_base_cfi_buildflags__testing",
29127        "cronet_aml_base_check_version_internal_action__testing",
29128        "cronet_aml_base_clang_profiling_buildflags__testing",
29129        "cronet_aml_base_debugging_buildflags__testing",
29130        "cronet_aml_base_feature_list_buildflags__testing",
29131        "cronet_aml_base_fuzzing_buildflags__testing",
29132        "cronet_aml_base_ios_cronet_buildflags__testing",
29133        "cronet_aml_base_logging_buildflags__testing",
29134        "cronet_aml_base_message_pump_buildflags__testing",
29135        "cronet_aml_base_orderfile_buildflags__testing",
29136        "cronet_aml_base_power_monitor_buildflags__testing",
29137        "cronet_aml_base_profiler_buildflags__testing",
29138        "cronet_aml_base_protected_memory_buildflags__testing",
29139        "cronet_aml_base_rust_buildflags__testing",
29140        "cronet_aml_base_sanitizer_buildflags__testing",
29141        "cronet_aml_base_synchronization_buildflags__testing",
29142        "cronet_aml_base_tracing_buildflags__testing",
29143        "cronet_aml_build_blink_buildflags__testing",
29144        "cronet_aml_build_branding_buildflags__testing",
29145        "cronet_aml_build_chromecast_buildflags__testing",
29146        "cronet_aml_build_chromeos_buildflags__testing",
29147        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
29148        "cronet_aml_build_ios_buildflags__testing",
29149        "cronet_aml_build_robolectric_buildflags__testing",
29150        "cronet_aml_crypto_buildflags__testing",
29151        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
29152        "cronet_aml_net_buildflags__testing",
29153        "cronet_aml_net_cronet_buildflags__testing",
29154        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
29155        "cronet_aml_net_net_jni_headers__action__testing",
29156        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
29157        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
29158        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
29159        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
29160        "cronet_aml_url_buildflags__testing",
29161        "cronet_aml_url_url_jni_headers__action__testing",
29162    ],
29163    export_generated_headers: [
29164        "cronet_aml_base_allocator_buildflags__testing",
29165        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
29166        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
29167        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
29168        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
29169        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
29170        "cronet_aml_base_anchor_functions_buildflags__testing",
29171        "cronet_aml_base_build_date__testing",
29172        "cronet_aml_base_cfi_buildflags__testing",
29173        "cronet_aml_base_check_version_internal_action__testing",
29174        "cronet_aml_base_clang_profiling_buildflags__testing",
29175        "cronet_aml_base_debugging_buildflags__testing",
29176        "cronet_aml_base_feature_list_buildflags__testing",
29177        "cronet_aml_base_fuzzing_buildflags__testing",
29178        "cronet_aml_base_ios_cronet_buildflags__testing",
29179        "cronet_aml_base_logging_buildflags__testing",
29180        "cronet_aml_base_message_pump_buildflags__testing",
29181        "cronet_aml_base_orderfile_buildflags__testing",
29182        "cronet_aml_base_power_monitor_buildflags__testing",
29183        "cronet_aml_base_profiler_buildflags__testing",
29184        "cronet_aml_base_protected_memory_buildflags__testing",
29185        "cronet_aml_base_rust_buildflags__testing",
29186        "cronet_aml_base_sanitizer_buildflags__testing",
29187        "cronet_aml_base_synchronization_buildflags__testing",
29188        "cronet_aml_base_tracing_buildflags__testing",
29189        "cronet_aml_build_blink_buildflags__testing",
29190        "cronet_aml_build_branding_buildflags__testing",
29191        "cronet_aml_build_chromecast_buildflags__testing",
29192        "cronet_aml_build_chromeos_buildflags__testing",
29193        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
29194        "cronet_aml_build_ios_buildflags__testing",
29195        "cronet_aml_build_robolectric_buildflags__testing",
29196        "cronet_aml_crypto_buildflags__testing",
29197        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
29198        "cronet_aml_net_buildflags__testing",
29199        "cronet_aml_net_cronet_buildflags__testing",
29200        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
29201        "cronet_aml_net_net_jni_headers__action__testing",
29202        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
29203        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
29204        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
29205        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
29206        "cronet_aml_url_buildflags__testing",
29207        "cronet_aml_url_url_jni_headers__action__testing",
29208    ],
29209    defaults: [
29210        "cronet_aml_cc_defaults",
29211    ],
29212    cflags: [
29213        "-DANDROID",
29214        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
29215        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
29216        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
29217        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
29218        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29219        "-DGOOGLE_PROTOBUF_NO_RTTI",
29220        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29221        "-DHAVE_PTHREAD",
29222        "-DHAVE_SYS_UIO_H",
29223        "-DNDEBUG",
29224        "-DNO_UNWIND_TABLES",
29225        "-DNVALGRIND",
29226        "-DOFFICIAL_BUILD",
29227        "-D_GNU_SOURCE",
29228        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29229        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
29230        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29231        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
29232        "-D__STDC_CONSTANT_MACROS",
29233        "-D__STDC_FORMAT_MACROS",
29234        "-fdata-sections",
29235        "-ffunction-sections",
29236        "-fno-asynchronous-unwind-tables",
29237        "-fno-unwind-tables",
29238        "-fstack-protector",
29239        "-fvisibility-inlines-hidden",
29240        "-fvisibility=hidden",
29241        "-g1",
29242    ],
29243    local_include_dirs: [
29244        "./",
29245        "base/allocator/partition_allocator/src/",
29246        "buildtools/third_party/libc++/",
29247        "net/third_party/quiche/overrides/",
29248        "net/third_party/quiche/src/",
29249        "net/third_party/quiche/src/quiche/common/platform/default/",
29250        "third_party/abseil-cpp/",
29251        "third_party/boringssl/src/include/",
29252        "third_party/libc++/src/include",
29253        "third_party/libc++abi/src/include",
29254        "third_party/protobuf/src/",
29255    ],
29256    cpp_std: "c++20",
29257    ldflags: [
29258        "-Wl,--as-needed",
29259        "-Wl,--gc-sections",
29260        "-Wl,--icf=all",
29261        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
29262        "-Wl,-wrap,asprintf",
29263        "-Wl,-wrap,calloc",
29264        "-Wl,-wrap,free",
29265        "-Wl,-wrap,getcwd",
29266        "-Wl,-wrap,malloc",
29267        "-Wl,-wrap,malloc_usable_size",
29268        "-Wl,-wrap,memalign",
29269        "-Wl,-wrap,posix_memalign",
29270        "-Wl,-wrap,pvalloc",
29271        "-Wl,-wrap,realloc",
29272        "-Wl,-wrap,realpath",
29273        "-Wl,-wrap,strdup",
29274        "-Wl,-wrap,strndup",
29275        "-Wl,-wrap,valloc",
29276        "-Wl,-wrap,vasprintf",
29277    ],
29278    target: {
29279        android_arm: {
29280            cflags: [
29281                "-D_FORTIFY_SOURCE=2",
29282            ],
29283        },
29284        android_arm64: {
29285            cflags: [
29286                "-D_FORTIFY_SOURCE=2",
29287                "-O2",
29288                "-mno-outline",
29289            ],
29290        },
29291        android_x86: {
29292            cflags: [
29293                "-D_FORTIFY_SOURCE=2",
29294                "-msse3",
29295            ],
29296        },
29297        android_x86_64: {
29298            cflags: [
29299                "-D_FORTIFY_SOURCE=2",
29300                "-msse3",
29301            ],
29302        },
29303    },
29304}
29305
29306// GN: //net:spdy_test_tools__testing
29307cc_library_static {
29308    name: "cronet_aml_net_spdy_test_tools__testing",
29309    srcs: [
29310        "net/spdy/fuzzing/hpack_fuzz_util.cc",
29311    ],
29312    shared_libs: [
29313        "libandroid",
29314        "liblog",
29315        "libprotobuf-cpp-lite",
29316        "libz",
29317    ],
29318    generated_headers: [
29319        "cronet_aml_base_allocator_buildflags__testing",
29320        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
29321        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
29322        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
29323        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
29324        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
29325        "cronet_aml_base_anchor_functions_buildflags__testing",
29326        "cronet_aml_base_build_date__testing",
29327        "cronet_aml_base_cfi_buildflags__testing",
29328        "cronet_aml_base_check_version_internal_action__testing",
29329        "cronet_aml_base_clang_profiling_buildflags__testing",
29330        "cronet_aml_base_debugging_buildflags__testing",
29331        "cronet_aml_base_feature_list_buildflags__testing",
29332        "cronet_aml_base_fuzzing_buildflags__testing",
29333        "cronet_aml_base_ios_cronet_buildflags__testing",
29334        "cronet_aml_base_logging_buildflags__testing",
29335        "cronet_aml_base_message_pump_buildflags__testing",
29336        "cronet_aml_base_orderfile_buildflags__testing",
29337        "cronet_aml_base_power_monitor_buildflags__testing",
29338        "cronet_aml_base_profiler_buildflags__testing",
29339        "cronet_aml_base_protected_memory_buildflags__testing",
29340        "cronet_aml_base_rust_buildflags__testing",
29341        "cronet_aml_base_sanitizer_buildflags__testing",
29342        "cronet_aml_base_synchronization_buildflags__testing",
29343        "cronet_aml_base_tracing_buildflags__testing",
29344        "cronet_aml_build_blink_buildflags__testing",
29345        "cronet_aml_build_branding_buildflags__testing",
29346        "cronet_aml_build_chromecast_buildflags__testing",
29347        "cronet_aml_build_chromeos_buildflags__testing",
29348        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
29349        "cronet_aml_build_ios_buildflags__testing",
29350        "cronet_aml_build_robolectric_buildflags__testing",
29351        "cronet_aml_crypto_buildflags__testing",
29352        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
29353        "cronet_aml_net_buildflags__testing",
29354        "cronet_aml_net_cronet_buildflags__testing",
29355        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
29356        "cronet_aml_net_net_jni_headers__action__testing",
29357        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
29358        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
29359        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
29360        "cronet_aml_url_buildflags__testing",
29361        "cronet_aml_url_url_jni_headers__action__testing",
29362    ],
29363    export_generated_headers: [
29364        "cronet_aml_base_allocator_buildflags__testing",
29365        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
29366        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
29367        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
29368        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
29369        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
29370        "cronet_aml_base_anchor_functions_buildflags__testing",
29371        "cronet_aml_base_build_date__testing",
29372        "cronet_aml_base_cfi_buildflags__testing",
29373        "cronet_aml_base_check_version_internal_action__testing",
29374        "cronet_aml_base_clang_profiling_buildflags__testing",
29375        "cronet_aml_base_debugging_buildflags__testing",
29376        "cronet_aml_base_feature_list_buildflags__testing",
29377        "cronet_aml_base_fuzzing_buildflags__testing",
29378        "cronet_aml_base_ios_cronet_buildflags__testing",
29379        "cronet_aml_base_logging_buildflags__testing",
29380        "cronet_aml_base_message_pump_buildflags__testing",
29381        "cronet_aml_base_orderfile_buildflags__testing",
29382        "cronet_aml_base_power_monitor_buildflags__testing",
29383        "cronet_aml_base_profiler_buildflags__testing",
29384        "cronet_aml_base_protected_memory_buildflags__testing",
29385        "cronet_aml_base_rust_buildflags__testing",
29386        "cronet_aml_base_sanitizer_buildflags__testing",
29387        "cronet_aml_base_synchronization_buildflags__testing",
29388        "cronet_aml_base_tracing_buildflags__testing",
29389        "cronet_aml_build_blink_buildflags__testing",
29390        "cronet_aml_build_branding_buildflags__testing",
29391        "cronet_aml_build_chromecast_buildflags__testing",
29392        "cronet_aml_build_chromeos_buildflags__testing",
29393        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
29394        "cronet_aml_build_ios_buildflags__testing",
29395        "cronet_aml_build_robolectric_buildflags__testing",
29396        "cronet_aml_crypto_buildflags__testing",
29397        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
29398        "cronet_aml_net_buildflags__testing",
29399        "cronet_aml_net_cronet_buildflags__testing",
29400        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
29401        "cronet_aml_net_net_jni_headers__action__testing",
29402        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
29403        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
29404        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
29405        "cronet_aml_url_buildflags__testing",
29406        "cronet_aml_url_url_jni_headers__action__testing",
29407    ],
29408    defaults: [
29409        "cronet_aml_cc_defaults",
29410    ],
29411    cflags: [
29412        "-DANDROID",
29413        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
29414        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
29415        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
29416        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
29417        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29418        "-DGOOGLE_PROTOBUF_NO_RTTI",
29419        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29420        "-DGTEST_API_=",
29421        "-DGTEST_HAS_ABSL",
29422        "-DGTEST_HAS_POSIX_RE=0",
29423        "-DGTEST_HAS_TR1_TUPLE=0",
29424        "-DGTEST_LANG_CXX11=1",
29425        "-DGTEST_NO_ABSL_FLAGS",
29426        "-DHAVE_PTHREAD",
29427        "-DHAVE_SYS_UIO_H",
29428        "-DNDEBUG",
29429        "-DNO_UNWIND_TABLES",
29430        "-DNVALGRIND",
29431        "-DOFFICIAL_BUILD",
29432        "-DUNIT_TEST",
29433        "-D_GNU_SOURCE",
29434        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29435        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
29436        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29437        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
29438        "-D__STDC_CONSTANT_MACROS",
29439        "-D__STDC_FORMAT_MACROS",
29440        "-fdata-sections",
29441        "-ffunction-sections",
29442        "-fno-asynchronous-unwind-tables",
29443        "-fno-unwind-tables",
29444        "-fstack-protector",
29445        "-fvisibility-inlines-hidden",
29446        "-fvisibility=hidden",
29447        "-g1",
29448    ],
29449    local_include_dirs: [
29450        "./",
29451        "base/allocator/partition_allocator/src/",
29452        "buildtools/third_party/libc++/",
29453        "net/third_party/quiche/overrides/",
29454        "net/third_party/quiche/src/",
29455        "net/third_party/quiche/src/quiche/common/platform/default/",
29456        "third_party/abseil-cpp/",
29457        "third_party/boringssl/src/include/",
29458        "third_party/googletest/custom/",
29459        "third_party/googletest/src/googlemock/include/",
29460        "third_party/googletest/src/googletest/include/",
29461        "third_party/libc++/src/include",
29462        "third_party/libc++abi/src/include",
29463        "third_party/protobuf/src/",
29464        "third_party/re2/src/",
29465    ],
29466    cpp_std: "c++20",
29467    ldflags: [
29468        "-Wl,--as-needed",
29469        "-Wl,--gc-sections",
29470        "-Wl,--icf=all",
29471        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
29472        "-Wl,-wrap,asprintf",
29473        "-Wl,-wrap,calloc",
29474        "-Wl,-wrap,free",
29475        "-Wl,-wrap,getcwd",
29476        "-Wl,-wrap,malloc",
29477        "-Wl,-wrap,malloc_usable_size",
29478        "-Wl,-wrap,memalign",
29479        "-Wl,-wrap,posix_memalign",
29480        "-Wl,-wrap,pvalloc",
29481        "-Wl,-wrap,realloc",
29482        "-Wl,-wrap,realpath",
29483        "-Wl,-wrap,strdup",
29484        "-Wl,-wrap,strndup",
29485        "-Wl,-wrap,valloc",
29486        "-Wl,-wrap,vasprintf",
29487    ],
29488    target: {
29489        android_arm: {
29490            cflags: [
29491                "-D_FORTIFY_SOURCE=2",
29492            ],
29493        },
29494        android_arm64: {
29495            cflags: [
29496                "-D_FORTIFY_SOURCE=2",
29497                "-O2",
29498                "-mno-outline",
29499            ],
29500        },
29501        android_x86: {
29502            cflags: [
29503                "-D_FORTIFY_SOURCE=2",
29504                "-msse3",
29505            ],
29506        },
29507        android_x86_64: {
29508            cflags: [
29509                "-D_FORTIFY_SOURCE=2",
29510                "-msse3",
29511            ],
29512        },
29513    },
29514}
29515
29516// GN: //net:test_support__testing
29517cc_library_static {
29518    name: "cronet_aml_net_test_support__testing",
29519    srcs: [
29520        "net/base/address_tracker_linux_test_util.cc",
29521        "net/base/connection_endpoint_metadata_test_util.cc",
29522        "net/base/load_timing_info_test_util.cc",
29523        "net/base/mock_file_stream.cc",
29524        "net/base/mock_network_change_notifier.cc",
29525        "net/base/test_completion_callback.cc",
29526        "net/base/test_data_stream.cc",
29527        "net/cert/internal/test_helpers.cc",
29528        "net/cert/mock_cert_net_fetcher.cc",
29529        "net/cert/mock_cert_verifier.cc",
29530        "net/cert/mock_client_cert_verifier.cc",
29531        "net/cookies/cookie_change_dispatcher_test_helpers.cc",
29532        "net/cookies/cookie_monster_store_test.cc",
29533        "net/cookies/cookie_store_test_callbacks.cc",
29534        "net/cookies/cookie_store_test_helpers.cc",
29535        "net/cookies/test_cookie_access_delegate.cc",
29536        "net/disk_cache/disk_cache_test_base.cc",
29537        "net/disk_cache/disk_cache_test_util.cc",
29538        "net/disk_cache/mock/mock_backend_impl.cc",
29539        "net/disk_cache/mock/mock_entry_impl.cc",
29540        "net/filter/filter_source_stream_test_util.cc",
29541        "net/filter/mock_source_stream.cc",
29542        "net/http/http_response_headers_test_util.cc",
29543        "net/http/http_stream_factory_test_util.cc",
29544        "net/http/http_transaction_test_util.cc",
29545        "net/http/mock_http_cache.cc",
29546        "net/http/transport_security_state_test_util.cc",
29547        "net/log/test_net_log.cc",
29548        "net/log/test_net_log_util.cc",
29549        "net/network_error_logging/mock_persistent_nel_store.cc",
29550        "net/network_error_logging/network_error_logging_test_util.cc",
29551        "net/nqe/network_quality_estimator_test_util.cc",
29552        "net/proxy_resolution/mock_pac_file_fetcher.cc",
29553        "net/proxy_resolution/mock_proxy_resolver.cc",
29554        "net/proxy_resolution/proxy_config_service_common_unittest.cc",
29555        "net/reporting/mock_persistent_reporting_store.cc",
29556        "net/reporting/reporting_test_util.cc",
29557        "net/socket/read_buffering_stream_socket.cc",
29558        "net/socket/socket_test_util.cc",
29559        "net/socket/transport_client_socket_test_util.cc",
29560        "net/spdy/spdy_test_util_common.cc",
29561        "net/ssl/client_cert_identity_test_util.cc",
29562        "net/ssl/ssl_private_key_test_util.cc",
29563        "net/ssl/test_ssl_config_service.cc",
29564        "net/ssl/test_ssl_private_key.cc",
29565        "net/test/cert_builder.cc",
29566        "net/test/cert_test_util.cc",
29567        "net/test/ct_test_util.cc",
29568        "net/test/embedded_test_server/connection_tracker.cc",
29569        "net/test/embedded_test_server/controllable_http_response.cc",
29570        "net/test/embedded_test_server/default_handlers.cc",
29571        "net/test/embedded_test_server/embedded_test_server.cc",
29572        "net/test/embedded_test_server/embedded_test_server_connection_listener.cc",
29573        "net/test/embedded_test_server/http1_connection.cc",
29574        "net/test/embedded_test_server/http2_connection.cc",
29575        "net/test/embedded_test_server/http_connection.cc",
29576        "net/test/embedded_test_server/http_request.cc",
29577        "net/test/embedded_test_server/http_response.cc",
29578        "net/test/embedded_test_server/request_handler_util.cc",
29579        "net/test/embedded_test_server/simple_connection_listener.cc",
29580        "net/test/key_util.cc",
29581        "net/test/net_test_suite.cc",
29582        "net/test/quic_simple_test_server.cc",
29583        "net/test/revocation_builder.cc",
29584        "net/test/spawned_test_server/base_test_server.cc",
29585        "net/test/spawned_test_server/remote_test_server.cc",
29586        "net/test/spawned_test_server/remote_test_server_spawner_request.cc",
29587        "net/test/ssl_test_util.cc",
29588        "net/test/test_data_directory.cc",
29589        "net/test/test_doh_server.cc",
29590        "net/test/url_request/ssl_certificate_error_job.cc",
29591        "net/test/url_request/url_request_failed_job.cc",
29592        "net/test/url_request/url_request_hanging_read_job.cc",
29593        "net/test/url_request/url_request_mock_data_job.cc",
29594        "net/url_request/url_request_test_job.cc",
29595        "net/url_request/url_request_test_util.cc",
29596    ],
29597    shared_libs: [
29598        "libandroid",
29599        "liblog",
29600        "libprotobuf-cpp-lite",
29601        "libz",
29602    ],
29603    generated_headers: [
29604        "cronet_aml_base_allocator_buildflags__testing",
29605        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
29606        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
29607        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
29608        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
29609        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
29610        "cronet_aml_base_anchor_functions_buildflags__testing",
29611        "cronet_aml_base_build_date__testing",
29612        "cronet_aml_base_cfi_buildflags__testing",
29613        "cronet_aml_base_check_version_internal_action__testing",
29614        "cronet_aml_base_clang_profiling_buildflags__testing",
29615        "cronet_aml_base_debugging_buildflags__testing",
29616        "cronet_aml_base_feature_list_buildflags__testing",
29617        "cronet_aml_base_fuzzing_buildflags__testing",
29618        "cronet_aml_base_ios_cronet_buildflags__testing",
29619        "cronet_aml_base_logging_buildflags__testing",
29620        "cronet_aml_base_message_pump_buildflags__testing",
29621        "cronet_aml_base_orderfile_buildflags__testing",
29622        "cronet_aml_base_power_monitor_buildflags__testing",
29623        "cronet_aml_base_profiler_buildflags__testing",
29624        "cronet_aml_base_protected_memory_buildflags__testing",
29625        "cronet_aml_base_rust_buildflags__testing",
29626        "cronet_aml_base_sanitizer_buildflags__testing",
29627        "cronet_aml_base_synchronization_buildflags__testing",
29628        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
29629        "cronet_aml_base_test_test_support_jni_headers__action__testing",
29630        "cronet_aml_base_tracing_buildflags__testing",
29631        "cronet_aml_build_blink_buildflags__testing",
29632        "cronet_aml_build_branding_buildflags__testing",
29633        "cronet_aml_build_chromecast_buildflags__testing",
29634        "cronet_aml_build_chromeos_buildflags__testing",
29635        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
29636        "cronet_aml_build_ios_buildflags__testing",
29637        "cronet_aml_build_robolectric_buildflags__testing",
29638        "cronet_aml_crypto_buildflags__testing",
29639        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
29640        "cronet_aml_net_buildflags__testing",
29641        "cronet_aml_net_cronet_buildflags__testing",
29642        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
29643        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
29644        "cronet_aml_net_net_jni_headers__action__testing",
29645        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
29646        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
29647        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
29648        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
29649        "cronet_aml_url_buildflags__testing",
29650        "cronet_aml_url_url_jni_headers__action__testing",
29651    ],
29652    export_generated_headers: [
29653        "cronet_aml_base_allocator_buildflags__testing",
29654        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
29655        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
29656        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
29657        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
29658        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
29659        "cronet_aml_base_anchor_functions_buildflags__testing",
29660        "cronet_aml_base_build_date__testing",
29661        "cronet_aml_base_cfi_buildflags__testing",
29662        "cronet_aml_base_check_version_internal_action__testing",
29663        "cronet_aml_base_clang_profiling_buildflags__testing",
29664        "cronet_aml_base_debugging_buildflags__testing",
29665        "cronet_aml_base_feature_list_buildflags__testing",
29666        "cronet_aml_base_fuzzing_buildflags__testing",
29667        "cronet_aml_base_ios_cronet_buildflags__testing",
29668        "cronet_aml_base_logging_buildflags__testing",
29669        "cronet_aml_base_message_pump_buildflags__testing",
29670        "cronet_aml_base_orderfile_buildflags__testing",
29671        "cronet_aml_base_power_monitor_buildflags__testing",
29672        "cronet_aml_base_profiler_buildflags__testing",
29673        "cronet_aml_base_protected_memory_buildflags__testing",
29674        "cronet_aml_base_rust_buildflags__testing",
29675        "cronet_aml_base_sanitizer_buildflags__testing",
29676        "cronet_aml_base_synchronization_buildflags__testing",
29677        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
29678        "cronet_aml_base_test_test_support_jni_headers__action__testing",
29679        "cronet_aml_base_tracing_buildflags__testing",
29680        "cronet_aml_build_blink_buildflags__testing",
29681        "cronet_aml_build_branding_buildflags__testing",
29682        "cronet_aml_build_chromecast_buildflags__testing",
29683        "cronet_aml_build_chromeos_buildflags__testing",
29684        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
29685        "cronet_aml_build_ios_buildflags__testing",
29686        "cronet_aml_build_robolectric_buildflags__testing",
29687        "cronet_aml_crypto_buildflags__testing",
29688        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
29689        "cronet_aml_net_buildflags__testing",
29690        "cronet_aml_net_cronet_buildflags__testing",
29691        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
29692        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
29693        "cronet_aml_net_net_jni_headers__action__testing",
29694        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
29695        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
29696        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
29697        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
29698        "cronet_aml_url_buildflags__testing",
29699        "cronet_aml_url_url_jni_headers__action__testing",
29700    ],
29701    defaults: [
29702        "cronet_aml_cc_defaults",
29703    ],
29704    cflags: [
29705        "-DANDROID",
29706        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
29707        "-DBENCHMARK_STATIC_DEFINE",
29708        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
29709        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
29710        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
29711        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29712        "-DGOOGLE_PROTOBUF_NO_RTTI",
29713        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29714        "-DGTEST_API_=",
29715        "-DGTEST_HAS_ABSL",
29716        "-DGTEST_HAS_POSIX_RE=0",
29717        "-DGTEST_HAS_TR1_TUPLE=0",
29718        "-DGTEST_LANG_CXX11=1",
29719        "-DGTEST_NO_ABSL_FLAGS",
29720        "-DHAVE_PTHREAD",
29721        "-DHAVE_SYS_UIO_H",
29722        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
29723        "-DNDEBUG",
29724        "-DNO_UNWIND_TABLES",
29725        "-DNVALGRIND",
29726        "-DOFFICIAL_BUILD",
29727        "-DUNIT_TEST",
29728        "-DUSE_CHROMIUM_ICU=1",
29729        "-DUSE_REMOTE_TEST_SERVER",
29730        "-DU_ENABLE_DYLOAD=0",
29731        "-DU_ENABLE_RESOURCE_TRACING=0",
29732        "-DU_ENABLE_TRACING=1",
29733        "-DU_STATIC_IMPLEMENTATION",
29734        "-DU_USING_ICU_NAMESPACE=0",
29735        "-D_GNU_SOURCE",
29736        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29737        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
29738        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29739        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
29740        "-D__STDC_CONSTANT_MACROS",
29741        "-D__STDC_FORMAT_MACROS",
29742        "-fdata-sections",
29743        "-ffunction-sections",
29744        "-fno-asynchronous-unwind-tables",
29745        "-fno-unwind-tables",
29746        "-fstack-protector",
29747        "-fvisibility-inlines-hidden",
29748        "-fvisibility=hidden",
29749        "-g1",
29750    ],
29751    local_include_dirs: [
29752        "./",
29753        "base/allocator/partition_allocator/src/",
29754        "buildtools/third_party/libc++/",
29755        "net/third_party/quiche/overrides/",
29756        "net/third_party/quiche/src/",
29757        "net/third_party/quiche/src/quiche/common/platform/default/",
29758        "third_party/abseil-cpp/",
29759        "third_party/boringssl/src/include/",
29760        "third_party/ced/src/",
29761        "third_party/google_benchmark/src/include/",
29762        "third_party/googletest/custom/",
29763        "third_party/googletest/src/googlemock/include/",
29764        "third_party/googletest/src/googletest/include/",
29765        "third_party/icu/source/common/",
29766        "third_party/icu/source/i18n/",
29767        "third_party/libc++/src/include",
29768        "third_party/libc++abi/src/include",
29769        "third_party/protobuf/src/",
29770        "third_party/re2/src/",
29771    ],
29772    cpp_std: "c++20",
29773    ldflags: [
29774        "-Wl,--as-needed",
29775        "-Wl,--gc-sections",
29776        "-Wl,--icf=all",
29777        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
29778        "-Wl,-wrap,asprintf",
29779        "-Wl,-wrap,calloc",
29780        "-Wl,-wrap,free",
29781        "-Wl,-wrap,getcwd",
29782        "-Wl,-wrap,malloc",
29783        "-Wl,-wrap,malloc_usable_size",
29784        "-Wl,-wrap,memalign",
29785        "-Wl,-wrap,posix_memalign",
29786        "-Wl,-wrap,pvalloc",
29787        "-Wl,-wrap,realloc",
29788        "-Wl,-wrap,realpath",
29789        "-Wl,-wrap,strdup",
29790        "-Wl,-wrap,strndup",
29791        "-Wl,-wrap,valloc",
29792        "-Wl,-wrap,vasprintf",
29793    ],
29794    target: {
29795        android_arm: {
29796            cflags: [
29797                "-D_FORTIFY_SOURCE=2",
29798            ],
29799        },
29800        android_arm64: {
29801            cflags: [
29802                "-D_FORTIFY_SOURCE=2",
29803                "-O2",
29804                "-mno-outline",
29805            ],
29806        },
29807        android_x86: {
29808            cflags: [
29809                "-D_FORTIFY_SOURCE=2",
29810                "-msse3",
29811            ],
29812        },
29813        android_x86_64: {
29814            cflags: [
29815                "-D_FORTIFY_SOURCE=2",
29816                "-msse3",
29817            ],
29818        },
29819    },
29820}
29821
29822// GN: //net/third_party/quiche:blind_sign_auth__testing
29823cc_library_static {
29824    name: "cronet_aml_net_third_party_quiche_blind_sign_auth__testing",
29825    srcs: [
29826        "net/third_party/quiche/src/quiche/blind_sign_auth/blind_sign_auth.cc",
29827        "net/third_party/quiche/src/quiche/blind_sign_auth/cached_blind_sign_auth.cc",
29828    ],
29829    shared_libs: [
29830        "libandroid",
29831        "liblog",
29832        "libprotobuf-cpp-lite",
29833        "libz",
29834    ],
29835    generated_headers: [
29836        "cronet_aml_base_allocator_buildflags__testing",
29837        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
29838        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
29839        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
29840        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
29841        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
29842        "cronet_aml_base_anchor_functions_buildflags__testing",
29843        "cronet_aml_base_build_date__testing",
29844        "cronet_aml_base_cfi_buildflags__testing",
29845        "cronet_aml_base_check_version_internal_action__testing",
29846        "cronet_aml_base_clang_profiling_buildflags__testing",
29847        "cronet_aml_base_debugging_buildflags__testing",
29848        "cronet_aml_base_feature_list_buildflags__testing",
29849        "cronet_aml_base_fuzzing_buildflags__testing",
29850        "cronet_aml_base_ios_cronet_buildflags__testing",
29851        "cronet_aml_base_logging_buildflags__testing",
29852        "cronet_aml_base_message_pump_buildflags__testing",
29853        "cronet_aml_base_orderfile_buildflags__testing",
29854        "cronet_aml_base_power_monitor_buildflags__testing",
29855        "cronet_aml_base_profiler_buildflags__testing",
29856        "cronet_aml_base_protected_memory_buildflags__testing",
29857        "cronet_aml_base_rust_buildflags__testing",
29858        "cronet_aml_base_sanitizer_buildflags__testing",
29859        "cronet_aml_base_synchronization_buildflags__testing",
29860        "cronet_aml_base_tracing_buildflags__testing",
29861        "cronet_aml_build_blink_buildflags__testing",
29862        "cronet_aml_build_branding_buildflags__testing",
29863        "cronet_aml_build_chromecast_buildflags__testing",
29864        "cronet_aml_build_chromeos_buildflags__testing",
29865        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
29866        "cronet_aml_build_ios_buildflags__testing",
29867        "cronet_aml_build_robolectric_buildflags__testing",
29868        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
29869        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
29870        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
29871        "cronet_aml_url_buildflags__testing",
29872        "cronet_aml_url_url_jni_headers__action__testing",
29873    ],
29874    export_generated_headers: [
29875        "cronet_aml_base_allocator_buildflags__testing",
29876        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
29877        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
29878        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
29879        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
29880        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
29881        "cronet_aml_base_anchor_functions_buildflags__testing",
29882        "cronet_aml_base_build_date__testing",
29883        "cronet_aml_base_cfi_buildflags__testing",
29884        "cronet_aml_base_check_version_internal_action__testing",
29885        "cronet_aml_base_clang_profiling_buildflags__testing",
29886        "cronet_aml_base_debugging_buildflags__testing",
29887        "cronet_aml_base_feature_list_buildflags__testing",
29888        "cronet_aml_base_fuzzing_buildflags__testing",
29889        "cronet_aml_base_ios_cronet_buildflags__testing",
29890        "cronet_aml_base_logging_buildflags__testing",
29891        "cronet_aml_base_message_pump_buildflags__testing",
29892        "cronet_aml_base_orderfile_buildflags__testing",
29893        "cronet_aml_base_power_monitor_buildflags__testing",
29894        "cronet_aml_base_profiler_buildflags__testing",
29895        "cronet_aml_base_protected_memory_buildflags__testing",
29896        "cronet_aml_base_rust_buildflags__testing",
29897        "cronet_aml_base_sanitizer_buildflags__testing",
29898        "cronet_aml_base_synchronization_buildflags__testing",
29899        "cronet_aml_base_tracing_buildflags__testing",
29900        "cronet_aml_build_blink_buildflags__testing",
29901        "cronet_aml_build_branding_buildflags__testing",
29902        "cronet_aml_build_chromecast_buildflags__testing",
29903        "cronet_aml_build_chromeos_buildflags__testing",
29904        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
29905        "cronet_aml_build_ios_buildflags__testing",
29906        "cronet_aml_build_robolectric_buildflags__testing",
29907        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
29908        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
29909        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
29910        "cronet_aml_url_buildflags__testing",
29911        "cronet_aml_url_url_jni_headers__action__testing",
29912    ],
29913    defaults: [
29914        "cronet_aml_cc_defaults",
29915    ],
29916    cflags: [
29917        "-DANDROID",
29918        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
29919        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
29920        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
29921        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
29922        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29923        "-DGOOGLE_PROTOBUF_NO_RTTI",
29924        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29925        "-DHAVE_PTHREAD",
29926        "-DHAVE_SYS_UIO_H",
29927        "-DIS_QUICHE_IMPL",
29928        "-DNDEBUG",
29929        "-DNO_UNWIND_TABLES",
29930        "-DNVALGRIND",
29931        "-DOFFICIAL_BUILD",
29932        "-D_GNU_SOURCE",
29933        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29934        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
29935        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29936        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
29937        "-D__STDC_CONSTANT_MACROS",
29938        "-D__STDC_FORMAT_MACROS",
29939        "-fdata-sections",
29940        "-ffunction-sections",
29941        "-fno-asynchronous-unwind-tables",
29942        "-fno-unwind-tables",
29943        "-fstack-protector",
29944        "-fvisibility-inlines-hidden",
29945        "-fvisibility=hidden",
29946        "-g1",
29947    ],
29948    local_include_dirs: [
29949        "./",
29950        "base/allocator/partition_allocator/src/",
29951        "buildtools/third_party/libc++/",
29952        "net/third_party/quiche/overrides/",
29953        "net/third_party/quiche/src/",
29954        "net/third_party/quiche/src/quiche/common/platform/default/",
29955        "third_party/abseil-cpp/",
29956        "third_party/anonymous_tokens/overrides/",
29957        "third_party/anonymous_tokens/src/",
29958        "third_party/boringssl/src/include/",
29959        "third_party/libc++/src/include",
29960        "third_party/libc++abi/src/include",
29961        "third_party/protobuf/src/",
29962    ],
29963    cpp_std: "c++20",
29964    ldflags: [
29965        "-Wl,--as-needed",
29966        "-Wl,--gc-sections",
29967        "-Wl,--icf=all",
29968        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
29969        "-Wl,-wrap,asprintf",
29970        "-Wl,-wrap,calloc",
29971        "-Wl,-wrap,free",
29972        "-Wl,-wrap,getcwd",
29973        "-Wl,-wrap,malloc",
29974        "-Wl,-wrap,malloc_usable_size",
29975        "-Wl,-wrap,memalign",
29976        "-Wl,-wrap,posix_memalign",
29977        "-Wl,-wrap,pvalloc",
29978        "-Wl,-wrap,realloc",
29979        "-Wl,-wrap,realpath",
29980        "-Wl,-wrap,strdup",
29981        "-Wl,-wrap,strndup",
29982        "-Wl,-wrap,valloc",
29983        "-Wl,-wrap,vasprintf",
29984    ],
29985    target: {
29986        android_arm: {
29987            cflags: [
29988                "-D_FORTIFY_SOURCE=2",
29989            ],
29990        },
29991        android_arm64: {
29992            cflags: [
29993                "-D_FORTIFY_SOURCE=2",
29994                "-O2",
29995                "-mno-outline",
29996            ],
29997        },
29998        android_x86: {
29999            cflags: [
30000                "-D_FORTIFY_SOURCE=2",
30001                "-msse3",
30002            ],
30003        },
30004        android_x86_64: {
30005            cflags: [
30006                "-D_FORTIFY_SOURCE=2",
30007                "-msse3",
30008            ],
30009        },
30010    },
30011}
30012
30013// GN: //net/third_party/quiche:blind_sign_auth_proto__testing
30014cc_library_static {
30015    name: "cronet_aml_net_third_party_quiche_blind_sign_auth_proto__testing",
30016    srcs: [
30017        ":cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing",
30018    ],
30019    shared_libs: [
30020        "libandroid",
30021        "liblog",
30022        "libprotobuf-cpp-lite",
30023    ],
30024    generated_headers: [
30025        "cronet_aml_base_allocator_buildflags__testing",
30026        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
30027        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
30028        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
30029        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
30030        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
30031        "cronet_aml_base_anchor_functions_buildflags__testing",
30032        "cronet_aml_base_build_date__testing",
30033        "cronet_aml_base_cfi_buildflags__testing",
30034        "cronet_aml_base_check_version_internal_action__testing",
30035        "cronet_aml_base_clang_profiling_buildflags__testing",
30036        "cronet_aml_base_debugging_buildflags__testing",
30037        "cronet_aml_base_feature_list_buildflags__testing",
30038        "cronet_aml_base_fuzzing_buildflags__testing",
30039        "cronet_aml_base_ios_cronet_buildflags__testing",
30040        "cronet_aml_base_logging_buildflags__testing",
30041        "cronet_aml_base_message_pump_buildflags__testing",
30042        "cronet_aml_base_orderfile_buildflags__testing",
30043        "cronet_aml_base_power_monitor_buildflags__testing",
30044        "cronet_aml_base_profiler_buildflags__testing",
30045        "cronet_aml_base_protected_memory_buildflags__testing",
30046        "cronet_aml_base_rust_buildflags__testing",
30047        "cronet_aml_base_sanitizer_buildflags__testing",
30048        "cronet_aml_base_synchronization_buildflags__testing",
30049        "cronet_aml_base_tracing_buildflags__testing",
30050        "cronet_aml_build_blink_buildflags__testing",
30051        "cronet_aml_build_branding_buildflags__testing",
30052        "cronet_aml_build_chromecast_buildflags__testing",
30053        "cronet_aml_build_chromeos_buildflags__testing",
30054        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
30055        "cronet_aml_build_ios_buildflags__testing",
30056        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
30057        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
30058    ],
30059    export_generated_headers: [
30060        "cronet_aml_base_allocator_buildflags__testing",
30061        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
30062        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
30063        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
30064        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
30065        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
30066        "cronet_aml_base_anchor_functions_buildflags__testing",
30067        "cronet_aml_base_build_date__testing",
30068        "cronet_aml_base_cfi_buildflags__testing",
30069        "cronet_aml_base_check_version_internal_action__testing",
30070        "cronet_aml_base_clang_profiling_buildflags__testing",
30071        "cronet_aml_base_debugging_buildflags__testing",
30072        "cronet_aml_base_feature_list_buildflags__testing",
30073        "cronet_aml_base_fuzzing_buildflags__testing",
30074        "cronet_aml_base_ios_cronet_buildflags__testing",
30075        "cronet_aml_base_logging_buildflags__testing",
30076        "cronet_aml_base_message_pump_buildflags__testing",
30077        "cronet_aml_base_orderfile_buildflags__testing",
30078        "cronet_aml_base_power_monitor_buildflags__testing",
30079        "cronet_aml_base_profiler_buildflags__testing",
30080        "cronet_aml_base_protected_memory_buildflags__testing",
30081        "cronet_aml_base_rust_buildflags__testing",
30082        "cronet_aml_base_sanitizer_buildflags__testing",
30083        "cronet_aml_base_synchronization_buildflags__testing",
30084        "cronet_aml_base_tracing_buildflags__testing",
30085        "cronet_aml_build_blink_buildflags__testing",
30086        "cronet_aml_build_branding_buildflags__testing",
30087        "cronet_aml_build_chromecast_buildflags__testing",
30088        "cronet_aml_build_chromeos_buildflags__testing",
30089        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
30090        "cronet_aml_build_ios_buildflags__testing",
30091        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
30092        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
30093    ],
30094    defaults: [
30095        "cronet_aml_cc_defaults",
30096    ],
30097    cflags: [
30098        "-DANDROID",
30099        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
30100        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
30101        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
30102        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
30103        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
30104        "-DGOOGLE_PROTOBUF_NO_RTTI",
30105        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
30106        "-DHAVE_PTHREAD",
30107        "-DHAVE_SYS_UIO_H",
30108        "-DIS_QUICHE_IMPL",
30109        "-DNDEBUG",
30110        "-DNO_UNWIND_TABLES",
30111        "-DNVALGRIND",
30112        "-DOFFICIAL_BUILD",
30113        "-D_GNU_SOURCE",
30114        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
30115        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
30116        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
30117        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
30118        "-D__STDC_CONSTANT_MACROS",
30119        "-D__STDC_FORMAT_MACROS",
30120        "-fdata-sections",
30121        "-ffunction-sections",
30122        "-fno-asynchronous-unwind-tables",
30123        "-fno-unwind-tables",
30124        "-fstack-protector",
30125        "-fvisibility-inlines-hidden",
30126        "-fvisibility=hidden",
30127        "-g1",
30128    ],
30129    local_include_dirs: [
30130        "./",
30131        "base/allocator/partition_allocator/src/",
30132        "buildtools/third_party/libc++/",
30133        "third_party/abseil-cpp/",
30134        "third_party/boringssl/src/include/",
30135        "third_party/libc++/src/include",
30136        "third_party/libc++abi/src/include",
30137        "third_party/protobuf/src/",
30138    ],
30139    cpp_std: "c++20",
30140    ldflags: [
30141        "-Wl,--as-needed",
30142        "-Wl,--gc-sections",
30143        "-Wl,--icf=all",
30144        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
30145        "-Wl,-wrap,asprintf",
30146        "-Wl,-wrap,calloc",
30147        "-Wl,-wrap,free",
30148        "-Wl,-wrap,getcwd",
30149        "-Wl,-wrap,malloc",
30150        "-Wl,-wrap,malloc_usable_size",
30151        "-Wl,-wrap,memalign",
30152        "-Wl,-wrap,posix_memalign",
30153        "-Wl,-wrap,pvalloc",
30154        "-Wl,-wrap,realloc",
30155        "-Wl,-wrap,realpath",
30156        "-Wl,-wrap,strdup",
30157        "-Wl,-wrap,strndup",
30158        "-Wl,-wrap,valloc",
30159        "-Wl,-wrap,vasprintf",
30160    ],
30161    target: {
30162        android_arm: {
30163            cflags: [
30164                "-D_FORTIFY_SOURCE=2",
30165            ],
30166        },
30167        android_arm64: {
30168            cflags: [
30169                "-D_FORTIFY_SOURCE=2",
30170                "-O2",
30171                "-mno-outline",
30172            ],
30173        },
30174        android_x86: {
30175            cflags: [
30176                "-D_FORTIFY_SOURCE=2",
30177                "-msse3",
30178            ],
30179        },
30180        android_x86_64: {
30181            cflags: [
30182                "-D_FORTIFY_SOURCE=2",
30183                "-msse3",
30184            ],
30185        },
30186    },
30187}
30188
30189// GN: //net/third_party/quiche:blind_sign_auth_proto_gen__testing
30190cc_genrule {
30191    name: "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing",
30192    srcs: [
30193        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/any.proto",
30194        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/attestation.proto",
30195        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/auth_and_sign.proto",
30196        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/blind_sign_auth_options.proto",
30197        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/get_initial_data.proto",
30198        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/key_services.proto",
30199        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/proxy_layer.proto",
30200        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/public_metadata.proto",
30201        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/spend_token_data.proto",
30202        "third_party/anonymous_tokens/src/anonymous_tokens/proto/anonymous_tokens.proto",
30203    ],
30204    tools: [
30205        "cronet_aml_third_party_protobuf_protoc",
30206    ],
30207    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --proto_path=external/cronet/third_party/anonymous_tokens/src/ --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
30208    out: [
30209        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/any.pb.cc",
30210        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/attestation.pb.cc",
30211        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/auth_and_sign.pb.cc",
30212        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/blind_sign_auth_options.pb.cc",
30213        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/get_initial_data.pb.cc",
30214        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/key_services.pb.cc",
30215        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/proxy_layer.pb.cc",
30216        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/public_metadata.pb.cc",
30217        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/spend_token_data.pb.cc",
30218    ],
30219    apex_available: [
30220        "com.android.tethering",
30221    ],
30222}
30223
30224// GN: //net/third_party/quiche:blind_sign_auth_proto_gen__testing
30225cc_genrule {
30226    name: "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
30227    srcs: [
30228        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/any.proto",
30229        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/attestation.proto",
30230        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/auth_and_sign.proto",
30231        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/blind_sign_auth_options.proto",
30232        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/get_initial_data.proto",
30233        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/key_services.proto",
30234        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/proxy_layer.proto",
30235        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/public_metadata.proto",
30236        "net/third_party/quiche/src/quiche/blind_sign_auth/proto/spend_token_data.proto",
30237        "third_party/anonymous_tokens/src/anonymous_tokens/proto/anonymous_tokens.proto",
30238    ],
30239    tools: [
30240        "cronet_aml_third_party_protobuf_protoc",
30241    ],
30242    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --proto_path=external/cronet/third_party/anonymous_tokens/src/ --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
30243    out: [
30244        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/any.pb.h",
30245        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/attestation.pb.h",
30246        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/auth_and_sign.pb.h",
30247        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/blind_sign_auth_options.pb.h",
30248        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/get_initial_data.pb.h",
30249        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/key_services.pb.h",
30250        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/proxy_layer.pb.h",
30251        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/public_metadata.pb.h",
30252        "external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/spend_token_data.pb.h",
30253    ],
30254    export_include_dirs: [
30255        ".",
30256        "net/third_party/quiche/src",
30257        "protos",
30258    ],
30259    apex_available: [
30260        "com.android.tethering",
30261    ],
30262}
30263
30264// GN: //net/third_party/quiche:blind_sign_auth_test_support__testing
30265cc_library_static {
30266    name: "cronet_aml_net_third_party_quiche_blind_sign_auth_test_support__testing",
30267    shared_libs: [
30268        "libandroid",
30269        "liblog",
30270        "libprotobuf-cpp-lite",
30271        "libz",
30272    ],
30273    generated_headers: [
30274        "cronet_aml_base_allocator_buildflags__testing",
30275        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
30276        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
30277        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
30278        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
30279        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
30280        "cronet_aml_base_anchor_functions_buildflags__testing",
30281        "cronet_aml_base_build_date__testing",
30282        "cronet_aml_base_cfi_buildflags__testing",
30283        "cronet_aml_base_check_version_internal_action__testing",
30284        "cronet_aml_base_clang_profiling_buildflags__testing",
30285        "cronet_aml_base_debugging_buildflags__testing",
30286        "cronet_aml_base_feature_list_buildflags__testing",
30287        "cronet_aml_base_fuzzing_buildflags__testing",
30288        "cronet_aml_base_ios_cronet_buildflags__testing",
30289        "cronet_aml_base_logging_buildflags__testing",
30290        "cronet_aml_base_message_pump_buildflags__testing",
30291        "cronet_aml_base_orderfile_buildflags__testing",
30292        "cronet_aml_base_power_monitor_buildflags__testing",
30293        "cronet_aml_base_profiler_buildflags__testing",
30294        "cronet_aml_base_protected_memory_buildflags__testing",
30295        "cronet_aml_base_rust_buildflags__testing",
30296        "cronet_aml_base_sanitizer_buildflags__testing",
30297        "cronet_aml_base_synchronization_buildflags__testing",
30298        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
30299        "cronet_aml_base_test_test_support_jni_headers__action__testing",
30300        "cronet_aml_base_tracing_buildflags__testing",
30301        "cronet_aml_build_blink_buildflags__testing",
30302        "cronet_aml_build_branding_buildflags__testing",
30303        "cronet_aml_build_chromecast_buildflags__testing",
30304        "cronet_aml_build_chromeos_buildflags__testing",
30305        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
30306        "cronet_aml_build_ios_buildflags__testing",
30307        "cronet_aml_build_robolectric_buildflags__testing",
30308        "cronet_aml_crypto_buildflags__testing",
30309        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
30310        "cronet_aml_net_buildflags__testing",
30311        "cronet_aml_net_cronet_buildflags__testing",
30312        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
30313        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
30314        "cronet_aml_net_net_jni_headers__action__testing",
30315        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
30316        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
30317        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
30318        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
30319        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
30320        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
30321        "cronet_aml_url_buildflags__testing",
30322        "cronet_aml_url_url_jni_headers__action__testing",
30323    ],
30324    export_generated_headers: [
30325        "cronet_aml_base_allocator_buildflags__testing",
30326        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
30327        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
30328        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
30329        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
30330        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
30331        "cronet_aml_base_anchor_functions_buildflags__testing",
30332        "cronet_aml_base_build_date__testing",
30333        "cronet_aml_base_cfi_buildflags__testing",
30334        "cronet_aml_base_check_version_internal_action__testing",
30335        "cronet_aml_base_clang_profiling_buildflags__testing",
30336        "cronet_aml_base_debugging_buildflags__testing",
30337        "cronet_aml_base_feature_list_buildflags__testing",
30338        "cronet_aml_base_fuzzing_buildflags__testing",
30339        "cronet_aml_base_ios_cronet_buildflags__testing",
30340        "cronet_aml_base_logging_buildflags__testing",
30341        "cronet_aml_base_message_pump_buildflags__testing",
30342        "cronet_aml_base_orderfile_buildflags__testing",
30343        "cronet_aml_base_power_monitor_buildflags__testing",
30344        "cronet_aml_base_profiler_buildflags__testing",
30345        "cronet_aml_base_protected_memory_buildflags__testing",
30346        "cronet_aml_base_rust_buildflags__testing",
30347        "cronet_aml_base_sanitizer_buildflags__testing",
30348        "cronet_aml_base_synchronization_buildflags__testing",
30349        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
30350        "cronet_aml_base_test_test_support_jni_headers__action__testing",
30351        "cronet_aml_base_tracing_buildflags__testing",
30352        "cronet_aml_build_blink_buildflags__testing",
30353        "cronet_aml_build_branding_buildflags__testing",
30354        "cronet_aml_build_chromecast_buildflags__testing",
30355        "cronet_aml_build_chromeos_buildflags__testing",
30356        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
30357        "cronet_aml_build_ios_buildflags__testing",
30358        "cronet_aml_build_robolectric_buildflags__testing",
30359        "cronet_aml_crypto_buildflags__testing",
30360        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
30361        "cronet_aml_net_buildflags__testing",
30362        "cronet_aml_net_cronet_buildflags__testing",
30363        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
30364        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
30365        "cronet_aml_net_net_jni_headers__action__testing",
30366        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
30367        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
30368        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
30369        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
30370        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
30371        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
30372        "cronet_aml_url_buildflags__testing",
30373        "cronet_aml_url_url_jni_headers__action__testing",
30374    ],
30375    defaults: [
30376        "cronet_aml_cc_defaults",
30377    ],
30378    cflags: [
30379        "-DANDROID",
30380        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
30381        "-DBENCHMARK_STATIC_DEFINE",
30382        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
30383        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
30384        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
30385        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
30386        "-DGOOGLE_PROTOBUF_NO_RTTI",
30387        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
30388        "-DHAVE_PTHREAD",
30389        "-DHAVE_SYS_UIO_H",
30390        "-DNDEBUG",
30391        "-DNO_UNWIND_TABLES",
30392        "-DNVALGRIND",
30393        "-DOFFICIAL_BUILD",
30394        "-D_GNU_SOURCE",
30395        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
30396        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
30397        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
30398        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
30399        "-D__STDC_CONSTANT_MACROS",
30400        "-D__STDC_FORMAT_MACROS",
30401        "-fdata-sections",
30402        "-ffunction-sections",
30403        "-fno-asynchronous-unwind-tables",
30404        "-fno-unwind-tables",
30405        "-fstack-protector",
30406        "-fvisibility-inlines-hidden",
30407        "-fvisibility=hidden",
30408        "-g1",
30409    ],
30410    local_include_dirs: [
30411        "./",
30412        "base/allocator/partition_allocator/src/",
30413        "buildtools/third_party/libc++/",
30414        "net/third_party/quiche/overrides/",
30415        "net/third_party/quiche/src/",
30416        "net/third_party/quiche/src/quiche/common/platform/default/",
30417        "third_party/abseil-cpp/",
30418        "third_party/anonymous_tokens/overrides/",
30419        "third_party/anonymous_tokens/src/",
30420        "third_party/boringssl/src/include/",
30421        "third_party/google_benchmark/src/include/",
30422        "third_party/libc++/src/include",
30423        "third_party/libc++abi/src/include",
30424        "third_party/protobuf/src/",
30425    ],
30426    cpp_std: "c++20",
30427    ldflags: [
30428        "-Wl,--as-needed",
30429        "-Wl,--gc-sections",
30430        "-Wl,--icf=all",
30431        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
30432        "-Wl,-wrap,asprintf",
30433        "-Wl,-wrap,calloc",
30434        "-Wl,-wrap,free",
30435        "-Wl,-wrap,getcwd",
30436        "-Wl,-wrap,malloc",
30437        "-Wl,-wrap,malloc_usable_size",
30438        "-Wl,-wrap,memalign",
30439        "-Wl,-wrap,posix_memalign",
30440        "-Wl,-wrap,pvalloc",
30441        "-Wl,-wrap,realloc",
30442        "-Wl,-wrap,realpath",
30443        "-Wl,-wrap,strdup",
30444        "-Wl,-wrap,strndup",
30445        "-Wl,-wrap,valloc",
30446        "-Wl,-wrap,vasprintf",
30447    ],
30448    target: {
30449        android_arm: {
30450            cflags: [
30451                "-D_FORTIFY_SOURCE=2",
30452            ],
30453        },
30454        android_arm64: {
30455            cflags: [
30456                "-D_FORTIFY_SOURCE=2",
30457                "-O2",
30458                "-mno-outline",
30459            ],
30460        },
30461        android_x86: {
30462            cflags: [
30463                "-D_FORTIFY_SOURCE=2",
30464                "-msse3",
30465            ],
30466        },
30467        android_x86_64: {
30468            cflags: [
30469                "-D_FORTIFY_SOURCE=2",
30470                "-msse3",
30471            ],
30472        },
30473    },
30474}
30475
30476// GN: //net/third_party/quiche:net_quic_proto
30477cc_library_static {
30478    name: "cronet_aml_net_third_party_quiche_net_quic_proto",
30479    srcs: [
30480        ":cronet_aml_net_third_party_quiche_net_quic_proto_gen",
30481    ],
30482    shared_libs: [
30483        "//external/cronet/third_party/boringssl:libcrypto",
30484        "//external/cronet/third_party/boringssl:libpki",
30485        "//external/cronet/third_party/boringssl:libssl",
30486        "libandroid",
30487        "liblog",
30488        "libprotobuf-cpp-lite",
30489    ],
30490    generated_headers: [
30491        "cronet_aml_base_allocator_buildflags",
30492        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
30493        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
30494        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
30495        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
30496        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
30497        "cronet_aml_base_anchor_functions_buildflags",
30498        "cronet_aml_base_android_runtime_jni_headers__action",
30499        "cronet_aml_base_base_jni__action",
30500        "cronet_aml_base_base_shared_preferences_jni__action",
30501        "cronet_aml_base_build_date",
30502        "cronet_aml_base_cfi_buildflags",
30503        "cronet_aml_base_check_version_internal_action",
30504        "cronet_aml_base_clang_profiling_buildflags",
30505        "cronet_aml_base_debugging_buildflags",
30506        "cronet_aml_base_feature_list_buildflags",
30507        "cronet_aml_base_fuzzing_buildflags",
30508        "cronet_aml_base_ios_cronet_buildflags",
30509        "cronet_aml_base_logging_buildflags",
30510        "cronet_aml_base_message_pump_buildflags",
30511        "cronet_aml_base_orderfile_buildflags",
30512        "cronet_aml_base_power_monitor_buildflags",
30513        "cronet_aml_base_process_launcher_jni__action",
30514        "cronet_aml_base_profiler_buildflags",
30515        "cronet_aml_base_protected_memory_buildflags",
30516        "cronet_aml_base_rust_buildflags",
30517        "cronet_aml_base_sanitizer_buildflags",
30518        "cronet_aml_base_synchronization_buildflags",
30519        "cronet_aml_base_tracing_buildflags",
30520        "cronet_aml_build_blink_buildflags",
30521        "cronet_aml_build_branding_buildflags",
30522        "cronet_aml_build_chromecast_buildflags",
30523        "cronet_aml_build_chromeos_buildflags",
30524        "cronet_aml_build_config_compiler_compiler_buildflags",
30525        "cronet_aml_build_ios_buildflags",
30526        "cronet_aml_build_robolectric_buildflags",
30527        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
30528    ],
30529    export_generated_headers: [
30530        "cronet_aml_base_allocator_buildflags",
30531        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
30532        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
30533        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
30534        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
30535        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
30536        "cronet_aml_base_anchor_functions_buildflags",
30537        "cronet_aml_base_android_runtime_jni_headers__action",
30538        "cronet_aml_base_base_jni__action",
30539        "cronet_aml_base_base_shared_preferences_jni__action",
30540        "cronet_aml_base_build_date",
30541        "cronet_aml_base_cfi_buildflags",
30542        "cronet_aml_base_check_version_internal_action",
30543        "cronet_aml_base_clang_profiling_buildflags",
30544        "cronet_aml_base_debugging_buildflags",
30545        "cronet_aml_base_feature_list_buildflags",
30546        "cronet_aml_base_fuzzing_buildflags",
30547        "cronet_aml_base_ios_cronet_buildflags",
30548        "cronet_aml_base_logging_buildflags",
30549        "cronet_aml_base_message_pump_buildflags",
30550        "cronet_aml_base_orderfile_buildflags",
30551        "cronet_aml_base_power_monitor_buildflags",
30552        "cronet_aml_base_process_launcher_jni__action",
30553        "cronet_aml_base_profiler_buildflags",
30554        "cronet_aml_base_protected_memory_buildflags",
30555        "cronet_aml_base_rust_buildflags",
30556        "cronet_aml_base_sanitizer_buildflags",
30557        "cronet_aml_base_synchronization_buildflags",
30558        "cronet_aml_base_tracing_buildflags",
30559        "cronet_aml_build_blink_buildflags",
30560        "cronet_aml_build_branding_buildflags",
30561        "cronet_aml_build_chromecast_buildflags",
30562        "cronet_aml_build_chromeos_buildflags",
30563        "cronet_aml_build_config_compiler_compiler_buildflags",
30564        "cronet_aml_build_ios_buildflags",
30565        "cronet_aml_build_robolectric_buildflags",
30566        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
30567    ],
30568    defaults: [
30569        "cronet_aml_cc_defaults",
30570    ],
30571    cflags: [
30572        "-DANDROID",
30573        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
30574        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
30575        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
30576        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
30577        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
30578        "-DGOOGLE_PROTOBUF_NO_RTTI",
30579        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
30580        "-DHAVE_PTHREAD",
30581        "-DHAVE_SYS_UIO_H",
30582        "-DIS_QUICHE_IMPL",
30583        "-DNDEBUG",
30584        "-DNO_UNWIND_TABLES",
30585        "-DNVALGRIND",
30586        "-DOFFICIAL_BUILD",
30587        "-D_GNU_SOURCE",
30588        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
30589        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
30590        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
30591        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
30592        "-D__STDC_CONSTANT_MACROS",
30593        "-D__STDC_FORMAT_MACROS",
30594        "-fdata-sections",
30595        "-ffunction-sections",
30596        "-fno-asynchronous-unwind-tables",
30597        "-fno-unwind-tables",
30598        "-fstack-protector",
30599        "-fvisibility-inlines-hidden",
30600        "-fvisibility=hidden",
30601        "-g1",
30602    ],
30603    local_include_dirs: [
30604        "./",
30605        "base/allocator/partition_allocator/src/",
30606        "buildtools/third_party/libc++/",
30607        "third_party/abseil-cpp/",
30608        "third_party/boringssl/src/include/",
30609        "third_party/libc++/src/include",
30610        "third_party/libc++abi/src/include",
30611        "third_party/protobuf/src/",
30612    ],
30613    cpp_std: "c++20",
30614    ldflags: [
30615        "-Wl,--as-needed",
30616        "-Wl,--gc-sections",
30617        "-Wl,--icf=all",
30618        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
30619        "-Wl,-wrap,asprintf",
30620        "-Wl,-wrap,calloc",
30621        "-Wl,-wrap,free",
30622        "-Wl,-wrap,getcwd",
30623        "-Wl,-wrap,malloc",
30624        "-Wl,-wrap,malloc_usable_size",
30625        "-Wl,-wrap,memalign",
30626        "-Wl,-wrap,posix_memalign",
30627        "-Wl,-wrap,pvalloc",
30628        "-Wl,-wrap,realloc",
30629        "-Wl,-wrap,realpath",
30630        "-Wl,-wrap,strdup",
30631        "-Wl,-wrap,strndup",
30632        "-Wl,-wrap,valloc",
30633        "-Wl,-wrap,vasprintf",
30634    ],
30635    target: {
30636        android_arm: {
30637            cflags: [
30638                "-D_FORTIFY_SOURCE=2",
30639            ],
30640        },
30641        android_arm64: {
30642            cflags: [
30643                "-D_FORTIFY_SOURCE=2",
30644                "-O2",
30645                "-mno-outline",
30646            ],
30647        },
30648        android_x86: {
30649            cflags: [
30650                "-D_FORTIFY_SOURCE=2",
30651                "-msse3",
30652            ],
30653        },
30654        android_x86_64: {
30655            cflags: [
30656                "-D_FORTIFY_SOURCE=2",
30657                "-msse3",
30658            ],
30659        },
30660    },
30661}
30662
30663// GN: //net/third_party/quiche:net_quic_proto__testing
30664cc_library_static {
30665    name: "cronet_aml_net_third_party_quiche_net_quic_proto__testing",
30666    srcs: [
30667        ":cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing",
30668    ],
30669    shared_libs: [
30670        "libandroid",
30671        "liblog",
30672        "libprotobuf-cpp-lite",
30673    ],
30674    generated_headers: [
30675        "cronet_aml_base_allocator_buildflags__testing",
30676        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
30677        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
30678        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
30679        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
30680        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
30681        "cronet_aml_base_anchor_functions_buildflags__testing",
30682        "cronet_aml_base_build_date__testing",
30683        "cronet_aml_base_cfi_buildflags__testing",
30684        "cronet_aml_base_check_version_internal_action__testing",
30685        "cronet_aml_base_clang_profiling_buildflags__testing",
30686        "cronet_aml_base_debugging_buildflags__testing",
30687        "cronet_aml_base_feature_list_buildflags__testing",
30688        "cronet_aml_base_fuzzing_buildflags__testing",
30689        "cronet_aml_base_ios_cronet_buildflags__testing",
30690        "cronet_aml_base_logging_buildflags__testing",
30691        "cronet_aml_base_message_pump_buildflags__testing",
30692        "cronet_aml_base_orderfile_buildflags__testing",
30693        "cronet_aml_base_power_monitor_buildflags__testing",
30694        "cronet_aml_base_profiler_buildflags__testing",
30695        "cronet_aml_base_protected_memory_buildflags__testing",
30696        "cronet_aml_base_rust_buildflags__testing",
30697        "cronet_aml_base_sanitizer_buildflags__testing",
30698        "cronet_aml_base_synchronization_buildflags__testing",
30699        "cronet_aml_base_tracing_buildflags__testing",
30700        "cronet_aml_build_blink_buildflags__testing",
30701        "cronet_aml_build_branding_buildflags__testing",
30702        "cronet_aml_build_chromecast_buildflags__testing",
30703        "cronet_aml_build_chromeos_buildflags__testing",
30704        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
30705        "cronet_aml_build_ios_buildflags__testing",
30706        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
30707    ],
30708    export_generated_headers: [
30709        "cronet_aml_base_allocator_buildflags__testing",
30710        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
30711        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
30712        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
30713        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
30714        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
30715        "cronet_aml_base_anchor_functions_buildflags__testing",
30716        "cronet_aml_base_build_date__testing",
30717        "cronet_aml_base_cfi_buildflags__testing",
30718        "cronet_aml_base_check_version_internal_action__testing",
30719        "cronet_aml_base_clang_profiling_buildflags__testing",
30720        "cronet_aml_base_debugging_buildflags__testing",
30721        "cronet_aml_base_feature_list_buildflags__testing",
30722        "cronet_aml_base_fuzzing_buildflags__testing",
30723        "cronet_aml_base_ios_cronet_buildflags__testing",
30724        "cronet_aml_base_logging_buildflags__testing",
30725        "cronet_aml_base_message_pump_buildflags__testing",
30726        "cronet_aml_base_orderfile_buildflags__testing",
30727        "cronet_aml_base_power_monitor_buildflags__testing",
30728        "cronet_aml_base_profiler_buildflags__testing",
30729        "cronet_aml_base_protected_memory_buildflags__testing",
30730        "cronet_aml_base_rust_buildflags__testing",
30731        "cronet_aml_base_sanitizer_buildflags__testing",
30732        "cronet_aml_base_synchronization_buildflags__testing",
30733        "cronet_aml_base_tracing_buildflags__testing",
30734        "cronet_aml_build_blink_buildflags__testing",
30735        "cronet_aml_build_branding_buildflags__testing",
30736        "cronet_aml_build_chromecast_buildflags__testing",
30737        "cronet_aml_build_chromeos_buildflags__testing",
30738        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
30739        "cronet_aml_build_ios_buildflags__testing",
30740        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
30741    ],
30742    defaults: [
30743        "cronet_aml_cc_defaults",
30744    ],
30745    cflags: [
30746        "-DANDROID",
30747        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
30748        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
30749        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
30750        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
30751        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
30752        "-DGOOGLE_PROTOBUF_NO_RTTI",
30753        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
30754        "-DHAVE_PTHREAD",
30755        "-DHAVE_SYS_UIO_H",
30756        "-DIS_QUICHE_IMPL",
30757        "-DNDEBUG",
30758        "-DNO_UNWIND_TABLES",
30759        "-DNVALGRIND",
30760        "-DOFFICIAL_BUILD",
30761        "-D_GNU_SOURCE",
30762        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
30763        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
30764        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
30765        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
30766        "-D__STDC_CONSTANT_MACROS",
30767        "-D__STDC_FORMAT_MACROS",
30768        "-fdata-sections",
30769        "-ffunction-sections",
30770        "-fno-asynchronous-unwind-tables",
30771        "-fno-unwind-tables",
30772        "-fstack-protector",
30773        "-fvisibility-inlines-hidden",
30774        "-fvisibility=hidden",
30775        "-g1",
30776    ],
30777    local_include_dirs: [
30778        "./",
30779        "base/allocator/partition_allocator/src/",
30780        "buildtools/third_party/libc++/",
30781        "third_party/abseil-cpp/",
30782        "third_party/boringssl/src/include/",
30783        "third_party/libc++/src/include",
30784        "third_party/libc++abi/src/include",
30785        "third_party/protobuf/src/",
30786    ],
30787    cpp_std: "c++20",
30788    ldflags: [
30789        "-Wl,--as-needed",
30790        "-Wl,--gc-sections",
30791        "-Wl,--icf=all",
30792        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
30793        "-Wl,-wrap,asprintf",
30794        "-Wl,-wrap,calloc",
30795        "-Wl,-wrap,free",
30796        "-Wl,-wrap,getcwd",
30797        "-Wl,-wrap,malloc",
30798        "-Wl,-wrap,malloc_usable_size",
30799        "-Wl,-wrap,memalign",
30800        "-Wl,-wrap,posix_memalign",
30801        "-Wl,-wrap,pvalloc",
30802        "-Wl,-wrap,realloc",
30803        "-Wl,-wrap,realpath",
30804        "-Wl,-wrap,strdup",
30805        "-Wl,-wrap,strndup",
30806        "-Wl,-wrap,valloc",
30807        "-Wl,-wrap,vasprintf",
30808    ],
30809    target: {
30810        android_arm: {
30811            cflags: [
30812                "-D_FORTIFY_SOURCE=2",
30813            ],
30814        },
30815        android_arm64: {
30816            cflags: [
30817                "-D_FORTIFY_SOURCE=2",
30818                "-O2",
30819                "-mno-outline",
30820            ],
30821        },
30822        android_x86: {
30823            cflags: [
30824                "-D_FORTIFY_SOURCE=2",
30825                "-msse3",
30826            ],
30827        },
30828        android_x86_64: {
30829            cflags: [
30830                "-D_FORTIFY_SOURCE=2",
30831                "-msse3",
30832            ],
30833        },
30834    },
30835}
30836
30837// GN: //net/third_party/quiche:net_quic_proto_gen
30838cc_genrule {
30839    name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen",
30840    srcs: [
30841        "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
30842        "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
30843        "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
30844    ],
30845    tools: [
30846        "cronet_aml_third_party_protobuf_protoc",
30847    ],
30848    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
30849    out: [
30850        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
30851        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
30852        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
30853    ],
30854    apex_available: [
30855        "com.android.tethering",
30856    ],
30857}
30858
30859// GN: //net/third_party/quiche:net_quic_proto_gen__testing
30860cc_genrule {
30861    name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing",
30862    srcs: [
30863        "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
30864        "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
30865        "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
30866    ],
30867    tools: [
30868        "cronet_aml_third_party_protobuf_protoc",
30869    ],
30870    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
30871    out: [
30872        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
30873        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
30874        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
30875    ],
30876    apex_available: [
30877        "com.android.tethering",
30878    ],
30879}
30880
30881// GN: //net/third_party/quiche:net_quic_proto_gen__testing
30882cc_genrule {
30883    name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
30884    srcs: [
30885        "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
30886        "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
30887        "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
30888    ],
30889    tools: [
30890        "cronet_aml_third_party_protobuf_protoc",
30891    ],
30892    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
30893    out: [
30894        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
30895        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
30896        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
30897    ],
30898    export_include_dirs: [
30899        ".",
30900        "net/third_party/quiche/src",
30901        "protos",
30902    ],
30903    apex_available: [
30904        "com.android.tethering",
30905    ],
30906}
30907
30908// GN: //net/third_party/quiche:net_quic_proto_gen
30909cc_genrule {
30910    name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
30911    srcs: [
30912        "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
30913        "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
30914        "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
30915    ],
30916    tools: [
30917        "cronet_aml_third_party_protobuf_protoc",
30918    ],
30919    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
30920    out: [
30921        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
30922        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
30923        "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
30924    ],
30925    export_include_dirs: [
30926        ".",
30927        "net/third_party/quiche/src",
30928        "protos",
30929    ],
30930    apex_available: [
30931        "com.android.tethering",
30932    ],
30933}
30934
30935// GN: //net/third_party/quiche:net_quic_test_tools_proto
30936cc_library_static {
30937    name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto",
30938    srcs: [
30939        ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
30940    ],
30941    shared_libs: [
30942        "liblog",
30943        "libprotobuf-cpp-lite",
30944    ],
30945    generated_headers: [
30946        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
30947    ],
30948    export_generated_headers: [
30949        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
30950    ],
30951    defaults: [
30952        "cronet_aml_cc_defaults",
30953    ],
30954    cflags: [
30955        "-DANDROID",
30956        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
30957        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
30958        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
30959        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
30960        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
30961        "-DGOOGLE_PROTOBUF_NO_RTTI",
30962        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
30963        "-DHAVE_PTHREAD",
30964        "-DHAVE_SYS_UIO_H",
30965        "-DNDEBUG",
30966        "-DNET_IMPLEMENTATION",
30967        "-DNO_UNWIND_TABLES",
30968        "-DNVALGRIND",
30969        "-DOFFICIAL_BUILD",
30970        "-D_GNU_SOURCE",
30971        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
30972        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
30973        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
30974        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
30975        "-D__STDC_CONSTANT_MACROS",
30976        "-D__STDC_FORMAT_MACROS",
30977        "-fdata-sections",
30978        "-ffunction-sections",
30979        "-fno-asynchronous-unwind-tables",
30980        "-fno-unwind-tables",
30981        "-fstack-protector",
30982        "-fvisibility-inlines-hidden",
30983        "-fvisibility=hidden",
30984        "-g1",
30985    ],
30986    local_include_dirs: [
30987        "./",
30988        "buildtools/third_party/libc++/",
30989        "third_party/libc++/src/include",
30990        "third_party/libc++abi/src/include",
30991        "third_party/protobuf/src/",
30992    ],
30993    cpp_std: "c++20",
30994    ldflags: [
30995        "-Wl,--as-needed",
30996        "-Wl,--gc-sections",
30997        "-Wl,--icf=all",
30998    ],
30999    target: {
31000        android_arm: {
31001            cflags: [
31002                "-D_FORTIFY_SOURCE=2",
31003            ],
31004        },
31005        android_arm64: {
31006            cflags: [
31007                "-D_FORTIFY_SOURCE=2",
31008                "-O2",
31009                "-mno-outline",
31010            ],
31011        },
31012        android_x86: {
31013            cflags: [
31014                "-D_FORTIFY_SOURCE=2",
31015                "-msse3",
31016            ],
31017        },
31018        android_x86_64: {
31019            cflags: [
31020                "-D_FORTIFY_SOURCE=2",
31021                "-msse3",
31022            ],
31023        },
31024    },
31025}
31026
31027// GN: //net/third_party/quiche:net_quic_test_tools_proto__testing
31028cc_library_static {
31029    name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing",
31030    srcs: [
31031        ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing",
31032    ],
31033    shared_libs: [
31034        "liblog",
31035        "libprotobuf-cpp-lite",
31036    ],
31037    generated_headers: [
31038        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
31039    ],
31040    export_generated_headers: [
31041        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
31042    ],
31043    defaults: [
31044        "cronet_aml_cc_defaults",
31045    ],
31046    cflags: [
31047        "-DANDROID",
31048        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
31049        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
31050        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
31051        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
31052        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
31053        "-DGOOGLE_PROTOBUF_NO_RTTI",
31054        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
31055        "-DHAVE_PTHREAD",
31056        "-DHAVE_SYS_UIO_H",
31057        "-DNDEBUG",
31058        "-DNET_IMPLEMENTATION",
31059        "-DNO_UNWIND_TABLES",
31060        "-DNVALGRIND",
31061        "-DOFFICIAL_BUILD",
31062        "-D_GNU_SOURCE",
31063        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
31064        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
31065        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
31066        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
31067        "-D__STDC_CONSTANT_MACROS",
31068        "-D__STDC_FORMAT_MACROS",
31069        "-fdata-sections",
31070        "-ffunction-sections",
31071        "-fno-asynchronous-unwind-tables",
31072        "-fno-unwind-tables",
31073        "-fstack-protector",
31074        "-fvisibility-inlines-hidden",
31075        "-fvisibility=hidden",
31076        "-g1",
31077    ],
31078    local_include_dirs: [
31079        "./",
31080        "buildtools/third_party/libc++/",
31081        "third_party/libc++/src/include",
31082        "third_party/libc++abi/src/include",
31083        "third_party/protobuf/src/",
31084    ],
31085    cpp_std: "c++20",
31086    ldflags: [
31087        "-Wl,--as-needed",
31088        "-Wl,--gc-sections",
31089        "-Wl,--icf=all",
31090    ],
31091    target: {
31092        android_arm: {
31093            cflags: [
31094                "-D_FORTIFY_SOURCE=2",
31095            ],
31096        },
31097        android_arm64: {
31098            cflags: [
31099                "-D_FORTIFY_SOURCE=2",
31100                "-O2",
31101                "-mno-outline",
31102            ],
31103        },
31104        android_x86: {
31105            cflags: [
31106                "-D_FORTIFY_SOURCE=2",
31107                "-msse3",
31108            ],
31109        },
31110        android_x86_64: {
31111            cflags: [
31112                "-D_FORTIFY_SOURCE=2",
31113                "-msse3",
31114            ],
31115        },
31116    },
31117}
31118
31119// GN: //net/third_party/quiche:net_quic_test_tools_proto_gen
31120cc_genrule {
31121    name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
31122    srcs: [
31123        "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
31124    ],
31125    tools: [
31126        "cronet_aml_third_party_protobuf_protoc",
31127    ],
31128    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
31129    out: [
31130        "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc",
31131    ],
31132    apex_available: [
31133        "com.android.tethering",
31134    ],
31135}
31136
31137// GN: //net/third_party/quiche:net_quic_test_tools_proto_gen__testing
31138cc_genrule {
31139    name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing",
31140    srcs: [
31141        "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
31142    ],
31143    tools: [
31144        "cronet_aml_third_party_protobuf_protoc",
31145    ],
31146    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
31147    out: [
31148        "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc",
31149    ],
31150    apex_available: [
31151        "com.android.tethering",
31152    ],
31153}
31154
31155// GN: //net/third_party/quiche:net_quic_test_tools_proto_gen__testing
31156cc_genrule {
31157    name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
31158    srcs: [
31159        "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
31160    ],
31161    tools: [
31162        "cronet_aml_third_party_protobuf_protoc",
31163    ],
31164    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
31165    out: [
31166        "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h",
31167    ],
31168    export_include_dirs: [
31169        ".",
31170        "net/third_party/quiche/src",
31171        "net/third_party/quiche/src/quiche/quic/test_tools",
31172        "protos",
31173    ],
31174    apex_available: [
31175        "com.android.tethering",
31176    ],
31177}
31178
31179// GN: //net/third_party/quiche:net_quic_test_tools_proto_gen
31180cc_genrule {
31181    name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
31182    srcs: [
31183        "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
31184    ],
31185    tools: [
31186        "cronet_aml_third_party_protobuf_protoc",
31187    ],
31188    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
31189    out: [
31190        "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h",
31191    ],
31192    export_include_dirs: [
31193        ".",
31194        "net/third_party/quiche/src",
31195        "net/third_party/quiche/src/quiche/quic/test_tools",
31196        "protos",
31197    ],
31198    apex_available: [
31199        "com.android.tethering",
31200    ],
31201}
31202
31203// GN: //net/third_party/quiche:quiche
31204cc_library_static {
31205    name: "cronet_aml_net_third_party_quiche_quiche",
31206    srcs: [
31207        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
31208        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_stack_trace_impl.cc",
31209        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
31210        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
31211        "net/third_party/quiche/src/quiche/binary_http/binary_http_message.cc",
31212        "net/third_party/quiche/src/quiche/common/capsule.cc",
31213        "net/third_party/quiche/src/quiche/common/http/http_header_block.cc",
31214        "net/third_party/quiche/src/quiche/common/http/http_header_storage.cc",
31215        "net/third_party/quiche/src/quiche/common/masque/connect_ip_datagram_payload.cc",
31216        "net/third_party/quiche/src/quiche/common/masque/connect_udp_datagram_payload.cc",
31217        "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
31218        "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
31219        "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
31220        "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
31221        "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
31222        "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
31223        "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
31224        "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
31225        "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
31226        "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
31227        "net/third_party/quiche/src/quiche/common/quiche_random.cc",
31228        "net/third_party/quiche/src/quiche/common/quiche_simple_arena.cc",
31229        "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
31230        "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
31231        "net/third_party/quiche/src/quiche/common/structured_headers.cc",
31232        "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
31233        "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
31234        "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
31235        "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
31236        "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
31237        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
31238        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
31239        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
31240        "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
31241        "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
31242        "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
31243        "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
31244        "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
31245        "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
31246        "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
31247        "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
31248        "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
31249        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
31250        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
31251        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
31252        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
31253        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
31254        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
31255        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
31256        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
31257        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
31258        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
31259        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
31260        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
31261        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
31262        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
31263        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
31264        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
31265        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
31266        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
31267        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
31268        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
31269        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
31270        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
31271        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
31272        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
31273        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
31274        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
31275        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
31276        "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
31277        "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
31278        "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
31279        "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
31280        "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
31281        "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
31282        "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
31283        "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
31284        "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_request.cc",
31285        "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_response.cc",
31286        "net/third_party/quiche/src/quiche/oblivious_http/common/oblivious_http_header_key_config.cc",
31287        "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_client.cc",
31288        "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_gateway.cc",
31289        "net/third_party/quiche/src/quiche/quic/core/chlo_extractor.cc",
31290        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
31291        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
31292        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
31293        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
31294        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
31295        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
31296        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
31297        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
31298        "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
31299        "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
31300        "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
31301        "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
31302        "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
31303        "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
31304        "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
31305        "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
31306        "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
31307        "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
31308        "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
31309        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
31310        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
31311        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
31312        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
31313        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
31314        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
31315        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
31316        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
31317        "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
31318        "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
31319        "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
31320        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
31321        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
31322        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
31323        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
31324        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
31325        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
31326        "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
31327        "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
31328        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
31329        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
31330        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
31331        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
31332        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
31333        "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
31334        "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
31335        "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
31336        "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
31337        "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
31338        "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
31339        "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
31340        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
31341        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
31342        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
31343        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
31344        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
31345        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
31346        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
31347        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
31348        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
31349        "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
31350        "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
31351        "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
31352        "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
31353        "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
31354        "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
31355        "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
31356        "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
31357        "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
31358        "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
31359        "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
31360        "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
31361        "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
31362        "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
31363        "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
31364        "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
31365        "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
31366        "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
31367        "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
31368        "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
31369        "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
31370        "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
31371        "net/third_party/quiche/src/quiche/quic/core/frames/quic_reset_stream_at_frame.cc",
31372        "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
31373        "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
31374        "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
31375        "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
31376        "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
31377        "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
31378        "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
31379        "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
31380        "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
31381        "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
31382        "net/third_party/quiche/src/quiche/quic/core/http/metadata_decoder.cc",
31383        "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
31384        "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
31385        "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
31386        "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
31387        "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
31388        "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
31389        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
31390        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
31391        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
31392        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_server_stream_base.cc",
31393        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
31394        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
31395        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
31396        "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
31397        "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
31398        "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
31399        "net/third_party/quiche/src/quiche/quic/core/internet_checksum.cc",
31400        "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
31401        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
31402        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
31403        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
31404        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
31405        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
31406        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
31407        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
31408        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
31409        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
31410        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
31411        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
31412        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
31413        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
31414        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
31415        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
31416        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
31417        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
31418        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
31419        "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
31420        "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
31421        "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
31422        "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
31423        "net/third_party/quiche/src/quiche/quic/core/quic_buffered_packet_store.cc",
31424        "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
31425        "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
31426        "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
31427        "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
31428        "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
31429        "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
31430        "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
31431        "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
31432        "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
31433        "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
31434        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
31435        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
31436        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
31437        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
31438        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
31439        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
31440        "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
31441        "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
31442        "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
31443        "net/third_party/quiche/src/quiche/quic/core/quic_default_clock.cc",
31444        "net/third_party/quiche/src/quiche/quic/core/quic_dispatcher.cc",
31445        "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
31446        "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
31447        "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
31448        "net/third_party/quiche/src/quiche/quic/core/quic_generic_session.cc",
31449        "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
31450        "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
31451        "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
31452        "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
31453        "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
31454        "net/third_party/quiche/src/quiche/quic/core/quic_packet_writer_wrapper.cc",
31455        "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
31456        "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
31457        "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
31458        "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
31459        "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
31460        "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
31461        "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
31462        "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
31463        "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
31464        "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
31465        "net/third_party/quiche/src/quiche/quic/core/quic_stream_priority.cc",
31466        "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
31467        "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
31468        "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
31469        "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
31470        "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
31471        "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
31472        "net/third_party/quiche/src/quiche/quic/core/quic_time_wait_list_manager.cc",
31473        "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
31474        "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
31475        "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
31476        "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
31477        "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
31478        "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
31479        "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
31480        "net/third_party/quiche/src/quiche/quic/core/tls_chlo_extractor.cc",
31481        "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
31482        "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
31483        "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
31484        "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
31485        "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
31486        "net/third_party/quiche/src/quiche/quic/core/web_transport_stats.cc",
31487        "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
31488        "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
31489        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
31490        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
31491        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
31492        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
31493        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
31494        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
31495        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
31496        "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
31497        "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
31498        "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
31499        "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
31500        "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
31501        "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
31502        "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
31503        "net/third_party/quiche/src/quiche/web_transport/complete_buffer_visitor.cc",
31504        "net/third_party/quiche/src/quiche/web_transport/encapsulated/encapsulated_web_transport.cc",
31505        "net/third_party/quiche/src/quiche/web_transport/web_transport_headers.cc",
31506        "net/third_party/quiche/src/quiche/web_transport/web_transport_priority_scheduler.cc",
31507    ],
31508    shared_libs: [
31509        "//external/cronet/third_party/boringssl:libcrypto",
31510        "//external/cronet/third_party/boringssl:libpki",
31511        "//external/cronet/third_party/boringssl:libssl",
31512        "libandroid",
31513        "liblog",
31514        "libprotobuf-cpp-lite",
31515        "libz",
31516    ],
31517    generated_headers: [
31518        "cronet_aml_base_allocator_buildflags",
31519        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
31520        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
31521        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
31522        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
31523        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
31524        "cronet_aml_base_anchor_functions_buildflags",
31525        "cronet_aml_base_android_runtime_jni_headers__action",
31526        "cronet_aml_base_base_jni__action",
31527        "cronet_aml_base_base_shared_preferences_jni__action",
31528        "cronet_aml_base_build_date",
31529        "cronet_aml_base_cfi_buildflags",
31530        "cronet_aml_base_check_version_internal_action",
31531        "cronet_aml_base_clang_profiling_buildflags",
31532        "cronet_aml_base_debugging_buildflags",
31533        "cronet_aml_base_feature_list_buildflags",
31534        "cronet_aml_base_fuzzing_buildflags",
31535        "cronet_aml_base_ios_cronet_buildflags",
31536        "cronet_aml_base_logging_buildflags",
31537        "cronet_aml_base_message_pump_buildflags",
31538        "cronet_aml_base_orderfile_buildflags",
31539        "cronet_aml_base_power_monitor_buildflags",
31540        "cronet_aml_base_process_launcher_jni__action",
31541        "cronet_aml_base_profiler_buildflags",
31542        "cronet_aml_base_protected_memory_buildflags",
31543        "cronet_aml_base_rust_buildflags",
31544        "cronet_aml_base_sanitizer_buildflags",
31545        "cronet_aml_base_synchronization_buildflags",
31546        "cronet_aml_base_tracing_buildflags",
31547        "cronet_aml_build_blink_buildflags",
31548        "cronet_aml_build_branding_buildflags",
31549        "cronet_aml_build_chromecast_buildflags",
31550        "cronet_aml_build_chromeos_buildflags",
31551        "cronet_aml_build_config_compiler_compiler_buildflags",
31552        "cronet_aml_build_ios_buildflags",
31553        "cronet_aml_build_robolectric_buildflags",
31554        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
31555        "cronet_aml_url_buildflags",
31556        "cronet_aml_url_url_jni_headers__action",
31557    ],
31558    export_generated_headers: [
31559        "cronet_aml_base_allocator_buildflags",
31560        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
31561        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
31562        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
31563        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
31564        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
31565        "cronet_aml_base_anchor_functions_buildflags",
31566        "cronet_aml_base_android_runtime_jni_headers__action",
31567        "cronet_aml_base_base_jni__action",
31568        "cronet_aml_base_base_shared_preferences_jni__action",
31569        "cronet_aml_base_build_date",
31570        "cronet_aml_base_cfi_buildflags",
31571        "cronet_aml_base_check_version_internal_action",
31572        "cronet_aml_base_clang_profiling_buildflags",
31573        "cronet_aml_base_debugging_buildflags",
31574        "cronet_aml_base_feature_list_buildflags",
31575        "cronet_aml_base_fuzzing_buildflags",
31576        "cronet_aml_base_ios_cronet_buildflags",
31577        "cronet_aml_base_logging_buildflags",
31578        "cronet_aml_base_message_pump_buildflags",
31579        "cronet_aml_base_orderfile_buildflags",
31580        "cronet_aml_base_power_monitor_buildflags",
31581        "cronet_aml_base_process_launcher_jni__action",
31582        "cronet_aml_base_profiler_buildflags",
31583        "cronet_aml_base_protected_memory_buildflags",
31584        "cronet_aml_base_rust_buildflags",
31585        "cronet_aml_base_sanitizer_buildflags",
31586        "cronet_aml_base_synchronization_buildflags",
31587        "cronet_aml_base_tracing_buildflags",
31588        "cronet_aml_build_blink_buildflags",
31589        "cronet_aml_build_branding_buildflags",
31590        "cronet_aml_build_chromecast_buildflags",
31591        "cronet_aml_build_chromeos_buildflags",
31592        "cronet_aml_build_config_compiler_compiler_buildflags",
31593        "cronet_aml_build_ios_buildflags",
31594        "cronet_aml_build_robolectric_buildflags",
31595        "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
31596        "cronet_aml_url_buildflags",
31597        "cronet_aml_url_url_jni_headers__action",
31598    ],
31599    defaults: [
31600        "cronet_aml_cc_defaults",
31601    ],
31602    cflags: [
31603        "-DANDROID",
31604        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
31605        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
31606        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
31607        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
31608        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
31609        "-DGOOGLE_PROTOBUF_NO_RTTI",
31610        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
31611        "-DHAVE_PTHREAD",
31612        "-DHAVE_SYS_UIO_H",
31613        "-DIS_QUICHE_IMPL",
31614        "-DNDEBUG",
31615        "-DNO_UNWIND_TABLES",
31616        "-DNVALGRIND",
31617        "-DOFFICIAL_BUILD",
31618        "-D_GNU_SOURCE",
31619        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
31620        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
31621        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
31622        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
31623        "-D__STDC_CONSTANT_MACROS",
31624        "-D__STDC_FORMAT_MACROS",
31625        "-fdata-sections",
31626        "-ffunction-sections",
31627        "-fno-asynchronous-unwind-tables",
31628        "-fno-unwind-tables",
31629        "-fstack-protector",
31630        "-fvisibility-inlines-hidden",
31631        "-fvisibility=hidden",
31632        "-g1",
31633    ],
31634    local_include_dirs: [
31635        "./",
31636        "base/allocator/partition_allocator/src/",
31637        "buildtools/third_party/libc++/",
31638        "net/third_party/quiche/overrides/",
31639        "net/third_party/quiche/src/",
31640        "net/third_party/quiche/src/quiche/common/platform/default/",
31641        "third_party/abseil-cpp/",
31642        "third_party/boringssl/src/include/",
31643        "third_party/libc++/src/include",
31644        "third_party/libc++abi/src/include",
31645        "third_party/protobuf/src/",
31646    ],
31647    cpp_std: "c++20",
31648    ldflags: [
31649        "-Wl,--as-needed",
31650        "-Wl,--gc-sections",
31651        "-Wl,--icf=all",
31652        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
31653        "-Wl,-wrap,asprintf",
31654        "-Wl,-wrap,calloc",
31655        "-Wl,-wrap,free",
31656        "-Wl,-wrap,getcwd",
31657        "-Wl,-wrap,malloc",
31658        "-Wl,-wrap,malloc_usable_size",
31659        "-Wl,-wrap,memalign",
31660        "-Wl,-wrap,posix_memalign",
31661        "-Wl,-wrap,pvalloc",
31662        "-Wl,-wrap,realloc",
31663        "-Wl,-wrap,realpath",
31664        "-Wl,-wrap,strdup",
31665        "-Wl,-wrap,strndup",
31666        "-Wl,-wrap,valloc",
31667        "-Wl,-wrap,vasprintf",
31668    ],
31669    target: {
31670        android_arm: {
31671            cflags: [
31672                "-D_FORTIFY_SOURCE=2",
31673            ],
31674        },
31675        android_arm64: {
31676            cflags: [
31677                "-D_FORTIFY_SOURCE=2",
31678                "-O2",
31679                "-mno-outline",
31680            ],
31681        },
31682        android_x86: {
31683            cflags: [
31684                "-D_FORTIFY_SOURCE=2",
31685                "-msse3",
31686            ],
31687        },
31688        android_x86_64: {
31689            cflags: [
31690                "-D_FORTIFY_SOURCE=2",
31691                "-msse3",
31692            ],
31693        },
31694    },
31695}
31696
31697// GN: //net/third_party/quiche:quiche__testing
31698cc_library_static {
31699    name: "cronet_aml_net_third_party_quiche_quiche__testing",
31700    srcs: [
31701        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
31702        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_stack_trace_impl.cc",
31703        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
31704        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
31705        "net/third_party/quiche/src/quiche/binary_http/binary_http_message.cc",
31706        "net/third_party/quiche/src/quiche/common/capsule.cc",
31707        "net/third_party/quiche/src/quiche/common/http/http_header_block.cc",
31708        "net/third_party/quiche/src/quiche/common/http/http_header_storage.cc",
31709        "net/third_party/quiche/src/quiche/common/masque/connect_ip_datagram_payload.cc",
31710        "net/third_party/quiche/src/quiche/common/masque/connect_udp_datagram_payload.cc",
31711        "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
31712        "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
31713        "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
31714        "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
31715        "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
31716        "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
31717        "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
31718        "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
31719        "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
31720        "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
31721        "net/third_party/quiche/src/quiche/common/quiche_random.cc",
31722        "net/third_party/quiche/src/quiche/common/quiche_simple_arena.cc",
31723        "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
31724        "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
31725        "net/third_party/quiche/src/quiche/common/structured_headers.cc",
31726        "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
31727        "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
31728        "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
31729        "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
31730        "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
31731        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
31732        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
31733        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
31734        "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
31735        "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
31736        "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
31737        "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
31738        "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
31739        "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
31740        "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
31741        "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
31742        "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
31743        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
31744        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
31745        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
31746        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
31747        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
31748        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
31749        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
31750        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
31751        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
31752        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
31753        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
31754        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
31755        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
31756        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
31757        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
31758        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
31759        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
31760        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
31761        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
31762        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
31763        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
31764        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
31765        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
31766        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
31767        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
31768        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
31769        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
31770        "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
31771        "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
31772        "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
31773        "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
31774        "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
31775        "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
31776        "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
31777        "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
31778        "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_request.cc",
31779        "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_response.cc",
31780        "net/third_party/quiche/src/quiche/oblivious_http/common/oblivious_http_header_key_config.cc",
31781        "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_client.cc",
31782        "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_gateway.cc",
31783        "net/third_party/quiche/src/quiche/quic/core/chlo_extractor.cc",
31784        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
31785        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
31786        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
31787        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
31788        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
31789        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
31790        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
31791        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
31792        "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
31793        "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
31794        "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
31795        "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
31796        "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
31797        "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
31798        "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
31799        "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
31800        "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
31801        "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
31802        "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
31803        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
31804        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
31805        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
31806        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
31807        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
31808        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
31809        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
31810        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
31811        "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
31812        "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
31813        "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
31814        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
31815        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
31816        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
31817        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
31818        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
31819        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
31820        "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
31821        "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
31822        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
31823        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
31824        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
31825        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
31826        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
31827        "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
31828        "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
31829        "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
31830        "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
31831        "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
31832        "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
31833        "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
31834        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
31835        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
31836        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
31837        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
31838        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
31839        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
31840        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
31841        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
31842        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
31843        "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
31844        "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
31845        "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
31846        "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
31847        "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
31848        "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
31849        "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
31850        "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
31851        "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
31852        "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
31853        "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
31854        "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
31855        "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
31856        "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
31857        "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
31858        "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
31859        "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
31860        "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
31861        "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
31862        "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
31863        "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
31864        "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
31865        "net/third_party/quiche/src/quiche/quic/core/frames/quic_reset_stream_at_frame.cc",
31866        "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
31867        "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
31868        "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
31869        "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
31870        "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
31871        "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
31872        "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
31873        "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
31874        "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
31875        "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
31876        "net/third_party/quiche/src/quiche/quic/core/http/metadata_decoder.cc",
31877        "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
31878        "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
31879        "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
31880        "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
31881        "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
31882        "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
31883        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
31884        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
31885        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
31886        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_server_stream_base.cc",
31887        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
31888        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
31889        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
31890        "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
31891        "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
31892        "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
31893        "net/third_party/quiche/src/quiche/quic/core/internet_checksum.cc",
31894        "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
31895        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
31896        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
31897        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
31898        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
31899        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
31900        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
31901        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
31902        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
31903        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
31904        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
31905        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
31906        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
31907        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
31908        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
31909        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
31910        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
31911        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
31912        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
31913        "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
31914        "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
31915        "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
31916        "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
31917        "net/third_party/quiche/src/quiche/quic/core/quic_buffered_packet_store.cc",
31918        "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
31919        "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
31920        "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
31921        "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
31922        "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
31923        "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
31924        "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
31925        "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
31926        "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
31927        "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
31928        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
31929        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
31930        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
31931        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
31932        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
31933        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
31934        "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
31935        "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
31936        "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
31937        "net/third_party/quiche/src/quiche/quic/core/quic_default_clock.cc",
31938        "net/third_party/quiche/src/quiche/quic/core/quic_dispatcher.cc",
31939        "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
31940        "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
31941        "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
31942        "net/third_party/quiche/src/quiche/quic/core/quic_generic_session.cc",
31943        "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
31944        "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
31945        "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
31946        "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
31947        "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
31948        "net/third_party/quiche/src/quiche/quic/core/quic_packet_writer_wrapper.cc",
31949        "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
31950        "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
31951        "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
31952        "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
31953        "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
31954        "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
31955        "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
31956        "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
31957        "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
31958        "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
31959        "net/third_party/quiche/src/quiche/quic/core/quic_stream_priority.cc",
31960        "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
31961        "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
31962        "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
31963        "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
31964        "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
31965        "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
31966        "net/third_party/quiche/src/quiche/quic/core/quic_time_wait_list_manager.cc",
31967        "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
31968        "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
31969        "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
31970        "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
31971        "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
31972        "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
31973        "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
31974        "net/third_party/quiche/src/quiche/quic/core/tls_chlo_extractor.cc",
31975        "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
31976        "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
31977        "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
31978        "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
31979        "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
31980        "net/third_party/quiche/src/quiche/quic/core/web_transport_stats.cc",
31981        "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
31982        "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
31983        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
31984        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
31985        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
31986        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
31987        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
31988        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
31989        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
31990        "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
31991        "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
31992        "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
31993        "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
31994        "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
31995        "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
31996        "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
31997        "net/third_party/quiche/src/quiche/web_transport/complete_buffer_visitor.cc",
31998        "net/third_party/quiche/src/quiche/web_transport/encapsulated/encapsulated_web_transport.cc",
31999        "net/third_party/quiche/src/quiche/web_transport/web_transport_headers.cc",
32000        "net/third_party/quiche/src/quiche/web_transport/web_transport_priority_scheduler.cc",
32001    ],
32002    shared_libs: [
32003        "libandroid",
32004        "liblog",
32005        "libprotobuf-cpp-lite",
32006        "libz",
32007    ],
32008    generated_headers: [
32009        "cronet_aml_base_allocator_buildflags__testing",
32010        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
32011        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
32012        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
32013        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
32014        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
32015        "cronet_aml_base_anchor_functions_buildflags__testing",
32016        "cronet_aml_base_build_date__testing",
32017        "cronet_aml_base_cfi_buildflags__testing",
32018        "cronet_aml_base_check_version_internal_action__testing",
32019        "cronet_aml_base_clang_profiling_buildflags__testing",
32020        "cronet_aml_base_debugging_buildflags__testing",
32021        "cronet_aml_base_feature_list_buildflags__testing",
32022        "cronet_aml_base_fuzzing_buildflags__testing",
32023        "cronet_aml_base_ios_cronet_buildflags__testing",
32024        "cronet_aml_base_logging_buildflags__testing",
32025        "cronet_aml_base_message_pump_buildflags__testing",
32026        "cronet_aml_base_orderfile_buildflags__testing",
32027        "cronet_aml_base_power_monitor_buildflags__testing",
32028        "cronet_aml_base_profiler_buildflags__testing",
32029        "cronet_aml_base_protected_memory_buildflags__testing",
32030        "cronet_aml_base_rust_buildflags__testing",
32031        "cronet_aml_base_sanitizer_buildflags__testing",
32032        "cronet_aml_base_synchronization_buildflags__testing",
32033        "cronet_aml_base_tracing_buildflags__testing",
32034        "cronet_aml_build_blink_buildflags__testing",
32035        "cronet_aml_build_branding_buildflags__testing",
32036        "cronet_aml_build_chromecast_buildflags__testing",
32037        "cronet_aml_build_chromeos_buildflags__testing",
32038        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
32039        "cronet_aml_build_ios_buildflags__testing",
32040        "cronet_aml_build_robolectric_buildflags__testing",
32041        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
32042        "cronet_aml_url_buildflags__testing",
32043        "cronet_aml_url_url_jni_headers__action__testing",
32044    ],
32045    export_generated_headers: [
32046        "cronet_aml_base_allocator_buildflags__testing",
32047        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
32048        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
32049        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
32050        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
32051        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
32052        "cronet_aml_base_anchor_functions_buildflags__testing",
32053        "cronet_aml_base_build_date__testing",
32054        "cronet_aml_base_cfi_buildflags__testing",
32055        "cronet_aml_base_check_version_internal_action__testing",
32056        "cronet_aml_base_clang_profiling_buildflags__testing",
32057        "cronet_aml_base_debugging_buildflags__testing",
32058        "cronet_aml_base_feature_list_buildflags__testing",
32059        "cronet_aml_base_fuzzing_buildflags__testing",
32060        "cronet_aml_base_ios_cronet_buildflags__testing",
32061        "cronet_aml_base_logging_buildflags__testing",
32062        "cronet_aml_base_message_pump_buildflags__testing",
32063        "cronet_aml_base_orderfile_buildflags__testing",
32064        "cronet_aml_base_power_monitor_buildflags__testing",
32065        "cronet_aml_base_profiler_buildflags__testing",
32066        "cronet_aml_base_protected_memory_buildflags__testing",
32067        "cronet_aml_base_rust_buildflags__testing",
32068        "cronet_aml_base_sanitizer_buildflags__testing",
32069        "cronet_aml_base_synchronization_buildflags__testing",
32070        "cronet_aml_base_tracing_buildflags__testing",
32071        "cronet_aml_build_blink_buildflags__testing",
32072        "cronet_aml_build_branding_buildflags__testing",
32073        "cronet_aml_build_chromecast_buildflags__testing",
32074        "cronet_aml_build_chromeos_buildflags__testing",
32075        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
32076        "cronet_aml_build_ios_buildflags__testing",
32077        "cronet_aml_build_robolectric_buildflags__testing",
32078        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
32079        "cronet_aml_url_buildflags__testing",
32080        "cronet_aml_url_url_jni_headers__action__testing",
32081    ],
32082    defaults: [
32083        "cronet_aml_cc_defaults",
32084    ],
32085    cflags: [
32086        "-DANDROID",
32087        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
32088        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
32089        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
32090        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
32091        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
32092        "-DGOOGLE_PROTOBUF_NO_RTTI",
32093        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
32094        "-DHAVE_PTHREAD",
32095        "-DHAVE_SYS_UIO_H",
32096        "-DIS_QUICHE_IMPL",
32097        "-DNDEBUG",
32098        "-DNO_UNWIND_TABLES",
32099        "-DNVALGRIND",
32100        "-DOFFICIAL_BUILD",
32101        "-D_GNU_SOURCE",
32102        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
32103        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
32104        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
32105        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
32106        "-D__STDC_CONSTANT_MACROS",
32107        "-D__STDC_FORMAT_MACROS",
32108        "-fdata-sections",
32109        "-ffunction-sections",
32110        "-fno-asynchronous-unwind-tables",
32111        "-fno-unwind-tables",
32112        "-fstack-protector",
32113        "-fvisibility-inlines-hidden",
32114        "-fvisibility=hidden",
32115        "-g1",
32116    ],
32117    local_include_dirs: [
32118        "./",
32119        "base/allocator/partition_allocator/src/",
32120        "buildtools/third_party/libc++/",
32121        "net/third_party/quiche/overrides/",
32122        "net/third_party/quiche/src/",
32123        "net/third_party/quiche/src/quiche/common/platform/default/",
32124        "third_party/abseil-cpp/",
32125        "third_party/boringssl/src/include/",
32126        "third_party/libc++/src/include",
32127        "third_party/libc++abi/src/include",
32128        "third_party/protobuf/src/",
32129    ],
32130    cpp_std: "c++20",
32131    ldflags: [
32132        "-Wl,--as-needed",
32133        "-Wl,--gc-sections",
32134        "-Wl,--icf=all",
32135        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
32136        "-Wl,-wrap,asprintf",
32137        "-Wl,-wrap,calloc",
32138        "-Wl,-wrap,free",
32139        "-Wl,-wrap,getcwd",
32140        "-Wl,-wrap,malloc",
32141        "-Wl,-wrap,malloc_usable_size",
32142        "-Wl,-wrap,memalign",
32143        "-Wl,-wrap,posix_memalign",
32144        "-Wl,-wrap,pvalloc",
32145        "-Wl,-wrap,realloc",
32146        "-Wl,-wrap,realpath",
32147        "-Wl,-wrap,strdup",
32148        "-Wl,-wrap,strndup",
32149        "-Wl,-wrap,valloc",
32150        "-Wl,-wrap,vasprintf",
32151    ],
32152    target: {
32153        android_arm: {
32154            cflags: [
32155                "-D_FORTIFY_SOURCE=2",
32156            ],
32157        },
32158        android_arm64: {
32159            cflags: [
32160                "-D_FORTIFY_SOURCE=2",
32161                "-O2",
32162                "-mno-outline",
32163            ],
32164        },
32165        android_x86: {
32166            cflags: [
32167                "-D_FORTIFY_SOURCE=2",
32168                "-msse3",
32169            ],
32170        },
32171        android_x86_64: {
32172            cflags: [
32173                "-D_FORTIFY_SOURCE=2",
32174                "-msse3",
32175            ],
32176        },
32177    },
32178}
32179
32180// GN: //net/third_party/quiche:quiche_test_support__testing
32181cc_library_static {
32182    name: "cronet_aml_net_third_party_quiche_quiche_test_support__testing",
32183    srcs: [
32184        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_test_helpers_impl.cc",
32185        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_test_impl.cc",
32186        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_test_output_impl.cc",
32187        "net/third_party/quiche/src/quiche/common/platform/api/quiche_test_loopback.cc",
32188        "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_test_loopback_impl.cc",
32189        "net/third_party/quiche/src/quiche/common/test_tools/quiche_test_utils.cc",
32190        "net/third_party/quiche/src/quiche/http2/adapter/recording_http2_visitor.cc",
32191        "net/third_party/quiche/src/quiche/http2/adapter/test_frame_sequence.cc",
32192        "net/third_party/quiche/src/quiche/http2/adapter/test_utils.cc",
32193        "net/third_party/quiche/src/quiche/http2/test_tools/frame_decoder_state_test_util.cc",
32194        "net/third_party/quiche/src/quiche/http2/test_tools/frame_parts.cc",
32195        "net/third_party/quiche/src/quiche/http2/test_tools/frame_parts_collector.cc",
32196        "net/third_party/quiche/src/quiche/http2/test_tools/frame_parts_collector_listener.cc",
32197        "net/third_party/quiche/src/quiche/http2/test_tools/hpack_block_builder.cc",
32198        "net/third_party/quiche/src/quiche/http2/test_tools/hpack_block_collector.cc",
32199        "net/third_party/quiche/src/quiche/http2/test_tools/hpack_entry_collector.cc",
32200        "net/third_party/quiche/src/quiche/http2/test_tools/hpack_example.cc",
32201        "net/third_party/quiche/src/quiche/http2/test_tools/hpack_string_collector.cc",
32202        "net/third_party/quiche/src/quiche/http2/test_tools/http2_constants_test_util.cc",
32203        "net/third_party/quiche/src/quiche/http2/test_tools/http2_frame_builder.cc",
32204        "net/third_party/quiche/src/quiche/http2/test_tools/http2_frame_decoder_listener_test_util.cc",
32205        "net/third_party/quiche/src/quiche/http2/test_tools/http2_random.cc",
32206        "net/third_party/quiche/src/quiche/http2/test_tools/http2_structure_decoder_test_util.cc",
32207        "net/third_party/quiche/src/quiche/http2/test_tools/http2_structures_test_util.cc",
32208        "net/third_party/quiche/src/quiche/http2/test_tools/http2_trace_printer.cc",
32209        "net/third_party/quiche/src/quiche/http2/test_tools/payload_decoder_base_test_util.cc",
32210        "net/third_party/quiche/src/quiche/http2/test_tools/random_decoder_test_base.cc",
32211        "net/third_party/quiche/src/quiche/http2/test_tools/random_util.cc",
32212        "net/third_party/quiche/src/quiche/quic/test_tools/bad_packet_writer.cc",
32213        "net/third_party/quiche/src/quiche/quic/test_tools/crypto_test_utils.cc",
32214        "net/third_party/quiche/src/quiche/quic/test_tools/failing_proof_source.cc",
32215        "net/third_party/quiche/src/quiche/quic/test_tools/fake_proof_source.cc",
32216        "net/third_party/quiche/src/quiche/quic/test_tools/fake_proof_source_handle.cc",
32217        "net/third_party/quiche/src/quiche/quic/test_tools/first_flight.cc",
32218        "net/third_party/quiche/src/quiche/quic/test_tools/limited_mtu_test_writer.cc",
32219        "net/third_party/quiche/src/quiche/quic/test_tools/mock_clock.cc",
32220        "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_dispatcher.cc",
32221        "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_session_visitor.cc",
32222        "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_spdy_client_stream.cc",
32223        "net/third_party/quiche/src/quiche/quic/test_tools/mock_quic_time_wait_list_manager.cc",
32224        "net/third_party/quiche/src/quiche/quic/test_tools/mock_random.cc",
32225        "net/third_party/quiche/src/quiche/quic/test_tools/packet_dropping_test_writer.cc",
32226        "net/third_party/quiche/src/quiche/quic/test_tools/packet_reordering_writer.cc",
32227        "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_decoder_test_utils.cc",
32228        "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_encoder_peer.cc",
32229        "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_offline_decoder.cc",
32230        "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_test_utils.cc",
32231        "net/third_party/quiche/src/quiche/quic/test_tools/quic_buffered_packet_store_peer.cc",
32232        "net/third_party/quiche/src/quiche/quic/test_tools/quic_coalesced_packet_peer.cc",
32233        "net/third_party/quiche/src/quiche/quic/test_tools/quic_config_peer.cc",
32234        "net/third_party/quiche/src/quiche/quic/test_tools/quic_connection_peer.cc",
32235        "net/third_party/quiche/src/quiche/quic/test_tools/quic_crypto_server_config_peer.cc",
32236        "net/third_party/quiche/src/quiche/quic/test_tools/quic_dispatcher_peer.cc",
32237        "net/third_party/quiche/src/quiche/quic/test_tools/quic_flow_controller_peer.cc",
32238        "net/third_party/quiche/src/quiche/quic/test_tools/quic_framer_peer.cc",
32239        "net/third_party/quiche/src/quiche/quic/test_tools/quic_packet_creator_peer.cc",
32240        "net/third_party/quiche/src/quiche/quic/test_tools/quic_path_validator_peer.cc",
32241        "net/third_party/quiche/src/quiche/quic/test_tools/quic_sent_packet_manager_peer.cc",
32242        "net/third_party/quiche/src/quiche/quic/test_tools/quic_session_peer.cc",
32243        "net/third_party/quiche/src/quiche/quic/test_tools/quic_spdy_session_peer.cc",
32244        "net/third_party/quiche/src/quiche/quic/test_tools/quic_spdy_stream_peer.cc",
32245        "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_id_manager_peer.cc",
32246        "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_peer.cc",
32247        "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_send_buffer_peer.cc",
32248        "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_sequencer_buffer_peer.cc",
32249        "net/third_party/quiche/src/quiche/quic/test_tools/quic_stream_sequencer_peer.cc",
32250        "net/third_party/quiche/src/quiche/quic/test_tools/quic_sustained_bandwidth_recorder_peer.cc",
32251        "net/third_party/quiche/src/quiche/quic/test_tools/quic_test_backend.cc",
32252        "net/third_party/quiche/src/quiche/quic/test_tools/quic_test_utils.cc",
32253        "net/third_party/quiche/src/quiche/quic/test_tools/quic_time_wait_list_manager_peer.cc",
32254        "net/third_party/quiche/src/quiche/quic/test_tools/quic_unacked_packet_map_peer.cc",
32255        "net/third_party/quiche/src/quiche/quic/test_tools/rtt_stats_peer.cc",
32256        "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_utils.cc",
32257        "net/third_party/quiche/src/quiche/quic/test_tools/simple_data_producer.cc",
32258        "net/third_party/quiche/src/quiche/quic/test_tools/simple_quic_framer.cc",
32259        "net/third_party/quiche/src/quiche/quic/test_tools/simple_session_cache.cc",
32260        "net/third_party/quiche/src/quiche/quic/test_tools/simple_session_notifier.cc",
32261        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/actor.cc",
32262        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/alarm_factory.cc",
32263        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/link.cc",
32264        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/packet_filter.cc",
32265        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/port.cc",
32266        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/queue.cc",
32267        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/quic_endpoint.cc",
32268        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/quic_endpoint_base.cc",
32269        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/simulator.cc",
32270        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/switch.cc",
32271        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/test_harness.cc",
32272        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/traffic_policer.cc",
32273        "net/third_party/quiche/src/quiche/quic/test_tools/test_certificates.cc",
32274        "net/third_party/quiche/src/quiche/quic/test_tools/test_ip_packets.cc",
32275        "net/third_party/quiche/src/quiche/quic/test_tools/test_ticket_crypter.cc",
32276        "net/third_party/quiche/src/quiche/quic/test_tools/web_transport_resets_backend.cc",
32277        "net/third_party/quiche/src/quiche/spdy/test_tools/mock_spdy_framer_visitor.cc",
32278        "net/third_party/quiche/src/quiche/spdy/test_tools/mock_spdy_headers_handler.cc",
32279        "net/third_party/quiche/src/quiche/spdy/test_tools/spdy_test_utils.cc",
32280    ],
32281    shared_libs: [
32282        "libandroid",
32283        "liblog",
32284        "libprotobuf-cpp-lite",
32285        "libz",
32286    ],
32287    generated_headers: [
32288        "cronet_aml_base_allocator_buildflags__testing",
32289        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
32290        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
32291        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
32292        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
32293        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
32294        "cronet_aml_base_anchor_functions_buildflags__testing",
32295        "cronet_aml_base_build_date__testing",
32296        "cronet_aml_base_cfi_buildflags__testing",
32297        "cronet_aml_base_check_version_internal_action__testing",
32298        "cronet_aml_base_clang_profiling_buildflags__testing",
32299        "cronet_aml_base_debugging_buildflags__testing",
32300        "cronet_aml_base_feature_list_buildflags__testing",
32301        "cronet_aml_base_fuzzing_buildflags__testing",
32302        "cronet_aml_base_ios_cronet_buildflags__testing",
32303        "cronet_aml_base_logging_buildflags__testing",
32304        "cronet_aml_base_message_pump_buildflags__testing",
32305        "cronet_aml_base_orderfile_buildflags__testing",
32306        "cronet_aml_base_power_monitor_buildflags__testing",
32307        "cronet_aml_base_profiler_buildflags__testing",
32308        "cronet_aml_base_protected_memory_buildflags__testing",
32309        "cronet_aml_base_rust_buildflags__testing",
32310        "cronet_aml_base_sanitizer_buildflags__testing",
32311        "cronet_aml_base_synchronization_buildflags__testing",
32312        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
32313        "cronet_aml_base_test_test_support_jni_headers__action__testing",
32314        "cronet_aml_base_tracing_buildflags__testing",
32315        "cronet_aml_build_blink_buildflags__testing",
32316        "cronet_aml_build_branding_buildflags__testing",
32317        "cronet_aml_build_chromecast_buildflags__testing",
32318        "cronet_aml_build_chromeos_buildflags__testing",
32319        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
32320        "cronet_aml_build_ios_buildflags__testing",
32321        "cronet_aml_build_robolectric_buildflags__testing",
32322        "cronet_aml_crypto_buildflags__testing",
32323        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
32324        "cronet_aml_net_buildflags__testing",
32325        "cronet_aml_net_cronet_buildflags__testing",
32326        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
32327        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
32328        "cronet_aml_net_net_jni_headers__action__testing",
32329        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
32330        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
32331        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
32332        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
32333        "cronet_aml_url_buildflags__testing",
32334        "cronet_aml_url_url_jni_headers__action__testing",
32335    ],
32336    export_generated_headers: [
32337        "cronet_aml_base_allocator_buildflags__testing",
32338        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
32339        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
32340        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
32341        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
32342        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
32343        "cronet_aml_base_anchor_functions_buildflags__testing",
32344        "cronet_aml_base_build_date__testing",
32345        "cronet_aml_base_cfi_buildflags__testing",
32346        "cronet_aml_base_check_version_internal_action__testing",
32347        "cronet_aml_base_clang_profiling_buildflags__testing",
32348        "cronet_aml_base_debugging_buildflags__testing",
32349        "cronet_aml_base_feature_list_buildflags__testing",
32350        "cronet_aml_base_fuzzing_buildflags__testing",
32351        "cronet_aml_base_ios_cronet_buildflags__testing",
32352        "cronet_aml_base_logging_buildflags__testing",
32353        "cronet_aml_base_message_pump_buildflags__testing",
32354        "cronet_aml_base_orderfile_buildflags__testing",
32355        "cronet_aml_base_power_monitor_buildflags__testing",
32356        "cronet_aml_base_profiler_buildflags__testing",
32357        "cronet_aml_base_protected_memory_buildflags__testing",
32358        "cronet_aml_base_rust_buildflags__testing",
32359        "cronet_aml_base_sanitizer_buildflags__testing",
32360        "cronet_aml_base_synchronization_buildflags__testing",
32361        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
32362        "cronet_aml_base_test_test_support_jni_headers__action__testing",
32363        "cronet_aml_base_tracing_buildflags__testing",
32364        "cronet_aml_build_blink_buildflags__testing",
32365        "cronet_aml_build_branding_buildflags__testing",
32366        "cronet_aml_build_chromecast_buildflags__testing",
32367        "cronet_aml_build_chromeos_buildflags__testing",
32368        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
32369        "cronet_aml_build_ios_buildflags__testing",
32370        "cronet_aml_build_robolectric_buildflags__testing",
32371        "cronet_aml_crypto_buildflags__testing",
32372        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
32373        "cronet_aml_net_buildflags__testing",
32374        "cronet_aml_net_cronet_buildflags__testing",
32375        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
32376        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
32377        "cronet_aml_net_net_jni_headers__action__testing",
32378        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
32379        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
32380        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
32381        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
32382        "cronet_aml_url_buildflags__testing",
32383        "cronet_aml_url_url_jni_headers__action__testing",
32384    ],
32385    defaults: [
32386        "cronet_aml_cc_defaults",
32387    ],
32388    cflags: [
32389        "-DANDROID",
32390        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
32391        "-DBENCHMARK_STATIC_DEFINE",
32392        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
32393        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
32394        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
32395        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
32396        "-DGOOGLE_PROTOBUF_NO_RTTI",
32397        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
32398        "-DGTEST_API_=",
32399        "-DGTEST_HAS_ABSL",
32400        "-DGTEST_HAS_POSIX_RE=0",
32401        "-DGTEST_HAS_TR1_TUPLE=0",
32402        "-DGTEST_LANG_CXX11=1",
32403        "-DGTEST_NO_ABSL_FLAGS",
32404        "-DHAVE_PTHREAD",
32405        "-DHAVE_SYS_UIO_H",
32406        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
32407        "-DNDEBUG",
32408        "-DNO_UNWIND_TABLES",
32409        "-DNVALGRIND",
32410        "-DOFFICIAL_BUILD",
32411        "-DUNIT_TEST",
32412        "-DUSE_CHROMIUM_ICU=1",
32413        "-DUSE_REMOTE_TEST_SERVER",
32414        "-DU_ENABLE_DYLOAD=0",
32415        "-DU_ENABLE_RESOURCE_TRACING=0",
32416        "-DU_ENABLE_TRACING=1",
32417        "-DU_STATIC_IMPLEMENTATION",
32418        "-DU_USING_ICU_NAMESPACE=0",
32419        "-D_GNU_SOURCE",
32420        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
32421        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
32422        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
32423        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
32424        "-D__STDC_CONSTANT_MACROS",
32425        "-D__STDC_FORMAT_MACROS",
32426        "-fdata-sections",
32427        "-ffunction-sections",
32428        "-fno-asynchronous-unwind-tables",
32429        "-fno-unwind-tables",
32430        "-fstack-protector",
32431        "-fvisibility-inlines-hidden",
32432        "-fvisibility=hidden",
32433        "-g1",
32434    ],
32435    local_include_dirs: [
32436        "./",
32437        "base/allocator/partition_allocator/src/",
32438        "buildtools/third_party/libc++/",
32439        "net/third_party/quiche/overrides/",
32440        "net/third_party/quiche/src/",
32441        "net/third_party/quiche/src/quiche/common/platform/default/",
32442        "third_party/abseil-cpp/",
32443        "third_party/boringssl/src/include/",
32444        "third_party/ced/src/",
32445        "third_party/google_benchmark/src/include/",
32446        "third_party/googletest/custom/",
32447        "third_party/googletest/src/googlemock/include/",
32448        "third_party/googletest/src/googletest/include/",
32449        "third_party/icu/source/common/",
32450        "third_party/icu/source/i18n/",
32451        "third_party/libc++/src/include",
32452        "third_party/libc++abi/src/include",
32453        "third_party/protobuf/src/",
32454        "third_party/re2/src/",
32455    ],
32456    cpp_std: "c++20",
32457    ldflags: [
32458        "-Wl,--as-needed",
32459        "-Wl,--gc-sections",
32460        "-Wl,--icf=all",
32461        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
32462        "-Wl,-wrap,asprintf",
32463        "-Wl,-wrap,calloc",
32464        "-Wl,-wrap,free",
32465        "-Wl,-wrap,getcwd",
32466        "-Wl,-wrap,malloc",
32467        "-Wl,-wrap,malloc_usable_size",
32468        "-Wl,-wrap,memalign",
32469        "-Wl,-wrap,posix_memalign",
32470        "-Wl,-wrap,pvalloc",
32471        "-Wl,-wrap,realloc",
32472        "-Wl,-wrap,realpath",
32473        "-Wl,-wrap,strdup",
32474        "-Wl,-wrap,strndup",
32475        "-Wl,-wrap,valloc",
32476        "-Wl,-wrap,vasprintf",
32477    ],
32478    target: {
32479        android_arm: {
32480            cflags: [
32481                "-D_FORTIFY_SOURCE=2",
32482            ],
32483        },
32484        android_arm64: {
32485            cflags: [
32486                "-D_FORTIFY_SOURCE=2",
32487                "-O2",
32488                "-mno-outline",
32489            ],
32490        },
32491        android_x86: {
32492            cflags: [
32493                "-D_FORTIFY_SOURCE=2",
32494                "-msse3",
32495            ],
32496        },
32497        android_x86_64: {
32498            cflags: [
32499                "-D_FORTIFY_SOURCE=2",
32500                "-msse3",
32501            ],
32502        },
32503    },
32504}
32505
32506// GN: //net/third_party/quiche:quiche_tests__testing
32507cc_library_static {
32508    name: "cronet_aml_net_third_party_quiche_quiche_tests__testing",
32509    srcs: [
32510        "net/third_party/quiche/src/quiche/binary_http/binary_http_message_test.cc",
32511        "net/third_party/quiche/src/quiche/blind_sign_auth/blind_sign_auth_test.cc",
32512        "net/third_party/quiche/src/quiche/blind_sign_auth/cached_blind_sign_auth_test.cc",
32513        "net/third_party/quiche/src/quiche/common/btree_scheduler_test.cc",
32514        "net/third_party/quiche/src/quiche/common/capsule_test.cc",
32515        "net/third_party/quiche/src/quiche/common/http/http_header_block_test.cc",
32516        "net/third_party/quiche/src/quiche/common/http/http_header_storage_test.cc",
32517        "net/third_party/quiche/src/quiche/common/masque/connect_ip_datagram_payload_test.cc",
32518        "net/third_party/quiche/src/quiche/common/masque/connect_udp_datagram_payload_test.cc",
32519        "net/third_party/quiche/src/quiche/common/platform/api/quiche_file_utils_test.cc",
32520        "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils_test.cc",
32521        "net/third_party/quiche/src/quiche/common/platform/api/quiche_lower_case_string_test.cc",
32522        "net/third_party/quiche/src/quiche/common/platform/api/quiche_mem_slice_test.cc",
32523        "net/third_party/quiche/src/quiche/common/platform/api/quiche_reference_counted_test.cc",
32524        "net/third_party/quiche/src/quiche/common/platform/api/quiche_stack_trace_test.cc",
32525        "net/third_party/quiche/src/quiche/common/platform/api/quiche_time_utils_test.cc",
32526        "net/third_party/quiche/src/quiche/common/platform/api/quiche_url_utils_test.cc",
32527        "net/third_party/quiche/src/quiche/common/print_elements_test.cc",
32528        "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator_test.cc",
32529        "net/third_party/quiche/src/quiche/common/quiche_callbacks_test.cc",
32530        "net/third_party/quiche/src/quiche/common/quiche_circular_deque_test.cc",
32531        "net/third_party/quiche/src/quiche/common/quiche_data_reader_test.cc",
32532        "net/third_party/quiche/src/quiche/common/quiche_data_writer_test.cc",
32533        "net/third_party/quiche/src/quiche/common/quiche_endian_test.cc",
32534        "net/third_party/quiche/src/quiche/common/quiche_ip_address_test.cc",
32535        "net/third_party/quiche/src/quiche/common/quiche_linked_hash_map_test.cc",
32536        "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage_test.cc",
32537        "net/third_party/quiche/src/quiche/common/quiche_random_test.cc",
32538        "net/third_party/quiche/src/quiche/common/quiche_simple_arena_test.cc",
32539        "net/third_party/quiche/src/quiche/common/quiche_text_utils_test.cc",
32540        "net/third_party/quiche/src/quiche/common/simple_buffer_allocator_test.cc",
32541        "net/third_party/quiche/src/quiche/common/structured_headers_generated_test.cc",
32542        "net/third_party/quiche/src/quiche/common/structured_headers_test.cc",
32543        "net/third_party/quiche/src/quiche/common/test_tools/mock_streams_test.cc",
32544        "net/third_party/quiche/src/quiche/common/test_tools/quiche_test_utils_test.cc",
32545        "net/third_party/quiche/src/quiche/common/wire_serialization_test.cc",
32546        "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder_test.cc",
32547        "net/third_party/quiche/src/quiche/http2/adapter/header_validator_test.cc",
32548        "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator_test.cc",
32549        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter_metadata_test.cc",
32550        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter_test.cc",
32551        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session_test.cc",
32552        "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util_test.cc",
32553        "net/third_party/quiche/src/quiche/http2/adapter/recording_http2_visitor_test.cc",
32554        "net/third_party/quiche/src/quiche/http2/adapter/window_manager_test.cc",
32555        "net/third_party/quiche/src/quiche/http2/core/priority_write_scheduler_test.cc",
32556        "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer_test.cc",
32557        "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures_test.cc",
32558        "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_test.cc",
32559        "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder_test.cc",
32560        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder_test.cc",
32561        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder_test.cc",
32562        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder_test.cc",
32563        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder_test.cc",
32564        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder_test.cc",
32565        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder_test.cc",
32566        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder_test.cc",
32567        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder_test.cc",
32568        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder_test.cc",
32569        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder_test.cc",
32570        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder_test.cc",
32571        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder_test.cc",
32572        "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder_test.cc",
32573        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_collector_test.cc",
32574        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder_test.cc",
32575        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state_test.cc",
32576        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer_test.cc",
32577        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables_test.cc",
32578        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_test.cc",
32579        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_collector_test.cc",
32580        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_test.cc",
32581        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder_test.cc",
32582        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_test.cc",
32583        "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer_test.cc",
32584        "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants_test.cc",
32585        "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder_test.cc",
32586        "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder_test.cc",
32587        "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_transcoder_test.cc",
32588        "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder_test.cc",
32589        "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder_test.cc",
32590        "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_round_trip_test.cc",
32591        "net/third_party/quiche/src/quiche/http2/http2_constants_test.cc",
32592        "net/third_party/quiche/src/quiche/http2/http2_structures_test.cc",
32593        "net/third_party/quiche/src/quiche/http2/test_tools/hpack_block_builder_test.cc",
32594        "net/third_party/quiche/src/quiche/http2/test_tools/hpack_example_test.cc",
32595        "net/third_party/quiche/src/quiche/http2/test_tools/http2_frame_builder_test.cc",
32596        "net/third_party/quiche/src/quiche/http2/test_tools/http2_random_test.cc",
32597        "net/third_party/quiche/src/quiche/http2/test_tools/random_decoder_test_base_test.cc",
32598        "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_integration_test.cc",
32599        "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_request_test.cc",
32600        "net/third_party/quiche/src/quiche/oblivious_http/buffers/oblivious_http_response_test.cc",
32601        "net/third_party/quiche/src/quiche/oblivious_http/common/oblivious_http_header_key_config_test.cc",
32602        "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_client_test.cc",
32603        "net/third_party/quiche/src/quiche/oblivious_http/oblivious_http_gateway_test.cc",
32604        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler_test.cc",
32605        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_simulator_test.cc",
32606        "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender_test.cc",
32607        "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes_test.cc",
32608        "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm_test.cc",
32609        "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start_test.cc",
32610        "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender_test.cc",
32611        "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender_test.cc",
32612        "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats_test.cc",
32613        "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_test.cc",
32614        "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc",
32615        "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm_test.cc",
32616        "net/third_party/quiche/src/quiche/quic/core/congestion_control/windowed_filter_test.cc",
32617        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter_test.cc",
32618        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter_test.cc",
32619        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter_test.cc",
32620        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter_test.cc",
32621        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter_test.cc",
32622        "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter_test.cc",
32623        "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor_test.cc",
32624        "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util_test.cc",
32625        "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view_test.cc",
32626        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter_test.cc",
32627        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter_test.cc",
32628        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter_test.cc",
32629        "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter_test.cc",
32630        "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id_test.cc",
32631        "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source_test.cc",
32632        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer_test.cc",
32633        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message_test.cc",
32634        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer_test.cc",
32635        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_server_test.cc",
32636        "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils_test.cc",
32637        "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange_test.cc",
32638        "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter_test.cc",
32639        "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter_test.cc",
32640        "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange_test.cc",
32641        "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509_test.cc",
32642        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache_test.cc",
32643        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache_test.cc",
32644        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config_test.cc",
32645        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config_test.cc",
32646        "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf_test.cc",
32647        "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters_test.cc",
32648        "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier_test.cc",
32649        "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator_test.cc",
32650        "net/third_party/quiche/src/quiche/quic/core/frames/quic_frames_test.cc",
32651        "net/third_party/quiche/src/quiche/quic/core/http/http_decoder_test.cc",
32652        "net/third_party/quiche/src/quiche/quic/core/http/http_encoder_test.cc",
32653        "net/third_party/quiche/src/quiche/quic/core/http/http_frames_test.cc",
32654        "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list_test.cc",
32655        "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream_test.cc",
32656        "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream_test.cc",
32657        "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream_test.cc",
32658        "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base_test.cc",
32659        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session_test.cc",
32660        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager_test.cc",
32661        "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_test.cc",
32662        "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils_test.cc",
32663        "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3_test.cc",
32664        "net/third_party/quiche/src/quiche/quic/core/internet_checksum_test.cc",
32665        "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager_test.cc",
32666        "net/third_party/quiche/src/quiche/quic/core/packet_number_indexed_queue_test.cc",
32667        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager_test.cc",
32668        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator_test.cc",
32669        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver_test.cc",
32670        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender_test.cc",
32671        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_test.cc",
32672        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver_test.cc",
32673        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender_test.cc",
32674        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_test.cc",
32675        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table_test.cc",
32676        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions_test.cc",
32677        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder_test.cc",
32678        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder_test.cc",
32679        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream_test.cc",
32680        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count_test.cc",
32681        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_round_trip_test.cc",
32682        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream_test.cc",
32683        "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table_test.cc",
32684        "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list_test.cc",
32685        "net/third_party/quiche/src/quiche/quic/core/quic_alarm_test.cc",
32686        "net/third_party/quiche/src/quiche/quic/core/quic_arena_scoped_ptr_test.cc",
32687        "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth_test.cc",
32688        "net/third_party/quiche/src/quiche/quic/core/quic_buffered_packet_store_test.cc",
32689        "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector_test.cc",
32690        "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet_test.cc",
32691        "net/third_party/quiche/src/quiche/quic/core/quic_config_test.cc",
32692        "net/third_party/quiche/src/quiche/quic/core/quic_connection_context_test.cc",
32693        "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager_test.cc",
32694        "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_test.cc",
32695        "net/third_party/quiche/src/quiche/quic/core/quic_connection_test.cc",
32696        "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager_test.cc",
32697        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker_test.cc",
32698        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream_test.cc",
32699        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_test.cc",
32700        "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream_test.cc",
32701        "net/third_party/quiche/src/quiche/quic/core/quic_data_writer_test.cc",
32702        "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue_test.cc",
32703        "net/third_party/quiche/src/quiche/quic/core/quic_dispatcher_test.cc",
32704        "net/third_party/quiche/src/quiche/quic/core/quic_error_codes_test.cc",
32705        "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller_test.cc",
32706        "net/third_party/quiche/src/quiche/quic/core/quic_framer_test.cc",
32707        "net/third_party/quiche/src/quiche/quic/core/quic_generic_session_test.cc",
32708        "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector_test.cc",
32709        "net/third_party/quiche/src/quiche/quic/core/quic_interval_deque_test.cc",
32710        "net/third_party/quiche/src/quiche/quic/core/quic_interval_set_test.cc",
32711        "net/third_party/quiche/src/quiche/quic/core/quic_interval_test.cc",
32712        "net/third_party/quiche/src/quiche/quic/core/quic_lru_cache_test.cc",
32713        "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector_test.cc",
32714        "net/third_party/quiche/src/quiche/quic/core/quic_one_block_arena_test.cc",
32715        "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator_test.cc",
32716        "net/third_party/quiche/src/quiche/quic/core/quic_packet_number_test.cc",
32717        "net/third_party/quiche/src/quiche/quic/core/quic_packets_test.cc",
32718        "net/third_party/quiche/src/quiche/quic/core/quic_path_validator_test.cc",
32719        "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager_test.cc",
32720        "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager_test.cc",
32721        "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager_test.cc",
32722        "net/third_party/quiche/src/quiche/quic/core/quic_server_id_test.cc",
32723        "net/third_party/quiche/src/quiche/quic/core/quic_session_test.cc",
32724        "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder_test.cc",
32725        "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager_test.cc",
32726        "net/third_party/quiche/src/quiche/quic/core/quic_stream_priority_test.cc",
32727        "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer_test.cc",
32728        "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer_test.cc",
32729        "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_test.cc",
32730        "net/third_party/quiche/src/quiche/quic/core/quic_stream_test.cc",
32731        "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder_test.cc",
32732        "net/third_party/quiche/src/quiche/quic/core/quic_tag_test.cc",
32733        "net/third_party/quiche/src/quiche/quic/core/quic_time_accumulator_test.cc",
32734        "net/third_party/quiche/src/quiche/quic/core/quic_time_test.cc",
32735        "net/third_party/quiche/src/quiche/quic/core/quic_time_wait_list_manager_test.cc",
32736        "net/third_party/quiche/src/quiche/quic/core/quic_trace_visitor_test.cc",
32737        "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map_test.cc",
32738        "net/third_party/quiche/src/quiche/quic/core/quic_utils_test.cc",
32739        "net/third_party/quiche/src/quiche/quic/core/quic_version_manager_test.cc",
32740        "net/third_party/quiche/src/quiche/quic/core/quic_versions_test.cc",
32741        "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list_test.cc",
32742        "net/third_party/quiche/src/quiche/quic/core/tls_chlo_extractor_test.cc",
32743        "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker_test.cc",
32744        "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker_test.cc",
32745        "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager_test.cc",
32746        "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager_test.cc",
32747        "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address_test.cc",
32748        "net/third_party/quiche/src/quiche/quic/test_tools/crypto_test_utils_test.cc",
32749        "net/third_party/quiche/src/quiche/quic/test_tools/quic_test_utils_test.cc",
32750        "net/third_party/quiche/src/quiche/quic/test_tools/simple_session_notifier_test.cc",
32751        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/quic_endpoint_test.cc",
32752        "net/third_party/quiche/src/quiche/quic/test_tools/simulator/simulator_test.cc",
32753        "net/third_party/quiche/src/quiche/quic/test_tools/test_ip_packets_test.cc",
32754        "net/third_party/quiche/src/quiche/quic/tools/connect_tunnel_test.cc",
32755        "net/third_party/quiche/src/quiche/quic/tools/connect_udp_tunnel_test.cc",
32756        "net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend_test.cc",
32757        "net/third_party/quiche/src/quiche/quic/tools/quic_tcp_like_trace_converter_test.cc",
32758        "net/third_party/quiche/src/quiche/quic/tools/simple_ticket_crypter_test.cc",
32759        "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer_test.cc",
32760        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter_test.cc",
32761        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder_test.cc",
32762        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry_test.cc",
32763        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table_test.cc",
32764        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream_test.cc",
32765        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_round_trip_test.cc",
32766        "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table_test.cc",
32767        "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format_test.cc",
32768        "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder_test.cc",
32769        "net/third_party/quiche/src/quiche/spdy/core/spdy_framer_test.cc",
32770        "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol_test.cc",
32771        "net/third_party/quiche/src/quiche/web_transport/encapsulated/encapsulated_web_transport_test.cc",
32772        "net/third_party/quiche/src/quiche/web_transport/web_transport_headers_test.cc",
32773    ],
32774    shared_libs: [
32775        "libandroid",
32776        "liblog",
32777        "libprotobuf-cpp-lite",
32778        "libz",
32779    ],
32780    generated_headers: [
32781        "cronet_aml_base_allocator_buildflags__testing",
32782        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
32783        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
32784        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
32785        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
32786        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
32787        "cronet_aml_base_anchor_functions_buildflags__testing",
32788        "cronet_aml_base_build_date__testing",
32789        "cronet_aml_base_cfi_buildflags__testing",
32790        "cronet_aml_base_check_version_internal_action__testing",
32791        "cronet_aml_base_clang_profiling_buildflags__testing",
32792        "cronet_aml_base_debugging_buildflags__testing",
32793        "cronet_aml_base_feature_list_buildflags__testing",
32794        "cronet_aml_base_fuzzing_buildflags__testing",
32795        "cronet_aml_base_ios_cronet_buildflags__testing",
32796        "cronet_aml_base_logging_buildflags__testing",
32797        "cronet_aml_base_message_pump_buildflags__testing",
32798        "cronet_aml_base_orderfile_buildflags__testing",
32799        "cronet_aml_base_power_monitor_buildflags__testing",
32800        "cronet_aml_base_profiler_buildflags__testing",
32801        "cronet_aml_base_protected_memory_buildflags__testing",
32802        "cronet_aml_base_rust_buildflags__testing",
32803        "cronet_aml_base_sanitizer_buildflags__testing",
32804        "cronet_aml_base_synchronization_buildflags__testing",
32805        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
32806        "cronet_aml_base_test_test_support_jni_headers__action__testing",
32807        "cronet_aml_base_tracing_buildflags__testing",
32808        "cronet_aml_build_blink_buildflags__testing",
32809        "cronet_aml_build_branding_buildflags__testing",
32810        "cronet_aml_build_chromecast_buildflags__testing",
32811        "cronet_aml_build_chromeos_buildflags__testing",
32812        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
32813        "cronet_aml_build_ios_buildflags__testing",
32814        "cronet_aml_build_robolectric_buildflags__testing",
32815        "cronet_aml_crypto_buildflags__testing",
32816        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
32817        "cronet_aml_net_buildflags__testing",
32818        "cronet_aml_net_cronet_buildflags__testing",
32819        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
32820        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
32821        "cronet_aml_net_net_jni_headers__action__testing",
32822        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
32823        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
32824        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
32825        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
32826        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
32827        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
32828        "cronet_aml_url_buildflags__testing",
32829        "cronet_aml_url_url_jni_headers__action__testing",
32830    ],
32831    export_generated_headers: [
32832        "cronet_aml_base_allocator_buildflags__testing",
32833        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
32834        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
32835        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
32836        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
32837        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
32838        "cronet_aml_base_anchor_functions_buildflags__testing",
32839        "cronet_aml_base_build_date__testing",
32840        "cronet_aml_base_cfi_buildflags__testing",
32841        "cronet_aml_base_check_version_internal_action__testing",
32842        "cronet_aml_base_clang_profiling_buildflags__testing",
32843        "cronet_aml_base_debugging_buildflags__testing",
32844        "cronet_aml_base_feature_list_buildflags__testing",
32845        "cronet_aml_base_fuzzing_buildflags__testing",
32846        "cronet_aml_base_ios_cronet_buildflags__testing",
32847        "cronet_aml_base_logging_buildflags__testing",
32848        "cronet_aml_base_message_pump_buildflags__testing",
32849        "cronet_aml_base_orderfile_buildflags__testing",
32850        "cronet_aml_base_power_monitor_buildflags__testing",
32851        "cronet_aml_base_profiler_buildflags__testing",
32852        "cronet_aml_base_protected_memory_buildflags__testing",
32853        "cronet_aml_base_rust_buildflags__testing",
32854        "cronet_aml_base_sanitizer_buildflags__testing",
32855        "cronet_aml_base_synchronization_buildflags__testing",
32856        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
32857        "cronet_aml_base_test_test_support_jni_headers__action__testing",
32858        "cronet_aml_base_tracing_buildflags__testing",
32859        "cronet_aml_build_blink_buildflags__testing",
32860        "cronet_aml_build_branding_buildflags__testing",
32861        "cronet_aml_build_chromecast_buildflags__testing",
32862        "cronet_aml_build_chromeos_buildflags__testing",
32863        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
32864        "cronet_aml_build_ios_buildflags__testing",
32865        "cronet_aml_build_robolectric_buildflags__testing",
32866        "cronet_aml_crypto_buildflags__testing",
32867        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
32868        "cronet_aml_net_buildflags__testing",
32869        "cronet_aml_net_cronet_buildflags__testing",
32870        "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
32871        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
32872        "cronet_aml_net_net_jni_headers__action__testing",
32873        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
32874        "cronet_aml_net_third_party_quiche_blind_sign_auth_proto_gen__testing_headers",
32875        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
32876        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
32877        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
32878        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
32879        "cronet_aml_url_buildflags__testing",
32880        "cronet_aml_url_url_jni_headers__action__testing",
32881    ],
32882    defaults: [
32883        "cronet_aml_cc_defaults",
32884    ],
32885    cflags: [
32886        "-DANDROID",
32887        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
32888        "-DBENCHMARK_STATIC_DEFINE",
32889        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
32890        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
32891        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
32892        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
32893        "-DGOOGLE_PROTOBUF_NO_RTTI",
32894        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
32895        "-DGTEST_API_=",
32896        "-DGTEST_HAS_ABSL",
32897        "-DGTEST_HAS_POSIX_RE=0",
32898        "-DGTEST_HAS_TR1_TUPLE=0",
32899        "-DGTEST_LANG_CXX11=1",
32900        "-DGTEST_NO_ABSL_FLAGS",
32901        "-DHAVE_PTHREAD",
32902        "-DHAVE_SYS_UIO_H",
32903        "-DNDEBUG",
32904        "-DNO_UNWIND_TABLES",
32905        "-DNVALGRIND",
32906        "-DOFFICIAL_BUILD",
32907        "-DUNIT_TEST",
32908        "-D_GNU_SOURCE",
32909        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
32910        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
32911        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
32912        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
32913        "-D__STDC_CONSTANT_MACROS",
32914        "-D__STDC_FORMAT_MACROS",
32915        "-fdata-sections",
32916        "-ffunction-sections",
32917        "-fno-asynchronous-unwind-tables",
32918        "-fno-unwind-tables",
32919        "-fstack-protector",
32920        "-fvisibility-inlines-hidden",
32921        "-fvisibility=hidden",
32922        "-g1",
32923    ],
32924    local_include_dirs: [
32925        "./",
32926        "base/allocator/partition_allocator/src/",
32927        "buildtools/third_party/libc++/",
32928        "net/third_party/quiche/overrides/",
32929        "net/third_party/quiche/src/",
32930        "net/third_party/quiche/src/quiche/common/platform/default/",
32931        "third_party/abseil-cpp/",
32932        "third_party/anonymous_tokens/overrides/",
32933        "third_party/anonymous_tokens/src/",
32934        "third_party/boringssl/src/include/",
32935        "third_party/google_benchmark/src/include/",
32936        "third_party/googletest/custom/",
32937        "third_party/googletest/src/googlemock/include/",
32938        "third_party/googletest/src/googletest/include/",
32939        "third_party/libc++/src/include",
32940        "third_party/libc++abi/src/include",
32941        "third_party/protobuf/src/",
32942        "third_party/re2/src/",
32943    ],
32944    cpp_std: "c++20",
32945    ldflags: [
32946        "-Wl,--as-needed",
32947        "-Wl,--gc-sections",
32948        "-Wl,--icf=all",
32949        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
32950        "-Wl,-wrap,asprintf",
32951        "-Wl,-wrap,calloc",
32952        "-Wl,-wrap,free",
32953        "-Wl,-wrap,getcwd",
32954        "-Wl,-wrap,malloc",
32955        "-Wl,-wrap,malloc_usable_size",
32956        "-Wl,-wrap,memalign",
32957        "-Wl,-wrap,posix_memalign",
32958        "-Wl,-wrap,pvalloc",
32959        "-Wl,-wrap,realloc",
32960        "-Wl,-wrap,realpath",
32961        "-Wl,-wrap,strdup",
32962        "-Wl,-wrap,strndup",
32963        "-Wl,-wrap,valloc",
32964        "-Wl,-wrap,vasprintf",
32965    ],
32966    target: {
32967        android_arm: {
32968            cflags: [
32969                "-D_FORTIFY_SOURCE=2",
32970            ],
32971        },
32972        android_arm64: {
32973            cflags: [
32974                "-D_FORTIFY_SOURCE=2",
32975                "-O2",
32976                "-mno-outline",
32977            ],
32978        },
32979        android_x86: {
32980            cflags: [
32981                "-D_FORTIFY_SOURCE=2",
32982                "-msse3",
32983            ],
32984        },
32985        android_x86_64: {
32986            cflags: [
32987                "-D_FORTIFY_SOURCE=2",
32988                "-msse3",
32989            ],
32990        },
32991    },
32992}
32993
32994// GN: //net/third_party/quiche:quiche_tool_support__testing
32995cc_library_static {
32996    name: "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
32997    srcs: [
32998        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_command_line_flags_impl.cc",
32999        "net/third_party/quiche/overrides/quiche_platform_impl/quiche_default_proof_providers_impl.cc",
33000        "net/third_party/quiche/src/quiche/common/platform/api/quiche_file_utils.cc",
33001        "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_file_utils_impl.cc",
33002        "net/third_party/quiche/src/quiche/quic/core/quic_trace_visitor.cc",
33003        "net/third_party/quiche/src/quiche/quic/tools/connect_server_backend.cc",
33004        "net/third_party/quiche/src/quiche/quic/tools/connect_tunnel.cc",
33005        "net/third_party/quiche/src/quiche/quic/tools/connect_udp_tunnel.cc",
33006        "net/third_party/quiche/src/quiche/quic/tools/devious_baton.cc",
33007        "net/third_party/quiche/src/quiche/quic/tools/quic_backend_response.cc",
33008        "net/third_party/quiche/src/quiche/quic/tools/quic_client_base.cc",
33009        "net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend.cc",
33010        "net/third_party/quiche/src/quiche/quic/tools/quic_name_lookup.cc",
33011        "net/third_party/quiche/src/quiche/quic/tools/quic_simple_client_session.cc",
33012        "net/third_party/quiche/src/quiche/quic/tools/quic_simple_client_stream.cc",
33013        "net/third_party/quiche/src/quiche/quic/tools/quic_simple_crypto_server_stream_helper.cc",
33014        "net/third_party/quiche/src/quiche/quic/tools/quic_simple_dispatcher.cc",
33015        "net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_session.cc",
33016        "net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_stream.cc",
33017        "net/third_party/quiche/src/quiche/quic/tools/quic_spdy_client_base.cc",
33018        "net/third_party/quiche/src/quiche/quic/tools/quic_tcp_like_trace_converter.cc",
33019        "net/third_party/quiche/src/quiche/quic/tools/quic_url.cc",
33020        "net/third_party/quiche/src/quiche/quic/tools/simple_ticket_crypter.cc",
33021        "net/third_party/quiche/src/quiche/quic/tools/web_transport_only_backend.cc",
33022    ],
33023    shared_libs: [
33024        "libandroid",
33025        "liblog",
33026        "libprotobuf-cpp-lite",
33027        "libz",
33028    ],
33029    generated_headers: [
33030        "cronet_aml_base_allocator_buildflags__testing",
33031        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33032        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33033        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33034        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33035        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33036        "cronet_aml_base_anchor_functions_buildflags__testing",
33037        "cronet_aml_base_build_date__testing",
33038        "cronet_aml_base_cfi_buildflags__testing",
33039        "cronet_aml_base_check_version_internal_action__testing",
33040        "cronet_aml_base_clang_profiling_buildflags__testing",
33041        "cronet_aml_base_debugging_buildflags__testing",
33042        "cronet_aml_base_feature_list_buildflags__testing",
33043        "cronet_aml_base_fuzzing_buildflags__testing",
33044        "cronet_aml_base_ios_cronet_buildflags__testing",
33045        "cronet_aml_base_logging_buildflags__testing",
33046        "cronet_aml_base_message_pump_buildflags__testing",
33047        "cronet_aml_base_orderfile_buildflags__testing",
33048        "cronet_aml_base_power_monitor_buildflags__testing",
33049        "cronet_aml_base_profiler_buildflags__testing",
33050        "cronet_aml_base_protected_memory_buildflags__testing",
33051        "cronet_aml_base_rust_buildflags__testing",
33052        "cronet_aml_base_sanitizer_buildflags__testing",
33053        "cronet_aml_base_synchronization_buildflags__testing",
33054        "cronet_aml_base_tracing_buildflags__testing",
33055        "cronet_aml_build_blink_buildflags__testing",
33056        "cronet_aml_build_branding_buildflags__testing",
33057        "cronet_aml_build_chromecast_buildflags__testing",
33058        "cronet_aml_build_chromeos_buildflags__testing",
33059        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
33060        "cronet_aml_build_ios_buildflags__testing",
33061        "cronet_aml_build_robolectric_buildflags__testing",
33062        "cronet_aml_crypto_buildflags__testing",
33063        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
33064        "cronet_aml_net_buildflags__testing",
33065        "cronet_aml_net_cronet_buildflags__testing",
33066        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
33067        "cronet_aml_net_net_jni_headers__action__testing",
33068        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
33069        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
33070        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
33071        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
33072        "cronet_aml_url_buildflags__testing",
33073        "cronet_aml_url_url_jni_headers__action__testing",
33074    ],
33075    export_generated_headers: [
33076        "cronet_aml_base_allocator_buildflags__testing",
33077        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33078        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33079        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33080        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33081        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33082        "cronet_aml_base_anchor_functions_buildflags__testing",
33083        "cronet_aml_base_build_date__testing",
33084        "cronet_aml_base_cfi_buildflags__testing",
33085        "cronet_aml_base_check_version_internal_action__testing",
33086        "cronet_aml_base_clang_profiling_buildflags__testing",
33087        "cronet_aml_base_debugging_buildflags__testing",
33088        "cronet_aml_base_feature_list_buildflags__testing",
33089        "cronet_aml_base_fuzzing_buildflags__testing",
33090        "cronet_aml_base_ios_cronet_buildflags__testing",
33091        "cronet_aml_base_logging_buildflags__testing",
33092        "cronet_aml_base_message_pump_buildflags__testing",
33093        "cronet_aml_base_orderfile_buildflags__testing",
33094        "cronet_aml_base_power_monitor_buildflags__testing",
33095        "cronet_aml_base_profiler_buildflags__testing",
33096        "cronet_aml_base_protected_memory_buildflags__testing",
33097        "cronet_aml_base_rust_buildflags__testing",
33098        "cronet_aml_base_sanitizer_buildflags__testing",
33099        "cronet_aml_base_synchronization_buildflags__testing",
33100        "cronet_aml_base_tracing_buildflags__testing",
33101        "cronet_aml_build_blink_buildflags__testing",
33102        "cronet_aml_build_branding_buildflags__testing",
33103        "cronet_aml_build_chromecast_buildflags__testing",
33104        "cronet_aml_build_chromeos_buildflags__testing",
33105        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
33106        "cronet_aml_build_ios_buildflags__testing",
33107        "cronet_aml_build_robolectric_buildflags__testing",
33108        "cronet_aml_crypto_buildflags__testing",
33109        "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
33110        "cronet_aml_net_buildflags__testing",
33111        "cronet_aml_net_cronet_buildflags__testing",
33112        "cronet_aml_net_isolation_info_proto_gen__testing_headers",
33113        "cronet_aml_net_net_jni_headers__action__testing",
33114        "cronet_aml_net_net_nqe_proto_gen__testing_headers",
33115        "cronet_aml_net_third_party_quiche_net_quic_proto_gen__testing_headers",
33116        "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen__testing_headers",
33117        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
33118        "cronet_aml_url_buildflags__testing",
33119        "cronet_aml_url_url_jni_headers__action__testing",
33120    ],
33121    defaults: [
33122        "cronet_aml_cc_defaults",
33123    ],
33124    cflags: [
33125        "-DANDROID",
33126        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
33127        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
33128        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
33129        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
33130        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
33131        "-DGOOGLE_PROTOBUF_NO_RTTI",
33132        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
33133        "-DHAVE_PTHREAD",
33134        "-DHAVE_SYS_UIO_H",
33135        "-DNDEBUG",
33136        "-DNO_UNWIND_TABLES",
33137        "-DNVALGRIND",
33138        "-DOFFICIAL_BUILD",
33139        "-D_GNU_SOURCE",
33140        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
33141        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
33142        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
33143        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
33144        "-D__STDC_CONSTANT_MACROS",
33145        "-D__STDC_FORMAT_MACROS",
33146        "-fdata-sections",
33147        "-ffunction-sections",
33148        "-fno-asynchronous-unwind-tables",
33149        "-fno-unwind-tables",
33150        "-fstack-protector",
33151        "-fvisibility-inlines-hidden",
33152        "-fvisibility=hidden",
33153        "-g1",
33154    ],
33155    local_include_dirs: [
33156        "./",
33157        "base/allocator/partition_allocator/src/",
33158        "buildtools/third_party/libc++/",
33159        "net/third_party/quiche/overrides/",
33160        "net/third_party/quiche/src/",
33161        "net/third_party/quiche/src/quiche/common/platform/default/",
33162        "third_party/abseil-cpp/",
33163        "third_party/boringssl/src/include/",
33164        "third_party/libc++/src/include",
33165        "third_party/libc++abi/src/include",
33166        "third_party/protobuf/src/",
33167    ],
33168    cpp_std: "c++20",
33169    ldflags: [
33170        "-Wl,--as-needed",
33171        "-Wl,--gc-sections",
33172        "-Wl,--icf=all",
33173        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
33174        "-Wl,-wrap,asprintf",
33175        "-Wl,-wrap,calloc",
33176        "-Wl,-wrap,free",
33177        "-Wl,-wrap,getcwd",
33178        "-Wl,-wrap,malloc",
33179        "-Wl,-wrap,malloc_usable_size",
33180        "-Wl,-wrap,memalign",
33181        "-Wl,-wrap,posix_memalign",
33182        "-Wl,-wrap,pvalloc",
33183        "-Wl,-wrap,realloc",
33184        "-Wl,-wrap,realpath",
33185        "-Wl,-wrap,strdup",
33186        "-Wl,-wrap,strndup",
33187        "-Wl,-wrap,valloc",
33188        "-Wl,-wrap,vasprintf",
33189    ],
33190    target: {
33191        android_arm: {
33192            cflags: [
33193                "-D_FORTIFY_SOURCE=2",
33194            ],
33195        },
33196        android_arm64: {
33197            cflags: [
33198                "-D_FORTIFY_SOURCE=2",
33199                "-O2",
33200                "-mno-outline",
33201            ],
33202        },
33203        android_x86: {
33204            cflags: [
33205                "-D_FORTIFY_SOURCE=2",
33206                "-msse3",
33207            ],
33208        },
33209        android_x86_64: {
33210            cflags: [
33211                "-D_FORTIFY_SOURCE=2",
33212                "-msse3",
33213            ],
33214        },
33215    },
33216}
33217
33218// GN: //net/tools/huffman_trie:huffman_trie_generator_sources__testing
33219cc_library_static {
33220    name: "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing",
33221    srcs: [
33222        "net/tools/huffman_trie/bit_writer.cc",
33223        "net/tools/huffman_trie/huffman/huffman_builder.cc",
33224        "net/tools/huffman_trie/trie/trie_bit_buffer.cc",
33225        "net/tools/huffman_trie/trie/trie_writer.cc",
33226        "net/tools/huffman_trie/trie_entry.cc",
33227    ],
33228    host_supported: true,
33229    generated_headers: [
33230        "cronet_aml_base_allocator_buildflags__testing",
33231        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33232        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33233        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33234        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33235        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33236        "cronet_aml_base_anchor_functions_buildflags__testing",
33237        "cronet_aml_base_build_date__testing",
33238        "cronet_aml_base_cfi_buildflags__testing",
33239        "cronet_aml_base_check_version_internal_action__testing",
33240        "cronet_aml_base_clang_profiling_buildflags__testing",
33241        "cronet_aml_base_debugging_buildflags__testing",
33242        "cronet_aml_base_feature_list_buildflags__testing",
33243        "cronet_aml_base_fuzzing_buildflags__testing",
33244        "cronet_aml_base_ios_cronet_buildflags__testing",
33245        "cronet_aml_base_logging_buildflags__testing",
33246        "cronet_aml_base_message_pump_buildflags__testing",
33247        "cronet_aml_base_orderfile_buildflags__testing",
33248        "cronet_aml_base_power_monitor_buildflags__testing",
33249        "cronet_aml_base_profiler_buildflags__testing",
33250        "cronet_aml_base_protected_memory_buildflags__testing",
33251        "cronet_aml_base_rust_buildflags__testing",
33252        "cronet_aml_base_sanitizer_buildflags__testing",
33253        "cronet_aml_base_synchronization_buildflags__testing",
33254        "cronet_aml_base_tracing_buildflags__testing",
33255        "cronet_aml_build_blink_buildflags__testing",
33256        "cronet_aml_build_branding_buildflags__testing",
33257        "cronet_aml_build_chromecast_buildflags__testing",
33258        "cronet_aml_build_chromeos_buildflags__testing",
33259        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
33260        "cronet_aml_build_ios_buildflags__testing",
33261    ],
33262    export_generated_headers: [
33263        "cronet_aml_base_allocator_buildflags__testing",
33264        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33265        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33266        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33267        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33268        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33269        "cronet_aml_base_anchor_functions_buildflags__testing",
33270        "cronet_aml_base_build_date__testing",
33271        "cronet_aml_base_cfi_buildflags__testing",
33272        "cronet_aml_base_check_version_internal_action__testing",
33273        "cronet_aml_base_clang_profiling_buildflags__testing",
33274        "cronet_aml_base_debugging_buildflags__testing",
33275        "cronet_aml_base_feature_list_buildflags__testing",
33276        "cronet_aml_base_fuzzing_buildflags__testing",
33277        "cronet_aml_base_ios_cronet_buildflags__testing",
33278        "cronet_aml_base_logging_buildflags__testing",
33279        "cronet_aml_base_message_pump_buildflags__testing",
33280        "cronet_aml_base_orderfile_buildflags__testing",
33281        "cronet_aml_base_power_monitor_buildflags__testing",
33282        "cronet_aml_base_profiler_buildflags__testing",
33283        "cronet_aml_base_protected_memory_buildflags__testing",
33284        "cronet_aml_base_rust_buildflags__testing",
33285        "cronet_aml_base_sanitizer_buildflags__testing",
33286        "cronet_aml_base_synchronization_buildflags__testing",
33287        "cronet_aml_base_tracing_buildflags__testing",
33288        "cronet_aml_build_blink_buildflags__testing",
33289        "cronet_aml_build_branding_buildflags__testing",
33290        "cronet_aml_build_chromecast_buildflags__testing",
33291        "cronet_aml_build_chromeos_buildflags__testing",
33292        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
33293        "cronet_aml_build_ios_buildflags__testing",
33294    ],
33295    defaults: [
33296        "cronet_aml_cc_defaults",
33297    ],
33298    cflags: [
33299        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
33300        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
33301        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
33302        "-DNDEBUG",
33303        "-DNO_UNWIND_TABLES",
33304        "-DNVALGRIND",
33305        "-DOFFICIAL_BUILD",
33306        "-D_GNU_SOURCE",
33307        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
33308        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
33309        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
33310        "-D__STDC_CONSTANT_MACROS",
33311        "-D__STDC_FORMAT_MACROS",
33312        "-fdata-sections",
33313        "-ffunction-sections",
33314        "-fno-asynchronous-unwind-tables",
33315        "-fno-unwind-tables",
33316        "-fstack-protector",
33317        "-fvisibility-inlines-hidden",
33318        "-fvisibility=hidden",
33319        "-g1",
33320    ],
33321    local_include_dirs: [
33322        "./",
33323        "base/allocator/partition_allocator/src/",
33324        "buildtools/third_party/libc++/",
33325        "third_party/abseil-cpp/",
33326        "third_party/boringssl/src/include/",
33327        "third_party/libc++/src/include",
33328        "third_party/libc++abi/src/include",
33329    ],
33330    cpp_std: "c++20",
33331    ldflags: [
33332        "-Wl,--as-needed",
33333        "-Wl,--gc-sections",
33334        "-Wl,--icf=all",
33335        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
33336    ],
33337    target: {
33338        android: {
33339            shared_libs: [
33340                "libandroid",
33341                "liblog",
33342            ],
33343        },
33344        android_arm: {
33345            shared_libs: [
33346                "liblog",
33347            ],
33348            cflags: [
33349                "-DANDROID",
33350                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
33351                "-DHAVE_SYS_UIO_H",
33352                "-D_FORTIFY_SOURCE=2",
33353                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
33354            ],
33355            ldflags: [
33356                "-Wl,-wrap,asprintf",
33357                "-Wl,-wrap,calloc",
33358                "-Wl,-wrap,free",
33359                "-Wl,-wrap,getcwd",
33360                "-Wl,-wrap,malloc",
33361                "-Wl,-wrap,malloc_usable_size",
33362                "-Wl,-wrap,memalign",
33363                "-Wl,-wrap,posix_memalign",
33364                "-Wl,-wrap,pvalloc",
33365                "-Wl,-wrap,realloc",
33366                "-Wl,-wrap,realpath",
33367                "-Wl,-wrap,strdup",
33368                "-Wl,-wrap,strndup",
33369                "-Wl,-wrap,valloc",
33370                "-Wl,-wrap,vasprintf",
33371            ],
33372        },
33373        android_arm64: {
33374            shared_libs: [
33375                "liblog",
33376            ],
33377            cflags: [
33378                "-DANDROID",
33379                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
33380                "-DHAVE_SYS_UIO_H",
33381                "-D_FORTIFY_SOURCE=2",
33382                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
33383                "-O2",
33384                "-mno-outline",
33385            ],
33386            ldflags: [
33387                "-Wl,-wrap,asprintf",
33388                "-Wl,-wrap,calloc",
33389                "-Wl,-wrap,free",
33390                "-Wl,-wrap,getcwd",
33391                "-Wl,-wrap,malloc",
33392                "-Wl,-wrap,malloc_usable_size",
33393                "-Wl,-wrap,memalign",
33394                "-Wl,-wrap,posix_memalign",
33395                "-Wl,-wrap,pvalloc",
33396                "-Wl,-wrap,realloc",
33397                "-Wl,-wrap,realpath",
33398                "-Wl,-wrap,strdup",
33399                "-Wl,-wrap,strndup",
33400                "-Wl,-wrap,valloc",
33401                "-Wl,-wrap,vasprintf",
33402            ],
33403        },
33404        android_riscv64: {
33405            shared_libs: [
33406                "liblog",
33407            ],
33408            cflags: [
33409                "-DANDROID",
33410                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
33411                "-DHAVE_SYS_UIO_H",
33412                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
33413            ],
33414            ldflags: [
33415                "-Wl,-wrap,asprintf",
33416                "-Wl,-wrap,calloc",
33417                "-Wl,-wrap,free",
33418                "-Wl,-wrap,getcwd",
33419                "-Wl,-wrap,malloc",
33420                "-Wl,-wrap,malloc_usable_size",
33421                "-Wl,-wrap,memalign",
33422                "-Wl,-wrap,posix_memalign",
33423                "-Wl,-wrap,pvalloc",
33424                "-Wl,-wrap,realloc",
33425                "-Wl,-wrap,realpath",
33426                "-Wl,-wrap,strdup",
33427                "-Wl,-wrap,strndup",
33428                "-Wl,-wrap,valloc",
33429                "-Wl,-wrap,vasprintf",
33430            ],
33431        },
33432        android_x86: {
33433            shared_libs: [
33434                "liblog",
33435            ],
33436            cflags: [
33437                "-DANDROID",
33438                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
33439                "-DHAVE_SYS_UIO_H",
33440                "-D_FORTIFY_SOURCE=2",
33441                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
33442                "-msse3",
33443            ],
33444            ldflags: [
33445                "-Wl,-wrap,asprintf",
33446                "-Wl,-wrap,calloc",
33447                "-Wl,-wrap,free",
33448                "-Wl,-wrap,getcwd",
33449                "-Wl,-wrap,malloc",
33450                "-Wl,-wrap,malloc_usable_size",
33451                "-Wl,-wrap,memalign",
33452                "-Wl,-wrap,posix_memalign",
33453                "-Wl,-wrap,pvalloc",
33454                "-Wl,-wrap,realloc",
33455                "-Wl,-wrap,realpath",
33456                "-Wl,-wrap,strdup",
33457                "-Wl,-wrap,strndup",
33458                "-Wl,-wrap,valloc",
33459                "-Wl,-wrap,vasprintf",
33460            ],
33461        },
33462        android_x86_64: {
33463            shared_libs: [
33464                "liblog",
33465            ],
33466            cflags: [
33467                "-DANDROID",
33468                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
33469                "-DHAVE_SYS_UIO_H",
33470                "-D_FORTIFY_SOURCE=2",
33471                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
33472                "-msse3",
33473            ],
33474            ldflags: [
33475                "-Wl,-wrap,asprintf",
33476                "-Wl,-wrap,calloc",
33477                "-Wl,-wrap,free",
33478                "-Wl,-wrap,getcwd",
33479                "-Wl,-wrap,malloc",
33480                "-Wl,-wrap,malloc_usable_size",
33481                "-Wl,-wrap,memalign",
33482                "-Wl,-wrap,posix_memalign",
33483                "-Wl,-wrap,pvalloc",
33484                "-Wl,-wrap,realloc",
33485                "-Wl,-wrap,realpath",
33486                "-Wl,-wrap,strdup",
33487                "-Wl,-wrap,strndup",
33488                "-Wl,-wrap,valloc",
33489                "-Wl,-wrap,vasprintf",
33490            ],
33491        },
33492        host: {
33493            cflags: [
33494                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
33495                "-DUSE_AURA=1",
33496                "-DUSE_OZONE=1",
33497                "-DUSE_UDEV",
33498                "-D_FILE_OFFSET_BITS=64",
33499                "-D_FORTIFY_SOURCE=2",
33500                "-D_LARGEFILE64_SOURCE",
33501                "-D_LARGEFILE_SOURCE",
33502                "-O2",
33503                "-msse3",
33504            ],
33505            compile_multilib: "64",
33506        },
33507    },
33508}
33509
33510// GN: //net/tools/tld_cleanup:tld_cleanup__testing
33511cc_library_static {
33512    name: "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing",
33513    srcs: [
33514        "net/tools/tld_cleanup/tld_cleanup_util.cc",
33515    ],
33516    shared_libs: [
33517        "libandroid",
33518        "liblog",
33519    ],
33520    generated_headers: [
33521        "cronet_aml_base_allocator_buildflags__testing",
33522        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33523        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33524        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33525        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33526        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33527        "cronet_aml_base_anchor_functions_buildflags__testing",
33528        "cronet_aml_base_build_date__testing",
33529        "cronet_aml_base_cfi_buildflags__testing",
33530        "cronet_aml_base_check_version_internal_action__testing",
33531        "cronet_aml_base_clang_profiling_buildflags__testing",
33532        "cronet_aml_base_debugging_buildflags__testing",
33533        "cronet_aml_base_feature_list_buildflags__testing",
33534        "cronet_aml_base_fuzzing_buildflags__testing",
33535        "cronet_aml_base_ios_cronet_buildflags__testing",
33536        "cronet_aml_base_logging_buildflags__testing",
33537        "cronet_aml_base_message_pump_buildflags__testing",
33538        "cronet_aml_base_orderfile_buildflags__testing",
33539        "cronet_aml_base_power_monitor_buildflags__testing",
33540        "cronet_aml_base_profiler_buildflags__testing",
33541        "cronet_aml_base_protected_memory_buildflags__testing",
33542        "cronet_aml_base_rust_buildflags__testing",
33543        "cronet_aml_base_sanitizer_buildflags__testing",
33544        "cronet_aml_base_synchronization_buildflags__testing",
33545        "cronet_aml_base_tracing_buildflags__testing",
33546        "cronet_aml_build_blink_buildflags__testing",
33547        "cronet_aml_build_branding_buildflags__testing",
33548        "cronet_aml_build_chromecast_buildflags__testing",
33549        "cronet_aml_build_chromeos_buildflags__testing",
33550        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
33551        "cronet_aml_build_ios_buildflags__testing",
33552        "cronet_aml_build_robolectric_buildflags__testing",
33553        "cronet_aml_url_buildflags__testing",
33554        "cronet_aml_url_url_jni_headers__action__testing",
33555    ],
33556    export_generated_headers: [
33557        "cronet_aml_base_allocator_buildflags__testing",
33558        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33559        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33560        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33561        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33562        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33563        "cronet_aml_base_anchor_functions_buildflags__testing",
33564        "cronet_aml_base_build_date__testing",
33565        "cronet_aml_base_cfi_buildflags__testing",
33566        "cronet_aml_base_check_version_internal_action__testing",
33567        "cronet_aml_base_clang_profiling_buildflags__testing",
33568        "cronet_aml_base_debugging_buildflags__testing",
33569        "cronet_aml_base_feature_list_buildflags__testing",
33570        "cronet_aml_base_fuzzing_buildflags__testing",
33571        "cronet_aml_base_ios_cronet_buildflags__testing",
33572        "cronet_aml_base_logging_buildflags__testing",
33573        "cronet_aml_base_message_pump_buildflags__testing",
33574        "cronet_aml_base_orderfile_buildflags__testing",
33575        "cronet_aml_base_power_monitor_buildflags__testing",
33576        "cronet_aml_base_profiler_buildflags__testing",
33577        "cronet_aml_base_protected_memory_buildflags__testing",
33578        "cronet_aml_base_rust_buildflags__testing",
33579        "cronet_aml_base_sanitizer_buildflags__testing",
33580        "cronet_aml_base_synchronization_buildflags__testing",
33581        "cronet_aml_base_tracing_buildflags__testing",
33582        "cronet_aml_build_blink_buildflags__testing",
33583        "cronet_aml_build_branding_buildflags__testing",
33584        "cronet_aml_build_chromecast_buildflags__testing",
33585        "cronet_aml_build_chromeos_buildflags__testing",
33586        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
33587        "cronet_aml_build_ios_buildflags__testing",
33588        "cronet_aml_build_robolectric_buildflags__testing",
33589        "cronet_aml_url_buildflags__testing",
33590        "cronet_aml_url_url_jni_headers__action__testing",
33591    ],
33592    defaults: [
33593        "cronet_aml_cc_defaults",
33594    ],
33595    cflags: [
33596        "-DANDROID",
33597        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
33598        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
33599        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
33600        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
33601        "-DHAVE_SYS_UIO_H",
33602        "-DNDEBUG",
33603        "-DNO_UNWIND_TABLES",
33604        "-DNVALGRIND",
33605        "-DOFFICIAL_BUILD",
33606        "-D_GNU_SOURCE",
33607        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
33608        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
33609        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
33610        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
33611        "-D__STDC_CONSTANT_MACROS",
33612        "-D__STDC_FORMAT_MACROS",
33613        "-fdata-sections",
33614        "-ffunction-sections",
33615        "-fno-asynchronous-unwind-tables",
33616        "-fno-unwind-tables",
33617        "-fstack-protector",
33618        "-fvisibility-inlines-hidden",
33619        "-fvisibility=hidden",
33620        "-g1",
33621    ],
33622    local_include_dirs: [
33623        "./",
33624        "base/allocator/partition_allocator/src/",
33625        "buildtools/third_party/libc++/",
33626        "third_party/abseil-cpp/",
33627        "third_party/boringssl/src/include/",
33628        "third_party/libc++/src/include",
33629        "third_party/libc++abi/src/include",
33630    ],
33631    cpp_std: "c++20",
33632    ldflags: [
33633        "-Wl,--as-needed",
33634        "-Wl,--gc-sections",
33635        "-Wl,--icf=all",
33636        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
33637        "-Wl,-wrap,asprintf",
33638        "-Wl,-wrap,calloc",
33639        "-Wl,-wrap,free",
33640        "-Wl,-wrap,getcwd",
33641        "-Wl,-wrap,malloc",
33642        "-Wl,-wrap,malloc_usable_size",
33643        "-Wl,-wrap,memalign",
33644        "-Wl,-wrap,posix_memalign",
33645        "-Wl,-wrap,pvalloc",
33646        "-Wl,-wrap,realloc",
33647        "-Wl,-wrap,realpath",
33648        "-Wl,-wrap,strdup",
33649        "-Wl,-wrap,strndup",
33650        "-Wl,-wrap,valloc",
33651        "-Wl,-wrap,vasprintf",
33652    ],
33653    target: {
33654        android_arm: {
33655            cflags: [
33656                "-D_FORTIFY_SOURCE=2",
33657            ],
33658        },
33659        android_arm64: {
33660            cflags: [
33661                "-D_FORTIFY_SOURCE=2",
33662                "-O2",
33663                "-mno-outline",
33664            ],
33665        },
33666        android_x86: {
33667            cflags: [
33668                "-D_FORTIFY_SOURCE=2",
33669                "-msse3",
33670            ],
33671        },
33672        android_x86_64: {
33673            cflags: [
33674                "-D_FORTIFY_SOURCE=2",
33675                "-msse3",
33676            ],
33677        },
33678    },
33679}
33680
33681// GN: //net/tools/transport_security_state_generator:transport_security_state_generator__testing
33682cc_binary {
33683    name: "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing",
33684    srcs: [
33685        "net/tools/transport_security_state_generator/transport_security_state_generator.cc",
33686    ],
33687    whole_static_libs: [
33688        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_base__testing",
33689        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_core__testing",
33690        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_allocator_shim__testing",
33691        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr__testing",
33692        "cronet_aml_base_base__testing",
33693        "cronet_aml_base_base_static__testing",
33694        "cronet_aml_base_check_version_internal__testing",
33695        "cronet_aml_base_nodebug_assertion__testing",
33696        "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
33697        "cronet_aml_buildtools_third_party_libc___libc____testing",
33698        "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
33699        "cronet_aml_crypto_crypto__testing",
33700        "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing",
33701        "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator_sources__testing",
33702        "cronet_aml_third_party_abseil_cpp_absl__testing",
33703        "cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
33704        "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
33705        "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
33706        "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
33707        "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
33708        "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
33709        "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
33710        "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
33711        "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
33712        "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing",
33713        "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing",
33714        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing",
33715        "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing",
33716        "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
33717        "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
33718        "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
33719        "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
33720        "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
33721        "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
33722        "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
33723        "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
33724        "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
33725        "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing",
33726        "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing",
33727        "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing",
33728        "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing",
33729        "cronet_aml_third_party_abseil_cpp_absl_log_internal_fnmatch__testing",
33730        "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing",
33731        "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing",
33732        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing",
33733        "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing",
33734        "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing",
33735        "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing",
33736        "cronet_aml_third_party_abseil_cpp_absl_log_internal_vlog_config__testing",
33737        "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing",
33738        "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing",
33739        "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
33740        "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
33741        "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
33742        "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base__testing",
33743        "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
33744        "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
33745        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
33746        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine__testing",
33747        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
33748        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
33749        "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
33750        "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
33751        "cronet_aml_third_party_abseil_cpp_absl_random_random__testing",
33752        "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
33753        "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
33754        "cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
33755        "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
33756        "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
33757        "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
33758        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
33759        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
33760        "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
33761        "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
33762        "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
33763        "cronet_aml_third_party_abseil_cpp_absl_strings_string_view__testing",
33764        "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
33765        "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
33766        "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing",
33767        "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
33768        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
33769        "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
33770        "cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
33771        "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
33772        "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
33773        "cronet_aml_third_party_boringssl_boringssl__testing",
33774        "cronet_aml_third_party_boringssl_boringssl_asm__testing",
33775        "cronet_aml_third_party_icu_icui18n__testing",
33776        "cronet_aml_third_party_icu_icuuc_private__testing",
33777        "cronet_aml_third_party_libevent_libevent__testing",
33778        "cronet_aml_third_party_modp_b64_modp_b64__testing",
33779    ],
33780    host_supported: true,
33781    device_supported: false,
33782    defaults: [
33783        "cronet_aml_cc_defaults",
33784    ],
33785    cflags: [
33786        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
33787        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
33788        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
33789        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
33790        "-DNDEBUG",
33791        "-DNO_UNWIND_TABLES",
33792        "-DNVALGRIND",
33793        "-DOFFICIAL_BUILD",
33794        "-DUSE_AURA=1",
33795        "-DUSE_OZONE=1",
33796        "-DUSE_UDEV",
33797        "-D_FILE_OFFSET_BITS=64",
33798        "-D_FORTIFY_SOURCE=2",
33799        "-D_GNU_SOURCE",
33800        "-D_LARGEFILE64_SOURCE",
33801        "-D_LARGEFILE_SOURCE",
33802        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
33803        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
33804        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
33805        "-D__STDC_CONSTANT_MACROS",
33806        "-D__STDC_FORMAT_MACROS",
33807        "-O2",
33808        "-fdata-sections",
33809        "-ffunction-sections",
33810        "-fno-asynchronous-unwind-tables",
33811        "-fno-unwind-tables",
33812        "-fstack-protector",
33813        "-fvisibility-inlines-hidden",
33814        "-fvisibility=hidden",
33815        "-g1",
33816        "-msse3",
33817    ],
33818    local_include_dirs: [
33819        "./",
33820        "base/allocator/partition_allocator/src/",
33821        "buildtools/third_party/libc++/",
33822        "third_party/abseil-cpp/",
33823        "third_party/boringssl/src/include/",
33824        "third_party/libc++/src/include",
33825        "third_party/libc++abi/src/include",
33826    ],
33827    cpp_std: "c++20",
33828    ldflags: [
33829        "-Wl,--as-needed",
33830        "-Wl,--gc-sections",
33831        "-Wl,--icf=all",
33832    ],
33833}
33834
33835// GN: //net/tools/transport_security_state_generator:transport_security_state_generator_sources__testing
33836cc_library_static {
33837    name: "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator_sources__testing",
33838    srcs: [
33839        "net/tools/transport_security_state_generator/cert_util.cc",
33840        "net/tools/transport_security_state_generator/input_file_parsers.cc",
33841        "net/tools/transport_security_state_generator/pinset.cc",
33842        "net/tools/transport_security_state_generator/pinsets.cc",
33843        "net/tools/transport_security_state_generator/preloaded_state_generator.cc",
33844        "net/tools/transport_security_state_generator/spki_hash.cc",
33845        "net/tools/transport_security_state_generator/transport_security_state_entry.cc",
33846    ],
33847    host_supported: true,
33848    device_supported: false,
33849    generated_headers: [
33850        "cronet_aml_base_allocator_buildflags__testing",
33851        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33852        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33853        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33854        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33855        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33856        "cronet_aml_base_anchor_functions_buildflags__testing",
33857        "cronet_aml_base_build_date__testing",
33858        "cronet_aml_base_cfi_buildflags__testing",
33859        "cronet_aml_base_check_version_internal_action__testing",
33860        "cronet_aml_base_clang_profiling_buildflags__testing",
33861        "cronet_aml_base_debugging_buildflags__testing",
33862        "cronet_aml_base_feature_list_buildflags__testing",
33863        "cronet_aml_base_fuzzing_buildflags__testing",
33864        "cronet_aml_base_ios_cronet_buildflags__testing",
33865        "cronet_aml_base_logging_buildflags__testing",
33866        "cronet_aml_base_message_pump_buildflags__testing",
33867        "cronet_aml_base_orderfile_buildflags__testing",
33868        "cronet_aml_base_power_monitor_buildflags__testing",
33869        "cronet_aml_base_profiler_buildflags__testing",
33870        "cronet_aml_base_protected_memory_buildflags__testing",
33871        "cronet_aml_base_rust_buildflags__testing",
33872        "cronet_aml_base_sanitizer_buildflags__testing",
33873        "cronet_aml_base_synchronization_buildflags__testing",
33874        "cronet_aml_base_tracing_buildflags__testing",
33875        "cronet_aml_build_blink_buildflags__testing",
33876        "cronet_aml_build_branding_buildflags__testing",
33877        "cronet_aml_build_chromecast_buildflags__testing",
33878        "cronet_aml_build_chromeos_buildflags__testing",
33879        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
33880        "cronet_aml_build_ios_buildflags__testing",
33881    ],
33882    export_generated_headers: [
33883        "cronet_aml_base_allocator_buildflags__testing",
33884        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33885        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33886        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33887        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33888        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33889        "cronet_aml_base_anchor_functions_buildflags__testing",
33890        "cronet_aml_base_build_date__testing",
33891        "cronet_aml_base_cfi_buildflags__testing",
33892        "cronet_aml_base_check_version_internal_action__testing",
33893        "cronet_aml_base_clang_profiling_buildflags__testing",
33894        "cronet_aml_base_debugging_buildflags__testing",
33895        "cronet_aml_base_feature_list_buildflags__testing",
33896        "cronet_aml_base_fuzzing_buildflags__testing",
33897        "cronet_aml_base_ios_cronet_buildflags__testing",
33898        "cronet_aml_base_logging_buildflags__testing",
33899        "cronet_aml_base_message_pump_buildflags__testing",
33900        "cronet_aml_base_orderfile_buildflags__testing",
33901        "cronet_aml_base_power_monitor_buildflags__testing",
33902        "cronet_aml_base_profiler_buildflags__testing",
33903        "cronet_aml_base_protected_memory_buildflags__testing",
33904        "cronet_aml_base_rust_buildflags__testing",
33905        "cronet_aml_base_sanitizer_buildflags__testing",
33906        "cronet_aml_base_synchronization_buildflags__testing",
33907        "cronet_aml_base_tracing_buildflags__testing",
33908        "cronet_aml_build_blink_buildflags__testing",
33909        "cronet_aml_build_branding_buildflags__testing",
33910        "cronet_aml_build_chromecast_buildflags__testing",
33911        "cronet_aml_build_chromeos_buildflags__testing",
33912        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
33913        "cronet_aml_build_ios_buildflags__testing",
33914    ],
33915    defaults: [
33916        "cronet_aml_cc_defaults",
33917    ],
33918    cflags: [
33919        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
33920        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
33921        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
33922        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
33923        "-DNDEBUG",
33924        "-DNO_UNWIND_TABLES",
33925        "-DNVALGRIND",
33926        "-DOFFICIAL_BUILD",
33927        "-DUSE_AURA=1",
33928        "-DUSE_OZONE=1",
33929        "-DUSE_UDEV",
33930        "-D_FILE_OFFSET_BITS=64",
33931        "-D_FORTIFY_SOURCE=2",
33932        "-D_GNU_SOURCE",
33933        "-D_LARGEFILE64_SOURCE",
33934        "-D_LARGEFILE_SOURCE",
33935        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
33936        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
33937        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
33938        "-D__STDC_CONSTANT_MACROS",
33939        "-D__STDC_FORMAT_MACROS",
33940        "-O2",
33941        "-fdata-sections",
33942        "-ffunction-sections",
33943        "-fno-asynchronous-unwind-tables",
33944        "-fno-unwind-tables",
33945        "-fstack-protector",
33946        "-fvisibility-inlines-hidden",
33947        "-fvisibility=hidden",
33948        "-g1",
33949        "-msse3",
33950    ],
33951    local_include_dirs: [
33952        "./",
33953        "base/allocator/partition_allocator/src/",
33954        "buildtools/third_party/libc++/",
33955        "third_party/abseil-cpp/",
33956        "third_party/boringssl/src/include/",
33957        "third_party/libc++/src/include",
33958        "third_party/libc++abi/src/include",
33959    ],
33960    cpp_std: "c++20",
33961    ldflags: [
33962        "-Wl,--as-needed",
33963        "-Wl,--gc-sections",
33964        "-Wl,--icf=all",
33965    ],
33966}
33967
33968// GN: //net/traffic_annotation:test_support__testing
33969cc_library_static {
33970    name: "cronet_aml_net_traffic_annotation_test_support__testing",
33971    shared_libs: [
33972        "libandroid",
33973        "liblog",
33974    ],
33975    generated_headers: [
33976        "cronet_aml_base_allocator_buildflags__testing",
33977        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
33978        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
33979        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
33980        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
33981        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
33982        "cronet_aml_base_anchor_functions_buildflags__testing",
33983        "cronet_aml_base_build_date__testing",
33984        "cronet_aml_base_cfi_buildflags__testing",
33985        "cronet_aml_base_check_version_internal_action__testing",
33986        "cronet_aml_base_clang_profiling_buildflags__testing",
33987        "cronet_aml_base_debugging_buildflags__testing",
33988        "cronet_aml_base_feature_list_buildflags__testing",
33989        "cronet_aml_base_fuzzing_buildflags__testing",
33990        "cronet_aml_base_ios_cronet_buildflags__testing",
33991        "cronet_aml_base_logging_buildflags__testing",
33992        "cronet_aml_base_message_pump_buildflags__testing",
33993        "cronet_aml_base_orderfile_buildflags__testing",
33994        "cronet_aml_base_power_monitor_buildflags__testing",
33995        "cronet_aml_base_profiler_buildflags__testing",
33996        "cronet_aml_base_protected_memory_buildflags__testing",
33997        "cronet_aml_base_rust_buildflags__testing",
33998        "cronet_aml_base_sanitizer_buildflags__testing",
33999        "cronet_aml_base_synchronization_buildflags__testing",
34000        "cronet_aml_base_tracing_buildflags__testing",
34001        "cronet_aml_build_blink_buildflags__testing",
34002        "cronet_aml_build_branding_buildflags__testing",
34003        "cronet_aml_build_chromecast_buildflags__testing",
34004        "cronet_aml_build_chromeos_buildflags__testing",
34005        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
34006        "cronet_aml_build_ios_buildflags__testing",
34007    ],
34008    export_generated_headers: [
34009        "cronet_aml_base_allocator_buildflags__testing",
34010        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
34011        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
34012        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
34013        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
34014        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
34015        "cronet_aml_base_anchor_functions_buildflags__testing",
34016        "cronet_aml_base_build_date__testing",
34017        "cronet_aml_base_cfi_buildflags__testing",
34018        "cronet_aml_base_check_version_internal_action__testing",
34019        "cronet_aml_base_clang_profiling_buildflags__testing",
34020        "cronet_aml_base_debugging_buildflags__testing",
34021        "cronet_aml_base_feature_list_buildflags__testing",
34022        "cronet_aml_base_fuzzing_buildflags__testing",
34023        "cronet_aml_base_ios_cronet_buildflags__testing",
34024        "cronet_aml_base_logging_buildflags__testing",
34025        "cronet_aml_base_message_pump_buildflags__testing",
34026        "cronet_aml_base_orderfile_buildflags__testing",
34027        "cronet_aml_base_power_monitor_buildflags__testing",
34028        "cronet_aml_base_profiler_buildflags__testing",
34029        "cronet_aml_base_protected_memory_buildflags__testing",
34030        "cronet_aml_base_rust_buildflags__testing",
34031        "cronet_aml_base_sanitizer_buildflags__testing",
34032        "cronet_aml_base_synchronization_buildflags__testing",
34033        "cronet_aml_base_tracing_buildflags__testing",
34034        "cronet_aml_build_blink_buildflags__testing",
34035        "cronet_aml_build_branding_buildflags__testing",
34036        "cronet_aml_build_chromecast_buildflags__testing",
34037        "cronet_aml_build_chromeos_buildflags__testing",
34038        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
34039        "cronet_aml_build_ios_buildflags__testing",
34040    ],
34041    defaults: [
34042        "cronet_aml_cc_defaults",
34043    ],
34044    cflags: [
34045        "-DANDROID",
34046        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
34047        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
34048        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
34049        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
34050        "-DHAVE_SYS_UIO_H",
34051        "-DNDEBUG",
34052        "-DNO_UNWIND_TABLES",
34053        "-DNVALGRIND",
34054        "-DOFFICIAL_BUILD",
34055        "-D_GNU_SOURCE",
34056        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
34057        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
34058        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
34059        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
34060        "-D__STDC_CONSTANT_MACROS",
34061        "-D__STDC_FORMAT_MACROS",
34062        "-fdata-sections",
34063        "-ffunction-sections",
34064        "-fno-asynchronous-unwind-tables",
34065        "-fno-unwind-tables",
34066        "-fstack-protector",
34067        "-fvisibility-inlines-hidden",
34068        "-fvisibility=hidden",
34069        "-g1",
34070    ],
34071    local_include_dirs: [
34072        "./",
34073        "buildtools/third_party/libc++/",
34074        "third_party/libc++/src/include",
34075        "third_party/libc++abi/src/include",
34076    ],
34077    cpp_std: "c++20",
34078    ldflags: [
34079        "-Wl,--as-needed",
34080        "-Wl,--gc-sections",
34081        "-Wl,--icf=all",
34082        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
34083        "-Wl,-wrap,asprintf",
34084        "-Wl,-wrap,calloc",
34085        "-Wl,-wrap,free",
34086        "-Wl,-wrap,getcwd",
34087        "-Wl,-wrap,malloc",
34088        "-Wl,-wrap,malloc_usable_size",
34089        "-Wl,-wrap,memalign",
34090        "-Wl,-wrap,posix_memalign",
34091        "-Wl,-wrap,pvalloc",
34092        "-Wl,-wrap,realloc",
34093        "-Wl,-wrap,realpath",
34094        "-Wl,-wrap,strdup",
34095        "-Wl,-wrap,strndup",
34096        "-Wl,-wrap,valloc",
34097        "-Wl,-wrap,vasprintf",
34098    ],
34099    target: {
34100        android_arm: {
34101            cflags: [
34102                "-D_FORTIFY_SOURCE=2",
34103            ],
34104        },
34105        android_arm64: {
34106            cflags: [
34107                "-D_FORTIFY_SOURCE=2",
34108                "-O2",
34109                "-mno-outline",
34110            ],
34111        },
34112        android_x86: {
34113            cflags: [
34114                "-D_FORTIFY_SOURCE=2",
34115                "-msse3",
34116            ],
34117        },
34118        android_x86_64: {
34119            cflags: [
34120                "-D_FORTIFY_SOURCE=2",
34121                "-msse3",
34122            ],
34123        },
34124    },
34125}
34126
34127// GN: //net/traffic_annotation:traffic_annotation
34128cc_library_static {
34129    name: "cronet_aml_net_traffic_annotation_traffic_annotation",
34130    srcs: [
34131        "net/traffic_annotation/network_traffic_annotation_android.cc",
34132    ],
34133    shared_libs: [
34134        "//external/cronet/third_party/boringssl:libcrypto",
34135        "//external/cronet/third_party/boringssl:libpki",
34136        "//external/cronet/third_party/boringssl:libssl",
34137        "libandroid",
34138        "liblog",
34139    ],
34140    generated_headers: [
34141        "cronet_aml_base_allocator_buildflags",
34142        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
34143        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
34144        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
34145        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
34146        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
34147        "cronet_aml_base_anchor_functions_buildflags",
34148        "cronet_aml_base_android_runtime_jni_headers__action",
34149        "cronet_aml_base_base_jni__action",
34150        "cronet_aml_base_base_shared_preferences_jni__action",
34151        "cronet_aml_base_build_date",
34152        "cronet_aml_base_cfi_buildflags",
34153        "cronet_aml_base_check_version_internal_action",
34154        "cronet_aml_base_clang_profiling_buildflags",
34155        "cronet_aml_base_debugging_buildflags",
34156        "cronet_aml_base_feature_list_buildflags",
34157        "cronet_aml_base_fuzzing_buildflags",
34158        "cronet_aml_base_ios_cronet_buildflags",
34159        "cronet_aml_base_logging_buildflags",
34160        "cronet_aml_base_message_pump_buildflags",
34161        "cronet_aml_base_orderfile_buildflags",
34162        "cronet_aml_base_power_monitor_buildflags",
34163        "cronet_aml_base_process_launcher_jni__action",
34164        "cronet_aml_base_profiler_buildflags",
34165        "cronet_aml_base_protected_memory_buildflags",
34166        "cronet_aml_base_rust_buildflags",
34167        "cronet_aml_base_sanitizer_buildflags",
34168        "cronet_aml_base_synchronization_buildflags",
34169        "cronet_aml_base_tracing_buildflags",
34170        "cronet_aml_build_blink_buildflags",
34171        "cronet_aml_build_branding_buildflags",
34172        "cronet_aml_build_chromecast_buildflags",
34173        "cronet_aml_build_chromeos_buildflags",
34174        "cronet_aml_build_config_compiler_compiler_buildflags",
34175        "cronet_aml_build_ios_buildflags",
34176        "cronet_aml_build_robolectric_buildflags",
34177    ],
34178    export_generated_headers: [
34179        "cronet_aml_base_allocator_buildflags",
34180        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
34181        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
34182        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
34183        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
34184        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
34185        "cronet_aml_base_anchor_functions_buildflags",
34186        "cronet_aml_base_android_runtime_jni_headers__action",
34187        "cronet_aml_base_base_jni__action",
34188        "cronet_aml_base_base_shared_preferences_jni__action",
34189        "cronet_aml_base_build_date",
34190        "cronet_aml_base_cfi_buildflags",
34191        "cronet_aml_base_check_version_internal_action",
34192        "cronet_aml_base_clang_profiling_buildflags",
34193        "cronet_aml_base_debugging_buildflags",
34194        "cronet_aml_base_feature_list_buildflags",
34195        "cronet_aml_base_fuzzing_buildflags",
34196        "cronet_aml_base_ios_cronet_buildflags",
34197        "cronet_aml_base_logging_buildflags",
34198        "cronet_aml_base_message_pump_buildflags",
34199        "cronet_aml_base_orderfile_buildflags",
34200        "cronet_aml_base_power_monitor_buildflags",
34201        "cronet_aml_base_process_launcher_jni__action",
34202        "cronet_aml_base_profiler_buildflags",
34203        "cronet_aml_base_protected_memory_buildflags",
34204        "cronet_aml_base_rust_buildflags",
34205        "cronet_aml_base_sanitizer_buildflags",
34206        "cronet_aml_base_synchronization_buildflags",
34207        "cronet_aml_base_tracing_buildflags",
34208        "cronet_aml_build_blink_buildflags",
34209        "cronet_aml_build_branding_buildflags",
34210        "cronet_aml_build_chromecast_buildflags",
34211        "cronet_aml_build_chromeos_buildflags",
34212        "cronet_aml_build_config_compiler_compiler_buildflags",
34213        "cronet_aml_build_ios_buildflags",
34214        "cronet_aml_build_robolectric_buildflags",
34215    ],
34216    defaults: [
34217        "cronet_aml_cc_defaults",
34218    ],
34219    cflags: [
34220        "-DANDROID",
34221        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
34222        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
34223        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
34224        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
34225        "-DHAVE_SYS_UIO_H",
34226        "-DNDEBUG",
34227        "-DNO_UNWIND_TABLES",
34228        "-DNVALGRIND",
34229        "-DOFFICIAL_BUILD",
34230        "-D_GNU_SOURCE",
34231        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
34232        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
34233        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
34234        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
34235        "-D__STDC_CONSTANT_MACROS",
34236        "-D__STDC_FORMAT_MACROS",
34237        "-fdata-sections",
34238        "-ffunction-sections",
34239        "-fno-asynchronous-unwind-tables",
34240        "-fno-unwind-tables",
34241        "-fstack-protector",
34242        "-fvisibility-inlines-hidden",
34243        "-fvisibility=hidden",
34244        "-g1",
34245    ],
34246    local_include_dirs: [
34247        "./",
34248        "base/allocator/partition_allocator/src/",
34249        "buildtools/third_party/libc++/",
34250        "third_party/abseil-cpp/",
34251        "third_party/boringssl/src/include/",
34252        "third_party/libc++/src/include",
34253        "third_party/libc++abi/src/include",
34254    ],
34255    cpp_std: "c++20",
34256    ldflags: [
34257        "-Wl,--as-needed",
34258        "-Wl,--gc-sections",
34259        "-Wl,--icf=all",
34260        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
34261        "-Wl,-wrap,asprintf",
34262        "-Wl,-wrap,calloc",
34263        "-Wl,-wrap,free",
34264        "-Wl,-wrap,getcwd",
34265        "-Wl,-wrap,malloc",
34266        "-Wl,-wrap,malloc_usable_size",
34267        "-Wl,-wrap,memalign",
34268        "-Wl,-wrap,posix_memalign",
34269        "-Wl,-wrap,pvalloc",
34270        "-Wl,-wrap,realloc",
34271        "-Wl,-wrap,realpath",
34272        "-Wl,-wrap,strdup",
34273        "-Wl,-wrap,strndup",
34274        "-Wl,-wrap,valloc",
34275        "-Wl,-wrap,vasprintf",
34276    ],
34277    target: {
34278        android_arm: {
34279            cflags: [
34280                "-D_FORTIFY_SOURCE=2",
34281            ],
34282        },
34283        android_arm64: {
34284            cflags: [
34285                "-D_FORTIFY_SOURCE=2",
34286                "-O2",
34287                "-mno-outline",
34288            ],
34289        },
34290        android_x86: {
34291            cflags: [
34292                "-D_FORTIFY_SOURCE=2",
34293                "-msse3",
34294            ],
34295        },
34296        android_x86_64: {
34297            cflags: [
34298                "-D_FORTIFY_SOURCE=2",
34299                "-msse3",
34300            ],
34301        },
34302    },
34303}
34304
34305// GN: //net/traffic_annotation:traffic_annotation__testing
34306cc_library_static {
34307    name: "cronet_aml_net_traffic_annotation_traffic_annotation__testing",
34308    srcs: [
34309        "net/traffic_annotation/network_traffic_annotation_android.cc",
34310    ],
34311    shared_libs: [
34312        "libandroid",
34313        "liblog",
34314    ],
34315    generated_headers: [
34316        "cronet_aml_base_allocator_buildflags__testing",
34317        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
34318        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
34319        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
34320        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
34321        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
34322        "cronet_aml_base_anchor_functions_buildflags__testing",
34323        "cronet_aml_base_build_date__testing",
34324        "cronet_aml_base_cfi_buildflags__testing",
34325        "cronet_aml_base_check_version_internal_action__testing",
34326        "cronet_aml_base_clang_profiling_buildflags__testing",
34327        "cronet_aml_base_debugging_buildflags__testing",
34328        "cronet_aml_base_feature_list_buildflags__testing",
34329        "cronet_aml_base_fuzzing_buildflags__testing",
34330        "cronet_aml_base_ios_cronet_buildflags__testing",
34331        "cronet_aml_base_logging_buildflags__testing",
34332        "cronet_aml_base_message_pump_buildflags__testing",
34333        "cronet_aml_base_orderfile_buildflags__testing",
34334        "cronet_aml_base_power_monitor_buildflags__testing",
34335        "cronet_aml_base_profiler_buildflags__testing",
34336        "cronet_aml_base_protected_memory_buildflags__testing",
34337        "cronet_aml_base_rust_buildflags__testing",
34338        "cronet_aml_base_sanitizer_buildflags__testing",
34339        "cronet_aml_base_synchronization_buildflags__testing",
34340        "cronet_aml_base_tracing_buildflags__testing",
34341        "cronet_aml_build_blink_buildflags__testing",
34342        "cronet_aml_build_branding_buildflags__testing",
34343        "cronet_aml_build_chromecast_buildflags__testing",
34344        "cronet_aml_build_chromeos_buildflags__testing",
34345        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
34346        "cronet_aml_build_ios_buildflags__testing",
34347    ],
34348    export_generated_headers: [
34349        "cronet_aml_base_allocator_buildflags__testing",
34350        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
34351        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
34352        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
34353        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
34354        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
34355        "cronet_aml_base_anchor_functions_buildflags__testing",
34356        "cronet_aml_base_build_date__testing",
34357        "cronet_aml_base_cfi_buildflags__testing",
34358        "cronet_aml_base_check_version_internal_action__testing",
34359        "cronet_aml_base_clang_profiling_buildflags__testing",
34360        "cronet_aml_base_debugging_buildflags__testing",
34361        "cronet_aml_base_feature_list_buildflags__testing",
34362        "cronet_aml_base_fuzzing_buildflags__testing",
34363        "cronet_aml_base_ios_cronet_buildflags__testing",
34364        "cronet_aml_base_logging_buildflags__testing",
34365        "cronet_aml_base_message_pump_buildflags__testing",
34366        "cronet_aml_base_orderfile_buildflags__testing",
34367        "cronet_aml_base_power_monitor_buildflags__testing",
34368        "cronet_aml_base_profiler_buildflags__testing",
34369        "cronet_aml_base_protected_memory_buildflags__testing",
34370        "cronet_aml_base_rust_buildflags__testing",
34371        "cronet_aml_base_sanitizer_buildflags__testing",
34372        "cronet_aml_base_synchronization_buildflags__testing",
34373        "cronet_aml_base_tracing_buildflags__testing",
34374        "cronet_aml_build_blink_buildflags__testing",
34375        "cronet_aml_build_branding_buildflags__testing",
34376        "cronet_aml_build_chromecast_buildflags__testing",
34377        "cronet_aml_build_chromeos_buildflags__testing",
34378        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
34379        "cronet_aml_build_ios_buildflags__testing",
34380    ],
34381    defaults: [
34382        "cronet_aml_cc_defaults",
34383    ],
34384    cflags: [
34385        "-DANDROID",
34386        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
34387        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
34388        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
34389        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
34390        "-DHAVE_SYS_UIO_H",
34391        "-DNDEBUG",
34392        "-DNO_UNWIND_TABLES",
34393        "-DNVALGRIND",
34394        "-DOFFICIAL_BUILD",
34395        "-D_GNU_SOURCE",
34396        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
34397        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
34398        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
34399        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
34400        "-D__STDC_CONSTANT_MACROS",
34401        "-D__STDC_FORMAT_MACROS",
34402        "-fdata-sections",
34403        "-ffunction-sections",
34404        "-fno-asynchronous-unwind-tables",
34405        "-fno-unwind-tables",
34406        "-fstack-protector",
34407        "-fvisibility-inlines-hidden",
34408        "-fvisibility=hidden",
34409        "-g1",
34410    ],
34411    local_include_dirs: [
34412        "./",
34413        "base/allocator/partition_allocator/src/",
34414        "buildtools/third_party/libc++/",
34415        "third_party/abseil-cpp/",
34416        "third_party/boringssl/src/include/",
34417        "third_party/libc++/src/include",
34418        "third_party/libc++abi/src/include",
34419    ],
34420    cpp_std: "c++20",
34421    ldflags: [
34422        "-Wl,--as-needed",
34423        "-Wl,--gc-sections",
34424        "-Wl,--icf=all",
34425        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
34426        "-Wl,-wrap,asprintf",
34427        "-Wl,-wrap,calloc",
34428        "-Wl,-wrap,free",
34429        "-Wl,-wrap,getcwd",
34430        "-Wl,-wrap,malloc",
34431        "-Wl,-wrap,malloc_usable_size",
34432        "-Wl,-wrap,memalign",
34433        "-Wl,-wrap,posix_memalign",
34434        "-Wl,-wrap,pvalloc",
34435        "-Wl,-wrap,realloc",
34436        "-Wl,-wrap,realpath",
34437        "-Wl,-wrap,strdup",
34438        "-Wl,-wrap,strndup",
34439        "-Wl,-wrap,valloc",
34440        "-Wl,-wrap,vasprintf",
34441    ],
34442    target: {
34443        android_arm: {
34444            cflags: [
34445                "-D_FORTIFY_SOURCE=2",
34446            ],
34447        },
34448        android_arm64: {
34449            cflags: [
34450                "-D_FORTIFY_SOURCE=2",
34451                "-O2",
34452                "-mno-outline",
34453            ],
34454        },
34455        android_x86: {
34456            cflags: [
34457                "-D_FORTIFY_SOURCE=2",
34458                "-msse3",
34459            ],
34460        },
34461        android_x86_64: {
34462            cflags: [
34463                "-D_FORTIFY_SOURCE=2",
34464                "-msse3",
34465            ],
34466        },
34467    },
34468}
34469
34470// GN: //net:uri_template
34471cc_library_static {
34472    name: "cronet_aml_net_uri_template",
34473    srcs: [
34474        "net/third_party/uri_template/uri_template.cc",
34475    ],
34476    shared_libs: [
34477        "//external/cronet/third_party/boringssl:libcrypto",
34478        "//external/cronet/third_party/boringssl:libpki",
34479        "//external/cronet/third_party/boringssl:libssl",
34480        "libandroid",
34481        "liblog",
34482    ],
34483    generated_headers: [
34484        "cronet_aml_base_allocator_buildflags",
34485        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
34486        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
34487        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
34488        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
34489        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
34490        "cronet_aml_base_anchor_functions_buildflags",
34491        "cronet_aml_base_android_runtime_jni_headers__action",
34492        "cronet_aml_base_base_jni__action",
34493        "cronet_aml_base_base_shared_preferences_jni__action",
34494        "cronet_aml_base_build_date",
34495        "cronet_aml_base_cfi_buildflags",
34496        "cronet_aml_base_check_version_internal_action",
34497        "cronet_aml_base_clang_profiling_buildflags",
34498        "cronet_aml_base_debugging_buildflags",
34499        "cronet_aml_base_feature_list_buildflags",
34500        "cronet_aml_base_fuzzing_buildflags",
34501        "cronet_aml_base_ios_cronet_buildflags",
34502        "cronet_aml_base_logging_buildflags",
34503        "cronet_aml_base_message_pump_buildflags",
34504        "cronet_aml_base_orderfile_buildflags",
34505        "cronet_aml_base_power_monitor_buildflags",
34506        "cronet_aml_base_process_launcher_jni__action",
34507        "cronet_aml_base_profiler_buildflags",
34508        "cronet_aml_base_protected_memory_buildflags",
34509        "cronet_aml_base_rust_buildflags",
34510        "cronet_aml_base_sanitizer_buildflags",
34511        "cronet_aml_base_synchronization_buildflags",
34512        "cronet_aml_base_tracing_buildflags",
34513        "cronet_aml_build_blink_buildflags",
34514        "cronet_aml_build_branding_buildflags",
34515        "cronet_aml_build_chromecast_buildflags",
34516        "cronet_aml_build_chromeos_buildflags",
34517        "cronet_aml_build_config_compiler_compiler_buildflags",
34518        "cronet_aml_build_ios_buildflags",
34519        "cronet_aml_build_robolectric_buildflags",
34520    ],
34521    export_generated_headers: [
34522        "cronet_aml_base_allocator_buildflags",
34523        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
34524        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
34525        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
34526        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
34527        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
34528        "cronet_aml_base_anchor_functions_buildflags",
34529        "cronet_aml_base_android_runtime_jni_headers__action",
34530        "cronet_aml_base_base_jni__action",
34531        "cronet_aml_base_base_shared_preferences_jni__action",
34532        "cronet_aml_base_build_date",
34533        "cronet_aml_base_cfi_buildflags",
34534        "cronet_aml_base_check_version_internal_action",
34535        "cronet_aml_base_clang_profiling_buildflags",
34536        "cronet_aml_base_debugging_buildflags",
34537        "cronet_aml_base_feature_list_buildflags",
34538        "cronet_aml_base_fuzzing_buildflags",
34539        "cronet_aml_base_ios_cronet_buildflags",
34540        "cronet_aml_base_logging_buildflags",
34541        "cronet_aml_base_message_pump_buildflags",
34542        "cronet_aml_base_orderfile_buildflags",
34543        "cronet_aml_base_power_monitor_buildflags",
34544        "cronet_aml_base_process_launcher_jni__action",
34545        "cronet_aml_base_profiler_buildflags",
34546        "cronet_aml_base_protected_memory_buildflags",
34547        "cronet_aml_base_rust_buildflags",
34548        "cronet_aml_base_sanitizer_buildflags",
34549        "cronet_aml_base_synchronization_buildflags",
34550        "cronet_aml_base_tracing_buildflags",
34551        "cronet_aml_build_blink_buildflags",
34552        "cronet_aml_build_branding_buildflags",
34553        "cronet_aml_build_chromecast_buildflags",
34554        "cronet_aml_build_chromeos_buildflags",
34555        "cronet_aml_build_config_compiler_compiler_buildflags",
34556        "cronet_aml_build_ios_buildflags",
34557        "cronet_aml_build_robolectric_buildflags",
34558    ],
34559    defaults: [
34560        "cronet_aml_cc_defaults",
34561    ],
34562    cflags: [
34563        "-DANDROID",
34564        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
34565        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
34566        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
34567        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
34568        "-DHAVE_SYS_UIO_H",
34569        "-DIS_URI_TEMPLATE_IMPL",
34570        "-DNDEBUG",
34571        "-DNO_UNWIND_TABLES",
34572        "-DNVALGRIND",
34573        "-DOFFICIAL_BUILD",
34574        "-D_GNU_SOURCE",
34575        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
34576        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
34577        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
34578        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
34579        "-D__STDC_CONSTANT_MACROS",
34580        "-D__STDC_FORMAT_MACROS",
34581        "-fdata-sections",
34582        "-ffunction-sections",
34583        "-fno-asynchronous-unwind-tables",
34584        "-fno-unwind-tables",
34585        "-fstack-protector",
34586        "-fvisibility-inlines-hidden",
34587        "-fvisibility=hidden",
34588        "-g1",
34589    ],
34590    local_include_dirs: [
34591        "./",
34592        "base/allocator/partition_allocator/src/",
34593        "buildtools/third_party/libc++/",
34594        "third_party/abseil-cpp/",
34595        "third_party/boringssl/src/include/",
34596        "third_party/libc++/src/include",
34597        "third_party/libc++abi/src/include",
34598    ],
34599    cpp_std: "c++20",
34600    ldflags: [
34601        "-Wl,--as-needed",
34602        "-Wl,--gc-sections",
34603        "-Wl,--icf=all",
34604        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
34605        "-Wl,-wrap,asprintf",
34606        "-Wl,-wrap,calloc",
34607        "-Wl,-wrap,free",
34608        "-Wl,-wrap,getcwd",
34609        "-Wl,-wrap,malloc",
34610        "-Wl,-wrap,malloc_usable_size",
34611        "-Wl,-wrap,memalign",
34612        "-Wl,-wrap,posix_memalign",
34613        "-Wl,-wrap,pvalloc",
34614        "-Wl,-wrap,realloc",
34615        "-Wl,-wrap,realpath",
34616        "-Wl,-wrap,strdup",
34617        "-Wl,-wrap,strndup",
34618        "-Wl,-wrap,valloc",
34619        "-Wl,-wrap,vasprintf",
34620    ],
34621    target: {
34622        android_arm: {
34623            cflags: [
34624                "-D_FORTIFY_SOURCE=2",
34625            ],
34626        },
34627        android_arm64: {
34628            cflags: [
34629                "-D_FORTIFY_SOURCE=2",
34630                "-O2",
34631                "-mno-outline",
34632            ],
34633        },
34634        android_x86: {
34635            cflags: [
34636                "-D_FORTIFY_SOURCE=2",
34637                "-msse3",
34638            ],
34639        },
34640        android_x86_64: {
34641            cflags: [
34642                "-D_FORTIFY_SOURCE=2",
34643                "-msse3",
34644            ],
34645        },
34646    },
34647}
34648
34649// GN: //net:uri_template__testing
34650cc_library_static {
34651    name: "cronet_aml_net_uri_template__testing",
34652    srcs: [
34653        "net/third_party/uri_template/uri_template.cc",
34654    ],
34655    shared_libs: [
34656        "libandroid",
34657        "liblog",
34658    ],
34659    generated_headers: [
34660        "cronet_aml_base_allocator_buildflags__testing",
34661        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
34662        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
34663        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
34664        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
34665        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
34666        "cronet_aml_base_anchor_functions_buildflags__testing",
34667        "cronet_aml_base_build_date__testing",
34668        "cronet_aml_base_cfi_buildflags__testing",
34669        "cronet_aml_base_check_version_internal_action__testing",
34670        "cronet_aml_base_clang_profiling_buildflags__testing",
34671        "cronet_aml_base_debugging_buildflags__testing",
34672        "cronet_aml_base_feature_list_buildflags__testing",
34673        "cronet_aml_base_fuzzing_buildflags__testing",
34674        "cronet_aml_base_ios_cronet_buildflags__testing",
34675        "cronet_aml_base_logging_buildflags__testing",
34676        "cronet_aml_base_message_pump_buildflags__testing",
34677        "cronet_aml_base_orderfile_buildflags__testing",
34678        "cronet_aml_base_power_monitor_buildflags__testing",
34679        "cronet_aml_base_profiler_buildflags__testing",
34680        "cronet_aml_base_protected_memory_buildflags__testing",
34681        "cronet_aml_base_rust_buildflags__testing",
34682        "cronet_aml_base_sanitizer_buildflags__testing",
34683        "cronet_aml_base_synchronization_buildflags__testing",
34684        "cronet_aml_base_tracing_buildflags__testing",
34685        "cronet_aml_build_blink_buildflags__testing",
34686        "cronet_aml_build_branding_buildflags__testing",
34687        "cronet_aml_build_chromecast_buildflags__testing",
34688        "cronet_aml_build_chromeos_buildflags__testing",
34689        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
34690        "cronet_aml_build_ios_buildflags__testing",
34691    ],
34692    export_generated_headers: [
34693        "cronet_aml_base_allocator_buildflags__testing",
34694        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
34695        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
34696        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
34697        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
34698        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
34699        "cronet_aml_base_anchor_functions_buildflags__testing",
34700        "cronet_aml_base_build_date__testing",
34701        "cronet_aml_base_cfi_buildflags__testing",
34702        "cronet_aml_base_check_version_internal_action__testing",
34703        "cronet_aml_base_clang_profiling_buildflags__testing",
34704        "cronet_aml_base_debugging_buildflags__testing",
34705        "cronet_aml_base_feature_list_buildflags__testing",
34706        "cronet_aml_base_fuzzing_buildflags__testing",
34707        "cronet_aml_base_ios_cronet_buildflags__testing",
34708        "cronet_aml_base_logging_buildflags__testing",
34709        "cronet_aml_base_message_pump_buildflags__testing",
34710        "cronet_aml_base_orderfile_buildflags__testing",
34711        "cronet_aml_base_power_monitor_buildflags__testing",
34712        "cronet_aml_base_profiler_buildflags__testing",
34713        "cronet_aml_base_protected_memory_buildflags__testing",
34714        "cronet_aml_base_rust_buildflags__testing",
34715        "cronet_aml_base_sanitizer_buildflags__testing",
34716        "cronet_aml_base_synchronization_buildflags__testing",
34717        "cronet_aml_base_tracing_buildflags__testing",
34718        "cronet_aml_build_blink_buildflags__testing",
34719        "cronet_aml_build_branding_buildflags__testing",
34720        "cronet_aml_build_chromecast_buildflags__testing",
34721        "cronet_aml_build_chromeos_buildflags__testing",
34722        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
34723        "cronet_aml_build_ios_buildflags__testing",
34724    ],
34725    defaults: [
34726        "cronet_aml_cc_defaults",
34727    ],
34728    cflags: [
34729        "-DANDROID",
34730        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
34731        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
34732        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
34733        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
34734        "-DHAVE_SYS_UIO_H",
34735        "-DIS_URI_TEMPLATE_IMPL",
34736        "-DNDEBUG",
34737        "-DNO_UNWIND_TABLES",
34738        "-DNVALGRIND",
34739        "-DOFFICIAL_BUILD",
34740        "-D_GNU_SOURCE",
34741        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
34742        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
34743        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
34744        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
34745        "-D__STDC_CONSTANT_MACROS",
34746        "-D__STDC_FORMAT_MACROS",
34747        "-fdata-sections",
34748        "-ffunction-sections",
34749        "-fno-asynchronous-unwind-tables",
34750        "-fno-unwind-tables",
34751        "-fstack-protector",
34752        "-fvisibility-inlines-hidden",
34753        "-fvisibility=hidden",
34754        "-g1",
34755    ],
34756    local_include_dirs: [
34757        "./",
34758        "base/allocator/partition_allocator/src/",
34759        "buildtools/third_party/libc++/",
34760        "third_party/abseil-cpp/",
34761        "third_party/boringssl/src/include/",
34762        "third_party/libc++/src/include",
34763        "third_party/libc++abi/src/include",
34764    ],
34765    cpp_std: "c++20",
34766    ldflags: [
34767        "-Wl,--as-needed",
34768        "-Wl,--gc-sections",
34769        "-Wl,--icf=all",
34770        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
34771        "-Wl,-wrap,asprintf",
34772        "-Wl,-wrap,calloc",
34773        "-Wl,-wrap,free",
34774        "-Wl,-wrap,getcwd",
34775        "-Wl,-wrap,malloc",
34776        "-Wl,-wrap,malloc_usable_size",
34777        "-Wl,-wrap,memalign",
34778        "-Wl,-wrap,posix_memalign",
34779        "-Wl,-wrap,pvalloc",
34780        "-Wl,-wrap,realloc",
34781        "-Wl,-wrap,realpath",
34782        "-Wl,-wrap,strdup",
34783        "-Wl,-wrap,strndup",
34784        "-Wl,-wrap,valloc",
34785        "-Wl,-wrap,vasprintf",
34786    ],
34787    target: {
34788        android_arm: {
34789            cflags: [
34790                "-D_FORTIFY_SOURCE=2",
34791            ],
34792        },
34793        android_arm64: {
34794            cflags: [
34795                "-D_FORTIFY_SOURCE=2",
34796                "-O2",
34797                "-mno-outline",
34798            ],
34799        },
34800        android_x86: {
34801            cflags: [
34802                "-D_FORTIFY_SOURCE=2",
34803                "-msse3",
34804            ],
34805        },
34806        android_x86_64: {
34807            cflags: [
34808                "-D_FORTIFY_SOURCE=2",
34809                "-msse3",
34810            ],
34811        },
34812    },
34813}
34814
34815// GN: //testing/android/instrumentation:instrumentation_test_runner_java__testing
34816java_library {
34817    name: "cronet_aml_testing_android_instrumentation_instrumentation_test_runner_java__testing",
34818    srcs: [
34819        "testing/android/instrumentation/java/src/org/chromium/testing/TestListInstrumentationRunListener.java",
34820    ],
34821    static_libs: [
34822        "androidx.test.runner",
34823        "junit",
34824    ],
34825    apex_available: [
34826        "com.android.tethering",
34827    ],
34828    min_sdk_version: "30",
34829    libs: [
34830        "androidx.annotation_annotation",
34831        "androidx.test.monitor",
34832    ],
34833    sdk_version: "current",
34834    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
34835}
34836
34837// GN: //testing/android/native_test:native_main_runner_java__testing
34838java_library {
34839    name: "cronet_aml_testing_android_native_test_native_main_runner_java__testing",
34840    srcs: [
34841        ":cronet_aml_testing_android_native_test_native_main_runner_jni__action__testing__java",
34842        "testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java",
34843    ],
34844    static_libs: [
34845        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
34846    ],
34847    apex_available: [
34848        "com.android.tethering",
34849    ],
34850    min_sdk_version: "30",
34851    sdk_version: "current",
34852    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
34853}
34854
34855// GN: //testing/android/native_test:native_main_runner_jni__action__testing
34856cc_genrule {
34857    name: "cronet_aml_testing_android_native_test_native_main_runner_jni__action__testing",
34858    srcs: [
34859        "testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java",
34860    ],
34861    cmd: "mkdir -p $(genDir)/jni_headers/testing/android/native_test/native_main_runner_jni &&  " +
34862         "mkdir -p $(genDir)/testing/android/native_test && $(location third_party/jni_zero/jni_zero.py) from-source " +
34863         "--output-dir " +
34864         "$(genDir)/testing/android/native_test/native_main_runner_jni " +
34865         "--extra-include " +
34866         "third_party/jni_zero/jni_zero_internal.h " +
34867         "--srcjar-path " +
34868         "$(genDir)/testing/android/native_test/native_main_runner_jni.srcjar " +
34869         "--placeholder-srcjar-path " +
34870         "$(genDir)/testing/android/native_test/native_main_runner_jni_placeholder.srcjar " +
34871         "--use-proxy-hash " +
34872         "--output-name " +
34873         "MainRunner_jni.h " +
34874         "--input-file " +
34875         "$(location testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java)",
34876    out: [
34877        "testing/android/native_test/native_main_runner_jni.srcjar",
34878        "testing/android/native_test/native_main_runner_jni/MainRunner_jni.h",
34879    ],
34880    tool_files: [
34881        "third_party/jni_zero/codegen/called_by_native_header.py",
34882        "third_party/jni_zero/codegen/convert_type.py",
34883        "third_party/jni_zero/codegen/header_common.py",
34884        "third_party/jni_zero/codegen/natives_header.py",
34885        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
34886        "third_party/jni_zero/codegen/placeholder_java_type.py",
34887        "third_party/jni_zero/codegen/proxy_impl_java.py",
34888        "third_party/jni_zero/common.py",
34889        "third_party/jni_zero/java_lang_classes.py",
34890        "third_party/jni_zero/java_types.py",
34891        "third_party/jni_zero/jni_generator.py",
34892        "third_party/jni_zero/jni_registration_generator.py",
34893        "third_party/jni_zero/jni_zero.py",
34894        "third_party/jni_zero/parse.py",
34895        "third_party/jni_zero/proxy.py",
34896    ],
34897    apex_available: [
34898        "com.android.tethering",
34899    ],
34900}
34901
34902// GN: //testing/android/native_test:native_main_runner_jni__action__testing
34903java_genrule {
34904    name: "cronet_aml_testing_android_native_test_native_main_runner_jni__action__testing__java",
34905    srcs: [
34906        "testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java",
34907    ],
34908    cmd: "mkdir -p $(genDir)/jni_headers/testing/android/native_test/native_main_runner_jni &&  " +
34909         "mkdir -p $(genDir)/testing/android/native_test && $(location third_party/jni_zero/jni_zero.py) from-source " +
34910         "--output-dir " +
34911         "$(genDir)/testing/android/native_test/native_main_runner_jni " +
34912         "--extra-include " +
34913         "third_party/jni_zero/jni_zero_internal.h " +
34914         "--srcjar-path " +
34915         "$(genDir)/testing/android/native_test/native_main_runner_jni.srcjar " +
34916         "--placeholder-srcjar-path " +
34917         "$(genDir)/testing/android/native_test/native_main_runner_jni_placeholder.srcjar " +
34918         "--use-proxy-hash " +
34919         "--output-name " +
34920         "MainRunner_jni.h " +
34921         "--input-file " +
34922         "$(location testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java)",
34923    out: [
34924        "testing/android/native_test/native_main_runner_jni.srcjar",
34925        "testing/android/native_test/native_main_runner_jni/MainRunner_jni.h",
34926    ],
34927    tool_files: [
34928        "third_party/jni_zero/codegen/called_by_native_header.py",
34929        "third_party/jni_zero/codegen/convert_type.py",
34930        "third_party/jni_zero/codegen/header_common.py",
34931        "third_party/jni_zero/codegen/natives_header.py",
34932        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
34933        "third_party/jni_zero/codegen/placeholder_java_type.py",
34934        "third_party/jni_zero/codegen/proxy_impl_java.py",
34935        "third_party/jni_zero/common.py",
34936        "third_party/jni_zero/java_lang_classes.py",
34937        "third_party/jni_zero/java_types.py",
34938        "third_party/jni_zero/jni_generator.py",
34939        "third_party/jni_zero/jni_registration_generator.py",
34940        "third_party/jni_zero/jni_zero.py",
34941        "third_party/jni_zero/parse.py",
34942        "third_party/jni_zero/proxy.py",
34943    ],
34944}
34945
34946// GN: //testing/android/native_test:native_test_java__testing
34947java_library {
34948    name: "cronet_aml_testing_android_native_test_native_test_java__testing",
34949    srcs: [
34950        ":cronet_aml_testing_android_native_test_native_test_jni__action__testing__java",
34951        "testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java",
34952        "testing/android/native_test/java/src/org/chromium/native_test/NativeTestApplication.java",
34953        "testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTest.java",
34954        "testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestActivity.java",
34955        "testing/android/native_test/java/src/org/chromium/native_test/NativeUnitTestNativeActivity.java",
34956    ],
34957    static_libs: [
34958        "cronet_aml_base_base_java__testing",
34959        "cronet_aml_base_base_java_test_support__testing",
34960        "cronet_aml_build_android_build_java__testing",
34961        "cronet_aml_build_android_gtest_apk_native_test_instrumentation_test_runner_java__testing",
34962        "cronet_aml_testing_android_native_test_native_main_runner_java__testing",
34963        "cronet_aml_testing_android_reporter_reporter_java__testing",
34964        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
34965    ],
34966    apex_available: [
34967        "com.android.tethering",
34968    ],
34969    min_sdk_version: "30",
34970    sdk_version: "current",
34971    visibility: [
34972        "//external/cronet:__subpackages__",
34973        "//packages/modules/Connectivity:__subpackages__",
34974    ],
34975    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
34976}
34977
34978// GN: //testing/android/native_test:native_test_jni__action__testing
34979cc_genrule {
34980    name: "cronet_aml_testing_android_native_test_native_test_jni__action__testing",
34981    srcs: [
34982        "testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java",
34983    ],
34984    cmd: "mkdir -p $(genDir)/jni_headers/testing/android/native_test/native_test_jni &&  " +
34985         "mkdir -p $(genDir)/testing/android/native_test && $(location third_party/jni_zero/jni_zero.py) from-source " +
34986         "--output-dir " +
34987         "$(genDir)/testing/android/native_test/native_test_jni " +
34988         "--extra-include " +
34989         "third_party/jni_zero/jni_zero_internal.h " +
34990         "--srcjar-path " +
34991         "$(genDir)/testing/android/native_test/native_test_jni.srcjar " +
34992         "--placeholder-srcjar-path " +
34993         "$(genDir)/testing/android/native_test/native_test_jni_placeholder.srcjar " +
34994         "--use-proxy-hash " +
34995         "--output-name " +
34996         "NativeTest_jni.h " +
34997         "--input-file " +
34998         "$(location testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java)",
34999    out: [
35000        "testing/android/native_test/native_test_jni.srcjar",
35001        "testing/android/native_test/native_test_jni/NativeTest_jni.h",
35002    ],
35003    tool_files: [
35004        "third_party/jni_zero/codegen/called_by_native_header.py",
35005        "third_party/jni_zero/codegen/convert_type.py",
35006        "third_party/jni_zero/codegen/header_common.py",
35007        "third_party/jni_zero/codegen/natives_header.py",
35008        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
35009        "third_party/jni_zero/codegen/placeholder_java_type.py",
35010        "third_party/jni_zero/codegen/proxy_impl_java.py",
35011        "third_party/jni_zero/common.py",
35012        "third_party/jni_zero/java_lang_classes.py",
35013        "third_party/jni_zero/java_types.py",
35014        "third_party/jni_zero/jni_generator.py",
35015        "third_party/jni_zero/jni_registration_generator.py",
35016        "third_party/jni_zero/jni_zero.py",
35017        "third_party/jni_zero/parse.py",
35018        "third_party/jni_zero/proxy.py",
35019    ],
35020    apex_available: [
35021        "com.android.tethering",
35022    ],
35023}
35024
35025// GN: //testing/android/native_test:native_test_jni__action__testing
35026java_genrule {
35027    name: "cronet_aml_testing_android_native_test_native_test_jni__action__testing__java",
35028    srcs: [
35029        "testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java",
35030    ],
35031    cmd: "mkdir -p $(genDir)/jni_headers/testing/android/native_test/native_test_jni &&  " +
35032         "mkdir -p $(genDir)/testing/android/native_test && $(location third_party/jni_zero/jni_zero.py) from-source " +
35033         "--output-dir " +
35034         "$(genDir)/testing/android/native_test/native_test_jni " +
35035         "--extra-include " +
35036         "third_party/jni_zero/jni_zero_internal.h " +
35037         "--srcjar-path " +
35038         "$(genDir)/testing/android/native_test/native_test_jni.srcjar " +
35039         "--placeholder-srcjar-path " +
35040         "$(genDir)/testing/android/native_test/native_test_jni_placeholder.srcjar " +
35041         "--use-proxy-hash " +
35042         "--output-name " +
35043         "NativeTest_jni.h " +
35044         "--input-file " +
35045         "$(location testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java)",
35046    out: [
35047        "testing/android/native_test/native_test_jni.srcjar",
35048        "testing/android/native_test/native_test_jni/NativeTest_jni.h",
35049    ],
35050    tool_files: [
35051        "third_party/jni_zero/codegen/called_by_native_header.py",
35052        "third_party/jni_zero/codegen/convert_type.py",
35053        "third_party/jni_zero/codegen/header_common.py",
35054        "third_party/jni_zero/codegen/natives_header.py",
35055        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
35056        "third_party/jni_zero/codegen/placeholder_java_type.py",
35057        "third_party/jni_zero/codegen/proxy_impl_java.py",
35058        "third_party/jni_zero/common.py",
35059        "third_party/jni_zero/java_lang_classes.py",
35060        "third_party/jni_zero/java_types.py",
35061        "third_party/jni_zero/jni_generator.py",
35062        "third_party/jni_zero/jni_registration_generator.py",
35063        "third_party/jni_zero/jni_zero.py",
35064        "third_party/jni_zero/parse.py",
35065        "third_party/jni_zero/proxy.py",
35066    ],
35067}
35068
35069// GN: //testing/android/native_test:native_test_native_code__testing
35070cc_library_static {
35071    name: "cronet_aml_testing_android_native_test_native_test_native_code__testing",
35072    srcs: [
35073        "testing/android/native_test/native_test_jni_onload.cc",
35074    ],
35075    shared_libs: [
35076        "libandroid",
35077        "liblog",
35078        "libz",
35079    ],
35080    generated_headers: [
35081        "cronet_aml_base_allocator_buildflags__testing",
35082        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
35083        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
35084        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
35085        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
35086        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
35087        "cronet_aml_base_anchor_functions_buildflags__testing",
35088        "cronet_aml_base_build_date__testing",
35089        "cronet_aml_base_cfi_buildflags__testing",
35090        "cronet_aml_base_check_version_internal_action__testing",
35091        "cronet_aml_base_clang_profiling_buildflags__testing",
35092        "cronet_aml_base_debugging_buildflags__testing",
35093        "cronet_aml_base_feature_list_buildflags__testing",
35094        "cronet_aml_base_fuzzing_buildflags__testing",
35095        "cronet_aml_base_ios_cronet_buildflags__testing",
35096        "cronet_aml_base_logging_buildflags__testing",
35097        "cronet_aml_base_message_pump_buildflags__testing",
35098        "cronet_aml_base_orderfile_buildflags__testing",
35099        "cronet_aml_base_power_monitor_buildflags__testing",
35100        "cronet_aml_base_profiler_buildflags__testing",
35101        "cronet_aml_base_protected_memory_buildflags__testing",
35102        "cronet_aml_base_rust_buildflags__testing",
35103        "cronet_aml_base_sanitizer_buildflags__testing",
35104        "cronet_aml_base_synchronization_buildflags__testing",
35105        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
35106        "cronet_aml_base_test_test_support_jni_headers__action__testing",
35107        "cronet_aml_base_tracing_buildflags__testing",
35108        "cronet_aml_build_blink_buildflags__testing",
35109        "cronet_aml_build_branding_buildflags__testing",
35110        "cronet_aml_build_chromecast_buildflags__testing",
35111        "cronet_aml_build_chromeos_buildflags__testing",
35112        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
35113        "cronet_aml_build_ios_buildflags__testing",
35114        "cronet_aml_testing_android_native_test_native_main_runner_jni__action__testing",
35115        "cronet_aml_testing_android_native_test_native_test_jni__action__testing",
35116    ],
35117    export_generated_headers: [
35118        "cronet_aml_base_allocator_buildflags__testing",
35119        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
35120        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
35121        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
35122        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
35123        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
35124        "cronet_aml_base_anchor_functions_buildflags__testing",
35125        "cronet_aml_base_build_date__testing",
35126        "cronet_aml_base_cfi_buildflags__testing",
35127        "cronet_aml_base_check_version_internal_action__testing",
35128        "cronet_aml_base_clang_profiling_buildflags__testing",
35129        "cronet_aml_base_debugging_buildflags__testing",
35130        "cronet_aml_base_feature_list_buildflags__testing",
35131        "cronet_aml_base_fuzzing_buildflags__testing",
35132        "cronet_aml_base_ios_cronet_buildflags__testing",
35133        "cronet_aml_base_logging_buildflags__testing",
35134        "cronet_aml_base_message_pump_buildflags__testing",
35135        "cronet_aml_base_orderfile_buildflags__testing",
35136        "cronet_aml_base_power_monitor_buildflags__testing",
35137        "cronet_aml_base_profiler_buildflags__testing",
35138        "cronet_aml_base_protected_memory_buildflags__testing",
35139        "cronet_aml_base_rust_buildflags__testing",
35140        "cronet_aml_base_sanitizer_buildflags__testing",
35141        "cronet_aml_base_synchronization_buildflags__testing",
35142        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
35143        "cronet_aml_base_test_test_support_jni_headers__action__testing",
35144        "cronet_aml_base_tracing_buildflags__testing",
35145        "cronet_aml_build_blink_buildflags__testing",
35146        "cronet_aml_build_branding_buildflags__testing",
35147        "cronet_aml_build_chromecast_buildflags__testing",
35148        "cronet_aml_build_chromeos_buildflags__testing",
35149        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
35150        "cronet_aml_build_ios_buildflags__testing",
35151        "cronet_aml_testing_android_native_test_native_main_runner_jni__action__testing",
35152        "cronet_aml_testing_android_native_test_native_test_jni__action__testing",
35153    ],
35154    defaults: [
35155        "cronet_aml_cc_defaults",
35156    ],
35157    cflags: [
35158        "-DANDROID",
35159        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35160        "-DBENCHMARK_STATIC_DEFINE",
35161        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
35162        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
35163        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
35164        "-DHAVE_SYS_UIO_H",
35165        "-DNDEBUG",
35166        "-DNO_UNWIND_TABLES",
35167        "-DNVALGRIND",
35168        "-DOFFICIAL_BUILD",
35169        "-D_GNU_SOURCE",
35170        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
35171        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
35172        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
35173        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35174        "-D__STDC_CONSTANT_MACROS",
35175        "-D__STDC_FORMAT_MACROS",
35176        "-fdata-sections",
35177        "-ffunction-sections",
35178        "-fno-asynchronous-unwind-tables",
35179        "-fno-unwind-tables",
35180        "-fstack-protector",
35181        "-fvisibility-inlines-hidden",
35182        "-fvisibility=hidden",
35183        "-g1",
35184    ],
35185    local_include_dirs: [
35186        "./",
35187        "base/allocator/partition_allocator/src/",
35188        "buildtools/third_party/libc++/",
35189        "third_party/abseil-cpp/",
35190        "third_party/boringssl/src/include/",
35191        "third_party/google_benchmark/src/include/",
35192        "third_party/libc++/src/include",
35193        "third_party/libc++abi/src/include",
35194    ],
35195    cpp_std: "c++20",
35196    ldflags: [
35197        "-Wl,--as-needed",
35198        "-Wl,--gc-sections",
35199        "-Wl,--icf=all",
35200        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
35201        "-Wl,-wrap,asprintf",
35202        "-Wl,-wrap,calloc",
35203        "-Wl,-wrap,free",
35204        "-Wl,-wrap,getcwd",
35205        "-Wl,-wrap,malloc",
35206        "-Wl,-wrap,malloc_usable_size",
35207        "-Wl,-wrap,memalign",
35208        "-Wl,-wrap,posix_memalign",
35209        "-Wl,-wrap,pvalloc",
35210        "-Wl,-wrap,realloc",
35211        "-Wl,-wrap,realpath",
35212        "-Wl,-wrap,strdup",
35213        "-Wl,-wrap,strndup",
35214        "-Wl,-wrap,valloc",
35215        "-Wl,-wrap,vasprintf",
35216    ],
35217    target: {
35218        android_arm: {
35219            cflags: [
35220                "-D_FORTIFY_SOURCE=2",
35221            ],
35222        },
35223        android_arm64: {
35224            cflags: [
35225                "-D_FORTIFY_SOURCE=2",
35226                "-O2",
35227                "-mno-outline",
35228            ],
35229        },
35230        android_x86: {
35231            cflags: [
35232                "-D_FORTIFY_SOURCE=2",
35233                "-msse3",
35234            ],
35235        },
35236        android_x86_64: {
35237            cflags: [
35238                "-D_FORTIFY_SOURCE=2",
35239                "-msse3",
35240            ],
35241        },
35242    },
35243}
35244
35245// GN: //testing/android/native_test:native_test_support__testing
35246cc_library_static {
35247    name: "cronet_aml_testing_android_native_test_native_test_support__testing",
35248    srcs: [
35249        "testing/android/native_test/main_runner.cc",
35250        "testing/android/native_test/native_test_launcher.cc",
35251        "testing/android/native_test/native_test_util.cc",
35252    ],
35253    shared_libs: [
35254        "libandroid",
35255        "liblog",
35256        "libz",
35257    ],
35258    generated_headers: [
35259        "cronet_aml_base_allocator_buildflags__testing",
35260        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
35261        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
35262        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
35263        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
35264        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
35265        "cronet_aml_base_anchor_functions_buildflags__testing",
35266        "cronet_aml_base_build_date__testing",
35267        "cronet_aml_base_cfi_buildflags__testing",
35268        "cronet_aml_base_check_version_internal_action__testing",
35269        "cronet_aml_base_clang_profiling_buildflags__testing",
35270        "cronet_aml_base_debugging_buildflags__testing",
35271        "cronet_aml_base_feature_list_buildflags__testing",
35272        "cronet_aml_base_fuzzing_buildflags__testing",
35273        "cronet_aml_base_ios_cronet_buildflags__testing",
35274        "cronet_aml_base_logging_buildflags__testing",
35275        "cronet_aml_base_message_pump_buildflags__testing",
35276        "cronet_aml_base_orderfile_buildflags__testing",
35277        "cronet_aml_base_power_monitor_buildflags__testing",
35278        "cronet_aml_base_profiler_buildflags__testing",
35279        "cronet_aml_base_protected_memory_buildflags__testing",
35280        "cronet_aml_base_rust_buildflags__testing",
35281        "cronet_aml_base_sanitizer_buildflags__testing",
35282        "cronet_aml_base_synchronization_buildflags__testing",
35283        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
35284        "cronet_aml_base_test_test_support_jni_headers__action__testing",
35285        "cronet_aml_base_tracing_buildflags__testing",
35286        "cronet_aml_build_blink_buildflags__testing",
35287        "cronet_aml_build_branding_buildflags__testing",
35288        "cronet_aml_build_chromecast_buildflags__testing",
35289        "cronet_aml_build_chromeos_buildflags__testing",
35290        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
35291        "cronet_aml_build_ios_buildflags__testing",
35292        "cronet_aml_testing_android_native_test_native_main_runner_jni__action__testing",
35293        "cronet_aml_testing_android_native_test_native_test_jni__action__testing",
35294    ],
35295    export_generated_headers: [
35296        "cronet_aml_base_allocator_buildflags__testing",
35297        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
35298        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
35299        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
35300        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
35301        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
35302        "cronet_aml_base_anchor_functions_buildflags__testing",
35303        "cronet_aml_base_build_date__testing",
35304        "cronet_aml_base_cfi_buildflags__testing",
35305        "cronet_aml_base_check_version_internal_action__testing",
35306        "cronet_aml_base_clang_profiling_buildflags__testing",
35307        "cronet_aml_base_debugging_buildflags__testing",
35308        "cronet_aml_base_feature_list_buildflags__testing",
35309        "cronet_aml_base_fuzzing_buildflags__testing",
35310        "cronet_aml_base_ios_cronet_buildflags__testing",
35311        "cronet_aml_base_logging_buildflags__testing",
35312        "cronet_aml_base_message_pump_buildflags__testing",
35313        "cronet_aml_base_orderfile_buildflags__testing",
35314        "cronet_aml_base_power_monitor_buildflags__testing",
35315        "cronet_aml_base_profiler_buildflags__testing",
35316        "cronet_aml_base_protected_memory_buildflags__testing",
35317        "cronet_aml_base_rust_buildflags__testing",
35318        "cronet_aml_base_sanitizer_buildflags__testing",
35319        "cronet_aml_base_synchronization_buildflags__testing",
35320        "cronet_aml_base_test_base_unittests_jni_headers__action__testing",
35321        "cronet_aml_base_test_test_support_jni_headers__action__testing",
35322        "cronet_aml_base_tracing_buildflags__testing",
35323        "cronet_aml_build_blink_buildflags__testing",
35324        "cronet_aml_build_branding_buildflags__testing",
35325        "cronet_aml_build_chromecast_buildflags__testing",
35326        "cronet_aml_build_chromeos_buildflags__testing",
35327        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
35328        "cronet_aml_build_ios_buildflags__testing",
35329        "cronet_aml_testing_android_native_test_native_main_runner_jni__action__testing",
35330        "cronet_aml_testing_android_native_test_native_test_jni__action__testing",
35331    ],
35332    defaults: [
35333        "cronet_aml_cc_defaults",
35334    ],
35335    cflags: [
35336        "-DANDROID",
35337        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35338        "-DBENCHMARK_STATIC_DEFINE",
35339        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
35340        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
35341        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
35342        "-DGTEST_API_=",
35343        "-DGTEST_HAS_ABSL",
35344        "-DGTEST_HAS_POSIX_RE=0",
35345        "-DGTEST_HAS_TR1_TUPLE=0",
35346        "-DGTEST_LANG_CXX11=1",
35347        "-DGTEST_NO_ABSL_FLAGS",
35348        "-DHAVE_SYS_UIO_H",
35349        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
35350        "-DNDEBUG",
35351        "-DNO_UNWIND_TABLES",
35352        "-DNVALGRIND",
35353        "-DOFFICIAL_BUILD",
35354        "-DUNIT_TEST",
35355        "-DUSE_CHROMIUM_ICU=1",
35356        "-DU_ENABLE_DYLOAD=0",
35357        "-DU_ENABLE_RESOURCE_TRACING=0",
35358        "-DU_ENABLE_TRACING=1",
35359        "-DU_STATIC_IMPLEMENTATION",
35360        "-DU_USING_ICU_NAMESPACE=0",
35361        "-D_GNU_SOURCE",
35362        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
35363        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
35364        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
35365        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35366        "-D__STDC_CONSTANT_MACROS",
35367        "-D__STDC_FORMAT_MACROS",
35368        "-fdata-sections",
35369        "-ffunction-sections",
35370        "-fno-asynchronous-unwind-tables",
35371        "-fno-unwind-tables",
35372        "-fstack-protector",
35373        "-fvisibility-inlines-hidden",
35374        "-fvisibility=hidden",
35375        "-g1",
35376    ],
35377    local_include_dirs: [
35378        "./",
35379        "base/allocator/partition_allocator/src/",
35380        "buildtools/third_party/libc++/",
35381        "third_party/abseil-cpp/",
35382        "third_party/boringssl/src/include/",
35383        "third_party/ced/src/",
35384        "third_party/google_benchmark/src/include/",
35385        "third_party/googletest/custom/",
35386        "third_party/googletest/src/googlemock/include/",
35387        "third_party/googletest/src/googletest/include/",
35388        "third_party/icu/source/common/",
35389        "third_party/icu/source/i18n/",
35390        "third_party/libc++/src/include",
35391        "third_party/libc++abi/src/include",
35392        "third_party/re2/src/",
35393    ],
35394    cpp_std: "c++20",
35395    ldflags: [
35396        "-Wl,--as-needed",
35397        "-Wl,--gc-sections",
35398        "-Wl,--icf=all",
35399        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
35400        "-Wl,-wrap,asprintf",
35401        "-Wl,-wrap,calloc",
35402        "-Wl,-wrap,free",
35403        "-Wl,-wrap,getcwd",
35404        "-Wl,-wrap,malloc",
35405        "-Wl,-wrap,malloc_usable_size",
35406        "-Wl,-wrap,memalign",
35407        "-Wl,-wrap,posix_memalign",
35408        "-Wl,-wrap,pvalloc",
35409        "-Wl,-wrap,realloc",
35410        "-Wl,-wrap,realpath",
35411        "-Wl,-wrap,strdup",
35412        "-Wl,-wrap,strndup",
35413        "-Wl,-wrap,valloc",
35414        "-Wl,-wrap,vasprintf",
35415    ],
35416    target: {
35417        android_arm: {
35418            cflags: [
35419                "-D_FORTIFY_SOURCE=2",
35420            ],
35421        },
35422        android_arm64: {
35423            cflags: [
35424                "-D_FORTIFY_SOURCE=2",
35425                "-O2",
35426                "-mno-outline",
35427            ],
35428        },
35429        android_x86: {
35430            cflags: [
35431                "-D_FORTIFY_SOURCE=2",
35432                "-msse3",
35433            ],
35434        },
35435        android_x86_64: {
35436            cflags: [
35437                "-D_FORTIFY_SOURCE=2",
35438                "-msse3",
35439            ],
35440        },
35441    },
35442}
35443
35444// GN: //testing/android/reporter:reporter_java__testing
35445java_library {
35446    name: "cronet_aml_testing_android_reporter_reporter_java__testing",
35447    srcs: [
35448        "testing/android/reporter/java/src/org/chromium/test/reporter/TestStatusReporter.java",
35449    ],
35450    static_libs: [
35451        "cronet_aml_build_android_gtest_apk_native_test_instrumentation_test_runner_java__testing",
35452    ],
35453    apex_available: [
35454        "com.android.tethering",
35455    ],
35456    min_sdk_version: "30",
35457    sdk_version: "current",
35458    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
35459}
35460
35461// GN: //testing/gmock:gmock__testing
35462cc_library_static {
35463    name: "cronet_aml_testing_gmock_gmock__testing",
35464    shared_libs: [
35465        "libandroid",
35466        "liblog",
35467    ],
35468    generated_headers: [
35469        "cronet_aml_base_allocator_buildflags__testing",
35470        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
35471        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
35472        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
35473        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
35474        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
35475        "cronet_aml_base_anchor_functions_buildflags__testing",
35476        "cronet_aml_base_build_date__testing",
35477        "cronet_aml_base_cfi_buildflags__testing",
35478        "cronet_aml_base_check_version_internal_action__testing",
35479        "cronet_aml_base_clang_profiling_buildflags__testing",
35480        "cronet_aml_base_debugging_buildflags__testing",
35481        "cronet_aml_base_feature_list_buildflags__testing",
35482        "cronet_aml_base_fuzzing_buildflags__testing",
35483        "cronet_aml_base_ios_cronet_buildflags__testing",
35484        "cronet_aml_base_logging_buildflags__testing",
35485        "cronet_aml_base_message_pump_buildflags__testing",
35486        "cronet_aml_base_orderfile_buildflags__testing",
35487        "cronet_aml_base_power_monitor_buildflags__testing",
35488        "cronet_aml_base_profiler_buildflags__testing",
35489        "cronet_aml_base_protected_memory_buildflags__testing",
35490        "cronet_aml_base_rust_buildflags__testing",
35491        "cronet_aml_base_sanitizer_buildflags__testing",
35492        "cronet_aml_base_synchronization_buildflags__testing",
35493        "cronet_aml_base_tracing_buildflags__testing",
35494        "cronet_aml_build_blink_buildflags__testing",
35495        "cronet_aml_build_branding_buildflags__testing",
35496        "cronet_aml_build_chromecast_buildflags__testing",
35497        "cronet_aml_build_chromeos_buildflags__testing",
35498        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
35499        "cronet_aml_build_ios_buildflags__testing",
35500    ],
35501    export_generated_headers: [
35502        "cronet_aml_base_allocator_buildflags__testing",
35503        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
35504        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
35505        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
35506        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
35507        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
35508        "cronet_aml_base_anchor_functions_buildflags__testing",
35509        "cronet_aml_base_build_date__testing",
35510        "cronet_aml_base_cfi_buildflags__testing",
35511        "cronet_aml_base_check_version_internal_action__testing",
35512        "cronet_aml_base_clang_profiling_buildflags__testing",
35513        "cronet_aml_base_debugging_buildflags__testing",
35514        "cronet_aml_base_feature_list_buildflags__testing",
35515        "cronet_aml_base_fuzzing_buildflags__testing",
35516        "cronet_aml_base_ios_cronet_buildflags__testing",
35517        "cronet_aml_base_logging_buildflags__testing",
35518        "cronet_aml_base_message_pump_buildflags__testing",
35519        "cronet_aml_base_orderfile_buildflags__testing",
35520        "cronet_aml_base_power_monitor_buildflags__testing",
35521        "cronet_aml_base_profiler_buildflags__testing",
35522        "cronet_aml_base_protected_memory_buildflags__testing",
35523        "cronet_aml_base_rust_buildflags__testing",
35524        "cronet_aml_base_sanitizer_buildflags__testing",
35525        "cronet_aml_base_synchronization_buildflags__testing",
35526        "cronet_aml_base_tracing_buildflags__testing",
35527        "cronet_aml_build_blink_buildflags__testing",
35528        "cronet_aml_build_branding_buildflags__testing",
35529        "cronet_aml_build_chromecast_buildflags__testing",
35530        "cronet_aml_build_chromeos_buildflags__testing",
35531        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
35532        "cronet_aml_build_ios_buildflags__testing",
35533    ],
35534    defaults: [
35535        "cronet_aml_cc_defaults",
35536    ],
35537    cflags: [
35538        "-DANDROID",
35539        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35540        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
35541        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
35542        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
35543        "-DGTEST_API_=",
35544        "-DGTEST_HAS_ABSL",
35545        "-DGTEST_HAS_POSIX_RE=0",
35546        "-DGTEST_HAS_TR1_TUPLE=0",
35547        "-DGTEST_LANG_CXX11=1",
35548        "-DGTEST_NO_ABSL_FLAGS",
35549        "-DHAVE_SYS_UIO_H",
35550        "-DNDEBUG",
35551        "-DNO_UNWIND_TABLES",
35552        "-DNVALGRIND",
35553        "-DOFFICIAL_BUILD",
35554        "-D_GNU_SOURCE",
35555        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
35556        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
35557        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
35558        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35559        "-D__STDC_CONSTANT_MACROS",
35560        "-D__STDC_FORMAT_MACROS",
35561        "-fdata-sections",
35562        "-ffunction-sections",
35563        "-fno-asynchronous-unwind-tables",
35564        "-fno-unwind-tables",
35565        "-fstack-protector",
35566        "-fvisibility-inlines-hidden",
35567        "-fvisibility=hidden",
35568        "-g1",
35569    ],
35570    local_include_dirs: [
35571        "./",
35572        "buildtools/third_party/libc++/",
35573        "third_party/abseil-cpp/",
35574        "third_party/googletest/custom/",
35575        "third_party/googletest/src/googlemock/include/",
35576        "third_party/googletest/src/googletest/include/",
35577        "third_party/libc++/src/include",
35578        "third_party/libc++abi/src/include",
35579        "third_party/re2/src/",
35580    ],
35581    cpp_std: "c++20",
35582    ldflags: [
35583        "-Wl,--as-needed",
35584        "-Wl,--gc-sections",
35585        "-Wl,--icf=all",
35586        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
35587        "-Wl,-wrap,asprintf",
35588        "-Wl,-wrap,calloc",
35589        "-Wl,-wrap,free",
35590        "-Wl,-wrap,getcwd",
35591        "-Wl,-wrap,malloc",
35592        "-Wl,-wrap,malloc_usable_size",
35593        "-Wl,-wrap,memalign",
35594        "-Wl,-wrap,posix_memalign",
35595        "-Wl,-wrap,pvalloc",
35596        "-Wl,-wrap,realloc",
35597        "-Wl,-wrap,realpath",
35598        "-Wl,-wrap,strdup",
35599        "-Wl,-wrap,strndup",
35600        "-Wl,-wrap,valloc",
35601        "-Wl,-wrap,vasprintf",
35602    ],
35603    target: {
35604        android_arm: {
35605            cflags: [
35606                "-D_FORTIFY_SOURCE=2",
35607            ],
35608        },
35609        android_arm64: {
35610            cflags: [
35611                "-D_FORTIFY_SOURCE=2",
35612                "-O2",
35613                "-mno-outline",
35614            ],
35615        },
35616        android_x86: {
35617            cflags: [
35618                "-D_FORTIFY_SOURCE=2",
35619                "-msse3",
35620            ],
35621        },
35622        android_x86_64: {
35623            cflags: [
35624                "-D_FORTIFY_SOURCE=2",
35625                "-msse3",
35626            ],
35627        },
35628    },
35629}
35630
35631// GN: //testing/gtest:gtest__testing
35632cc_library_static {
35633    name: "cronet_aml_testing_gtest_gtest__testing",
35634    srcs: [
35635        "testing/gtest/empty.cc",
35636        "testing/multiprocess_func_list.cc",
35637    ],
35638    shared_libs: [
35639        "libandroid",
35640        "liblog",
35641    ],
35642    generated_headers: [
35643        "cronet_aml_base_allocator_buildflags__testing",
35644        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
35645        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
35646        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
35647        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
35648        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
35649        "cronet_aml_base_anchor_functions_buildflags__testing",
35650        "cronet_aml_base_build_date__testing",
35651        "cronet_aml_base_cfi_buildflags__testing",
35652        "cronet_aml_base_check_version_internal_action__testing",
35653        "cronet_aml_base_clang_profiling_buildflags__testing",
35654        "cronet_aml_base_debugging_buildflags__testing",
35655        "cronet_aml_base_feature_list_buildflags__testing",
35656        "cronet_aml_base_fuzzing_buildflags__testing",
35657        "cronet_aml_base_ios_cronet_buildflags__testing",
35658        "cronet_aml_base_logging_buildflags__testing",
35659        "cronet_aml_base_message_pump_buildflags__testing",
35660        "cronet_aml_base_orderfile_buildflags__testing",
35661        "cronet_aml_base_power_monitor_buildflags__testing",
35662        "cronet_aml_base_profiler_buildflags__testing",
35663        "cronet_aml_base_protected_memory_buildflags__testing",
35664        "cronet_aml_base_rust_buildflags__testing",
35665        "cronet_aml_base_sanitizer_buildflags__testing",
35666        "cronet_aml_base_synchronization_buildflags__testing",
35667        "cronet_aml_base_tracing_buildflags__testing",
35668        "cronet_aml_build_blink_buildflags__testing",
35669        "cronet_aml_build_branding_buildflags__testing",
35670        "cronet_aml_build_chromecast_buildflags__testing",
35671        "cronet_aml_build_chromeos_buildflags__testing",
35672        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
35673        "cronet_aml_build_ios_buildflags__testing",
35674    ],
35675    export_generated_headers: [
35676        "cronet_aml_base_allocator_buildflags__testing",
35677        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
35678        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
35679        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
35680        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
35681        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
35682        "cronet_aml_base_anchor_functions_buildflags__testing",
35683        "cronet_aml_base_build_date__testing",
35684        "cronet_aml_base_cfi_buildflags__testing",
35685        "cronet_aml_base_check_version_internal_action__testing",
35686        "cronet_aml_base_clang_profiling_buildflags__testing",
35687        "cronet_aml_base_debugging_buildflags__testing",
35688        "cronet_aml_base_feature_list_buildflags__testing",
35689        "cronet_aml_base_fuzzing_buildflags__testing",
35690        "cronet_aml_base_ios_cronet_buildflags__testing",
35691        "cronet_aml_base_logging_buildflags__testing",
35692        "cronet_aml_base_message_pump_buildflags__testing",
35693        "cronet_aml_base_orderfile_buildflags__testing",
35694        "cronet_aml_base_power_monitor_buildflags__testing",
35695        "cronet_aml_base_profiler_buildflags__testing",
35696        "cronet_aml_base_protected_memory_buildflags__testing",
35697        "cronet_aml_base_rust_buildflags__testing",
35698        "cronet_aml_base_sanitizer_buildflags__testing",
35699        "cronet_aml_base_synchronization_buildflags__testing",
35700        "cronet_aml_base_tracing_buildflags__testing",
35701        "cronet_aml_build_blink_buildflags__testing",
35702        "cronet_aml_build_branding_buildflags__testing",
35703        "cronet_aml_build_chromecast_buildflags__testing",
35704        "cronet_aml_build_chromeos_buildflags__testing",
35705        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
35706        "cronet_aml_build_ios_buildflags__testing",
35707    ],
35708    defaults: [
35709        "cronet_aml_cc_defaults",
35710    ],
35711    cflags: [
35712        "-DANDROID",
35713        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35714        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
35715        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
35716        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
35717        "-DGTEST_API_=",
35718        "-DGTEST_HAS_ABSL",
35719        "-DGTEST_HAS_POSIX_RE=0",
35720        "-DGTEST_HAS_TR1_TUPLE=0",
35721        "-DGTEST_LANG_CXX11=1",
35722        "-DGTEST_NO_ABSL_FLAGS",
35723        "-DHAVE_SYS_UIO_H",
35724        "-DNDEBUG",
35725        "-DNO_UNWIND_TABLES",
35726        "-DNVALGRIND",
35727        "-DOFFICIAL_BUILD",
35728        "-DUNIT_TEST",
35729        "-D_GNU_SOURCE",
35730        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
35731        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
35732        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
35733        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35734        "-D__STDC_CONSTANT_MACROS",
35735        "-D__STDC_FORMAT_MACROS",
35736        "-fdata-sections",
35737        "-ffunction-sections",
35738        "-fno-asynchronous-unwind-tables",
35739        "-fno-unwind-tables",
35740        "-fstack-protector",
35741        "-fvisibility-inlines-hidden",
35742        "-fvisibility=hidden",
35743        "-g1",
35744    ],
35745    local_include_dirs: [
35746        "./",
35747        "buildtools/third_party/libc++/",
35748        "third_party/abseil-cpp/",
35749        "third_party/googletest/custom/",
35750        "third_party/googletest/src/googletest/include/",
35751        "third_party/libc++/src/include",
35752        "third_party/libc++abi/src/include",
35753        "third_party/re2/src/",
35754    ],
35755    cpp_std: "c++20",
35756    ldflags: [
35757        "-Wl,--as-needed",
35758        "-Wl,--gc-sections",
35759        "-Wl,--icf=all",
35760        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
35761        "-Wl,-wrap,asprintf",
35762        "-Wl,-wrap,calloc",
35763        "-Wl,-wrap,free",
35764        "-Wl,-wrap,getcwd",
35765        "-Wl,-wrap,malloc",
35766        "-Wl,-wrap,malloc_usable_size",
35767        "-Wl,-wrap,memalign",
35768        "-Wl,-wrap,posix_memalign",
35769        "-Wl,-wrap,pvalloc",
35770        "-Wl,-wrap,realloc",
35771        "-Wl,-wrap,realpath",
35772        "-Wl,-wrap,strdup",
35773        "-Wl,-wrap,strndup",
35774        "-Wl,-wrap,valloc",
35775        "-Wl,-wrap,vasprintf",
35776    ],
35777    target: {
35778        android_arm: {
35779            cflags: [
35780                "-D_FORTIFY_SOURCE=2",
35781            ],
35782        },
35783        android_arm64: {
35784            cflags: [
35785                "-D_FORTIFY_SOURCE=2",
35786                "-O2",
35787                "-mno-outline",
35788            ],
35789        },
35790        android_x86: {
35791            cflags: [
35792                "-D_FORTIFY_SOURCE=2",
35793                "-msse3",
35794            ],
35795        },
35796        android_x86_64: {
35797            cflags: [
35798                "-D_FORTIFY_SOURCE=2",
35799                "-msse3",
35800            ],
35801        },
35802    },
35803}
35804
35805// GN: //third_party/abseil-cpp:absl
35806cc_library_static {
35807    name: "cronet_aml_third_party_abseil_cpp_absl",
35808    shared_libs: [
35809        "liblog",
35810    ],
35811    generated_headers: [
35812        "cronet_aml_build_chromeos_buildflags",
35813    ],
35814    export_generated_headers: [
35815        "cronet_aml_build_chromeos_buildflags",
35816    ],
35817    defaults: [
35818        "cronet_aml_cc_defaults",
35819    ],
35820    cflags: [
35821        "-DANDROID",
35822        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35823        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
35824        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
35825        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
35826        "-DHAVE_SYS_UIO_H",
35827        "-DNDEBUG",
35828        "-DNO_UNWIND_TABLES",
35829        "-DNVALGRIND",
35830        "-DOFFICIAL_BUILD",
35831        "-D_GNU_SOURCE",
35832        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
35833        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
35834        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
35835        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35836        "-D__STDC_CONSTANT_MACROS",
35837        "-D__STDC_FORMAT_MACROS",
35838        "-fdata-sections",
35839        "-ffunction-sections",
35840        "-fno-asynchronous-unwind-tables",
35841        "-fno-unwind-tables",
35842        "-fstack-protector",
35843        "-fvisibility-inlines-hidden",
35844        "-fvisibility=hidden",
35845        "-g1",
35846    ],
35847    local_include_dirs: [
35848        "./",
35849        "buildtools/third_party/libc++/",
35850        "third_party/abseil-cpp/",
35851        "third_party/libc++/src/include",
35852        "third_party/libc++abi/src/include",
35853    ],
35854    cpp_std: "c++20",
35855    ldflags: [
35856        "-Wl,--as-needed",
35857        "-Wl,--gc-sections",
35858        "-Wl,--icf=all",
35859    ],
35860    target: {
35861        android_arm: {
35862            cflags: [
35863                "-D_FORTIFY_SOURCE=2",
35864            ],
35865        },
35866        android_arm64: {
35867            cflags: [
35868                "-D_FORTIFY_SOURCE=2",
35869                "-O2",
35870                "-mno-outline",
35871            ],
35872        },
35873        android_x86: {
35874            cflags: [
35875                "-D_FORTIFY_SOURCE=2",
35876                "-msse3",
35877            ],
35878        },
35879        android_x86_64: {
35880            cflags: [
35881                "-D_FORTIFY_SOURCE=2",
35882                "-msse3",
35883            ],
35884        },
35885    },
35886}
35887
35888// GN: //third_party/abseil-cpp:absl__testing
35889cc_library_static {
35890    name: "cronet_aml_third_party_abseil_cpp_absl__testing",
35891    host_supported: true,
35892    generated_headers: [
35893        "cronet_aml_build_chromeos_buildflags__testing",
35894    ],
35895    export_generated_headers: [
35896        "cronet_aml_build_chromeos_buildflags__testing",
35897    ],
35898    defaults: [
35899        "cronet_aml_cc_defaults",
35900    ],
35901    cflags: [
35902        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
35903        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
35904        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
35905        "-DNDEBUG",
35906        "-DNO_UNWIND_TABLES",
35907        "-DNVALGRIND",
35908        "-DOFFICIAL_BUILD",
35909        "-D_GNU_SOURCE",
35910        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
35911        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
35912        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
35913        "-D__STDC_CONSTANT_MACROS",
35914        "-D__STDC_FORMAT_MACROS",
35915        "-fdata-sections",
35916        "-ffunction-sections",
35917        "-fno-asynchronous-unwind-tables",
35918        "-fno-unwind-tables",
35919        "-fstack-protector",
35920        "-fvisibility-inlines-hidden",
35921        "-fvisibility=hidden",
35922        "-g1",
35923    ],
35924    local_include_dirs: [
35925        "./",
35926        "buildtools/third_party/libc++/",
35927        "third_party/abseil-cpp/",
35928        "third_party/libc++/src/include",
35929        "third_party/libc++abi/src/include",
35930    ],
35931    cpp_std: "c++20",
35932    ldflags: [
35933        "-Wl,--as-needed",
35934        "-Wl,--gc-sections",
35935        "-Wl,--icf=all",
35936    ],
35937    target: {
35938        android: {
35939            shared_libs: [
35940                "liblog",
35941            ],
35942        },
35943        android_arm: {
35944            cflags: [
35945                "-DANDROID",
35946                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35947                "-DHAVE_SYS_UIO_H",
35948                "-D_FORTIFY_SOURCE=2",
35949                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35950            ],
35951        },
35952        android_arm64: {
35953            cflags: [
35954                "-DANDROID",
35955                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35956                "-DHAVE_SYS_UIO_H",
35957                "-D_FORTIFY_SOURCE=2",
35958                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35959                "-O2",
35960                "-mno-outline",
35961            ],
35962        },
35963        android_riscv64: {
35964            cflags: [
35965                "-DANDROID",
35966                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35967                "-DHAVE_SYS_UIO_H",
35968                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35969            ],
35970        },
35971        android_x86: {
35972            cflags: [
35973                "-DANDROID",
35974                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35975                "-DHAVE_SYS_UIO_H",
35976                "-D_FORTIFY_SOURCE=2",
35977                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35978                "-msse3",
35979            ],
35980        },
35981        android_x86_64: {
35982            cflags: [
35983                "-DANDROID",
35984                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
35985                "-DHAVE_SYS_UIO_H",
35986                "-D_FORTIFY_SOURCE=2",
35987                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
35988                "-msse3",
35989            ],
35990        },
35991        host: {
35992            cflags: [
35993                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
35994                "-DUSE_AURA=1",
35995                "-DUSE_OZONE=1",
35996                "-DUSE_UDEV",
35997                "-D_FILE_OFFSET_BITS=64",
35998                "-D_FORTIFY_SOURCE=2",
35999                "-D_LARGEFILE64_SOURCE",
36000                "-D_LARGEFILE_SOURCE",
36001                "-O2",
36002                "-msse3",
36003            ],
36004            compile_multilib: "64",
36005        },
36006    },
36007}
36008
36009// GN: //third_party/abseil-cpp/absl/base:base
36010cc_library_static {
36011    name: "cronet_aml_third_party_abseil_cpp_absl_base_base",
36012    srcs: [
36013        "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
36014        "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
36015        "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
36016        "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
36017        "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
36018    ],
36019    defaults: [
36020        "cronet_aml_cc_defaults",
36021    ],
36022    cflags: [
36023        "-DABSL_ALLOCATOR_NOTHROW=1",
36024        "-DANDROID",
36025        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36026        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36027        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36028        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36029        "-DHAVE_SYS_UIO_H",
36030        "-DNDEBUG",
36031        "-DNO_UNWIND_TABLES",
36032        "-DNVALGRIND",
36033        "-DOFFICIAL_BUILD",
36034        "-D_GNU_SOURCE",
36035        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36036        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36037        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36038        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36039        "-fdata-sections",
36040        "-ffunction-sections",
36041        "-fno-asynchronous-unwind-tables",
36042        "-fno-unwind-tables",
36043        "-fstack-protector",
36044        "-fvisibility-inlines-hidden",
36045        "-fvisibility=hidden",
36046        "-g1",
36047    ],
36048    local_include_dirs: [
36049        "./",
36050        "buildtools/third_party/libc++/",
36051        "third_party/abseil-cpp/",
36052        "third_party/libc++/src/include",
36053        "third_party/libc++abi/src/include",
36054    ],
36055    cpp_std: "c++20",
36056    ldflags: [
36057        "-Wl,--as-needed",
36058        "-Wl,--gc-sections",
36059        "-Wl,--icf=all",
36060    ],
36061    target: {
36062        android_arm64: {
36063            cflags: [
36064                "-O2",
36065                "-mno-outline",
36066            ],
36067        },
36068        android_x86: {
36069            cflags: [
36070                "-msse3",
36071            ],
36072        },
36073        android_x86_64: {
36074            cflags: [
36075                "-msse3",
36076            ],
36077        },
36078    },
36079}
36080
36081// GN: //third_party/abseil-cpp/absl/base:base__testing
36082cc_library_static {
36083    name: "cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
36084    srcs: [
36085        "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
36086        "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
36087        "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
36088        "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
36089        "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
36090    ],
36091    host_supported: true,
36092    defaults: [
36093        "cronet_aml_cc_defaults",
36094    ],
36095    cflags: [
36096        "-DABSL_ALLOCATOR_NOTHROW=1",
36097        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36098        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36099        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36100        "-DNDEBUG",
36101        "-DNO_UNWIND_TABLES",
36102        "-DNVALGRIND",
36103        "-DOFFICIAL_BUILD",
36104        "-D_GNU_SOURCE",
36105        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36106        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36107        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36108        "-fdata-sections",
36109        "-ffunction-sections",
36110        "-fno-asynchronous-unwind-tables",
36111        "-fno-unwind-tables",
36112        "-fstack-protector",
36113        "-fvisibility-inlines-hidden",
36114        "-fvisibility=hidden",
36115        "-g1",
36116    ],
36117    local_include_dirs: [
36118        "./",
36119        "buildtools/third_party/libc++/",
36120        "third_party/abseil-cpp/",
36121        "third_party/libc++/src/include",
36122        "third_party/libc++abi/src/include",
36123    ],
36124    cpp_std: "c++20",
36125    ldflags: [
36126        "-Wl,--as-needed",
36127        "-Wl,--gc-sections",
36128        "-Wl,--icf=all",
36129    ],
36130    target: {
36131        android_arm: {
36132            cflags: [
36133                "-DANDROID",
36134                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36135                "-DHAVE_SYS_UIO_H",
36136                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36137            ],
36138        },
36139        android_arm64: {
36140            cflags: [
36141                "-DANDROID",
36142                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36143                "-DHAVE_SYS_UIO_H",
36144                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36145                "-O2",
36146                "-mno-outline",
36147            ],
36148        },
36149        android_riscv64: {
36150            cflags: [
36151                "-DANDROID",
36152                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36153                "-DHAVE_SYS_UIO_H",
36154                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36155            ],
36156        },
36157        android_x86: {
36158            cflags: [
36159                "-DANDROID",
36160                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36161                "-DHAVE_SYS_UIO_H",
36162                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36163                "-msse3",
36164            ],
36165        },
36166        android_x86_64: {
36167            cflags: [
36168                "-DANDROID",
36169                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36170                "-DHAVE_SYS_UIO_H",
36171                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36172                "-msse3",
36173            ],
36174        },
36175        host: {
36176            cflags: [
36177                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
36178                "-DUSE_AURA=1",
36179                "-DUSE_OZONE=1",
36180                "-DUSE_UDEV",
36181                "-D_FILE_OFFSET_BITS=64",
36182                "-D_LARGEFILE64_SOURCE",
36183                "-D_LARGEFILE_SOURCE",
36184                "-O2",
36185                "-msse3",
36186            ],
36187            compile_multilib: "64",
36188        },
36189    },
36190}
36191
36192// GN: //third_party/abseil-cpp/absl/base:log_severity
36193cc_library_static {
36194    name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
36195    srcs: [
36196        "third_party/abseil-cpp/absl/base/log_severity.cc",
36197    ],
36198    defaults: [
36199        "cronet_aml_cc_defaults",
36200    ],
36201    cflags: [
36202        "-DABSL_ALLOCATOR_NOTHROW=1",
36203        "-DANDROID",
36204        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36205        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36206        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36207        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36208        "-DHAVE_SYS_UIO_H",
36209        "-DNDEBUG",
36210        "-DNO_UNWIND_TABLES",
36211        "-DNVALGRIND",
36212        "-DOFFICIAL_BUILD",
36213        "-D_GNU_SOURCE",
36214        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36215        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36216        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36217        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36218        "-fdata-sections",
36219        "-ffunction-sections",
36220        "-fno-asynchronous-unwind-tables",
36221        "-fno-unwind-tables",
36222        "-fstack-protector",
36223        "-fvisibility-inlines-hidden",
36224        "-fvisibility=hidden",
36225        "-g1",
36226    ],
36227    local_include_dirs: [
36228        "./",
36229        "buildtools/third_party/libc++/",
36230        "third_party/abseil-cpp/",
36231        "third_party/libc++/src/include",
36232        "third_party/libc++abi/src/include",
36233    ],
36234    cpp_std: "c++20",
36235    ldflags: [
36236        "-Wl,--as-needed",
36237        "-Wl,--gc-sections",
36238        "-Wl,--icf=all",
36239    ],
36240    target: {
36241        android_arm64: {
36242            cflags: [
36243                "-O2",
36244                "-mno-outline",
36245            ],
36246        },
36247        android_x86: {
36248            cflags: [
36249                "-msse3",
36250            ],
36251        },
36252        android_x86_64: {
36253            cflags: [
36254                "-msse3",
36255            ],
36256        },
36257    },
36258}
36259
36260// GN: //third_party/abseil-cpp/absl/base:log_severity__testing
36261cc_library_static {
36262    name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
36263    srcs: [
36264        "third_party/abseil-cpp/absl/base/log_severity.cc",
36265    ],
36266    host_supported: true,
36267    defaults: [
36268        "cronet_aml_cc_defaults",
36269    ],
36270    cflags: [
36271        "-DABSL_ALLOCATOR_NOTHROW=1",
36272        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36273        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36274        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36275        "-DNDEBUG",
36276        "-DNO_UNWIND_TABLES",
36277        "-DNVALGRIND",
36278        "-DOFFICIAL_BUILD",
36279        "-D_GNU_SOURCE",
36280        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36281        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36282        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36283        "-fdata-sections",
36284        "-ffunction-sections",
36285        "-fno-asynchronous-unwind-tables",
36286        "-fno-unwind-tables",
36287        "-fstack-protector",
36288        "-fvisibility-inlines-hidden",
36289        "-fvisibility=hidden",
36290        "-g1",
36291    ],
36292    local_include_dirs: [
36293        "./",
36294        "buildtools/third_party/libc++/",
36295        "third_party/abseil-cpp/",
36296        "third_party/libc++/src/include",
36297        "third_party/libc++abi/src/include",
36298    ],
36299    cpp_std: "c++20",
36300    ldflags: [
36301        "-Wl,--as-needed",
36302        "-Wl,--gc-sections",
36303        "-Wl,--icf=all",
36304    ],
36305    target: {
36306        android_arm: {
36307            cflags: [
36308                "-DANDROID",
36309                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36310                "-DHAVE_SYS_UIO_H",
36311                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36312            ],
36313        },
36314        android_arm64: {
36315            cflags: [
36316                "-DANDROID",
36317                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36318                "-DHAVE_SYS_UIO_H",
36319                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36320                "-O2",
36321                "-mno-outline",
36322            ],
36323        },
36324        android_riscv64: {
36325            cflags: [
36326                "-DANDROID",
36327                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36328                "-DHAVE_SYS_UIO_H",
36329                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36330            ],
36331        },
36332        android_x86: {
36333            cflags: [
36334                "-DANDROID",
36335                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36336                "-DHAVE_SYS_UIO_H",
36337                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36338                "-msse3",
36339            ],
36340        },
36341        android_x86_64: {
36342            cflags: [
36343                "-DANDROID",
36344                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36345                "-DHAVE_SYS_UIO_H",
36346                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36347                "-msse3",
36348            ],
36349        },
36350        host: {
36351            cflags: [
36352                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
36353                "-DUSE_AURA=1",
36354                "-DUSE_OZONE=1",
36355                "-DUSE_UDEV",
36356                "-D_FILE_OFFSET_BITS=64",
36357                "-D_LARGEFILE64_SOURCE",
36358                "-D_LARGEFILE_SOURCE",
36359                "-O2",
36360                "-msse3",
36361            ],
36362            compile_multilib: "64",
36363        },
36364    },
36365}
36366
36367// GN: //third_party/abseil-cpp/absl/base:malloc_internal
36368cc_library_static {
36369    name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
36370    srcs: [
36371        "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
36372    ],
36373    defaults: [
36374        "cronet_aml_cc_defaults",
36375    ],
36376    cflags: [
36377        "-DABSL_ALLOCATOR_NOTHROW=1",
36378        "-DANDROID",
36379        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36380        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36381        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36382        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36383        "-DHAVE_SYS_UIO_H",
36384        "-DNDEBUG",
36385        "-DNO_UNWIND_TABLES",
36386        "-DNVALGRIND",
36387        "-DOFFICIAL_BUILD",
36388        "-D_GNU_SOURCE",
36389        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36390        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36391        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36392        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36393        "-fdata-sections",
36394        "-ffunction-sections",
36395        "-fno-asynchronous-unwind-tables",
36396        "-fno-unwind-tables",
36397        "-fstack-protector",
36398        "-fvisibility-inlines-hidden",
36399        "-fvisibility=hidden",
36400        "-g1",
36401    ],
36402    local_include_dirs: [
36403        "./",
36404        "buildtools/third_party/libc++/",
36405        "third_party/abseil-cpp/",
36406        "third_party/libc++/src/include",
36407        "third_party/libc++abi/src/include",
36408    ],
36409    cpp_std: "c++20",
36410    ldflags: [
36411        "-Wl,--as-needed",
36412        "-Wl,--gc-sections",
36413        "-Wl,--icf=all",
36414    ],
36415    target: {
36416        android_arm64: {
36417            cflags: [
36418                "-O2",
36419                "-mno-outline",
36420            ],
36421        },
36422        android_x86: {
36423            cflags: [
36424                "-msse3",
36425            ],
36426        },
36427        android_x86_64: {
36428            cflags: [
36429                "-msse3",
36430            ],
36431        },
36432    },
36433}
36434
36435// GN: //third_party/abseil-cpp/absl/base:malloc_internal__testing
36436cc_library_static {
36437    name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
36438    srcs: [
36439        "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
36440    ],
36441    host_supported: true,
36442    defaults: [
36443        "cronet_aml_cc_defaults",
36444    ],
36445    cflags: [
36446        "-DABSL_ALLOCATOR_NOTHROW=1",
36447        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36448        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36449        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36450        "-DNDEBUG",
36451        "-DNO_UNWIND_TABLES",
36452        "-DNVALGRIND",
36453        "-DOFFICIAL_BUILD",
36454        "-D_GNU_SOURCE",
36455        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36456        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36457        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36458        "-fdata-sections",
36459        "-ffunction-sections",
36460        "-fno-asynchronous-unwind-tables",
36461        "-fno-unwind-tables",
36462        "-fstack-protector",
36463        "-fvisibility-inlines-hidden",
36464        "-fvisibility=hidden",
36465        "-g1",
36466    ],
36467    local_include_dirs: [
36468        "./",
36469        "buildtools/third_party/libc++/",
36470        "third_party/abseil-cpp/",
36471        "third_party/libc++/src/include",
36472        "third_party/libc++abi/src/include",
36473    ],
36474    cpp_std: "c++20",
36475    ldflags: [
36476        "-Wl,--as-needed",
36477        "-Wl,--gc-sections",
36478        "-Wl,--icf=all",
36479    ],
36480    target: {
36481        android_arm: {
36482            cflags: [
36483                "-DANDROID",
36484                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36485                "-DHAVE_SYS_UIO_H",
36486                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36487            ],
36488        },
36489        android_arm64: {
36490            cflags: [
36491                "-DANDROID",
36492                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36493                "-DHAVE_SYS_UIO_H",
36494                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36495                "-O2",
36496                "-mno-outline",
36497            ],
36498        },
36499        android_riscv64: {
36500            cflags: [
36501                "-DANDROID",
36502                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36503                "-DHAVE_SYS_UIO_H",
36504                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36505            ],
36506        },
36507        android_x86: {
36508            cflags: [
36509                "-DANDROID",
36510                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36511                "-DHAVE_SYS_UIO_H",
36512                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36513                "-msse3",
36514            ],
36515        },
36516        android_x86_64: {
36517            cflags: [
36518                "-DANDROID",
36519                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36520                "-DHAVE_SYS_UIO_H",
36521                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36522                "-msse3",
36523            ],
36524        },
36525        host: {
36526            cflags: [
36527                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
36528                "-DUSE_AURA=1",
36529                "-DUSE_OZONE=1",
36530                "-DUSE_UDEV",
36531                "-D_FILE_OFFSET_BITS=64",
36532                "-D_LARGEFILE64_SOURCE",
36533                "-D_LARGEFILE_SOURCE",
36534                "-O2",
36535                "-msse3",
36536            ],
36537            compile_multilib: "64",
36538        },
36539    },
36540}
36541
36542// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal
36543cc_library_static {
36544    name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
36545    srcs: [
36546        "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
36547    ],
36548    defaults: [
36549        "cronet_aml_cc_defaults",
36550    ],
36551    cflags: [
36552        "-DABSL_ALLOCATOR_NOTHROW=1",
36553        "-DANDROID",
36554        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36555        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36556        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36557        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36558        "-DHAVE_SYS_UIO_H",
36559        "-DNDEBUG",
36560        "-DNO_UNWIND_TABLES",
36561        "-DNVALGRIND",
36562        "-DOFFICIAL_BUILD",
36563        "-D_GNU_SOURCE",
36564        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36565        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36566        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36567        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36568        "-fdata-sections",
36569        "-ffunction-sections",
36570        "-fno-asynchronous-unwind-tables",
36571        "-fno-unwind-tables",
36572        "-fstack-protector",
36573        "-fvisibility-inlines-hidden",
36574        "-fvisibility=hidden",
36575        "-g1",
36576    ],
36577    local_include_dirs: [
36578        "./",
36579        "buildtools/third_party/libc++/",
36580        "third_party/abseil-cpp/",
36581        "third_party/libc++/src/include",
36582        "third_party/libc++abi/src/include",
36583    ],
36584    cpp_std: "c++20",
36585    ldflags: [
36586        "-Wl,--as-needed",
36587        "-Wl,--gc-sections",
36588        "-Wl,--icf=all",
36589    ],
36590    target: {
36591        android_arm64: {
36592            cflags: [
36593                "-O2",
36594                "-mno-outline",
36595            ],
36596        },
36597        android_x86: {
36598            cflags: [
36599                "-msse3",
36600            ],
36601        },
36602        android_x86_64: {
36603            cflags: [
36604                "-msse3",
36605            ],
36606        },
36607    },
36608}
36609
36610// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal__testing
36611cc_library_static {
36612    name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
36613    srcs: [
36614        "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
36615    ],
36616    host_supported: true,
36617    defaults: [
36618        "cronet_aml_cc_defaults",
36619    ],
36620    cflags: [
36621        "-DABSL_ALLOCATOR_NOTHROW=1",
36622        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36623        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36624        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36625        "-DNDEBUG",
36626        "-DNO_UNWIND_TABLES",
36627        "-DNVALGRIND",
36628        "-DOFFICIAL_BUILD",
36629        "-D_GNU_SOURCE",
36630        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36631        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36632        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36633        "-fdata-sections",
36634        "-ffunction-sections",
36635        "-fno-asynchronous-unwind-tables",
36636        "-fno-unwind-tables",
36637        "-fstack-protector",
36638        "-fvisibility-inlines-hidden",
36639        "-fvisibility=hidden",
36640        "-g1",
36641    ],
36642    local_include_dirs: [
36643        "./",
36644        "buildtools/third_party/libc++/",
36645        "third_party/abseil-cpp/",
36646        "third_party/libc++/src/include",
36647        "third_party/libc++abi/src/include",
36648    ],
36649    cpp_std: "c++20",
36650    ldflags: [
36651        "-Wl,--as-needed",
36652        "-Wl,--gc-sections",
36653        "-Wl,--icf=all",
36654    ],
36655    target: {
36656        android_arm: {
36657            cflags: [
36658                "-DANDROID",
36659                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36660                "-DHAVE_SYS_UIO_H",
36661                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36662            ],
36663        },
36664        android_arm64: {
36665            cflags: [
36666                "-DANDROID",
36667                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36668                "-DHAVE_SYS_UIO_H",
36669                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36670                "-O2",
36671                "-mno-outline",
36672            ],
36673        },
36674        android_riscv64: {
36675            cflags: [
36676                "-DANDROID",
36677                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36678                "-DHAVE_SYS_UIO_H",
36679                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36680            ],
36681        },
36682        android_x86: {
36683            cflags: [
36684                "-DANDROID",
36685                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36686                "-DHAVE_SYS_UIO_H",
36687                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36688                "-msse3",
36689            ],
36690        },
36691        android_x86_64: {
36692            cflags: [
36693                "-DANDROID",
36694                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36695                "-DHAVE_SYS_UIO_H",
36696                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36697                "-msse3",
36698            ],
36699        },
36700        host: {
36701            cflags: [
36702                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
36703                "-DUSE_AURA=1",
36704                "-DUSE_OZONE=1",
36705                "-DUSE_UDEV",
36706                "-D_FILE_OFFSET_BITS=64",
36707                "-D_LARGEFILE64_SOURCE",
36708                "-D_LARGEFILE_SOURCE",
36709                "-O2",
36710                "-msse3",
36711            ],
36712            compile_multilib: "64",
36713        },
36714    },
36715}
36716
36717// GN: //third_party/abseil-cpp/absl/base:spinlock_wait
36718cc_library_static {
36719    name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
36720    srcs: [
36721        "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
36722    ],
36723    defaults: [
36724        "cronet_aml_cc_defaults",
36725    ],
36726    cflags: [
36727        "-DABSL_ALLOCATOR_NOTHROW=1",
36728        "-DANDROID",
36729        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36730        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36731        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36732        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36733        "-DHAVE_SYS_UIO_H",
36734        "-DNDEBUG",
36735        "-DNO_UNWIND_TABLES",
36736        "-DNVALGRIND",
36737        "-DOFFICIAL_BUILD",
36738        "-D_GNU_SOURCE",
36739        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36740        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36741        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36742        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36743        "-fdata-sections",
36744        "-ffunction-sections",
36745        "-fno-asynchronous-unwind-tables",
36746        "-fno-unwind-tables",
36747        "-fstack-protector",
36748        "-fvisibility-inlines-hidden",
36749        "-fvisibility=hidden",
36750        "-g1",
36751    ],
36752    local_include_dirs: [
36753        "./",
36754        "buildtools/third_party/libc++/",
36755        "third_party/abseil-cpp/",
36756        "third_party/libc++/src/include",
36757        "third_party/libc++abi/src/include",
36758    ],
36759    cpp_std: "c++20",
36760    ldflags: [
36761        "-Wl,--as-needed",
36762        "-Wl,--gc-sections",
36763        "-Wl,--icf=all",
36764    ],
36765    target: {
36766        android_arm64: {
36767            cflags: [
36768                "-O2",
36769                "-mno-outline",
36770            ],
36771        },
36772        android_x86: {
36773            cflags: [
36774                "-msse3",
36775            ],
36776        },
36777        android_x86_64: {
36778            cflags: [
36779                "-msse3",
36780            ],
36781        },
36782    },
36783}
36784
36785// GN: //third_party/abseil-cpp/absl/base:spinlock_wait__testing
36786cc_library_static {
36787    name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
36788    srcs: [
36789        "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
36790    ],
36791    host_supported: true,
36792    defaults: [
36793        "cronet_aml_cc_defaults",
36794    ],
36795    cflags: [
36796        "-DABSL_ALLOCATOR_NOTHROW=1",
36797        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36798        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36799        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36800        "-DNDEBUG",
36801        "-DNO_UNWIND_TABLES",
36802        "-DNVALGRIND",
36803        "-DOFFICIAL_BUILD",
36804        "-D_GNU_SOURCE",
36805        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36806        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36807        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36808        "-fdata-sections",
36809        "-ffunction-sections",
36810        "-fno-asynchronous-unwind-tables",
36811        "-fno-unwind-tables",
36812        "-fstack-protector",
36813        "-fvisibility-inlines-hidden",
36814        "-fvisibility=hidden",
36815        "-g1",
36816    ],
36817    local_include_dirs: [
36818        "./",
36819        "buildtools/third_party/libc++/",
36820        "third_party/abseil-cpp/",
36821        "third_party/libc++/src/include",
36822        "third_party/libc++abi/src/include",
36823    ],
36824    cpp_std: "c++20",
36825    ldflags: [
36826        "-Wl,--as-needed",
36827        "-Wl,--gc-sections",
36828        "-Wl,--icf=all",
36829    ],
36830    target: {
36831        android_arm: {
36832            cflags: [
36833                "-DANDROID",
36834                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36835                "-DHAVE_SYS_UIO_H",
36836                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36837            ],
36838        },
36839        android_arm64: {
36840            cflags: [
36841                "-DANDROID",
36842                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36843                "-DHAVE_SYS_UIO_H",
36844                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36845                "-O2",
36846                "-mno-outline",
36847            ],
36848        },
36849        android_riscv64: {
36850            cflags: [
36851                "-DANDROID",
36852                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36853                "-DHAVE_SYS_UIO_H",
36854                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36855            ],
36856        },
36857        android_x86: {
36858            cflags: [
36859                "-DANDROID",
36860                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36861                "-DHAVE_SYS_UIO_H",
36862                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36863                "-msse3",
36864            ],
36865        },
36866        android_x86_64: {
36867            cflags: [
36868                "-DANDROID",
36869                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36870                "-DHAVE_SYS_UIO_H",
36871                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36872                "-msse3",
36873            ],
36874        },
36875        host: {
36876            cflags: [
36877                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
36878                "-DUSE_AURA=1",
36879                "-DUSE_OZONE=1",
36880                "-DUSE_UDEV",
36881                "-D_FILE_OFFSET_BITS=64",
36882                "-D_LARGEFILE64_SOURCE",
36883                "-D_LARGEFILE_SOURCE",
36884                "-O2",
36885                "-msse3",
36886            ],
36887            compile_multilib: "64",
36888        },
36889    },
36890}
36891
36892// GN: //third_party/abseil-cpp/absl/base:strerror
36893cc_library_static {
36894    name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror",
36895    srcs: [
36896        "third_party/abseil-cpp/absl/base/internal/strerror.cc",
36897    ],
36898    defaults: [
36899        "cronet_aml_cc_defaults",
36900    ],
36901    cflags: [
36902        "-DABSL_ALLOCATOR_NOTHROW=1",
36903        "-DANDROID",
36904        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
36905        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36906        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36907        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36908        "-DHAVE_SYS_UIO_H",
36909        "-DNDEBUG",
36910        "-DNO_UNWIND_TABLES",
36911        "-DNVALGRIND",
36912        "-DOFFICIAL_BUILD",
36913        "-D_GNU_SOURCE",
36914        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36915        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36916        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36917        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
36918        "-fdata-sections",
36919        "-ffunction-sections",
36920        "-fno-asynchronous-unwind-tables",
36921        "-fno-unwind-tables",
36922        "-fstack-protector",
36923        "-fvisibility-inlines-hidden",
36924        "-fvisibility=hidden",
36925        "-g1",
36926    ],
36927    local_include_dirs: [
36928        "./",
36929        "buildtools/third_party/libc++/",
36930        "third_party/abseil-cpp/",
36931        "third_party/libc++/src/include",
36932        "third_party/libc++abi/src/include",
36933    ],
36934    cpp_std: "c++20",
36935    ldflags: [
36936        "-Wl,--as-needed",
36937        "-Wl,--gc-sections",
36938        "-Wl,--icf=all",
36939    ],
36940    target: {
36941        android_arm64: {
36942            cflags: [
36943                "-O2",
36944                "-mno-outline",
36945            ],
36946        },
36947        android_x86: {
36948            cflags: [
36949                "-msse3",
36950            ],
36951        },
36952        android_x86_64: {
36953            cflags: [
36954                "-msse3",
36955            ],
36956        },
36957    },
36958}
36959
36960// GN: //third_party/abseil-cpp/absl/base:strerror__testing
36961cc_library_static {
36962    name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
36963    srcs: [
36964        "third_party/abseil-cpp/absl/base/internal/strerror.cc",
36965    ],
36966    host_supported: true,
36967    defaults: [
36968        "cronet_aml_cc_defaults",
36969    ],
36970    cflags: [
36971        "-DABSL_ALLOCATOR_NOTHROW=1",
36972        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
36973        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
36974        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
36975        "-DNDEBUG",
36976        "-DNO_UNWIND_TABLES",
36977        "-DNVALGRIND",
36978        "-DOFFICIAL_BUILD",
36979        "-D_GNU_SOURCE",
36980        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
36981        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
36982        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
36983        "-fdata-sections",
36984        "-ffunction-sections",
36985        "-fno-asynchronous-unwind-tables",
36986        "-fno-unwind-tables",
36987        "-fstack-protector",
36988        "-fvisibility-inlines-hidden",
36989        "-fvisibility=hidden",
36990        "-g1",
36991    ],
36992    local_include_dirs: [
36993        "./",
36994        "buildtools/third_party/libc++/",
36995        "third_party/abseil-cpp/",
36996        "third_party/libc++/src/include",
36997        "third_party/libc++abi/src/include",
36998    ],
36999    cpp_std: "c++20",
37000    ldflags: [
37001        "-Wl,--as-needed",
37002        "-Wl,--gc-sections",
37003        "-Wl,--icf=all",
37004    ],
37005    target: {
37006        android_arm: {
37007            cflags: [
37008                "-DANDROID",
37009                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37010                "-DHAVE_SYS_UIO_H",
37011                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37012            ],
37013        },
37014        android_arm64: {
37015            cflags: [
37016                "-DANDROID",
37017                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37018                "-DHAVE_SYS_UIO_H",
37019                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37020                "-O2",
37021                "-mno-outline",
37022            ],
37023        },
37024        android_riscv64: {
37025            cflags: [
37026                "-DANDROID",
37027                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37028                "-DHAVE_SYS_UIO_H",
37029                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37030            ],
37031        },
37032        android_x86: {
37033            cflags: [
37034                "-DANDROID",
37035                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37036                "-DHAVE_SYS_UIO_H",
37037                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37038                "-msse3",
37039            ],
37040        },
37041        android_x86_64: {
37042            cflags: [
37043                "-DANDROID",
37044                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37045                "-DHAVE_SYS_UIO_H",
37046                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37047                "-msse3",
37048            ],
37049        },
37050        host: {
37051            cflags: [
37052                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
37053                "-DUSE_AURA=1",
37054                "-DUSE_OZONE=1",
37055                "-DUSE_UDEV",
37056                "-D_FILE_OFFSET_BITS=64",
37057                "-D_LARGEFILE64_SOURCE",
37058                "-D_LARGEFILE_SOURCE",
37059                "-O2",
37060                "-msse3",
37061            ],
37062            compile_multilib: "64",
37063        },
37064    },
37065}
37066
37067// GN: //third_party/abseil-cpp/absl/base:throw_delegate
37068cc_library_static {
37069    name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
37070    srcs: [
37071        "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
37072    ],
37073    defaults: [
37074        "cronet_aml_cc_defaults",
37075    ],
37076    cflags: [
37077        "-DABSL_ALLOCATOR_NOTHROW=1",
37078        "-DANDROID",
37079        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37080        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37081        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37082        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37083        "-DHAVE_SYS_UIO_H",
37084        "-DNDEBUG",
37085        "-DNO_UNWIND_TABLES",
37086        "-DNVALGRIND",
37087        "-DOFFICIAL_BUILD",
37088        "-D_GNU_SOURCE",
37089        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37090        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37091        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37092        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37093        "-fdata-sections",
37094        "-ffunction-sections",
37095        "-fno-asynchronous-unwind-tables",
37096        "-fno-unwind-tables",
37097        "-fstack-protector",
37098        "-fvisibility-inlines-hidden",
37099        "-fvisibility=hidden",
37100        "-g1",
37101    ],
37102    local_include_dirs: [
37103        "./",
37104        "buildtools/third_party/libc++/",
37105        "third_party/abseil-cpp/",
37106        "third_party/libc++/src/include",
37107        "third_party/libc++abi/src/include",
37108    ],
37109    cpp_std: "c++20",
37110    ldflags: [
37111        "-Wl,--as-needed",
37112        "-Wl,--gc-sections",
37113        "-Wl,--icf=all",
37114    ],
37115    target: {
37116        android_arm64: {
37117            cflags: [
37118                "-O2",
37119                "-mno-outline",
37120            ],
37121        },
37122        android_x86: {
37123            cflags: [
37124                "-msse3",
37125            ],
37126        },
37127        android_x86_64: {
37128            cflags: [
37129                "-msse3",
37130            ],
37131        },
37132    },
37133}
37134
37135// GN: //third_party/abseil-cpp/absl/base:throw_delegate__testing
37136cc_library_static {
37137    name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
37138    srcs: [
37139        "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
37140    ],
37141    host_supported: true,
37142    defaults: [
37143        "cronet_aml_cc_defaults",
37144    ],
37145    cflags: [
37146        "-DABSL_ALLOCATOR_NOTHROW=1",
37147        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37148        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37149        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37150        "-DNDEBUG",
37151        "-DNO_UNWIND_TABLES",
37152        "-DNVALGRIND",
37153        "-DOFFICIAL_BUILD",
37154        "-D_GNU_SOURCE",
37155        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37156        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37157        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37158        "-fdata-sections",
37159        "-ffunction-sections",
37160        "-fno-asynchronous-unwind-tables",
37161        "-fno-unwind-tables",
37162        "-fstack-protector",
37163        "-fvisibility-inlines-hidden",
37164        "-fvisibility=hidden",
37165        "-g1",
37166    ],
37167    local_include_dirs: [
37168        "./",
37169        "buildtools/third_party/libc++/",
37170        "third_party/abseil-cpp/",
37171        "third_party/libc++/src/include",
37172        "third_party/libc++abi/src/include",
37173    ],
37174    cpp_std: "c++20",
37175    ldflags: [
37176        "-Wl,--as-needed",
37177        "-Wl,--gc-sections",
37178        "-Wl,--icf=all",
37179    ],
37180    target: {
37181        android_arm: {
37182            cflags: [
37183                "-DANDROID",
37184                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37185                "-DHAVE_SYS_UIO_H",
37186                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37187            ],
37188        },
37189        android_arm64: {
37190            cflags: [
37191                "-DANDROID",
37192                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37193                "-DHAVE_SYS_UIO_H",
37194                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37195                "-O2",
37196                "-mno-outline",
37197            ],
37198        },
37199        android_riscv64: {
37200            cflags: [
37201                "-DANDROID",
37202                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37203                "-DHAVE_SYS_UIO_H",
37204                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37205            ],
37206        },
37207        android_x86: {
37208            cflags: [
37209                "-DANDROID",
37210                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37211                "-DHAVE_SYS_UIO_H",
37212                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37213                "-msse3",
37214            ],
37215        },
37216        android_x86_64: {
37217            cflags: [
37218                "-DANDROID",
37219                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37220                "-DHAVE_SYS_UIO_H",
37221                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37222                "-msse3",
37223            ],
37224        },
37225        host: {
37226            cflags: [
37227                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
37228                "-DUSE_AURA=1",
37229                "-DUSE_OZONE=1",
37230                "-DUSE_UDEV",
37231                "-D_FILE_OFFSET_BITS=64",
37232                "-D_LARGEFILE64_SOURCE",
37233                "-D_LARGEFILE_SOURCE",
37234                "-O2",
37235                "-msse3",
37236            ],
37237            compile_multilib: "64",
37238        },
37239    },
37240}
37241
37242// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler
37243cc_library_static {
37244    name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
37245    srcs: [
37246        "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
37247        "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
37248    ],
37249    defaults: [
37250        "cronet_aml_cc_defaults",
37251    ],
37252    cflags: [
37253        "-DABSL_ALLOCATOR_NOTHROW=1",
37254        "-DANDROID",
37255        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37256        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37257        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37258        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37259        "-DHAVE_SYS_UIO_H",
37260        "-DNDEBUG",
37261        "-DNO_UNWIND_TABLES",
37262        "-DNVALGRIND",
37263        "-DOFFICIAL_BUILD",
37264        "-D_GNU_SOURCE",
37265        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37266        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37267        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37268        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37269        "-fdata-sections",
37270        "-ffunction-sections",
37271        "-fno-asynchronous-unwind-tables",
37272        "-fno-unwind-tables",
37273        "-fstack-protector",
37274        "-fvisibility-inlines-hidden",
37275        "-fvisibility=hidden",
37276        "-g1",
37277    ],
37278    local_include_dirs: [
37279        "./",
37280        "buildtools/third_party/libc++/",
37281        "third_party/abseil-cpp/",
37282        "third_party/libc++/src/include",
37283        "third_party/libc++abi/src/include",
37284    ],
37285    cpp_std: "c++20",
37286    ldflags: [
37287        "-Wl,--as-needed",
37288        "-Wl,--gc-sections",
37289        "-Wl,--icf=all",
37290    ],
37291    target: {
37292        android_arm64: {
37293            cflags: [
37294                "-O2",
37295                "-mno-outline",
37296            ],
37297        },
37298        android_x86: {
37299            cflags: [
37300                "-msse3",
37301            ],
37302        },
37303        android_x86_64: {
37304            cflags: [
37305                "-msse3",
37306            ],
37307        },
37308    },
37309}
37310
37311// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler__testing
37312cc_library_static {
37313    name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
37314    srcs: [
37315        "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
37316        "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
37317    ],
37318    host_supported: true,
37319    defaults: [
37320        "cronet_aml_cc_defaults",
37321    ],
37322    cflags: [
37323        "-DABSL_ALLOCATOR_NOTHROW=1",
37324        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37325        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37326        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37327        "-DNDEBUG",
37328        "-DNO_UNWIND_TABLES",
37329        "-DNVALGRIND",
37330        "-DOFFICIAL_BUILD",
37331        "-D_GNU_SOURCE",
37332        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37333        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37334        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37335        "-fdata-sections",
37336        "-ffunction-sections",
37337        "-fno-asynchronous-unwind-tables",
37338        "-fno-unwind-tables",
37339        "-fstack-protector",
37340        "-fvisibility-inlines-hidden",
37341        "-fvisibility=hidden",
37342        "-g1",
37343    ],
37344    local_include_dirs: [
37345        "./",
37346        "buildtools/third_party/libc++/",
37347        "third_party/abseil-cpp/",
37348        "third_party/libc++/src/include",
37349        "third_party/libc++abi/src/include",
37350    ],
37351    cpp_std: "c++20",
37352    ldflags: [
37353        "-Wl,--as-needed",
37354        "-Wl,--gc-sections",
37355        "-Wl,--icf=all",
37356    ],
37357    target: {
37358        android_arm: {
37359            cflags: [
37360                "-DANDROID",
37361                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37362                "-DHAVE_SYS_UIO_H",
37363                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37364            ],
37365        },
37366        android_arm64: {
37367            cflags: [
37368                "-DANDROID",
37369                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37370                "-DHAVE_SYS_UIO_H",
37371                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37372                "-O2",
37373                "-mno-outline",
37374            ],
37375        },
37376        android_riscv64: {
37377            cflags: [
37378                "-DANDROID",
37379                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37380                "-DHAVE_SYS_UIO_H",
37381                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37382            ],
37383        },
37384        android_x86: {
37385            cflags: [
37386                "-DANDROID",
37387                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37388                "-DHAVE_SYS_UIO_H",
37389                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37390                "-msse3",
37391            ],
37392        },
37393        android_x86_64: {
37394            cflags: [
37395                "-DANDROID",
37396                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37397                "-DHAVE_SYS_UIO_H",
37398                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37399                "-msse3",
37400            ],
37401        },
37402        host: {
37403            cflags: [
37404                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
37405                "-DUSE_AURA=1",
37406                "-DUSE_OZONE=1",
37407                "-DUSE_UDEV",
37408                "-D_FILE_OFFSET_BITS=64",
37409                "-D_LARGEFILE64_SOURCE",
37410                "-D_LARGEFILE_SOURCE",
37411                "-O2",
37412                "-msse3",
37413            ],
37414            compile_multilib: "64",
37415        },
37416    },
37417}
37418
37419// GN: //third_party/abseil-cpp/absl/container:raw_hash_set
37420cc_library_static {
37421    name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
37422    srcs: [
37423        "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
37424    ],
37425    defaults: [
37426        "cronet_aml_cc_defaults",
37427    ],
37428    cflags: [
37429        "-DABSL_ALLOCATOR_NOTHROW=1",
37430        "-DANDROID",
37431        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37432        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37433        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37434        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37435        "-DHAVE_SYS_UIO_H",
37436        "-DNDEBUG",
37437        "-DNO_UNWIND_TABLES",
37438        "-DNVALGRIND",
37439        "-DOFFICIAL_BUILD",
37440        "-D_GNU_SOURCE",
37441        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37442        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37443        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37444        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37445        "-fdata-sections",
37446        "-ffunction-sections",
37447        "-fno-asynchronous-unwind-tables",
37448        "-fno-unwind-tables",
37449        "-fstack-protector",
37450        "-fvisibility-inlines-hidden",
37451        "-fvisibility=hidden",
37452        "-g1",
37453    ],
37454    local_include_dirs: [
37455        "./",
37456        "buildtools/third_party/libc++/",
37457        "third_party/abseil-cpp/",
37458        "third_party/libc++/src/include",
37459        "third_party/libc++abi/src/include",
37460    ],
37461    cpp_std: "c++20",
37462    ldflags: [
37463        "-Wl,--as-needed",
37464        "-Wl,--gc-sections",
37465        "-Wl,--icf=all",
37466    ],
37467    target: {
37468        android_arm64: {
37469            cflags: [
37470                "-O2",
37471                "-mno-outline",
37472            ],
37473        },
37474        android_x86: {
37475            cflags: [
37476                "-msse3",
37477            ],
37478        },
37479        android_x86_64: {
37480            cflags: [
37481                "-msse3",
37482            ],
37483        },
37484    },
37485}
37486
37487// GN: //third_party/abseil-cpp/absl/container:raw_hash_set__testing
37488cc_library_static {
37489    name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
37490    srcs: [
37491        "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
37492    ],
37493    host_supported: true,
37494    defaults: [
37495        "cronet_aml_cc_defaults",
37496    ],
37497    cflags: [
37498        "-DABSL_ALLOCATOR_NOTHROW=1",
37499        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37500        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37501        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37502        "-DNDEBUG",
37503        "-DNO_UNWIND_TABLES",
37504        "-DNVALGRIND",
37505        "-DOFFICIAL_BUILD",
37506        "-D_GNU_SOURCE",
37507        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37508        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37509        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37510        "-fdata-sections",
37511        "-ffunction-sections",
37512        "-fno-asynchronous-unwind-tables",
37513        "-fno-unwind-tables",
37514        "-fstack-protector",
37515        "-fvisibility-inlines-hidden",
37516        "-fvisibility=hidden",
37517        "-g1",
37518    ],
37519    local_include_dirs: [
37520        "./",
37521        "buildtools/third_party/libc++/",
37522        "third_party/abseil-cpp/",
37523        "third_party/libc++/src/include",
37524        "third_party/libc++abi/src/include",
37525    ],
37526    cpp_std: "c++20",
37527    ldflags: [
37528        "-Wl,--as-needed",
37529        "-Wl,--gc-sections",
37530        "-Wl,--icf=all",
37531    ],
37532    target: {
37533        android_arm: {
37534            cflags: [
37535                "-DANDROID",
37536                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37537                "-DHAVE_SYS_UIO_H",
37538                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37539            ],
37540        },
37541        android_arm64: {
37542            cflags: [
37543                "-DANDROID",
37544                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37545                "-DHAVE_SYS_UIO_H",
37546                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37547                "-O2",
37548                "-mno-outline",
37549            ],
37550        },
37551        android_riscv64: {
37552            cflags: [
37553                "-DANDROID",
37554                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37555                "-DHAVE_SYS_UIO_H",
37556                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37557            ],
37558        },
37559        android_x86: {
37560            cflags: [
37561                "-DANDROID",
37562                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37563                "-DHAVE_SYS_UIO_H",
37564                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37565                "-msse3",
37566            ],
37567        },
37568        android_x86_64: {
37569            cflags: [
37570                "-DANDROID",
37571                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37572                "-DHAVE_SYS_UIO_H",
37573                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37574                "-msse3",
37575            ],
37576        },
37577        host: {
37578            cflags: [
37579                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
37580                "-DUSE_AURA=1",
37581                "-DUSE_OZONE=1",
37582                "-DUSE_UDEV",
37583                "-D_FILE_OFFSET_BITS=64",
37584                "-D_LARGEFILE64_SOURCE",
37585                "-D_LARGEFILE_SOURCE",
37586                "-O2",
37587                "-msse3",
37588            ],
37589            compile_multilib: "64",
37590        },
37591    },
37592}
37593
37594// GN: //third_party/abseil-cpp/absl/crc:cpu_detect
37595cc_library_static {
37596    name: "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect",
37597    srcs: [
37598        "third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc",
37599    ],
37600    defaults: [
37601        "cronet_aml_cc_defaults",
37602    ],
37603    cflags: [
37604        "-DABSL_ALLOCATOR_NOTHROW=1",
37605        "-DANDROID",
37606        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37607        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37608        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37609        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37610        "-DHAVE_SYS_UIO_H",
37611        "-DNDEBUG",
37612        "-DNO_UNWIND_TABLES",
37613        "-DNVALGRIND",
37614        "-DOFFICIAL_BUILD",
37615        "-D_GNU_SOURCE",
37616        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37617        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37618        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37619        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37620        "-fdata-sections",
37621        "-ffunction-sections",
37622        "-fno-asynchronous-unwind-tables",
37623        "-fno-unwind-tables",
37624        "-fstack-protector",
37625        "-fvisibility-inlines-hidden",
37626        "-fvisibility=hidden",
37627        "-g1",
37628    ],
37629    local_include_dirs: [
37630        "./",
37631        "buildtools/third_party/libc++/",
37632        "third_party/abseil-cpp/",
37633        "third_party/libc++/src/include",
37634        "third_party/libc++abi/src/include",
37635    ],
37636    cpp_std: "c++20",
37637    ldflags: [
37638        "-Wl,--as-needed",
37639        "-Wl,--gc-sections",
37640        "-Wl,--icf=all",
37641    ],
37642    target: {
37643        android_arm64: {
37644            cflags: [
37645                "-O2",
37646                "-mno-outline",
37647            ],
37648        },
37649        android_x86: {
37650            cflags: [
37651                "-msse3",
37652            ],
37653        },
37654        android_x86_64: {
37655            cflags: [
37656                "-msse3",
37657            ],
37658        },
37659    },
37660}
37661
37662// GN: //third_party/abseil-cpp/absl/crc:cpu_detect__testing
37663cc_library_static {
37664    name: "cronet_aml_third_party_abseil_cpp_absl_crc_cpu_detect__testing",
37665    srcs: [
37666        "third_party/abseil-cpp/absl/crc/internal/cpu_detect.cc",
37667    ],
37668    host_supported: true,
37669    defaults: [
37670        "cronet_aml_cc_defaults",
37671    ],
37672    cflags: [
37673        "-DABSL_ALLOCATOR_NOTHROW=1",
37674        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37675        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37676        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37677        "-DNDEBUG",
37678        "-DNO_UNWIND_TABLES",
37679        "-DNVALGRIND",
37680        "-DOFFICIAL_BUILD",
37681        "-D_GNU_SOURCE",
37682        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37683        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37684        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37685        "-fdata-sections",
37686        "-ffunction-sections",
37687        "-fno-asynchronous-unwind-tables",
37688        "-fno-unwind-tables",
37689        "-fstack-protector",
37690        "-fvisibility-inlines-hidden",
37691        "-fvisibility=hidden",
37692        "-g1",
37693    ],
37694    local_include_dirs: [
37695        "./",
37696        "buildtools/third_party/libc++/",
37697        "third_party/abseil-cpp/",
37698        "third_party/libc++/src/include",
37699        "third_party/libc++abi/src/include",
37700    ],
37701    cpp_std: "c++20",
37702    ldflags: [
37703        "-Wl,--as-needed",
37704        "-Wl,--gc-sections",
37705        "-Wl,--icf=all",
37706    ],
37707    target: {
37708        android_arm: {
37709            cflags: [
37710                "-DANDROID",
37711                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37712                "-DHAVE_SYS_UIO_H",
37713                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37714            ],
37715        },
37716        android_arm64: {
37717            cflags: [
37718                "-DANDROID",
37719                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37720                "-DHAVE_SYS_UIO_H",
37721                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37722                "-O2",
37723                "-mno-outline",
37724            ],
37725        },
37726        android_riscv64: {
37727            cflags: [
37728                "-DANDROID",
37729                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37730                "-DHAVE_SYS_UIO_H",
37731                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37732            ],
37733        },
37734        android_x86: {
37735            cflags: [
37736                "-DANDROID",
37737                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37738                "-DHAVE_SYS_UIO_H",
37739                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37740                "-msse3",
37741            ],
37742        },
37743        android_x86_64: {
37744            cflags: [
37745                "-DANDROID",
37746                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37747                "-DHAVE_SYS_UIO_H",
37748                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37749                "-msse3",
37750            ],
37751        },
37752        host: {
37753            cflags: [
37754                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
37755                "-DUSE_AURA=1",
37756                "-DUSE_OZONE=1",
37757                "-DUSE_UDEV",
37758                "-D_FILE_OFFSET_BITS=64",
37759                "-D_LARGEFILE64_SOURCE",
37760                "-D_LARGEFILE_SOURCE",
37761                "-O2",
37762                "-msse3",
37763            ],
37764            compile_multilib: "64",
37765        },
37766    },
37767}
37768
37769// GN: //third_party/abseil-cpp/absl/crc:crc32c
37770cc_library_static {
37771    name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c",
37772    srcs: [
37773        "third_party/abseil-cpp/absl/crc/crc32c.cc",
37774        "third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc",
37775        "third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc",
37776        "third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc",
37777    ],
37778    defaults: [
37779        "cronet_aml_cc_defaults",
37780    ],
37781    cflags: [
37782        "-DABSL_ALLOCATOR_NOTHROW=1",
37783        "-DANDROID",
37784        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37785        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37786        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37787        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37788        "-DHAVE_SYS_UIO_H",
37789        "-DNDEBUG",
37790        "-DNO_UNWIND_TABLES",
37791        "-DNVALGRIND",
37792        "-DOFFICIAL_BUILD",
37793        "-D_GNU_SOURCE",
37794        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37795        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37796        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37797        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37798        "-fdata-sections",
37799        "-ffunction-sections",
37800        "-fno-asynchronous-unwind-tables",
37801        "-fno-unwind-tables",
37802        "-fstack-protector",
37803        "-fvisibility-inlines-hidden",
37804        "-fvisibility=hidden",
37805        "-g1",
37806    ],
37807    local_include_dirs: [
37808        "./",
37809        "buildtools/third_party/libc++/",
37810        "third_party/abseil-cpp/",
37811        "third_party/libc++/src/include",
37812        "third_party/libc++abi/src/include",
37813    ],
37814    cpp_std: "c++20",
37815    ldflags: [
37816        "-Wl,--as-needed",
37817        "-Wl,--gc-sections",
37818        "-Wl,--icf=all",
37819    ],
37820    target: {
37821        android_arm64: {
37822            cflags: [
37823                "-O2",
37824                "-mno-outline",
37825            ],
37826        },
37827        android_x86: {
37828            cflags: [
37829                "-msse3",
37830            ],
37831        },
37832        android_x86_64: {
37833            cflags: [
37834                "-msse3",
37835            ],
37836        },
37837    },
37838}
37839
37840// GN: //third_party/abseil-cpp/absl/crc:crc32c__testing
37841cc_library_static {
37842    name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc32c__testing",
37843    srcs: [
37844        "third_party/abseil-cpp/absl/crc/crc32c.cc",
37845        "third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc",
37846        "third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc",
37847        "third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc",
37848    ],
37849    host_supported: true,
37850    defaults: [
37851        "cronet_aml_cc_defaults",
37852    ],
37853    cflags: [
37854        "-DABSL_ALLOCATOR_NOTHROW=1",
37855        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37856        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37857        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37858        "-DNDEBUG",
37859        "-DNO_UNWIND_TABLES",
37860        "-DNVALGRIND",
37861        "-DOFFICIAL_BUILD",
37862        "-D_GNU_SOURCE",
37863        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37864        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37865        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37866        "-fdata-sections",
37867        "-ffunction-sections",
37868        "-fno-asynchronous-unwind-tables",
37869        "-fno-unwind-tables",
37870        "-fstack-protector",
37871        "-fvisibility-inlines-hidden",
37872        "-fvisibility=hidden",
37873        "-g1",
37874    ],
37875    local_include_dirs: [
37876        "./",
37877        "buildtools/third_party/libc++/",
37878        "third_party/abseil-cpp/",
37879        "third_party/libc++/src/include",
37880        "third_party/libc++abi/src/include",
37881    ],
37882    cpp_std: "c++20",
37883    ldflags: [
37884        "-Wl,--as-needed",
37885        "-Wl,--gc-sections",
37886        "-Wl,--icf=all",
37887    ],
37888    target: {
37889        android_arm: {
37890            cflags: [
37891                "-DANDROID",
37892                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37893                "-DHAVE_SYS_UIO_H",
37894                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37895            ],
37896        },
37897        android_arm64: {
37898            cflags: [
37899                "-DANDROID",
37900                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37901                "-DHAVE_SYS_UIO_H",
37902                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37903                "-O2",
37904                "-mno-outline",
37905            ],
37906        },
37907        android_riscv64: {
37908            cflags: [
37909                "-DANDROID",
37910                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37911                "-DHAVE_SYS_UIO_H",
37912                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37913            ],
37914        },
37915        android_x86: {
37916            cflags: [
37917                "-DANDROID",
37918                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37919                "-DHAVE_SYS_UIO_H",
37920                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37921                "-msse3",
37922            ],
37923        },
37924        android_x86_64: {
37925            cflags: [
37926                "-DANDROID",
37927                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37928                "-DHAVE_SYS_UIO_H",
37929                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37930                "-msse3",
37931            ],
37932        },
37933        host: {
37934            cflags: [
37935                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
37936                "-DUSE_AURA=1",
37937                "-DUSE_OZONE=1",
37938                "-DUSE_UDEV",
37939                "-D_FILE_OFFSET_BITS=64",
37940                "-D_LARGEFILE64_SOURCE",
37941                "-D_LARGEFILE_SOURCE",
37942                "-O2",
37943                "-msse3",
37944            ],
37945            compile_multilib: "64",
37946        },
37947    },
37948}
37949
37950// GN: //third_party/abseil-cpp/absl/crc:crc_cord_state
37951cc_library_static {
37952    name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state",
37953    srcs: [
37954        "third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc",
37955    ],
37956    defaults: [
37957        "cronet_aml_cc_defaults",
37958    ],
37959    cflags: [
37960        "-DABSL_ALLOCATOR_NOTHROW=1",
37961        "-DANDROID",
37962        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
37963        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
37964        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
37965        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
37966        "-DHAVE_SYS_UIO_H",
37967        "-DNDEBUG",
37968        "-DNO_UNWIND_TABLES",
37969        "-DNVALGRIND",
37970        "-DOFFICIAL_BUILD",
37971        "-D_GNU_SOURCE",
37972        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
37973        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
37974        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
37975        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
37976        "-fdata-sections",
37977        "-ffunction-sections",
37978        "-fno-asynchronous-unwind-tables",
37979        "-fno-unwind-tables",
37980        "-fstack-protector",
37981        "-fvisibility-inlines-hidden",
37982        "-fvisibility=hidden",
37983        "-g1",
37984    ],
37985    local_include_dirs: [
37986        "./",
37987        "buildtools/third_party/libc++/",
37988        "third_party/abseil-cpp/",
37989        "third_party/libc++/src/include",
37990        "third_party/libc++abi/src/include",
37991    ],
37992    cpp_std: "c++20",
37993    ldflags: [
37994        "-Wl,--as-needed",
37995        "-Wl,--gc-sections",
37996        "-Wl,--icf=all",
37997    ],
37998    target: {
37999        android_arm64: {
38000            cflags: [
38001                "-O2",
38002                "-mno-outline",
38003            ],
38004        },
38005        android_x86: {
38006            cflags: [
38007                "-msse3",
38008            ],
38009        },
38010        android_x86_64: {
38011            cflags: [
38012                "-msse3",
38013            ],
38014        },
38015    },
38016}
38017
38018// GN: //third_party/abseil-cpp/absl/crc:crc_cord_state__testing
38019cc_library_static {
38020    name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc_cord_state__testing",
38021    srcs: [
38022        "third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc",
38023    ],
38024    host_supported: true,
38025    defaults: [
38026        "cronet_aml_cc_defaults",
38027    ],
38028    cflags: [
38029        "-DABSL_ALLOCATOR_NOTHROW=1",
38030        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38031        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38032        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38033        "-DNDEBUG",
38034        "-DNO_UNWIND_TABLES",
38035        "-DNVALGRIND",
38036        "-DOFFICIAL_BUILD",
38037        "-D_GNU_SOURCE",
38038        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38039        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38040        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38041        "-fdata-sections",
38042        "-ffunction-sections",
38043        "-fno-asynchronous-unwind-tables",
38044        "-fno-unwind-tables",
38045        "-fstack-protector",
38046        "-fvisibility-inlines-hidden",
38047        "-fvisibility=hidden",
38048        "-g1",
38049    ],
38050    local_include_dirs: [
38051        "./",
38052        "buildtools/third_party/libc++/",
38053        "third_party/abseil-cpp/",
38054        "third_party/libc++/src/include",
38055        "third_party/libc++abi/src/include",
38056    ],
38057    cpp_std: "c++20",
38058    ldflags: [
38059        "-Wl,--as-needed",
38060        "-Wl,--gc-sections",
38061        "-Wl,--icf=all",
38062    ],
38063    target: {
38064        android_arm: {
38065            cflags: [
38066                "-DANDROID",
38067                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38068                "-DHAVE_SYS_UIO_H",
38069                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38070            ],
38071        },
38072        android_arm64: {
38073            cflags: [
38074                "-DANDROID",
38075                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38076                "-DHAVE_SYS_UIO_H",
38077                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38078                "-O2",
38079                "-mno-outline",
38080            ],
38081        },
38082        android_riscv64: {
38083            cflags: [
38084                "-DANDROID",
38085                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38086                "-DHAVE_SYS_UIO_H",
38087                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38088            ],
38089        },
38090        android_x86: {
38091            cflags: [
38092                "-DANDROID",
38093                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38094                "-DHAVE_SYS_UIO_H",
38095                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38096                "-msse3",
38097            ],
38098        },
38099        android_x86_64: {
38100            cflags: [
38101                "-DANDROID",
38102                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38103                "-DHAVE_SYS_UIO_H",
38104                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38105                "-msse3",
38106            ],
38107        },
38108        host: {
38109            cflags: [
38110                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
38111                "-DUSE_AURA=1",
38112                "-DUSE_OZONE=1",
38113                "-DUSE_UDEV",
38114                "-D_FILE_OFFSET_BITS=64",
38115                "-D_LARGEFILE64_SOURCE",
38116                "-D_LARGEFILE_SOURCE",
38117                "-O2",
38118                "-msse3",
38119            ],
38120            compile_multilib: "64",
38121        },
38122    },
38123}
38124
38125// GN: //third_party/abseil-cpp/absl/crc:crc_internal
38126cc_library_static {
38127    name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal",
38128    srcs: [
38129        "third_party/abseil-cpp/absl/crc/internal/crc.cc",
38130        "third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc",
38131    ],
38132    defaults: [
38133        "cronet_aml_cc_defaults",
38134    ],
38135    cflags: [
38136        "-DABSL_ALLOCATOR_NOTHROW=1",
38137        "-DANDROID",
38138        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38139        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38140        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38141        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38142        "-DHAVE_SYS_UIO_H",
38143        "-DNDEBUG",
38144        "-DNO_UNWIND_TABLES",
38145        "-DNVALGRIND",
38146        "-DOFFICIAL_BUILD",
38147        "-D_GNU_SOURCE",
38148        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38149        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38150        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38151        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38152        "-fdata-sections",
38153        "-ffunction-sections",
38154        "-fno-asynchronous-unwind-tables",
38155        "-fno-unwind-tables",
38156        "-fstack-protector",
38157        "-fvisibility-inlines-hidden",
38158        "-fvisibility=hidden",
38159        "-g1",
38160    ],
38161    local_include_dirs: [
38162        "./",
38163        "buildtools/third_party/libc++/",
38164        "third_party/abseil-cpp/",
38165        "third_party/libc++/src/include",
38166        "third_party/libc++abi/src/include",
38167    ],
38168    cpp_std: "c++20",
38169    ldflags: [
38170        "-Wl,--as-needed",
38171        "-Wl,--gc-sections",
38172        "-Wl,--icf=all",
38173    ],
38174    target: {
38175        android_arm64: {
38176            cflags: [
38177                "-O2",
38178                "-mno-outline",
38179            ],
38180        },
38181        android_x86: {
38182            cflags: [
38183                "-msse3",
38184            ],
38185        },
38186        android_x86_64: {
38187            cflags: [
38188                "-msse3",
38189            ],
38190        },
38191    },
38192}
38193
38194// GN: //third_party/abseil-cpp/absl/crc:crc_internal__testing
38195cc_library_static {
38196    name: "cronet_aml_third_party_abseil_cpp_absl_crc_crc_internal__testing",
38197    srcs: [
38198        "third_party/abseil-cpp/absl/crc/internal/crc.cc",
38199        "third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc",
38200    ],
38201    host_supported: true,
38202    defaults: [
38203        "cronet_aml_cc_defaults",
38204    ],
38205    cflags: [
38206        "-DABSL_ALLOCATOR_NOTHROW=1",
38207        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38208        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38209        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38210        "-DNDEBUG",
38211        "-DNO_UNWIND_TABLES",
38212        "-DNVALGRIND",
38213        "-DOFFICIAL_BUILD",
38214        "-D_GNU_SOURCE",
38215        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38216        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38217        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38218        "-fdata-sections",
38219        "-ffunction-sections",
38220        "-fno-asynchronous-unwind-tables",
38221        "-fno-unwind-tables",
38222        "-fstack-protector",
38223        "-fvisibility-inlines-hidden",
38224        "-fvisibility=hidden",
38225        "-g1",
38226    ],
38227    local_include_dirs: [
38228        "./",
38229        "buildtools/third_party/libc++/",
38230        "third_party/abseil-cpp/",
38231        "third_party/libc++/src/include",
38232        "third_party/libc++abi/src/include",
38233    ],
38234    cpp_std: "c++20",
38235    ldflags: [
38236        "-Wl,--as-needed",
38237        "-Wl,--gc-sections",
38238        "-Wl,--icf=all",
38239    ],
38240    target: {
38241        android_arm: {
38242            cflags: [
38243                "-DANDROID",
38244                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38245                "-DHAVE_SYS_UIO_H",
38246                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38247            ],
38248        },
38249        android_arm64: {
38250            cflags: [
38251                "-DANDROID",
38252                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38253                "-DHAVE_SYS_UIO_H",
38254                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38255                "-O2",
38256                "-mno-outline",
38257            ],
38258        },
38259        android_riscv64: {
38260            cflags: [
38261                "-DANDROID",
38262                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38263                "-DHAVE_SYS_UIO_H",
38264                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38265            ],
38266        },
38267        android_x86: {
38268            cflags: [
38269                "-DANDROID",
38270                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38271                "-DHAVE_SYS_UIO_H",
38272                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38273                "-msse3",
38274            ],
38275        },
38276        android_x86_64: {
38277            cflags: [
38278                "-DANDROID",
38279                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38280                "-DHAVE_SYS_UIO_H",
38281                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38282                "-msse3",
38283            ],
38284        },
38285        host: {
38286            cflags: [
38287                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
38288                "-DUSE_AURA=1",
38289                "-DUSE_OZONE=1",
38290                "-DUSE_UDEV",
38291                "-D_FILE_OFFSET_BITS=64",
38292                "-D_LARGEFILE64_SOURCE",
38293                "-D_LARGEFILE_SOURCE",
38294                "-O2",
38295                "-msse3",
38296            ],
38297            compile_multilib: "64",
38298        },
38299    },
38300}
38301
38302// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal
38303cc_library_static {
38304    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
38305    srcs: [
38306        "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
38307        "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
38308        "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
38309    ],
38310    defaults: [
38311        "cronet_aml_cc_defaults",
38312    ],
38313    cflags: [
38314        "-DABSL_ALLOCATOR_NOTHROW=1",
38315        "-DANDROID",
38316        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38317        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38318        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38319        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38320        "-DHAVE_SYS_UIO_H",
38321        "-DNDEBUG",
38322        "-DNO_UNWIND_TABLES",
38323        "-DNVALGRIND",
38324        "-DOFFICIAL_BUILD",
38325        "-D_GNU_SOURCE",
38326        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38327        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38328        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38329        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38330        "-fdata-sections",
38331        "-ffunction-sections",
38332        "-fno-asynchronous-unwind-tables",
38333        "-fno-unwind-tables",
38334        "-fstack-protector",
38335        "-fvisibility-inlines-hidden",
38336        "-fvisibility=hidden",
38337        "-g1",
38338    ],
38339    local_include_dirs: [
38340        "./",
38341        "buildtools/third_party/libc++/",
38342        "third_party/abseil-cpp/",
38343        "third_party/libc++/src/include",
38344        "third_party/libc++abi/src/include",
38345    ],
38346    cpp_std: "c++20",
38347    ldflags: [
38348        "-Wl,--as-needed",
38349        "-Wl,--gc-sections",
38350        "-Wl,--icf=all",
38351    ],
38352    target: {
38353        android_arm64: {
38354            cflags: [
38355                "-O2",
38356                "-mno-outline",
38357            ],
38358        },
38359        android_x86: {
38360            cflags: [
38361                "-msse3",
38362            ],
38363        },
38364        android_x86_64: {
38365            cflags: [
38366                "-msse3",
38367            ],
38368        },
38369    },
38370}
38371
38372// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal__testing
38373cc_library_static {
38374    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
38375    srcs: [
38376        "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
38377        "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
38378        "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
38379    ],
38380    host_supported: true,
38381    defaults: [
38382        "cronet_aml_cc_defaults",
38383    ],
38384    cflags: [
38385        "-DABSL_ALLOCATOR_NOTHROW=1",
38386        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38387        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38388        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38389        "-DNDEBUG",
38390        "-DNO_UNWIND_TABLES",
38391        "-DNVALGRIND",
38392        "-DOFFICIAL_BUILD",
38393        "-D_GNU_SOURCE",
38394        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38395        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38396        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38397        "-fdata-sections",
38398        "-ffunction-sections",
38399        "-fno-asynchronous-unwind-tables",
38400        "-fno-unwind-tables",
38401        "-fstack-protector",
38402        "-fvisibility-inlines-hidden",
38403        "-fvisibility=hidden",
38404        "-g1",
38405    ],
38406    local_include_dirs: [
38407        "./",
38408        "buildtools/third_party/libc++/",
38409        "third_party/abseil-cpp/",
38410        "third_party/libc++/src/include",
38411        "third_party/libc++abi/src/include",
38412    ],
38413    cpp_std: "c++20",
38414    ldflags: [
38415        "-Wl,--as-needed",
38416        "-Wl,--gc-sections",
38417        "-Wl,--icf=all",
38418    ],
38419    target: {
38420        android_arm: {
38421            cflags: [
38422                "-DANDROID",
38423                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38424                "-DHAVE_SYS_UIO_H",
38425                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38426            ],
38427        },
38428        android_arm64: {
38429            cflags: [
38430                "-DANDROID",
38431                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38432                "-DHAVE_SYS_UIO_H",
38433                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38434                "-O2",
38435                "-mno-outline",
38436            ],
38437        },
38438        android_riscv64: {
38439            cflags: [
38440                "-DANDROID",
38441                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38442                "-DHAVE_SYS_UIO_H",
38443                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38444            ],
38445        },
38446        android_x86: {
38447            cflags: [
38448                "-DANDROID",
38449                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38450                "-DHAVE_SYS_UIO_H",
38451                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38452                "-msse3",
38453            ],
38454        },
38455        android_x86_64: {
38456            cflags: [
38457                "-DANDROID",
38458                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38459                "-DHAVE_SYS_UIO_H",
38460                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38461                "-msse3",
38462            ],
38463        },
38464        host: {
38465            cflags: [
38466                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
38467                "-DUSE_AURA=1",
38468                "-DUSE_OZONE=1",
38469                "-DUSE_UDEV",
38470                "-D_FILE_OFFSET_BITS=64",
38471                "-D_LARGEFILE64_SOURCE",
38472                "-D_LARGEFILE_SOURCE",
38473                "-O2",
38474                "-msse3",
38475            ],
38476            compile_multilib: "64",
38477        },
38478    },
38479}
38480
38481// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal
38482cc_library_static {
38483    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
38484    srcs: [
38485        "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
38486    ],
38487    defaults: [
38488        "cronet_aml_cc_defaults",
38489    ],
38490    cflags: [
38491        "-DABSL_ALLOCATOR_NOTHROW=1",
38492        "-DANDROID",
38493        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38494        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38495        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38496        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38497        "-DHAVE_SYS_UIO_H",
38498        "-DNDEBUG",
38499        "-DNO_UNWIND_TABLES",
38500        "-DNVALGRIND",
38501        "-DOFFICIAL_BUILD",
38502        "-D_GNU_SOURCE",
38503        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38504        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38505        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38506        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38507        "-fdata-sections",
38508        "-ffunction-sections",
38509        "-fno-asynchronous-unwind-tables",
38510        "-fno-unwind-tables",
38511        "-fstack-protector",
38512        "-fvisibility-inlines-hidden",
38513        "-fvisibility=hidden",
38514        "-g1",
38515    ],
38516    local_include_dirs: [
38517        "./",
38518        "buildtools/third_party/libc++/",
38519        "third_party/abseil-cpp/",
38520        "third_party/libc++/src/include",
38521        "third_party/libc++abi/src/include",
38522    ],
38523    cpp_std: "c++20",
38524    ldflags: [
38525        "-Wl,--as-needed",
38526        "-Wl,--gc-sections",
38527        "-Wl,--icf=all",
38528    ],
38529    target: {
38530        android_arm64: {
38531            cflags: [
38532                "-O2",
38533                "-mno-outline",
38534            ],
38535        },
38536        android_x86: {
38537            cflags: [
38538                "-msse3",
38539            ],
38540        },
38541        android_x86_64: {
38542            cflags: [
38543                "-msse3",
38544            ],
38545        },
38546    },
38547}
38548
38549// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal__testing
38550cc_library_static {
38551    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
38552    srcs: [
38553        "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
38554    ],
38555    host_supported: true,
38556    defaults: [
38557        "cronet_aml_cc_defaults",
38558    ],
38559    cflags: [
38560        "-DABSL_ALLOCATOR_NOTHROW=1",
38561        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38562        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38563        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38564        "-DNDEBUG",
38565        "-DNO_UNWIND_TABLES",
38566        "-DNVALGRIND",
38567        "-DOFFICIAL_BUILD",
38568        "-D_GNU_SOURCE",
38569        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38570        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38571        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38572        "-fdata-sections",
38573        "-ffunction-sections",
38574        "-fno-asynchronous-unwind-tables",
38575        "-fno-unwind-tables",
38576        "-fstack-protector",
38577        "-fvisibility-inlines-hidden",
38578        "-fvisibility=hidden",
38579        "-g1",
38580    ],
38581    local_include_dirs: [
38582        "./",
38583        "buildtools/third_party/libc++/",
38584        "third_party/abseil-cpp/",
38585        "third_party/libc++/src/include",
38586        "third_party/libc++abi/src/include",
38587    ],
38588    cpp_std: "c++20",
38589    ldflags: [
38590        "-Wl,--as-needed",
38591        "-Wl,--gc-sections",
38592        "-Wl,--icf=all",
38593    ],
38594    target: {
38595        android_arm: {
38596            cflags: [
38597                "-DANDROID",
38598                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38599                "-DHAVE_SYS_UIO_H",
38600                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38601            ],
38602        },
38603        android_arm64: {
38604            cflags: [
38605                "-DANDROID",
38606                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38607                "-DHAVE_SYS_UIO_H",
38608                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38609                "-O2",
38610                "-mno-outline",
38611            ],
38612        },
38613        android_riscv64: {
38614            cflags: [
38615                "-DANDROID",
38616                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38617                "-DHAVE_SYS_UIO_H",
38618                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38619            ],
38620        },
38621        android_x86: {
38622            cflags: [
38623                "-DANDROID",
38624                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38625                "-DHAVE_SYS_UIO_H",
38626                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38627                "-msse3",
38628            ],
38629        },
38630        android_x86_64: {
38631            cflags: [
38632                "-DANDROID",
38633                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38634                "-DHAVE_SYS_UIO_H",
38635                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38636                "-msse3",
38637            ],
38638        },
38639        host: {
38640            cflags: [
38641                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
38642                "-DUSE_AURA=1",
38643                "-DUSE_OZONE=1",
38644                "-DUSE_UDEV",
38645                "-D_FILE_OFFSET_BITS=64",
38646                "-D_LARGEFILE64_SOURCE",
38647                "-D_LARGEFILE_SOURCE",
38648                "-O2",
38649                "-msse3",
38650            ],
38651            compile_multilib: "64",
38652        },
38653    },
38654}
38655
38656// GN: //third_party/abseil-cpp/absl/debugging:examine_stack
38657cc_library_static {
38658    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
38659    srcs: [
38660        "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
38661    ],
38662    defaults: [
38663        "cronet_aml_cc_defaults",
38664    ],
38665    cflags: [
38666        "-DABSL_ALLOCATOR_NOTHROW=1",
38667        "-DANDROID",
38668        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38669        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38670        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38671        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38672        "-DHAVE_SYS_UIO_H",
38673        "-DNDEBUG",
38674        "-DNO_UNWIND_TABLES",
38675        "-DNVALGRIND",
38676        "-DOFFICIAL_BUILD",
38677        "-D_GNU_SOURCE",
38678        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38679        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38680        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38681        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38682        "-fdata-sections",
38683        "-ffunction-sections",
38684        "-fno-asynchronous-unwind-tables",
38685        "-fno-unwind-tables",
38686        "-fstack-protector",
38687        "-fvisibility-inlines-hidden",
38688        "-fvisibility=hidden",
38689        "-g1",
38690    ],
38691    local_include_dirs: [
38692        "./",
38693        "buildtools/third_party/libc++/",
38694        "third_party/abseil-cpp/",
38695        "third_party/libc++/src/include",
38696        "third_party/libc++abi/src/include",
38697    ],
38698    cpp_std: "c++20",
38699    ldflags: [
38700        "-Wl,--as-needed",
38701        "-Wl,--gc-sections",
38702        "-Wl,--icf=all",
38703    ],
38704    target: {
38705        android_arm64: {
38706            cflags: [
38707                "-O2",
38708                "-mno-outline",
38709            ],
38710        },
38711        android_x86: {
38712            cflags: [
38713                "-msse3",
38714            ],
38715        },
38716        android_x86_64: {
38717            cflags: [
38718                "-msse3",
38719            ],
38720        },
38721    },
38722}
38723
38724// GN: //third_party/abseil-cpp/absl/debugging:examine_stack__testing
38725cc_library_static {
38726    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
38727    srcs: [
38728        "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
38729    ],
38730    host_supported: true,
38731    defaults: [
38732        "cronet_aml_cc_defaults",
38733    ],
38734    cflags: [
38735        "-DABSL_ALLOCATOR_NOTHROW=1",
38736        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38737        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38738        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38739        "-DNDEBUG",
38740        "-DNO_UNWIND_TABLES",
38741        "-DNVALGRIND",
38742        "-DOFFICIAL_BUILD",
38743        "-D_GNU_SOURCE",
38744        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38745        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38746        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38747        "-fdata-sections",
38748        "-ffunction-sections",
38749        "-fno-asynchronous-unwind-tables",
38750        "-fno-unwind-tables",
38751        "-fstack-protector",
38752        "-fvisibility-inlines-hidden",
38753        "-fvisibility=hidden",
38754        "-g1",
38755    ],
38756    local_include_dirs: [
38757        "./",
38758        "buildtools/third_party/libc++/",
38759        "third_party/abseil-cpp/",
38760        "third_party/libc++/src/include",
38761        "third_party/libc++abi/src/include",
38762    ],
38763    cpp_std: "c++20",
38764    ldflags: [
38765        "-Wl,--as-needed",
38766        "-Wl,--gc-sections",
38767        "-Wl,--icf=all",
38768    ],
38769    target: {
38770        android_arm: {
38771            cflags: [
38772                "-DANDROID",
38773                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38774                "-DHAVE_SYS_UIO_H",
38775                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38776            ],
38777        },
38778        android_arm64: {
38779            cflags: [
38780                "-DANDROID",
38781                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38782                "-DHAVE_SYS_UIO_H",
38783                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38784                "-O2",
38785                "-mno-outline",
38786            ],
38787        },
38788        android_riscv64: {
38789            cflags: [
38790                "-DANDROID",
38791                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38792                "-DHAVE_SYS_UIO_H",
38793                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38794            ],
38795        },
38796        android_x86: {
38797            cflags: [
38798                "-DANDROID",
38799                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38800                "-DHAVE_SYS_UIO_H",
38801                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38802                "-msse3",
38803            ],
38804        },
38805        android_x86_64: {
38806            cflags: [
38807                "-DANDROID",
38808                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38809                "-DHAVE_SYS_UIO_H",
38810                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38811                "-msse3",
38812            ],
38813        },
38814        host: {
38815            cflags: [
38816                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
38817                "-DUSE_AURA=1",
38818                "-DUSE_OZONE=1",
38819                "-DUSE_UDEV",
38820                "-D_FILE_OFFSET_BITS=64",
38821                "-D_LARGEFILE64_SOURCE",
38822                "-D_LARGEFILE_SOURCE",
38823                "-O2",
38824                "-msse3",
38825            ],
38826            compile_multilib: "64",
38827        },
38828    },
38829}
38830
38831// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler
38832cc_library_static {
38833    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
38834    srcs: [
38835        "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
38836    ],
38837    defaults: [
38838        "cronet_aml_cc_defaults",
38839    ],
38840    cflags: [
38841        "-DABSL_ALLOCATOR_NOTHROW=1",
38842        "-DANDROID",
38843        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38844        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38845        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38846        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38847        "-DHAVE_SYS_UIO_H",
38848        "-DNDEBUG",
38849        "-DNO_UNWIND_TABLES",
38850        "-DNVALGRIND",
38851        "-DOFFICIAL_BUILD",
38852        "-D_GNU_SOURCE",
38853        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38854        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38855        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38856        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38857        "-fdata-sections",
38858        "-ffunction-sections",
38859        "-fno-asynchronous-unwind-tables",
38860        "-fno-unwind-tables",
38861        "-fstack-protector",
38862        "-fvisibility-inlines-hidden",
38863        "-fvisibility=hidden",
38864        "-g1",
38865    ],
38866    local_include_dirs: [
38867        "./",
38868        "buildtools/third_party/libc++/",
38869        "third_party/abseil-cpp/",
38870        "third_party/libc++/src/include",
38871        "third_party/libc++abi/src/include",
38872    ],
38873    cpp_std: "c++20",
38874    ldflags: [
38875        "-Wl,--as-needed",
38876        "-Wl,--gc-sections",
38877        "-Wl,--icf=all",
38878    ],
38879    target: {
38880        android_arm64: {
38881            cflags: [
38882                "-O2",
38883                "-mno-outline",
38884            ],
38885        },
38886        android_x86: {
38887            cflags: [
38888                "-msse3",
38889            ],
38890        },
38891        android_x86_64: {
38892            cflags: [
38893                "-msse3",
38894            ],
38895        },
38896    },
38897}
38898
38899// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler__testing
38900cc_library_static {
38901    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
38902    srcs: [
38903        "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
38904    ],
38905    host_supported: true,
38906    defaults: [
38907        "cronet_aml_cc_defaults",
38908    ],
38909    cflags: [
38910        "-DABSL_ALLOCATOR_NOTHROW=1",
38911        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
38912        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
38913        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
38914        "-DNDEBUG",
38915        "-DNO_UNWIND_TABLES",
38916        "-DNVALGRIND",
38917        "-DOFFICIAL_BUILD",
38918        "-D_GNU_SOURCE",
38919        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
38920        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
38921        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
38922        "-fdata-sections",
38923        "-ffunction-sections",
38924        "-fno-asynchronous-unwind-tables",
38925        "-fno-unwind-tables",
38926        "-fstack-protector",
38927        "-fvisibility-inlines-hidden",
38928        "-fvisibility=hidden",
38929        "-g1",
38930    ],
38931    local_include_dirs: [
38932        "./",
38933        "buildtools/third_party/libc++/",
38934        "third_party/abseil-cpp/",
38935        "third_party/libc++/src/include",
38936        "third_party/libc++abi/src/include",
38937    ],
38938    cpp_std: "c++20",
38939    ldflags: [
38940        "-Wl,--as-needed",
38941        "-Wl,--gc-sections",
38942        "-Wl,--icf=all",
38943    ],
38944    target: {
38945        android_arm: {
38946            cflags: [
38947                "-DANDROID",
38948                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38949                "-DHAVE_SYS_UIO_H",
38950                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38951            ],
38952        },
38953        android_arm64: {
38954            cflags: [
38955                "-DANDROID",
38956                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38957                "-DHAVE_SYS_UIO_H",
38958                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38959                "-O2",
38960                "-mno-outline",
38961            ],
38962        },
38963        android_riscv64: {
38964            cflags: [
38965                "-DANDROID",
38966                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38967                "-DHAVE_SYS_UIO_H",
38968                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38969            ],
38970        },
38971        android_x86: {
38972            cflags: [
38973                "-DANDROID",
38974                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38975                "-DHAVE_SYS_UIO_H",
38976                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38977                "-msse3",
38978            ],
38979        },
38980        android_x86_64: {
38981            cflags: [
38982                "-DANDROID",
38983                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
38984                "-DHAVE_SYS_UIO_H",
38985                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
38986                "-msse3",
38987            ],
38988        },
38989        host: {
38990            cflags: [
38991                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
38992                "-DUSE_AURA=1",
38993                "-DUSE_OZONE=1",
38994                "-DUSE_UDEV",
38995                "-D_FILE_OFFSET_BITS=64",
38996                "-D_LARGEFILE64_SOURCE",
38997                "-D_LARGEFILE_SOURCE",
38998                "-O2",
38999                "-msse3",
39000            ],
39001            compile_multilib: "64",
39002        },
39003    },
39004}
39005
39006// GN: //third_party/abseil-cpp/absl/debugging:stacktrace
39007cc_library_static {
39008    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
39009    srcs: [
39010        "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
39011    ],
39012    defaults: [
39013        "cronet_aml_cc_defaults",
39014    ],
39015    cflags: [
39016        "-DABSL_ALLOCATOR_NOTHROW=1",
39017        "-DANDROID",
39018        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39019        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39020        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39021        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39022        "-DHAVE_SYS_UIO_H",
39023        "-DNDEBUG",
39024        "-DNO_UNWIND_TABLES",
39025        "-DNVALGRIND",
39026        "-DOFFICIAL_BUILD",
39027        "-D_GNU_SOURCE",
39028        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39029        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39030        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39031        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39032        "-fdata-sections",
39033        "-ffunction-sections",
39034        "-fno-asynchronous-unwind-tables",
39035        "-fno-unwind-tables",
39036        "-fstack-protector",
39037        "-fvisibility-inlines-hidden",
39038        "-fvisibility=hidden",
39039        "-g1",
39040    ],
39041    local_include_dirs: [
39042        "./",
39043        "buildtools/third_party/libc++/",
39044        "third_party/abseil-cpp/",
39045        "third_party/libc++/src/include",
39046        "third_party/libc++abi/src/include",
39047    ],
39048    cpp_std: "c++20",
39049    ldflags: [
39050        "-Wl,--as-needed",
39051        "-Wl,--gc-sections",
39052        "-Wl,--icf=all",
39053    ],
39054    target: {
39055        android_arm64: {
39056            cflags: [
39057                "-O2",
39058                "-mno-outline",
39059            ],
39060        },
39061        android_x86: {
39062            cflags: [
39063                "-msse3",
39064            ],
39065        },
39066        android_x86_64: {
39067            cflags: [
39068                "-msse3",
39069            ],
39070        },
39071    },
39072}
39073
39074// GN: //third_party/abseil-cpp/absl/debugging:stacktrace__testing
39075cc_library_static {
39076    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
39077    srcs: [
39078        "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
39079    ],
39080    host_supported: true,
39081    defaults: [
39082        "cronet_aml_cc_defaults",
39083    ],
39084    cflags: [
39085        "-DABSL_ALLOCATOR_NOTHROW=1",
39086        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39087        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39088        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39089        "-DNDEBUG",
39090        "-DNO_UNWIND_TABLES",
39091        "-DNVALGRIND",
39092        "-DOFFICIAL_BUILD",
39093        "-D_GNU_SOURCE",
39094        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39095        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39096        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39097        "-fdata-sections",
39098        "-ffunction-sections",
39099        "-fno-asynchronous-unwind-tables",
39100        "-fno-unwind-tables",
39101        "-fstack-protector",
39102        "-fvisibility-inlines-hidden",
39103        "-fvisibility=hidden",
39104        "-g1",
39105    ],
39106    local_include_dirs: [
39107        "./",
39108        "buildtools/third_party/libc++/",
39109        "third_party/abseil-cpp/",
39110        "third_party/libc++/src/include",
39111        "third_party/libc++abi/src/include",
39112    ],
39113    cpp_std: "c++20",
39114    ldflags: [
39115        "-Wl,--as-needed",
39116        "-Wl,--gc-sections",
39117        "-Wl,--icf=all",
39118    ],
39119    target: {
39120        android_arm: {
39121            cflags: [
39122                "-DANDROID",
39123                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39124                "-DHAVE_SYS_UIO_H",
39125                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39126            ],
39127        },
39128        android_arm64: {
39129            cflags: [
39130                "-DANDROID",
39131                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39132                "-DHAVE_SYS_UIO_H",
39133                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39134                "-O2",
39135                "-mno-outline",
39136            ],
39137        },
39138        android_riscv64: {
39139            cflags: [
39140                "-DANDROID",
39141                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39142                "-DHAVE_SYS_UIO_H",
39143                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39144            ],
39145        },
39146        android_x86: {
39147            cflags: [
39148                "-DANDROID",
39149                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39150                "-DHAVE_SYS_UIO_H",
39151                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39152                "-msse3",
39153            ],
39154        },
39155        android_x86_64: {
39156            cflags: [
39157                "-DANDROID",
39158                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39159                "-DHAVE_SYS_UIO_H",
39160                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39161                "-msse3",
39162            ],
39163        },
39164        host: {
39165            cflags: [
39166                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
39167                "-DUSE_AURA=1",
39168                "-DUSE_OZONE=1",
39169                "-DUSE_UDEV",
39170                "-D_FILE_OFFSET_BITS=64",
39171                "-D_LARGEFILE64_SOURCE",
39172                "-D_LARGEFILE_SOURCE",
39173                "-O2",
39174                "-msse3",
39175            ],
39176            compile_multilib: "64",
39177        },
39178    },
39179}
39180
39181// GN: //third_party/abseil-cpp/absl/debugging:symbolize
39182cc_library_static {
39183    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
39184    srcs: [
39185        "third_party/abseil-cpp/absl/debugging/symbolize.cc",
39186    ],
39187    defaults: [
39188        "cronet_aml_cc_defaults",
39189    ],
39190    cflags: [
39191        "-DABSL_ALLOCATOR_NOTHROW=1",
39192        "-DANDROID",
39193        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39194        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39195        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39196        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39197        "-DHAVE_SYS_UIO_H",
39198        "-DNDEBUG",
39199        "-DNO_UNWIND_TABLES",
39200        "-DNVALGRIND",
39201        "-DOFFICIAL_BUILD",
39202        "-D_GNU_SOURCE",
39203        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39204        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39205        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39206        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39207        "-fdata-sections",
39208        "-ffunction-sections",
39209        "-fno-asynchronous-unwind-tables",
39210        "-fno-unwind-tables",
39211        "-fstack-protector",
39212        "-fvisibility-inlines-hidden",
39213        "-fvisibility=hidden",
39214        "-g1",
39215    ],
39216    local_include_dirs: [
39217        "./",
39218        "buildtools/third_party/libc++/",
39219        "third_party/abseil-cpp/",
39220        "third_party/libc++/src/include",
39221        "third_party/libc++abi/src/include",
39222    ],
39223    cpp_std: "c++20",
39224    ldflags: [
39225        "-Wl,--as-needed",
39226        "-Wl,--gc-sections",
39227        "-Wl,--icf=all",
39228    ],
39229    target: {
39230        android_arm64: {
39231            cflags: [
39232                "-O2",
39233                "-mno-outline",
39234            ],
39235        },
39236        android_x86: {
39237            cflags: [
39238                "-msse3",
39239            ],
39240        },
39241        android_x86_64: {
39242            cflags: [
39243                "-msse3",
39244            ],
39245        },
39246    },
39247}
39248
39249// GN: //third_party/abseil-cpp/absl/debugging:symbolize__testing
39250cc_library_static {
39251    name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
39252    srcs: [
39253        "third_party/abseil-cpp/absl/debugging/symbolize.cc",
39254    ],
39255    host_supported: true,
39256    defaults: [
39257        "cronet_aml_cc_defaults",
39258    ],
39259    cflags: [
39260        "-DABSL_ALLOCATOR_NOTHROW=1",
39261        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39262        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39263        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39264        "-DNDEBUG",
39265        "-DNO_UNWIND_TABLES",
39266        "-DNVALGRIND",
39267        "-DOFFICIAL_BUILD",
39268        "-D_GNU_SOURCE",
39269        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39270        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39271        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39272        "-fdata-sections",
39273        "-ffunction-sections",
39274        "-fno-asynchronous-unwind-tables",
39275        "-fno-unwind-tables",
39276        "-fstack-protector",
39277        "-fvisibility-inlines-hidden",
39278        "-fvisibility=hidden",
39279        "-g1",
39280    ],
39281    local_include_dirs: [
39282        "./",
39283        "buildtools/third_party/libc++/",
39284        "third_party/abseil-cpp/",
39285        "third_party/libc++/src/include",
39286        "third_party/libc++abi/src/include",
39287    ],
39288    cpp_std: "c++20",
39289    ldflags: [
39290        "-Wl,--as-needed",
39291        "-Wl,--gc-sections",
39292        "-Wl,--icf=all",
39293    ],
39294    target: {
39295        android_arm: {
39296            cflags: [
39297                "-DANDROID",
39298                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39299                "-DHAVE_SYS_UIO_H",
39300                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39301            ],
39302        },
39303        android_arm64: {
39304            cflags: [
39305                "-DANDROID",
39306                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39307                "-DHAVE_SYS_UIO_H",
39308                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39309                "-O2",
39310                "-mno-outline",
39311            ],
39312        },
39313        android_riscv64: {
39314            cflags: [
39315                "-DANDROID",
39316                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39317                "-DHAVE_SYS_UIO_H",
39318                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39319            ],
39320        },
39321        android_x86: {
39322            cflags: [
39323                "-DANDROID",
39324                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39325                "-DHAVE_SYS_UIO_H",
39326                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39327                "-msse3",
39328            ],
39329        },
39330        android_x86_64: {
39331            cflags: [
39332                "-DANDROID",
39333                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39334                "-DHAVE_SYS_UIO_H",
39335                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39336                "-msse3",
39337            ],
39338        },
39339        host: {
39340            cflags: [
39341                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
39342                "-DUSE_AURA=1",
39343                "-DUSE_OZONE=1",
39344                "-DUSE_UDEV",
39345                "-D_FILE_OFFSET_BITS=64",
39346                "-D_LARGEFILE64_SOURCE",
39347                "-D_LARGEFILE_SOURCE",
39348                "-O2",
39349                "-msse3",
39350            ],
39351            compile_multilib: "64",
39352        },
39353    },
39354}
39355
39356// GN: //third_party/abseil-cpp/absl/flags:commandlineflag__testing
39357cc_library_static {
39358    name: "cronet_aml_third_party_abseil_cpp_absl_flags_commandlineflag__testing",
39359    srcs: [
39360        "third_party/abseil-cpp/absl/flags/commandlineflag.cc",
39361    ],
39362    defaults: [
39363        "cronet_aml_cc_defaults",
39364    ],
39365    cflags: [
39366        "-DABSL_ALLOCATOR_NOTHROW=1",
39367        "-DANDROID",
39368        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39369        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39370        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39371        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39372        "-DHAVE_SYS_UIO_H",
39373        "-DNDEBUG",
39374        "-DNO_UNWIND_TABLES",
39375        "-DNVALGRIND",
39376        "-DOFFICIAL_BUILD",
39377        "-D_GNU_SOURCE",
39378        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39379        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39380        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39381        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39382        "-fdata-sections",
39383        "-ffunction-sections",
39384        "-fno-asynchronous-unwind-tables",
39385        "-fno-unwind-tables",
39386        "-fstack-protector",
39387        "-fvisibility-inlines-hidden",
39388        "-fvisibility=hidden",
39389        "-g1",
39390    ],
39391    local_include_dirs: [
39392        "./",
39393        "buildtools/third_party/libc++/",
39394        "third_party/abseil-cpp/",
39395        "third_party/libc++/src/include",
39396        "third_party/libc++abi/src/include",
39397    ],
39398    cpp_std: "c++20",
39399    ldflags: [
39400        "-Wl,--as-needed",
39401        "-Wl,--gc-sections",
39402        "-Wl,--icf=all",
39403    ],
39404    target: {
39405        android_arm64: {
39406            cflags: [
39407                "-O2",
39408                "-mno-outline",
39409            ],
39410        },
39411        android_x86: {
39412            cflags: [
39413                "-msse3",
39414            ],
39415        },
39416        android_x86_64: {
39417            cflags: [
39418                "-msse3",
39419            ],
39420        },
39421    },
39422}
39423
39424// GN: //third_party/abseil-cpp/absl/flags:commandlineflag_internal__testing
39425cc_library_static {
39426    name: "cronet_aml_third_party_abseil_cpp_absl_flags_commandlineflag_internal__testing",
39427    srcs: [
39428        "third_party/abseil-cpp/absl/flags/internal/commandlineflag.cc",
39429    ],
39430    defaults: [
39431        "cronet_aml_cc_defaults",
39432    ],
39433    cflags: [
39434        "-DABSL_ALLOCATOR_NOTHROW=1",
39435        "-DANDROID",
39436        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39437        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39438        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39439        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39440        "-DHAVE_SYS_UIO_H",
39441        "-DNDEBUG",
39442        "-DNO_UNWIND_TABLES",
39443        "-DNVALGRIND",
39444        "-DOFFICIAL_BUILD",
39445        "-D_GNU_SOURCE",
39446        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39447        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39448        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39449        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39450        "-fdata-sections",
39451        "-ffunction-sections",
39452        "-fno-asynchronous-unwind-tables",
39453        "-fno-unwind-tables",
39454        "-fstack-protector",
39455        "-fvisibility-inlines-hidden",
39456        "-fvisibility=hidden",
39457        "-g1",
39458    ],
39459    local_include_dirs: [
39460        "./",
39461        "buildtools/third_party/libc++/",
39462        "third_party/abseil-cpp/",
39463        "third_party/libc++/src/include",
39464        "third_party/libc++abi/src/include",
39465    ],
39466    cpp_std: "c++20",
39467    ldflags: [
39468        "-Wl,--as-needed",
39469        "-Wl,--gc-sections",
39470        "-Wl,--icf=all",
39471    ],
39472    target: {
39473        android_arm64: {
39474            cflags: [
39475                "-O2",
39476                "-mno-outline",
39477            ],
39478        },
39479        android_x86: {
39480            cflags: [
39481                "-msse3",
39482            ],
39483        },
39484        android_x86_64: {
39485            cflags: [
39486                "-msse3",
39487            ],
39488        },
39489    },
39490}
39491
39492// GN: //third_party/abseil-cpp/absl/flags:config__testing
39493cc_library_static {
39494    name: "cronet_aml_third_party_abseil_cpp_absl_flags_config__testing",
39495    srcs: [
39496        "third_party/abseil-cpp/absl/flags/usage_config.cc",
39497    ],
39498    defaults: [
39499        "cronet_aml_cc_defaults",
39500    ],
39501    cflags: [
39502        "-DABSL_ALLOCATOR_NOTHROW=1",
39503        "-DABSL_FLAGS_STRIP_NAMES=0",
39504        "-DANDROID",
39505        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39506        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39507        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39508        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39509        "-DHAVE_SYS_UIO_H",
39510        "-DNDEBUG",
39511        "-DNO_UNWIND_TABLES",
39512        "-DNVALGRIND",
39513        "-DOFFICIAL_BUILD",
39514        "-D_GNU_SOURCE",
39515        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39516        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39517        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39518        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39519        "-fdata-sections",
39520        "-ffunction-sections",
39521        "-fno-asynchronous-unwind-tables",
39522        "-fno-unwind-tables",
39523        "-fstack-protector",
39524        "-fvisibility-inlines-hidden",
39525        "-fvisibility=hidden",
39526        "-g1",
39527    ],
39528    local_include_dirs: [
39529        "./",
39530        "buildtools/third_party/libc++/",
39531        "third_party/abseil-cpp/",
39532        "third_party/libc++/src/include",
39533        "third_party/libc++abi/src/include",
39534    ],
39535    cpp_std: "c++20",
39536    ldflags: [
39537        "-Wl,--as-needed",
39538        "-Wl,--gc-sections",
39539        "-Wl,--icf=all",
39540    ],
39541    target: {
39542        android_arm64: {
39543            cflags: [
39544                "-O2",
39545                "-mno-outline",
39546            ],
39547        },
39548        android_x86: {
39549            cflags: [
39550                "-msse3",
39551            ],
39552        },
39553        android_x86_64: {
39554            cflags: [
39555                "-msse3",
39556            ],
39557        },
39558    },
39559}
39560
39561// GN: //third_party/abseil-cpp/absl/flags:flag_internal__testing
39562cc_library_static {
39563    name: "cronet_aml_third_party_abseil_cpp_absl_flags_flag_internal__testing",
39564    srcs: [
39565        "third_party/abseil-cpp/absl/flags/internal/flag.cc",
39566    ],
39567    defaults: [
39568        "cronet_aml_cc_defaults",
39569    ],
39570    cflags: [
39571        "-DABSL_ALLOCATOR_NOTHROW=1",
39572        "-DABSL_FLAGS_STRIP_NAMES=0",
39573        "-DANDROID",
39574        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39575        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39576        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39577        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39578        "-DHAVE_SYS_UIO_H",
39579        "-DNDEBUG",
39580        "-DNO_UNWIND_TABLES",
39581        "-DNVALGRIND",
39582        "-DOFFICIAL_BUILD",
39583        "-D_GNU_SOURCE",
39584        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39585        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39586        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39587        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39588        "-fdata-sections",
39589        "-ffunction-sections",
39590        "-fno-asynchronous-unwind-tables",
39591        "-fno-unwind-tables",
39592        "-fstack-protector",
39593        "-fvisibility-inlines-hidden",
39594        "-fvisibility=hidden",
39595        "-g1",
39596    ],
39597    local_include_dirs: [
39598        "./",
39599        "buildtools/third_party/libc++/",
39600        "third_party/abseil-cpp/",
39601        "third_party/libc++/src/include",
39602        "third_party/libc++abi/src/include",
39603    ],
39604    cpp_std: "c++20",
39605    ldflags: [
39606        "-Wl,--as-needed",
39607        "-Wl,--gc-sections",
39608        "-Wl,--icf=all",
39609    ],
39610    target: {
39611        android_arm64: {
39612            cflags: [
39613                "-O2",
39614                "-mno-outline",
39615            ],
39616        },
39617        android_x86: {
39618            cflags: [
39619                "-msse3",
39620            ],
39621        },
39622        android_x86_64: {
39623            cflags: [
39624                "-msse3",
39625            ],
39626        },
39627    },
39628}
39629
39630// GN: //third_party/abseil-cpp/absl/flags:marshalling__testing
39631cc_library_static {
39632    name: "cronet_aml_third_party_abseil_cpp_absl_flags_marshalling__testing",
39633    srcs: [
39634        "third_party/abseil-cpp/absl/flags/marshalling.cc",
39635    ],
39636    defaults: [
39637        "cronet_aml_cc_defaults",
39638    ],
39639    cflags: [
39640        "-DABSL_ALLOCATOR_NOTHROW=1",
39641        "-DANDROID",
39642        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39643        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39644        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39645        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39646        "-DHAVE_SYS_UIO_H",
39647        "-DNDEBUG",
39648        "-DNO_UNWIND_TABLES",
39649        "-DNVALGRIND",
39650        "-DOFFICIAL_BUILD",
39651        "-D_GNU_SOURCE",
39652        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39653        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39654        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39655        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39656        "-fdata-sections",
39657        "-ffunction-sections",
39658        "-fno-asynchronous-unwind-tables",
39659        "-fno-unwind-tables",
39660        "-fstack-protector",
39661        "-fvisibility-inlines-hidden",
39662        "-fvisibility=hidden",
39663        "-g1",
39664    ],
39665    local_include_dirs: [
39666        "./",
39667        "buildtools/third_party/libc++/",
39668        "third_party/abseil-cpp/",
39669        "third_party/libc++/src/include",
39670        "third_party/libc++abi/src/include",
39671    ],
39672    cpp_std: "c++20",
39673    ldflags: [
39674        "-Wl,--as-needed",
39675        "-Wl,--gc-sections",
39676        "-Wl,--icf=all",
39677    ],
39678    target: {
39679        android_arm64: {
39680            cflags: [
39681                "-O2",
39682                "-mno-outline",
39683            ],
39684        },
39685        android_x86: {
39686            cflags: [
39687                "-msse3",
39688            ],
39689        },
39690        android_x86_64: {
39691            cflags: [
39692                "-msse3",
39693            ],
39694        },
39695    },
39696}
39697
39698// GN: //third_party/abseil-cpp/absl/flags:parse__testing
39699cc_library_static {
39700    name: "cronet_aml_third_party_abseil_cpp_absl_flags_parse__testing",
39701    srcs: [
39702        "third_party/abseil-cpp/absl/flags/parse.cc",
39703    ],
39704    defaults: [
39705        "cronet_aml_cc_defaults",
39706    ],
39707    cflags: [
39708        "-DABSL_ALLOCATOR_NOTHROW=1",
39709        "-DABSL_FLAGS_STRIP_NAMES=0",
39710        "-DANDROID",
39711        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39712        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39713        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39714        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39715        "-DHAVE_SYS_UIO_H",
39716        "-DNDEBUG",
39717        "-DNO_UNWIND_TABLES",
39718        "-DNVALGRIND",
39719        "-DOFFICIAL_BUILD",
39720        "-D_GNU_SOURCE",
39721        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39722        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39723        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39724        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39725        "-fdata-sections",
39726        "-ffunction-sections",
39727        "-fno-asynchronous-unwind-tables",
39728        "-fno-unwind-tables",
39729        "-fstack-protector",
39730        "-fvisibility-inlines-hidden",
39731        "-fvisibility=hidden",
39732        "-g1",
39733    ],
39734    local_include_dirs: [
39735        "./",
39736        "buildtools/third_party/libc++/",
39737        "third_party/abseil-cpp/",
39738        "third_party/libc++/src/include",
39739        "third_party/libc++abi/src/include",
39740    ],
39741    cpp_std: "c++20",
39742    ldflags: [
39743        "-Wl,--as-needed",
39744        "-Wl,--gc-sections",
39745        "-Wl,--icf=all",
39746    ],
39747    target: {
39748        android_arm64: {
39749            cflags: [
39750                "-O2",
39751                "-mno-outline",
39752            ],
39753        },
39754        android_x86: {
39755            cflags: [
39756                "-msse3",
39757            ],
39758        },
39759        android_x86_64: {
39760            cflags: [
39761                "-msse3",
39762            ],
39763        },
39764    },
39765}
39766
39767// GN: //third_party/abseil-cpp/absl/flags:private_handle_accessor__testing
39768cc_library_static {
39769    name: "cronet_aml_third_party_abseil_cpp_absl_flags_private_handle_accessor__testing",
39770    srcs: [
39771        "third_party/abseil-cpp/absl/flags/internal/private_handle_accessor.cc",
39772    ],
39773    defaults: [
39774        "cronet_aml_cc_defaults",
39775    ],
39776    cflags: [
39777        "-DABSL_ALLOCATOR_NOTHROW=1",
39778        "-DANDROID",
39779        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39780        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39781        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39782        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39783        "-DHAVE_SYS_UIO_H",
39784        "-DNDEBUG",
39785        "-DNO_UNWIND_TABLES",
39786        "-DNVALGRIND",
39787        "-DOFFICIAL_BUILD",
39788        "-D_GNU_SOURCE",
39789        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39790        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39791        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39792        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39793        "-fdata-sections",
39794        "-ffunction-sections",
39795        "-fno-asynchronous-unwind-tables",
39796        "-fno-unwind-tables",
39797        "-fstack-protector",
39798        "-fvisibility-inlines-hidden",
39799        "-fvisibility=hidden",
39800        "-g1",
39801    ],
39802    local_include_dirs: [
39803        "./",
39804        "buildtools/third_party/libc++/",
39805        "third_party/abseil-cpp/",
39806        "third_party/libc++/src/include",
39807        "third_party/libc++abi/src/include",
39808    ],
39809    cpp_std: "c++20",
39810    ldflags: [
39811        "-Wl,--as-needed",
39812        "-Wl,--gc-sections",
39813        "-Wl,--icf=all",
39814    ],
39815    target: {
39816        android_arm64: {
39817            cflags: [
39818                "-O2",
39819                "-mno-outline",
39820            ],
39821        },
39822        android_x86: {
39823            cflags: [
39824                "-msse3",
39825            ],
39826        },
39827        android_x86_64: {
39828            cflags: [
39829                "-msse3",
39830            ],
39831        },
39832    },
39833}
39834
39835// GN: //third_party/abseil-cpp/absl/flags:program_name__testing
39836cc_library_static {
39837    name: "cronet_aml_third_party_abseil_cpp_absl_flags_program_name__testing",
39838    srcs: [
39839        "third_party/abseil-cpp/absl/flags/internal/program_name.cc",
39840    ],
39841    defaults: [
39842        "cronet_aml_cc_defaults",
39843    ],
39844    cflags: [
39845        "-DABSL_ALLOCATOR_NOTHROW=1",
39846        "-DANDROID",
39847        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39848        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39849        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39850        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39851        "-DHAVE_SYS_UIO_H",
39852        "-DNDEBUG",
39853        "-DNO_UNWIND_TABLES",
39854        "-DNVALGRIND",
39855        "-DOFFICIAL_BUILD",
39856        "-D_GNU_SOURCE",
39857        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39858        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39859        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39860        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39861        "-fdata-sections",
39862        "-ffunction-sections",
39863        "-fno-asynchronous-unwind-tables",
39864        "-fno-unwind-tables",
39865        "-fstack-protector",
39866        "-fvisibility-inlines-hidden",
39867        "-fvisibility=hidden",
39868        "-g1",
39869    ],
39870    local_include_dirs: [
39871        "./",
39872        "buildtools/third_party/libc++/",
39873        "third_party/abseil-cpp/",
39874        "third_party/libc++/src/include",
39875        "third_party/libc++abi/src/include",
39876    ],
39877    cpp_std: "c++20",
39878    ldflags: [
39879        "-Wl,--as-needed",
39880        "-Wl,--gc-sections",
39881        "-Wl,--icf=all",
39882    ],
39883    target: {
39884        android_arm64: {
39885            cflags: [
39886                "-O2",
39887                "-mno-outline",
39888            ],
39889        },
39890        android_x86: {
39891            cflags: [
39892                "-msse3",
39893            ],
39894        },
39895        android_x86_64: {
39896            cflags: [
39897                "-msse3",
39898            ],
39899        },
39900    },
39901}
39902
39903// GN: //third_party/abseil-cpp/absl/flags:reflection__testing
39904cc_library_static {
39905    name: "cronet_aml_third_party_abseil_cpp_absl_flags_reflection__testing",
39906    srcs: [
39907        "third_party/abseil-cpp/absl/flags/reflection.cc",
39908    ],
39909    defaults: [
39910        "cronet_aml_cc_defaults",
39911    ],
39912    cflags: [
39913        "-DABSL_ALLOCATOR_NOTHROW=1",
39914        "-DABSL_FLAGS_STRIP_NAMES=0",
39915        "-DANDROID",
39916        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39917        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39918        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39919        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39920        "-DHAVE_SYS_UIO_H",
39921        "-DNDEBUG",
39922        "-DNO_UNWIND_TABLES",
39923        "-DNVALGRIND",
39924        "-DOFFICIAL_BUILD",
39925        "-D_GNU_SOURCE",
39926        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39927        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39928        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39929        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39930        "-fdata-sections",
39931        "-ffunction-sections",
39932        "-fno-asynchronous-unwind-tables",
39933        "-fno-unwind-tables",
39934        "-fstack-protector",
39935        "-fvisibility-inlines-hidden",
39936        "-fvisibility=hidden",
39937        "-g1",
39938    ],
39939    local_include_dirs: [
39940        "./",
39941        "buildtools/third_party/libc++/",
39942        "third_party/abseil-cpp/",
39943        "third_party/libc++/src/include",
39944        "third_party/libc++abi/src/include",
39945    ],
39946    cpp_std: "c++20",
39947    ldflags: [
39948        "-Wl,--as-needed",
39949        "-Wl,--gc-sections",
39950        "-Wl,--icf=all",
39951    ],
39952    target: {
39953        android_arm64: {
39954            cflags: [
39955                "-O2",
39956                "-mno-outline",
39957            ],
39958        },
39959        android_x86: {
39960            cflags: [
39961                "-msse3",
39962            ],
39963        },
39964        android_x86_64: {
39965            cflags: [
39966                "-msse3",
39967            ],
39968        },
39969    },
39970}
39971
39972// GN: //third_party/abseil-cpp/absl/flags:usage__testing
39973cc_library_static {
39974    name: "cronet_aml_third_party_abseil_cpp_absl_flags_usage__testing",
39975    srcs: [
39976        "third_party/abseil-cpp/absl/flags/usage.cc",
39977    ],
39978    defaults: [
39979        "cronet_aml_cc_defaults",
39980    ],
39981    cflags: [
39982        "-DABSL_ALLOCATOR_NOTHROW=1",
39983        "-DANDROID",
39984        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
39985        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
39986        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
39987        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
39988        "-DHAVE_SYS_UIO_H",
39989        "-DNDEBUG",
39990        "-DNO_UNWIND_TABLES",
39991        "-DNVALGRIND",
39992        "-DOFFICIAL_BUILD",
39993        "-D_GNU_SOURCE",
39994        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
39995        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
39996        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
39997        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
39998        "-fdata-sections",
39999        "-ffunction-sections",
40000        "-fno-asynchronous-unwind-tables",
40001        "-fno-unwind-tables",
40002        "-fstack-protector",
40003        "-fvisibility-inlines-hidden",
40004        "-fvisibility=hidden",
40005        "-g1",
40006    ],
40007    local_include_dirs: [
40008        "./",
40009        "buildtools/third_party/libc++/",
40010        "third_party/abseil-cpp/",
40011        "third_party/libc++/src/include",
40012        "third_party/libc++abi/src/include",
40013    ],
40014    cpp_std: "c++20",
40015    ldflags: [
40016        "-Wl,--as-needed",
40017        "-Wl,--gc-sections",
40018        "-Wl,--icf=all",
40019    ],
40020    target: {
40021        android_arm64: {
40022            cflags: [
40023                "-O2",
40024                "-mno-outline",
40025            ],
40026        },
40027        android_x86: {
40028            cflags: [
40029                "-msse3",
40030            ],
40031        },
40032        android_x86_64: {
40033            cflags: [
40034                "-msse3",
40035            ],
40036        },
40037    },
40038}
40039
40040// GN: //third_party/abseil-cpp/absl/flags:usage_internal__testing
40041cc_library_static {
40042    name: "cronet_aml_third_party_abseil_cpp_absl_flags_usage_internal__testing",
40043    srcs: [
40044        "third_party/abseil-cpp/absl/flags/internal/usage.cc",
40045    ],
40046    defaults: [
40047        "cronet_aml_cc_defaults",
40048    ],
40049    cflags: [
40050        "-DABSL_ALLOCATOR_NOTHROW=1",
40051        "-DABSL_FLAGS_STRIP_NAMES=0",
40052        "-DANDROID",
40053        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40054        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40055        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40056        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40057        "-DHAVE_SYS_UIO_H",
40058        "-DNDEBUG",
40059        "-DNO_UNWIND_TABLES",
40060        "-DNVALGRIND",
40061        "-DOFFICIAL_BUILD",
40062        "-D_GNU_SOURCE",
40063        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40064        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40065        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40066        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40067        "-fdata-sections",
40068        "-ffunction-sections",
40069        "-fno-asynchronous-unwind-tables",
40070        "-fno-unwind-tables",
40071        "-fstack-protector",
40072        "-fvisibility-inlines-hidden",
40073        "-fvisibility=hidden",
40074        "-g1",
40075    ],
40076    local_include_dirs: [
40077        "./",
40078        "buildtools/third_party/libc++/",
40079        "third_party/abseil-cpp/",
40080        "third_party/libc++/src/include",
40081        "third_party/libc++abi/src/include",
40082    ],
40083    cpp_std: "c++20",
40084    ldflags: [
40085        "-Wl,--as-needed",
40086        "-Wl,--gc-sections",
40087        "-Wl,--icf=all",
40088    ],
40089    target: {
40090        android_arm64: {
40091            cflags: [
40092                "-O2",
40093                "-mno-outline",
40094            ],
40095        },
40096        android_x86: {
40097            cflags: [
40098                "-msse3",
40099            ],
40100        },
40101        android_x86_64: {
40102            cflags: [
40103                "-msse3",
40104            ],
40105        },
40106    },
40107}
40108
40109// GN: //third_party/abseil-cpp:absl_full__testing
40110cc_library_static {
40111    name: "cronet_aml_third_party_abseil_cpp_absl_full__testing",
40112    shared_libs: [
40113        "liblog",
40114    ],
40115    generated_headers: [
40116        "cronet_aml_build_chromeos_buildflags__testing",
40117    ],
40118    export_generated_headers: [
40119        "cronet_aml_build_chromeos_buildflags__testing",
40120    ],
40121    defaults: [
40122        "cronet_aml_cc_defaults",
40123    ],
40124    cflags: [
40125        "-DABSL_FLAGS_STRIP_NAMES=0",
40126        "-DANDROID",
40127        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40128        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40129        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40130        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40131        "-DHAVE_SYS_UIO_H",
40132        "-DNDEBUG",
40133        "-DNO_UNWIND_TABLES",
40134        "-DNVALGRIND",
40135        "-DOFFICIAL_BUILD",
40136        "-D_GNU_SOURCE",
40137        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40138        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40139        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40140        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40141        "-D__STDC_CONSTANT_MACROS",
40142        "-D__STDC_FORMAT_MACROS",
40143        "-fdata-sections",
40144        "-ffunction-sections",
40145        "-fno-asynchronous-unwind-tables",
40146        "-fno-unwind-tables",
40147        "-fstack-protector",
40148        "-fvisibility-inlines-hidden",
40149        "-fvisibility=hidden",
40150        "-g1",
40151    ],
40152    local_include_dirs: [
40153        "./",
40154        "buildtools/third_party/libc++/",
40155        "third_party/abseil-cpp/",
40156        "third_party/libc++/src/include",
40157        "third_party/libc++abi/src/include",
40158    ],
40159    cpp_std: "c++20",
40160    ldflags: [
40161        "-Wl,--as-needed",
40162        "-Wl,--gc-sections",
40163        "-Wl,--icf=all",
40164    ],
40165    target: {
40166        android_arm: {
40167            cflags: [
40168                "-D_FORTIFY_SOURCE=2",
40169            ],
40170        },
40171        android_arm64: {
40172            cflags: [
40173                "-D_FORTIFY_SOURCE=2",
40174                "-O2",
40175                "-mno-outline",
40176            ],
40177        },
40178        android_x86: {
40179            cflags: [
40180                "-D_FORTIFY_SOURCE=2",
40181                "-msse3",
40182            ],
40183        },
40184        android_x86_64: {
40185            cflags: [
40186                "-D_FORTIFY_SOURCE=2",
40187                "-msse3",
40188            ],
40189        },
40190    },
40191}
40192
40193// GN: //third_party/abseil-cpp/absl/hash:city
40194cc_library_static {
40195    name: "cronet_aml_third_party_abseil_cpp_absl_hash_city",
40196    srcs: [
40197        "third_party/abseil-cpp/absl/hash/internal/city.cc",
40198    ],
40199    defaults: [
40200        "cronet_aml_cc_defaults",
40201    ],
40202    cflags: [
40203        "-DABSL_ALLOCATOR_NOTHROW=1",
40204        "-DANDROID",
40205        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40206        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40207        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40208        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40209        "-DHAVE_SYS_UIO_H",
40210        "-DNDEBUG",
40211        "-DNO_UNWIND_TABLES",
40212        "-DNVALGRIND",
40213        "-DOFFICIAL_BUILD",
40214        "-D_GNU_SOURCE",
40215        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40216        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40217        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40218        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40219        "-fdata-sections",
40220        "-ffunction-sections",
40221        "-fno-asynchronous-unwind-tables",
40222        "-fno-unwind-tables",
40223        "-fstack-protector",
40224        "-fvisibility-inlines-hidden",
40225        "-fvisibility=hidden",
40226        "-g1",
40227    ],
40228    local_include_dirs: [
40229        "./",
40230        "buildtools/third_party/libc++/",
40231        "third_party/abseil-cpp/",
40232        "third_party/libc++/src/include",
40233        "third_party/libc++abi/src/include",
40234    ],
40235    cpp_std: "c++20",
40236    ldflags: [
40237        "-Wl,--as-needed",
40238        "-Wl,--gc-sections",
40239        "-Wl,--icf=all",
40240    ],
40241    target: {
40242        android_arm64: {
40243            cflags: [
40244                "-O2",
40245                "-mno-outline",
40246            ],
40247        },
40248        android_x86: {
40249            cflags: [
40250                "-msse3",
40251            ],
40252        },
40253        android_x86_64: {
40254            cflags: [
40255                "-msse3",
40256            ],
40257        },
40258    },
40259}
40260
40261// GN: //third_party/abseil-cpp/absl/hash:city__testing
40262cc_library_static {
40263    name: "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
40264    srcs: [
40265        "third_party/abseil-cpp/absl/hash/internal/city.cc",
40266    ],
40267    host_supported: true,
40268    defaults: [
40269        "cronet_aml_cc_defaults",
40270    ],
40271    cflags: [
40272        "-DABSL_ALLOCATOR_NOTHROW=1",
40273        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40274        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40275        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40276        "-DNDEBUG",
40277        "-DNO_UNWIND_TABLES",
40278        "-DNVALGRIND",
40279        "-DOFFICIAL_BUILD",
40280        "-D_GNU_SOURCE",
40281        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40282        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40283        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40284        "-fdata-sections",
40285        "-ffunction-sections",
40286        "-fno-asynchronous-unwind-tables",
40287        "-fno-unwind-tables",
40288        "-fstack-protector",
40289        "-fvisibility-inlines-hidden",
40290        "-fvisibility=hidden",
40291        "-g1",
40292    ],
40293    local_include_dirs: [
40294        "./",
40295        "buildtools/third_party/libc++/",
40296        "third_party/abseil-cpp/",
40297        "third_party/libc++/src/include",
40298        "third_party/libc++abi/src/include",
40299    ],
40300    cpp_std: "c++20",
40301    ldflags: [
40302        "-Wl,--as-needed",
40303        "-Wl,--gc-sections",
40304        "-Wl,--icf=all",
40305    ],
40306    target: {
40307        android_arm: {
40308            cflags: [
40309                "-DANDROID",
40310                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40311                "-DHAVE_SYS_UIO_H",
40312                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40313            ],
40314        },
40315        android_arm64: {
40316            cflags: [
40317                "-DANDROID",
40318                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40319                "-DHAVE_SYS_UIO_H",
40320                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40321                "-O2",
40322                "-mno-outline",
40323            ],
40324        },
40325        android_riscv64: {
40326            cflags: [
40327                "-DANDROID",
40328                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40329                "-DHAVE_SYS_UIO_H",
40330                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40331            ],
40332        },
40333        android_x86: {
40334            cflags: [
40335                "-DANDROID",
40336                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40337                "-DHAVE_SYS_UIO_H",
40338                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40339                "-msse3",
40340            ],
40341        },
40342        android_x86_64: {
40343            cflags: [
40344                "-DANDROID",
40345                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40346                "-DHAVE_SYS_UIO_H",
40347                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40348                "-msse3",
40349            ],
40350        },
40351        host: {
40352            cflags: [
40353                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
40354                "-DUSE_AURA=1",
40355                "-DUSE_OZONE=1",
40356                "-DUSE_UDEV",
40357                "-D_FILE_OFFSET_BITS=64",
40358                "-D_LARGEFILE64_SOURCE",
40359                "-D_LARGEFILE_SOURCE",
40360                "-O2",
40361                "-msse3",
40362            ],
40363            compile_multilib: "64",
40364        },
40365    },
40366}
40367
40368// GN: //third_party/abseil-cpp/absl/hash:hash
40369cc_library_static {
40370    name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash",
40371    srcs: [
40372        "third_party/abseil-cpp/absl/hash/internal/hash.cc",
40373    ],
40374    defaults: [
40375        "cronet_aml_cc_defaults",
40376    ],
40377    cflags: [
40378        "-DABSL_ALLOCATOR_NOTHROW=1",
40379        "-DANDROID",
40380        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40381        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40382        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40383        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40384        "-DHAVE_SYS_UIO_H",
40385        "-DNDEBUG",
40386        "-DNO_UNWIND_TABLES",
40387        "-DNVALGRIND",
40388        "-DOFFICIAL_BUILD",
40389        "-D_GNU_SOURCE",
40390        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40391        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40392        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40393        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40394        "-fdata-sections",
40395        "-ffunction-sections",
40396        "-fno-asynchronous-unwind-tables",
40397        "-fno-unwind-tables",
40398        "-fstack-protector",
40399        "-fvisibility-inlines-hidden",
40400        "-fvisibility=hidden",
40401        "-g1",
40402    ],
40403    local_include_dirs: [
40404        "./",
40405        "buildtools/third_party/libc++/",
40406        "third_party/abseil-cpp/",
40407        "third_party/libc++/src/include",
40408        "third_party/libc++abi/src/include",
40409    ],
40410    cpp_std: "c++20",
40411    ldflags: [
40412        "-Wl,--as-needed",
40413        "-Wl,--gc-sections",
40414        "-Wl,--icf=all",
40415    ],
40416    target: {
40417        android_arm64: {
40418            cflags: [
40419                "-O2",
40420                "-mno-outline",
40421            ],
40422        },
40423        android_x86: {
40424            cflags: [
40425                "-msse3",
40426            ],
40427        },
40428        android_x86_64: {
40429            cflags: [
40430                "-msse3",
40431            ],
40432        },
40433    },
40434}
40435
40436// GN: //third_party/abseil-cpp/absl/hash:hash__testing
40437cc_library_static {
40438    name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
40439    srcs: [
40440        "third_party/abseil-cpp/absl/hash/internal/hash.cc",
40441    ],
40442    host_supported: true,
40443    defaults: [
40444        "cronet_aml_cc_defaults",
40445    ],
40446    cflags: [
40447        "-DABSL_ALLOCATOR_NOTHROW=1",
40448        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40449        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40450        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40451        "-DNDEBUG",
40452        "-DNO_UNWIND_TABLES",
40453        "-DNVALGRIND",
40454        "-DOFFICIAL_BUILD",
40455        "-D_GNU_SOURCE",
40456        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40457        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40458        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40459        "-fdata-sections",
40460        "-ffunction-sections",
40461        "-fno-asynchronous-unwind-tables",
40462        "-fno-unwind-tables",
40463        "-fstack-protector",
40464        "-fvisibility-inlines-hidden",
40465        "-fvisibility=hidden",
40466        "-g1",
40467    ],
40468    local_include_dirs: [
40469        "./",
40470        "buildtools/third_party/libc++/",
40471        "third_party/abseil-cpp/",
40472        "third_party/libc++/src/include",
40473        "third_party/libc++abi/src/include",
40474    ],
40475    cpp_std: "c++20",
40476    ldflags: [
40477        "-Wl,--as-needed",
40478        "-Wl,--gc-sections",
40479        "-Wl,--icf=all",
40480    ],
40481    target: {
40482        android_arm: {
40483            cflags: [
40484                "-DANDROID",
40485                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40486                "-DHAVE_SYS_UIO_H",
40487                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40488            ],
40489        },
40490        android_arm64: {
40491            cflags: [
40492                "-DANDROID",
40493                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40494                "-DHAVE_SYS_UIO_H",
40495                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40496                "-O2",
40497                "-mno-outline",
40498            ],
40499        },
40500        android_riscv64: {
40501            cflags: [
40502                "-DANDROID",
40503                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40504                "-DHAVE_SYS_UIO_H",
40505                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40506            ],
40507        },
40508        android_x86: {
40509            cflags: [
40510                "-DANDROID",
40511                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40512                "-DHAVE_SYS_UIO_H",
40513                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40514                "-msse3",
40515            ],
40516        },
40517        android_x86_64: {
40518            cflags: [
40519                "-DANDROID",
40520                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40521                "-DHAVE_SYS_UIO_H",
40522                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40523                "-msse3",
40524            ],
40525        },
40526        host: {
40527            cflags: [
40528                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
40529                "-DUSE_AURA=1",
40530                "-DUSE_OZONE=1",
40531                "-DUSE_UDEV",
40532                "-D_FILE_OFFSET_BITS=64",
40533                "-D_LARGEFILE64_SOURCE",
40534                "-D_LARGEFILE_SOURCE",
40535                "-O2",
40536                "-msse3",
40537            ],
40538            compile_multilib: "64",
40539        },
40540    },
40541}
40542
40543// GN: //third_party/abseil-cpp/absl/hash:low_level_hash
40544cc_library_static {
40545    name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
40546    srcs: [
40547        "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
40548    ],
40549    defaults: [
40550        "cronet_aml_cc_defaults",
40551    ],
40552    cflags: [
40553        "-DABSL_ALLOCATOR_NOTHROW=1",
40554        "-DANDROID",
40555        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40556        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40557        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40558        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40559        "-DHAVE_SYS_UIO_H",
40560        "-DNDEBUG",
40561        "-DNO_UNWIND_TABLES",
40562        "-DNVALGRIND",
40563        "-DOFFICIAL_BUILD",
40564        "-D_GNU_SOURCE",
40565        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40566        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40567        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40568        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40569        "-fdata-sections",
40570        "-ffunction-sections",
40571        "-fno-asynchronous-unwind-tables",
40572        "-fno-unwind-tables",
40573        "-fstack-protector",
40574        "-fvisibility-inlines-hidden",
40575        "-fvisibility=hidden",
40576        "-g1",
40577    ],
40578    local_include_dirs: [
40579        "./",
40580        "buildtools/third_party/libc++/",
40581        "third_party/abseil-cpp/",
40582        "third_party/libc++/src/include",
40583        "third_party/libc++abi/src/include",
40584    ],
40585    cpp_std: "c++20",
40586    ldflags: [
40587        "-Wl,--as-needed",
40588        "-Wl,--gc-sections",
40589        "-Wl,--icf=all",
40590    ],
40591    target: {
40592        android_arm64: {
40593            cflags: [
40594                "-O2",
40595                "-mno-outline",
40596            ],
40597        },
40598        android_x86: {
40599            cflags: [
40600                "-msse3",
40601            ],
40602        },
40603        android_x86_64: {
40604            cflags: [
40605                "-msse3",
40606            ],
40607        },
40608    },
40609}
40610
40611// GN: //third_party/abseil-cpp/absl/hash:low_level_hash__testing
40612cc_library_static {
40613    name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
40614    srcs: [
40615        "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
40616    ],
40617    host_supported: true,
40618    defaults: [
40619        "cronet_aml_cc_defaults",
40620    ],
40621    cflags: [
40622        "-DABSL_ALLOCATOR_NOTHROW=1",
40623        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40624        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40625        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40626        "-DNDEBUG",
40627        "-DNO_UNWIND_TABLES",
40628        "-DNVALGRIND",
40629        "-DOFFICIAL_BUILD",
40630        "-D_GNU_SOURCE",
40631        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40632        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40633        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40634        "-fdata-sections",
40635        "-ffunction-sections",
40636        "-fno-asynchronous-unwind-tables",
40637        "-fno-unwind-tables",
40638        "-fstack-protector",
40639        "-fvisibility-inlines-hidden",
40640        "-fvisibility=hidden",
40641        "-g1",
40642    ],
40643    local_include_dirs: [
40644        "./",
40645        "buildtools/third_party/libc++/",
40646        "third_party/abseil-cpp/",
40647        "third_party/libc++/src/include",
40648        "third_party/libc++abi/src/include",
40649    ],
40650    cpp_std: "c++20",
40651    ldflags: [
40652        "-Wl,--as-needed",
40653        "-Wl,--gc-sections",
40654        "-Wl,--icf=all",
40655    ],
40656    target: {
40657        android_arm: {
40658            cflags: [
40659                "-DANDROID",
40660                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40661                "-DHAVE_SYS_UIO_H",
40662                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40663            ],
40664        },
40665        android_arm64: {
40666            cflags: [
40667                "-DANDROID",
40668                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40669                "-DHAVE_SYS_UIO_H",
40670                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40671                "-O2",
40672                "-mno-outline",
40673            ],
40674        },
40675        android_riscv64: {
40676            cflags: [
40677                "-DANDROID",
40678                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40679                "-DHAVE_SYS_UIO_H",
40680                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40681            ],
40682        },
40683        android_x86: {
40684            cflags: [
40685                "-DANDROID",
40686                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40687                "-DHAVE_SYS_UIO_H",
40688                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40689                "-msse3",
40690            ],
40691        },
40692        android_x86_64: {
40693            cflags: [
40694                "-DANDROID",
40695                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40696                "-DHAVE_SYS_UIO_H",
40697                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40698                "-msse3",
40699            ],
40700        },
40701        host: {
40702            cflags: [
40703                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
40704                "-DUSE_AURA=1",
40705                "-DUSE_OZONE=1",
40706                "-DUSE_UDEV",
40707                "-D_FILE_OFFSET_BITS=64",
40708                "-D_LARGEFILE64_SOURCE",
40709                "-D_LARGEFILE_SOURCE",
40710                "-O2",
40711                "-msse3",
40712            ],
40713            compile_multilib: "64",
40714        },
40715    },
40716}
40717
40718// GN: //third_party/abseil-cpp/absl/log:die_if_null
40719cc_library_static {
40720    name: "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null",
40721    srcs: [
40722        "third_party/abseil-cpp/absl/log/die_if_null.cc",
40723    ],
40724    shared_libs: [
40725        "liblog",
40726    ],
40727    defaults: [
40728        "cronet_aml_cc_defaults",
40729    ],
40730    cflags: [
40731        "-DABSL_ALLOCATOR_NOTHROW=1",
40732        "-DANDROID",
40733        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40734        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40735        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40736        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40737        "-DHAVE_SYS_UIO_H",
40738        "-DNDEBUG",
40739        "-DNO_UNWIND_TABLES",
40740        "-DNVALGRIND",
40741        "-DOFFICIAL_BUILD",
40742        "-D_GNU_SOURCE",
40743        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40744        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40745        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40746        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40747        "-fdata-sections",
40748        "-ffunction-sections",
40749        "-fno-asynchronous-unwind-tables",
40750        "-fno-unwind-tables",
40751        "-fstack-protector",
40752        "-fvisibility-inlines-hidden",
40753        "-fvisibility=hidden",
40754        "-g1",
40755    ],
40756    local_include_dirs: [
40757        "./",
40758        "buildtools/third_party/libc++/",
40759        "third_party/abseil-cpp/",
40760        "third_party/libc++/src/include",
40761        "third_party/libc++abi/src/include",
40762    ],
40763    cpp_std: "c++20",
40764    ldflags: [
40765        "-Wl,--as-needed",
40766        "-Wl,--gc-sections",
40767        "-Wl,--icf=all",
40768    ],
40769    target: {
40770        android_arm64: {
40771            cflags: [
40772                "-O2",
40773                "-mno-outline",
40774            ],
40775        },
40776        android_x86: {
40777            cflags: [
40778                "-msse3",
40779            ],
40780        },
40781        android_x86_64: {
40782            cflags: [
40783                "-msse3",
40784            ],
40785        },
40786    },
40787}
40788
40789// GN: //third_party/abseil-cpp/absl/log:die_if_null__testing
40790cc_library_static {
40791    name: "cronet_aml_third_party_abseil_cpp_absl_log_die_if_null__testing",
40792    srcs: [
40793        "third_party/abseil-cpp/absl/log/die_if_null.cc",
40794    ],
40795    host_supported: true,
40796    defaults: [
40797        "cronet_aml_cc_defaults",
40798    ],
40799    cflags: [
40800        "-DABSL_ALLOCATOR_NOTHROW=1",
40801        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40802        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40803        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40804        "-DNDEBUG",
40805        "-DNO_UNWIND_TABLES",
40806        "-DNVALGRIND",
40807        "-DOFFICIAL_BUILD",
40808        "-D_GNU_SOURCE",
40809        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40810        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40811        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40812        "-fdata-sections",
40813        "-ffunction-sections",
40814        "-fno-asynchronous-unwind-tables",
40815        "-fno-unwind-tables",
40816        "-fstack-protector",
40817        "-fvisibility-inlines-hidden",
40818        "-fvisibility=hidden",
40819        "-g1",
40820    ],
40821    local_include_dirs: [
40822        "./",
40823        "buildtools/third_party/libc++/",
40824        "third_party/abseil-cpp/",
40825        "third_party/libc++/src/include",
40826        "third_party/libc++abi/src/include",
40827    ],
40828    cpp_std: "c++20",
40829    ldflags: [
40830        "-Wl,--as-needed",
40831        "-Wl,--gc-sections",
40832        "-Wl,--icf=all",
40833    ],
40834    target: {
40835        android: {
40836            shared_libs: [
40837                "liblog",
40838            ],
40839        },
40840        android_arm: {
40841            cflags: [
40842                "-DANDROID",
40843                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40844                "-DHAVE_SYS_UIO_H",
40845                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40846            ],
40847        },
40848        android_arm64: {
40849            cflags: [
40850                "-DANDROID",
40851                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40852                "-DHAVE_SYS_UIO_H",
40853                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40854                "-O2",
40855                "-mno-outline",
40856            ],
40857        },
40858        android_riscv64: {
40859            cflags: [
40860                "-DANDROID",
40861                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40862                "-DHAVE_SYS_UIO_H",
40863                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40864            ],
40865        },
40866        android_x86: {
40867            cflags: [
40868                "-DANDROID",
40869                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40870                "-DHAVE_SYS_UIO_H",
40871                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40872                "-msse3",
40873            ],
40874        },
40875        android_x86_64: {
40876            cflags: [
40877                "-DANDROID",
40878                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40879                "-DHAVE_SYS_UIO_H",
40880                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40881                "-msse3",
40882            ],
40883        },
40884        host: {
40885            cflags: [
40886                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
40887                "-DUSE_AURA=1",
40888                "-DUSE_OZONE=1",
40889                "-DUSE_UDEV",
40890                "-D_FILE_OFFSET_BITS=64",
40891                "-D_LARGEFILE64_SOURCE",
40892                "-D_LARGEFILE_SOURCE",
40893                "-O2",
40894                "-msse3",
40895            ],
40896            compile_multilib: "64",
40897        },
40898    },
40899}
40900
40901// GN: //third_party/abseil-cpp/absl/log:globals
40902cc_library_static {
40903    name: "cronet_aml_third_party_abseil_cpp_absl_log_globals",
40904    srcs: [
40905        "third_party/abseil-cpp/absl/log/globals.cc",
40906    ],
40907    defaults: [
40908        "cronet_aml_cc_defaults",
40909    ],
40910    cflags: [
40911        "-DABSL_ALLOCATOR_NOTHROW=1",
40912        "-DANDROID",
40913        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
40914        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40915        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40916        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40917        "-DHAVE_SYS_UIO_H",
40918        "-DNDEBUG",
40919        "-DNO_UNWIND_TABLES",
40920        "-DNVALGRIND",
40921        "-DOFFICIAL_BUILD",
40922        "-D_GNU_SOURCE",
40923        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40924        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40925        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40926        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
40927        "-fdata-sections",
40928        "-ffunction-sections",
40929        "-fno-asynchronous-unwind-tables",
40930        "-fno-unwind-tables",
40931        "-fstack-protector",
40932        "-fvisibility-inlines-hidden",
40933        "-fvisibility=hidden",
40934        "-g1",
40935    ],
40936    local_include_dirs: [
40937        "./",
40938        "buildtools/third_party/libc++/",
40939        "third_party/abseil-cpp/",
40940        "third_party/libc++/src/include",
40941        "third_party/libc++abi/src/include",
40942    ],
40943    cpp_std: "c++20",
40944    ldflags: [
40945        "-Wl,--as-needed",
40946        "-Wl,--gc-sections",
40947        "-Wl,--icf=all",
40948    ],
40949    target: {
40950        android_arm64: {
40951            cflags: [
40952                "-O2",
40953                "-mno-outline",
40954            ],
40955        },
40956        android_x86: {
40957            cflags: [
40958                "-msse3",
40959            ],
40960        },
40961        android_x86_64: {
40962            cflags: [
40963                "-msse3",
40964            ],
40965        },
40966    },
40967}
40968
40969// GN: //third_party/abseil-cpp/absl/log:globals__testing
40970cc_library_static {
40971    name: "cronet_aml_third_party_abseil_cpp_absl_log_globals__testing",
40972    srcs: [
40973        "third_party/abseil-cpp/absl/log/globals.cc",
40974    ],
40975    host_supported: true,
40976    defaults: [
40977        "cronet_aml_cc_defaults",
40978    ],
40979    cflags: [
40980        "-DABSL_ALLOCATOR_NOTHROW=1",
40981        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
40982        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
40983        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
40984        "-DNDEBUG",
40985        "-DNO_UNWIND_TABLES",
40986        "-DNVALGRIND",
40987        "-DOFFICIAL_BUILD",
40988        "-D_GNU_SOURCE",
40989        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
40990        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
40991        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
40992        "-fdata-sections",
40993        "-ffunction-sections",
40994        "-fno-asynchronous-unwind-tables",
40995        "-fno-unwind-tables",
40996        "-fstack-protector",
40997        "-fvisibility-inlines-hidden",
40998        "-fvisibility=hidden",
40999        "-g1",
41000    ],
41001    local_include_dirs: [
41002        "./",
41003        "buildtools/third_party/libc++/",
41004        "third_party/abseil-cpp/",
41005        "third_party/libc++/src/include",
41006        "third_party/libc++abi/src/include",
41007    ],
41008    cpp_std: "c++20",
41009    ldflags: [
41010        "-Wl,--as-needed",
41011        "-Wl,--gc-sections",
41012        "-Wl,--icf=all",
41013    ],
41014    target: {
41015        android_arm: {
41016            cflags: [
41017                "-DANDROID",
41018                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41019                "-DHAVE_SYS_UIO_H",
41020                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41021            ],
41022        },
41023        android_arm64: {
41024            cflags: [
41025                "-DANDROID",
41026                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41027                "-DHAVE_SYS_UIO_H",
41028                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41029                "-O2",
41030                "-mno-outline",
41031            ],
41032        },
41033        android_riscv64: {
41034            cflags: [
41035                "-DANDROID",
41036                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41037                "-DHAVE_SYS_UIO_H",
41038                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41039            ],
41040        },
41041        android_x86: {
41042            cflags: [
41043                "-DANDROID",
41044                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41045                "-DHAVE_SYS_UIO_H",
41046                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41047                "-msse3",
41048            ],
41049        },
41050        android_x86_64: {
41051            cflags: [
41052                "-DANDROID",
41053                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41054                "-DHAVE_SYS_UIO_H",
41055                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41056                "-msse3",
41057            ],
41058        },
41059        host: {
41060            cflags: [
41061                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
41062                "-DUSE_AURA=1",
41063                "-DUSE_OZONE=1",
41064                "-DUSE_UDEV",
41065                "-D_FILE_OFFSET_BITS=64",
41066                "-D_LARGEFILE64_SOURCE",
41067                "-D_LARGEFILE_SOURCE",
41068                "-O2",
41069                "-msse3",
41070            ],
41071            compile_multilib: "64",
41072        },
41073    },
41074}
41075
41076// GN: //third_party/abseil-cpp/absl/log:initialize__testing
41077cc_library_static {
41078    name: "cronet_aml_third_party_abseil_cpp_absl_log_initialize__testing",
41079    srcs: [
41080        "third_party/abseil-cpp/absl/log/initialize.cc",
41081    ],
41082    defaults: [
41083        "cronet_aml_cc_defaults",
41084    ],
41085    cflags: [
41086        "-DABSL_ALLOCATOR_NOTHROW=1",
41087        "-DANDROID",
41088        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41089        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41090        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41091        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41092        "-DHAVE_SYS_UIO_H",
41093        "-DNDEBUG",
41094        "-DNO_UNWIND_TABLES",
41095        "-DNVALGRIND",
41096        "-DOFFICIAL_BUILD",
41097        "-D_GNU_SOURCE",
41098        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41099        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41100        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41101        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41102        "-fdata-sections",
41103        "-ffunction-sections",
41104        "-fno-asynchronous-unwind-tables",
41105        "-fno-unwind-tables",
41106        "-fstack-protector",
41107        "-fvisibility-inlines-hidden",
41108        "-fvisibility=hidden",
41109        "-g1",
41110    ],
41111    local_include_dirs: [
41112        "./",
41113        "buildtools/third_party/libc++/",
41114        "third_party/abseil-cpp/",
41115        "third_party/libc++/src/include",
41116        "third_party/libc++abi/src/include",
41117    ],
41118    cpp_std: "c++20",
41119    ldflags: [
41120        "-Wl,--as-needed",
41121        "-Wl,--gc-sections",
41122        "-Wl,--icf=all",
41123    ],
41124    target: {
41125        android_arm64: {
41126            cflags: [
41127                "-O2",
41128                "-mno-outline",
41129            ],
41130        },
41131        android_x86: {
41132            cflags: [
41133                "-msse3",
41134            ],
41135        },
41136        android_x86_64: {
41137            cflags: [
41138                "-msse3",
41139            ],
41140        },
41141    },
41142}
41143
41144// GN: //third_party/abseil-cpp/absl/log/internal:check_op
41145cc_library_static {
41146    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op",
41147    srcs: [
41148        "third_party/abseil-cpp/absl/log/internal/check_op.cc",
41149    ],
41150    shared_libs: [
41151        "liblog",
41152    ],
41153    defaults: [
41154        "cronet_aml_cc_defaults",
41155    ],
41156    cflags: [
41157        "-DABSL_ALLOCATOR_NOTHROW=1",
41158        "-DANDROID",
41159        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41160        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41161        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41162        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41163        "-DHAVE_SYS_UIO_H",
41164        "-DNDEBUG",
41165        "-DNO_UNWIND_TABLES",
41166        "-DNVALGRIND",
41167        "-DOFFICIAL_BUILD",
41168        "-D_GNU_SOURCE",
41169        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41170        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41171        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41172        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41173        "-fdata-sections",
41174        "-ffunction-sections",
41175        "-fno-asynchronous-unwind-tables",
41176        "-fno-unwind-tables",
41177        "-fstack-protector",
41178        "-fvisibility-inlines-hidden",
41179        "-fvisibility=hidden",
41180        "-g1",
41181    ],
41182    local_include_dirs: [
41183        "./",
41184        "buildtools/third_party/libc++/",
41185        "third_party/abseil-cpp/",
41186        "third_party/libc++/src/include",
41187        "third_party/libc++abi/src/include",
41188    ],
41189    cpp_std: "c++20",
41190    ldflags: [
41191        "-Wl,--as-needed",
41192        "-Wl,--gc-sections",
41193        "-Wl,--icf=all",
41194    ],
41195    target: {
41196        android_arm64: {
41197            cflags: [
41198                "-O2",
41199                "-mno-outline",
41200            ],
41201        },
41202        android_x86: {
41203            cflags: [
41204                "-msse3",
41205            ],
41206        },
41207        android_x86_64: {
41208            cflags: [
41209                "-msse3",
41210            ],
41211        },
41212    },
41213}
41214
41215// GN: //third_party/abseil-cpp/absl/log/internal:check_op__testing
41216cc_library_static {
41217    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_check_op__testing",
41218    srcs: [
41219        "third_party/abseil-cpp/absl/log/internal/check_op.cc",
41220    ],
41221    host_supported: true,
41222    defaults: [
41223        "cronet_aml_cc_defaults",
41224    ],
41225    cflags: [
41226        "-DABSL_ALLOCATOR_NOTHROW=1",
41227        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41228        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41229        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41230        "-DNDEBUG",
41231        "-DNO_UNWIND_TABLES",
41232        "-DNVALGRIND",
41233        "-DOFFICIAL_BUILD",
41234        "-D_GNU_SOURCE",
41235        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41236        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41237        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41238        "-fdata-sections",
41239        "-ffunction-sections",
41240        "-fno-asynchronous-unwind-tables",
41241        "-fno-unwind-tables",
41242        "-fstack-protector",
41243        "-fvisibility-inlines-hidden",
41244        "-fvisibility=hidden",
41245        "-g1",
41246    ],
41247    local_include_dirs: [
41248        "./",
41249        "buildtools/third_party/libc++/",
41250        "third_party/abseil-cpp/",
41251        "third_party/libc++/src/include",
41252        "third_party/libc++abi/src/include",
41253    ],
41254    cpp_std: "c++20",
41255    ldflags: [
41256        "-Wl,--as-needed",
41257        "-Wl,--gc-sections",
41258        "-Wl,--icf=all",
41259    ],
41260    target: {
41261        android: {
41262            shared_libs: [
41263                "liblog",
41264            ],
41265        },
41266        android_arm: {
41267            cflags: [
41268                "-DANDROID",
41269                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41270                "-DHAVE_SYS_UIO_H",
41271                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41272            ],
41273        },
41274        android_arm64: {
41275            cflags: [
41276                "-DANDROID",
41277                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41278                "-DHAVE_SYS_UIO_H",
41279                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41280                "-O2",
41281                "-mno-outline",
41282            ],
41283        },
41284        android_riscv64: {
41285            cflags: [
41286                "-DANDROID",
41287                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41288                "-DHAVE_SYS_UIO_H",
41289                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41290            ],
41291        },
41292        android_x86: {
41293            cflags: [
41294                "-DANDROID",
41295                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41296                "-DHAVE_SYS_UIO_H",
41297                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41298                "-msse3",
41299            ],
41300        },
41301        android_x86_64: {
41302            cflags: [
41303                "-DANDROID",
41304                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41305                "-DHAVE_SYS_UIO_H",
41306                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41307                "-msse3",
41308            ],
41309        },
41310        host: {
41311            cflags: [
41312                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
41313                "-DUSE_AURA=1",
41314                "-DUSE_OZONE=1",
41315                "-DUSE_UDEV",
41316                "-D_FILE_OFFSET_BITS=64",
41317                "-D_LARGEFILE64_SOURCE",
41318                "-D_LARGEFILE_SOURCE",
41319                "-O2",
41320                "-msse3",
41321            ],
41322            compile_multilib: "64",
41323        },
41324    },
41325}
41326
41327// GN: //third_party/abseil-cpp/absl/log/internal:conditions
41328cc_library_static {
41329    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions",
41330    srcs: [
41331        "third_party/abseil-cpp/absl/log/internal/conditions.cc",
41332    ],
41333    defaults: [
41334        "cronet_aml_cc_defaults",
41335    ],
41336    cflags: [
41337        "-DABSL_ALLOCATOR_NOTHROW=1",
41338        "-DANDROID",
41339        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41340        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41341        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41342        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41343        "-DHAVE_SYS_UIO_H",
41344        "-DNDEBUG",
41345        "-DNO_UNWIND_TABLES",
41346        "-DNVALGRIND",
41347        "-DOFFICIAL_BUILD",
41348        "-D_GNU_SOURCE",
41349        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41350        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41351        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41352        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41353        "-fdata-sections",
41354        "-ffunction-sections",
41355        "-fno-asynchronous-unwind-tables",
41356        "-fno-unwind-tables",
41357        "-fstack-protector",
41358        "-fvisibility-inlines-hidden",
41359        "-fvisibility=hidden",
41360        "-g1",
41361    ],
41362    local_include_dirs: [
41363        "./",
41364        "buildtools/third_party/libc++/",
41365        "third_party/abseil-cpp/",
41366        "third_party/libc++/src/include",
41367        "third_party/libc++abi/src/include",
41368    ],
41369    cpp_std: "c++20",
41370    ldflags: [
41371        "-Wl,--as-needed",
41372        "-Wl,--gc-sections",
41373        "-Wl,--icf=all",
41374    ],
41375    target: {
41376        android_arm64: {
41377            cflags: [
41378                "-O2",
41379                "-mno-outline",
41380            ],
41381        },
41382        android_x86: {
41383            cflags: [
41384                "-msse3",
41385            ],
41386        },
41387        android_x86_64: {
41388            cflags: [
41389                "-msse3",
41390            ],
41391        },
41392    },
41393}
41394
41395// GN: //third_party/abseil-cpp/absl/log/internal:conditions__testing
41396cc_library_static {
41397    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_conditions__testing",
41398    srcs: [
41399        "third_party/abseil-cpp/absl/log/internal/conditions.cc",
41400    ],
41401    host_supported: true,
41402    defaults: [
41403        "cronet_aml_cc_defaults",
41404    ],
41405    cflags: [
41406        "-DABSL_ALLOCATOR_NOTHROW=1",
41407        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41408        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41409        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41410        "-DNDEBUG",
41411        "-DNO_UNWIND_TABLES",
41412        "-DNVALGRIND",
41413        "-DOFFICIAL_BUILD",
41414        "-D_GNU_SOURCE",
41415        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41416        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41417        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41418        "-fdata-sections",
41419        "-ffunction-sections",
41420        "-fno-asynchronous-unwind-tables",
41421        "-fno-unwind-tables",
41422        "-fstack-protector",
41423        "-fvisibility-inlines-hidden",
41424        "-fvisibility=hidden",
41425        "-g1",
41426    ],
41427    local_include_dirs: [
41428        "./",
41429        "buildtools/third_party/libc++/",
41430        "third_party/abseil-cpp/",
41431        "third_party/libc++/src/include",
41432        "third_party/libc++abi/src/include",
41433    ],
41434    cpp_std: "c++20",
41435    ldflags: [
41436        "-Wl,--as-needed",
41437        "-Wl,--gc-sections",
41438        "-Wl,--icf=all",
41439    ],
41440    target: {
41441        android_arm: {
41442            cflags: [
41443                "-DANDROID",
41444                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41445                "-DHAVE_SYS_UIO_H",
41446                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41447            ],
41448        },
41449        android_arm64: {
41450            cflags: [
41451                "-DANDROID",
41452                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41453                "-DHAVE_SYS_UIO_H",
41454                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41455                "-O2",
41456                "-mno-outline",
41457            ],
41458        },
41459        android_riscv64: {
41460            cflags: [
41461                "-DANDROID",
41462                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41463                "-DHAVE_SYS_UIO_H",
41464                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41465            ],
41466        },
41467        android_x86: {
41468            cflags: [
41469                "-DANDROID",
41470                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41471                "-DHAVE_SYS_UIO_H",
41472                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41473                "-msse3",
41474            ],
41475        },
41476        android_x86_64: {
41477            cflags: [
41478                "-DANDROID",
41479                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41480                "-DHAVE_SYS_UIO_H",
41481                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41482                "-msse3",
41483            ],
41484        },
41485        host: {
41486            cflags: [
41487                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
41488                "-DUSE_AURA=1",
41489                "-DUSE_OZONE=1",
41490                "-DUSE_UDEV",
41491                "-D_FILE_OFFSET_BITS=64",
41492                "-D_LARGEFILE64_SOURCE",
41493                "-D_LARGEFILE_SOURCE",
41494                "-O2",
41495                "-msse3",
41496            ],
41497            compile_multilib: "64",
41498        },
41499    },
41500}
41501
41502// GN: //third_party/abseil-cpp/absl/log/internal:fnmatch
41503cc_library_static {
41504    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_fnmatch",
41505    srcs: [
41506        "third_party/abseil-cpp/absl/log/internal/fnmatch.cc",
41507    ],
41508    defaults: [
41509        "cronet_aml_cc_defaults",
41510    ],
41511    cflags: [
41512        "-DABSL_ALLOCATOR_NOTHROW=1",
41513        "-DANDROID",
41514        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41515        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41516        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41517        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41518        "-DHAVE_SYS_UIO_H",
41519        "-DNDEBUG",
41520        "-DNO_UNWIND_TABLES",
41521        "-DNVALGRIND",
41522        "-DOFFICIAL_BUILD",
41523        "-D_GNU_SOURCE",
41524        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41525        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41526        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41527        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41528        "-fdata-sections",
41529        "-ffunction-sections",
41530        "-fno-asynchronous-unwind-tables",
41531        "-fno-unwind-tables",
41532        "-fstack-protector",
41533        "-fvisibility-inlines-hidden",
41534        "-fvisibility=hidden",
41535        "-g1",
41536    ],
41537    local_include_dirs: [
41538        "./",
41539        "buildtools/third_party/libc++/",
41540        "third_party/abseil-cpp/",
41541        "third_party/libc++/src/include",
41542        "third_party/libc++abi/src/include",
41543    ],
41544    cpp_std: "c++20",
41545    ldflags: [
41546        "-Wl,--as-needed",
41547        "-Wl,--gc-sections",
41548        "-Wl,--icf=all",
41549    ],
41550    target: {
41551        android_arm64: {
41552            cflags: [
41553                "-O2",
41554                "-mno-outline",
41555            ],
41556        },
41557        android_x86: {
41558            cflags: [
41559                "-msse3",
41560            ],
41561        },
41562        android_x86_64: {
41563            cflags: [
41564                "-msse3",
41565            ],
41566        },
41567    },
41568}
41569
41570// GN: //third_party/abseil-cpp/absl/log/internal:fnmatch__testing
41571cc_library_static {
41572    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_fnmatch__testing",
41573    srcs: [
41574        "third_party/abseil-cpp/absl/log/internal/fnmatch.cc",
41575    ],
41576    host_supported: true,
41577    defaults: [
41578        "cronet_aml_cc_defaults",
41579    ],
41580    cflags: [
41581        "-DABSL_ALLOCATOR_NOTHROW=1",
41582        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41583        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41584        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41585        "-DNDEBUG",
41586        "-DNO_UNWIND_TABLES",
41587        "-DNVALGRIND",
41588        "-DOFFICIAL_BUILD",
41589        "-D_GNU_SOURCE",
41590        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41591        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41592        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41593        "-fdata-sections",
41594        "-ffunction-sections",
41595        "-fno-asynchronous-unwind-tables",
41596        "-fno-unwind-tables",
41597        "-fstack-protector",
41598        "-fvisibility-inlines-hidden",
41599        "-fvisibility=hidden",
41600        "-g1",
41601    ],
41602    local_include_dirs: [
41603        "./",
41604        "buildtools/third_party/libc++/",
41605        "third_party/abseil-cpp/",
41606        "third_party/libc++/src/include",
41607        "third_party/libc++abi/src/include",
41608    ],
41609    cpp_std: "c++20",
41610    ldflags: [
41611        "-Wl,--as-needed",
41612        "-Wl,--gc-sections",
41613        "-Wl,--icf=all",
41614    ],
41615    target: {
41616        android_arm: {
41617            cflags: [
41618                "-DANDROID",
41619                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41620                "-DHAVE_SYS_UIO_H",
41621                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41622            ],
41623        },
41624        android_arm64: {
41625            cflags: [
41626                "-DANDROID",
41627                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41628                "-DHAVE_SYS_UIO_H",
41629                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41630                "-O2",
41631                "-mno-outline",
41632            ],
41633        },
41634        android_riscv64: {
41635            cflags: [
41636                "-DANDROID",
41637                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41638                "-DHAVE_SYS_UIO_H",
41639                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41640            ],
41641        },
41642        android_x86: {
41643            cflags: [
41644                "-DANDROID",
41645                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41646                "-DHAVE_SYS_UIO_H",
41647                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41648                "-msse3",
41649            ],
41650        },
41651        android_x86_64: {
41652            cflags: [
41653                "-DANDROID",
41654                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41655                "-DHAVE_SYS_UIO_H",
41656                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41657                "-msse3",
41658            ],
41659        },
41660        host: {
41661            cflags: [
41662                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
41663                "-DUSE_AURA=1",
41664                "-DUSE_OZONE=1",
41665                "-DUSE_UDEV",
41666                "-D_FILE_OFFSET_BITS=64",
41667                "-D_LARGEFILE64_SOURCE",
41668                "-D_LARGEFILE_SOURCE",
41669                "-O2",
41670                "-msse3",
41671            ],
41672            compile_multilib: "64",
41673        },
41674    },
41675}
41676
41677// GN: //third_party/abseil-cpp/absl/log/internal:format
41678cc_library_static {
41679    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_format",
41680    srcs: [
41681        "third_party/abseil-cpp/absl/log/internal/log_format.cc",
41682    ],
41683    defaults: [
41684        "cronet_aml_cc_defaults",
41685    ],
41686    cflags: [
41687        "-DABSL_ALLOCATOR_NOTHROW=1",
41688        "-DANDROID",
41689        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41690        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41691        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41692        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41693        "-DHAVE_SYS_UIO_H",
41694        "-DNDEBUG",
41695        "-DNO_UNWIND_TABLES",
41696        "-DNVALGRIND",
41697        "-DOFFICIAL_BUILD",
41698        "-D_GNU_SOURCE",
41699        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41700        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41701        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41702        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41703        "-fdata-sections",
41704        "-ffunction-sections",
41705        "-fno-asynchronous-unwind-tables",
41706        "-fno-unwind-tables",
41707        "-fstack-protector",
41708        "-fvisibility-inlines-hidden",
41709        "-fvisibility=hidden",
41710        "-g1",
41711    ],
41712    local_include_dirs: [
41713        "./",
41714        "buildtools/third_party/libc++/",
41715        "third_party/abseil-cpp/",
41716        "third_party/libc++/src/include",
41717        "third_party/libc++abi/src/include",
41718    ],
41719    cpp_std: "c++20",
41720    ldflags: [
41721        "-Wl,--as-needed",
41722        "-Wl,--gc-sections",
41723        "-Wl,--icf=all",
41724    ],
41725    target: {
41726        android_arm64: {
41727            cflags: [
41728                "-O2",
41729                "-mno-outline",
41730            ],
41731        },
41732        android_x86: {
41733            cflags: [
41734                "-msse3",
41735            ],
41736        },
41737        android_x86_64: {
41738            cflags: [
41739                "-msse3",
41740            ],
41741        },
41742    },
41743}
41744
41745// GN: //third_party/abseil-cpp/absl/log/internal:format__testing
41746cc_library_static {
41747    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_format__testing",
41748    srcs: [
41749        "third_party/abseil-cpp/absl/log/internal/log_format.cc",
41750    ],
41751    host_supported: true,
41752    defaults: [
41753        "cronet_aml_cc_defaults",
41754    ],
41755    cflags: [
41756        "-DABSL_ALLOCATOR_NOTHROW=1",
41757        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41758        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41759        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41760        "-DNDEBUG",
41761        "-DNO_UNWIND_TABLES",
41762        "-DNVALGRIND",
41763        "-DOFFICIAL_BUILD",
41764        "-D_GNU_SOURCE",
41765        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41766        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41767        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41768        "-fdata-sections",
41769        "-ffunction-sections",
41770        "-fno-asynchronous-unwind-tables",
41771        "-fno-unwind-tables",
41772        "-fstack-protector",
41773        "-fvisibility-inlines-hidden",
41774        "-fvisibility=hidden",
41775        "-g1",
41776    ],
41777    local_include_dirs: [
41778        "./",
41779        "buildtools/third_party/libc++/",
41780        "third_party/abseil-cpp/",
41781        "third_party/libc++/src/include",
41782        "third_party/libc++abi/src/include",
41783    ],
41784    cpp_std: "c++20",
41785    ldflags: [
41786        "-Wl,--as-needed",
41787        "-Wl,--gc-sections",
41788        "-Wl,--icf=all",
41789    ],
41790    target: {
41791        android_arm: {
41792            cflags: [
41793                "-DANDROID",
41794                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41795                "-DHAVE_SYS_UIO_H",
41796                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41797            ],
41798        },
41799        android_arm64: {
41800            cflags: [
41801                "-DANDROID",
41802                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41803                "-DHAVE_SYS_UIO_H",
41804                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41805                "-O2",
41806                "-mno-outline",
41807            ],
41808        },
41809        android_riscv64: {
41810            cflags: [
41811                "-DANDROID",
41812                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41813                "-DHAVE_SYS_UIO_H",
41814                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41815            ],
41816        },
41817        android_x86: {
41818            cflags: [
41819                "-DANDROID",
41820                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41821                "-DHAVE_SYS_UIO_H",
41822                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41823                "-msse3",
41824            ],
41825        },
41826        android_x86_64: {
41827            cflags: [
41828                "-DANDROID",
41829                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41830                "-DHAVE_SYS_UIO_H",
41831                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41832                "-msse3",
41833            ],
41834        },
41835        host: {
41836            cflags: [
41837                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
41838                "-DUSE_AURA=1",
41839                "-DUSE_OZONE=1",
41840                "-DUSE_UDEV",
41841                "-D_FILE_OFFSET_BITS=64",
41842                "-D_LARGEFILE64_SOURCE",
41843                "-D_LARGEFILE_SOURCE",
41844                "-O2",
41845                "-msse3",
41846            ],
41847            compile_multilib: "64",
41848        },
41849    },
41850}
41851
41852// GN: //third_party/abseil-cpp/absl/log/internal:globals
41853cc_library_static {
41854    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals",
41855    srcs: [
41856        "third_party/abseil-cpp/absl/log/internal/globals.cc",
41857    ],
41858    defaults: [
41859        "cronet_aml_cc_defaults",
41860    ],
41861    cflags: [
41862        "-DABSL_ALLOCATOR_NOTHROW=1",
41863        "-DANDROID",
41864        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41865        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41866        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41867        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41868        "-DHAVE_SYS_UIO_H",
41869        "-DNDEBUG",
41870        "-DNO_UNWIND_TABLES",
41871        "-DNVALGRIND",
41872        "-DOFFICIAL_BUILD",
41873        "-D_GNU_SOURCE",
41874        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41875        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41876        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41877        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41878        "-fdata-sections",
41879        "-ffunction-sections",
41880        "-fno-asynchronous-unwind-tables",
41881        "-fno-unwind-tables",
41882        "-fstack-protector",
41883        "-fvisibility-inlines-hidden",
41884        "-fvisibility=hidden",
41885        "-g1",
41886    ],
41887    local_include_dirs: [
41888        "./",
41889        "buildtools/third_party/libc++/",
41890        "third_party/abseil-cpp/",
41891        "third_party/libc++/src/include",
41892        "third_party/libc++abi/src/include",
41893    ],
41894    cpp_std: "c++20",
41895    ldflags: [
41896        "-Wl,--as-needed",
41897        "-Wl,--gc-sections",
41898        "-Wl,--icf=all",
41899    ],
41900    target: {
41901        android_arm64: {
41902            cflags: [
41903                "-O2",
41904                "-mno-outline",
41905            ],
41906        },
41907        android_x86: {
41908            cflags: [
41909                "-msse3",
41910            ],
41911        },
41912        android_x86_64: {
41913            cflags: [
41914                "-msse3",
41915            ],
41916        },
41917    },
41918}
41919
41920// GN: //third_party/abseil-cpp/absl/log/internal:globals__testing
41921cc_library_static {
41922    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_globals__testing",
41923    srcs: [
41924        "third_party/abseil-cpp/absl/log/internal/globals.cc",
41925    ],
41926    host_supported: true,
41927    defaults: [
41928        "cronet_aml_cc_defaults",
41929    ],
41930    cflags: [
41931        "-DABSL_ALLOCATOR_NOTHROW=1",
41932        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
41933        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
41934        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41935        "-DNDEBUG",
41936        "-DNO_UNWIND_TABLES",
41937        "-DNVALGRIND",
41938        "-DOFFICIAL_BUILD",
41939        "-D_GNU_SOURCE",
41940        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
41941        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
41942        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
41943        "-fdata-sections",
41944        "-ffunction-sections",
41945        "-fno-asynchronous-unwind-tables",
41946        "-fno-unwind-tables",
41947        "-fstack-protector",
41948        "-fvisibility-inlines-hidden",
41949        "-fvisibility=hidden",
41950        "-g1",
41951    ],
41952    local_include_dirs: [
41953        "./",
41954        "buildtools/third_party/libc++/",
41955        "third_party/abseil-cpp/",
41956        "third_party/libc++/src/include",
41957        "third_party/libc++abi/src/include",
41958    ],
41959    cpp_std: "c++20",
41960    ldflags: [
41961        "-Wl,--as-needed",
41962        "-Wl,--gc-sections",
41963        "-Wl,--icf=all",
41964    ],
41965    target: {
41966        android_arm: {
41967            cflags: [
41968                "-DANDROID",
41969                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41970                "-DHAVE_SYS_UIO_H",
41971                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41972            ],
41973        },
41974        android_arm64: {
41975            cflags: [
41976                "-DANDROID",
41977                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41978                "-DHAVE_SYS_UIO_H",
41979                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41980                "-O2",
41981                "-mno-outline",
41982            ],
41983        },
41984        android_riscv64: {
41985            cflags: [
41986                "-DANDROID",
41987                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41988                "-DHAVE_SYS_UIO_H",
41989                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41990            ],
41991        },
41992        android_x86: {
41993            cflags: [
41994                "-DANDROID",
41995                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
41996                "-DHAVE_SYS_UIO_H",
41997                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
41998                "-msse3",
41999            ],
42000        },
42001        android_x86_64: {
42002            cflags: [
42003                "-DANDROID",
42004                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42005                "-DHAVE_SYS_UIO_H",
42006                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42007                "-msse3",
42008            ],
42009        },
42010        host: {
42011            cflags: [
42012                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
42013                "-DUSE_AURA=1",
42014                "-DUSE_OZONE=1",
42015                "-DUSE_UDEV",
42016                "-D_FILE_OFFSET_BITS=64",
42017                "-D_LARGEFILE64_SOURCE",
42018                "-D_LARGEFILE_SOURCE",
42019                "-O2",
42020                "-msse3",
42021            ],
42022            compile_multilib: "64",
42023        },
42024    },
42025}
42026
42027// GN: //third_party/abseil-cpp/absl/log/internal:log_message
42028cc_library_static {
42029    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message",
42030    srcs: [
42031        "third_party/abseil-cpp/absl/log/internal/log_message.cc",
42032    ],
42033    shared_libs: [
42034        "liblog",
42035    ],
42036    defaults: [
42037        "cronet_aml_cc_defaults",
42038    ],
42039    cflags: [
42040        "-DABSL_ALLOCATOR_NOTHROW=1",
42041        "-DANDROID",
42042        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42043        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42044        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42045        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42046        "-DHAVE_SYS_UIO_H",
42047        "-DNDEBUG",
42048        "-DNO_UNWIND_TABLES",
42049        "-DNVALGRIND",
42050        "-DOFFICIAL_BUILD",
42051        "-D_GNU_SOURCE",
42052        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42053        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42054        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42055        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42056        "-fdata-sections",
42057        "-ffunction-sections",
42058        "-fno-asynchronous-unwind-tables",
42059        "-fno-unwind-tables",
42060        "-fstack-protector",
42061        "-fvisibility-inlines-hidden",
42062        "-fvisibility=hidden",
42063        "-g1",
42064    ],
42065    local_include_dirs: [
42066        "./",
42067        "buildtools/third_party/libc++/",
42068        "third_party/abseil-cpp/",
42069        "third_party/libc++/src/include",
42070        "third_party/libc++abi/src/include",
42071    ],
42072    cpp_std: "c++20",
42073    ldflags: [
42074        "-Wl,--as-needed",
42075        "-Wl,--gc-sections",
42076        "-Wl,--icf=all",
42077    ],
42078    target: {
42079        android_arm64: {
42080            cflags: [
42081                "-O2",
42082                "-mno-outline",
42083            ],
42084        },
42085        android_x86: {
42086            cflags: [
42087                "-msse3",
42088            ],
42089        },
42090        android_x86_64: {
42091            cflags: [
42092                "-msse3",
42093            ],
42094        },
42095    },
42096}
42097
42098// GN: //third_party/abseil-cpp/absl/log/internal:log_message__testing
42099cc_library_static {
42100    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_message__testing",
42101    srcs: [
42102        "third_party/abseil-cpp/absl/log/internal/log_message.cc",
42103    ],
42104    host_supported: true,
42105    defaults: [
42106        "cronet_aml_cc_defaults",
42107    ],
42108    cflags: [
42109        "-DABSL_ALLOCATOR_NOTHROW=1",
42110        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42111        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42112        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42113        "-DNDEBUG",
42114        "-DNO_UNWIND_TABLES",
42115        "-DNVALGRIND",
42116        "-DOFFICIAL_BUILD",
42117        "-D_GNU_SOURCE",
42118        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42119        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42120        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42121        "-fdata-sections",
42122        "-ffunction-sections",
42123        "-fno-asynchronous-unwind-tables",
42124        "-fno-unwind-tables",
42125        "-fstack-protector",
42126        "-fvisibility-inlines-hidden",
42127        "-fvisibility=hidden",
42128        "-g1",
42129    ],
42130    local_include_dirs: [
42131        "./",
42132        "buildtools/third_party/libc++/",
42133        "third_party/abseil-cpp/",
42134        "third_party/libc++/src/include",
42135        "third_party/libc++abi/src/include",
42136    ],
42137    cpp_std: "c++20",
42138    ldflags: [
42139        "-Wl,--as-needed",
42140        "-Wl,--gc-sections",
42141        "-Wl,--icf=all",
42142    ],
42143    target: {
42144        android: {
42145            shared_libs: [
42146                "liblog",
42147            ],
42148        },
42149        android_arm: {
42150            cflags: [
42151                "-DANDROID",
42152                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42153                "-DHAVE_SYS_UIO_H",
42154                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42155            ],
42156        },
42157        android_arm64: {
42158            cflags: [
42159                "-DANDROID",
42160                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42161                "-DHAVE_SYS_UIO_H",
42162                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42163                "-O2",
42164                "-mno-outline",
42165            ],
42166        },
42167        android_riscv64: {
42168            cflags: [
42169                "-DANDROID",
42170                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42171                "-DHAVE_SYS_UIO_H",
42172                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42173            ],
42174        },
42175        android_x86: {
42176            cflags: [
42177                "-DANDROID",
42178                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42179                "-DHAVE_SYS_UIO_H",
42180                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42181                "-msse3",
42182            ],
42183        },
42184        android_x86_64: {
42185            cflags: [
42186                "-DANDROID",
42187                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42188                "-DHAVE_SYS_UIO_H",
42189                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42190                "-msse3",
42191            ],
42192        },
42193        host: {
42194            cflags: [
42195                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
42196                "-DUSE_AURA=1",
42197                "-DUSE_OZONE=1",
42198                "-DUSE_UDEV",
42199                "-D_FILE_OFFSET_BITS=64",
42200                "-D_LARGEFILE64_SOURCE",
42201                "-D_LARGEFILE_SOURCE",
42202                "-O2",
42203                "-msse3",
42204            ],
42205            compile_multilib: "64",
42206        },
42207    },
42208}
42209
42210// GN: //third_party/abseil-cpp/absl/log/internal:log_sink_set
42211cc_library_static {
42212    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set",
42213    srcs: [
42214        "third_party/abseil-cpp/absl/log/internal/log_sink_set.cc",
42215    ],
42216    shared_libs: [
42217        "liblog",
42218    ],
42219    defaults: [
42220        "cronet_aml_cc_defaults",
42221    ],
42222    cflags: [
42223        "-DABSL_ALLOCATOR_NOTHROW=1",
42224        "-DANDROID",
42225        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42226        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42227        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42228        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42229        "-DHAVE_SYS_UIO_H",
42230        "-DNDEBUG",
42231        "-DNO_UNWIND_TABLES",
42232        "-DNVALGRIND",
42233        "-DOFFICIAL_BUILD",
42234        "-D_GNU_SOURCE",
42235        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42236        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42237        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42238        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42239        "-fdata-sections",
42240        "-ffunction-sections",
42241        "-fno-asynchronous-unwind-tables",
42242        "-fno-unwind-tables",
42243        "-fstack-protector",
42244        "-fvisibility-inlines-hidden",
42245        "-fvisibility=hidden",
42246        "-g1",
42247    ],
42248    local_include_dirs: [
42249        "./",
42250        "buildtools/third_party/libc++/",
42251        "third_party/abseil-cpp/",
42252        "third_party/libc++/src/include",
42253        "third_party/libc++abi/src/include",
42254    ],
42255    cpp_std: "c++20",
42256    ldflags: [
42257        "-Wl,--as-needed",
42258        "-Wl,--gc-sections",
42259        "-Wl,--icf=all",
42260    ],
42261    target: {
42262        android_arm64: {
42263            cflags: [
42264                "-O2",
42265                "-mno-outline",
42266            ],
42267        },
42268        android_x86: {
42269            cflags: [
42270                "-msse3",
42271            ],
42272        },
42273        android_x86_64: {
42274            cflags: [
42275                "-msse3",
42276            ],
42277        },
42278    },
42279}
42280
42281// GN: //third_party/abseil-cpp/absl/log/internal:log_sink_set__testing
42282cc_library_static {
42283    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_log_sink_set__testing",
42284    srcs: [
42285        "third_party/abseil-cpp/absl/log/internal/log_sink_set.cc",
42286    ],
42287    host_supported: true,
42288    defaults: [
42289        "cronet_aml_cc_defaults",
42290    ],
42291    cflags: [
42292        "-DABSL_ALLOCATOR_NOTHROW=1",
42293        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42294        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42295        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42296        "-DNDEBUG",
42297        "-DNO_UNWIND_TABLES",
42298        "-DNVALGRIND",
42299        "-DOFFICIAL_BUILD",
42300        "-D_GNU_SOURCE",
42301        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42302        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42303        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42304        "-fdata-sections",
42305        "-ffunction-sections",
42306        "-fno-asynchronous-unwind-tables",
42307        "-fno-unwind-tables",
42308        "-fstack-protector",
42309        "-fvisibility-inlines-hidden",
42310        "-fvisibility=hidden",
42311        "-g1",
42312    ],
42313    local_include_dirs: [
42314        "./",
42315        "buildtools/third_party/libc++/",
42316        "third_party/abseil-cpp/",
42317        "third_party/libc++/src/include",
42318        "third_party/libc++abi/src/include",
42319    ],
42320    cpp_std: "c++20",
42321    ldflags: [
42322        "-Wl,--as-needed",
42323        "-Wl,--gc-sections",
42324        "-Wl,--icf=all",
42325    ],
42326    target: {
42327        android: {
42328            shared_libs: [
42329                "liblog",
42330            ],
42331        },
42332        android_arm: {
42333            cflags: [
42334                "-DANDROID",
42335                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42336                "-DHAVE_SYS_UIO_H",
42337                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42338            ],
42339        },
42340        android_arm64: {
42341            cflags: [
42342                "-DANDROID",
42343                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42344                "-DHAVE_SYS_UIO_H",
42345                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42346                "-O2",
42347                "-mno-outline",
42348            ],
42349        },
42350        android_riscv64: {
42351            cflags: [
42352                "-DANDROID",
42353                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42354                "-DHAVE_SYS_UIO_H",
42355                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42356            ],
42357        },
42358        android_x86: {
42359            cflags: [
42360                "-DANDROID",
42361                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42362                "-DHAVE_SYS_UIO_H",
42363                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42364                "-msse3",
42365            ],
42366        },
42367        android_x86_64: {
42368            cflags: [
42369                "-DANDROID",
42370                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42371                "-DHAVE_SYS_UIO_H",
42372                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42373                "-msse3",
42374            ],
42375        },
42376        host: {
42377            cflags: [
42378                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
42379                "-DUSE_AURA=1",
42380                "-DUSE_OZONE=1",
42381                "-DUSE_UDEV",
42382                "-D_FILE_OFFSET_BITS=64",
42383                "-D_LARGEFILE64_SOURCE",
42384                "-D_LARGEFILE_SOURCE",
42385                "-O2",
42386                "-msse3",
42387            ],
42388            compile_multilib: "64",
42389        },
42390    },
42391}
42392
42393// GN: //third_party/abseil-cpp/absl/log/internal:nullguard
42394cc_library_static {
42395    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard",
42396    srcs: [
42397        "third_party/abseil-cpp/absl/log/internal/nullguard.cc",
42398    ],
42399    defaults: [
42400        "cronet_aml_cc_defaults",
42401    ],
42402    cflags: [
42403        "-DABSL_ALLOCATOR_NOTHROW=1",
42404        "-DANDROID",
42405        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42406        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42407        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42408        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42409        "-DHAVE_SYS_UIO_H",
42410        "-DNDEBUG",
42411        "-DNO_UNWIND_TABLES",
42412        "-DNVALGRIND",
42413        "-DOFFICIAL_BUILD",
42414        "-D_GNU_SOURCE",
42415        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42416        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42417        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42418        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42419        "-fdata-sections",
42420        "-ffunction-sections",
42421        "-fno-asynchronous-unwind-tables",
42422        "-fno-unwind-tables",
42423        "-fstack-protector",
42424        "-fvisibility-inlines-hidden",
42425        "-fvisibility=hidden",
42426        "-g1",
42427    ],
42428    local_include_dirs: [
42429        "./",
42430        "buildtools/third_party/libc++/",
42431        "third_party/abseil-cpp/",
42432        "third_party/libc++/src/include",
42433        "third_party/libc++abi/src/include",
42434    ],
42435    cpp_std: "c++20",
42436    ldflags: [
42437        "-Wl,--as-needed",
42438        "-Wl,--gc-sections",
42439        "-Wl,--icf=all",
42440    ],
42441    target: {
42442        android_arm64: {
42443            cflags: [
42444                "-O2",
42445                "-mno-outline",
42446            ],
42447        },
42448        android_x86: {
42449            cflags: [
42450                "-msse3",
42451            ],
42452        },
42453        android_x86_64: {
42454            cflags: [
42455                "-msse3",
42456            ],
42457        },
42458    },
42459}
42460
42461// GN: //third_party/abseil-cpp/absl/log/internal:nullguard__testing
42462cc_library_static {
42463    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_nullguard__testing",
42464    srcs: [
42465        "third_party/abseil-cpp/absl/log/internal/nullguard.cc",
42466    ],
42467    host_supported: true,
42468    defaults: [
42469        "cronet_aml_cc_defaults",
42470    ],
42471    cflags: [
42472        "-DABSL_ALLOCATOR_NOTHROW=1",
42473        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42474        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42475        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42476        "-DNDEBUG",
42477        "-DNO_UNWIND_TABLES",
42478        "-DNVALGRIND",
42479        "-DOFFICIAL_BUILD",
42480        "-D_GNU_SOURCE",
42481        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42482        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42483        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42484        "-fdata-sections",
42485        "-ffunction-sections",
42486        "-fno-asynchronous-unwind-tables",
42487        "-fno-unwind-tables",
42488        "-fstack-protector",
42489        "-fvisibility-inlines-hidden",
42490        "-fvisibility=hidden",
42491        "-g1",
42492    ],
42493    local_include_dirs: [
42494        "./",
42495        "buildtools/third_party/libc++/",
42496        "third_party/abseil-cpp/",
42497        "third_party/libc++/src/include",
42498        "third_party/libc++abi/src/include",
42499    ],
42500    cpp_std: "c++20",
42501    ldflags: [
42502        "-Wl,--as-needed",
42503        "-Wl,--gc-sections",
42504        "-Wl,--icf=all",
42505    ],
42506    target: {
42507        android_arm: {
42508            cflags: [
42509                "-DANDROID",
42510                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42511                "-DHAVE_SYS_UIO_H",
42512                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42513            ],
42514        },
42515        android_arm64: {
42516            cflags: [
42517                "-DANDROID",
42518                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42519                "-DHAVE_SYS_UIO_H",
42520                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42521                "-O2",
42522                "-mno-outline",
42523            ],
42524        },
42525        android_riscv64: {
42526            cflags: [
42527                "-DANDROID",
42528                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42529                "-DHAVE_SYS_UIO_H",
42530                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42531            ],
42532        },
42533        android_x86: {
42534            cflags: [
42535                "-DANDROID",
42536                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42537                "-DHAVE_SYS_UIO_H",
42538                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42539                "-msse3",
42540            ],
42541        },
42542        android_x86_64: {
42543            cflags: [
42544                "-DANDROID",
42545                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42546                "-DHAVE_SYS_UIO_H",
42547                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42548                "-msse3",
42549            ],
42550        },
42551        host: {
42552            cflags: [
42553                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
42554                "-DUSE_AURA=1",
42555                "-DUSE_OZONE=1",
42556                "-DUSE_UDEV",
42557                "-D_FILE_OFFSET_BITS=64",
42558                "-D_LARGEFILE64_SOURCE",
42559                "-D_LARGEFILE_SOURCE",
42560                "-O2",
42561                "-msse3",
42562            ],
42563            compile_multilib: "64",
42564        },
42565    },
42566}
42567
42568// GN: //third_party/abseil-cpp/absl/log/internal:proto
42569cc_library_static {
42570    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto",
42571    srcs: [
42572        "third_party/abseil-cpp/absl/log/internal/proto.cc",
42573    ],
42574    defaults: [
42575        "cronet_aml_cc_defaults",
42576    ],
42577    cflags: [
42578        "-DABSL_ALLOCATOR_NOTHROW=1",
42579        "-DANDROID",
42580        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42581        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42582        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42583        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42584        "-DHAVE_SYS_UIO_H",
42585        "-DNDEBUG",
42586        "-DNO_UNWIND_TABLES",
42587        "-DNVALGRIND",
42588        "-DOFFICIAL_BUILD",
42589        "-D_GNU_SOURCE",
42590        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42591        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42592        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42593        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42594        "-fdata-sections",
42595        "-ffunction-sections",
42596        "-fno-asynchronous-unwind-tables",
42597        "-fno-unwind-tables",
42598        "-fstack-protector",
42599        "-fvisibility-inlines-hidden",
42600        "-fvisibility=hidden",
42601        "-g1",
42602    ],
42603    local_include_dirs: [
42604        "./",
42605        "buildtools/third_party/libc++/",
42606        "third_party/abseil-cpp/",
42607        "third_party/libc++/src/include",
42608        "third_party/libc++abi/src/include",
42609    ],
42610    cpp_std: "c++20",
42611    ldflags: [
42612        "-Wl,--as-needed",
42613        "-Wl,--gc-sections",
42614        "-Wl,--icf=all",
42615    ],
42616    target: {
42617        android_arm64: {
42618            cflags: [
42619                "-O2",
42620                "-mno-outline",
42621            ],
42622        },
42623        android_x86: {
42624            cflags: [
42625                "-msse3",
42626            ],
42627        },
42628        android_x86_64: {
42629            cflags: [
42630                "-msse3",
42631            ],
42632        },
42633    },
42634}
42635
42636// GN: //third_party/abseil-cpp/absl/log/internal:proto__testing
42637cc_library_static {
42638    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_proto__testing",
42639    srcs: [
42640        "third_party/abseil-cpp/absl/log/internal/proto.cc",
42641    ],
42642    host_supported: true,
42643    defaults: [
42644        "cronet_aml_cc_defaults",
42645    ],
42646    cflags: [
42647        "-DABSL_ALLOCATOR_NOTHROW=1",
42648        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42649        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42650        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42651        "-DNDEBUG",
42652        "-DNO_UNWIND_TABLES",
42653        "-DNVALGRIND",
42654        "-DOFFICIAL_BUILD",
42655        "-D_GNU_SOURCE",
42656        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42657        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42658        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42659        "-fdata-sections",
42660        "-ffunction-sections",
42661        "-fno-asynchronous-unwind-tables",
42662        "-fno-unwind-tables",
42663        "-fstack-protector",
42664        "-fvisibility-inlines-hidden",
42665        "-fvisibility=hidden",
42666        "-g1",
42667    ],
42668    local_include_dirs: [
42669        "./",
42670        "buildtools/third_party/libc++/",
42671        "third_party/abseil-cpp/",
42672        "third_party/libc++/src/include",
42673        "third_party/libc++abi/src/include",
42674    ],
42675    cpp_std: "c++20",
42676    ldflags: [
42677        "-Wl,--as-needed",
42678        "-Wl,--gc-sections",
42679        "-Wl,--icf=all",
42680    ],
42681    target: {
42682        android_arm: {
42683            cflags: [
42684                "-DANDROID",
42685                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42686                "-DHAVE_SYS_UIO_H",
42687                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42688            ],
42689        },
42690        android_arm64: {
42691            cflags: [
42692                "-DANDROID",
42693                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42694                "-DHAVE_SYS_UIO_H",
42695                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42696                "-O2",
42697                "-mno-outline",
42698            ],
42699        },
42700        android_riscv64: {
42701            cflags: [
42702                "-DANDROID",
42703                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42704                "-DHAVE_SYS_UIO_H",
42705                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42706            ],
42707        },
42708        android_x86: {
42709            cflags: [
42710                "-DANDROID",
42711                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42712                "-DHAVE_SYS_UIO_H",
42713                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42714                "-msse3",
42715            ],
42716        },
42717        android_x86_64: {
42718            cflags: [
42719                "-DANDROID",
42720                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42721                "-DHAVE_SYS_UIO_H",
42722                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42723                "-msse3",
42724            ],
42725        },
42726        host: {
42727            cflags: [
42728                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
42729                "-DUSE_AURA=1",
42730                "-DUSE_OZONE=1",
42731                "-DUSE_UDEV",
42732                "-D_FILE_OFFSET_BITS=64",
42733                "-D_LARGEFILE64_SOURCE",
42734                "-D_LARGEFILE_SOURCE",
42735                "-O2",
42736                "-msse3",
42737            ],
42738            compile_multilib: "64",
42739        },
42740    },
42741}
42742
42743// GN: //third_party/abseil-cpp/absl/log/internal:vlog_config
42744cc_library_static {
42745    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_vlog_config",
42746    srcs: [
42747        "third_party/abseil-cpp/absl/log/internal/vlog_config.cc",
42748    ],
42749    defaults: [
42750        "cronet_aml_cc_defaults",
42751    ],
42752    cflags: [
42753        "-DABSL_ALLOCATOR_NOTHROW=1",
42754        "-DANDROID",
42755        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42756        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42757        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42758        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42759        "-DHAVE_SYS_UIO_H",
42760        "-DNDEBUG",
42761        "-DNO_UNWIND_TABLES",
42762        "-DNVALGRIND",
42763        "-DOFFICIAL_BUILD",
42764        "-D_GNU_SOURCE",
42765        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42766        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42767        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42768        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42769        "-fdata-sections",
42770        "-ffunction-sections",
42771        "-fno-asynchronous-unwind-tables",
42772        "-fno-unwind-tables",
42773        "-fstack-protector",
42774        "-fvisibility-inlines-hidden",
42775        "-fvisibility=hidden",
42776        "-g1",
42777    ],
42778    local_include_dirs: [
42779        "./",
42780        "buildtools/third_party/libc++/",
42781        "third_party/abseil-cpp/",
42782        "third_party/libc++/src/include",
42783        "third_party/libc++abi/src/include",
42784    ],
42785    cpp_std: "c++20",
42786    ldflags: [
42787        "-Wl,--as-needed",
42788        "-Wl,--gc-sections",
42789        "-Wl,--icf=all",
42790    ],
42791    target: {
42792        android_arm64: {
42793            cflags: [
42794                "-O2",
42795                "-mno-outline",
42796            ],
42797        },
42798        android_x86: {
42799            cflags: [
42800                "-msse3",
42801            ],
42802        },
42803        android_x86_64: {
42804            cflags: [
42805                "-msse3",
42806            ],
42807        },
42808    },
42809}
42810
42811// GN: //third_party/abseil-cpp/absl/log/internal:vlog_config__testing
42812cc_library_static {
42813    name: "cronet_aml_third_party_abseil_cpp_absl_log_internal_vlog_config__testing",
42814    srcs: [
42815        "third_party/abseil-cpp/absl/log/internal/vlog_config.cc",
42816    ],
42817    host_supported: true,
42818    defaults: [
42819        "cronet_aml_cc_defaults",
42820    ],
42821    cflags: [
42822        "-DABSL_ALLOCATOR_NOTHROW=1",
42823        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42824        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42825        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42826        "-DNDEBUG",
42827        "-DNO_UNWIND_TABLES",
42828        "-DNVALGRIND",
42829        "-DOFFICIAL_BUILD",
42830        "-D_GNU_SOURCE",
42831        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42832        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42833        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42834        "-fdata-sections",
42835        "-ffunction-sections",
42836        "-fno-asynchronous-unwind-tables",
42837        "-fno-unwind-tables",
42838        "-fstack-protector",
42839        "-fvisibility-inlines-hidden",
42840        "-fvisibility=hidden",
42841        "-g1",
42842    ],
42843    local_include_dirs: [
42844        "./",
42845        "buildtools/third_party/libc++/",
42846        "third_party/abseil-cpp/",
42847        "third_party/libc++/src/include",
42848        "third_party/libc++abi/src/include",
42849    ],
42850    cpp_std: "c++20",
42851    ldflags: [
42852        "-Wl,--as-needed",
42853        "-Wl,--gc-sections",
42854        "-Wl,--icf=all",
42855    ],
42856    target: {
42857        android_arm: {
42858            cflags: [
42859                "-DANDROID",
42860                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42861                "-DHAVE_SYS_UIO_H",
42862                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42863            ],
42864        },
42865        android_arm64: {
42866            cflags: [
42867                "-DANDROID",
42868                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42869                "-DHAVE_SYS_UIO_H",
42870                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42871                "-O2",
42872                "-mno-outline",
42873            ],
42874        },
42875        android_riscv64: {
42876            cflags: [
42877                "-DANDROID",
42878                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42879                "-DHAVE_SYS_UIO_H",
42880                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42881            ],
42882        },
42883        android_x86: {
42884            cflags: [
42885                "-DANDROID",
42886                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42887                "-DHAVE_SYS_UIO_H",
42888                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42889                "-msse3",
42890            ],
42891        },
42892        android_x86_64: {
42893            cflags: [
42894                "-DANDROID",
42895                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42896                "-DHAVE_SYS_UIO_H",
42897                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42898                "-msse3",
42899            ],
42900        },
42901        host: {
42902            cflags: [
42903                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
42904                "-DUSE_AURA=1",
42905                "-DUSE_OZONE=1",
42906                "-DUSE_UDEV",
42907                "-D_FILE_OFFSET_BITS=64",
42908                "-D_LARGEFILE64_SOURCE",
42909                "-D_LARGEFILE_SOURCE",
42910                "-O2",
42911                "-msse3",
42912            ],
42913            compile_multilib: "64",
42914        },
42915    },
42916}
42917
42918// GN: //third_party/abseil-cpp/absl/log:log_entry
42919cc_library_static {
42920    name: "cronet_aml_third_party_abseil_cpp_absl_log_log_entry",
42921    srcs: [
42922        "third_party/abseil-cpp/absl/log/log_entry.cc",
42923    ],
42924    defaults: [
42925        "cronet_aml_cc_defaults",
42926    ],
42927    cflags: [
42928        "-DABSL_ALLOCATOR_NOTHROW=1",
42929        "-DANDROID",
42930        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
42931        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42932        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
42933        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
42934        "-DHAVE_SYS_UIO_H",
42935        "-DNDEBUG",
42936        "-DNO_UNWIND_TABLES",
42937        "-DNVALGRIND",
42938        "-DOFFICIAL_BUILD",
42939        "-D_GNU_SOURCE",
42940        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
42941        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
42942        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
42943        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
42944        "-fdata-sections",
42945        "-ffunction-sections",
42946        "-fno-asynchronous-unwind-tables",
42947        "-fno-unwind-tables",
42948        "-fstack-protector",
42949        "-fvisibility-inlines-hidden",
42950        "-fvisibility=hidden",
42951        "-g1",
42952    ],
42953    local_include_dirs: [
42954        "./",
42955        "buildtools/third_party/libc++/",
42956        "third_party/abseil-cpp/",
42957        "third_party/libc++/src/include",
42958        "third_party/libc++abi/src/include",
42959    ],
42960    cpp_std: "c++20",
42961    ldflags: [
42962        "-Wl,--as-needed",
42963        "-Wl,--gc-sections",
42964        "-Wl,--icf=all",
42965    ],
42966    target: {
42967        android_arm64: {
42968            cflags: [
42969                "-O2",
42970                "-mno-outline",
42971            ],
42972        },
42973        android_x86: {
42974            cflags: [
42975                "-msse3",
42976            ],
42977        },
42978        android_x86_64: {
42979            cflags: [
42980                "-msse3",
42981            ],
42982        },
42983    },
42984}
42985
42986// GN: //third_party/abseil-cpp/absl/log:log_entry__testing
42987cc_library_static {
42988    name: "cronet_aml_third_party_abseil_cpp_absl_log_log_entry__testing",
42989    srcs: [
42990        "third_party/abseil-cpp/absl/log/log_entry.cc",
42991    ],
42992    host_supported: true,
42993    defaults: [
42994        "cronet_aml_cc_defaults",
42995    ],
42996    cflags: [
42997        "-DABSL_ALLOCATOR_NOTHROW=1",
42998        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
42999        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43000        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43001        "-DNDEBUG",
43002        "-DNO_UNWIND_TABLES",
43003        "-DNVALGRIND",
43004        "-DOFFICIAL_BUILD",
43005        "-D_GNU_SOURCE",
43006        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43007        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43008        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43009        "-fdata-sections",
43010        "-ffunction-sections",
43011        "-fno-asynchronous-unwind-tables",
43012        "-fno-unwind-tables",
43013        "-fstack-protector",
43014        "-fvisibility-inlines-hidden",
43015        "-fvisibility=hidden",
43016        "-g1",
43017    ],
43018    local_include_dirs: [
43019        "./",
43020        "buildtools/third_party/libc++/",
43021        "third_party/abseil-cpp/",
43022        "third_party/libc++/src/include",
43023        "third_party/libc++abi/src/include",
43024    ],
43025    cpp_std: "c++20",
43026    ldflags: [
43027        "-Wl,--as-needed",
43028        "-Wl,--gc-sections",
43029        "-Wl,--icf=all",
43030    ],
43031    target: {
43032        android_arm: {
43033            cflags: [
43034                "-DANDROID",
43035                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43036                "-DHAVE_SYS_UIO_H",
43037                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43038            ],
43039        },
43040        android_arm64: {
43041            cflags: [
43042                "-DANDROID",
43043                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43044                "-DHAVE_SYS_UIO_H",
43045                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43046                "-O2",
43047                "-mno-outline",
43048            ],
43049        },
43050        android_riscv64: {
43051            cflags: [
43052                "-DANDROID",
43053                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43054                "-DHAVE_SYS_UIO_H",
43055                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43056            ],
43057        },
43058        android_x86: {
43059            cflags: [
43060                "-DANDROID",
43061                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43062                "-DHAVE_SYS_UIO_H",
43063                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43064                "-msse3",
43065            ],
43066        },
43067        android_x86_64: {
43068            cflags: [
43069                "-DANDROID",
43070                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43071                "-DHAVE_SYS_UIO_H",
43072                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43073                "-msse3",
43074            ],
43075        },
43076        host: {
43077            cflags: [
43078                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
43079                "-DUSE_AURA=1",
43080                "-DUSE_OZONE=1",
43081                "-DUSE_UDEV",
43082                "-D_FILE_OFFSET_BITS=64",
43083                "-D_LARGEFILE64_SOURCE",
43084                "-D_LARGEFILE_SOURCE",
43085                "-O2",
43086                "-msse3",
43087            ],
43088            compile_multilib: "64",
43089        },
43090    },
43091}
43092
43093// GN: //third_party/abseil-cpp/absl/log:log_sink
43094cc_library_static {
43095    name: "cronet_aml_third_party_abseil_cpp_absl_log_log_sink",
43096    srcs: [
43097        "third_party/abseil-cpp/absl/log/log_sink.cc",
43098    ],
43099    defaults: [
43100        "cronet_aml_cc_defaults",
43101    ],
43102    cflags: [
43103        "-DABSL_ALLOCATOR_NOTHROW=1",
43104        "-DANDROID",
43105        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43106        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43107        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43108        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43109        "-DHAVE_SYS_UIO_H",
43110        "-DNDEBUG",
43111        "-DNO_UNWIND_TABLES",
43112        "-DNVALGRIND",
43113        "-DOFFICIAL_BUILD",
43114        "-D_GNU_SOURCE",
43115        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43116        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43117        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43118        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43119        "-fdata-sections",
43120        "-ffunction-sections",
43121        "-fno-asynchronous-unwind-tables",
43122        "-fno-unwind-tables",
43123        "-fstack-protector",
43124        "-fvisibility-inlines-hidden",
43125        "-fvisibility=hidden",
43126        "-g1",
43127    ],
43128    local_include_dirs: [
43129        "./",
43130        "buildtools/third_party/libc++/",
43131        "third_party/abseil-cpp/",
43132        "third_party/libc++/src/include",
43133        "third_party/libc++abi/src/include",
43134    ],
43135    cpp_std: "c++20",
43136    ldflags: [
43137        "-Wl,--as-needed",
43138        "-Wl,--gc-sections",
43139        "-Wl,--icf=all",
43140    ],
43141    target: {
43142        android_arm64: {
43143            cflags: [
43144                "-O2",
43145                "-mno-outline",
43146            ],
43147        },
43148        android_x86: {
43149            cflags: [
43150                "-msse3",
43151            ],
43152        },
43153        android_x86_64: {
43154            cflags: [
43155                "-msse3",
43156            ],
43157        },
43158    },
43159}
43160
43161// GN: //third_party/abseil-cpp/absl/log:log_sink__testing
43162cc_library_static {
43163    name: "cronet_aml_third_party_abseil_cpp_absl_log_log_sink__testing",
43164    srcs: [
43165        "third_party/abseil-cpp/absl/log/log_sink.cc",
43166    ],
43167    host_supported: true,
43168    defaults: [
43169        "cronet_aml_cc_defaults",
43170    ],
43171    cflags: [
43172        "-DABSL_ALLOCATOR_NOTHROW=1",
43173        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43174        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43175        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43176        "-DNDEBUG",
43177        "-DNO_UNWIND_TABLES",
43178        "-DNVALGRIND",
43179        "-DOFFICIAL_BUILD",
43180        "-D_GNU_SOURCE",
43181        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43182        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43183        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43184        "-fdata-sections",
43185        "-ffunction-sections",
43186        "-fno-asynchronous-unwind-tables",
43187        "-fno-unwind-tables",
43188        "-fstack-protector",
43189        "-fvisibility-inlines-hidden",
43190        "-fvisibility=hidden",
43191        "-g1",
43192    ],
43193    local_include_dirs: [
43194        "./",
43195        "buildtools/third_party/libc++/",
43196        "third_party/abseil-cpp/",
43197        "third_party/libc++/src/include",
43198        "third_party/libc++abi/src/include",
43199    ],
43200    cpp_std: "c++20",
43201    ldflags: [
43202        "-Wl,--as-needed",
43203        "-Wl,--gc-sections",
43204        "-Wl,--icf=all",
43205    ],
43206    target: {
43207        android_arm: {
43208            cflags: [
43209                "-DANDROID",
43210                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43211                "-DHAVE_SYS_UIO_H",
43212                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43213            ],
43214        },
43215        android_arm64: {
43216            cflags: [
43217                "-DANDROID",
43218                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43219                "-DHAVE_SYS_UIO_H",
43220                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43221                "-O2",
43222                "-mno-outline",
43223            ],
43224        },
43225        android_riscv64: {
43226            cflags: [
43227                "-DANDROID",
43228                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43229                "-DHAVE_SYS_UIO_H",
43230                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43231            ],
43232        },
43233        android_x86: {
43234            cflags: [
43235                "-DANDROID",
43236                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43237                "-DHAVE_SYS_UIO_H",
43238                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43239                "-msse3",
43240            ],
43241        },
43242        android_x86_64: {
43243            cflags: [
43244                "-DANDROID",
43245                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43246                "-DHAVE_SYS_UIO_H",
43247                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43248                "-msse3",
43249            ],
43250        },
43251        host: {
43252            cflags: [
43253                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
43254                "-DUSE_AURA=1",
43255                "-DUSE_OZONE=1",
43256                "-DUSE_UDEV",
43257                "-D_FILE_OFFSET_BITS=64",
43258                "-D_LARGEFILE64_SOURCE",
43259                "-D_LARGEFILE_SOURCE",
43260                "-O2",
43261                "-msse3",
43262            ],
43263            compile_multilib: "64",
43264        },
43265    },
43266}
43267
43268// GN: //third_party/abseil-cpp/absl/numeric:int128
43269cc_library_static {
43270    name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
43271    srcs: [
43272        "third_party/abseil-cpp/absl/numeric/int128.cc",
43273    ],
43274    defaults: [
43275        "cronet_aml_cc_defaults",
43276    ],
43277    cflags: [
43278        "-DABSL_ALLOCATOR_NOTHROW=1",
43279        "-DANDROID",
43280        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43281        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43282        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43283        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43284        "-DHAVE_SYS_UIO_H",
43285        "-DNDEBUG",
43286        "-DNO_UNWIND_TABLES",
43287        "-DNVALGRIND",
43288        "-DOFFICIAL_BUILD",
43289        "-D_GNU_SOURCE",
43290        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43291        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43292        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43293        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43294        "-fdata-sections",
43295        "-ffunction-sections",
43296        "-fno-asynchronous-unwind-tables",
43297        "-fno-unwind-tables",
43298        "-fstack-protector",
43299        "-fvisibility-inlines-hidden",
43300        "-fvisibility=hidden",
43301        "-g1",
43302    ],
43303    local_include_dirs: [
43304        "./",
43305        "buildtools/third_party/libc++/",
43306        "third_party/abseil-cpp/",
43307        "third_party/libc++/src/include",
43308        "third_party/libc++abi/src/include",
43309    ],
43310    cpp_std: "c++20",
43311    ldflags: [
43312        "-Wl,--as-needed",
43313        "-Wl,--gc-sections",
43314        "-Wl,--icf=all",
43315    ],
43316    target: {
43317        android_arm64: {
43318            cflags: [
43319                "-O2",
43320                "-mno-outline",
43321            ],
43322        },
43323        android_x86: {
43324            cflags: [
43325                "-msse3",
43326            ],
43327        },
43328        android_x86_64: {
43329            cflags: [
43330                "-msse3",
43331            ],
43332        },
43333    },
43334}
43335
43336// GN: //third_party/abseil-cpp/absl/numeric:int128__testing
43337cc_library_static {
43338    name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
43339    srcs: [
43340        "third_party/abseil-cpp/absl/numeric/int128.cc",
43341    ],
43342    host_supported: true,
43343    defaults: [
43344        "cronet_aml_cc_defaults",
43345    ],
43346    cflags: [
43347        "-DABSL_ALLOCATOR_NOTHROW=1",
43348        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43349        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43350        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43351        "-DNDEBUG",
43352        "-DNO_UNWIND_TABLES",
43353        "-DNVALGRIND",
43354        "-DOFFICIAL_BUILD",
43355        "-D_GNU_SOURCE",
43356        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43357        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43358        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43359        "-fdata-sections",
43360        "-ffunction-sections",
43361        "-fno-asynchronous-unwind-tables",
43362        "-fno-unwind-tables",
43363        "-fstack-protector",
43364        "-fvisibility-inlines-hidden",
43365        "-fvisibility=hidden",
43366        "-g1",
43367    ],
43368    local_include_dirs: [
43369        "./",
43370        "buildtools/third_party/libc++/",
43371        "third_party/abseil-cpp/",
43372        "third_party/libc++/src/include",
43373        "third_party/libc++abi/src/include",
43374    ],
43375    cpp_std: "c++20",
43376    ldflags: [
43377        "-Wl,--as-needed",
43378        "-Wl,--gc-sections",
43379        "-Wl,--icf=all",
43380    ],
43381    target: {
43382        android_arm: {
43383            cflags: [
43384                "-DANDROID",
43385                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43386                "-DHAVE_SYS_UIO_H",
43387                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43388            ],
43389        },
43390        android_arm64: {
43391            cflags: [
43392                "-DANDROID",
43393                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43394                "-DHAVE_SYS_UIO_H",
43395                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43396                "-O2",
43397                "-mno-outline",
43398            ],
43399        },
43400        android_riscv64: {
43401            cflags: [
43402                "-DANDROID",
43403                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43404                "-DHAVE_SYS_UIO_H",
43405                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43406            ],
43407        },
43408        android_x86: {
43409            cflags: [
43410                "-DANDROID",
43411                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43412                "-DHAVE_SYS_UIO_H",
43413                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43414                "-msse3",
43415            ],
43416        },
43417        android_x86_64: {
43418            cflags: [
43419                "-DANDROID",
43420                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43421                "-DHAVE_SYS_UIO_H",
43422                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43423                "-msse3",
43424            ],
43425        },
43426        host: {
43427            cflags: [
43428                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
43429                "-DUSE_AURA=1",
43430                "-DUSE_OZONE=1",
43431                "-DUSE_UDEV",
43432                "-D_FILE_OFFSET_BITS=64",
43433                "-D_LARGEFILE64_SOURCE",
43434                "-D_LARGEFILE_SOURCE",
43435                "-O2",
43436                "-msse3",
43437            ],
43438            compile_multilib: "64",
43439        },
43440    },
43441}
43442
43443// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased
43444cc_library_static {
43445    name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
43446    srcs: [
43447        "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
43448    ],
43449    defaults: [
43450        "cronet_aml_cc_defaults",
43451    ],
43452    cflags: [
43453        "-DABSL_ALLOCATOR_NOTHROW=1",
43454        "-DANDROID",
43455        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43456        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43457        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43458        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43459        "-DHAVE_SYS_UIO_H",
43460        "-DNDEBUG",
43461        "-DNO_UNWIND_TABLES",
43462        "-DNVALGRIND",
43463        "-DOFFICIAL_BUILD",
43464        "-D_GNU_SOURCE",
43465        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43466        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43467        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43468        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43469        "-fdata-sections",
43470        "-ffunction-sections",
43471        "-fno-asynchronous-unwind-tables",
43472        "-fno-unwind-tables",
43473        "-fstack-protector",
43474        "-fvisibility-inlines-hidden",
43475        "-fvisibility=hidden",
43476        "-g1",
43477    ],
43478    local_include_dirs: [
43479        "./",
43480        "buildtools/third_party/libc++/",
43481        "third_party/abseil-cpp/",
43482        "third_party/libc++/src/include",
43483        "third_party/libc++abi/src/include",
43484    ],
43485    cpp_std: "c++20",
43486    ldflags: [
43487        "-Wl,--as-needed",
43488        "-Wl,--gc-sections",
43489        "-Wl,--icf=all",
43490    ],
43491    target: {
43492        android_arm64: {
43493            cflags: [
43494                "-O2",
43495                "-mno-outline",
43496            ],
43497        },
43498        android_x86: {
43499            cflags: [
43500                "-msse3",
43501            ],
43502        },
43503        android_x86_64: {
43504            cflags: [
43505                "-msse3",
43506            ],
43507        },
43508    },
43509}
43510
43511// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased__testing
43512cc_library_static {
43513    name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
43514    srcs: [
43515        "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
43516    ],
43517    host_supported: true,
43518    defaults: [
43519        "cronet_aml_cc_defaults",
43520    ],
43521    cflags: [
43522        "-DABSL_ALLOCATOR_NOTHROW=1",
43523        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43524        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43525        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43526        "-DNDEBUG",
43527        "-DNO_UNWIND_TABLES",
43528        "-DNVALGRIND",
43529        "-DOFFICIAL_BUILD",
43530        "-D_GNU_SOURCE",
43531        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43532        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43533        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43534        "-fdata-sections",
43535        "-ffunction-sections",
43536        "-fno-asynchronous-unwind-tables",
43537        "-fno-unwind-tables",
43538        "-fstack-protector",
43539        "-fvisibility-inlines-hidden",
43540        "-fvisibility=hidden",
43541        "-g1",
43542    ],
43543    local_include_dirs: [
43544        "./",
43545        "buildtools/third_party/libc++/",
43546        "third_party/abseil-cpp/",
43547        "third_party/libc++/src/include",
43548        "third_party/libc++abi/src/include",
43549    ],
43550    cpp_std: "c++20",
43551    ldflags: [
43552        "-Wl,--as-needed",
43553        "-Wl,--gc-sections",
43554        "-Wl,--icf=all",
43555    ],
43556    target: {
43557        android_arm: {
43558            cflags: [
43559                "-DANDROID",
43560                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43561                "-DHAVE_SYS_UIO_H",
43562                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43563            ],
43564        },
43565        android_arm64: {
43566            cflags: [
43567                "-DANDROID",
43568                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43569                "-DHAVE_SYS_UIO_H",
43570                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43571                "-O2",
43572                "-mno-outline",
43573            ],
43574        },
43575        android_riscv64: {
43576            cflags: [
43577                "-DANDROID",
43578                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43579                "-DHAVE_SYS_UIO_H",
43580                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43581            ],
43582        },
43583        android_x86: {
43584            cflags: [
43585                "-DANDROID",
43586                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43587                "-DHAVE_SYS_UIO_H",
43588                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43589                "-msse3",
43590            ],
43591        },
43592        android_x86_64: {
43593            cflags: [
43594                "-DANDROID",
43595                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43596                "-DHAVE_SYS_UIO_H",
43597                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43598                "-msse3",
43599            ],
43600        },
43601        host: {
43602            cflags: [
43603                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
43604                "-DUSE_AURA=1",
43605                "-DUSE_OZONE=1",
43606                "-DUSE_UDEV",
43607                "-D_FILE_OFFSET_BITS=64",
43608                "-D_LARGEFILE64_SOURCE",
43609                "-D_LARGEFILE_SOURCE",
43610                "-O2",
43611                "-msse3",
43612            ],
43613            compile_multilib: "64",
43614        },
43615    },
43616}
43617
43618// GN: //third_party/abseil-cpp/absl/random:bit_gen_ref__testing
43619cc_library_static {
43620    name: "cronet_aml_third_party_abseil_cpp_absl_random_bit_gen_ref__testing",
43621    generated_headers: [
43622        "cronet_aml_build_chromeos_buildflags__testing",
43623    ],
43624    export_generated_headers: [
43625        "cronet_aml_build_chromeos_buildflags__testing",
43626    ],
43627    defaults: [
43628        "cronet_aml_cc_defaults",
43629    ],
43630    cflags: [
43631        "-DABSL_ALLOCATOR_NOTHROW=1",
43632        "-DANDROID",
43633        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43634        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43635        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43636        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43637        "-DHAVE_SYS_UIO_H",
43638        "-DNDEBUG",
43639        "-DNO_UNWIND_TABLES",
43640        "-DNVALGRIND",
43641        "-DOFFICIAL_BUILD",
43642        "-D_GNU_SOURCE",
43643        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43644        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43645        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43646        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43647        "-fdata-sections",
43648        "-ffunction-sections",
43649        "-fno-asynchronous-unwind-tables",
43650        "-fno-unwind-tables",
43651        "-fstack-protector",
43652        "-fvisibility-inlines-hidden",
43653        "-fvisibility=hidden",
43654        "-g1",
43655    ],
43656    local_include_dirs: [
43657        "./",
43658        "buildtools/third_party/libc++/",
43659        "third_party/abseil-cpp/",
43660        "third_party/libc++/src/include",
43661        "third_party/libc++abi/src/include",
43662    ],
43663    cpp_std: "c++20",
43664    ldflags: [
43665        "-Wl,--as-needed",
43666        "-Wl,--gc-sections",
43667        "-Wl,--icf=all",
43668    ],
43669    target: {
43670        android_arm64: {
43671            cflags: [
43672                "-O2",
43673                "-mno-outline",
43674            ],
43675        },
43676        android_x86: {
43677            cflags: [
43678                "-msse3",
43679            ],
43680        },
43681        android_x86_64: {
43682            cflags: [
43683                "-msse3",
43684            ],
43685        },
43686    },
43687}
43688
43689// GN: //third_party/abseil-cpp/absl/random:distributions
43690cc_library_static {
43691    name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions",
43692    srcs: [
43693        "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
43694        "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
43695    ],
43696    defaults: [
43697        "cronet_aml_cc_defaults",
43698    ],
43699    cflags: [
43700        "-DABSL_ALLOCATOR_NOTHROW=1",
43701        "-DANDROID",
43702        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43703        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43704        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43705        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43706        "-DHAVE_SYS_UIO_H",
43707        "-DNDEBUG",
43708        "-DNO_UNWIND_TABLES",
43709        "-DNVALGRIND",
43710        "-DOFFICIAL_BUILD",
43711        "-D_GNU_SOURCE",
43712        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43713        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43714        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43715        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43716        "-fdata-sections",
43717        "-ffunction-sections",
43718        "-fno-asynchronous-unwind-tables",
43719        "-fno-unwind-tables",
43720        "-fstack-protector",
43721        "-fvisibility-inlines-hidden",
43722        "-fvisibility=hidden",
43723        "-g1",
43724    ],
43725    local_include_dirs: [
43726        "./",
43727        "buildtools/third_party/libc++/",
43728        "third_party/abseil-cpp/",
43729        "third_party/libc++/src/include",
43730        "third_party/libc++abi/src/include",
43731    ],
43732    cpp_std: "c++20",
43733    ldflags: [
43734        "-Wl,--as-needed",
43735        "-Wl,--gc-sections",
43736        "-Wl,--icf=all",
43737    ],
43738    target: {
43739        android_arm64: {
43740            cflags: [
43741                "-O2",
43742                "-mno-outline",
43743            ],
43744        },
43745        android_x86: {
43746            cflags: [
43747                "-msse3",
43748            ],
43749        },
43750        android_x86_64: {
43751            cflags: [
43752                "-msse3",
43753            ],
43754        },
43755    },
43756}
43757
43758// GN: //third_party/abseil-cpp/absl/random:distributions__testing
43759cc_library_static {
43760    name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
43761    srcs: [
43762        "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
43763        "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
43764    ],
43765    host_supported: true,
43766    defaults: [
43767        "cronet_aml_cc_defaults",
43768    ],
43769    cflags: [
43770        "-DABSL_ALLOCATOR_NOTHROW=1",
43771        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43772        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43773        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43774        "-DNDEBUG",
43775        "-DNO_UNWIND_TABLES",
43776        "-DNVALGRIND",
43777        "-DOFFICIAL_BUILD",
43778        "-D_GNU_SOURCE",
43779        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43780        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43781        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43782        "-fdata-sections",
43783        "-ffunction-sections",
43784        "-fno-asynchronous-unwind-tables",
43785        "-fno-unwind-tables",
43786        "-fstack-protector",
43787        "-fvisibility-inlines-hidden",
43788        "-fvisibility=hidden",
43789        "-g1",
43790    ],
43791    local_include_dirs: [
43792        "./",
43793        "buildtools/third_party/libc++/",
43794        "third_party/abseil-cpp/",
43795        "third_party/libc++/src/include",
43796        "third_party/libc++abi/src/include",
43797    ],
43798    cpp_std: "c++20",
43799    ldflags: [
43800        "-Wl,--as-needed",
43801        "-Wl,--gc-sections",
43802        "-Wl,--icf=all",
43803    ],
43804    target: {
43805        android_arm: {
43806            cflags: [
43807                "-DANDROID",
43808                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43809                "-DHAVE_SYS_UIO_H",
43810                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43811            ],
43812        },
43813        android_arm64: {
43814            cflags: [
43815                "-DANDROID",
43816                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43817                "-DHAVE_SYS_UIO_H",
43818                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43819                "-O2",
43820                "-mno-outline",
43821            ],
43822        },
43823        android_riscv64: {
43824            cflags: [
43825                "-DANDROID",
43826                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43827                "-DHAVE_SYS_UIO_H",
43828                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43829            ],
43830        },
43831        android_x86: {
43832            cflags: [
43833                "-DANDROID",
43834                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43835                "-DHAVE_SYS_UIO_H",
43836                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43837                "-msse3",
43838            ],
43839        },
43840        android_x86_64: {
43841            cflags: [
43842                "-DANDROID",
43843                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43844                "-DHAVE_SYS_UIO_H",
43845                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43846                "-msse3",
43847            ],
43848        },
43849        host: {
43850            cflags: [
43851                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
43852                "-DUSE_AURA=1",
43853                "-DUSE_OZONE=1",
43854                "-DUSE_UDEV",
43855                "-D_FILE_OFFSET_BITS=64",
43856                "-D_LARGEFILE64_SOURCE",
43857                "-D_LARGEFILE_SOURCE",
43858                "-O2",
43859                "-msse3",
43860            ],
43861            compile_multilib: "64",
43862        },
43863    },
43864}
43865
43866// GN: //third_party/abseil-cpp/absl/random/internal:nonsecure_base
43867cc_library_static {
43868    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
43869    generated_headers: [
43870        "cronet_aml_build_chromeos_buildflags",
43871    ],
43872    export_generated_headers: [
43873        "cronet_aml_build_chromeos_buildflags",
43874    ],
43875    defaults: [
43876        "cronet_aml_cc_defaults",
43877    ],
43878    cflags: [
43879        "-DABSL_ALLOCATOR_NOTHROW=1",
43880        "-DANDROID",
43881        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43882        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43883        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43884        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43885        "-DHAVE_SYS_UIO_H",
43886        "-DNDEBUG",
43887        "-DNO_UNWIND_TABLES",
43888        "-DNVALGRIND",
43889        "-DOFFICIAL_BUILD",
43890        "-D_GNU_SOURCE",
43891        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43892        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43893        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43894        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43895        "-fdata-sections",
43896        "-ffunction-sections",
43897        "-fno-asynchronous-unwind-tables",
43898        "-fno-unwind-tables",
43899        "-fstack-protector",
43900        "-fvisibility-inlines-hidden",
43901        "-fvisibility=hidden",
43902        "-g1",
43903    ],
43904    local_include_dirs: [
43905        "./",
43906        "buildtools/third_party/libc++/",
43907        "third_party/abseil-cpp/",
43908        "third_party/libc++/src/include",
43909        "third_party/libc++abi/src/include",
43910    ],
43911    cpp_std: "c++20",
43912    ldflags: [
43913        "-Wl,--as-needed",
43914        "-Wl,--gc-sections",
43915        "-Wl,--icf=all",
43916    ],
43917    target: {
43918        android_arm64: {
43919            cflags: [
43920                "-O2",
43921                "-mno-outline",
43922            ],
43923        },
43924        android_x86: {
43925            cflags: [
43926                "-msse3",
43927            ],
43928        },
43929        android_x86_64: {
43930            cflags: [
43931                "-msse3",
43932            ],
43933        },
43934    },
43935}
43936
43937// GN: //third_party/abseil-cpp/absl/random/internal:nonsecure_base__testing
43938cc_library_static {
43939    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base__testing",
43940    host_supported: true,
43941    generated_headers: [
43942        "cronet_aml_build_chromeos_buildflags__testing",
43943    ],
43944    export_generated_headers: [
43945        "cronet_aml_build_chromeos_buildflags__testing",
43946    ],
43947    defaults: [
43948        "cronet_aml_cc_defaults",
43949    ],
43950    cflags: [
43951        "-DABSL_ALLOCATOR_NOTHROW=1",
43952        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
43953        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
43954        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
43955        "-DNDEBUG",
43956        "-DNO_UNWIND_TABLES",
43957        "-DNVALGRIND",
43958        "-DOFFICIAL_BUILD",
43959        "-D_GNU_SOURCE",
43960        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
43961        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
43962        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
43963        "-fdata-sections",
43964        "-ffunction-sections",
43965        "-fno-asynchronous-unwind-tables",
43966        "-fno-unwind-tables",
43967        "-fstack-protector",
43968        "-fvisibility-inlines-hidden",
43969        "-fvisibility=hidden",
43970        "-g1",
43971    ],
43972    local_include_dirs: [
43973        "./",
43974        "buildtools/third_party/libc++/",
43975        "third_party/abseil-cpp/",
43976        "third_party/libc++/src/include",
43977        "third_party/libc++abi/src/include",
43978    ],
43979    cpp_std: "c++20",
43980    ldflags: [
43981        "-Wl,--as-needed",
43982        "-Wl,--gc-sections",
43983        "-Wl,--icf=all",
43984    ],
43985    target: {
43986        android_arm: {
43987            cflags: [
43988                "-DANDROID",
43989                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43990                "-DHAVE_SYS_UIO_H",
43991                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
43992            ],
43993        },
43994        android_arm64: {
43995            cflags: [
43996                "-DANDROID",
43997                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
43998                "-DHAVE_SYS_UIO_H",
43999                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44000                "-O2",
44001                "-mno-outline",
44002            ],
44003        },
44004        android_riscv64: {
44005            cflags: [
44006                "-DANDROID",
44007                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44008                "-DHAVE_SYS_UIO_H",
44009                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44010            ],
44011        },
44012        android_x86: {
44013            cflags: [
44014                "-DANDROID",
44015                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44016                "-DHAVE_SYS_UIO_H",
44017                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44018                "-msse3",
44019            ],
44020        },
44021        android_x86_64: {
44022            cflags: [
44023                "-DANDROID",
44024                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44025                "-DHAVE_SYS_UIO_H",
44026                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44027                "-msse3",
44028            ],
44029        },
44030        host: {
44031            cflags: [
44032                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
44033                "-DUSE_AURA=1",
44034                "-DUSE_OZONE=1",
44035                "-DUSE_UDEV",
44036                "-D_FILE_OFFSET_BITS=64",
44037                "-D_LARGEFILE64_SOURCE",
44038                "-D_LARGEFILE_SOURCE",
44039                "-O2",
44040                "-msse3",
44041            ],
44042            compile_multilib: "64",
44043        },
44044    },
44045}
44046
44047// GN: //third_party/abseil-cpp/absl/random/internal:platform
44048cc_library_static {
44049    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
44050    srcs: [
44051        "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
44052    ],
44053    generated_headers: [
44054        "cronet_aml_build_chromeos_buildflags",
44055    ],
44056    export_generated_headers: [
44057        "cronet_aml_build_chromeos_buildflags",
44058    ],
44059    defaults: [
44060        "cronet_aml_cc_defaults",
44061    ],
44062    cflags: [
44063        "-DABSL_ALLOCATOR_NOTHROW=1",
44064        "-DANDROID",
44065        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44066        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44067        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44068        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44069        "-DHAVE_SYS_UIO_H",
44070        "-DNDEBUG",
44071        "-DNO_UNWIND_TABLES",
44072        "-DNVALGRIND",
44073        "-DOFFICIAL_BUILD",
44074        "-D_GNU_SOURCE",
44075        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44076        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44077        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44078        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44079        "-fdata-sections",
44080        "-ffunction-sections",
44081        "-fno-asynchronous-unwind-tables",
44082        "-fno-unwind-tables",
44083        "-fstack-protector",
44084        "-fvisibility-inlines-hidden",
44085        "-fvisibility=hidden",
44086        "-g1",
44087    ],
44088    local_include_dirs: [
44089        "./",
44090        "buildtools/third_party/libc++/",
44091        "third_party/abseil-cpp/",
44092        "third_party/libc++/src/include",
44093        "third_party/libc++abi/src/include",
44094    ],
44095    cpp_std: "c++20",
44096    ldflags: [
44097        "-Wl,--as-needed",
44098        "-Wl,--gc-sections",
44099        "-Wl,--icf=all",
44100    ],
44101    target: {
44102        android_arm64: {
44103            cflags: [
44104                "-O2",
44105                "-mno-outline",
44106            ],
44107        },
44108        android_x86: {
44109            cflags: [
44110                "-msse3",
44111            ],
44112        },
44113        android_x86_64: {
44114            cflags: [
44115                "-msse3",
44116            ],
44117        },
44118    },
44119}
44120
44121// GN: //third_party/abseil-cpp/absl/random/internal:platform__testing
44122cc_library_static {
44123    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
44124    srcs: [
44125        "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
44126    ],
44127    host_supported: true,
44128    generated_headers: [
44129        "cronet_aml_build_chromeos_buildflags__testing",
44130    ],
44131    export_generated_headers: [
44132        "cronet_aml_build_chromeos_buildflags__testing",
44133    ],
44134    defaults: [
44135        "cronet_aml_cc_defaults",
44136    ],
44137    cflags: [
44138        "-DABSL_ALLOCATOR_NOTHROW=1",
44139        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44140        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44141        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44142        "-DNDEBUG",
44143        "-DNO_UNWIND_TABLES",
44144        "-DNVALGRIND",
44145        "-DOFFICIAL_BUILD",
44146        "-D_GNU_SOURCE",
44147        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44148        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44149        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44150        "-fdata-sections",
44151        "-ffunction-sections",
44152        "-fno-asynchronous-unwind-tables",
44153        "-fno-unwind-tables",
44154        "-fstack-protector",
44155        "-fvisibility-inlines-hidden",
44156        "-fvisibility=hidden",
44157        "-g1",
44158    ],
44159    local_include_dirs: [
44160        "./",
44161        "buildtools/third_party/libc++/",
44162        "third_party/abseil-cpp/",
44163        "third_party/libc++/src/include",
44164        "third_party/libc++abi/src/include",
44165    ],
44166    cpp_std: "c++20",
44167    ldflags: [
44168        "-Wl,--as-needed",
44169        "-Wl,--gc-sections",
44170        "-Wl,--icf=all",
44171    ],
44172    target: {
44173        android_arm: {
44174            cflags: [
44175                "-DANDROID",
44176                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44177                "-DHAVE_SYS_UIO_H",
44178                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44179            ],
44180        },
44181        android_arm64: {
44182            cflags: [
44183                "-DANDROID",
44184                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44185                "-DHAVE_SYS_UIO_H",
44186                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44187                "-O2",
44188                "-mno-outline",
44189            ],
44190        },
44191        android_riscv64: {
44192            cflags: [
44193                "-DANDROID",
44194                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44195                "-DHAVE_SYS_UIO_H",
44196                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44197            ],
44198        },
44199        android_x86: {
44200            cflags: [
44201                "-DANDROID",
44202                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44203                "-DHAVE_SYS_UIO_H",
44204                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44205                "-msse3",
44206            ],
44207        },
44208        android_x86_64: {
44209            cflags: [
44210                "-DANDROID",
44211                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44212                "-DHAVE_SYS_UIO_H",
44213                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44214                "-msse3",
44215            ],
44216        },
44217        host: {
44218            cflags: [
44219                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
44220                "-DUSE_AURA=1",
44221                "-DUSE_OZONE=1",
44222                "-DUSE_UDEV",
44223                "-D_FILE_OFFSET_BITS=64",
44224                "-D_LARGEFILE64_SOURCE",
44225                "-D_LARGEFILE_SOURCE",
44226                "-O2",
44227                "-msse3",
44228            ],
44229            compile_multilib: "64",
44230        },
44231    },
44232}
44233
44234// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg
44235cc_library_static {
44236    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
44237    srcs: [
44238        "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
44239    ],
44240    generated_headers: [
44241        "cronet_aml_build_chromeos_buildflags",
44242    ],
44243    export_generated_headers: [
44244        "cronet_aml_build_chromeos_buildflags",
44245    ],
44246    defaults: [
44247        "cronet_aml_cc_defaults",
44248    ],
44249    cflags: [
44250        "-DABSL_ALLOCATOR_NOTHROW=1",
44251        "-DANDROID",
44252        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44253        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44254        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44255        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44256        "-DHAVE_SYS_UIO_H",
44257        "-DNDEBUG",
44258        "-DNO_UNWIND_TABLES",
44259        "-DNVALGRIND",
44260        "-DOFFICIAL_BUILD",
44261        "-D_GNU_SOURCE",
44262        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44263        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44264        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44265        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44266        "-fdata-sections",
44267        "-ffunction-sections",
44268        "-fno-asynchronous-unwind-tables",
44269        "-fno-unwind-tables",
44270        "-fstack-protector",
44271        "-fvisibility-inlines-hidden",
44272        "-fvisibility=hidden",
44273        "-g1",
44274    ],
44275    local_include_dirs: [
44276        "./",
44277        "buildtools/third_party/libc++/",
44278        "third_party/abseil-cpp/",
44279        "third_party/libc++/src/include",
44280        "third_party/libc++abi/src/include",
44281    ],
44282    cpp_std: "c++20",
44283    ldflags: [
44284        "-Wl,--as-needed",
44285        "-Wl,--gc-sections",
44286        "-Wl,--icf=all",
44287    ],
44288    target: {
44289        android_arm64: {
44290            cflags: [
44291                "-O2",
44292                "-mno-outline",
44293            ],
44294        },
44295        android_x86: {
44296            cflags: [
44297                "-msse3",
44298            ],
44299        },
44300        android_x86_64: {
44301            cflags: [
44302                "-msse3",
44303            ],
44304        },
44305    },
44306}
44307
44308// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg__testing
44309cc_library_static {
44310    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
44311    srcs: [
44312        "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
44313    ],
44314    host_supported: true,
44315    generated_headers: [
44316        "cronet_aml_build_chromeos_buildflags__testing",
44317    ],
44318    export_generated_headers: [
44319        "cronet_aml_build_chromeos_buildflags__testing",
44320    ],
44321    defaults: [
44322        "cronet_aml_cc_defaults",
44323    ],
44324    cflags: [
44325        "-DABSL_ALLOCATOR_NOTHROW=1",
44326        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44327        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44328        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44329        "-DNDEBUG",
44330        "-DNO_UNWIND_TABLES",
44331        "-DNVALGRIND",
44332        "-DOFFICIAL_BUILD",
44333        "-D_GNU_SOURCE",
44334        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44335        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44336        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44337        "-fdata-sections",
44338        "-ffunction-sections",
44339        "-fno-asynchronous-unwind-tables",
44340        "-fno-unwind-tables",
44341        "-fstack-protector",
44342        "-fvisibility-inlines-hidden",
44343        "-fvisibility=hidden",
44344        "-g1",
44345    ],
44346    local_include_dirs: [
44347        "./",
44348        "buildtools/third_party/libc++/",
44349        "third_party/abseil-cpp/",
44350        "third_party/libc++/src/include",
44351        "third_party/libc++abi/src/include",
44352    ],
44353    cpp_std: "c++20",
44354    ldflags: [
44355        "-Wl,--as-needed",
44356        "-Wl,--gc-sections",
44357        "-Wl,--icf=all",
44358    ],
44359    target: {
44360        android_arm: {
44361            cflags: [
44362                "-DANDROID",
44363                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44364                "-DHAVE_SYS_UIO_H",
44365                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44366            ],
44367        },
44368        android_arm64: {
44369            cflags: [
44370                "-DANDROID",
44371                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44372                "-DHAVE_SYS_UIO_H",
44373                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44374                "-O2",
44375                "-mno-outline",
44376            ],
44377        },
44378        android_riscv64: {
44379            cflags: [
44380                "-DANDROID",
44381                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44382                "-DHAVE_SYS_UIO_H",
44383                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44384            ],
44385        },
44386        android_x86: {
44387            cflags: [
44388                "-DANDROID",
44389                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44390                "-DHAVE_SYS_UIO_H",
44391                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44392                "-msse3",
44393            ],
44394        },
44395        android_x86_64: {
44396            cflags: [
44397                "-DANDROID",
44398                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44399                "-DHAVE_SYS_UIO_H",
44400                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44401                "-msse3",
44402            ],
44403        },
44404        host: {
44405            cflags: [
44406                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
44407                "-DUSE_AURA=1",
44408                "-DUSE_OZONE=1",
44409                "-DUSE_UDEV",
44410                "-D_FILE_OFFSET_BITS=64",
44411                "-D_LARGEFILE64_SOURCE",
44412                "-D_LARGEFILE_SOURCE",
44413                "-O2",
44414                "-msse3",
44415            ],
44416            compile_multilib: "64",
44417        },
44418    },
44419}
44420
44421// GN: //third_party/abseil-cpp/absl/random/internal:randen
44422cc_library_static {
44423    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
44424    srcs: [
44425        "third_party/abseil-cpp/absl/random/internal/randen.cc",
44426    ],
44427    generated_headers: [
44428        "cronet_aml_build_chromeos_buildflags",
44429    ],
44430    export_generated_headers: [
44431        "cronet_aml_build_chromeos_buildflags",
44432    ],
44433    defaults: [
44434        "cronet_aml_cc_defaults",
44435    ],
44436    cflags: [
44437        "-DABSL_ALLOCATOR_NOTHROW=1",
44438        "-DANDROID",
44439        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44440        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44441        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44442        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44443        "-DHAVE_SYS_UIO_H",
44444        "-DNDEBUG",
44445        "-DNO_UNWIND_TABLES",
44446        "-DNVALGRIND",
44447        "-DOFFICIAL_BUILD",
44448        "-D_GNU_SOURCE",
44449        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44450        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44451        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44452        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44453        "-fdata-sections",
44454        "-ffunction-sections",
44455        "-fno-asynchronous-unwind-tables",
44456        "-fno-unwind-tables",
44457        "-fstack-protector",
44458        "-fvisibility-inlines-hidden",
44459        "-fvisibility=hidden",
44460        "-g1",
44461    ],
44462    local_include_dirs: [
44463        "./",
44464        "buildtools/third_party/libc++/",
44465        "third_party/abseil-cpp/",
44466        "third_party/libc++/src/include",
44467        "third_party/libc++abi/src/include",
44468    ],
44469    cpp_std: "c++20",
44470    ldflags: [
44471        "-Wl,--as-needed",
44472        "-Wl,--gc-sections",
44473        "-Wl,--icf=all",
44474    ],
44475    target: {
44476        android_arm64: {
44477            cflags: [
44478                "-O2",
44479                "-mno-outline",
44480            ],
44481        },
44482        android_x86: {
44483            cflags: [
44484                "-msse3",
44485            ],
44486        },
44487        android_x86_64: {
44488            cflags: [
44489                "-msse3",
44490            ],
44491        },
44492    },
44493}
44494
44495// GN: //third_party/abseil-cpp/absl/random/internal:randen__testing
44496cc_library_static {
44497    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
44498    srcs: [
44499        "third_party/abseil-cpp/absl/random/internal/randen.cc",
44500    ],
44501    host_supported: true,
44502    generated_headers: [
44503        "cronet_aml_build_chromeos_buildflags__testing",
44504    ],
44505    export_generated_headers: [
44506        "cronet_aml_build_chromeos_buildflags__testing",
44507    ],
44508    defaults: [
44509        "cronet_aml_cc_defaults",
44510    ],
44511    cflags: [
44512        "-DABSL_ALLOCATOR_NOTHROW=1",
44513        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44514        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44515        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44516        "-DNDEBUG",
44517        "-DNO_UNWIND_TABLES",
44518        "-DNVALGRIND",
44519        "-DOFFICIAL_BUILD",
44520        "-D_GNU_SOURCE",
44521        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44522        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44523        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44524        "-fdata-sections",
44525        "-ffunction-sections",
44526        "-fno-asynchronous-unwind-tables",
44527        "-fno-unwind-tables",
44528        "-fstack-protector",
44529        "-fvisibility-inlines-hidden",
44530        "-fvisibility=hidden",
44531        "-g1",
44532    ],
44533    local_include_dirs: [
44534        "./",
44535        "buildtools/third_party/libc++/",
44536        "third_party/abseil-cpp/",
44537        "third_party/libc++/src/include",
44538        "third_party/libc++abi/src/include",
44539    ],
44540    cpp_std: "c++20",
44541    ldflags: [
44542        "-Wl,--as-needed",
44543        "-Wl,--gc-sections",
44544        "-Wl,--icf=all",
44545    ],
44546    target: {
44547        android_arm: {
44548            cflags: [
44549                "-DANDROID",
44550                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44551                "-DHAVE_SYS_UIO_H",
44552                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44553            ],
44554        },
44555        android_arm64: {
44556            cflags: [
44557                "-DANDROID",
44558                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44559                "-DHAVE_SYS_UIO_H",
44560                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44561                "-O2",
44562                "-mno-outline",
44563            ],
44564        },
44565        android_riscv64: {
44566            cflags: [
44567                "-DANDROID",
44568                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44569                "-DHAVE_SYS_UIO_H",
44570                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44571            ],
44572        },
44573        android_x86: {
44574            cflags: [
44575                "-DANDROID",
44576                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44577                "-DHAVE_SYS_UIO_H",
44578                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44579                "-msse3",
44580            ],
44581        },
44582        android_x86_64: {
44583            cflags: [
44584                "-DANDROID",
44585                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44586                "-DHAVE_SYS_UIO_H",
44587                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44588                "-msse3",
44589            ],
44590        },
44591        host: {
44592            cflags: [
44593                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
44594                "-DUSE_AURA=1",
44595                "-DUSE_OZONE=1",
44596                "-DUSE_UDEV",
44597                "-D_FILE_OFFSET_BITS=64",
44598                "-D_LARGEFILE64_SOURCE",
44599                "-D_LARGEFILE_SOURCE",
44600                "-O2",
44601                "-msse3",
44602            ],
44603            compile_multilib: "64",
44604        },
44605    },
44606}
44607
44608// GN: //third_party/abseil-cpp/absl/random/internal:randen_engine
44609cc_library_static {
44610    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
44611    generated_headers: [
44612        "cronet_aml_build_chromeos_buildflags",
44613    ],
44614    export_generated_headers: [
44615        "cronet_aml_build_chromeos_buildflags",
44616    ],
44617    defaults: [
44618        "cronet_aml_cc_defaults",
44619    ],
44620    cflags: [
44621        "-DABSL_ALLOCATOR_NOTHROW=1",
44622        "-DANDROID",
44623        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44624        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44625        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44626        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44627        "-DHAVE_SYS_UIO_H",
44628        "-DNDEBUG",
44629        "-DNO_UNWIND_TABLES",
44630        "-DNVALGRIND",
44631        "-DOFFICIAL_BUILD",
44632        "-D_GNU_SOURCE",
44633        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44634        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44635        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44636        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44637        "-fdata-sections",
44638        "-ffunction-sections",
44639        "-fno-asynchronous-unwind-tables",
44640        "-fno-unwind-tables",
44641        "-fstack-protector",
44642        "-fvisibility-inlines-hidden",
44643        "-fvisibility=hidden",
44644        "-g1",
44645    ],
44646    local_include_dirs: [
44647        "./",
44648        "buildtools/third_party/libc++/",
44649        "third_party/abseil-cpp/",
44650        "third_party/libc++/src/include",
44651        "third_party/libc++abi/src/include",
44652    ],
44653    cpp_std: "c++20",
44654    ldflags: [
44655        "-Wl,--as-needed",
44656        "-Wl,--gc-sections",
44657        "-Wl,--icf=all",
44658    ],
44659    target: {
44660        android_arm64: {
44661            cflags: [
44662                "-O2",
44663                "-mno-outline",
44664            ],
44665        },
44666        android_x86: {
44667            cflags: [
44668                "-msse3",
44669            ],
44670        },
44671        android_x86_64: {
44672            cflags: [
44673                "-msse3",
44674            ],
44675        },
44676    },
44677}
44678
44679// GN: //third_party/abseil-cpp/absl/random/internal:randen_engine__testing
44680cc_library_static {
44681    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine__testing",
44682    host_supported: true,
44683    generated_headers: [
44684        "cronet_aml_build_chromeos_buildflags__testing",
44685    ],
44686    export_generated_headers: [
44687        "cronet_aml_build_chromeos_buildflags__testing",
44688    ],
44689    defaults: [
44690        "cronet_aml_cc_defaults",
44691    ],
44692    cflags: [
44693        "-DABSL_ALLOCATOR_NOTHROW=1",
44694        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44695        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44696        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44697        "-DNDEBUG",
44698        "-DNO_UNWIND_TABLES",
44699        "-DNVALGRIND",
44700        "-DOFFICIAL_BUILD",
44701        "-D_GNU_SOURCE",
44702        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44703        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44704        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44705        "-fdata-sections",
44706        "-ffunction-sections",
44707        "-fno-asynchronous-unwind-tables",
44708        "-fno-unwind-tables",
44709        "-fstack-protector",
44710        "-fvisibility-inlines-hidden",
44711        "-fvisibility=hidden",
44712        "-g1",
44713    ],
44714    local_include_dirs: [
44715        "./",
44716        "buildtools/third_party/libc++/",
44717        "third_party/abseil-cpp/",
44718        "third_party/libc++/src/include",
44719        "third_party/libc++abi/src/include",
44720    ],
44721    cpp_std: "c++20",
44722    ldflags: [
44723        "-Wl,--as-needed",
44724        "-Wl,--gc-sections",
44725        "-Wl,--icf=all",
44726    ],
44727    target: {
44728        android_arm: {
44729            cflags: [
44730                "-DANDROID",
44731                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44732                "-DHAVE_SYS_UIO_H",
44733                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44734            ],
44735        },
44736        android_arm64: {
44737            cflags: [
44738                "-DANDROID",
44739                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44740                "-DHAVE_SYS_UIO_H",
44741                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44742                "-O2",
44743                "-mno-outline",
44744            ],
44745        },
44746        android_riscv64: {
44747            cflags: [
44748                "-DANDROID",
44749                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44750                "-DHAVE_SYS_UIO_H",
44751                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44752            ],
44753        },
44754        android_x86: {
44755            cflags: [
44756                "-DANDROID",
44757                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44758                "-DHAVE_SYS_UIO_H",
44759                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44760                "-msse3",
44761            ],
44762        },
44763        android_x86_64: {
44764            cflags: [
44765                "-DANDROID",
44766                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44767                "-DHAVE_SYS_UIO_H",
44768                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44769                "-msse3",
44770            ],
44771        },
44772        host: {
44773            cflags: [
44774                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
44775                "-DUSE_AURA=1",
44776                "-DUSE_OZONE=1",
44777                "-DUSE_UDEV",
44778                "-D_FILE_OFFSET_BITS=64",
44779                "-D_LARGEFILE64_SOURCE",
44780                "-D_LARGEFILE_SOURCE",
44781                "-O2",
44782                "-msse3",
44783            ],
44784            compile_multilib: "64",
44785        },
44786    },
44787}
44788
44789// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes
44790cc_library_static {
44791    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
44792    srcs: [
44793        "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
44794    ],
44795    generated_headers: [
44796        "cronet_aml_build_chromeos_buildflags",
44797    ],
44798    export_generated_headers: [
44799        "cronet_aml_build_chromeos_buildflags",
44800    ],
44801    defaults: [
44802        "cronet_aml_cc_defaults",
44803    ],
44804    cflags: [
44805        "-DABSL_ALLOCATOR_NOTHROW=1",
44806        "-DANDROID",
44807        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44808        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44809        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44810        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44811        "-DHAVE_SYS_UIO_H",
44812        "-DNDEBUG",
44813        "-DNO_UNWIND_TABLES",
44814        "-DNVALGRIND",
44815        "-DOFFICIAL_BUILD",
44816        "-D_GNU_SOURCE",
44817        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44818        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44819        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44820        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44821        "-fdata-sections",
44822        "-ffunction-sections",
44823        "-fno-asynchronous-unwind-tables",
44824        "-fno-unwind-tables",
44825        "-fstack-protector",
44826        "-fvisibility-inlines-hidden",
44827        "-fvisibility=hidden",
44828        "-g1",
44829    ],
44830    local_include_dirs: [
44831        "./",
44832        "buildtools/third_party/libc++/",
44833        "third_party/abseil-cpp/",
44834        "third_party/libc++/src/include",
44835        "third_party/libc++abi/src/include",
44836    ],
44837    cpp_std: "c++20",
44838    ldflags: [
44839        "-Wl,--as-needed",
44840        "-Wl,--gc-sections",
44841        "-Wl,--icf=all",
44842    ],
44843    target: {
44844        android_arm64: {
44845            cflags: [
44846                "-O2",
44847                "-mno-outline",
44848            ],
44849        },
44850        android_x86: {
44851            cflags: [
44852                "-msse3",
44853            ],
44854        },
44855        android_x86_64: {
44856            cflags: [
44857                "-msse3",
44858            ],
44859        },
44860    },
44861}
44862
44863// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes__testing
44864cc_library_static {
44865    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
44866    srcs: [
44867        "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
44868    ],
44869    host_supported: true,
44870    generated_headers: [
44871        "cronet_aml_build_chromeos_buildflags__testing",
44872    ],
44873    export_generated_headers: [
44874        "cronet_aml_build_chromeos_buildflags__testing",
44875    ],
44876    defaults: [
44877        "cronet_aml_cc_defaults",
44878    ],
44879    cflags: [
44880        "-DABSL_ALLOCATOR_NOTHROW=1",
44881        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44882        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44883        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44884        "-DNDEBUG",
44885        "-DNO_UNWIND_TABLES",
44886        "-DNVALGRIND",
44887        "-DOFFICIAL_BUILD",
44888        "-D_GNU_SOURCE",
44889        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
44890        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
44891        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
44892        "-fdata-sections",
44893        "-ffunction-sections",
44894        "-fno-asynchronous-unwind-tables",
44895        "-fno-unwind-tables",
44896        "-fstack-protector",
44897        "-fvisibility-inlines-hidden",
44898        "-fvisibility=hidden",
44899        "-g1",
44900    ],
44901    local_include_dirs: [
44902        "./",
44903        "buildtools/third_party/libc++/",
44904        "third_party/abseil-cpp/",
44905        "third_party/libc++/src/include",
44906        "third_party/libc++abi/src/include",
44907    ],
44908    cpp_std: "c++20",
44909    ldflags: [
44910        "-Wl,--as-needed",
44911        "-Wl,--gc-sections",
44912        "-Wl,--icf=all",
44913    ],
44914    target: {
44915        android_arm: {
44916            cflags: [
44917                "-DANDROID",
44918                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44919                "-DHAVE_SYS_UIO_H",
44920                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44921            ],
44922        },
44923        android_arm64: {
44924            cflags: [
44925                "-DANDROID",
44926                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44927                "-DHAVE_SYS_UIO_H",
44928                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44929                "-O2",
44930                "-mno-outline",
44931            ],
44932        },
44933        android_riscv64: {
44934            cflags: [
44935                "-DANDROID",
44936                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44937                "-DHAVE_SYS_UIO_H",
44938                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44939            ],
44940        },
44941        android_x86: {
44942            cflags: [
44943                "-DANDROID",
44944                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44945                "-DHAVE_SYS_UIO_H",
44946                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44947                "-msse3",
44948            ],
44949        },
44950        android_x86_64: {
44951            cflags: [
44952                "-DANDROID",
44953                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44954                "-DHAVE_SYS_UIO_H",
44955                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
44956                "-msse3",
44957            ],
44958        },
44959        host: {
44960            cflags: [
44961                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
44962                "-DUSE_AURA=1",
44963                "-DUSE_OZONE=1",
44964                "-DUSE_UDEV",
44965                "-D_FILE_OFFSET_BITS=64",
44966                "-D_LARGEFILE64_SOURCE",
44967                "-D_LARGEFILE_SOURCE",
44968                "-O2",
44969                "-msse3",
44970            ],
44971            compile_multilib: "64",
44972        },
44973    },
44974}
44975
44976// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl
44977cc_library_static {
44978    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
44979    srcs: [
44980        "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
44981    ],
44982    generated_headers: [
44983        "cronet_aml_build_chromeos_buildflags",
44984    ],
44985    export_generated_headers: [
44986        "cronet_aml_build_chromeos_buildflags",
44987    ],
44988    defaults: [
44989        "cronet_aml_cc_defaults",
44990    ],
44991    cflags: [
44992        "-DABSL_ALLOCATOR_NOTHROW=1",
44993        "-DANDROID",
44994        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
44995        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
44996        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
44997        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
44998        "-DHAVE_SYS_UIO_H",
44999        "-DNDEBUG",
45000        "-DNO_UNWIND_TABLES",
45001        "-DNVALGRIND",
45002        "-DOFFICIAL_BUILD",
45003        "-D_GNU_SOURCE",
45004        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45005        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45006        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45007        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45008        "-fdata-sections",
45009        "-ffunction-sections",
45010        "-fno-asynchronous-unwind-tables",
45011        "-fno-unwind-tables",
45012        "-fstack-protector",
45013        "-fvisibility-inlines-hidden",
45014        "-fvisibility=hidden",
45015        "-g1",
45016    ],
45017    local_include_dirs: [
45018        "./",
45019        "buildtools/third_party/libc++/",
45020        "third_party/abseil-cpp/",
45021        "third_party/libc++/src/include",
45022        "third_party/libc++abi/src/include",
45023    ],
45024    cpp_std: "c++20",
45025    ldflags: [
45026        "-Wl,--as-needed",
45027        "-Wl,--gc-sections",
45028        "-Wl,--icf=all",
45029    ],
45030    target: {
45031        android_arm64: {
45032            cflags: [
45033                "-O2",
45034                "-mno-outline",
45035            ],
45036        },
45037        android_x86: {
45038            cflags: [
45039                "-msse3",
45040            ],
45041        },
45042        android_x86_64: {
45043            cflags: [
45044                "-msse3",
45045            ],
45046        },
45047    },
45048}
45049
45050// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl__testing
45051cc_library_static {
45052    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
45053    srcs: [
45054        "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
45055    ],
45056    host_supported: true,
45057    generated_headers: [
45058        "cronet_aml_build_chromeos_buildflags__testing",
45059    ],
45060    export_generated_headers: [
45061        "cronet_aml_build_chromeos_buildflags__testing",
45062    ],
45063    defaults: [
45064        "cronet_aml_cc_defaults",
45065    ],
45066    cflags: [
45067        "-DABSL_ALLOCATOR_NOTHROW=1",
45068        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45069        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45070        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45071        "-DNDEBUG",
45072        "-DNO_UNWIND_TABLES",
45073        "-DNVALGRIND",
45074        "-DOFFICIAL_BUILD",
45075        "-D_GNU_SOURCE",
45076        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45077        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45078        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45079        "-fdata-sections",
45080        "-ffunction-sections",
45081        "-fno-asynchronous-unwind-tables",
45082        "-fno-unwind-tables",
45083        "-fstack-protector",
45084        "-fvisibility-inlines-hidden",
45085        "-fvisibility=hidden",
45086        "-g1",
45087    ],
45088    local_include_dirs: [
45089        "./",
45090        "buildtools/third_party/libc++/",
45091        "third_party/abseil-cpp/",
45092        "third_party/libc++/src/include",
45093        "third_party/libc++abi/src/include",
45094    ],
45095    cpp_std: "c++20",
45096    ldflags: [
45097        "-Wl,--as-needed",
45098        "-Wl,--gc-sections",
45099        "-Wl,--icf=all",
45100    ],
45101    target: {
45102        android_arm: {
45103            cflags: [
45104                "-DANDROID",
45105                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45106                "-DHAVE_SYS_UIO_H",
45107                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45108            ],
45109        },
45110        android_arm64: {
45111            cflags: [
45112                "-DANDROID",
45113                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45114                "-DHAVE_SYS_UIO_H",
45115                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45116                "-O2",
45117                "-mno-outline",
45118            ],
45119        },
45120        android_riscv64: {
45121            cflags: [
45122                "-DANDROID",
45123                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45124                "-DHAVE_SYS_UIO_H",
45125                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45126            ],
45127        },
45128        android_x86: {
45129            cflags: [
45130                "-DANDROID",
45131                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45132                "-DHAVE_SYS_UIO_H",
45133                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45134                "-msse3",
45135            ],
45136        },
45137        android_x86_64: {
45138            cflags: [
45139                "-DANDROID",
45140                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45141                "-DHAVE_SYS_UIO_H",
45142                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45143                "-msse3",
45144            ],
45145        },
45146        host: {
45147            cflags: [
45148                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
45149                "-DUSE_AURA=1",
45150                "-DUSE_OZONE=1",
45151                "-DUSE_UDEV",
45152                "-D_FILE_OFFSET_BITS=64",
45153                "-D_LARGEFILE64_SOURCE",
45154                "-D_LARGEFILE_SOURCE",
45155                "-O2",
45156                "-msse3",
45157            ],
45158            compile_multilib: "64",
45159        },
45160    },
45161}
45162
45163// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow
45164cc_library_static {
45165    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
45166    srcs: [
45167        "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
45168    ],
45169    generated_headers: [
45170        "cronet_aml_build_chromeos_buildflags",
45171    ],
45172    export_generated_headers: [
45173        "cronet_aml_build_chromeos_buildflags",
45174    ],
45175    defaults: [
45176        "cronet_aml_cc_defaults",
45177    ],
45178    cflags: [
45179        "-DABSL_ALLOCATOR_NOTHROW=1",
45180        "-DANDROID",
45181        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45182        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45183        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45184        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45185        "-DHAVE_SYS_UIO_H",
45186        "-DNDEBUG",
45187        "-DNO_UNWIND_TABLES",
45188        "-DNVALGRIND",
45189        "-DOFFICIAL_BUILD",
45190        "-D_GNU_SOURCE",
45191        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45192        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45193        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45194        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45195        "-fdata-sections",
45196        "-ffunction-sections",
45197        "-fno-asynchronous-unwind-tables",
45198        "-fno-unwind-tables",
45199        "-fstack-protector",
45200        "-fvisibility-inlines-hidden",
45201        "-fvisibility=hidden",
45202        "-g1",
45203    ],
45204    local_include_dirs: [
45205        "./",
45206        "buildtools/third_party/libc++/",
45207        "third_party/abseil-cpp/",
45208        "third_party/libc++/src/include",
45209        "third_party/libc++abi/src/include",
45210    ],
45211    cpp_std: "c++20",
45212    ldflags: [
45213        "-Wl,--as-needed",
45214        "-Wl,--gc-sections",
45215        "-Wl,--icf=all",
45216    ],
45217    target: {
45218        android_arm64: {
45219            cflags: [
45220                "-O2",
45221                "-mno-outline",
45222            ],
45223        },
45224        android_x86: {
45225            cflags: [
45226                "-msse3",
45227            ],
45228        },
45229        android_x86_64: {
45230            cflags: [
45231                "-msse3",
45232            ],
45233        },
45234    },
45235}
45236
45237// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow__testing
45238cc_library_static {
45239    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
45240    srcs: [
45241        "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
45242    ],
45243    host_supported: true,
45244    generated_headers: [
45245        "cronet_aml_build_chromeos_buildflags__testing",
45246    ],
45247    export_generated_headers: [
45248        "cronet_aml_build_chromeos_buildflags__testing",
45249    ],
45250    defaults: [
45251        "cronet_aml_cc_defaults",
45252    ],
45253    cflags: [
45254        "-DABSL_ALLOCATOR_NOTHROW=1",
45255        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45256        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45257        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45258        "-DNDEBUG",
45259        "-DNO_UNWIND_TABLES",
45260        "-DNVALGRIND",
45261        "-DOFFICIAL_BUILD",
45262        "-D_GNU_SOURCE",
45263        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45264        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45265        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45266        "-fdata-sections",
45267        "-ffunction-sections",
45268        "-fno-asynchronous-unwind-tables",
45269        "-fno-unwind-tables",
45270        "-fstack-protector",
45271        "-fvisibility-inlines-hidden",
45272        "-fvisibility=hidden",
45273        "-g1",
45274    ],
45275    local_include_dirs: [
45276        "./",
45277        "buildtools/third_party/libc++/",
45278        "third_party/abseil-cpp/",
45279        "third_party/libc++/src/include",
45280        "third_party/libc++abi/src/include",
45281    ],
45282    cpp_std: "c++20",
45283    ldflags: [
45284        "-Wl,--as-needed",
45285        "-Wl,--gc-sections",
45286        "-Wl,--icf=all",
45287    ],
45288    target: {
45289        android_arm: {
45290            cflags: [
45291                "-DANDROID",
45292                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45293                "-DHAVE_SYS_UIO_H",
45294                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45295            ],
45296        },
45297        android_arm64: {
45298            cflags: [
45299                "-DANDROID",
45300                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45301                "-DHAVE_SYS_UIO_H",
45302                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45303                "-O2",
45304                "-mno-outline",
45305            ],
45306        },
45307        android_riscv64: {
45308            cflags: [
45309                "-DANDROID",
45310                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45311                "-DHAVE_SYS_UIO_H",
45312                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45313            ],
45314        },
45315        android_x86: {
45316            cflags: [
45317                "-DANDROID",
45318                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45319                "-DHAVE_SYS_UIO_H",
45320                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45321                "-msse3",
45322            ],
45323        },
45324        android_x86_64: {
45325            cflags: [
45326                "-DANDROID",
45327                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45328                "-DHAVE_SYS_UIO_H",
45329                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45330                "-msse3",
45331            ],
45332        },
45333        host: {
45334            cflags: [
45335                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
45336                "-DUSE_AURA=1",
45337                "-DUSE_OZONE=1",
45338                "-DUSE_UDEV",
45339                "-D_FILE_OFFSET_BITS=64",
45340                "-D_LARGEFILE64_SOURCE",
45341                "-D_LARGEFILE_SOURCE",
45342                "-O2",
45343                "-msse3",
45344            ],
45345            compile_multilib: "64",
45346        },
45347    },
45348}
45349
45350// GN: //third_party/abseil-cpp/absl/random/internal:seed_material
45351cc_library_static {
45352    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
45353    srcs: [
45354        "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
45355    ],
45356    defaults: [
45357        "cronet_aml_cc_defaults",
45358    ],
45359    cflags: [
45360        "-DABSL_ALLOCATOR_NOTHROW=1",
45361        "-DANDROID",
45362        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45363        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45364        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45365        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45366        "-DHAVE_SYS_UIO_H",
45367        "-DNDEBUG",
45368        "-DNO_UNWIND_TABLES",
45369        "-DNVALGRIND",
45370        "-DOFFICIAL_BUILD",
45371        "-D_GNU_SOURCE",
45372        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45373        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45374        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45375        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45376        "-fdata-sections",
45377        "-ffunction-sections",
45378        "-fno-asynchronous-unwind-tables",
45379        "-fno-unwind-tables",
45380        "-fstack-protector",
45381        "-fvisibility-inlines-hidden",
45382        "-fvisibility=hidden",
45383        "-g1",
45384    ],
45385    local_include_dirs: [
45386        "./",
45387        "buildtools/third_party/libc++/",
45388        "third_party/abseil-cpp/",
45389        "third_party/libc++/src/include",
45390        "third_party/libc++abi/src/include",
45391    ],
45392    cpp_std: "c++20",
45393    ldflags: [
45394        "-Wl,--as-needed",
45395        "-Wl,--gc-sections",
45396        "-Wl,--icf=all",
45397    ],
45398    target: {
45399        android_arm64: {
45400            cflags: [
45401                "-O2",
45402                "-mno-outline",
45403            ],
45404        },
45405        android_x86: {
45406            cflags: [
45407                "-msse3",
45408            ],
45409        },
45410        android_x86_64: {
45411            cflags: [
45412                "-msse3",
45413            ],
45414        },
45415    },
45416}
45417
45418// GN: //third_party/abseil-cpp/absl/random/internal:seed_material__testing
45419cc_library_static {
45420    name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
45421    srcs: [
45422        "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
45423    ],
45424    host_supported: true,
45425    defaults: [
45426        "cronet_aml_cc_defaults",
45427    ],
45428    cflags: [
45429        "-DABSL_ALLOCATOR_NOTHROW=1",
45430        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45431        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45432        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45433        "-DNDEBUG",
45434        "-DNO_UNWIND_TABLES",
45435        "-DNVALGRIND",
45436        "-DOFFICIAL_BUILD",
45437        "-D_GNU_SOURCE",
45438        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45439        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45440        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45441        "-fdata-sections",
45442        "-ffunction-sections",
45443        "-fno-asynchronous-unwind-tables",
45444        "-fno-unwind-tables",
45445        "-fstack-protector",
45446        "-fvisibility-inlines-hidden",
45447        "-fvisibility=hidden",
45448        "-g1",
45449    ],
45450    local_include_dirs: [
45451        "./",
45452        "buildtools/third_party/libc++/",
45453        "third_party/abseil-cpp/",
45454        "third_party/libc++/src/include",
45455        "third_party/libc++abi/src/include",
45456    ],
45457    cpp_std: "c++20",
45458    ldflags: [
45459        "-Wl,--as-needed",
45460        "-Wl,--gc-sections",
45461        "-Wl,--icf=all",
45462    ],
45463    target: {
45464        android_arm: {
45465            cflags: [
45466                "-DANDROID",
45467                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45468                "-DHAVE_SYS_UIO_H",
45469                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45470            ],
45471        },
45472        android_arm64: {
45473            cflags: [
45474                "-DANDROID",
45475                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45476                "-DHAVE_SYS_UIO_H",
45477                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45478                "-O2",
45479                "-mno-outline",
45480            ],
45481        },
45482        android_riscv64: {
45483            cflags: [
45484                "-DANDROID",
45485                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45486                "-DHAVE_SYS_UIO_H",
45487                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45488            ],
45489        },
45490        android_x86: {
45491            cflags: [
45492                "-DANDROID",
45493                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45494                "-DHAVE_SYS_UIO_H",
45495                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45496                "-msse3",
45497            ],
45498        },
45499        android_x86_64: {
45500            cflags: [
45501                "-DANDROID",
45502                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45503                "-DHAVE_SYS_UIO_H",
45504                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45505                "-msse3",
45506            ],
45507        },
45508        host: {
45509            cflags: [
45510                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
45511                "-DUSE_AURA=1",
45512                "-DUSE_OZONE=1",
45513                "-DUSE_UDEV",
45514                "-D_FILE_OFFSET_BITS=64",
45515                "-D_LARGEFILE64_SOURCE",
45516                "-D_LARGEFILE_SOURCE",
45517                "-O2",
45518                "-msse3",
45519            ],
45520            compile_multilib: "64",
45521        },
45522    },
45523}
45524
45525// GN: //third_party/abseil-cpp/absl/random:random
45526cc_library_static {
45527    name: "cronet_aml_third_party_abseil_cpp_absl_random_random",
45528    generated_headers: [
45529        "cronet_aml_build_chromeos_buildflags",
45530    ],
45531    export_generated_headers: [
45532        "cronet_aml_build_chromeos_buildflags",
45533    ],
45534    defaults: [
45535        "cronet_aml_cc_defaults",
45536    ],
45537    cflags: [
45538        "-DABSL_ALLOCATOR_NOTHROW=1",
45539        "-DANDROID",
45540        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45541        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45542        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45543        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45544        "-DHAVE_SYS_UIO_H",
45545        "-DNDEBUG",
45546        "-DNO_UNWIND_TABLES",
45547        "-DNVALGRIND",
45548        "-DOFFICIAL_BUILD",
45549        "-D_GNU_SOURCE",
45550        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45551        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45552        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45553        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45554        "-fdata-sections",
45555        "-ffunction-sections",
45556        "-fno-asynchronous-unwind-tables",
45557        "-fno-unwind-tables",
45558        "-fstack-protector",
45559        "-fvisibility-inlines-hidden",
45560        "-fvisibility=hidden",
45561        "-g1",
45562    ],
45563    local_include_dirs: [
45564        "./",
45565        "buildtools/third_party/libc++/",
45566        "third_party/abseil-cpp/",
45567        "third_party/libc++/src/include",
45568        "third_party/libc++abi/src/include",
45569    ],
45570    cpp_std: "c++20",
45571    ldflags: [
45572        "-Wl,--as-needed",
45573        "-Wl,--gc-sections",
45574        "-Wl,--icf=all",
45575    ],
45576    target: {
45577        android_arm64: {
45578            cflags: [
45579                "-O2",
45580                "-mno-outline",
45581            ],
45582        },
45583        android_x86: {
45584            cflags: [
45585                "-msse3",
45586            ],
45587        },
45588        android_x86_64: {
45589            cflags: [
45590                "-msse3",
45591            ],
45592        },
45593    },
45594}
45595
45596// GN: //third_party/abseil-cpp/absl/random:random__testing
45597cc_library_static {
45598    name: "cronet_aml_third_party_abseil_cpp_absl_random_random__testing",
45599    host_supported: true,
45600    generated_headers: [
45601        "cronet_aml_build_chromeos_buildflags__testing",
45602    ],
45603    export_generated_headers: [
45604        "cronet_aml_build_chromeos_buildflags__testing",
45605    ],
45606    defaults: [
45607        "cronet_aml_cc_defaults",
45608    ],
45609    cflags: [
45610        "-DABSL_ALLOCATOR_NOTHROW=1",
45611        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45612        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45613        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45614        "-DNDEBUG",
45615        "-DNO_UNWIND_TABLES",
45616        "-DNVALGRIND",
45617        "-DOFFICIAL_BUILD",
45618        "-D_GNU_SOURCE",
45619        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45620        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45621        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45622        "-fdata-sections",
45623        "-ffunction-sections",
45624        "-fno-asynchronous-unwind-tables",
45625        "-fno-unwind-tables",
45626        "-fstack-protector",
45627        "-fvisibility-inlines-hidden",
45628        "-fvisibility=hidden",
45629        "-g1",
45630    ],
45631    local_include_dirs: [
45632        "./",
45633        "buildtools/third_party/libc++/",
45634        "third_party/abseil-cpp/",
45635        "third_party/libc++/src/include",
45636        "third_party/libc++abi/src/include",
45637    ],
45638    cpp_std: "c++20",
45639    ldflags: [
45640        "-Wl,--as-needed",
45641        "-Wl,--gc-sections",
45642        "-Wl,--icf=all",
45643    ],
45644    target: {
45645        android_arm: {
45646            cflags: [
45647                "-DANDROID",
45648                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45649                "-DHAVE_SYS_UIO_H",
45650                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45651            ],
45652        },
45653        android_arm64: {
45654            cflags: [
45655                "-DANDROID",
45656                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45657                "-DHAVE_SYS_UIO_H",
45658                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45659                "-O2",
45660                "-mno-outline",
45661            ],
45662        },
45663        android_riscv64: {
45664            cflags: [
45665                "-DANDROID",
45666                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45667                "-DHAVE_SYS_UIO_H",
45668                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45669            ],
45670        },
45671        android_x86: {
45672            cflags: [
45673                "-DANDROID",
45674                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45675                "-DHAVE_SYS_UIO_H",
45676                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45677                "-msse3",
45678            ],
45679        },
45680        android_x86_64: {
45681            cflags: [
45682                "-DANDROID",
45683                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45684                "-DHAVE_SYS_UIO_H",
45685                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45686                "-msse3",
45687            ],
45688        },
45689        host: {
45690            cflags: [
45691                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
45692                "-DUSE_AURA=1",
45693                "-DUSE_OZONE=1",
45694                "-DUSE_UDEV",
45695                "-D_FILE_OFFSET_BITS=64",
45696                "-D_LARGEFILE64_SOURCE",
45697                "-D_LARGEFILE_SOURCE",
45698                "-O2",
45699                "-msse3",
45700            ],
45701            compile_multilib: "64",
45702        },
45703    },
45704}
45705
45706// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception
45707cc_library_static {
45708    name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
45709    srcs: [
45710        "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
45711    ],
45712    defaults: [
45713        "cronet_aml_cc_defaults",
45714    ],
45715    cflags: [
45716        "-DABSL_ALLOCATOR_NOTHROW=1",
45717        "-DANDROID",
45718        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45719        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45720        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45721        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45722        "-DHAVE_SYS_UIO_H",
45723        "-DNDEBUG",
45724        "-DNO_UNWIND_TABLES",
45725        "-DNVALGRIND",
45726        "-DOFFICIAL_BUILD",
45727        "-D_GNU_SOURCE",
45728        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45729        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45730        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45731        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45732        "-fdata-sections",
45733        "-ffunction-sections",
45734        "-fno-asynchronous-unwind-tables",
45735        "-fno-unwind-tables",
45736        "-fstack-protector",
45737        "-fvisibility-inlines-hidden",
45738        "-fvisibility=hidden",
45739        "-g1",
45740    ],
45741    local_include_dirs: [
45742        "./",
45743        "buildtools/third_party/libc++/",
45744        "third_party/abseil-cpp/",
45745        "third_party/libc++/src/include",
45746        "third_party/libc++abi/src/include",
45747    ],
45748    cpp_std: "c++20",
45749    ldflags: [
45750        "-Wl,--as-needed",
45751        "-Wl,--gc-sections",
45752        "-Wl,--icf=all",
45753    ],
45754    target: {
45755        android_arm64: {
45756            cflags: [
45757                "-O2",
45758                "-mno-outline",
45759            ],
45760        },
45761        android_x86: {
45762            cflags: [
45763                "-msse3",
45764            ],
45765        },
45766        android_x86_64: {
45767            cflags: [
45768                "-msse3",
45769            ],
45770        },
45771    },
45772}
45773
45774// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception__testing
45775cc_library_static {
45776    name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
45777    srcs: [
45778        "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
45779    ],
45780    host_supported: true,
45781    defaults: [
45782        "cronet_aml_cc_defaults",
45783    ],
45784    cflags: [
45785        "-DABSL_ALLOCATOR_NOTHROW=1",
45786        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45787        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45788        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45789        "-DNDEBUG",
45790        "-DNO_UNWIND_TABLES",
45791        "-DNVALGRIND",
45792        "-DOFFICIAL_BUILD",
45793        "-D_GNU_SOURCE",
45794        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45795        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45796        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45797        "-fdata-sections",
45798        "-ffunction-sections",
45799        "-fno-asynchronous-unwind-tables",
45800        "-fno-unwind-tables",
45801        "-fstack-protector",
45802        "-fvisibility-inlines-hidden",
45803        "-fvisibility=hidden",
45804        "-g1",
45805    ],
45806    local_include_dirs: [
45807        "./",
45808        "buildtools/third_party/libc++/",
45809        "third_party/abseil-cpp/",
45810        "third_party/libc++/src/include",
45811        "third_party/libc++abi/src/include",
45812    ],
45813    cpp_std: "c++20",
45814    ldflags: [
45815        "-Wl,--as-needed",
45816        "-Wl,--gc-sections",
45817        "-Wl,--icf=all",
45818    ],
45819    target: {
45820        android_arm: {
45821            cflags: [
45822                "-DANDROID",
45823                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45824                "-DHAVE_SYS_UIO_H",
45825                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45826            ],
45827        },
45828        android_arm64: {
45829            cflags: [
45830                "-DANDROID",
45831                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45832                "-DHAVE_SYS_UIO_H",
45833                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45834                "-O2",
45835                "-mno-outline",
45836            ],
45837        },
45838        android_riscv64: {
45839            cflags: [
45840                "-DANDROID",
45841                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45842                "-DHAVE_SYS_UIO_H",
45843                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45844            ],
45845        },
45846        android_x86: {
45847            cflags: [
45848                "-DANDROID",
45849                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45850                "-DHAVE_SYS_UIO_H",
45851                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45852                "-msse3",
45853            ],
45854        },
45855        android_x86_64: {
45856            cflags: [
45857                "-DANDROID",
45858                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45859                "-DHAVE_SYS_UIO_H",
45860                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45861                "-msse3",
45862            ],
45863        },
45864        host: {
45865            cflags: [
45866                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
45867                "-DUSE_AURA=1",
45868                "-DUSE_OZONE=1",
45869                "-DUSE_UDEV",
45870                "-D_FILE_OFFSET_BITS=64",
45871                "-D_LARGEFILE64_SOURCE",
45872                "-D_LARGEFILE_SOURCE",
45873                "-O2",
45874                "-msse3",
45875            ],
45876            compile_multilib: "64",
45877        },
45878    },
45879}
45880
45881// GN: //third_party/abseil-cpp/absl/random:seed_sequences
45882cc_library_static {
45883    name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
45884    srcs: [
45885        "third_party/abseil-cpp/absl/random/seed_sequences.cc",
45886    ],
45887    generated_headers: [
45888        "cronet_aml_build_chromeos_buildflags",
45889    ],
45890    export_generated_headers: [
45891        "cronet_aml_build_chromeos_buildflags",
45892    ],
45893    defaults: [
45894        "cronet_aml_cc_defaults",
45895    ],
45896    cflags: [
45897        "-DABSL_ALLOCATOR_NOTHROW=1",
45898        "-DANDROID",
45899        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
45900        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45901        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45902        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45903        "-DHAVE_SYS_UIO_H",
45904        "-DNDEBUG",
45905        "-DNO_UNWIND_TABLES",
45906        "-DNVALGRIND",
45907        "-DOFFICIAL_BUILD",
45908        "-D_GNU_SOURCE",
45909        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45910        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45911        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45912        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
45913        "-fdata-sections",
45914        "-ffunction-sections",
45915        "-fno-asynchronous-unwind-tables",
45916        "-fno-unwind-tables",
45917        "-fstack-protector",
45918        "-fvisibility-inlines-hidden",
45919        "-fvisibility=hidden",
45920        "-g1",
45921    ],
45922    local_include_dirs: [
45923        "./",
45924        "buildtools/third_party/libc++/",
45925        "third_party/abseil-cpp/",
45926        "third_party/libc++/src/include",
45927        "third_party/libc++abi/src/include",
45928    ],
45929    cpp_std: "c++20",
45930    ldflags: [
45931        "-Wl,--as-needed",
45932        "-Wl,--gc-sections",
45933        "-Wl,--icf=all",
45934    ],
45935    target: {
45936        android_arm64: {
45937            cflags: [
45938                "-O2",
45939                "-mno-outline",
45940            ],
45941        },
45942        android_x86: {
45943            cflags: [
45944                "-msse3",
45945            ],
45946        },
45947        android_x86_64: {
45948            cflags: [
45949                "-msse3",
45950            ],
45951        },
45952    },
45953}
45954
45955// GN: //third_party/abseil-cpp/absl/random:seed_sequences__testing
45956cc_library_static {
45957    name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
45958    srcs: [
45959        "third_party/abseil-cpp/absl/random/seed_sequences.cc",
45960    ],
45961    host_supported: true,
45962    generated_headers: [
45963        "cronet_aml_build_chromeos_buildflags__testing",
45964    ],
45965    export_generated_headers: [
45966        "cronet_aml_build_chromeos_buildflags__testing",
45967    ],
45968    defaults: [
45969        "cronet_aml_cc_defaults",
45970    ],
45971    cflags: [
45972        "-DABSL_ALLOCATOR_NOTHROW=1",
45973        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
45974        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
45975        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
45976        "-DNDEBUG",
45977        "-DNO_UNWIND_TABLES",
45978        "-DNVALGRIND",
45979        "-DOFFICIAL_BUILD",
45980        "-D_GNU_SOURCE",
45981        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
45982        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
45983        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
45984        "-fdata-sections",
45985        "-ffunction-sections",
45986        "-fno-asynchronous-unwind-tables",
45987        "-fno-unwind-tables",
45988        "-fstack-protector",
45989        "-fvisibility-inlines-hidden",
45990        "-fvisibility=hidden",
45991        "-g1",
45992    ],
45993    local_include_dirs: [
45994        "./",
45995        "buildtools/third_party/libc++/",
45996        "third_party/abseil-cpp/",
45997        "third_party/libc++/src/include",
45998        "third_party/libc++abi/src/include",
45999    ],
46000    cpp_std: "c++20",
46001    ldflags: [
46002        "-Wl,--as-needed",
46003        "-Wl,--gc-sections",
46004        "-Wl,--icf=all",
46005    ],
46006    target: {
46007        android_arm: {
46008            cflags: [
46009                "-DANDROID",
46010                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46011                "-DHAVE_SYS_UIO_H",
46012                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46013            ],
46014        },
46015        android_arm64: {
46016            cflags: [
46017                "-DANDROID",
46018                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46019                "-DHAVE_SYS_UIO_H",
46020                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46021                "-O2",
46022                "-mno-outline",
46023            ],
46024        },
46025        android_riscv64: {
46026            cflags: [
46027                "-DANDROID",
46028                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46029                "-DHAVE_SYS_UIO_H",
46030                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46031            ],
46032        },
46033        android_x86: {
46034            cflags: [
46035                "-DANDROID",
46036                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46037                "-DHAVE_SYS_UIO_H",
46038                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46039                "-msse3",
46040            ],
46041        },
46042        android_x86_64: {
46043            cflags: [
46044                "-DANDROID",
46045                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46046                "-DHAVE_SYS_UIO_H",
46047                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46048                "-msse3",
46049            ],
46050        },
46051        host: {
46052            cflags: [
46053                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
46054                "-DUSE_AURA=1",
46055                "-DUSE_OZONE=1",
46056                "-DUSE_UDEV",
46057                "-D_FILE_OFFSET_BITS=64",
46058                "-D_LARGEFILE64_SOURCE",
46059                "-D_LARGEFILE_SOURCE",
46060                "-O2",
46061                "-msse3",
46062            ],
46063            compile_multilib: "64",
46064        },
46065    },
46066}
46067
46068// GN: //third_party/abseil-cpp/absl/status:status
46069cc_library_static {
46070    name: "cronet_aml_third_party_abseil_cpp_absl_status_status",
46071    srcs: [
46072        "third_party/abseil-cpp/absl/status/internal/status_internal.cc",
46073        "third_party/abseil-cpp/absl/status/status.cc",
46074        "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
46075    ],
46076    defaults: [
46077        "cronet_aml_cc_defaults",
46078    ],
46079    cflags: [
46080        "-DABSL_ALLOCATOR_NOTHROW=1",
46081        "-DANDROID",
46082        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46083        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46084        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46085        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46086        "-DHAVE_SYS_UIO_H",
46087        "-DNDEBUG",
46088        "-DNO_UNWIND_TABLES",
46089        "-DNVALGRIND",
46090        "-DOFFICIAL_BUILD",
46091        "-D_GNU_SOURCE",
46092        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46093        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46094        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46095        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46096        "-fdata-sections",
46097        "-ffunction-sections",
46098        "-fno-asynchronous-unwind-tables",
46099        "-fno-unwind-tables",
46100        "-fstack-protector",
46101        "-fvisibility-inlines-hidden",
46102        "-fvisibility=hidden",
46103        "-g1",
46104    ],
46105    local_include_dirs: [
46106        "./",
46107        "buildtools/third_party/libc++/",
46108        "third_party/abseil-cpp/",
46109        "third_party/libc++/src/include",
46110        "third_party/libc++abi/src/include",
46111    ],
46112    cpp_std: "c++20",
46113    ldflags: [
46114        "-Wl,--as-needed",
46115        "-Wl,--gc-sections",
46116        "-Wl,--icf=all",
46117    ],
46118    target: {
46119        android_arm64: {
46120            cflags: [
46121                "-O2",
46122                "-mno-outline",
46123            ],
46124        },
46125        android_x86: {
46126            cflags: [
46127                "-msse3",
46128            ],
46129        },
46130        android_x86_64: {
46131            cflags: [
46132                "-msse3",
46133            ],
46134        },
46135    },
46136}
46137
46138// GN: //third_party/abseil-cpp/absl/status:status__testing
46139cc_library_static {
46140    name: "cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
46141    srcs: [
46142        "third_party/abseil-cpp/absl/status/internal/status_internal.cc",
46143        "third_party/abseil-cpp/absl/status/status.cc",
46144        "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
46145    ],
46146    host_supported: true,
46147    defaults: [
46148        "cronet_aml_cc_defaults",
46149    ],
46150    cflags: [
46151        "-DABSL_ALLOCATOR_NOTHROW=1",
46152        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46153        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46154        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46155        "-DNDEBUG",
46156        "-DNO_UNWIND_TABLES",
46157        "-DNVALGRIND",
46158        "-DOFFICIAL_BUILD",
46159        "-D_GNU_SOURCE",
46160        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46161        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46162        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46163        "-fdata-sections",
46164        "-ffunction-sections",
46165        "-fno-asynchronous-unwind-tables",
46166        "-fno-unwind-tables",
46167        "-fstack-protector",
46168        "-fvisibility-inlines-hidden",
46169        "-fvisibility=hidden",
46170        "-g1",
46171    ],
46172    local_include_dirs: [
46173        "./",
46174        "buildtools/third_party/libc++/",
46175        "third_party/abseil-cpp/",
46176        "third_party/libc++/src/include",
46177        "third_party/libc++abi/src/include",
46178    ],
46179    cpp_std: "c++20",
46180    ldflags: [
46181        "-Wl,--as-needed",
46182        "-Wl,--gc-sections",
46183        "-Wl,--icf=all",
46184    ],
46185    target: {
46186        android_arm: {
46187            cflags: [
46188                "-DANDROID",
46189                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46190                "-DHAVE_SYS_UIO_H",
46191                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46192            ],
46193        },
46194        android_arm64: {
46195            cflags: [
46196                "-DANDROID",
46197                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46198                "-DHAVE_SYS_UIO_H",
46199                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46200                "-O2",
46201                "-mno-outline",
46202            ],
46203        },
46204        android_riscv64: {
46205            cflags: [
46206                "-DANDROID",
46207                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46208                "-DHAVE_SYS_UIO_H",
46209                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46210            ],
46211        },
46212        android_x86: {
46213            cflags: [
46214                "-DANDROID",
46215                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46216                "-DHAVE_SYS_UIO_H",
46217                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46218                "-msse3",
46219            ],
46220        },
46221        android_x86_64: {
46222            cflags: [
46223                "-DANDROID",
46224                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46225                "-DHAVE_SYS_UIO_H",
46226                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46227                "-msse3",
46228            ],
46229        },
46230        host: {
46231            cflags: [
46232                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
46233                "-DUSE_AURA=1",
46234                "-DUSE_OZONE=1",
46235                "-DUSE_UDEV",
46236                "-D_FILE_OFFSET_BITS=64",
46237                "-D_LARGEFILE64_SOURCE",
46238                "-D_LARGEFILE_SOURCE",
46239                "-O2",
46240                "-msse3",
46241            ],
46242            compile_multilib: "64",
46243        },
46244    },
46245}
46246
46247// GN: //third_party/abseil-cpp/absl/status:statusor
46248cc_library_static {
46249    name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor",
46250    srcs: [
46251        "third_party/abseil-cpp/absl/status/statusor.cc",
46252    ],
46253    defaults: [
46254        "cronet_aml_cc_defaults",
46255    ],
46256    cflags: [
46257        "-DABSL_ALLOCATOR_NOTHROW=1",
46258        "-DANDROID",
46259        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46260        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46261        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46262        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46263        "-DHAVE_SYS_UIO_H",
46264        "-DNDEBUG",
46265        "-DNO_UNWIND_TABLES",
46266        "-DNVALGRIND",
46267        "-DOFFICIAL_BUILD",
46268        "-D_GNU_SOURCE",
46269        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46270        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46271        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46272        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46273        "-fdata-sections",
46274        "-ffunction-sections",
46275        "-fno-asynchronous-unwind-tables",
46276        "-fno-unwind-tables",
46277        "-fstack-protector",
46278        "-fvisibility-inlines-hidden",
46279        "-fvisibility=hidden",
46280        "-g1",
46281    ],
46282    local_include_dirs: [
46283        "./",
46284        "buildtools/third_party/libc++/",
46285        "third_party/abseil-cpp/",
46286        "third_party/libc++/src/include",
46287        "third_party/libc++abi/src/include",
46288    ],
46289    cpp_std: "c++20",
46290    ldflags: [
46291        "-Wl,--as-needed",
46292        "-Wl,--gc-sections",
46293        "-Wl,--icf=all",
46294    ],
46295    target: {
46296        android_arm64: {
46297            cflags: [
46298                "-O2",
46299                "-mno-outline",
46300            ],
46301        },
46302        android_x86: {
46303            cflags: [
46304                "-msse3",
46305            ],
46306        },
46307        android_x86_64: {
46308            cflags: [
46309                "-msse3",
46310            ],
46311        },
46312    },
46313}
46314
46315// GN: //third_party/abseil-cpp/absl/status:statusor__testing
46316cc_library_static {
46317    name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
46318    srcs: [
46319        "third_party/abseil-cpp/absl/status/statusor.cc",
46320    ],
46321    host_supported: true,
46322    defaults: [
46323        "cronet_aml_cc_defaults",
46324    ],
46325    cflags: [
46326        "-DABSL_ALLOCATOR_NOTHROW=1",
46327        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46328        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46329        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46330        "-DNDEBUG",
46331        "-DNO_UNWIND_TABLES",
46332        "-DNVALGRIND",
46333        "-DOFFICIAL_BUILD",
46334        "-D_GNU_SOURCE",
46335        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46336        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46337        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46338        "-fdata-sections",
46339        "-ffunction-sections",
46340        "-fno-asynchronous-unwind-tables",
46341        "-fno-unwind-tables",
46342        "-fstack-protector",
46343        "-fvisibility-inlines-hidden",
46344        "-fvisibility=hidden",
46345        "-g1",
46346    ],
46347    local_include_dirs: [
46348        "./",
46349        "buildtools/third_party/libc++/",
46350        "third_party/abseil-cpp/",
46351        "third_party/libc++/src/include",
46352        "third_party/libc++abi/src/include",
46353    ],
46354    cpp_std: "c++20",
46355    ldflags: [
46356        "-Wl,--as-needed",
46357        "-Wl,--gc-sections",
46358        "-Wl,--icf=all",
46359    ],
46360    target: {
46361        android_arm: {
46362            cflags: [
46363                "-DANDROID",
46364                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46365                "-DHAVE_SYS_UIO_H",
46366                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46367            ],
46368        },
46369        android_arm64: {
46370            cflags: [
46371                "-DANDROID",
46372                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46373                "-DHAVE_SYS_UIO_H",
46374                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46375                "-O2",
46376                "-mno-outline",
46377            ],
46378        },
46379        android_riscv64: {
46380            cflags: [
46381                "-DANDROID",
46382                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46383                "-DHAVE_SYS_UIO_H",
46384                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46385            ],
46386        },
46387        android_x86: {
46388            cflags: [
46389                "-DANDROID",
46390                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46391                "-DHAVE_SYS_UIO_H",
46392                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46393                "-msse3",
46394            ],
46395        },
46396        android_x86_64: {
46397            cflags: [
46398                "-DANDROID",
46399                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46400                "-DHAVE_SYS_UIO_H",
46401                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46402                "-msse3",
46403            ],
46404        },
46405        host: {
46406            cflags: [
46407                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
46408                "-DUSE_AURA=1",
46409                "-DUSE_OZONE=1",
46410                "-DUSE_UDEV",
46411                "-D_FILE_OFFSET_BITS=64",
46412                "-D_LARGEFILE64_SOURCE",
46413                "-D_LARGEFILE_SOURCE",
46414                "-O2",
46415                "-msse3",
46416            ],
46417            compile_multilib: "64",
46418        },
46419    },
46420}
46421
46422// GN: //third_party/abseil-cpp/absl/strings:cord
46423cc_library_static {
46424    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord",
46425    srcs: [
46426        "third_party/abseil-cpp/absl/strings/cord.cc",
46427        "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
46428        "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
46429    ],
46430    defaults: [
46431        "cronet_aml_cc_defaults",
46432    ],
46433    cflags: [
46434        "-DABSL_ALLOCATOR_NOTHROW=1",
46435        "-DANDROID",
46436        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46437        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46438        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46439        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46440        "-DHAVE_SYS_UIO_H",
46441        "-DNDEBUG",
46442        "-DNO_UNWIND_TABLES",
46443        "-DNVALGRIND",
46444        "-DOFFICIAL_BUILD",
46445        "-D_GNU_SOURCE",
46446        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46447        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46448        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46449        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46450        "-fdata-sections",
46451        "-ffunction-sections",
46452        "-fno-asynchronous-unwind-tables",
46453        "-fno-unwind-tables",
46454        "-fstack-protector",
46455        "-fvisibility-inlines-hidden",
46456        "-fvisibility=hidden",
46457        "-g1",
46458    ],
46459    local_include_dirs: [
46460        "./",
46461        "buildtools/third_party/libc++/",
46462        "third_party/abseil-cpp/",
46463        "third_party/libc++/src/include",
46464        "third_party/libc++abi/src/include",
46465    ],
46466    cpp_std: "c++20",
46467    ldflags: [
46468        "-Wl,--as-needed",
46469        "-Wl,--gc-sections",
46470        "-Wl,--icf=all",
46471    ],
46472    target: {
46473        android_arm64: {
46474            cflags: [
46475                "-O2",
46476                "-mno-outline",
46477            ],
46478        },
46479        android_x86: {
46480            cflags: [
46481                "-msse3",
46482            ],
46483        },
46484        android_x86_64: {
46485            cflags: [
46486                "-msse3",
46487            ],
46488        },
46489    },
46490}
46491
46492// GN: //third_party/abseil-cpp/absl/strings:cord__testing
46493cc_library_static {
46494    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
46495    srcs: [
46496        "third_party/abseil-cpp/absl/strings/cord.cc",
46497        "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
46498        "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
46499    ],
46500    host_supported: true,
46501    defaults: [
46502        "cronet_aml_cc_defaults",
46503    ],
46504    cflags: [
46505        "-DABSL_ALLOCATOR_NOTHROW=1",
46506        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46507        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46508        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46509        "-DNDEBUG",
46510        "-DNO_UNWIND_TABLES",
46511        "-DNVALGRIND",
46512        "-DOFFICIAL_BUILD",
46513        "-D_GNU_SOURCE",
46514        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46515        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46516        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46517        "-fdata-sections",
46518        "-ffunction-sections",
46519        "-fno-asynchronous-unwind-tables",
46520        "-fno-unwind-tables",
46521        "-fstack-protector",
46522        "-fvisibility-inlines-hidden",
46523        "-fvisibility=hidden",
46524        "-g1",
46525    ],
46526    local_include_dirs: [
46527        "./",
46528        "buildtools/third_party/libc++/",
46529        "third_party/abseil-cpp/",
46530        "third_party/libc++/src/include",
46531        "third_party/libc++abi/src/include",
46532    ],
46533    cpp_std: "c++20",
46534    ldflags: [
46535        "-Wl,--as-needed",
46536        "-Wl,--gc-sections",
46537        "-Wl,--icf=all",
46538    ],
46539    target: {
46540        android_arm: {
46541            cflags: [
46542                "-DANDROID",
46543                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46544                "-DHAVE_SYS_UIO_H",
46545                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46546            ],
46547        },
46548        android_arm64: {
46549            cflags: [
46550                "-DANDROID",
46551                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46552                "-DHAVE_SYS_UIO_H",
46553                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46554                "-O2",
46555                "-mno-outline",
46556            ],
46557        },
46558        android_riscv64: {
46559            cflags: [
46560                "-DANDROID",
46561                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46562                "-DHAVE_SYS_UIO_H",
46563                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46564            ],
46565        },
46566        android_x86: {
46567            cflags: [
46568                "-DANDROID",
46569                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46570                "-DHAVE_SYS_UIO_H",
46571                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46572                "-msse3",
46573            ],
46574        },
46575        android_x86_64: {
46576            cflags: [
46577                "-DANDROID",
46578                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46579                "-DHAVE_SYS_UIO_H",
46580                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46581                "-msse3",
46582            ],
46583        },
46584        host: {
46585            cflags: [
46586                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
46587                "-DUSE_AURA=1",
46588                "-DUSE_OZONE=1",
46589                "-DUSE_UDEV",
46590                "-D_FILE_OFFSET_BITS=64",
46591                "-D_LARGEFILE64_SOURCE",
46592                "-D_LARGEFILE_SOURCE",
46593                "-O2",
46594                "-msse3",
46595            ],
46596            compile_multilib: "64",
46597        },
46598    },
46599}
46600
46601// GN: //third_party/abseil-cpp/absl/strings:cord_internal
46602cc_library_static {
46603    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
46604    srcs: [
46605        "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
46606        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
46607        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
46608        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
46609        "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
46610        "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
46611    ],
46612    defaults: [
46613        "cronet_aml_cc_defaults",
46614    ],
46615    cflags: [
46616        "-DABSL_ALLOCATOR_NOTHROW=1",
46617        "-DANDROID",
46618        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46619        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46620        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46621        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46622        "-DHAVE_SYS_UIO_H",
46623        "-DNDEBUG",
46624        "-DNO_UNWIND_TABLES",
46625        "-DNVALGRIND",
46626        "-DOFFICIAL_BUILD",
46627        "-D_GNU_SOURCE",
46628        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46629        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46630        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46631        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46632        "-fdata-sections",
46633        "-ffunction-sections",
46634        "-fno-asynchronous-unwind-tables",
46635        "-fno-unwind-tables",
46636        "-fstack-protector",
46637        "-fvisibility-inlines-hidden",
46638        "-fvisibility=hidden",
46639        "-g1",
46640    ],
46641    local_include_dirs: [
46642        "./",
46643        "buildtools/third_party/libc++/",
46644        "third_party/abseil-cpp/",
46645        "third_party/libc++/src/include",
46646        "third_party/libc++abi/src/include",
46647    ],
46648    cpp_std: "c++20",
46649    ldflags: [
46650        "-Wl,--as-needed",
46651        "-Wl,--gc-sections",
46652        "-Wl,--icf=all",
46653    ],
46654    target: {
46655        android_arm64: {
46656            cflags: [
46657                "-O2",
46658                "-mno-outline",
46659            ],
46660        },
46661        android_x86: {
46662            cflags: [
46663                "-msse3",
46664            ],
46665        },
46666        android_x86_64: {
46667            cflags: [
46668                "-msse3",
46669            ],
46670        },
46671    },
46672}
46673
46674// GN: //third_party/abseil-cpp/absl/strings:cord_internal__testing
46675cc_library_static {
46676    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
46677    srcs: [
46678        "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
46679        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
46680        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
46681        "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
46682        "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
46683        "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
46684    ],
46685    host_supported: true,
46686    defaults: [
46687        "cronet_aml_cc_defaults",
46688    ],
46689    cflags: [
46690        "-DABSL_ALLOCATOR_NOTHROW=1",
46691        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46692        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46693        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46694        "-DNDEBUG",
46695        "-DNO_UNWIND_TABLES",
46696        "-DNVALGRIND",
46697        "-DOFFICIAL_BUILD",
46698        "-D_GNU_SOURCE",
46699        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46700        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46701        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46702        "-fdata-sections",
46703        "-ffunction-sections",
46704        "-fno-asynchronous-unwind-tables",
46705        "-fno-unwind-tables",
46706        "-fstack-protector",
46707        "-fvisibility-inlines-hidden",
46708        "-fvisibility=hidden",
46709        "-g1",
46710    ],
46711    local_include_dirs: [
46712        "./",
46713        "buildtools/third_party/libc++/",
46714        "third_party/abseil-cpp/",
46715        "third_party/libc++/src/include",
46716        "third_party/libc++abi/src/include",
46717    ],
46718    cpp_std: "c++20",
46719    ldflags: [
46720        "-Wl,--as-needed",
46721        "-Wl,--gc-sections",
46722        "-Wl,--icf=all",
46723    ],
46724    target: {
46725        android_arm: {
46726            cflags: [
46727                "-DANDROID",
46728                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46729                "-DHAVE_SYS_UIO_H",
46730                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46731            ],
46732        },
46733        android_arm64: {
46734            cflags: [
46735                "-DANDROID",
46736                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46737                "-DHAVE_SYS_UIO_H",
46738                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46739                "-O2",
46740                "-mno-outline",
46741            ],
46742        },
46743        android_riscv64: {
46744            cflags: [
46745                "-DANDROID",
46746                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46747                "-DHAVE_SYS_UIO_H",
46748                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46749            ],
46750        },
46751        android_x86: {
46752            cflags: [
46753                "-DANDROID",
46754                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46755                "-DHAVE_SYS_UIO_H",
46756                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46757                "-msse3",
46758            ],
46759        },
46760        android_x86_64: {
46761            cflags: [
46762                "-DANDROID",
46763                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46764                "-DHAVE_SYS_UIO_H",
46765                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46766                "-msse3",
46767            ],
46768        },
46769        host: {
46770            cflags: [
46771                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
46772                "-DUSE_AURA=1",
46773                "-DUSE_OZONE=1",
46774                "-DUSE_UDEV",
46775                "-D_FILE_OFFSET_BITS=64",
46776                "-D_LARGEFILE64_SOURCE",
46777                "-D_LARGEFILE_SOURCE",
46778                "-O2",
46779                "-msse3",
46780            ],
46781            compile_multilib: "64",
46782        },
46783    },
46784}
46785
46786// GN: //third_party/abseil-cpp/absl/strings:cordz_functions
46787cc_library_static {
46788    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
46789    srcs: [
46790        "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
46791    ],
46792    defaults: [
46793        "cronet_aml_cc_defaults",
46794    ],
46795    cflags: [
46796        "-DABSL_ALLOCATOR_NOTHROW=1",
46797        "-DANDROID",
46798        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46799        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46800        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46801        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46802        "-DHAVE_SYS_UIO_H",
46803        "-DNDEBUG",
46804        "-DNO_UNWIND_TABLES",
46805        "-DNVALGRIND",
46806        "-DOFFICIAL_BUILD",
46807        "-D_GNU_SOURCE",
46808        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46809        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46810        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46811        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46812        "-fdata-sections",
46813        "-ffunction-sections",
46814        "-fno-asynchronous-unwind-tables",
46815        "-fno-unwind-tables",
46816        "-fstack-protector",
46817        "-fvisibility-inlines-hidden",
46818        "-fvisibility=hidden",
46819        "-g1",
46820    ],
46821    local_include_dirs: [
46822        "./",
46823        "buildtools/third_party/libc++/",
46824        "third_party/abseil-cpp/",
46825        "third_party/libc++/src/include",
46826        "third_party/libc++abi/src/include",
46827    ],
46828    cpp_std: "c++20",
46829    ldflags: [
46830        "-Wl,--as-needed",
46831        "-Wl,--gc-sections",
46832        "-Wl,--icf=all",
46833    ],
46834    target: {
46835        android_arm64: {
46836            cflags: [
46837                "-O2",
46838                "-mno-outline",
46839            ],
46840        },
46841        android_x86: {
46842            cflags: [
46843                "-msse3",
46844            ],
46845        },
46846        android_x86_64: {
46847            cflags: [
46848                "-msse3",
46849            ],
46850        },
46851    },
46852}
46853
46854// GN: //third_party/abseil-cpp/absl/strings:cordz_functions__testing
46855cc_library_static {
46856    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
46857    srcs: [
46858        "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
46859    ],
46860    host_supported: true,
46861    defaults: [
46862        "cronet_aml_cc_defaults",
46863    ],
46864    cflags: [
46865        "-DABSL_ALLOCATOR_NOTHROW=1",
46866        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46867        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46868        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46869        "-DNDEBUG",
46870        "-DNO_UNWIND_TABLES",
46871        "-DNVALGRIND",
46872        "-DOFFICIAL_BUILD",
46873        "-D_GNU_SOURCE",
46874        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46875        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46876        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46877        "-fdata-sections",
46878        "-ffunction-sections",
46879        "-fno-asynchronous-unwind-tables",
46880        "-fno-unwind-tables",
46881        "-fstack-protector",
46882        "-fvisibility-inlines-hidden",
46883        "-fvisibility=hidden",
46884        "-g1",
46885    ],
46886    local_include_dirs: [
46887        "./",
46888        "buildtools/third_party/libc++/",
46889        "third_party/abseil-cpp/",
46890        "third_party/libc++/src/include",
46891        "third_party/libc++abi/src/include",
46892    ],
46893    cpp_std: "c++20",
46894    ldflags: [
46895        "-Wl,--as-needed",
46896        "-Wl,--gc-sections",
46897        "-Wl,--icf=all",
46898    ],
46899    target: {
46900        android_arm: {
46901            cflags: [
46902                "-DANDROID",
46903                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46904                "-DHAVE_SYS_UIO_H",
46905                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46906            ],
46907        },
46908        android_arm64: {
46909            cflags: [
46910                "-DANDROID",
46911                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46912                "-DHAVE_SYS_UIO_H",
46913                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46914                "-O2",
46915                "-mno-outline",
46916            ],
46917        },
46918        android_riscv64: {
46919            cflags: [
46920                "-DANDROID",
46921                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46922                "-DHAVE_SYS_UIO_H",
46923                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46924            ],
46925        },
46926        android_x86: {
46927            cflags: [
46928                "-DANDROID",
46929                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46930                "-DHAVE_SYS_UIO_H",
46931                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46932                "-msse3",
46933            ],
46934        },
46935        android_x86_64: {
46936            cflags: [
46937                "-DANDROID",
46938                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46939                "-DHAVE_SYS_UIO_H",
46940                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46941                "-msse3",
46942            ],
46943        },
46944        host: {
46945            cflags: [
46946                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
46947                "-DUSE_AURA=1",
46948                "-DUSE_OZONE=1",
46949                "-DUSE_UDEV",
46950                "-D_FILE_OFFSET_BITS=64",
46951                "-D_LARGEFILE64_SOURCE",
46952                "-D_LARGEFILE_SOURCE",
46953                "-O2",
46954                "-msse3",
46955            ],
46956            compile_multilib: "64",
46957        },
46958    },
46959}
46960
46961// GN: //third_party/abseil-cpp/absl/strings:cordz_handle
46962cc_library_static {
46963    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
46964    srcs: [
46965        "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
46966    ],
46967    defaults: [
46968        "cronet_aml_cc_defaults",
46969    ],
46970    cflags: [
46971        "-DABSL_ALLOCATOR_NOTHROW=1",
46972        "-DANDROID",
46973        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
46974        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
46975        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
46976        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
46977        "-DHAVE_SYS_UIO_H",
46978        "-DNDEBUG",
46979        "-DNO_UNWIND_TABLES",
46980        "-DNVALGRIND",
46981        "-DOFFICIAL_BUILD",
46982        "-D_GNU_SOURCE",
46983        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
46984        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
46985        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
46986        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
46987        "-fdata-sections",
46988        "-ffunction-sections",
46989        "-fno-asynchronous-unwind-tables",
46990        "-fno-unwind-tables",
46991        "-fstack-protector",
46992        "-fvisibility-inlines-hidden",
46993        "-fvisibility=hidden",
46994        "-g1",
46995    ],
46996    local_include_dirs: [
46997        "./",
46998        "buildtools/third_party/libc++/",
46999        "third_party/abseil-cpp/",
47000        "third_party/libc++/src/include",
47001        "third_party/libc++abi/src/include",
47002    ],
47003    cpp_std: "c++20",
47004    ldflags: [
47005        "-Wl,--as-needed",
47006        "-Wl,--gc-sections",
47007        "-Wl,--icf=all",
47008    ],
47009    target: {
47010        android_arm64: {
47011            cflags: [
47012                "-O2",
47013                "-mno-outline",
47014            ],
47015        },
47016        android_x86: {
47017            cflags: [
47018                "-msse3",
47019            ],
47020        },
47021        android_x86_64: {
47022            cflags: [
47023                "-msse3",
47024            ],
47025        },
47026    },
47027}
47028
47029// GN: //third_party/abseil-cpp/absl/strings:cordz_handle__testing
47030cc_library_static {
47031    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
47032    srcs: [
47033        "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
47034    ],
47035    host_supported: true,
47036    defaults: [
47037        "cronet_aml_cc_defaults",
47038    ],
47039    cflags: [
47040        "-DABSL_ALLOCATOR_NOTHROW=1",
47041        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47042        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47043        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47044        "-DNDEBUG",
47045        "-DNO_UNWIND_TABLES",
47046        "-DNVALGRIND",
47047        "-DOFFICIAL_BUILD",
47048        "-D_GNU_SOURCE",
47049        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47050        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47051        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47052        "-fdata-sections",
47053        "-ffunction-sections",
47054        "-fno-asynchronous-unwind-tables",
47055        "-fno-unwind-tables",
47056        "-fstack-protector",
47057        "-fvisibility-inlines-hidden",
47058        "-fvisibility=hidden",
47059        "-g1",
47060    ],
47061    local_include_dirs: [
47062        "./",
47063        "buildtools/third_party/libc++/",
47064        "third_party/abseil-cpp/",
47065        "third_party/libc++/src/include",
47066        "third_party/libc++abi/src/include",
47067    ],
47068    cpp_std: "c++20",
47069    ldflags: [
47070        "-Wl,--as-needed",
47071        "-Wl,--gc-sections",
47072        "-Wl,--icf=all",
47073    ],
47074    target: {
47075        android_arm: {
47076            cflags: [
47077                "-DANDROID",
47078                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47079                "-DHAVE_SYS_UIO_H",
47080                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47081            ],
47082        },
47083        android_arm64: {
47084            cflags: [
47085                "-DANDROID",
47086                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47087                "-DHAVE_SYS_UIO_H",
47088                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47089                "-O2",
47090                "-mno-outline",
47091            ],
47092        },
47093        android_riscv64: {
47094            cflags: [
47095                "-DANDROID",
47096                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47097                "-DHAVE_SYS_UIO_H",
47098                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47099            ],
47100        },
47101        android_x86: {
47102            cflags: [
47103                "-DANDROID",
47104                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47105                "-DHAVE_SYS_UIO_H",
47106                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47107                "-msse3",
47108            ],
47109        },
47110        android_x86_64: {
47111            cflags: [
47112                "-DANDROID",
47113                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47114                "-DHAVE_SYS_UIO_H",
47115                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47116                "-msse3",
47117            ],
47118        },
47119        host: {
47120            cflags: [
47121                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
47122                "-DUSE_AURA=1",
47123                "-DUSE_OZONE=1",
47124                "-DUSE_UDEV",
47125                "-D_FILE_OFFSET_BITS=64",
47126                "-D_LARGEFILE64_SOURCE",
47127                "-D_LARGEFILE_SOURCE",
47128                "-O2",
47129                "-msse3",
47130            ],
47131            compile_multilib: "64",
47132        },
47133    },
47134}
47135
47136// GN: //third_party/abseil-cpp/absl/strings:cordz_info
47137cc_library_static {
47138    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
47139    srcs: [
47140        "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
47141    ],
47142    defaults: [
47143        "cronet_aml_cc_defaults",
47144    ],
47145    cflags: [
47146        "-DABSL_ALLOCATOR_NOTHROW=1",
47147        "-DANDROID",
47148        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47149        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47150        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47151        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47152        "-DHAVE_SYS_UIO_H",
47153        "-DNDEBUG",
47154        "-DNO_UNWIND_TABLES",
47155        "-DNVALGRIND",
47156        "-DOFFICIAL_BUILD",
47157        "-D_GNU_SOURCE",
47158        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47159        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47160        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47161        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47162        "-fdata-sections",
47163        "-ffunction-sections",
47164        "-fno-asynchronous-unwind-tables",
47165        "-fno-unwind-tables",
47166        "-fstack-protector",
47167        "-fvisibility-inlines-hidden",
47168        "-fvisibility=hidden",
47169        "-g1",
47170    ],
47171    local_include_dirs: [
47172        "./",
47173        "buildtools/third_party/libc++/",
47174        "third_party/abseil-cpp/",
47175        "third_party/libc++/src/include",
47176        "third_party/libc++abi/src/include",
47177    ],
47178    cpp_std: "c++20",
47179    ldflags: [
47180        "-Wl,--as-needed",
47181        "-Wl,--gc-sections",
47182        "-Wl,--icf=all",
47183    ],
47184    target: {
47185        android_arm64: {
47186            cflags: [
47187                "-O2",
47188                "-mno-outline",
47189            ],
47190        },
47191        android_x86: {
47192            cflags: [
47193                "-msse3",
47194            ],
47195        },
47196        android_x86_64: {
47197            cflags: [
47198                "-msse3",
47199            ],
47200        },
47201    },
47202}
47203
47204// GN: //third_party/abseil-cpp/absl/strings:cordz_info__testing
47205cc_library_static {
47206    name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
47207    srcs: [
47208        "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
47209    ],
47210    host_supported: true,
47211    defaults: [
47212        "cronet_aml_cc_defaults",
47213    ],
47214    cflags: [
47215        "-DABSL_ALLOCATOR_NOTHROW=1",
47216        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47217        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47218        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47219        "-DNDEBUG",
47220        "-DNO_UNWIND_TABLES",
47221        "-DNVALGRIND",
47222        "-DOFFICIAL_BUILD",
47223        "-D_GNU_SOURCE",
47224        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47225        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47226        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47227        "-fdata-sections",
47228        "-ffunction-sections",
47229        "-fno-asynchronous-unwind-tables",
47230        "-fno-unwind-tables",
47231        "-fstack-protector",
47232        "-fvisibility-inlines-hidden",
47233        "-fvisibility=hidden",
47234        "-g1",
47235    ],
47236    local_include_dirs: [
47237        "./",
47238        "buildtools/third_party/libc++/",
47239        "third_party/abseil-cpp/",
47240        "third_party/libc++/src/include",
47241        "third_party/libc++abi/src/include",
47242    ],
47243    cpp_std: "c++20",
47244    ldflags: [
47245        "-Wl,--as-needed",
47246        "-Wl,--gc-sections",
47247        "-Wl,--icf=all",
47248    ],
47249    target: {
47250        android_arm: {
47251            cflags: [
47252                "-DANDROID",
47253                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47254                "-DHAVE_SYS_UIO_H",
47255                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47256            ],
47257        },
47258        android_arm64: {
47259            cflags: [
47260                "-DANDROID",
47261                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47262                "-DHAVE_SYS_UIO_H",
47263                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47264                "-O2",
47265                "-mno-outline",
47266            ],
47267        },
47268        android_riscv64: {
47269            cflags: [
47270                "-DANDROID",
47271                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47272                "-DHAVE_SYS_UIO_H",
47273                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47274            ],
47275        },
47276        android_x86: {
47277            cflags: [
47278                "-DANDROID",
47279                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47280                "-DHAVE_SYS_UIO_H",
47281                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47282                "-msse3",
47283            ],
47284        },
47285        android_x86_64: {
47286            cflags: [
47287                "-DANDROID",
47288                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47289                "-DHAVE_SYS_UIO_H",
47290                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47291                "-msse3",
47292            ],
47293        },
47294        host: {
47295            cflags: [
47296                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
47297                "-DUSE_AURA=1",
47298                "-DUSE_OZONE=1",
47299                "-DUSE_UDEV",
47300                "-D_FILE_OFFSET_BITS=64",
47301                "-D_LARGEFILE64_SOURCE",
47302                "-D_LARGEFILE_SOURCE",
47303                "-O2",
47304                "-msse3",
47305            ],
47306            compile_multilib: "64",
47307        },
47308    },
47309}
47310
47311// GN: //third_party/abseil-cpp/absl/strings:internal
47312cc_library_static {
47313    name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal",
47314    srcs: [
47315        "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
47316        "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
47317        "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
47318    ],
47319    defaults: [
47320        "cronet_aml_cc_defaults",
47321    ],
47322    cflags: [
47323        "-DABSL_ALLOCATOR_NOTHROW=1",
47324        "-DANDROID",
47325        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47326        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47327        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47328        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47329        "-DHAVE_SYS_UIO_H",
47330        "-DNDEBUG",
47331        "-DNO_UNWIND_TABLES",
47332        "-DNVALGRIND",
47333        "-DOFFICIAL_BUILD",
47334        "-D_GNU_SOURCE",
47335        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47336        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47337        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47338        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47339        "-fdata-sections",
47340        "-ffunction-sections",
47341        "-fno-asynchronous-unwind-tables",
47342        "-fno-unwind-tables",
47343        "-fstack-protector",
47344        "-fvisibility-inlines-hidden",
47345        "-fvisibility=hidden",
47346        "-g1",
47347    ],
47348    local_include_dirs: [
47349        "./",
47350        "buildtools/third_party/libc++/",
47351        "third_party/abseil-cpp/",
47352        "third_party/libc++/src/include",
47353        "third_party/libc++abi/src/include",
47354    ],
47355    cpp_std: "c++20",
47356    ldflags: [
47357        "-Wl,--as-needed",
47358        "-Wl,--gc-sections",
47359        "-Wl,--icf=all",
47360    ],
47361    target: {
47362        android_arm64: {
47363            cflags: [
47364                "-O2",
47365                "-mno-outline",
47366            ],
47367        },
47368        android_x86: {
47369            cflags: [
47370                "-msse3",
47371            ],
47372        },
47373        android_x86_64: {
47374            cflags: [
47375                "-msse3",
47376            ],
47377        },
47378    },
47379}
47380
47381// GN: //third_party/abseil-cpp/absl/strings:internal__testing
47382cc_library_static {
47383    name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
47384    srcs: [
47385        "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
47386        "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
47387        "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
47388    ],
47389    host_supported: true,
47390    defaults: [
47391        "cronet_aml_cc_defaults",
47392    ],
47393    cflags: [
47394        "-DABSL_ALLOCATOR_NOTHROW=1",
47395        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47396        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47397        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47398        "-DNDEBUG",
47399        "-DNO_UNWIND_TABLES",
47400        "-DNVALGRIND",
47401        "-DOFFICIAL_BUILD",
47402        "-D_GNU_SOURCE",
47403        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47404        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47405        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47406        "-fdata-sections",
47407        "-ffunction-sections",
47408        "-fno-asynchronous-unwind-tables",
47409        "-fno-unwind-tables",
47410        "-fstack-protector",
47411        "-fvisibility-inlines-hidden",
47412        "-fvisibility=hidden",
47413        "-g1",
47414    ],
47415    local_include_dirs: [
47416        "./",
47417        "buildtools/third_party/libc++/",
47418        "third_party/abseil-cpp/",
47419        "third_party/libc++/src/include",
47420        "third_party/libc++abi/src/include",
47421    ],
47422    cpp_std: "c++20",
47423    ldflags: [
47424        "-Wl,--as-needed",
47425        "-Wl,--gc-sections",
47426        "-Wl,--icf=all",
47427    ],
47428    target: {
47429        android_arm: {
47430            cflags: [
47431                "-DANDROID",
47432                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47433                "-DHAVE_SYS_UIO_H",
47434                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47435            ],
47436        },
47437        android_arm64: {
47438            cflags: [
47439                "-DANDROID",
47440                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47441                "-DHAVE_SYS_UIO_H",
47442                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47443                "-O2",
47444                "-mno-outline",
47445            ],
47446        },
47447        android_riscv64: {
47448            cflags: [
47449                "-DANDROID",
47450                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47451                "-DHAVE_SYS_UIO_H",
47452                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47453            ],
47454        },
47455        android_x86: {
47456            cflags: [
47457                "-DANDROID",
47458                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47459                "-DHAVE_SYS_UIO_H",
47460                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47461                "-msse3",
47462            ],
47463        },
47464        android_x86_64: {
47465            cflags: [
47466                "-DANDROID",
47467                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47468                "-DHAVE_SYS_UIO_H",
47469                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47470                "-msse3",
47471            ],
47472        },
47473        host: {
47474            cflags: [
47475                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
47476                "-DUSE_AURA=1",
47477                "-DUSE_OZONE=1",
47478                "-DUSE_UDEV",
47479                "-D_FILE_OFFSET_BITS=64",
47480                "-D_LARGEFILE64_SOURCE",
47481                "-D_LARGEFILE_SOURCE",
47482                "-O2",
47483                "-msse3",
47484            ],
47485            compile_multilib: "64",
47486        },
47487    },
47488}
47489
47490// GN: //third_party/abseil-cpp/absl/strings:str_format_internal
47491cc_library_static {
47492    name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
47493    srcs: [
47494        "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
47495        "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
47496        "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
47497        "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
47498        "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
47499        "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
47500    ],
47501    defaults: [
47502        "cronet_aml_cc_defaults",
47503    ],
47504    cflags: [
47505        "-DABSL_ALLOCATOR_NOTHROW=1",
47506        "-DANDROID",
47507        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47508        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47509        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47510        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47511        "-DHAVE_SYS_UIO_H",
47512        "-DNDEBUG",
47513        "-DNO_UNWIND_TABLES",
47514        "-DNVALGRIND",
47515        "-DOFFICIAL_BUILD",
47516        "-D_GNU_SOURCE",
47517        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47518        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47519        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47520        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47521        "-fdata-sections",
47522        "-ffunction-sections",
47523        "-fno-asynchronous-unwind-tables",
47524        "-fno-unwind-tables",
47525        "-fstack-protector",
47526        "-fvisibility-inlines-hidden",
47527        "-fvisibility=hidden",
47528        "-g1",
47529    ],
47530    local_include_dirs: [
47531        "./",
47532        "buildtools/third_party/libc++/",
47533        "third_party/abseil-cpp/",
47534        "third_party/libc++/src/include",
47535        "third_party/libc++abi/src/include",
47536    ],
47537    cpp_std: "c++20",
47538    ldflags: [
47539        "-Wl,--as-needed",
47540        "-Wl,--gc-sections",
47541        "-Wl,--icf=all",
47542    ],
47543    target: {
47544        android_arm64: {
47545            cflags: [
47546                "-O2",
47547                "-mno-outline",
47548            ],
47549        },
47550        android_x86: {
47551            cflags: [
47552                "-msse3",
47553            ],
47554        },
47555        android_x86_64: {
47556            cflags: [
47557                "-msse3",
47558            ],
47559        },
47560    },
47561}
47562
47563// GN: //third_party/abseil-cpp/absl/strings:str_format_internal__testing
47564cc_library_static {
47565    name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
47566    srcs: [
47567        "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
47568        "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
47569        "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
47570        "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
47571        "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
47572        "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
47573    ],
47574    host_supported: true,
47575    defaults: [
47576        "cronet_aml_cc_defaults",
47577    ],
47578    cflags: [
47579        "-DABSL_ALLOCATOR_NOTHROW=1",
47580        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47581        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47582        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47583        "-DNDEBUG",
47584        "-DNO_UNWIND_TABLES",
47585        "-DNVALGRIND",
47586        "-DOFFICIAL_BUILD",
47587        "-D_GNU_SOURCE",
47588        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47589        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47590        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47591        "-fdata-sections",
47592        "-ffunction-sections",
47593        "-fno-asynchronous-unwind-tables",
47594        "-fno-unwind-tables",
47595        "-fstack-protector",
47596        "-fvisibility-inlines-hidden",
47597        "-fvisibility=hidden",
47598        "-g1",
47599    ],
47600    local_include_dirs: [
47601        "./",
47602        "buildtools/third_party/libc++/",
47603        "third_party/abseil-cpp/",
47604        "third_party/libc++/src/include",
47605        "third_party/libc++abi/src/include",
47606    ],
47607    cpp_std: "c++20",
47608    ldflags: [
47609        "-Wl,--as-needed",
47610        "-Wl,--gc-sections",
47611        "-Wl,--icf=all",
47612    ],
47613    target: {
47614        android_arm: {
47615            cflags: [
47616                "-DANDROID",
47617                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47618                "-DHAVE_SYS_UIO_H",
47619                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47620            ],
47621        },
47622        android_arm64: {
47623            cflags: [
47624                "-DANDROID",
47625                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47626                "-DHAVE_SYS_UIO_H",
47627                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47628                "-O2",
47629                "-mno-outline",
47630            ],
47631        },
47632        android_riscv64: {
47633            cflags: [
47634                "-DANDROID",
47635                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47636                "-DHAVE_SYS_UIO_H",
47637                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47638            ],
47639        },
47640        android_x86: {
47641            cflags: [
47642                "-DANDROID",
47643                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47644                "-DHAVE_SYS_UIO_H",
47645                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47646                "-msse3",
47647            ],
47648        },
47649        android_x86_64: {
47650            cflags: [
47651                "-DANDROID",
47652                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47653                "-DHAVE_SYS_UIO_H",
47654                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47655                "-msse3",
47656            ],
47657        },
47658        host: {
47659            cflags: [
47660                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
47661                "-DUSE_AURA=1",
47662                "-DUSE_OZONE=1",
47663                "-DUSE_UDEV",
47664                "-D_FILE_OFFSET_BITS=64",
47665                "-D_LARGEFILE64_SOURCE",
47666                "-D_LARGEFILE_SOURCE",
47667                "-O2",
47668                "-msse3",
47669            ],
47670            compile_multilib: "64",
47671        },
47672    },
47673}
47674
47675// GN: //third_party/abseil-cpp/absl/strings:string_view
47676cc_library_static {
47677    name: "cronet_aml_third_party_abseil_cpp_absl_strings_string_view",
47678    srcs: [
47679        "third_party/abseil-cpp/absl/strings/string_view.cc",
47680    ],
47681    defaults: [
47682        "cronet_aml_cc_defaults",
47683    ],
47684    cflags: [
47685        "-DABSL_ALLOCATOR_NOTHROW=1",
47686        "-DANDROID",
47687        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47688        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47689        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47690        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47691        "-DHAVE_SYS_UIO_H",
47692        "-DNDEBUG",
47693        "-DNO_UNWIND_TABLES",
47694        "-DNVALGRIND",
47695        "-DOFFICIAL_BUILD",
47696        "-D_GNU_SOURCE",
47697        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47698        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47699        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47700        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47701        "-fdata-sections",
47702        "-ffunction-sections",
47703        "-fno-asynchronous-unwind-tables",
47704        "-fno-unwind-tables",
47705        "-fstack-protector",
47706        "-fvisibility-inlines-hidden",
47707        "-fvisibility=hidden",
47708        "-g1",
47709    ],
47710    local_include_dirs: [
47711        "./",
47712        "buildtools/third_party/libc++/",
47713        "third_party/abseil-cpp/",
47714        "third_party/libc++/src/include",
47715        "third_party/libc++abi/src/include",
47716    ],
47717    cpp_std: "c++20",
47718    ldflags: [
47719        "-Wl,--as-needed",
47720        "-Wl,--gc-sections",
47721        "-Wl,--icf=all",
47722    ],
47723    target: {
47724        android_arm64: {
47725            cflags: [
47726                "-O2",
47727                "-mno-outline",
47728            ],
47729        },
47730        android_x86: {
47731            cflags: [
47732                "-msse3",
47733            ],
47734        },
47735        android_x86_64: {
47736            cflags: [
47737                "-msse3",
47738            ],
47739        },
47740    },
47741}
47742
47743// GN: //third_party/abseil-cpp/absl/strings:string_view__testing
47744cc_library_static {
47745    name: "cronet_aml_third_party_abseil_cpp_absl_strings_string_view__testing",
47746    srcs: [
47747        "third_party/abseil-cpp/absl/strings/string_view.cc",
47748    ],
47749    host_supported: true,
47750    defaults: [
47751        "cronet_aml_cc_defaults",
47752    ],
47753    cflags: [
47754        "-DABSL_ALLOCATOR_NOTHROW=1",
47755        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47756        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47757        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47758        "-DNDEBUG",
47759        "-DNO_UNWIND_TABLES",
47760        "-DNVALGRIND",
47761        "-DOFFICIAL_BUILD",
47762        "-D_GNU_SOURCE",
47763        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47764        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47765        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47766        "-fdata-sections",
47767        "-ffunction-sections",
47768        "-fno-asynchronous-unwind-tables",
47769        "-fno-unwind-tables",
47770        "-fstack-protector",
47771        "-fvisibility-inlines-hidden",
47772        "-fvisibility=hidden",
47773        "-g1",
47774    ],
47775    local_include_dirs: [
47776        "./",
47777        "buildtools/third_party/libc++/",
47778        "third_party/abseil-cpp/",
47779        "third_party/libc++/src/include",
47780        "third_party/libc++abi/src/include",
47781    ],
47782    cpp_std: "c++20",
47783    ldflags: [
47784        "-Wl,--as-needed",
47785        "-Wl,--gc-sections",
47786        "-Wl,--icf=all",
47787    ],
47788    target: {
47789        android_arm: {
47790            cflags: [
47791                "-DANDROID",
47792                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47793                "-DHAVE_SYS_UIO_H",
47794                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47795            ],
47796        },
47797        android_arm64: {
47798            cflags: [
47799                "-DANDROID",
47800                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47801                "-DHAVE_SYS_UIO_H",
47802                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47803                "-O2",
47804                "-mno-outline",
47805            ],
47806        },
47807        android_riscv64: {
47808            cflags: [
47809                "-DANDROID",
47810                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47811                "-DHAVE_SYS_UIO_H",
47812                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47813            ],
47814        },
47815        android_x86: {
47816            cflags: [
47817                "-DANDROID",
47818                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47819                "-DHAVE_SYS_UIO_H",
47820                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47821                "-msse3",
47822            ],
47823        },
47824        android_x86_64: {
47825            cflags: [
47826                "-DANDROID",
47827                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47828                "-DHAVE_SYS_UIO_H",
47829                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47830                "-msse3",
47831            ],
47832        },
47833        host: {
47834            cflags: [
47835                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
47836                "-DUSE_AURA=1",
47837                "-DUSE_OZONE=1",
47838                "-DUSE_UDEV",
47839                "-D_FILE_OFFSET_BITS=64",
47840                "-D_LARGEFILE64_SOURCE",
47841                "-D_LARGEFILE_SOURCE",
47842                "-O2",
47843                "-msse3",
47844            ],
47845            compile_multilib: "64",
47846        },
47847    },
47848}
47849
47850// GN: //third_party/abseil-cpp/absl/strings:strings
47851cc_library_static {
47852    name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings",
47853    srcs: [
47854        "third_party/abseil-cpp/absl/strings/ascii.cc",
47855        "third_party/abseil-cpp/absl/strings/charconv.cc",
47856        "third_party/abseil-cpp/absl/strings/escaping.cc",
47857        "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
47858        "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
47859        "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
47860        "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
47861        "third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc",
47862        "third_party/abseil-cpp/absl/strings/match.cc",
47863        "third_party/abseil-cpp/absl/strings/numbers.cc",
47864        "third_party/abseil-cpp/absl/strings/str_cat.cc",
47865        "third_party/abseil-cpp/absl/strings/str_replace.cc",
47866        "third_party/abseil-cpp/absl/strings/str_split.cc",
47867        "third_party/abseil-cpp/absl/strings/substitute.cc",
47868    ],
47869    defaults: [
47870        "cronet_aml_cc_defaults",
47871    ],
47872    cflags: [
47873        "-DABSL_ALLOCATOR_NOTHROW=1",
47874        "-DANDROID",
47875        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47876        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47877        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47878        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47879        "-DHAVE_SYS_UIO_H",
47880        "-DNDEBUG",
47881        "-DNO_UNWIND_TABLES",
47882        "-DNVALGRIND",
47883        "-DOFFICIAL_BUILD",
47884        "-D_GNU_SOURCE",
47885        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47886        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47887        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47888        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47889        "-fdata-sections",
47890        "-ffunction-sections",
47891        "-fno-asynchronous-unwind-tables",
47892        "-fno-unwind-tables",
47893        "-fstack-protector",
47894        "-fvisibility-inlines-hidden",
47895        "-fvisibility=hidden",
47896        "-g1",
47897    ],
47898    local_include_dirs: [
47899        "./",
47900        "buildtools/third_party/libc++/",
47901        "third_party/abseil-cpp/",
47902        "third_party/libc++/src/include",
47903        "third_party/libc++abi/src/include",
47904    ],
47905    cpp_std: "c++20",
47906    ldflags: [
47907        "-Wl,--as-needed",
47908        "-Wl,--gc-sections",
47909        "-Wl,--icf=all",
47910    ],
47911    target: {
47912        android_arm64: {
47913            cflags: [
47914                "-O2",
47915                "-mno-outline",
47916            ],
47917        },
47918        android_x86: {
47919            cflags: [
47920                "-msse3",
47921            ],
47922        },
47923        android_x86_64: {
47924            cflags: [
47925                "-msse3",
47926            ],
47927        },
47928    },
47929}
47930
47931// GN: //third_party/abseil-cpp/absl/strings:strings__testing
47932cc_library_static {
47933    name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
47934    srcs: [
47935        "third_party/abseil-cpp/absl/strings/ascii.cc",
47936        "third_party/abseil-cpp/absl/strings/charconv.cc",
47937        "third_party/abseil-cpp/absl/strings/escaping.cc",
47938        "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
47939        "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
47940        "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
47941        "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
47942        "third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc",
47943        "third_party/abseil-cpp/absl/strings/match.cc",
47944        "third_party/abseil-cpp/absl/strings/numbers.cc",
47945        "third_party/abseil-cpp/absl/strings/str_cat.cc",
47946        "third_party/abseil-cpp/absl/strings/str_replace.cc",
47947        "third_party/abseil-cpp/absl/strings/str_split.cc",
47948        "third_party/abseil-cpp/absl/strings/substitute.cc",
47949    ],
47950    host_supported: true,
47951    defaults: [
47952        "cronet_aml_cc_defaults",
47953    ],
47954    cflags: [
47955        "-DABSL_ALLOCATOR_NOTHROW=1",
47956        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
47957        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
47958        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
47959        "-DNDEBUG",
47960        "-DNO_UNWIND_TABLES",
47961        "-DNVALGRIND",
47962        "-DOFFICIAL_BUILD",
47963        "-D_GNU_SOURCE",
47964        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
47965        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
47966        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
47967        "-fdata-sections",
47968        "-ffunction-sections",
47969        "-fno-asynchronous-unwind-tables",
47970        "-fno-unwind-tables",
47971        "-fstack-protector",
47972        "-fvisibility-inlines-hidden",
47973        "-fvisibility=hidden",
47974        "-g1",
47975    ],
47976    local_include_dirs: [
47977        "./",
47978        "buildtools/third_party/libc++/",
47979        "third_party/abseil-cpp/",
47980        "third_party/libc++/src/include",
47981        "third_party/libc++abi/src/include",
47982    ],
47983    cpp_std: "c++20",
47984    ldflags: [
47985        "-Wl,--as-needed",
47986        "-Wl,--gc-sections",
47987        "-Wl,--icf=all",
47988    ],
47989    target: {
47990        android_arm: {
47991            cflags: [
47992                "-DANDROID",
47993                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
47994                "-DHAVE_SYS_UIO_H",
47995                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
47996            ],
47997        },
47998        android_arm64: {
47999            cflags: [
48000                "-DANDROID",
48001                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48002                "-DHAVE_SYS_UIO_H",
48003                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48004                "-O2",
48005                "-mno-outline",
48006            ],
48007        },
48008        android_riscv64: {
48009            cflags: [
48010                "-DANDROID",
48011                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48012                "-DHAVE_SYS_UIO_H",
48013                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48014            ],
48015        },
48016        android_x86: {
48017            cflags: [
48018                "-DANDROID",
48019                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48020                "-DHAVE_SYS_UIO_H",
48021                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48022                "-msse3",
48023            ],
48024        },
48025        android_x86_64: {
48026            cflags: [
48027                "-DANDROID",
48028                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48029                "-DHAVE_SYS_UIO_H",
48030                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48031                "-msse3",
48032            ],
48033        },
48034        host: {
48035            cflags: [
48036                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
48037                "-DUSE_AURA=1",
48038                "-DUSE_OZONE=1",
48039                "-DUSE_UDEV",
48040                "-D_FILE_OFFSET_BITS=64",
48041                "-D_LARGEFILE64_SOURCE",
48042                "-D_LARGEFILE_SOURCE",
48043                "-O2",
48044                "-msse3",
48045            ],
48046            compile_multilib: "64",
48047        },
48048    },
48049}
48050
48051// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal
48052cc_library_static {
48053    name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
48054    srcs: [
48055        "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
48056    ],
48057    defaults: [
48058        "cronet_aml_cc_defaults",
48059    ],
48060    cflags: [
48061        "-DABSL_ALLOCATOR_NOTHROW=1",
48062        "-DANDROID",
48063        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48064        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48065        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48066        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48067        "-DHAVE_SYS_UIO_H",
48068        "-DNDEBUG",
48069        "-DNO_UNWIND_TABLES",
48070        "-DNVALGRIND",
48071        "-DOFFICIAL_BUILD",
48072        "-D_GNU_SOURCE",
48073        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48074        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48075        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48076        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48077        "-fdata-sections",
48078        "-ffunction-sections",
48079        "-fno-asynchronous-unwind-tables",
48080        "-fno-unwind-tables",
48081        "-fstack-protector",
48082        "-fvisibility-inlines-hidden",
48083        "-fvisibility=hidden",
48084        "-g1",
48085    ],
48086    local_include_dirs: [
48087        "./",
48088        "buildtools/third_party/libc++/",
48089        "third_party/abseil-cpp/",
48090        "third_party/libc++/src/include",
48091        "third_party/libc++abi/src/include",
48092    ],
48093    cpp_std: "c++20",
48094    ldflags: [
48095        "-Wl,--as-needed",
48096        "-Wl,--gc-sections",
48097        "-Wl,--icf=all",
48098    ],
48099    target: {
48100        android_arm64: {
48101            cflags: [
48102                "-O2",
48103                "-mno-outline",
48104            ],
48105        },
48106        android_x86: {
48107            cflags: [
48108                "-msse3",
48109            ],
48110        },
48111        android_x86_64: {
48112            cflags: [
48113                "-msse3",
48114            ],
48115        },
48116    },
48117}
48118
48119// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal__testing
48120cc_library_static {
48121    name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
48122    srcs: [
48123        "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
48124    ],
48125    host_supported: true,
48126    defaults: [
48127        "cronet_aml_cc_defaults",
48128    ],
48129    cflags: [
48130        "-DABSL_ALLOCATOR_NOTHROW=1",
48131        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48132        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48133        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48134        "-DNDEBUG",
48135        "-DNO_UNWIND_TABLES",
48136        "-DNVALGRIND",
48137        "-DOFFICIAL_BUILD",
48138        "-D_GNU_SOURCE",
48139        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48140        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48141        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48142        "-fdata-sections",
48143        "-ffunction-sections",
48144        "-fno-asynchronous-unwind-tables",
48145        "-fno-unwind-tables",
48146        "-fstack-protector",
48147        "-fvisibility-inlines-hidden",
48148        "-fvisibility=hidden",
48149        "-g1",
48150    ],
48151    local_include_dirs: [
48152        "./",
48153        "buildtools/third_party/libc++/",
48154        "third_party/abseil-cpp/",
48155        "third_party/libc++/src/include",
48156        "third_party/libc++abi/src/include",
48157    ],
48158    cpp_std: "c++20",
48159    ldflags: [
48160        "-Wl,--as-needed",
48161        "-Wl,--gc-sections",
48162        "-Wl,--icf=all",
48163    ],
48164    target: {
48165        android_arm: {
48166            cflags: [
48167                "-DANDROID",
48168                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48169                "-DHAVE_SYS_UIO_H",
48170                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48171            ],
48172        },
48173        android_arm64: {
48174            cflags: [
48175                "-DANDROID",
48176                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48177                "-DHAVE_SYS_UIO_H",
48178                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48179                "-O2",
48180                "-mno-outline",
48181            ],
48182        },
48183        android_riscv64: {
48184            cflags: [
48185                "-DANDROID",
48186                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48187                "-DHAVE_SYS_UIO_H",
48188                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48189            ],
48190        },
48191        android_x86: {
48192            cflags: [
48193                "-DANDROID",
48194                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48195                "-DHAVE_SYS_UIO_H",
48196                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48197                "-msse3",
48198            ],
48199        },
48200        android_x86_64: {
48201            cflags: [
48202                "-DANDROID",
48203                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48204                "-DHAVE_SYS_UIO_H",
48205                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48206                "-msse3",
48207            ],
48208        },
48209        host: {
48210            cflags: [
48211                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
48212                "-DUSE_AURA=1",
48213                "-DUSE_OZONE=1",
48214                "-DUSE_UDEV",
48215                "-D_FILE_OFFSET_BITS=64",
48216                "-D_LARGEFILE64_SOURCE",
48217                "-D_LARGEFILE_SOURCE",
48218                "-O2",
48219                "-msse3",
48220            ],
48221            compile_multilib: "64",
48222        },
48223    },
48224}
48225
48226// GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal
48227cc_library_static {
48228    name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
48229    srcs: [
48230        "third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc",
48231    ],
48232    defaults: [
48233        "cronet_aml_cc_defaults",
48234    ],
48235    cflags: [
48236        "-DABSL_ALLOCATOR_NOTHROW=1",
48237        "-DANDROID",
48238        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48239        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48240        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48241        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48242        "-DHAVE_SYS_UIO_H",
48243        "-DNDEBUG",
48244        "-DNO_UNWIND_TABLES",
48245        "-DNVALGRIND",
48246        "-DOFFICIAL_BUILD",
48247        "-D_GNU_SOURCE",
48248        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48249        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48250        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48251        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48252        "-fdata-sections",
48253        "-ffunction-sections",
48254        "-fno-asynchronous-unwind-tables",
48255        "-fno-unwind-tables",
48256        "-fstack-protector",
48257        "-fvisibility-inlines-hidden",
48258        "-fvisibility=hidden",
48259        "-g1",
48260    ],
48261    local_include_dirs: [
48262        "./",
48263        "buildtools/third_party/libc++/",
48264        "third_party/abseil-cpp/",
48265        "third_party/libc++/src/include",
48266        "third_party/libc++abi/src/include",
48267    ],
48268    cpp_std: "c++20",
48269    ldflags: [
48270        "-Wl,--as-needed",
48271        "-Wl,--gc-sections",
48272        "-Wl,--icf=all",
48273    ],
48274    target: {
48275        android_arm64: {
48276            cflags: [
48277                "-O2",
48278                "-mno-outline",
48279            ],
48280        },
48281        android_x86: {
48282            cflags: [
48283                "-msse3",
48284            ],
48285        },
48286        android_x86_64: {
48287            cflags: [
48288                "-msse3",
48289            ],
48290        },
48291    },
48292}
48293
48294// GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal__testing
48295cc_library_static {
48296    name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing",
48297    srcs: [
48298        "third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc",
48299    ],
48300    host_supported: true,
48301    defaults: [
48302        "cronet_aml_cc_defaults",
48303    ],
48304    cflags: [
48305        "-DABSL_ALLOCATOR_NOTHROW=1",
48306        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48307        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48308        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48309        "-DNDEBUG",
48310        "-DNO_UNWIND_TABLES",
48311        "-DNVALGRIND",
48312        "-DOFFICIAL_BUILD",
48313        "-D_GNU_SOURCE",
48314        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48315        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48316        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48317        "-fdata-sections",
48318        "-ffunction-sections",
48319        "-fno-asynchronous-unwind-tables",
48320        "-fno-unwind-tables",
48321        "-fstack-protector",
48322        "-fvisibility-inlines-hidden",
48323        "-fvisibility=hidden",
48324        "-g1",
48325    ],
48326    local_include_dirs: [
48327        "./",
48328        "buildtools/third_party/libc++/",
48329        "third_party/abseil-cpp/",
48330        "third_party/libc++/src/include",
48331        "third_party/libc++abi/src/include",
48332    ],
48333    cpp_std: "c++20",
48334    ldflags: [
48335        "-Wl,--as-needed",
48336        "-Wl,--gc-sections",
48337        "-Wl,--icf=all",
48338    ],
48339    target: {
48340        android_arm: {
48341            cflags: [
48342                "-DANDROID",
48343                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48344                "-DHAVE_SYS_UIO_H",
48345                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48346            ],
48347        },
48348        android_arm64: {
48349            cflags: [
48350                "-DANDROID",
48351                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48352                "-DHAVE_SYS_UIO_H",
48353                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48354                "-O2",
48355                "-mno-outline",
48356            ],
48357        },
48358        android_riscv64: {
48359            cflags: [
48360                "-DANDROID",
48361                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48362                "-DHAVE_SYS_UIO_H",
48363                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48364            ],
48365        },
48366        android_x86: {
48367            cflags: [
48368                "-DANDROID",
48369                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48370                "-DHAVE_SYS_UIO_H",
48371                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48372                "-msse3",
48373            ],
48374        },
48375        android_x86_64: {
48376            cflags: [
48377                "-DANDROID",
48378                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48379                "-DHAVE_SYS_UIO_H",
48380                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48381                "-msse3",
48382            ],
48383        },
48384        host: {
48385            cflags: [
48386                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
48387                "-DUSE_AURA=1",
48388                "-DUSE_OZONE=1",
48389                "-DUSE_UDEV",
48390                "-D_FILE_OFFSET_BITS=64",
48391                "-D_LARGEFILE64_SOURCE",
48392                "-D_LARGEFILE_SOURCE",
48393                "-O2",
48394                "-msse3",
48395            ],
48396            compile_multilib: "64",
48397        },
48398    },
48399}
48400
48401// GN: //third_party/abseil-cpp/absl/synchronization:synchronization
48402cc_library_static {
48403    name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
48404    srcs: [
48405        "third_party/abseil-cpp/absl/synchronization/barrier.cc",
48406        "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
48407        "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
48408        "third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc",
48409        "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
48410        "third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc",
48411        "third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc",
48412        "third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc",
48413        "third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc",
48414        "third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc",
48415        "third_party/abseil-cpp/absl/synchronization/mutex.cc",
48416        "third_party/abseil-cpp/absl/synchronization/notification.cc",
48417    ],
48418    defaults: [
48419        "cronet_aml_cc_defaults",
48420    ],
48421    cflags: [
48422        "-DABSL_ALLOCATOR_NOTHROW=1",
48423        "-DANDROID",
48424        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48425        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48426        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48427        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48428        "-DHAVE_SYS_UIO_H",
48429        "-DNDEBUG",
48430        "-DNO_UNWIND_TABLES",
48431        "-DNVALGRIND",
48432        "-DOFFICIAL_BUILD",
48433        "-D_GNU_SOURCE",
48434        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48435        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48436        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48437        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48438        "-fdata-sections",
48439        "-ffunction-sections",
48440        "-fno-asynchronous-unwind-tables",
48441        "-fno-unwind-tables",
48442        "-fstack-protector",
48443        "-fvisibility-inlines-hidden",
48444        "-fvisibility=hidden",
48445        "-g1",
48446    ],
48447    local_include_dirs: [
48448        "./",
48449        "buildtools/third_party/libc++/",
48450        "third_party/abseil-cpp/",
48451        "third_party/libc++/src/include",
48452        "third_party/libc++abi/src/include",
48453    ],
48454    cpp_std: "c++20",
48455    ldflags: [
48456        "-Wl,--as-needed",
48457        "-Wl,--gc-sections",
48458        "-Wl,--icf=all",
48459    ],
48460    target: {
48461        android_arm64: {
48462            cflags: [
48463                "-O2",
48464                "-mno-outline",
48465            ],
48466        },
48467        android_x86: {
48468            cflags: [
48469                "-msse3",
48470            ],
48471        },
48472        android_x86_64: {
48473            cflags: [
48474                "-msse3",
48475            ],
48476        },
48477    },
48478}
48479
48480// GN: //third_party/abseil-cpp/absl/synchronization:synchronization__testing
48481cc_library_static {
48482    name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
48483    srcs: [
48484        "third_party/abseil-cpp/absl/synchronization/barrier.cc",
48485        "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
48486        "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
48487        "third_party/abseil-cpp/absl/synchronization/internal/futex_waiter.cc",
48488        "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
48489        "third_party/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc",
48490        "third_party/abseil-cpp/absl/synchronization/internal/sem_waiter.cc",
48491        "third_party/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc",
48492        "third_party/abseil-cpp/absl/synchronization/internal/waiter_base.cc",
48493        "third_party/abseil-cpp/absl/synchronization/internal/win32_waiter.cc",
48494        "third_party/abseil-cpp/absl/synchronization/mutex.cc",
48495        "third_party/abseil-cpp/absl/synchronization/notification.cc",
48496    ],
48497    host_supported: true,
48498    defaults: [
48499        "cronet_aml_cc_defaults",
48500    ],
48501    cflags: [
48502        "-DABSL_ALLOCATOR_NOTHROW=1",
48503        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48504        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48505        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48506        "-DNDEBUG",
48507        "-DNO_UNWIND_TABLES",
48508        "-DNVALGRIND",
48509        "-DOFFICIAL_BUILD",
48510        "-D_GNU_SOURCE",
48511        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48512        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48513        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48514        "-fdata-sections",
48515        "-ffunction-sections",
48516        "-fno-asynchronous-unwind-tables",
48517        "-fno-unwind-tables",
48518        "-fstack-protector",
48519        "-fvisibility-inlines-hidden",
48520        "-fvisibility=hidden",
48521        "-g1",
48522    ],
48523    local_include_dirs: [
48524        "./",
48525        "buildtools/third_party/libc++/",
48526        "third_party/abseil-cpp/",
48527        "third_party/libc++/src/include",
48528        "third_party/libc++abi/src/include",
48529    ],
48530    cpp_std: "c++20",
48531    ldflags: [
48532        "-Wl,--as-needed",
48533        "-Wl,--gc-sections",
48534        "-Wl,--icf=all",
48535    ],
48536    target: {
48537        android_arm: {
48538            cflags: [
48539                "-DANDROID",
48540                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48541                "-DHAVE_SYS_UIO_H",
48542                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48543            ],
48544        },
48545        android_arm64: {
48546            cflags: [
48547                "-DANDROID",
48548                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48549                "-DHAVE_SYS_UIO_H",
48550                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48551                "-O2",
48552                "-mno-outline",
48553            ],
48554        },
48555        android_riscv64: {
48556            cflags: [
48557                "-DANDROID",
48558                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48559                "-DHAVE_SYS_UIO_H",
48560                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48561            ],
48562        },
48563        android_x86: {
48564            cflags: [
48565                "-DANDROID",
48566                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48567                "-DHAVE_SYS_UIO_H",
48568                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48569                "-msse3",
48570            ],
48571        },
48572        android_x86_64: {
48573            cflags: [
48574                "-DANDROID",
48575                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48576                "-DHAVE_SYS_UIO_H",
48577                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48578                "-msse3",
48579            ],
48580        },
48581        host: {
48582            cflags: [
48583                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
48584                "-DUSE_AURA=1",
48585                "-DUSE_OZONE=1",
48586                "-DUSE_UDEV",
48587                "-D_FILE_OFFSET_BITS=64",
48588                "-D_LARGEFILE64_SOURCE",
48589                "-D_LARGEFILE_SOURCE",
48590                "-O2",
48591                "-msse3",
48592            ],
48593            compile_multilib: "64",
48594        },
48595    },
48596}
48597
48598// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time
48599cc_library_static {
48600    name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
48601    srcs: [
48602        "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
48603    ],
48604    defaults: [
48605        "cronet_aml_cc_defaults",
48606    ],
48607    cflags: [
48608        "-DABSL_ALLOCATOR_NOTHROW=1",
48609        "-DANDROID",
48610        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48611        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48612        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48613        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48614        "-DHAVE_SYS_UIO_H",
48615        "-DNDEBUG",
48616        "-DNO_UNWIND_TABLES",
48617        "-DNVALGRIND",
48618        "-DOFFICIAL_BUILD",
48619        "-D_GNU_SOURCE",
48620        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48621        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48622        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48623        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48624        "-fdata-sections",
48625        "-ffunction-sections",
48626        "-fno-asynchronous-unwind-tables",
48627        "-fno-unwind-tables",
48628        "-fstack-protector",
48629        "-fvisibility-inlines-hidden",
48630        "-fvisibility=hidden",
48631        "-g1",
48632    ],
48633    local_include_dirs: [
48634        "./",
48635        "buildtools/third_party/libc++/",
48636        "third_party/abseil-cpp/",
48637        "third_party/libc++/src/include",
48638        "third_party/libc++abi/src/include",
48639    ],
48640    cpp_std: "c++20",
48641    ldflags: [
48642        "-Wl,--as-needed",
48643        "-Wl,--gc-sections",
48644        "-Wl,--icf=all",
48645    ],
48646    target: {
48647        android_arm64: {
48648            cflags: [
48649                "-O2",
48650                "-mno-outline",
48651            ],
48652        },
48653        android_x86: {
48654            cflags: [
48655                "-msse3",
48656            ],
48657        },
48658        android_x86_64: {
48659            cflags: [
48660                "-msse3",
48661            ],
48662        },
48663    },
48664}
48665
48666// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time__testing
48667cc_library_static {
48668    name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
48669    srcs: [
48670        "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
48671    ],
48672    host_supported: true,
48673    defaults: [
48674        "cronet_aml_cc_defaults",
48675    ],
48676    cflags: [
48677        "-DABSL_ALLOCATOR_NOTHROW=1",
48678        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48679        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48680        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48681        "-DNDEBUG",
48682        "-DNO_UNWIND_TABLES",
48683        "-DNVALGRIND",
48684        "-DOFFICIAL_BUILD",
48685        "-D_GNU_SOURCE",
48686        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48687        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48688        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48689        "-fdata-sections",
48690        "-ffunction-sections",
48691        "-fno-asynchronous-unwind-tables",
48692        "-fno-unwind-tables",
48693        "-fstack-protector",
48694        "-fvisibility-inlines-hidden",
48695        "-fvisibility=hidden",
48696        "-g1",
48697    ],
48698    local_include_dirs: [
48699        "./",
48700        "buildtools/third_party/libc++/",
48701        "third_party/abseil-cpp/",
48702        "third_party/libc++/src/include",
48703        "third_party/libc++abi/src/include",
48704    ],
48705    cpp_std: "c++20",
48706    ldflags: [
48707        "-Wl,--as-needed",
48708        "-Wl,--gc-sections",
48709        "-Wl,--icf=all",
48710    ],
48711    target: {
48712        android_arm: {
48713            cflags: [
48714                "-DANDROID",
48715                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48716                "-DHAVE_SYS_UIO_H",
48717                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48718            ],
48719        },
48720        android_arm64: {
48721            cflags: [
48722                "-DANDROID",
48723                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48724                "-DHAVE_SYS_UIO_H",
48725                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48726                "-O2",
48727                "-mno-outline",
48728            ],
48729        },
48730        android_riscv64: {
48731            cflags: [
48732                "-DANDROID",
48733                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48734                "-DHAVE_SYS_UIO_H",
48735                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48736            ],
48737        },
48738        android_x86: {
48739            cflags: [
48740                "-DANDROID",
48741                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48742                "-DHAVE_SYS_UIO_H",
48743                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48744                "-msse3",
48745            ],
48746        },
48747        android_x86_64: {
48748            cflags: [
48749                "-DANDROID",
48750                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48751                "-DHAVE_SYS_UIO_H",
48752                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48753                "-msse3",
48754            ],
48755        },
48756        host: {
48757            cflags: [
48758                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
48759                "-DUSE_AURA=1",
48760                "-DUSE_OZONE=1",
48761                "-DUSE_UDEV",
48762                "-D_FILE_OFFSET_BITS=64",
48763                "-D_LARGEFILE64_SOURCE",
48764                "-D_LARGEFILE_SOURCE",
48765                "-O2",
48766                "-msse3",
48767            ],
48768            compile_multilib: "64",
48769        },
48770    },
48771}
48772
48773// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone
48774cc_library_static {
48775    name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
48776    srcs: [
48777        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
48778        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
48779        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
48780        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
48781        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
48782        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
48783        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
48784        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
48785        "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
48786    ],
48787    defaults: [
48788        "cronet_aml_cc_defaults",
48789    ],
48790    cflags: [
48791        "-DABSL_ALLOCATOR_NOTHROW=1",
48792        "-DANDROID",
48793        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48794        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48795        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48796        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48797        "-DHAVE_SYS_UIO_H",
48798        "-DNDEBUG",
48799        "-DNO_UNWIND_TABLES",
48800        "-DNVALGRIND",
48801        "-DOFFICIAL_BUILD",
48802        "-D_GNU_SOURCE",
48803        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48804        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48805        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48806        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48807        "-fdata-sections",
48808        "-ffunction-sections",
48809        "-fno-asynchronous-unwind-tables",
48810        "-fno-unwind-tables",
48811        "-fstack-protector",
48812        "-fvisibility-inlines-hidden",
48813        "-fvisibility=hidden",
48814        "-g1",
48815    ],
48816    local_include_dirs: [
48817        "./",
48818        "buildtools/third_party/libc++/",
48819        "third_party/abseil-cpp/",
48820        "third_party/libc++/src/include",
48821        "third_party/libc++abi/src/include",
48822    ],
48823    cpp_std: "c++20",
48824    ldflags: [
48825        "-Wl,--as-needed",
48826        "-Wl,--gc-sections",
48827        "-Wl,--icf=all",
48828    ],
48829    target: {
48830        android_arm64: {
48831            cflags: [
48832                "-O2",
48833                "-mno-outline",
48834            ],
48835        },
48836        android_x86: {
48837            cflags: [
48838                "-msse3",
48839            ],
48840        },
48841        android_x86_64: {
48842            cflags: [
48843                "-msse3",
48844            ],
48845        },
48846    },
48847}
48848
48849// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone__testing
48850cc_library_static {
48851    name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
48852    srcs: [
48853        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
48854        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
48855        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
48856        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
48857        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
48858        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
48859        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
48860        "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
48861        "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
48862    ],
48863    host_supported: true,
48864    defaults: [
48865        "cronet_aml_cc_defaults",
48866    ],
48867    cflags: [
48868        "-DABSL_ALLOCATOR_NOTHROW=1",
48869        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48870        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48871        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48872        "-DNDEBUG",
48873        "-DNO_UNWIND_TABLES",
48874        "-DNVALGRIND",
48875        "-DOFFICIAL_BUILD",
48876        "-D_GNU_SOURCE",
48877        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48878        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48879        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48880        "-fdata-sections",
48881        "-ffunction-sections",
48882        "-fno-asynchronous-unwind-tables",
48883        "-fno-unwind-tables",
48884        "-fstack-protector",
48885        "-fvisibility-inlines-hidden",
48886        "-fvisibility=hidden",
48887        "-g1",
48888    ],
48889    local_include_dirs: [
48890        "./",
48891        "buildtools/third_party/libc++/",
48892        "third_party/abseil-cpp/",
48893        "third_party/libc++/src/include",
48894        "third_party/libc++abi/src/include",
48895    ],
48896    cpp_std: "c++20",
48897    ldflags: [
48898        "-Wl,--as-needed",
48899        "-Wl,--gc-sections",
48900        "-Wl,--icf=all",
48901    ],
48902    target: {
48903        android_arm: {
48904            cflags: [
48905                "-DANDROID",
48906                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48907                "-DHAVE_SYS_UIO_H",
48908                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48909            ],
48910        },
48911        android_arm64: {
48912            cflags: [
48913                "-DANDROID",
48914                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48915                "-DHAVE_SYS_UIO_H",
48916                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48917                "-O2",
48918                "-mno-outline",
48919            ],
48920        },
48921        android_riscv64: {
48922            cflags: [
48923                "-DANDROID",
48924                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48925                "-DHAVE_SYS_UIO_H",
48926                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48927            ],
48928        },
48929        android_x86: {
48930            cflags: [
48931                "-DANDROID",
48932                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48933                "-DHAVE_SYS_UIO_H",
48934                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48935                "-msse3",
48936            ],
48937        },
48938        android_x86_64: {
48939            cflags: [
48940                "-DANDROID",
48941                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48942                "-DHAVE_SYS_UIO_H",
48943                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48944                "-msse3",
48945            ],
48946        },
48947        host: {
48948            cflags: [
48949                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
48950                "-DUSE_AURA=1",
48951                "-DUSE_OZONE=1",
48952                "-DUSE_UDEV",
48953                "-D_FILE_OFFSET_BITS=64",
48954                "-D_LARGEFILE64_SOURCE",
48955                "-D_LARGEFILE_SOURCE",
48956                "-O2",
48957                "-msse3",
48958            ],
48959            compile_multilib: "64",
48960        },
48961    },
48962}
48963
48964// GN: //third_party/abseil-cpp/absl/time:time
48965cc_library_static {
48966    name: "cronet_aml_third_party_abseil_cpp_absl_time_time",
48967    srcs: [
48968        "third_party/abseil-cpp/absl/time/civil_time.cc",
48969        "third_party/abseil-cpp/absl/time/clock.cc",
48970        "third_party/abseil-cpp/absl/time/duration.cc",
48971        "third_party/abseil-cpp/absl/time/format.cc",
48972        "third_party/abseil-cpp/absl/time/time.cc",
48973    ],
48974    defaults: [
48975        "cronet_aml_cc_defaults",
48976    ],
48977    cflags: [
48978        "-DABSL_ALLOCATOR_NOTHROW=1",
48979        "-DANDROID",
48980        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
48981        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
48982        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
48983        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
48984        "-DHAVE_SYS_UIO_H",
48985        "-DNDEBUG",
48986        "-DNO_UNWIND_TABLES",
48987        "-DNVALGRIND",
48988        "-DOFFICIAL_BUILD",
48989        "-D_GNU_SOURCE",
48990        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48991        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
48992        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
48993        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
48994        "-fdata-sections",
48995        "-ffunction-sections",
48996        "-fno-asynchronous-unwind-tables",
48997        "-fno-unwind-tables",
48998        "-fstack-protector",
48999        "-fvisibility-inlines-hidden",
49000        "-fvisibility=hidden",
49001        "-g1",
49002    ],
49003    local_include_dirs: [
49004        "./",
49005        "buildtools/third_party/libc++/",
49006        "third_party/abseil-cpp/",
49007        "third_party/libc++/src/include",
49008        "third_party/libc++abi/src/include",
49009    ],
49010    cpp_std: "c++20",
49011    ldflags: [
49012        "-Wl,--as-needed",
49013        "-Wl,--gc-sections",
49014        "-Wl,--icf=all",
49015    ],
49016    target: {
49017        android_arm64: {
49018            cflags: [
49019                "-O2",
49020                "-mno-outline",
49021            ],
49022        },
49023        android_x86: {
49024            cflags: [
49025                "-msse3",
49026            ],
49027        },
49028        android_x86_64: {
49029            cflags: [
49030                "-msse3",
49031            ],
49032        },
49033    },
49034}
49035
49036// GN: //third_party/abseil-cpp/absl/time:time__testing
49037cc_library_static {
49038    name: "cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
49039    srcs: [
49040        "third_party/abseil-cpp/absl/time/civil_time.cc",
49041        "third_party/abseil-cpp/absl/time/clock.cc",
49042        "third_party/abseil-cpp/absl/time/duration.cc",
49043        "third_party/abseil-cpp/absl/time/format.cc",
49044        "third_party/abseil-cpp/absl/time/time.cc",
49045    ],
49046    host_supported: true,
49047    defaults: [
49048        "cronet_aml_cc_defaults",
49049    ],
49050    cflags: [
49051        "-DABSL_ALLOCATOR_NOTHROW=1",
49052        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49053        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49054        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49055        "-DNDEBUG",
49056        "-DNO_UNWIND_TABLES",
49057        "-DNVALGRIND",
49058        "-DOFFICIAL_BUILD",
49059        "-D_GNU_SOURCE",
49060        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49061        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49062        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49063        "-fdata-sections",
49064        "-ffunction-sections",
49065        "-fno-asynchronous-unwind-tables",
49066        "-fno-unwind-tables",
49067        "-fstack-protector",
49068        "-fvisibility-inlines-hidden",
49069        "-fvisibility=hidden",
49070        "-g1",
49071    ],
49072    local_include_dirs: [
49073        "./",
49074        "buildtools/third_party/libc++/",
49075        "third_party/abseil-cpp/",
49076        "third_party/libc++/src/include",
49077        "third_party/libc++abi/src/include",
49078    ],
49079    cpp_std: "c++20",
49080    ldflags: [
49081        "-Wl,--as-needed",
49082        "-Wl,--gc-sections",
49083        "-Wl,--icf=all",
49084    ],
49085    target: {
49086        android_arm: {
49087            cflags: [
49088                "-DANDROID",
49089                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49090                "-DHAVE_SYS_UIO_H",
49091                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49092            ],
49093        },
49094        android_arm64: {
49095            cflags: [
49096                "-DANDROID",
49097                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49098                "-DHAVE_SYS_UIO_H",
49099                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49100                "-O2",
49101                "-mno-outline",
49102            ],
49103        },
49104        android_riscv64: {
49105            cflags: [
49106                "-DANDROID",
49107                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49108                "-DHAVE_SYS_UIO_H",
49109                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49110            ],
49111        },
49112        android_x86: {
49113            cflags: [
49114                "-DANDROID",
49115                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49116                "-DHAVE_SYS_UIO_H",
49117                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49118                "-msse3",
49119            ],
49120        },
49121        android_x86_64: {
49122            cflags: [
49123                "-DANDROID",
49124                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49125                "-DHAVE_SYS_UIO_H",
49126                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49127                "-msse3",
49128            ],
49129        },
49130        host: {
49131            cflags: [
49132                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
49133                "-DUSE_AURA=1",
49134                "-DUSE_OZONE=1",
49135                "-DUSE_UDEV",
49136                "-D_FILE_OFFSET_BITS=64",
49137                "-D_LARGEFILE64_SOURCE",
49138                "-D_LARGEFILE_SOURCE",
49139                "-O2",
49140                "-msse3",
49141            ],
49142            compile_multilib: "64",
49143        },
49144    },
49145}
49146
49147// GN: //third_party/abseil-cpp/absl/types:bad_optional_access
49148cc_library_static {
49149    name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
49150    srcs: [
49151        "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
49152    ],
49153    defaults: [
49154        "cronet_aml_cc_defaults",
49155    ],
49156    cflags: [
49157        "-DABSL_ALLOCATOR_NOTHROW=1",
49158        "-DANDROID",
49159        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49160        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49161        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49162        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49163        "-DHAVE_SYS_UIO_H",
49164        "-DNDEBUG",
49165        "-DNO_UNWIND_TABLES",
49166        "-DNVALGRIND",
49167        "-DOFFICIAL_BUILD",
49168        "-D_GNU_SOURCE",
49169        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49170        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49171        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49172        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49173        "-fdata-sections",
49174        "-ffunction-sections",
49175        "-fno-asynchronous-unwind-tables",
49176        "-fno-unwind-tables",
49177        "-fstack-protector",
49178        "-fvisibility-inlines-hidden",
49179        "-fvisibility=hidden",
49180        "-g1",
49181    ],
49182    local_include_dirs: [
49183        "./",
49184        "buildtools/third_party/libc++/",
49185        "third_party/abseil-cpp/",
49186        "third_party/libc++/src/include",
49187        "third_party/libc++abi/src/include",
49188    ],
49189    cpp_std: "c++20",
49190    ldflags: [
49191        "-Wl,--as-needed",
49192        "-Wl,--gc-sections",
49193        "-Wl,--icf=all",
49194    ],
49195    target: {
49196        android_arm64: {
49197            cflags: [
49198                "-O2",
49199                "-mno-outline",
49200            ],
49201        },
49202        android_x86: {
49203            cflags: [
49204                "-msse3",
49205            ],
49206        },
49207        android_x86_64: {
49208            cflags: [
49209                "-msse3",
49210            ],
49211        },
49212    },
49213}
49214
49215// GN: //third_party/abseil-cpp/absl/types:bad_optional_access__testing
49216cc_library_static {
49217    name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
49218    srcs: [
49219        "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
49220    ],
49221    host_supported: true,
49222    defaults: [
49223        "cronet_aml_cc_defaults",
49224    ],
49225    cflags: [
49226        "-DABSL_ALLOCATOR_NOTHROW=1",
49227        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49228        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49229        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49230        "-DNDEBUG",
49231        "-DNO_UNWIND_TABLES",
49232        "-DNVALGRIND",
49233        "-DOFFICIAL_BUILD",
49234        "-D_GNU_SOURCE",
49235        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49236        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49237        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49238        "-fdata-sections",
49239        "-ffunction-sections",
49240        "-fno-asynchronous-unwind-tables",
49241        "-fno-unwind-tables",
49242        "-fstack-protector",
49243        "-fvisibility-inlines-hidden",
49244        "-fvisibility=hidden",
49245        "-g1",
49246    ],
49247    local_include_dirs: [
49248        "./",
49249        "buildtools/third_party/libc++/",
49250        "third_party/abseil-cpp/",
49251        "third_party/libc++/src/include",
49252        "third_party/libc++abi/src/include",
49253    ],
49254    cpp_std: "c++20",
49255    ldflags: [
49256        "-Wl,--as-needed",
49257        "-Wl,--gc-sections",
49258        "-Wl,--icf=all",
49259    ],
49260    target: {
49261        android_arm: {
49262            cflags: [
49263                "-DANDROID",
49264                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49265                "-DHAVE_SYS_UIO_H",
49266                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49267            ],
49268        },
49269        android_arm64: {
49270            cflags: [
49271                "-DANDROID",
49272                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49273                "-DHAVE_SYS_UIO_H",
49274                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49275                "-O2",
49276                "-mno-outline",
49277            ],
49278        },
49279        android_riscv64: {
49280            cflags: [
49281                "-DANDROID",
49282                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49283                "-DHAVE_SYS_UIO_H",
49284                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49285            ],
49286        },
49287        android_x86: {
49288            cflags: [
49289                "-DANDROID",
49290                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49291                "-DHAVE_SYS_UIO_H",
49292                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49293                "-msse3",
49294            ],
49295        },
49296        android_x86_64: {
49297            cflags: [
49298                "-DANDROID",
49299                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49300                "-DHAVE_SYS_UIO_H",
49301                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49302                "-msse3",
49303            ],
49304        },
49305        host: {
49306            cflags: [
49307                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
49308                "-DUSE_AURA=1",
49309                "-DUSE_OZONE=1",
49310                "-DUSE_UDEV",
49311                "-D_FILE_OFFSET_BITS=64",
49312                "-D_LARGEFILE64_SOURCE",
49313                "-D_LARGEFILE_SOURCE",
49314                "-O2",
49315                "-msse3",
49316            ],
49317            compile_multilib: "64",
49318        },
49319    },
49320}
49321
49322// GN: //third_party/abseil-cpp/absl/types:bad_variant_access
49323cc_library_static {
49324    name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
49325    srcs: [
49326        "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
49327    ],
49328    defaults: [
49329        "cronet_aml_cc_defaults",
49330    ],
49331    cflags: [
49332        "-DABSL_ALLOCATOR_NOTHROW=1",
49333        "-DANDROID",
49334        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49335        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49336        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49337        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49338        "-DHAVE_SYS_UIO_H",
49339        "-DNDEBUG",
49340        "-DNO_UNWIND_TABLES",
49341        "-DNVALGRIND",
49342        "-DOFFICIAL_BUILD",
49343        "-D_GNU_SOURCE",
49344        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49345        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49346        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49347        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49348        "-fdata-sections",
49349        "-ffunction-sections",
49350        "-fno-asynchronous-unwind-tables",
49351        "-fno-unwind-tables",
49352        "-fstack-protector",
49353        "-fvisibility-inlines-hidden",
49354        "-fvisibility=hidden",
49355        "-g1",
49356    ],
49357    local_include_dirs: [
49358        "./",
49359        "buildtools/third_party/libc++/",
49360        "third_party/abseil-cpp/",
49361        "third_party/libc++/src/include",
49362        "third_party/libc++abi/src/include",
49363    ],
49364    cpp_std: "c++20",
49365    ldflags: [
49366        "-Wl,--as-needed",
49367        "-Wl,--gc-sections",
49368        "-Wl,--icf=all",
49369    ],
49370    target: {
49371        android_arm64: {
49372            cflags: [
49373                "-O2",
49374                "-mno-outline",
49375            ],
49376        },
49377        android_x86: {
49378            cflags: [
49379                "-msse3",
49380            ],
49381        },
49382        android_x86_64: {
49383            cflags: [
49384                "-msse3",
49385            ],
49386        },
49387    },
49388}
49389
49390// GN: //third_party/abseil-cpp/absl/types:bad_variant_access__testing
49391cc_library_static {
49392    name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
49393    srcs: [
49394        "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
49395    ],
49396    host_supported: true,
49397    defaults: [
49398        "cronet_aml_cc_defaults",
49399    ],
49400    cflags: [
49401        "-DABSL_ALLOCATOR_NOTHROW=1",
49402        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49403        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49404        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49405        "-DNDEBUG",
49406        "-DNO_UNWIND_TABLES",
49407        "-DNVALGRIND",
49408        "-DOFFICIAL_BUILD",
49409        "-D_GNU_SOURCE",
49410        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49411        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49412        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49413        "-fdata-sections",
49414        "-ffunction-sections",
49415        "-fno-asynchronous-unwind-tables",
49416        "-fno-unwind-tables",
49417        "-fstack-protector",
49418        "-fvisibility-inlines-hidden",
49419        "-fvisibility=hidden",
49420        "-g1",
49421    ],
49422    local_include_dirs: [
49423        "./",
49424        "buildtools/third_party/libc++/",
49425        "third_party/abseil-cpp/",
49426        "third_party/libc++/src/include",
49427        "third_party/libc++abi/src/include",
49428    ],
49429    cpp_std: "c++20",
49430    ldflags: [
49431        "-Wl,--as-needed",
49432        "-Wl,--gc-sections",
49433        "-Wl,--icf=all",
49434    ],
49435    target: {
49436        android_arm: {
49437            cflags: [
49438                "-DANDROID",
49439                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49440                "-DHAVE_SYS_UIO_H",
49441                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49442            ],
49443        },
49444        android_arm64: {
49445            cflags: [
49446                "-DANDROID",
49447                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49448                "-DHAVE_SYS_UIO_H",
49449                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49450                "-O2",
49451                "-mno-outline",
49452            ],
49453        },
49454        android_riscv64: {
49455            cflags: [
49456                "-DANDROID",
49457                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49458                "-DHAVE_SYS_UIO_H",
49459                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49460            ],
49461        },
49462        android_x86: {
49463            cflags: [
49464                "-DANDROID",
49465                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49466                "-DHAVE_SYS_UIO_H",
49467                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49468                "-msse3",
49469            ],
49470        },
49471        android_x86_64: {
49472            cflags: [
49473                "-DANDROID",
49474                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49475                "-DHAVE_SYS_UIO_H",
49476                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49477                "-msse3",
49478            ],
49479        },
49480        host: {
49481            cflags: [
49482                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
49483                "-DUSE_AURA=1",
49484                "-DUSE_OZONE=1",
49485                "-DUSE_UDEV",
49486                "-D_FILE_OFFSET_BITS=64",
49487                "-D_LARGEFILE64_SOURCE",
49488                "-D_LARGEFILE_SOURCE",
49489                "-O2",
49490                "-msse3",
49491            ],
49492            compile_multilib: "64",
49493        },
49494    },
49495}
49496
49497// GN: //third_party/anonymous_tokens:anonymous_tokens_cc_proto__testing
49498cc_library_static {
49499    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto__testing",
49500    srcs: [
49501        ":cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing",
49502    ],
49503    shared_libs: [
49504        "liblog",
49505        "libprotobuf-cpp-lite",
49506    ],
49507    generated_headers: [
49508        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49509    ],
49510    export_generated_headers: [
49511        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49512    ],
49513    defaults: [
49514        "cronet_aml_cc_defaults",
49515    ],
49516    cflags: [
49517        "-DANDROID",
49518        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49519        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49520        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49521        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49522        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
49523        "-DGOOGLE_PROTOBUF_NO_RTTI",
49524        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
49525        "-DHAVE_PTHREAD",
49526        "-DHAVE_SYS_UIO_H",
49527        "-DNDEBUG",
49528        "-DNO_UNWIND_TABLES",
49529        "-DNVALGRIND",
49530        "-DOFFICIAL_BUILD",
49531        "-D_GNU_SOURCE",
49532        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49533        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49534        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49535        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49536        "-D__STDC_CONSTANT_MACROS",
49537        "-D__STDC_FORMAT_MACROS",
49538        "-fdata-sections",
49539        "-ffunction-sections",
49540        "-fno-asynchronous-unwind-tables",
49541        "-fno-unwind-tables",
49542        "-fstack-protector",
49543        "-fvisibility-inlines-hidden",
49544        "-fvisibility=hidden",
49545        "-g1",
49546    ],
49547    local_include_dirs: [
49548        "./",
49549        "buildtools/third_party/libc++/",
49550        "third_party/libc++/src/include",
49551        "third_party/libc++abi/src/include",
49552        "third_party/protobuf/src/",
49553    ],
49554    cpp_std: "c++20",
49555    ldflags: [
49556        "-Wl,--as-needed",
49557        "-Wl,--gc-sections",
49558        "-Wl,--icf=all",
49559    ],
49560    target: {
49561        android_arm: {
49562            cflags: [
49563                "-D_FORTIFY_SOURCE=2",
49564            ],
49565        },
49566        android_arm64: {
49567            cflags: [
49568                "-D_FORTIFY_SOURCE=2",
49569                "-O2",
49570                "-mno-outline",
49571            ],
49572        },
49573        android_x86: {
49574            cflags: [
49575                "-D_FORTIFY_SOURCE=2",
49576                "-msse3",
49577            ],
49578        },
49579        android_x86_64: {
49580            cflags: [
49581                "-D_FORTIFY_SOURCE=2",
49582                "-msse3",
49583            ],
49584        },
49585    },
49586}
49587
49588// GN: //third_party/anonymous_tokens:anonymous_tokens_cc_proto_gen__testing
49589cc_genrule {
49590    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing",
49591    srcs: [
49592        "third_party/anonymous_tokens/src/anonymous_tokens/proto/anonymous_tokens.proto",
49593    ],
49594    tools: [
49595        "cronet_aml_third_party_protobuf_protoc",
49596    ],
49597    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/anonymous_tokens/src --cpp_out=lite=true:$(genDir)/external/cronet/third_party/anonymous_tokens/src/ $(in)",
49598    out: [
49599        "external/cronet/third_party/anonymous_tokens/src/anonymous_tokens/proto/anonymous_tokens.pb.cc",
49600    ],
49601    apex_available: [
49602        "com.android.tethering",
49603    ],
49604}
49605
49606// GN: //third_party/anonymous_tokens:anonymous_tokens_cc_proto_gen__testing
49607cc_genrule {
49608    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49609    srcs: [
49610        "third_party/anonymous_tokens/src/anonymous_tokens/proto/anonymous_tokens.proto",
49611    ],
49612    tools: [
49613        "cronet_aml_third_party_protobuf_protoc",
49614    ],
49615    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/anonymous_tokens/src --cpp_out=lite=true:$(genDir)/external/cronet/third_party/anonymous_tokens/src/ $(in)",
49616    out: [
49617        "external/cronet/third_party/anonymous_tokens/src/anonymous_tokens/proto/anonymous_tokens.pb.h",
49618    ],
49619    export_include_dirs: [
49620        ".",
49621        "protos",
49622        "third_party/anonymous_tokens/src",
49623    ],
49624    apex_available: [
49625        "com.android.tethering",
49626    ],
49627}
49628
49629// GN: //third_party/anonymous_tokens:anonymous_tokens_pb_openssl_converters__testing
49630cc_library_static {
49631    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_pb_openssl_converters__testing",
49632    srcs: [
49633        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/anonymous_tokens_pb_openssl_converters.cc",
49634    ],
49635    shared_libs: [
49636        "liblog",
49637        "libprotobuf-cpp-lite",
49638    ],
49639    generated_headers: [
49640        "cronet_aml_build_chromeos_buildflags__testing",
49641        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49642    ],
49643    export_generated_headers: [
49644        "cronet_aml_build_chromeos_buildflags__testing",
49645        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49646    ],
49647    defaults: [
49648        "cronet_aml_cc_defaults",
49649    ],
49650    cflags: [
49651        "-DANDROID",
49652        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49653        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49654        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49655        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49656        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
49657        "-DGOOGLE_PROTOBUF_NO_RTTI",
49658        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
49659        "-DHAVE_PTHREAD",
49660        "-DHAVE_SYS_UIO_H",
49661        "-DNDEBUG",
49662        "-DNO_UNWIND_TABLES",
49663        "-DNVALGRIND",
49664        "-DOFFICIAL_BUILD",
49665        "-D_GNU_SOURCE",
49666        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49667        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49668        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49669        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49670        "-D__STDC_CONSTANT_MACROS",
49671        "-D__STDC_FORMAT_MACROS",
49672        "-fdata-sections",
49673        "-ffunction-sections",
49674        "-fno-asynchronous-unwind-tables",
49675        "-fno-unwind-tables",
49676        "-fstack-protector",
49677        "-fvisibility-inlines-hidden",
49678        "-fvisibility=hidden",
49679        "-g1",
49680    ],
49681    local_include_dirs: [
49682        "./",
49683        "buildtools/third_party/libc++/",
49684        "third_party/abseil-cpp/",
49685        "third_party/anonymous_tokens/overrides/",
49686        "third_party/anonymous_tokens/src/",
49687        "third_party/boringssl/src/include/",
49688        "third_party/libc++/src/include",
49689        "third_party/libc++abi/src/include",
49690        "third_party/protobuf/src/",
49691    ],
49692    cpp_std: "c++20",
49693    ldflags: [
49694        "-Wl,--as-needed",
49695        "-Wl,--gc-sections",
49696        "-Wl,--icf=all",
49697    ],
49698    target: {
49699        android_arm: {
49700            cflags: [
49701                "-D_FORTIFY_SOURCE=2",
49702            ],
49703        },
49704        android_arm64: {
49705            cflags: [
49706                "-D_FORTIFY_SOURCE=2",
49707                "-O2",
49708                "-mno-outline",
49709            ],
49710        },
49711        android_x86: {
49712            cflags: [
49713                "-D_FORTIFY_SOURCE=2",
49714                "-msse3",
49715            ],
49716        },
49717        android_x86_64: {
49718            cflags: [
49719                "-D_FORTIFY_SOURCE=2",
49720                "-msse3",
49721            ],
49722        },
49723    },
49724}
49725
49726// GN: //third_party/anonymous_tokens:anonymous_tokens_public_key_client__testing
49727cc_library_static {
49728    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_public_key_client__testing",
49729    srcs: [
49730        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/client/anonymous_tokens_public_key_client.cc",
49731    ],
49732    shared_libs: [
49733        "liblog",
49734        "libprotobuf-cpp-lite",
49735    ],
49736    generated_headers: [
49737        "cronet_aml_build_chromeos_buildflags__testing",
49738        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49739    ],
49740    export_generated_headers: [
49741        "cronet_aml_build_chromeos_buildflags__testing",
49742        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49743    ],
49744    defaults: [
49745        "cronet_aml_cc_defaults",
49746    ],
49747    cflags: [
49748        "-DANDROID",
49749        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49750        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49751        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49752        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49753        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
49754        "-DGOOGLE_PROTOBUF_NO_RTTI",
49755        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
49756        "-DHAVE_PTHREAD",
49757        "-DHAVE_SYS_UIO_H",
49758        "-DNDEBUG",
49759        "-DNO_UNWIND_TABLES",
49760        "-DNVALGRIND",
49761        "-DOFFICIAL_BUILD",
49762        "-D_GNU_SOURCE",
49763        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49764        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49765        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49766        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49767        "-D__STDC_CONSTANT_MACROS",
49768        "-D__STDC_FORMAT_MACROS",
49769        "-fdata-sections",
49770        "-ffunction-sections",
49771        "-fno-asynchronous-unwind-tables",
49772        "-fno-unwind-tables",
49773        "-fstack-protector",
49774        "-fvisibility-inlines-hidden",
49775        "-fvisibility=hidden",
49776        "-g1",
49777    ],
49778    local_include_dirs: [
49779        "./",
49780        "buildtools/third_party/libc++/",
49781        "third_party/abseil-cpp/",
49782        "third_party/anonymous_tokens/overrides/",
49783        "third_party/anonymous_tokens/src/",
49784        "third_party/libc++/src/include",
49785        "third_party/libc++abi/src/include",
49786        "third_party/protobuf/src/",
49787    ],
49788    cpp_std: "c++20",
49789    ldflags: [
49790        "-Wl,--as-needed",
49791        "-Wl,--gc-sections",
49792        "-Wl,--icf=all",
49793    ],
49794    target: {
49795        android_arm: {
49796            cflags: [
49797                "-D_FORTIFY_SOURCE=2",
49798            ],
49799        },
49800        android_arm64: {
49801            cflags: [
49802                "-D_FORTIFY_SOURCE=2",
49803                "-O2",
49804                "-mno-outline",
49805            ],
49806        },
49807        android_x86: {
49808            cflags: [
49809                "-D_FORTIFY_SOURCE=2",
49810                "-msse3",
49811            ],
49812        },
49813        android_x86_64: {
49814            cflags: [
49815                "-D_FORTIFY_SOURCE=2",
49816                "-msse3",
49817            ],
49818        },
49819    },
49820}
49821
49822// GN: //third_party/anonymous_tokens:anonymous_tokens_redemption_client__testing
49823cc_library_static {
49824    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_redemption_client__testing",
49825    srcs: [
49826        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/client/anonymous_tokens_redemption_client.cc",
49827    ],
49828    shared_libs: [
49829        "liblog",
49830        "libprotobuf-cpp-lite",
49831    ],
49832    generated_headers: [
49833        "cronet_aml_build_chromeos_buildflags__testing",
49834        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49835    ],
49836    export_generated_headers: [
49837        "cronet_aml_build_chromeos_buildflags__testing",
49838        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49839    ],
49840    defaults: [
49841        "cronet_aml_cc_defaults",
49842    ],
49843    cflags: [
49844        "-DANDROID",
49845        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49846        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49847        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49848        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49849        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
49850        "-DGOOGLE_PROTOBUF_NO_RTTI",
49851        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
49852        "-DHAVE_PTHREAD",
49853        "-DHAVE_SYS_UIO_H",
49854        "-DNDEBUG",
49855        "-DNO_UNWIND_TABLES",
49856        "-DNVALGRIND",
49857        "-DOFFICIAL_BUILD",
49858        "-D_GNU_SOURCE",
49859        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49860        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49861        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49862        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49863        "-D__STDC_CONSTANT_MACROS",
49864        "-D__STDC_FORMAT_MACROS",
49865        "-fdata-sections",
49866        "-ffunction-sections",
49867        "-fno-asynchronous-unwind-tables",
49868        "-fno-unwind-tables",
49869        "-fstack-protector",
49870        "-fvisibility-inlines-hidden",
49871        "-fvisibility=hidden",
49872        "-g1",
49873    ],
49874    local_include_dirs: [
49875        "./",
49876        "buildtools/third_party/libc++/",
49877        "third_party/abseil-cpp/",
49878        "third_party/anonymous_tokens/overrides/",
49879        "third_party/anonymous_tokens/src/",
49880        "third_party/libc++/src/include",
49881        "third_party/libc++abi/src/include",
49882        "third_party/protobuf/src/",
49883    ],
49884    cpp_std: "c++20",
49885    ldflags: [
49886        "-Wl,--as-needed",
49887        "-Wl,--gc-sections",
49888        "-Wl,--icf=all",
49889    ],
49890    target: {
49891        android_arm: {
49892            cflags: [
49893                "-D_FORTIFY_SOURCE=2",
49894            ],
49895        },
49896        android_arm64: {
49897            cflags: [
49898                "-D_FORTIFY_SOURCE=2",
49899                "-O2",
49900                "-mno-outline",
49901            ],
49902        },
49903        android_x86: {
49904            cflags: [
49905                "-D_FORTIFY_SOURCE=2",
49906                "-msse3",
49907            ],
49908        },
49909        android_x86_64: {
49910            cflags: [
49911                "-D_FORTIFY_SOURCE=2",
49912                "-msse3",
49913            ],
49914        },
49915    },
49916}
49917
49918// GN: //third_party/anonymous_tokens:anonymous_tokens_rsa_bssa_client__testing
49919cc_library_static {
49920    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_rsa_bssa_client__testing",
49921    srcs: [
49922        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/client/anonymous_tokens_rsa_bssa_client.cc",
49923    ],
49924    shared_libs: [
49925        "liblog",
49926        "libprotobuf-cpp-lite",
49927    ],
49928    generated_headers: [
49929        "cronet_aml_build_chromeos_buildflags__testing",
49930        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49931    ],
49932    export_generated_headers: [
49933        "cronet_aml_build_chromeos_buildflags__testing",
49934        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
49935    ],
49936    defaults: [
49937        "cronet_aml_cc_defaults",
49938    ],
49939    cflags: [
49940        "-DANDROID",
49941        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
49942        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
49943        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
49944        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
49945        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
49946        "-DGOOGLE_PROTOBUF_NO_RTTI",
49947        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
49948        "-DHAVE_PTHREAD",
49949        "-DHAVE_SYS_UIO_H",
49950        "-DNDEBUG",
49951        "-DNO_UNWIND_TABLES",
49952        "-DNVALGRIND",
49953        "-DOFFICIAL_BUILD",
49954        "-D_GNU_SOURCE",
49955        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
49956        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49957        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
49958        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
49959        "-D__STDC_CONSTANT_MACROS",
49960        "-D__STDC_FORMAT_MACROS",
49961        "-fdata-sections",
49962        "-ffunction-sections",
49963        "-fno-asynchronous-unwind-tables",
49964        "-fno-unwind-tables",
49965        "-fstack-protector",
49966        "-fvisibility-inlines-hidden",
49967        "-fvisibility=hidden",
49968        "-g1",
49969    ],
49970    local_include_dirs: [
49971        "./",
49972        "buildtools/third_party/libc++/",
49973        "third_party/abseil-cpp/",
49974        "third_party/anonymous_tokens/overrides/",
49975        "third_party/anonymous_tokens/src/",
49976        "third_party/boringssl/src/include/",
49977        "third_party/libc++/src/include",
49978        "third_party/libc++abi/src/include",
49979        "third_party/protobuf/src/",
49980    ],
49981    cpp_std: "c++20",
49982    ldflags: [
49983        "-Wl,--as-needed",
49984        "-Wl,--gc-sections",
49985        "-Wl,--icf=all",
49986    ],
49987    target: {
49988        android_arm: {
49989            cflags: [
49990                "-D_FORTIFY_SOURCE=2",
49991            ],
49992        },
49993        android_arm64: {
49994            cflags: [
49995                "-D_FORTIFY_SOURCE=2",
49996                "-O2",
49997                "-mno-outline",
49998            ],
49999        },
50000        android_x86: {
50001            cflags: [
50002                "-D_FORTIFY_SOURCE=2",
50003                "-msse3",
50004            ],
50005        },
50006        android_x86_64: {
50007            cflags: [
50008                "-D_FORTIFY_SOURCE=2",
50009                "-msse3",
50010            ],
50011        },
50012    },
50013}
50014
50015// GN: //third_party/anonymous_tokens:anonymous_tokens_test_support__testing
50016cc_library_static {
50017    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_test_support__testing",
50018    srcs: [
50019        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/testing/proto_utils.cc",
50020        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/testing/utils.cc",
50021        "third_party/anonymous_tokens/testdata_utils_impl.cc",
50022    ],
50023    shared_libs: [
50024        "libandroid",
50025        "liblog",
50026        "libprotobuf-cpp-lite",
50027    ],
50028    generated_headers: [
50029        "cronet_aml_base_allocator_buildflags__testing",
50030        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
50031        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
50032        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
50033        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
50034        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
50035        "cronet_aml_base_anchor_functions_buildflags__testing",
50036        "cronet_aml_base_build_date__testing",
50037        "cronet_aml_base_cfi_buildflags__testing",
50038        "cronet_aml_base_check_version_internal_action__testing",
50039        "cronet_aml_base_clang_profiling_buildflags__testing",
50040        "cronet_aml_base_debugging_buildflags__testing",
50041        "cronet_aml_base_feature_list_buildflags__testing",
50042        "cronet_aml_base_fuzzing_buildflags__testing",
50043        "cronet_aml_base_ios_cronet_buildflags__testing",
50044        "cronet_aml_base_logging_buildflags__testing",
50045        "cronet_aml_base_message_pump_buildflags__testing",
50046        "cronet_aml_base_orderfile_buildflags__testing",
50047        "cronet_aml_base_power_monitor_buildflags__testing",
50048        "cronet_aml_base_profiler_buildflags__testing",
50049        "cronet_aml_base_protected_memory_buildflags__testing",
50050        "cronet_aml_base_rust_buildflags__testing",
50051        "cronet_aml_base_sanitizer_buildflags__testing",
50052        "cronet_aml_base_synchronization_buildflags__testing",
50053        "cronet_aml_base_tracing_buildflags__testing",
50054        "cronet_aml_build_blink_buildflags__testing",
50055        "cronet_aml_build_branding_buildflags__testing",
50056        "cronet_aml_build_chromecast_buildflags__testing",
50057        "cronet_aml_build_chromeos_buildflags__testing",
50058        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
50059        "cronet_aml_build_ios_buildflags__testing",
50060        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50061    ],
50062    export_generated_headers: [
50063        "cronet_aml_base_allocator_buildflags__testing",
50064        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
50065        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
50066        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
50067        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
50068        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
50069        "cronet_aml_base_anchor_functions_buildflags__testing",
50070        "cronet_aml_base_build_date__testing",
50071        "cronet_aml_base_cfi_buildflags__testing",
50072        "cronet_aml_base_check_version_internal_action__testing",
50073        "cronet_aml_base_clang_profiling_buildflags__testing",
50074        "cronet_aml_base_debugging_buildflags__testing",
50075        "cronet_aml_base_feature_list_buildflags__testing",
50076        "cronet_aml_base_fuzzing_buildflags__testing",
50077        "cronet_aml_base_ios_cronet_buildflags__testing",
50078        "cronet_aml_base_logging_buildflags__testing",
50079        "cronet_aml_base_message_pump_buildflags__testing",
50080        "cronet_aml_base_orderfile_buildflags__testing",
50081        "cronet_aml_base_power_monitor_buildflags__testing",
50082        "cronet_aml_base_profiler_buildflags__testing",
50083        "cronet_aml_base_protected_memory_buildflags__testing",
50084        "cronet_aml_base_rust_buildflags__testing",
50085        "cronet_aml_base_sanitizer_buildflags__testing",
50086        "cronet_aml_base_synchronization_buildflags__testing",
50087        "cronet_aml_base_tracing_buildflags__testing",
50088        "cronet_aml_build_blink_buildflags__testing",
50089        "cronet_aml_build_branding_buildflags__testing",
50090        "cronet_aml_build_chromecast_buildflags__testing",
50091        "cronet_aml_build_chromeos_buildflags__testing",
50092        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
50093        "cronet_aml_build_ios_buildflags__testing",
50094        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50095    ],
50096    defaults: [
50097        "cronet_aml_cc_defaults",
50098    ],
50099    cflags: [
50100        "-DANDROID",
50101        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50102        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50103        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50104        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50105        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
50106        "-DGOOGLE_PROTOBUF_NO_RTTI",
50107        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
50108        "-DHAVE_PTHREAD",
50109        "-DHAVE_SYS_UIO_H",
50110        "-DNDEBUG",
50111        "-DNO_UNWIND_TABLES",
50112        "-DNVALGRIND",
50113        "-DOFFICIAL_BUILD",
50114        "-D_GNU_SOURCE",
50115        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50116        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50117        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50118        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50119        "-D__STDC_CONSTANT_MACROS",
50120        "-D__STDC_FORMAT_MACROS",
50121        "-fdata-sections",
50122        "-ffunction-sections",
50123        "-fno-asynchronous-unwind-tables",
50124        "-fno-unwind-tables",
50125        "-fstack-protector",
50126        "-fvisibility-inlines-hidden",
50127        "-fvisibility=hidden",
50128        "-g1",
50129    ],
50130    local_include_dirs: [
50131        "./",
50132        "base/allocator/partition_allocator/src/",
50133        "buildtools/third_party/libc++/",
50134        "third_party/abseil-cpp/",
50135        "third_party/anonymous_tokens/overrides/",
50136        "third_party/anonymous_tokens/src/",
50137        "third_party/boringssl/src/include/",
50138        "third_party/libc++/src/include",
50139        "third_party/libc++abi/src/include",
50140        "third_party/protobuf/src/",
50141    ],
50142    cpp_std: "c++20",
50143    ldflags: [
50144        "-Wl,--as-needed",
50145        "-Wl,--gc-sections",
50146        "-Wl,--icf=all",
50147        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
50148        "-Wl,-wrap,asprintf",
50149        "-Wl,-wrap,calloc",
50150        "-Wl,-wrap,free",
50151        "-Wl,-wrap,getcwd",
50152        "-Wl,-wrap,malloc",
50153        "-Wl,-wrap,malloc_usable_size",
50154        "-Wl,-wrap,memalign",
50155        "-Wl,-wrap,posix_memalign",
50156        "-Wl,-wrap,pvalloc",
50157        "-Wl,-wrap,realloc",
50158        "-Wl,-wrap,realpath",
50159        "-Wl,-wrap,strdup",
50160        "-Wl,-wrap,strndup",
50161        "-Wl,-wrap,valloc",
50162        "-Wl,-wrap,vasprintf",
50163    ],
50164    target: {
50165        android_arm: {
50166            cflags: [
50167                "-D_FORTIFY_SOURCE=2",
50168            ],
50169        },
50170        android_arm64: {
50171            cflags: [
50172                "-D_FORTIFY_SOURCE=2",
50173                "-O2",
50174                "-mno-outline",
50175            ],
50176        },
50177        android_x86: {
50178            cflags: [
50179                "-D_FORTIFY_SOURCE=2",
50180                "-msse3",
50181            ],
50182        },
50183        android_x86_64: {
50184            cflags: [
50185                "-D_FORTIFY_SOURCE=2",
50186                "-msse3",
50187            ],
50188        },
50189    },
50190}
50191
50192// GN: //third_party/anonymous_tokens:anonymous_tokens_tests__testing
50193cc_library_static {
50194    name: "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_tests__testing",
50195    srcs: [
50196        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/client/anonymous_tokens_public_key_client_test.cc",
50197        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/client/anonymous_tokens_redemption_client_test.cc",
50198        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/client/anonymous_tokens_rsa_bssa_client_test.cc",
50199        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/anonymous_tokens_pb_openssl_converters_test.cc",
50200        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/crypto_utils_test.cc",
50201        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/rsa_blind_signer_test.cc",
50202        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/rsa_blinder_test.cc",
50203        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/rsa_ssa_pss_verifier_test.cc",
50204        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/privacy_pass/rsa_bssa_public_metadata_client_test.cc",
50205        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/privacy_pass/token_encodings_test.cc",
50206        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/shared/proto_utils_test.cc",
50207    ],
50208    shared_libs: [
50209        "libandroid",
50210        "liblog",
50211        "libprotobuf-cpp-lite",
50212    ],
50213    generated_headers: [
50214        "cronet_aml_base_allocator_buildflags__testing",
50215        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
50216        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
50217        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
50218        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
50219        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
50220        "cronet_aml_base_anchor_functions_buildflags__testing",
50221        "cronet_aml_base_build_date__testing",
50222        "cronet_aml_base_cfi_buildflags__testing",
50223        "cronet_aml_base_check_version_internal_action__testing",
50224        "cronet_aml_base_clang_profiling_buildflags__testing",
50225        "cronet_aml_base_debugging_buildflags__testing",
50226        "cronet_aml_base_feature_list_buildflags__testing",
50227        "cronet_aml_base_fuzzing_buildflags__testing",
50228        "cronet_aml_base_ios_cronet_buildflags__testing",
50229        "cronet_aml_base_logging_buildflags__testing",
50230        "cronet_aml_base_message_pump_buildflags__testing",
50231        "cronet_aml_base_orderfile_buildflags__testing",
50232        "cronet_aml_base_power_monitor_buildflags__testing",
50233        "cronet_aml_base_profiler_buildflags__testing",
50234        "cronet_aml_base_protected_memory_buildflags__testing",
50235        "cronet_aml_base_rust_buildflags__testing",
50236        "cronet_aml_base_sanitizer_buildflags__testing",
50237        "cronet_aml_base_synchronization_buildflags__testing",
50238        "cronet_aml_base_tracing_buildflags__testing",
50239        "cronet_aml_build_blink_buildflags__testing",
50240        "cronet_aml_build_branding_buildflags__testing",
50241        "cronet_aml_build_chromecast_buildflags__testing",
50242        "cronet_aml_build_chromeos_buildflags__testing",
50243        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
50244        "cronet_aml_build_ios_buildflags__testing",
50245        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50246    ],
50247    export_generated_headers: [
50248        "cronet_aml_base_allocator_buildflags__testing",
50249        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
50250        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
50251        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
50252        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
50253        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
50254        "cronet_aml_base_anchor_functions_buildflags__testing",
50255        "cronet_aml_base_build_date__testing",
50256        "cronet_aml_base_cfi_buildflags__testing",
50257        "cronet_aml_base_check_version_internal_action__testing",
50258        "cronet_aml_base_clang_profiling_buildflags__testing",
50259        "cronet_aml_base_debugging_buildflags__testing",
50260        "cronet_aml_base_feature_list_buildflags__testing",
50261        "cronet_aml_base_fuzzing_buildflags__testing",
50262        "cronet_aml_base_ios_cronet_buildflags__testing",
50263        "cronet_aml_base_logging_buildflags__testing",
50264        "cronet_aml_base_message_pump_buildflags__testing",
50265        "cronet_aml_base_orderfile_buildflags__testing",
50266        "cronet_aml_base_power_monitor_buildflags__testing",
50267        "cronet_aml_base_profiler_buildflags__testing",
50268        "cronet_aml_base_protected_memory_buildflags__testing",
50269        "cronet_aml_base_rust_buildflags__testing",
50270        "cronet_aml_base_sanitizer_buildflags__testing",
50271        "cronet_aml_base_synchronization_buildflags__testing",
50272        "cronet_aml_base_tracing_buildflags__testing",
50273        "cronet_aml_build_blink_buildflags__testing",
50274        "cronet_aml_build_branding_buildflags__testing",
50275        "cronet_aml_build_chromecast_buildflags__testing",
50276        "cronet_aml_build_chromeos_buildflags__testing",
50277        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
50278        "cronet_aml_build_ios_buildflags__testing",
50279        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50280    ],
50281    defaults: [
50282        "cronet_aml_cc_defaults",
50283    ],
50284    cflags: [
50285        "-DANDROID",
50286        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50287        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50288        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50289        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50290        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
50291        "-DGOOGLE_PROTOBUF_NO_RTTI",
50292        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
50293        "-DGTEST_API_=",
50294        "-DGTEST_HAS_ABSL",
50295        "-DGTEST_HAS_POSIX_RE=0",
50296        "-DGTEST_HAS_TR1_TUPLE=0",
50297        "-DGTEST_LANG_CXX11=1",
50298        "-DGTEST_NO_ABSL_FLAGS",
50299        "-DHAVE_PTHREAD",
50300        "-DHAVE_SYS_UIO_H",
50301        "-DNDEBUG",
50302        "-DNO_UNWIND_TABLES",
50303        "-DNVALGRIND",
50304        "-DOFFICIAL_BUILD",
50305        "-DUNIT_TEST",
50306        "-D_GNU_SOURCE",
50307        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50308        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50309        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50310        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50311        "-D__STDC_CONSTANT_MACROS",
50312        "-D__STDC_FORMAT_MACROS",
50313        "-fdata-sections",
50314        "-ffunction-sections",
50315        "-fno-asynchronous-unwind-tables",
50316        "-fno-unwind-tables",
50317        "-fstack-protector",
50318        "-fvisibility-inlines-hidden",
50319        "-fvisibility=hidden",
50320        "-g1",
50321    ],
50322    local_include_dirs: [
50323        "./",
50324        "buildtools/third_party/libc++/",
50325        "third_party/abseil-cpp/",
50326        "third_party/anonymous_tokens/overrides/",
50327        "third_party/anonymous_tokens/src/",
50328        "third_party/boringssl/src/include/",
50329        "third_party/googletest/custom/",
50330        "third_party/googletest/src/googlemock/include/",
50331        "third_party/googletest/src/googletest/include/",
50332        "third_party/libc++/src/include",
50333        "third_party/libc++abi/src/include",
50334        "third_party/protobuf/src/",
50335        "third_party/re2/src/",
50336    ],
50337    cpp_std: "c++20",
50338    ldflags: [
50339        "-Wl,--as-needed",
50340        "-Wl,--gc-sections",
50341        "-Wl,--icf=all",
50342        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
50343        "-Wl,-wrap,asprintf",
50344        "-Wl,-wrap,calloc",
50345        "-Wl,-wrap,free",
50346        "-Wl,-wrap,getcwd",
50347        "-Wl,-wrap,malloc",
50348        "-Wl,-wrap,malloc_usable_size",
50349        "-Wl,-wrap,memalign",
50350        "-Wl,-wrap,posix_memalign",
50351        "-Wl,-wrap,pvalloc",
50352        "-Wl,-wrap,realloc",
50353        "-Wl,-wrap,realpath",
50354        "-Wl,-wrap,strdup",
50355        "-Wl,-wrap,strndup",
50356        "-Wl,-wrap,valloc",
50357        "-Wl,-wrap,vasprintf",
50358    ],
50359    target: {
50360        android_arm: {
50361            cflags: [
50362                "-D_FORTIFY_SOURCE=2",
50363            ],
50364        },
50365        android_arm64: {
50366            cflags: [
50367                "-D_FORTIFY_SOURCE=2",
50368                "-O2",
50369                "-mno-outline",
50370            ],
50371        },
50372        android_x86: {
50373            cflags: [
50374                "-D_FORTIFY_SOURCE=2",
50375                "-msse3",
50376            ],
50377        },
50378        android_x86_64: {
50379            cflags: [
50380                "-D_FORTIFY_SOURCE=2",
50381                "-msse3",
50382            ],
50383        },
50384    },
50385}
50386
50387// GN: //third_party/anonymous_tokens:blind_signer__testing
50388cc_library_static {
50389    name: "cronet_aml_third_party_anonymous_tokens_blind_signer__testing",
50390    shared_libs: [
50391        "liblog",
50392    ],
50393    generated_headers: [
50394        "cronet_aml_build_chromeos_buildflags__testing",
50395    ],
50396    export_generated_headers: [
50397        "cronet_aml_build_chromeos_buildflags__testing",
50398    ],
50399    defaults: [
50400        "cronet_aml_cc_defaults",
50401    ],
50402    cflags: [
50403        "-DANDROID",
50404        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50405        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50406        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50407        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50408        "-DHAVE_SYS_UIO_H",
50409        "-DNDEBUG",
50410        "-DNO_UNWIND_TABLES",
50411        "-DNVALGRIND",
50412        "-DOFFICIAL_BUILD",
50413        "-D_GNU_SOURCE",
50414        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50415        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50416        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50417        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50418        "-D__STDC_CONSTANT_MACROS",
50419        "-D__STDC_FORMAT_MACROS",
50420        "-fdata-sections",
50421        "-ffunction-sections",
50422        "-fno-asynchronous-unwind-tables",
50423        "-fno-unwind-tables",
50424        "-fstack-protector",
50425        "-fvisibility-inlines-hidden",
50426        "-fvisibility=hidden",
50427        "-g1",
50428    ],
50429    local_include_dirs: [
50430        "./",
50431        "buildtools/third_party/libc++/",
50432        "third_party/abseil-cpp/",
50433        "third_party/anonymous_tokens/overrides/",
50434        "third_party/anonymous_tokens/src/",
50435        "third_party/libc++/src/include",
50436        "third_party/libc++abi/src/include",
50437    ],
50438    cpp_std: "c++20",
50439    ldflags: [
50440        "-Wl,--as-needed",
50441        "-Wl,--gc-sections",
50442        "-Wl,--icf=all",
50443    ],
50444    target: {
50445        android_arm: {
50446            cflags: [
50447                "-D_FORTIFY_SOURCE=2",
50448            ],
50449        },
50450        android_arm64: {
50451            cflags: [
50452                "-D_FORTIFY_SOURCE=2",
50453                "-O2",
50454                "-mno-outline",
50455            ],
50456        },
50457        android_x86: {
50458            cflags: [
50459                "-D_FORTIFY_SOURCE=2",
50460                "-msse3",
50461            ],
50462        },
50463        android_x86_64: {
50464            cflags: [
50465                "-D_FORTIFY_SOURCE=2",
50466                "-msse3",
50467            ],
50468        },
50469    },
50470}
50471
50472// GN: //third_party/anonymous_tokens:blinder__testing
50473cc_library_static {
50474    name: "cronet_aml_third_party_anonymous_tokens_blinder__testing",
50475    shared_libs: [
50476        "liblog",
50477    ],
50478    generated_headers: [
50479        "cronet_aml_build_chromeos_buildflags__testing",
50480    ],
50481    export_generated_headers: [
50482        "cronet_aml_build_chromeos_buildflags__testing",
50483    ],
50484    defaults: [
50485        "cronet_aml_cc_defaults",
50486    ],
50487    cflags: [
50488        "-DANDROID",
50489        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50490        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50491        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50492        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50493        "-DHAVE_SYS_UIO_H",
50494        "-DNDEBUG",
50495        "-DNO_UNWIND_TABLES",
50496        "-DNVALGRIND",
50497        "-DOFFICIAL_BUILD",
50498        "-D_GNU_SOURCE",
50499        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50500        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50501        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50502        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50503        "-D__STDC_CONSTANT_MACROS",
50504        "-D__STDC_FORMAT_MACROS",
50505        "-fdata-sections",
50506        "-ffunction-sections",
50507        "-fno-asynchronous-unwind-tables",
50508        "-fno-unwind-tables",
50509        "-fstack-protector",
50510        "-fvisibility-inlines-hidden",
50511        "-fvisibility=hidden",
50512        "-g1",
50513    ],
50514    local_include_dirs: [
50515        "./",
50516        "buildtools/third_party/libc++/",
50517        "third_party/abseil-cpp/",
50518        "third_party/anonymous_tokens/overrides/",
50519        "third_party/anonymous_tokens/src/",
50520        "third_party/libc++/src/include",
50521        "third_party/libc++abi/src/include",
50522    ],
50523    cpp_std: "c++20",
50524    ldflags: [
50525        "-Wl,--as-needed",
50526        "-Wl,--gc-sections",
50527        "-Wl,--icf=all",
50528    ],
50529    target: {
50530        android_arm: {
50531            cflags: [
50532                "-D_FORTIFY_SOURCE=2",
50533            ],
50534        },
50535        android_arm64: {
50536            cflags: [
50537                "-D_FORTIFY_SOURCE=2",
50538                "-O2",
50539                "-mno-outline",
50540            ],
50541        },
50542        android_x86: {
50543            cflags: [
50544                "-D_FORTIFY_SOURCE=2",
50545                "-msse3",
50546            ],
50547        },
50548        android_x86_64: {
50549            cflags: [
50550                "-D_FORTIFY_SOURCE=2",
50551                "-msse3",
50552            ],
50553        },
50554    },
50555}
50556
50557// GN: //third_party/anonymous_tokens:constants__testing
50558cc_library_static {
50559    name: "cronet_aml_third_party_anonymous_tokens_constants__testing",
50560    shared_libs: [
50561        "liblog",
50562    ],
50563    generated_headers: [
50564        "cronet_aml_build_chromeos_buildflags__testing",
50565    ],
50566    export_generated_headers: [
50567        "cronet_aml_build_chromeos_buildflags__testing",
50568    ],
50569    defaults: [
50570        "cronet_aml_cc_defaults",
50571    ],
50572    cflags: [
50573        "-DANDROID",
50574        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50575        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50576        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50577        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50578        "-DHAVE_SYS_UIO_H",
50579        "-DNDEBUG",
50580        "-DNO_UNWIND_TABLES",
50581        "-DNVALGRIND",
50582        "-DOFFICIAL_BUILD",
50583        "-D_GNU_SOURCE",
50584        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50585        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50586        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50587        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50588        "-D__STDC_CONSTANT_MACROS",
50589        "-D__STDC_FORMAT_MACROS",
50590        "-fdata-sections",
50591        "-ffunction-sections",
50592        "-fno-asynchronous-unwind-tables",
50593        "-fno-unwind-tables",
50594        "-fstack-protector",
50595        "-fvisibility-inlines-hidden",
50596        "-fvisibility=hidden",
50597        "-g1",
50598    ],
50599    local_include_dirs: [
50600        "./",
50601        "buildtools/third_party/libc++/",
50602        "third_party/abseil-cpp/",
50603        "third_party/anonymous_tokens/overrides/",
50604        "third_party/anonymous_tokens/src/",
50605        "third_party/libc++/src/include",
50606        "third_party/libc++abi/src/include",
50607    ],
50608    cpp_std: "c++20",
50609    ldflags: [
50610        "-Wl,--as-needed",
50611        "-Wl,--gc-sections",
50612        "-Wl,--icf=all",
50613    ],
50614    target: {
50615        android_arm: {
50616            cflags: [
50617                "-D_FORTIFY_SOURCE=2",
50618            ],
50619        },
50620        android_arm64: {
50621            cflags: [
50622                "-D_FORTIFY_SOURCE=2",
50623                "-O2",
50624                "-mno-outline",
50625            ],
50626        },
50627        android_x86: {
50628            cflags: [
50629                "-D_FORTIFY_SOURCE=2",
50630                "-msse3",
50631            ],
50632        },
50633        android_x86_64: {
50634            cflags: [
50635                "-D_FORTIFY_SOURCE=2",
50636                "-msse3",
50637            ],
50638        },
50639    },
50640}
50641
50642// GN: //third_party/anonymous_tokens:crypto_utils__testing
50643cc_library_static {
50644    name: "cronet_aml_third_party_anonymous_tokens_crypto_utils__testing",
50645    srcs: [
50646        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/crypto_utils.cc",
50647    ],
50648    shared_libs: [
50649        "liblog",
50650        "libprotobuf-cpp-lite",
50651    ],
50652    generated_headers: [
50653        "cronet_aml_build_chromeos_buildflags__testing",
50654        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50655    ],
50656    export_generated_headers: [
50657        "cronet_aml_build_chromeos_buildflags__testing",
50658        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50659    ],
50660    defaults: [
50661        "cronet_aml_cc_defaults",
50662    ],
50663    cflags: [
50664        "-DANDROID",
50665        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50666        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50667        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50668        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50669        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
50670        "-DGOOGLE_PROTOBUF_NO_RTTI",
50671        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
50672        "-DHAVE_PTHREAD",
50673        "-DHAVE_SYS_UIO_H",
50674        "-DNDEBUG",
50675        "-DNO_UNWIND_TABLES",
50676        "-DNVALGRIND",
50677        "-DOFFICIAL_BUILD",
50678        "-D_GNU_SOURCE",
50679        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50680        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50681        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50682        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50683        "-D__STDC_CONSTANT_MACROS",
50684        "-D__STDC_FORMAT_MACROS",
50685        "-fdata-sections",
50686        "-ffunction-sections",
50687        "-fno-asynchronous-unwind-tables",
50688        "-fno-unwind-tables",
50689        "-fstack-protector",
50690        "-fvisibility-inlines-hidden",
50691        "-fvisibility=hidden",
50692        "-g1",
50693    ],
50694    local_include_dirs: [
50695        "./",
50696        "buildtools/third_party/libc++/",
50697        "third_party/abseil-cpp/",
50698        "third_party/anonymous_tokens/overrides/",
50699        "third_party/anonymous_tokens/src/",
50700        "third_party/boringssl/src/include/",
50701        "third_party/libc++/src/include",
50702        "third_party/libc++abi/src/include",
50703        "third_party/protobuf/src/",
50704    ],
50705    cpp_std: "c++20",
50706    ldflags: [
50707        "-Wl,--as-needed",
50708        "-Wl,--gc-sections",
50709        "-Wl,--icf=all",
50710    ],
50711    target: {
50712        android_arm: {
50713            cflags: [
50714                "-D_FORTIFY_SOURCE=2",
50715            ],
50716        },
50717        android_arm64: {
50718            cflags: [
50719                "-D_FORTIFY_SOURCE=2",
50720                "-O2",
50721                "-mno-outline",
50722            ],
50723        },
50724        android_x86: {
50725            cflags: [
50726                "-D_FORTIFY_SOURCE=2",
50727                "-msse3",
50728            ],
50729        },
50730        android_x86_64: {
50731            cflags: [
50732                "-D_FORTIFY_SOURCE=2",
50733                "-msse3",
50734            ],
50735        },
50736    },
50737}
50738
50739// GN: //third_party/anonymous_tokens:proto_utils__testing
50740cc_library_static {
50741    name: "cronet_aml_third_party_anonymous_tokens_proto_utils__testing",
50742    srcs: [
50743        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/shared/proto_utils.cc",
50744    ],
50745    shared_libs: [
50746        "liblog",
50747        "libprotobuf-cpp-lite",
50748    ],
50749    generated_headers: [
50750        "cronet_aml_build_chromeos_buildflags__testing",
50751        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50752    ],
50753    export_generated_headers: [
50754        "cronet_aml_build_chromeos_buildflags__testing",
50755        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50756    ],
50757    defaults: [
50758        "cronet_aml_cc_defaults",
50759    ],
50760    cflags: [
50761        "-DANDROID",
50762        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50763        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50764        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50765        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50766        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
50767        "-DGOOGLE_PROTOBUF_NO_RTTI",
50768        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
50769        "-DHAVE_PTHREAD",
50770        "-DHAVE_SYS_UIO_H",
50771        "-DNDEBUG",
50772        "-DNO_UNWIND_TABLES",
50773        "-DNVALGRIND",
50774        "-DOFFICIAL_BUILD",
50775        "-D_GNU_SOURCE",
50776        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50777        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50778        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50779        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50780        "-D__STDC_CONSTANT_MACROS",
50781        "-D__STDC_FORMAT_MACROS",
50782        "-fdata-sections",
50783        "-ffunction-sections",
50784        "-fno-asynchronous-unwind-tables",
50785        "-fno-unwind-tables",
50786        "-fstack-protector",
50787        "-fvisibility-inlines-hidden",
50788        "-fvisibility=hidden",
50789        "-g1",
50790    ],
50791    local_include_dirs: [
50792        "./",
50793        "buildtools/third_party/libc++/",
50794        "third_party/abseil-cpp/",
50795        "third_party/anonymous_tokens/overrides/",
50796        "third_party/anonymous_tokens/src/",
50797        "third_party/libc++/src/include",
50798        "third_party/libc++abi/src/include",
50799        "third_party/protobuf/src/",
50800    ],
50801    cpp_std: "c++20",
50802    ldflags: [
50803        "-Wl,--as-needed",
50804        "-Wl,--gc-sections",
50805        "-Wl,--icf=all",
50806    ],
50807    target: {
50808        android_arm: {
50809            cflags: [
50810                "-D_FORTIFY_SOURCE=2",
50811            ],
50812        },
50813        android_arm64: {
50814            cflags: [
50815                "-D_FORTIFY_SOURCE=2",
50816                "-O2",
50817                "-mno-outline",
50818            ],
50819        },
50820        android_x86: {
50821            cflags: [
50822                "-D_FORTIFY_SOURCE=2",
50823                "-msse3",
50824            ],
50825        },
50826        android_x86_64: {
50827            cflags: [
50828                "-D_FORTIFY_SOURCE=2",
50829                "-msse3",
50830            ],
50831        },
50832    },
50833}
50834
50835// GN: //third_party/anonymous_tokens:rsa_blind_signer__testing
50836cc_library_static {
50837    name: "cronet_aml_third_party_anonymous_tokens_rsa_blind_signer__testing",
50838    srcs: [
50839        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/rsa_blind_signer.cc",
50840    ],
50841    shared_libs: [
50842        "liblog",
50843        "libprotobuf-cpp-lite",
50844    ],
50845    generated_headers: [
50846        "cronet_aml_build_chromeos_buildflags__testing",
50847        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50848    ],
50849    export_generated_headers: [
50850        "cronet_aml_build_chromeos_buildflags__testing",
50851        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50852    ],
50853    defaults: [
50854        "cronet_aml_cc_defaults",
50855    ],
50856    cflags: [
50857        "-DANDROID",
50858        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50859        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50860        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50861        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50862        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
50863        "-DGOOGLE_PROTOBUF_NO_RTTI",
50864        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
50865        "-DHAVE_PTHREAD",
50866        "-DHAVE_SYS_UIO_H",
50867        "-DNDEBUG",
50868        "-DNO_UNWIND_TABLES",
50869        "-DNVALGRIND",
50870        "-DOFFICIAL_BUILD",
50871        "-D_GNU_SOURCE",
50872        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50873        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50874        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50875        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50876        "-D__STDC_CONSTANT_MACROS",
50877        "-D__STDC_FORMAT_MACROS",
50878        "-fdata-sections",
50879        "-ffunction-sections",
50880        "-fno-asynchronous-unwind-tables",
50881        "-fno-unwind-tables",
50882        "-fstack-protector",
50883        "-fvisibility-inlines-hidden",
50884        "-fvisibility=hidden",
50885        "-g1",
50886    ],
50887    local_include_dirs: [
50888        "./",
50889        "buildtools/third_party/libc++/",
50890        "third_party/abseil-cpp/",
50891        "third_party/anonymous_tokens/overrides/",
50892        "third_party/anonymous_tokens/src/",
50893        "third_party/boringssl/src/include/",
50894        "third_party/libc++/src/include",
50895        "third_party/libc++abi/src/include",
50896        "third_party/protobuf/src/",
50897    ],
50898    cpp_std: "c++20",
50899    ldflags: [
50900        "-Wl,--as-needed",
50901        "-Wl,--gc-sections",
50902        "-Wl,--icf=all",
50903    ],
50904    target: {
50905        android_arm: {
50906            cflags: [
50907                "-D_FORTIFY_SOURCE=2",
50908            ],
50909        },
50910        android_arm64: {
50911            cflags: [
50912                "-D_FORTIFY_SOURCE=2",
50913                "-O2",
50914                "-mno-outline",
50915            ],
50916        },
50917        android_x86: {
50918            cflags: [
50919                "-D_FORTIFY_SOURCE=2",
50920                "-msse3",
50921            ],
50922        },
50923        android_x86_64: {
50924            cflags: [
50925                "-D_FORTIFY_SOURCE=2",
50926                "-msse3",
50927            ],
50928        },
50929    },
50930}
50931
50932// GN: //third_party/anonymous_tokens:rsa_blinder__testing
50933cc_library_static {
50934    name: "cronet_aml_third_party_anonymous_tokens_rsa_blinder__testing",
50935    srcs: [
50936        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/rsa_blinder.cc",
50937    ],
50938    shared_libs: [
50939        "liblog",
50940        "libprotobuf-cpp-lite",
50941    ],
50942    generated_headers: [
50943        "cronet_aml_build_chromeos_buildflags__testing",
50944        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50945    ],
50946    export_generated_headers: [
50947        "cronet_aml_build_chromeos_buildflags__testing",
50948        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
50949    ],
50950    defaults: [
50951        "cronet_aml_cc_defaults",
50952    ],
50953    cflags: [
50954        "-DANDROID",
50955        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
50956        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
50957        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
50958        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
50959        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
50960        "-DGOOGLE_PROTOBUF_NO_RTTI",
50961        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
50962        "-DHAVE_PTHREAD",
50963        "-DHAVE_SYS_UIO_H",
50964        "-DNDEBUG",
50965        "-DNO_UNWIND_TABLES",
50966        "-DNVALGRIND",
50967        "-DOFFICIAL_BUILD",
50968        "-D_GNU_SOURCE",
50969        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
50970        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
50971        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
50972        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
50973        "-D__STDC_CONSTANT_MACROS",
50974        "-D__STDC_FORMAT_MACROS",
50975        "-fdata-sections",
50976        "-ffunction-sections",
50977        "-fno-asynchronous-unwind-tables",
50978        "-fno-unwind-tables",
50979        "-fstack-protector",
50980        "-fvisibility-inlines-hidden",
50981        "-fvisibility=hidden",
50982        "-g1",
50983    ],
50984    local_include_dirs: [
50985        "./",
50986        "buildtools/third_party/libc++/",
50987        "third_party/abseil-cpp/",
50988        "third_party/anonymous_tokens/overrides/",
50989        "third_party/anonymous_tokens/src/",
50990        "third_party/boringssl/src/include/",
50991        "third_party/libc++/src/include",
50992        "third_party/libc++abi/src/include",
50993        "third_party/protobuf/src/",
50994    ],
50995    cpp_std: "c++20",
50996    ldflags: [
50997        "-Wl,--as-needed",
50998        "-Wl,--gc-sections",
50999        "-Wl,--icf=all",
51000    ],
51001    target: {
51002        android_arm: {
51003            cflags: [
51004                "-D_FORTIFY_SOURCE=2",
51005            ],
51006        },
51007        android_arm64: {
51008            cflags: [
51009                "-D_FORTIFY_SOURCE=2",
51010                "-O2",
51011                "-mno-outline",
51012            ],
51013        },
51014        android_x86: {
51015            cflags: [
51016                "-D_FORTIFY_SOURCE=2",
51017                "-msse3",
51018            ],
51019        },
51020        android_x86_64: {
51021            cflags: [
51022                "-D_FORTIFY_SOURCE=2",
51023                "-msse3",
51024            ],
51025        },
51026    },
51027}
51028
51029// GN: //third_party/anonymous_tokens:rsa_bssa_public_metadata_client__testing
51030cc_library_static {
51031    name: "cronet_aml_third_party_anonymous_tokens_rsa_bssa_public_metadata_client__testing",
51032    srcs: [
51033        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/privacy_pass/rsa_bssa_public_metadata_client.cc",
51034    ],
51035    shared_libs: [
51036        "liblog",
51037        "libprotobuf-cpp-lite",
51038    ],
51039    generated_headers: [
51040        "cronet_aml_build_chromeos_buildflags__testing",
51041        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
51042    ],
51043    export_generated_headers: [
51044        "cronet_aml_build_chromeos_buildflags__testing",
51045        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
51046    ],
51047    defaults: [
51048        "cronet_aml_cc_defaults",
51049    ],
51050    cflags: [
51051        "-DANDROID",
51052        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
51053        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
51054        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
51055        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
51056        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
51057        "-DGOOGLE_PROTOBUF_NO_RTTI",
51058        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
51059        "-DHAVE_PTHREAD",
51060        "-DHAVE_SYS_UIO_H",
51061        "-DNDEBUG",
51062        "-DNO_UNWIND_TABLES",
51063        "-DNVALGRIND",
51064        "-DOFFICIAL_BUILD",
51065        "-D_GNU_SOURCE",
51066        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
51067        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51068        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51069        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
51070        "-D__STDC_CONSTANT_MACROS",
51071        "-D__STDC_FORMAT_MACROS",
51072        "-fdata-sections",
51073        "-ffunction-sections",
51074        "-fno-asynchronous-unwind-tables",
51075        "-fno-unwind-tables",
51076        "-fstack-protector",
51077        "-fvisibility-inlines-hidden",
51078        "-fvisibility=hidden",
51079        "-g1",
51080    ],
51081    local_include_dirs: [
51082        "./",
51083        "buildtools/third_party/libc++/",
51084        "third_party/abseil-cpp/",
51085        "third_party/anonymous_tokens/overrides/",
51086        "third_party/anonymous_tokens/src/",
51087        "third_party/boringssl/src/include/",
51088        "third_party/libc++/src/include",
51089        "third_party/libc++abi/src/include",
51090        "third_party/protobuf/src/",
51091    ],
51092    cpp_std: "c++20",
51093    ldflags: [
51094        "-Wl,--as-needed",
51095        "-Wl,--gc-sections",
51096        "-Wl,--icf=all",
51097    ],
51098    target: {
51099        android_arm: {
51100            cflags: [
51101                "-D_FORTIFY_SOURCE=2",
51102            ],
51103        },
51104        android_arm64: {
51105            cflags: [
51106                "-D_FORTIFY_SOURCE=2",
51107                "-O2",
51108                "-mno-outline",
51109            ],
51110        },
51111        android_x86: {
51112            cflags: [
51113                "-D_FORTIFY_SOURCE=2",
51114                "-msse3",
51115            ],
51116        },
51117        android_x86_64: {
51118            cflags: [
51119                "-D_FORTIFY_SOURCE=2",
51120                "-msse3",
51121            ],
51122        },
51123    },
51124}
51125
51126// GN: //third_party/anonymous_tokens:rsa_ssa_pss_verifier__testing
51127cc_library_static {
51128    name: "cronet_aml_third_party_anonymous_tokens_rsa_ssa_pss_verifier__testing",
51129    srcs: [
51130        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/crypto/rsa_ssa_pss_verifier.cc",
51131    ],
51132    shared_libs: [
51133        "liblog",
51134        "libprotobuf-cpp-lite",
51135    ],
51136    generated_headers: [
51137        "cronet_aml_build_chromeos_buildflags__testing",
51138        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
51139    ],
51140    export_generated_headers: [
51141        "cronet_aml_build_chromeos_buildflags__testing",
51142        "cronet_aml_third_party_anonymous_tokens_anonymous_tokens_cc_proto_gen__testing_headers",
51143    ],
51144    defaults: [
51145        "cronet_aml_cc_defaults",
51146    ],
51147    cflags: [
51148        "-DANDROID",
51149        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
51150        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
51151        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
51152        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
51153        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
51154        "-DGOOGLE_PROTOBUF_NO_RTTI",
51155        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
51156        "-DHAVE_PTHREAD",
51157        "-DHAVE_SYS_UIO_H",
51158        "-DNDEBUG",
51159        "-DNO_UNWIND_TABLES",
51160        "-DNVALGRIND",
51161        "-DOFFICIAL_BUILD",
51162        "-D_GNU_SOURCE",
51163        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
51164        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51165        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51166        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
51167        "-D__STDC_CONSTANT_MACROS",
51168        "-D__STDC_FORMAT_MACROS",
51169        "-fdata-sections",
51170        "-ffunction-sections",
51171        "-fno-asynchronous-unwind-tables",
51172        "-fno-unwind-tables",
51173        "-fstack-protector",
51174        "-fvisibility-inlines-hidden",
51175        "-fvisibility=hidden",
51176        "-g1",
51177    ],
51178    local_include_dirs: [
51179        "./",
51180        "buildtools/third_party/libc++/",
51181        "third_party/abseil-cpp/",
51182        "third_party/anonymous_tokens/overrides/",
51183        "third_party/anonymous_tokens/src/",
51184        "third_party/boringssl/src/include/",
51185        "third_party/libc++/src/include",
51186        "third_party/libc++abi/src/include",
51187        "third_party/protobuf/src/",
51188    ],
51189    cpp_std: "c++20",
51190    ldflags: [
51191        "-Wl,--as-needed",
51192        "-Wl,--gc-sections",
51193        "-Wl,--icf=all",
51194    ],
51195    target: {
51196        android_arm: {
51197            cflags: [
51198                "-D_FORTIFY_SOURCE=2",
51199            ],
51200        },
51201        android_arm64: {
51202            cflags: [
51203                "-D_FORTIFY_SOURCE=2",
51204                "-O2",
51205                "-mno-outline",
51206            ],
51207        },
51208        android_x86: {
51209            cflags: [
51210                "-D_FORTIFY_SOURCE=2",
51211                "-msse3",
51212            ],
51213        },
51214        android_x86_64: {
51215            cflags: [
51216                "-D_FORTIFY_SOURCE=2",
51217                "-msse3",
51218            ],
51219        },
51220    },
51221}
51222
51223// GN: //third_party/anonymous_tokens:status_utils__testing
51224cc_library_static {
51225    name: "cronet_aml_third_party_anonymous_tokens_status_utils__testing",
51226    shared_libs: [
51227        "liblog",
51228    ],
51229    generated_headers: [
51230        "cronet_aml_build_chromeos_buildflags__testing",
51231    ],
51232    export_generated_headers: [
51233        "cronet_aml_build_chromeos_buildflags__testing",
51234    ],
51235    defaults: [
51236        "cronet_aml_cc_defaults",
51237    ],
51238    cflags: [
51239        "-DANDROID",
51240        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
51241        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
51242        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
51243        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
51244        "-DHAVE_SYS_UIO_H",
51245        "-DNDEBUG",
51246        "-DNO_UNWIND_TABLES",
51247        "-DNVALGRIND",
51248        "-DOFFICIAL_BUILD",
51249        "-D_GNU_SOURCE",
51250        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
51251        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51252        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51253        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
51254        "-D__STDC_CONSTANT_MACROS",
51255        "-D__STDC_FORMAT_MACROS",
51256        "-fdata-sections",
51257        "-ffunction-sections",
51258        "-fno-asynchronous-unwind-tables",
51259        "-fno-unwind-tables",
51260        "-fstack-protector",
51261        "-fvisibility-inlines-hidden",
51262        "-fvisibility=hidden",
51263        "-g1",
51264    ],
51265    local_include_dirs: [
51266        "./",
51267        "buildtools/third_party/libc++/",
51268        "third_party/abseil-cpp/",
51269        "third_party/anonymous_tokens/overrides/",
51270        "third_party/anonymous_tokens/src/",
51271        "third_party/libc++/src/include",
51272        "third_party/libc++abi/src/include",
51273    ],
51274    cpp_std: "c++20",
51275    ldflags: [
51276        "-Wl,--as-needed",
51277        "-Wl,--gc-sections",
51278        "-Wl,--icf=all",
51279    ],
51280    target: {
51281        android_arm: {
51282            cflags: [
51283                "-D_FORTIFY_SOURCE=2",
51284            ],
51285        },
51286        android_arm64: {
51287            cflags: [
51288                "-D_FORTIFY_SOURCE=2",
51289                "-O2",
51290                "-mno-outline",
51291            ],
51292        },
51293        android_x86: {
51294            cflags: [
51295                "-D_FORTIFY_SOURCE=2",
51296                "-msse3",
51297            ],
51298        },
51299        android_x86_64: {
51300            cflags: [
51301                "-D_FORTIFY_SOURCE=2",
51302                "-msse3",
51303            ],
51304        },
51305    },
51306}
51307
51308// GN: //third_party/anonymous_tokens:tokens_encodings__testing
51309cc_library_static {
51310    name: "cronet_aml_third_party_anonymous_tokens_tokens_encodings__testing",
51311    srcs: [
51312        "third_party/anonymous_tokens/src/anonymous_tokens/cpp/privacy_pass/token_encodings.cc",
51313    ],
51314    shared_libs: [
51315        "liblog",
51316    ],
51317    generated_headers: [
51318        "cronet_aml_build_chromeos_buildflags__testing",
51319    ],
51320    export_generated_headers: [
51321        "cronet_aml_build_chromeos_buildflags__testing",
51322    ],
51323    defaults: [
51324        "cronet_aml_cc_defaults",
51325    ],
51326    cflags: [
51327        "-DANDROID",
51328        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
51329        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
51330        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
51331        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
51332        "-DHAVE_SYS_UIO_H",
51333        "-DNDEBUG",
51334        "-DNO_UNWIND_TABLES",
51335        "-DNVALGRIND",
51336        "-DOFFICIAL_BUILD",
51337        "-D_GNU_SOURCE",
51338        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
51339        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51340        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51341        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
51342        "-D__STDC_CONSTANT_MACROS",
51343        "-D__STDC_FORMAT_MACROS",
51344        "-fdata-sections",
51345        "-ffunction-sections",
51346        "-fno-asynchronous-unwind-tables",
51347        "-fno-unwind-tables",
51348        "-fstack-protector",
51349        "-fvisibility-inlines-hidden",
51350        "-fvisibility=hidden",
51351        "-g1",
51352    ],
51353    local_include_dirs: [
51354        "./",
51355        "buildtools/third_party/libc++/",
51356        "third_party/abseil-cpp/",
51357        "third_party/anonymous_tokens/overrides/",
51358        "third_party/anonymous_tokens/src/",
51359        "third_party/boringssl/src/include/",
51360        "third_party/libc++/src/include",
51361        "third_party/libc++abi/src/include",
51362    ],
51363    cpp_std: "c++20",
51364    ldflags: [
51365        "-Wl,--as-needed",
51366        "-Wl,--gc-sections",
51367        "-Wl,--icf=all",
51368    ],
51369    target: {
51370        android_arm: {
51371            cflags: [
51372                "-D_FORTIFY_SOURCE=2",
51373            ],
51374        },
51375        android_arm64: {
51376            cflags: [
51377                "-D_FORTIFY_SOURCE=2",
51378                "-O2",
51379                "-mno-outline",
51380            ],
51381        },
51382        android_x86: {
51383            cflags: [
51384                "-D_FORTIFY_SOURCE=2",
51385                "-msse3",
51386            ],
51387        },
51388        android_x86_64: {
51389            cflags: [
51390                "-D_FORTIFY_SOURCE=2",
51391                "-msse3",
51392            ],
51393        },
51394    },
51395}
51396
51397// GN: //third_party/anonymous_tokens:verifier__testing
51398cc_library_static {
51399    name: "cronet_aml_third_party_anonymous_tokens_verifier__testing",
51400    shared_libs: [
51401        "liblog",
51402    ],
51403    generated_headers: [
51404        "cronet_aml_build_chromeos_buildflags__testing",
51405    ],
51406    export_generated_headers: [
51407        "cronet_aml_build_chromeos_buildflags__testing",
51408    ],
51409    defaults: [
51410        "cronet_aml_cc_defaults",
51411    ],
51412    cflags: [
51413        "-DANDROID",
51414        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
51415        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
51416        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
51417        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
51418        "-DHAVE_SYS_UIO_H",
51419        "-DNDEBUG",
51420        "-DNO_UNWIND_TABLES",
51421        "-DNVALGRIND",
51422        "-DOFFICIAL_BUILD",
51423        "-D_GNU_SOURCE",
51424        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
51425        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51426        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51427        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
51428        "-D__STDC_CONSTANT_MACROS",
51429        "-D__STDC_FORMAT_MACROS",
51430        "-fdata-sections",
51431        "-ffunction-sections",
51432        "-fno-asynchronous-unwind-tables",
51433        "-fno-unwind-tables",
51434        "-fstack-protector",
51435        "-fvisibility-inlines-hidden",
51436        "-fvisibility=hidden",
51437        "-g1",
51438    ],
51439    local_include_dirs: [
51440        "./",
51441        "buildtools/third_party/libc++/",
51442        "third_party/abseil-cpp/",
51443        "third_party/anonymous_tokens/overrides/",
51444        "third_party/anonymous_tokens/src/",
51445        "third_party/libc++/src/include",
51446        "third_party/libc++abi/src/include",
51447    ],
51448    cpp_std: "c++20",
51449    ldflags: [
51450        "-Wl,--as-needed",
51451        "-Wl,--gc-sections",
51452        "-Wl,--icf=all",
51453    ],
51454    target: {
51455        android_arm: {
51456            cflags: [
51457                "-D_FORTIFY_SOURCE=2",
51458            ],
51459        },
51460        android_arm64: {
51461            cflags: [
51462                "-D_FORTIFY_SOURCE=2",
51463                "-O2",
51464                "-mno-outline",
51465            ],
51466        },
51467        android_x86: {
51468            cflags: [
51469                "-D_FORTIFY_SOURCE=2",
51470                "-msse3",
51471            ],
51472        },
51473        android_x86_64: {
51474            cflags: [
51475                "-D_FORTIFY_SOURCE=2",
51476                "-msse3",
51477            ],
51478        },
51479    },
51480}
51481
51482// GN: //third_party/apache-portable-runtime:apr__testing
51483cc_library_static {
51484    name: "cronet_aml_third_party_apache_portable_runtime_apr__testing",
51485    srcs: [
51486        "third_party/apache-portable-runtime/src/atomic/unix/builtins.c",
51487        "third_party/apache-portable-runtime/src/atomic/unix/ia32.c",
51488        "third_party/apache-portable-runtime/src/atomic/unix/mutex.c",
51489        "third_party/apache-portable-runtime/src/atomic/unix/ppc.c",
51490        "third_party/apache-portable-runtime/src/atomic/unix/s390.c",
51491        "third_party/apache-portable-runtime/src/atomic/unix/solaris.c",
51492        "third_party/apache-portable-runtime/src/dso/unix/dso.c",
51493        "third_party/apache-portable-runtime/src/file_io/unix/buffer.c",
51494        "third_party/apache-portable-runtime/src/file_io/unix/copy.c",
51495        "third_party/apache-portable-runtime/src/file_io/unix/dir.c",
51496        "third_party/apache-portable-runtime/src/file_io/unix/fileacc.c",
51497        "third_party/apache-portable-runtime/src/file_io/unix/filedup.c",
51498        "third_party/apache-portable-runtime/src/file_io/unix/filepath.c",
51499        "third_party/apache-portable-runtime/src/file_io/unix/filepath_util.c",
51500        "third_party/apache-portable-runtime/src/file_io/unix/filestat.c",
51501        "third_party/apache-portable-runtime/src/file_io/unix/flock.c",
51502        "third_party/apache-portable-runtime/src/file_io/unix/fullrw.c",
51503        "third_party/apache-portable-runtime/src/file_io/unix/mktemp.c",
51504        "third_party/apache-portable-runtime/src/file_io/unix/open.c",
51505        "third_party/apache-portable-runtime/src/file_io/unix/pipe.c",
51506        "third_party/apache-portable-runtime/src/file_io/unix/readwrite.c",
51507        "third_party/apache-portable-runtime/src/file_io/unix/seek.c",
51508        "third_party/apache-portable-runtime/src/file_io/unix/tempdir.c",
51509        "third_party/apache-portable-runtime/src/locks/unix/global_mutex.c",
51510        "third_party/apache-portable-runtime/src/locks/unix/proc_mutex.c",
51511        "third_party/apache-portable-runtime/src/locks/unix/thread_cond.c",
51512        "third_party/apache-portable-runtime/src/locks/unix/thread_mutex.c",
51513        "third_party/apache-portable-runtime/src/locks/unix/thread_rwlock.c",
51514        "third_party/apache-portable-runtime/src/memory/unix/apr_pools.c",
51515        "third_party/apache-portable-runtime/src/misc/unix/charset.c",
51516        "third_party/apache-portable-runtime/src/misc/unix/env.c",
51517        "third_party/apache-portable-runtime/src/misc/unix/errorcodes.c",
51518        "third_party/apache-portable-runtime/src/misc/unix/getopt.c",
51519        "third_party/apache-portable-runtime/src/misc/unix/otherchild.c",
51520        "third_party/apache-portable-runtime/src/misc/unix/rand.c",
51521        "third_party/apache-portable-runtime/src/misc/unix/start.c",
51522        "third_party/apache-portable-runtime/src/misc/unix/version.c",
51523        "third_party/apache-portable-runtime/src/mmap/unix/common.c",
51524        "third_party/apache-portable-runtime/src/mmap/unix/mmap.c",
51525        "third_party/apache-portable-runtime/src/network_io/unix/inet_ntop.c",
51526        "third_party/apache-portable-runtime/src/network_io/unix/inet_pton.c",
51527        "third_party/apache-portable-runtime/src/network_io/unix/multicast.c",
51528        "third_party/apache-portable-runtime/src/network_io/unix/sendrecv.c",
51529        "third_party/apache-portable-runtime/src/network_io/unix/sockaddr.c",
51530        "third_party/apache-portable-runtime/src/network_io/unix/sockets.c",
51531        "third_party/apache-portable-runtime/src/network_io/unix/sockopt.c",
51532        "third_party/apache-portable-runtime/src/passwd/apr_getpass.c",
51533        "third_party/apache-portable-runtime/src/poll/unix/epoll.c",
51534        "third_party/apache-portable-runtime/src/poll/unix/kqueue.c",
51535        "third_party/apache-portable-runtime/src/poll/unix/poll.c",
51536        "third_party/apache-portable-runtime/src/poll/unix/pollcb.c",
51537        "third_party/apache-portable-runtime/src/poll/unix/pollset.c",
51538        "third_party/apache-portable-runtime/src/poll/unix/port.c",
51539        "third_party/apache-portable-runtime/src/poll/unix/select.c",
51540        "third_party/apache-portable-runtime/src/random/unix/apr_random.c",
51541        "third_party/apache-portable-runtime/src/random/unix/sha2.c",
51542        "third_party/apache-portable-runtime/src/random/unix/sha2_glue.c",
51543        "third_party/apache-portable-runtime/src/shmem/unix/shm.c",
51544        "third_party/apache-portable-runtime/src/strings/apr_cpystrn.c",
51545        "third_party/apache-portable-runtime/src/strings/apr_fnmatch.c",
51546        "third_party/apache-portable-runtime/src/strings/apr_snprintf.c",
51547        "third_party/apache-portable-runtime/src/strings/apr_strings.c",
51548        "third_party/apache-portable-runtime/src/strings/apr_strnatcmp.c",
51549        "third_party/apache-portable-runtime/src/strings/apr_strtok.c",
51550        "third_party/apache-portable-runtime/src/support/unix/waitio.c",
51551        "third_party/apache-portable-runtime/src/tables/apr_hash.c",
51552        "third_party/apache-portable-runtime/src/tables/apr_skiplist.c",
51553        "third_party/apache-portable-runtime/src/tables/apr_tables.c",
51554        "third_party/apache-portable-runtime/src/threadproc/unix/proc.c",
51555        "third_party/apache-portable-runtime/src/threadproc/unix/procsup.c",
51556        "third_party/apache-portable-runtime/src/threadproc/unix/signals.c",
51557        "third_party/apache-portable-runtime/src/threadproc/unix/thread.c",
51558        "third_party/apache-portable-runtime/src/threadproc/unix/threadpriv.c",
51559        "third_party/apache-portable-runtime/src/time/unix/time.c",
51560        "third_party/apache-portable-runtime/src/time/unix/timestr.c",
51561        "third_party/apache-portable-runtime/src/user/unix/groupinfo.c",
51562        "third_party/apache-portable-runtime/src/user/unix/userinfo.c",
51563    ],
51564    defaults: [
51565        "cronet_aml_cc_defaults",
51566    ],
51567    cflags: [
51568        "-DANDROID",
51569        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
51570        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
51571        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
51572        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
51573        "-DHAVE_SYS_UIO_H",
51574        "-DNDEBUG",
51575        "-DNO_UNWIND_TABLES",
51576        "-DNVALGRIND",
51577        "-DOFFICIAL_BUILD",
51578        "-DSTRERROR_R_RC_INT",
51579        "-D_GNU_SOURCE",
51580        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
51581        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51582        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51583        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
51584        "-Wno-incompatible-pointer-types-discards-qualifiers",
51585        "-fdata-sections",
51586        "-ffunction-sections",
51587        "-fno-asynchronous-unwind-tables",
51588        "-fno-unwind-tables",
51589        "-fstack-protector",
51590        "-fvisibility-inlines-hidden",
51591        "-fvisibility=hidden",
51592        "-g1",
51593    ],
51594    local_include_dirs: [
51595        "./",
51596        "buildtools/third_party/libc++/",
51597        "third_party/apache-portable-runtime/src/include/",
51598        "third_party/apache-portable-runtime/src/include/arch/unix/",
51599        "third_party/libc++/src/include",
51600        "third_party/libc++abi/src/include",
51601    ],
51602    cpp_std: "c++20",
51603    ldflags: [
51604        "-Wl,--as-needed",
51605        "-Wl,--gc-sections",
51606        "-Wl,--icf=all",
51607    ],
51608    target: {
51609        android_arm64: {
51610            cflags: [
51611                "-O2",
51612                "-mno-outline",
51613            ],
51614        },
51615        android_x86: {
51616            cflags: [
51617                "-msse3",
51618            ],
51619        },
51620        android_x86_64: {
51621            cflags: [
51622                "-msse3",
51623            ],
51624        },
51625    },
51626}
51627
51628// GN: //third_party/ashmem:ashmem
51629cc_library_static {
51630    name: "cronet_aml_third_party_ashmem_ashmem",
51631    srcs: [
51632        "third_party/ashmem/ashmem-dev.c",
51633    ],
51634    defaults: [
51635        "cronet_aml_cc_defaults",
51636    ],
51637    cflags: [
51638        "-DANDROID",
51639        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
51640        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
51641        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
51642        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
51643        "-DHAVE_SYS_UIO_H",
51644        "-DNDEBUG",
51645        "-DNO_UNWIND_TABLES",
51646        "-DNVALGRIND",
51647        "-DOFFICIAL_BUILD",
51648        "-D_GNU_SOURCE",
51649        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
51650        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51651        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51652        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
51653        "-D__STDC_CONSTANT_MACROS",
51654        "-D__STDC_FORMAT_MACROS",
51655        "-fdata-sections",
51656        "-ffunction-sections",
51657        "-fno-asynchronous-unwind-tables",
51658        "-fno-unwind-tables",
51659        "-fstack-protector",
51660        "-fvisibility-inlines-hidden",
51661        "-fvisibility=hidden",
51662        "-g1",
51663    ],
51664    local_include_dirs: [
51665        "./",
51666        "buildtools/third_party/libc++/",
51667        "third_party/libc++/src/include",
51668        "third_party/libc++abi/src/include",
51669    ],
51670    cpp_std: "c++20",
51671    ldflags: [
51672        "-Wl,--as-needed",
51673        "-Wl,--gc-sections",
51674        "-Wl,--icf=all",
51675    ],
51676    target: {
51677        android_arm: {
51678            cflags: [
51679                "-D_FORTIFY_SOURCE=2",
51680            ],
51681        },
51682        android_arm64: {
51683            cflags: [
51684                "-D_FORTIFY_SOURCE=2",
51685                "-O2",
51686                "-mno-outline",
51687            ],
51688        },
51689        android_x86: {
51690            cflags: [
51691                "-D_FORTIFY_SOURCE=2",
51692                "-msse3",
51693            ],
51694        },
51695        android_x86_64: {
51696            cflags: [
51697                "-D_FORTIFY_SOURCE=2",
51698                "-msse3",
51699            ],
51700        },
51701    },
51702}
51703
51704// GN: //third_party/ashmem:ashmem__testing
51705cc_library_static {
51706    name: "cronet_aml_third_party_ashmem_ashmem__testing",
51707    srcs: [
51708        "third_party/ashmem/ashmem-dev.c",
51709    ],
51710    defaults: [
51711        "cronet_aml_cc_defaults",
51712    ],
51713    cflags: [
51714        "-DANDROID",
51715        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
51716        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
51717        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
51718        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
51719        "-DHAVE_SYS_UIO_H",
51720        "-DNDEBUG",
51721        "-DNO_UNWIND_TABLES",
51722        "-DNVALGRIND",
51723        "-DOFFICIAL_BUILD",
51724        "-D_GNU_SOURCE",
51725        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
51726        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
51727        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51728        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
51729        "-D__STDC_CONSTANT_MACROS",
51730        "-D__STDC_FORMAT_MACROS",
51731        "-fdata-sections",
51732        "-ffunction-sections",
51733        "-fno-asynchronous-unwind-tables",
51734        "-fno-unwind-tables",
51735        "-fstack-protector",
51736        "-fvisibility-inlines-hidden",
51737        "-fvisibility=hidden",
51738        "-g1",
51739    ],
51740    local_include_dirs: [
51741        "./",
51742        "buildtools/third_party/libc++/",
51743        "third_party/libc++/src/include",
51744        "third_party/libc++abi/src/include",
51745    ],
51746    cpp_std: "c++20",
51747    ldflags: [
51748        "-Wl,--as-needed",
51749        "-Wl,--gc-sections",
51750        "-Wl,--icf=all",
51751    ],
51752    target: {
51753        android_arm: {
51754            cflags: [
51755                "-D_FORTIFY_SOURCE=2",
51756            ],
51757        },
51758        android_arm64: {
51759            cflags: [
51760                "-D_FORTIFY_SOURCE=2",
51761                "-O2",
51762                "-mno-outline",
51763            ],
51764        },
51765        android_x86: {
51766            cflags: [
51767                "-D_FORTIFY_SOURCE=2",
51768                "-msse3",
51769            ],
51770        },
51771        android_x86_64: {
51772            cflags: [
51773                "-D_FORTIFY_SOURCE=2",
51774                "-msse3",
51775            ],
51776        },
51777    },
51778}
51779
51780// GN: //third_party/boringssl:boringssl__testing
51781cc_library_static {
51782    name: "cronet_aml_third_party_boringssl_boringssl__testing",
51783    srcs: [
51784        "third_party/boringssl/src/crypto/asn1/a_bitstr.c",
51785        "third_party/boringssl/src/crypto/asn1/a_bool.c",
51786        "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c",
51787        "third_party/boringssl/src/crypto/asn1/a_dup.c",
51788        "third_party/boringssl/src/crypto/asn1/a_gentm.c",
51789        "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c",
51790        "third_party/boringssl/src/crypto/asn1/a_int.c",
51791        "third_party/boringssl/src/crypto/asn1/a_mbstr.c",
51792        "third_party/boringssl/src/crypto/asn1/a_object.c",
51793        "third_party/boringssl/src/crypto/asn1/a_octet.c",
51794        "third_party/boringssl/src/crypto/asn1/a_strex.c",
51795        "third_party/boringssl/src/crypto/asn1/a_strnid.c",
51796        "third_party/boringssl/src/crypto/asn1/a_time.c",
51797        "third_party/boringssl/src/crypto/asn1/a_type.c",
51798        "third_party/boringssl/src/crypto/asn1/a_utctm.c",
51799        "third_party/boringssl/src/crypto/asn1/asn1_lib.c",
51800        "third_party/boringssl/src/crypto/asn1/asn1_par.c",
51801        "third_party/boringssl/src/crypto/asn1/asn_pack.c",
51802        "third_party/boringssl/src/crypto/asn1/f_int.c",
51803        "third_party/boringssl/src/crypto/asn1/f_string.c",
51804        "third_party/boringssl/src/crypto/asn1/posix_time.c",
51805        "third_party/boringssl/src/crypto/asn1/tasn_dec.c",
51806        "third_party/boringssl/src/crypto/asn1/tasn_enc.c",
51807        "third_party/boringssl/src/crypto/asn1/tasn_fre.c",
51808        "third_party/boringssl/src/crypto/asn1/tasn_new.c",
51809        "third_party/boringssl/src/crypto/asn1/tasn_typ.c",
51810        "third_party/boringssl/src/crypto/asn1/tasn_utl.c",
51811        "third_party/boringssl/src/crypto/base64/base64.c",
51812        "third_party/boringssl/src/crypto/bio/bio.c",
51813        "third_party/boringssl/src/crypto/bio/bio_mem.c",
51814        "third_party/boringssl/src/crypto/bio/connect.c",
51815        "third_party/boringssl/src/crypto/bio/errno.c",
51816        "third_party/boringssl/src/crypto/bio/fd.c",
51817        "third_party/boringssl/src/crypto/bio/file.c",
51818        "third_party/boringssl/src/crypto/bio/hexdump.c",
51819        "third_party/boringssl/src/crypto/bio/pair.c",
51820        "third_party/boringssl/src/crypto/bio/printf.c",
51821        "third_party/boringssl/src/crypto/bio/socket.c",
51822        "third_party/boringssl/src/crypto/bio/socket_helper.c",
51823        "third_party/boringssl/src/crypto/blake2/blake2.c",
51824        "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c",
51825        "third_party/boringssl/src/crypto/bn_extra/convert.c",
51826        "third_party/boringssl/src/crypto/buf/buf.c",
51827        "third_party/boringssl/src/crypto/bytestring/asn1_compat.c",
51828        "third_party/boringssl/src/crypto/bytestring/ber.c",
51829        "third_party/boringssl/src/crypto/bytestring/cbb.c",
51830        "third_party/boringssl/src/crypto/bytestring/cbs.c",
51831        "third_party/boringssl/src/crypto/bytestring/unicode.c",
51832        "third_party/boringssl/src/crypto/chacha/chacha.c",
51833        "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c",
51834        "third_party/boringssl/src/crypto/cipher_extra/derive_key.c",
51835        "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c",
51836        "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c",
51837        "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c",
51838        "third_party/boringssl/src/crypto/cipher_extra/e_des.c",
51839        "third_party/boringssl/src/crypto/cipher_extra/e_null.c",
51840        "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c",
51841        "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c",
51842        "third_party/boringssl/src/crypto/cipher_extra/e_tls.c",
51843        "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c",
51844        "third_party/boringssl/src/crypto/conf/conf.c",
51845        "third_party/boringssl/src/crypto/cpu_aarch64_apple.c",
51846        "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c",
51847        "third_party/boringssl/src/crypto/cpu_aarch64_linux.c",
51848        "third_party/boringssl/src/crypto/cpu_aarch64_openbsd.c",
51849        "third_party/boringssl/src/crypto/cpu_aarch64_sysreg.c",
51850        "third_party/boringssl/src/crypto/cpu_aarch64_win.c",
51851        "third_party/boringssl/src/crypto/cpu_arm_freebsd.c",
51852        "third_party/boringssl/src/crypto/cpu_arm_linux.c",
51853        "third_party/boringssl/src/crypto/cpu_intel.c",
51854        "third_party/boringssl/src/crypto/crypto.c",
51855        "third_party/boringssl/src/crypto/curve25519/curve25519.c",
51856        "third_party/boringssl/src/crypto/curve25519/curve25519_64_adx.c",
51857        "third_party/boringssl/src/crypto/curve25519/spake25519.c",
51858        "third_party/boringssl/src/crypto/des/des.c",
51859        "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c",
51860        "third_party/boringssl/src/crypto/dh_extra/params.c",
51861        "third_party/boringssl/src/crypto/digest_extra/digest_extra.c",
51862        "third_party/boringssl/src/crypto/dsa/dsa.c",
51863        "third_party/boringssl/src/crypto/dsa/dsa_asn1.c",
51864        "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c",
51865        "third_party/boringssl/src/crypto/ec_extra/ec_derive.c",
51866        "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c",
51867        "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c",
51868        "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c",
51869        "third_party/boringssl/src/crypto/engine/engine.c",
51870        "third_party/boringssl/src/crypto/err/err.c",
51871        "third_party/boringssl/src/crypto/evp/evp.c",
51872        "third_party/boringssl/src/crypto/evp/evp_asn1.c",
51873        "third_party/boringssl/src/crypto/evp/evp_ctx.c",
51874        "third_party/boringssl/src/crypto/evp/p_dh.c",
51875        "third_party/boringssl/src/crypto/evp/p_dh_asn1.c",
51876        "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c",
51877        "third_party/boringssl/src/crypto/evp/p_ec.c",
51878        "third_party/boringssl/src/crypto/evp/p_ec_asn1.c",
51879        "third_party/boringssl/src/crypto/evp/p_ed25519.c",
51880        "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c",
51881        "third_party/boringssl/src/crypto/evp/p_hkdf.c",
51882        "third_party/boringssl/src/crypto/evp/p_rsa.c",
51883        "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c",
51884        "third_party/boringssl/src/crypto/evp/p_x25519.c",
51885        "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c",
51886        "third_party/boringssl/src/crypto/evp/pbkdf.c",
51887        "third_party/boringssl/src/crypto/evp/print.c",
51888        "third_party/boringssl/src/crypto/evp/scrypt.c",
51889        "third_party/boringssl/src/crypto/evp/sign.c",
51890        "third_party/boringssl/src/crypto/ex_data.c",
51891        "third_party/boringssl/src/crypto/fipsmodule/bcm.c",
51892        "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c",
51893        "third_party/boringssl/src/crypto/hpke/hpke.c",
51894        "third_party/boringssl/src/crypto/hrss/hrss.c",
51895        "third_party/boringssl/src/crypto/keccak/keccak.c",
51896        "third_party/boringssl/src/crypto/kyber/kyber.c",
51897        "third_party/boringssl/src/crypto/lhash/lhash.c",
51898        "third_party/boringssl/src/crypto/mem.c",
51899        "third_party/boringssl/src/crypto/obj/obj.c",
51900        "third_party/boringssl/src/crypto/obj/obj_xref.c",
51901        "third_party/boringssl/src/crypto/pem/pem_all.c",
51902        "third_party/boringssl/src/crypto/pem/pem_info.c",
51903        "third_party/boringssl/src/crypto/pem/pem_lib.c",
51904        "third_party/boringssl/src/crypto/pem/pem_oth.c",
51905        "third_party/boringssl/src/crypto/pem/pem_pk8.c",
51906        "third_party/boringssl/src/crypto/pem/pem_pkey.c",
51907        "third_party/boringssl/src/crypto/pem/pem_x509.c",
51908        "third_party/boringssl/src/crypto/pem/pem_xaux.c",
51909        "third_party/boringssl/src/crypto/pkcs7/pkcs7.c",
51910        "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c",
51911        "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c",
51912        "third_party/boringssl/src/crypto/pkcs8/pkcs8.c",
51913        "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c",
51914        "third_party/boringssl/src/crypto/poly1305/poly1305.c",
51915        "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c",
51916        "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c",
51917        "third_party/boringssl/src/crypto/pool/pool.c",
51918        "third_party/boringssl/src/crypto/rand_extra/deterministic.c",
51919        "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c",
51920        "third_party/boringssl/src/crypto/rand_extra/getentropy.c",
51921        "third_party/boringssl/src/crypto/rand_extra/ios.c",
51922        "third_party/boringssl/src/crypto/rand_extra/passive.c",
51923        "third_party/boringssl/src/crypto/rand_extra/rand_extra.c",
51924        "third_party/boringssl/src/crypto/rand_extra/trusty.c",
51925        "third_party/boringssl/src/crypto/rand_extra/windows.c",
51926        "third_party/boringssl/src/crypto/rc4/rc4.c",
51927        "third_party/boringssl/src/crypto/refcount.c",
51928        "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c",
51929        "third_party/boringssl/src/crypto/rsa_extra/rsa_crypt.c",
51930        "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c",
51931        "third_party/boringssl/src/crypto/siphash/siphash.c",
51932        "third_party/boringssl/src/crypto/spx/address.c",
51933        "third_party/boringssl/src/crypto/spx/fors.c",
51934        "third_party/boringssl/src/crypto/spx/merkle.c",
51935        "third_party/boringssl/src/crypto/spx/spx.c",
51936        "third_party/boringssl/src/crypto/spx/spx_util.c",
51937        "third_party/boringssl/src/crypto/spx/thash.c",
51938        "third_party/boringssl/src/crypto/spx/wots.c",
51939        "third_party/boringssl/src/crypto/stack/stack.c",
51940        "third_party/boringssl/src/crypto/thread.c",
51941        "third_party/boringssl/src/crypto/thread_none.c",
51942        "third_party/boringssl/src/crypto/thread_pthread.c",
51943        "third_party/boringssl/src/crypto/thread_win.c",
51944        "third_party/boringssl/src/crypto/trust_token/pmbtoken.c",
51945        "third_party/boringssl/src/crypto/trust_token/trust_token.c",
51946        "third_party/boringssl/src/crypto/trust_token/voprf.c",
51947        "third_party/boringssl/src/crypto/x509/a_digest.c",
51948        "third_party/boringssl/src/crypto/x509/a_sign.c",
51949        "third_party/boringssl/src/crypto/x509/a_verify.c",
51950        "third_party/boringssl/src/crypto/x509/algorithm.c",
51951        "third_party/boringssl/src/crypto/x509/asn1_gen.c",
51952        "third_party/boringssl/src/crypto/x509/by_dir.c",
51953        "third_party/boringssl/src/crypto/x509/by_file.c",
51954        "third_party/boringssl/src/crypto/x509/i2d_pr.c",
51955        "third_party/boringssl/src/crypto/x509/name_print.c",
51956        "third_party/boringssl/src/crypto/x509/policy.c",
51957        "third_party/boringssl/src/crypto/x509/rsa_pss.c",
51958        "third_party/boringssl/src/crypto/x509/t_crl.c",
51959        "third_party/boringssl/src/crypto/x509/t_req.c",
51960        "third_party/boringssl/src/crypto/x509/t_x509.c",
51961        "third_party/boringssl/src/crypto/x509/t_x509a.c",
51962        "third_party/boringssl/src/crypto/x509/v3_akey.c",
51963        "third_party/boringssl/src/crypto/x509/v3_akeya.c",
51964        "third_party/boringssl/src/crypto/x509/v3_alt.c",
51965        "third_party/boringssl/src/crypto/x509/v3_bcons.c",
51966        "third_party/boringssl/src/crypto/x509/v3_bitst.c",
51967        "third_party/boringssl/src/crypto/x509/v3_conf.c",
51968        "third_party/boringssl/src/crypto/x509/v3_cpols.c",
51969        "third_party/boringssl/src/crypto/x509/v3_crld.c",
51970        "third_party/boringssl/src/crypto/x509/v3_enum.c",
51971        "third_party/boringssl/src/crypto/x509/v3_extku.c",
51972        "third_party/boringssl/src/crypto/x509/v3_genn.c",
51973        "third_party/boringssl/src/crypto/x509/v3_ia5.c",
51974        "third_party/boringssl/src/crypto/x509/v3_info.c",
51975        "third_party/boringssl/src/crypto/x509/v3_int.c",
51976        "third_party/boringssl/src/crypto/x509/v3_lib.c",
51977        "third_party/boringssl/src/crypto/x509/v3_ncons.c",
51978        "third_party/boringssl/src/crypto/x509/v3_ocsp.c",
51979        "third_party/boringssl/src/crypto/x509/v3_pcons.c",
51980        "third_party/boringssl/src/crypto/x509/v3_pmaps.c",
51981        "third_party/boringssl/src/crypto/x509/v3_prn.c",
51982        "third_party/boringssl/src/crypto/x509/v3_purp.c",
51983        "third_party/boringssl/src/crypto/x509/v3_skey.c",
51984        "third_party/boringssl/src/crypto/x509/v3_utl.c",
51985        "third_party/boringssl/src/crypto/x509/x509.c",
51986        "third_party/boringssl/src/crypto/x509/x509_att.c",
51987        "third_party/boringssl/src/crypto/x509/x509_cmp.c",
51988        "third_party/boringssl/src/crypto/x509/x509_d2.c",
51989        "third_party/boringssl/src/crypto/x509/x509_def.c",
51990        "third_party/boringssl/src/crypto/x509/x509_ext.c",
51991        "third_party/boringssl/src/crypto/x509/x509_lu.c",
51992        "third_party/boringssl/src/crypto/x509/x509_obj.c",
51993        "third_party/boringssl/src/crypto/x509/x509_req.c",
51994        "third_party/boringssl/src/crypto/x509/x509_set.c",
51995        "third_party/boringssl/src/crypto/x509/x509_trs.c",
51996        "third_party/boringssl/src/crypto/x509/x509_txt.c",
51997        "third_party/boringssl/src/crypto/x509/x509_v3.c",
51998        "third_party/boringssl/src/crypto/x509/x509_vfy.c",
51999        "third_party/boringssl/src/crypto/x509/x509_vpm.c",
52000        "third_party/boringssl/src/crypto/x509/x509cset.c",
52001        "third_party/boringssl/src/crypto/x509/x509name.c",
52002        "third_party/boringssl/src/crypto/x509/x509rset.c",
52003        "third_party/boringssl/src/crypto/x509/x509spki.c",
52004        "third_party/boringssl/src/crypto/x509/x_algor.c",
52005        "third_party/boringssl/src/crypto/x509/x_all.c",
52006        "third_party/boringssl/src/crypto/x509/x_attrib.c",
52007        "third_party/boringssl/src/crypto/x509/x_crl.c",
52008        "third_party/boringssl/src/crypto/x509/x_exten.c",
52009        "third_party/boringssl/src/crypto/x509/x_name.c",
52010        "third_party/boringssl/src/crypto/x509/x_pubkey.c",
52011        "third_party/boringssl/src/crypto/x509/x_req.c",
52012        "third_party/boringssl/src/crypto/x509/x_sig.c",
52013        "third_party/boringssl/src/crypto/x509/x_spki.c",
52014        "third_party/boringssl/src/crypto/x509/x_val.c",
52015        "third_party/boringssl/src/crypto/x509/x_x509.c",
52016        "third_party/boringssl/src/crypto/x509/x_x509a.c",
52017        "third_party/boringssl/src/gen/crypto/err_data.c",
52018        "third_party/boringssl/src/pki/cert_error_id.cc",
52019        "third_party/boringssl/src/pki/cert_error_params.cc",
52020        "third_party/boringssl/src/pki/cert_errors.cc",
52021        "third_party/boringssl/src/pki/cert_issuer_source_static.cc",
52022        "third_party/boringssl/src/pki/certificate.cc",
52023        "third_party/boringssl/src/pki/certificate_policies.cc",
52024        "third_party/boringssl/src/pki/common_cert_errors.cc",
52025        "third_party/boringssl/src/pki/crl.cc",
52026        "third_party/boringssl/src/pki/encode_values.cc",
52027        "third_party/boringssl/src/pki/extended_key_usage.cc",
52028        "third_party/boringssl/src/pki/general_names.cc",
52029        "third_party/boringssl/src/pki/input.cc",
52030        "third_party/boringssl/src/pki/ip_util.cc",
52031        "third_party/boringssl/src/pki/name_constraints.cc",
52032        "third_party/boringssl/src/pki/ocsp.cc",
52033        "third_party/boringssl/src/pki/ocsp_verify_result.cc",
52034        "third_party/boringssl/src/pki/parse_certificate.cc",
52035        "third_party/boringssl/src/pki/parse_name.cc",
52036        "third_party/boringssl/src/pki/parse_values.cc",
52037        "third_party/boringssl/src/pki/parsed_certificate.cc",
52038        "third_party/boringssl/src/pki/parser.cc",
52039        "third_party/boringssl/src/pki/path_builder.cc",
52040        "third_party/boringssl/src/pki/pem.cc",
52041        "third_party/boringssl/src/pki/revocation_util.cc",
52042        "third_party/boringssl/src/pki/signature_algorithm.cc",
52043        "third_party/boringssl/src/pki/simple_path_builder_delegate.cc",
52044        "third_party/boringssl/src/pki/string_util.cc",
52045        "third_party/boringssl/src/pki/trust_store.cc",
52046        "third_party/boringssl/src/pki/trust_store_collection.cc",
52047        "third_party/boringssl/src/pki/trust_store_in_memory.cc",
52048        "third_party/boringssl/src/pki/verify_certificate_chain.cc",
52049        "third_party/boringssl/src/pki/verify_error.cc",
52050        "third_party/boringssl/src/pki/verify_name_match.cc",
52051        "third_party/boringssl/src/pki/verify_signed_data.cc",
52052        "third_party/boringssl/src/ssl/bio_ssl.cc",
52053        "third_party/boringssl/src/ssl/d1_both.cc",
52054        "third_party/boringssl/src/ssl/d1_lib.cc",
52055        "third_party/boringssl/src/ssl/d1_pkt.cc",
52056        "third_party/boringssl/src/ssl/d1_srtp.cc",
52057        "third_party/boringssl/src/ssl/dtls_method.cc",
52058        "third_party/boringssl/src/ssl/dtls_record.cc",
52059        "third_party/boringssl/src/ssl/encrypted_client_hello.cc",
52060        "third_party/boringssl/src/ssl/extensions.cc",
52061        "third_party/boringssl/src/ssl/handoff.cc",
52062        "third_party/boringssl/src/ssl/handshake.cc",
52063        "third_party/boringssl/src/ssl/handshake_client.cc",
52064        "third_party/boringssl/src/ssl/handshake_server.cc",
52065        "third_party/boringssl/src/ssl/s3_both.cc",
52066        "third_party/boringssl/src/ssl/s3_lib.cc",
52067        "third_party/boringssl/src/ssl/s3_pkt.cc",
52068        "third_party/boringssl/src/ssl/ssl_aead_ctx.cc",
52069        "third_party/boringssl/src/ssl/ssl_asn1.cc",
52070        "third_party/boringssl/src/ssl/ssl_buffer.cc",
52071        "third_party/boringssl/src/ssl/ssl_cert.cc",
52072        "third_party/boringssl/src/ssl/ssl_cipher.cc",
52073        "third_party/boringssl/src/ssl/ssl_credential.cc",
52074        "third_party/boringssl/src/ssl/ssl_file.cc",
52075        "third_party/boringssl/src/ssl/ssl_key_share.cc",
52076        "third_party/boringssl/src/ssl/ssl_lib.cc",
52077        "third_party/boringssl/src/ssl/ssl_privkey.cc",
52078        "third_party/boringssl/src/ssl/ssl_session.cc",
52079        "third_party/boringssl/src/ssl/ssl_stat.cc",
52080        "third_party/boringssl/src/ssl/ssl_transcript.cc",
52081        "third_party/boringssl/src/ssl/ssl_versions.cc",
52082        "third_party/boringssl/src/ssl/ssl_x509.cc",
52083        "third_party/boringssl/src/ssl/t1_enc.cc",
52084        "third_party/boringssl/src/ssl/tls13_both.cc",
52085        "third_party/boringssl/src/ssl/tls13_client.cc",
52086        "third_party/boringssl/src/ssl/tls13_enc.cc",
52087        "third_party/boringssl/src/ssl/tls13_server.cc",
52088        "third_party/boringssl/src/ssl/tls_method.cc",
52089        "third_party/boringssl/src/ssl/tls_record.cc",
52090    ],
52091    host_supported: true,
52092    defaults: [
52093        "cronet_aml_cc_defaults",
52094    ],
52095    cflags: [
52096        "-DBORINGSSL_ALLOW_CXX_RUNTIME",
52097        "-DBORINGSSL_IMPLEMENTATION",
52098        "-DBORINGSSL_NO_STATIC_INITIALIZER",
52099        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52100        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52101        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52102        "-DNDEBUG",
52103        "-DNO_UNWIND_TABLES",
52104        "-DNVALGRIND",
52105        "-DOFFICIAL_BUILD",
52106        "-DOPENSSL_SMALL",
52107        "-D_GNU_SOURCE",
52108        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52109        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52110        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52111        "-O2",
52112        "-fdata-sections",
52113        "-ffunction-sections",
52114        "-fno-asynchronous-unwind-tables",
52115        "-fno-unwind-tables",
52116        "-fstack-protector",
52117        "-fvisibility-inlines-hidden",
52118        "-fvisibility=hidden",
52119        "-g1",
52120    ],
52121    local_include_dirs: [
52122        "./",
52123        "buildtools/third_party/libc++/",
52124        "third_party/boringssl/src/include/",
52125        "third_party/libc++/src/include",
52126        "third_party/libc++abi/src/include",
52127    ],
52128    cpp_std: "c++20",
52129    ldflags: [
52130        "-Wl,--as-needed",
52131        "-Wl,--gc-sections",
52132        "-Wl,--icf=all",
52133    ],
52134    target: {
52135        android_arm: {
52136            cflags: [
52137                "-DANDROID",
52138                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52139                "-DHAVE_SYS_UIO_H",
52140                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52141            ],
52142        },
52143        android_arm64: {
52144            cflags: [
52145                "-DANDROID",
52146                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52147                "-DHAVE_SYS_UIO_H",
52148                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52149                "-mno-outline",
52150            ],
52151        },
52152        android_riscv64: {
52153            cflags: [
52154                "-DANDROID",
52155                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52156                "-DHAVE_SYS_UIO_H",
52157                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52158            ],
52159        },
52160        android_x86: {
52161            cflags: [
52162                "-DANDROID",
52163                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52164                "-DHAVE_SYS_UIO_H",
52165                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52166                "-msse3",
52167            ],
52168        },
52169        android_x86_64: {
52170            cflags: [
52171                "-DANDROID",
52172                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52173                "-DHAVE_SYS_UIO_H",
52174                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52175                "-msse3",
52176            ],
52177        },
52178        host: {
52179            cflags: [
52180                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
52181                "-DUSE_AURA=1",
52182                "-DUSE_OZONE=1",
52183                "-DUSE_UDEV",
52184                "-D_FILE_OFFSET_BITS=64",
52185                "-D_LARGEFILE64_SOURCE",
52186                "-D_LARGEFILE_SOURCE",
52187                "-msse3",
52188            ],
52189            compile_multilib: "64",
52190        },
52191    },
52192}
52193
52194// GN: //third_party/boringssl:boringssl_asm__testing
52195cc_library_static {
52196    name: "cronet_aml_third_party_boringssl_boringssl_asm__testing",
52197    srcs: [
52198        "third_party/boringssl/src/crypto/curve25519/asm/x25519-asm-arm.S",
52199        "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S",
52200        "third_party/boringssl/src/crypto/poly1305/poly1305_arm_asm.S",
52201        "third_party/boringssl/src/gen/bcm/aesni-gcm-x86_64-apple.S",
52202        "third_party/boringssl/src/gen/bcm/aesni-gcm-x86_64-linux.S",
52203        "third_party/boringssl/src/gen/bcm/aesni-x86-apple.S",
52204        "third_party/boringssl/src/gen/bcm/aesni-x86-linux.S",
52205        "third_party/boringssl/src/gen/bcm/aesni-x86_64-apple.S",
52206        "third_party/boringssl/src/gen/bcm/aesni-x86_64-linux.S",
52207        "third_party/boringssl/src/gen/bcm/aesv8-armv7-linux.S",
52208        "third_party/boringssl/src/gen/bcm/aesv8-armv8-apple.S",
52209        "third_party/boringssl/src/gen/bcm/aesv8-armv8-linux.S",
52210        "third_party/boringssl/src/gen/bcm/aesv8-armv8-win.S",
52211        "third_party/boringssl/src/gen/bcm/aesv8-gcm-armv8-apple.S",
52212        "third_party/boringssl/src/gen/bcm/aesv8-gcm-armv8-linux.S",
52213        "third_party/boringssl/src/gen/bcm/aesv8-gcm-armv8-win.S",
52214        "third_party/boringssl/src/gen/bcm/armv4-mont-linux.S",
52215        "third_party/boringssl/src/gen/bcm/armv8-mont-apple.S",
52216        "third_party/boringssl/src/gen/bcm/armv8-mont-linux.S",
52217        "third_party/boringssl/src/gen/bcm/armv8-mont-win.S",
52218        "third_party/boringssl/src/gen/bcm/bn-586-apple.S",
52219        "third_party/boringssl/src/gen/bcm/bn-586-linux.S",
52220        "third_party/boringssl/src/gen/bcm/bn-armv8-apple.S",
52221        "third_party/boringssl/src/gen/bcm/bn-armv8-linux.S",
52222        "third_party/boringssl/src/gen/bcm/bn-armv8-win.S",
52223        "third_party/boringssl/src/gen/bcm/bsaes-armv7-linux.S",
52224        "third_party/boringssl/src/gen/bcm/co-586-apple.S",
52225        "third_party/boringssl/src/gen/bcm/co-586-linux.S",
52226        "third_party/boringssl/src/gen/bcm/ghash-armv4-linux.S",
52227        "third_party/boringssl/src/gen/bcm/ghash-neon-armv8-apple.S",
52228        "third_party/boringssl/src/gen/bcm/ghash-neon-armv8-linux.S",
52229        "third_party/boringssl/src/gen/bcm/ghash-neon-armv8-win.S",
52230        "third_party/boringssl/src/gen/bcm/ghash-ssse3-x86-apple.S",
52231        "third_party/boringssl/src/gen/bcm/ghash-ssse3-x86-linux.S",
52232        "third_party/boringssl/src/gen/bcm/ghash-ssse3-x86_64-apple.S",
52233        "third_party/boringssl/src/gen/bcm/ghash-ssse3-x86_64-linux.S",
52234        "third_party/boringssl/src/gen/bcm/ghash-x86-apple.S",
52235        "third_party/boringssl/src/gen/bcm/ghash-x86-linux.S",
52236        "third_party/boringssl/src/gen/bcm/ghash-x86_64-apple.S",
52237        "third_party/boringssl/src/gen/bcm/ghash-x86_64-linux.S",
52238        "third_party/boringssl/src/gen/bcm/ghashv8-armv7-linux.S",
52239        "third_party/boringssl/src/gen/bcm/ghashv8-armv8-apple.S",
52240        "third_party/boringssl/src/gen/bcm/ghashv8-armv8-linux.S",
52241        "third_party/boringssl/src/gen/bcm/ghashv8-armv8-win.S",
52242        "third_party/boringssl/src/gen/bcm/md5-586-apple.S",
52243        "third_party/boringssl/src/gen/bcm/md5-586-linux.S",
52244        "third_party/boringssl/src/gen/bcm/md5-x86_64-apple.S",
52245        "third_party/boringssl/src/gen/bcm/md5-x86_64-linux.S",
52246        "third_party/boringssl/src/gen/bcm/p256-armv8-asm-apple.S",
52247        "third_party/boringssl/src/gen/bcm/p256-armv8-asm-linux.S",
52248        "third_party/boringssl/src/gen/bcm/p256-armv8-asm-win.S",
52249        "third_party/boringssl/src/gen/bcm/p256-x86_64-asm-apple.S",
52250        "third_party/boringssl/src/gen/bcm/p256-x86_64-asm-linux.S",
52251        "third_party/boringssl/src/gen/bcm/p256_beeu-armv8-asm-apple.S",
52252        "third_party/boringssl/src/gen/bcm/p256_beeu-armv8-asm-linux.S",
52253        "third_party/boringssl/src/gen/bcm/p256_beeu-armv8-asm-win.S",
52254        "third_party/boringssl/src/gen/bcm/p256_beeu-x86_64-asm-apple.S",
52255        "third_party/boringssl/src/gen/bcm/p256_beeu-x86_64-asm-linux.S",
52256        "third_party/boringssl/src/gen/bcm/rdrand-x86_64-apple.S",
52257        "third_party/boringssl/src/gen/bcm/rdrand-x86_64-linux.S",
52258        "third_party/boringssl/src/gen/bcm/rsaz-avx2-apple.S",
52259        "third_party/boringssl/src/gen/bcm/rsaz-avx2-linux.S",
52260        "third_party/boringssl/src/gen/bcm/sha1-586-apple.S",
52261        "third_party/boringssl/src/gen/bcm/sha1-586-linux.S",
52262        "third_party/boringssl/src/gen/bcm/sha1-armv4-large-linux.S",
52263        "third_party/boringssl/src/gen/bcm/sha1-armv8-apple.S",
52264        "third_party/boringssl/src/gen/bcm/sha1-armv8-linux.S",
52265        "third_party/boringssl/src/gen/bcm/sha1-armv8-win.S",
52266        "third_party/boringssl/src/gen/bcm/sha1-x86_64-apple.S",
52267        "third_party/boringssl/src/gen/bcm/sha1-x86_64-linux.S",
52268        "third_party/boringssl/src/gen/bcm/sha256-586-apple.S",
52269        "third_party/boringssl/src/gen/bcm/sha256-586-linux.S",
52270        "third_party/boringssl/src/gen/bcm/sha256-armv4-linux.S",
52271        "third_party/boringssl/src/gen/bcm/sha256-armv8-apple.S",
52272        "third_party/boringssl/src/gen/bcm/sha256-armv8-linux.S",
52273        "third_party/boringssl/src/gen/bcm/sha256-armv8-win.S",
52274        "third_party/boringssl/src/gen/bcm/sha256-x86_64-apple.S",
52275        "third_party/boringssl/src/gen/bcm/sha256-x86_64-linux.S",
52276        "third_party/boringssl/src/gen/bcm/sha512-586-apple.S",
52277        "third_party/boringssl/src/gen/bcm/sha512-586-linux.S",
52278        "third_party/boringssl/src/gen/bcm/sha512-armv4-linux.S",
52279        "third_party/boringssl/src/gen/bcm/sha512-armv8-apple.S",
52280        "third_party/boringssl/src/gen/bcm/sha512-armv8-linux.S",
52281        "third_party/boringssl/src/gen/bcm/sha512-armv8-win.S",
52282        "third_party/boringssl/src/gen/bcm/sha512-x86_64-apple.S",
52283        "third_party/boringssl/src/gen/bcm/sha512-x86_64-linux.S",
52284        "third_party/boringssl/src/gen/bcm/vpaes-armv7-linux.S",
52285        "third_party/boringssl/src/gen/bcm/vpaes-armv8-apple.S",
52286        "third_party/boringssl/src/gen/bcm/vpaes-armv8-linux.S",
52287        "third_party/boringssl/src/gen/bcm/vpaes-armv8-win.S",
52288        "third_party/boringssl/src/gen/bcm/vpaes-x86-apple.S",
52289        "third_party/boringssl/src/gen/bcm/vpaes-x86-linux.S",
52290        "third_party/boringssl/src/gen/bcm/vpaes-x86_64-apple.S",
52291        "third_party/boringssl/src/gen/bcm/vpaes-x86_64-linux.S",
52292        "third_party/boringssl/src/gen/bcm/x86-mont-apple.S",
52293        "third_party/boringssl/src/gen/bcm/x86-mont-linux.S",
52294        "third_party/boringssl/src/gen/bcm/x86_64-mont-apple.S",
52295        "third_party/boringssl/src/gen/bcm/x86_64-mont-linux.S",
52296        "third_party/boringssl/src/gen/bcm/x86_64-mont5-apple.S",
52297        "third_party/boringssl/src/gen/bcm/x86_64-mont5-linux.S",
52298        "third_party/boringssl/src/gen/crypto/aes128gcmsiv-x86_64-apple.S",
52299        "third_party/boringssl/src/gen/crypto/aes128gcmsiv-x86_64-linux.S",
52300        "third_party/boringssl/src/gen/crypto/chacha-armv4-linux.S",
52301        "third_party/boringssl/src/gen/crypto/chacha-armv8-apple.S",
52302        "third_party/boringssl/src/gen/crypto/chacha-armv8-linux.S",
52303        "third_party/boringssl/src/gen/crypto/chacha-armv8-win.S",
52304        "third_party/boringssl/src/gen/crypto/chacha-x86-apple.S",
52305        "third_party/boringssl/src/gen/crypto/chacha-x86-linux.S",
52306        "third_party/boringssl/src/gen/crypto/chacha-x86_64-apple.S",
52307        "third_party/boringssl/src/gen/crypto/chacha-x86_64-linux.S",
52308        "third_party/boringssl/src/gen/crypto/chacha20_poly1305_armv8-apple.S",
52309        "third_party/boringssl/src/gen/crypto/chacha20_poly1305_armv8-linux.S",
52310        "third_party/boringssl/src/gen/crypto/chacha20_poly1305_armv8-win.S",
52311        "third_party/boringssl/src/gen/crypto/chacha20_poly1305_x86_64-apple.S",
52312        "third_party/boringssl/src/gen/crypto/chacha20_poly1305_x86_64-linux.S",
52313        "third_party/boringssl/src/gen/test_support/trampoline-armv4-linux.S",
52314        "third_party/boringssl/src/gen/test_support/trampoline-armv8-apple.S",
52315        "third_party/boringssl/src/gen/test_support/trampoline-armv8-linux.S",
52316        "third_party/boringssl/src/gen/test_support/trampoline-armv8-win.S",
52317        "third_party/boringssl/src/gen/test_support/trampoline-x86-apple.S",
52318        "third_party/boringssl/src/gen/test_support/trampoline-x86-linux.S",
52319        "third_party/boringssl/src/gen/test_support/trampoline-x86_64-apple.S",
52320        "third_party/boringssl/src/gen/test_support/trampoline-x86_64-linux.S",
52321        "third_party/boringssl/src/third_party/fiat/asm/fiat_curve25519_adx_mul.S",
52322        "third_party/boringssl/src/third_party/fiat/asm/fiat_curve25519_adx_square.S",
52323        "third_party/boringssl/src/third_party/fiat/asm/fiat_p256_adx_mul.S",
52324        "third_party/boringssl/src/third_party/fiat/asm/fiat_p256_adx_sqr.S",
52325    ],
52326    host_supported: true,
52327    defaults: [
52328        "cronet_aml_cc_defaults",
52329    ],
52330    cflags: [
52331        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52332        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52333        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52334        "-DNDEBUG",
52335        "-DNO_UNWIND_TABLES",
52336        "-DNVALGRIND",
52337        "-DOFFICIAL_BUILD",
52338        "-D_GNU_SOURCE",
52339        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52340        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52341        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52342        "-D__STDC_CONSTANT_MACROS",
52343        "-D__STDC_FORMAT_MACROS",
52344        "-fdata-sections",
52345        "-ffunction-sections",
52346        "-fno-asynchronous-unwind-tables",
52347        "-fno-unwind-tables",
52348        "-fstack-protector",
52349        "-fvisibility-inlines-hidden",
52350        "-fvisibility=hidden",
52351        "-g1",
52352    ],
52353    local_include_dirs: [
52354        "./",
52355        "buildtools/third_party/libc++/",
52356        "third_party/boringssl/src/include/",
52357        "third_party/libc++/src/include",
52358        "third_party/libc++abi/src/include",
52359    ],
52360    cpp_std: "c++20",
52361    ldflags: [
52362        "-Wl,--as-needed",
52363        "-Wl,--gc-sections",
52364        "-Wl,--icf=all",
52365    ],
52366    target: {
52367        android_arm: {
52368            cflags: [
52369                "-DANDROID",
52370                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52371                "-DHAVE_SYS_UIO_H",
52372                "-D_FORTIFY_SOURCE=2",
52373                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52374            ],
52375        },
52376        android_arm64: {
52377            cflags: [
52378                "-DANDROID",
52379                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52380                "-DHAVE_SYS_UIO_H",
52381                "-D_FORTIFY_SOURCE=2",
52382                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52383                "-O2",
52384                "-mno-outline",
52385            ],
52386        },
52387        android_riscv64: {
52388            cflags: [
52389                "-DANDROID",
52390                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52391                "-DHAVE_SYS_UIO_H",
52392                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52393            ],
52394        },
52395        android_x86: {
52396            cflags: [
52397                "-DANDROID",
52398                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52399                "-DHAVE_SYS_UIO_H",
52400                "-D_FORTIFY_SOURCE=2",
52401                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52402                "-msse3",
52403            ],
52404        },
52405        android_x86_64: {
52406            cflags: [
52407                "-DANDROID",
52408                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52409                "-DHAVE_SYS_UIO_H",
52410                "-D_FORTIFY_SOURCE=2",
52411                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52412                "-msse3",
52413            ],
52414        },
52415        host: {
52416            cflags: [
52417                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
52418                "-DUSE_AURA=1",
52419                "-DUSE_OZONE=1",
52420                "-DUSE_UDEV",
52421                "-D_FILE_OFFSET_BITS=64",
52422                "-D_FORTIFY_SOURCE=2",
52423                "-D_LARGEFILE64_SOURCE",
52424                "-D_LARGEFILE_SOURCE",
52425                "-O2",
52426                "-msse3",
52427            ],
52428            compile_multilib: "64",
52429        },
52430    },
52431}
52432
52433// GN: //third_party/brotli:common
52434cc_library_static {
52435    name: "cronet_aml_third_party_brotli_common",
52436    srcs: [
52437        "third_party/brotli/common/constants.c",
52438        "third_party/brotli/common/context.c",
52439        "third_party/brotli/common/dictionary.c",
52440        "third_party/brotli/common/platform.c",
52441        "third_party/brotli/common/shared_dictionary.c",
52442        "third_party/brotli/common/transform.c",
52443    ],
52444    defaults: [
52445        "cronet_aml_cc_defaults",
52446    ],
52447    cflags: [
52448        "-DANDROID",
52449        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52450        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52451        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52452        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52453        "-DHAVE_SYS_UIO_H",
52454        "-DNDEBUG",
52455        "-DNO_UNWIND_TABLES",
52456        "-DNVALGRIND",
52457        "-DOFFICIAL_BUILD",
52458        "-D_GNU_SOURCE",
52459        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52460        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52461        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52462        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52463        "-D__STDC_CONSTANT_MACROS",
52464        "-D__STDC_FORMAT_MACROS",
52465        "-fdata-sections",
52466        "-ffunction-sections",
52467        "-fno-asynchronous-unwind-tables",
52468        "-fno-unwind-tables",
52469        "-fstack-protector",
52470        "-fvisibility-inlines-hidden",
52471        "-fvisibility=hidden",
52472        "-g1",
52473    ],
52474    local_include_dirs: [
52475        "./",
52476        "buildtools/third_party/libc++/",
52477        "third_party/brotli/include/",
52478        "third_party/libc++/src/include",
52479        "third_party/libc++abi/src/include",
52480    ],
52481    cpp_std: "c++20",
52482    ldflags: [
52483        "-Wl,--as-needed",
52484        "-Wl,--gc-sections",
52485        "-Wl,--icf=all",
52486    ],
52487    target: {
52488        android_arm: {
52489            cflags: [
52490                "-D_FORTIFY_SOURCE=2",
52491            ],
52492        },
52493        android_arm64: {
52494            cflags: [
52495                "-D_FORTIFY_SOURCE=2",
52496                "-O2",
52497                "-mno-outline",
52498            ],
52499        },
52500        android_x86: {
52501            cflags: [
52502                "-D_FORTIFY_SOURCE=2",
52503                "-msse3",
52504            ],
52505        },
52506        android_x86_64: {
52507            cflags: [
52508                "-D_FORTIFY_SOURCE=2",
52509                "-msse3",
52510            ],
52511        },
52512    },
52513}
52514
52515// GN: //third_party/brotli:common__testing
52516cc_library_static {
52517    name: "cronet_aml_third_party_brotli_common__testing",
52518    srcs: [
52519        "third_party/brotli/common/constants.c",
52520        "third_party/brotli/common/context.c",
52521        "third_party/brotli/common/dictionary.c",
52522        "third_party/brotli/common/platform.c",
52523        "third_party/brotli/common/shared_dictionary.c",
52524        "third_party/brotli/common/transform.c",
52525    ],
52526    defaults: [
52527        "cronet_aml_cc_defaults",
52528    ],
52529    cflags: [
52530        "-DANDROID",
52531        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52532        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52533        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52534        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52535        "-DHAVE_SYS_UIO_H",
52536        "-DNDEBUG",
52537        "-DNO_UNWIND_TABLES",
52538        "-DNVALGRIND",
52539        "-DOFFICIAL_BUILD",
52540        "-D_GNU_SOURCE",
52541        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52542        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52543        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52544        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52545        "-D__STDC_CONSTANT_MACROS",
52546        "-D__STDC_FORMAT_MACROS",
52547        "-fdata-sections",
52548        "-ffunction-sections",
52549        "-fno-asynchronous-unwind-tables",
52550        "-fno-unwind-tables",
52551        "-fstack-protector",
52552        "-fvisibility-inlines-hidden",
52553        "-fvisibility=hidden",
52554        "-g1",
52555    ],
52556    local_include_dirs: [
52557        "./",
52558        "buildtools/third_party/libc++/",
52559        "third_party/brotli/include/",
52560        "third_party/libc++/src/include",
52561        "third_party/libc++abi/src/include",
52562    ],
52563    cpp_std: "c++20",
52564    ldflags: [
52565        "-Wl,--as-needed",
52566        "-Wl,--gc-sections",
52567        "-Wl,--icf=all",
52568    ],
52569    target: {
52570        android_arm: {
52571            cflags: [
52572                "-D_FORTIFY_SOURCE=2",
52573            ],
52574        },
52575        android_arm64: {
52576            cflags: [
52577                "-D_FORTIFY_SOURCE=2",
52578                "-O2",
52579                "-mno-outline",
52580            ],
52581        },
52582        android_x86: {
52583            cflags: [
52584                "-D_FORTIFY_SOURCE=2",
52585                "-msse3",
52586            ],
52587        },
52588        android_x86_64: {
52589            cflags: [
52590                "-D_FORTIFY_SOURCE=2",
52591                "-msse3",
52592            ],
52593        },
52594    },
52595}
52596
52597// GN: //third_party/brotli:dec
52598cc_library_static {
52599    name: "cronet_aml_third_party_brotli_dec",
52600    srcs: [
52601        "third_party/brotli/dec/bit_reader.c",
52602        "third_party/brotli/dec/decode.c",
52603        "third_party/brotli/dec/huffman.c",
52604        "third_party/brotli/dec/state.c",
52605    ],
52606    defaults: [
52607        "cronet_aml_cc_defaults",
52608    ],
52609    cflags: [
52610        "-DANDROID",
52611        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52612        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52613        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52614        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52615        "-DHAVE_SYS_UIO_H",
52616        "-DNDEBUG",
52617        "-DNO_UNWIND_TABLES",
52618        "-DNVALGRIND",
52619        "-DOFFICIAL_BUILD",
52620        "-D_GNU_SOURCE",
52621        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52622        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52623        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52624        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52625        "-O2",
52626        "-fdata-sections",
52627        "-ffunction-sections",
52628        "-fno-asynchronous-unwind-tables",
52629        "-fno-unwind-tables",
52630        "-fstack-protector",
52631        "-fvisibility-inlines-hidden",
52632        "-fvisibility=hidden",
52633        "-g1",
52634    ],
52635    local_include_dirs: [
52636        "./",
52637        "buildtools/third_party/libc++/",
52638        "third_party/brotli/include/",
52639        "third_party/libc++/src/include",
52640        "third_party/libc++abi/src/include",
52641    ],
52642    cpp_std: "c++20",
52643    ldflags: [
52644        "-Wl,--as-needed",
52645        "-Wl,--gc-sections",
52646        "-Wl,--icf=all",
52647    ],
52648    target: {
52649        android_arm64: {
52650            cflags: [
52651                "-mno-outline",
52652            ],
52653        },
52654        android_x86: {
52655            cflags: [
52656                "-msse3",
52657            ],
52658        },
52659        android_x86_64: {
52660            cflags: [
52661                "-msse3",
52662            ],
52663        },
52664    },
52665}
52666
52667// GN: //third_party/brotli:dec__testing
52668cc_library_static {
52669    name: "cronet_aml_third_party_brotli_dec__testing",
52670    srcs: [
52671        "third_party/brotli/dec/bit_reader.c",
52672        "third_party/brotli/dec/decode.c",
52673        "third_party/brotli/dec/huffman.c",
52674        "third_party/brotli/dec/state.c",
52675    ],
52676    defaults: [
52677        "cronet_aml_cc_defaults",
52678    ],
52679    cflags: [
52680        "-DANDROID",
52681        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52682        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52683        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52684        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52685        "-DHAVE_SYS_UIO_H",
52686        "-DNDEBUG",
52687        "-DNO_UNWIND_TABLES",
52688        "-DNVALGRIND",
52689        "-DOFFICIAL_BUILD",
52690        "-D_GNU_SOURCE",
52691        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52692        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52693        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52694        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52695        "-O2",
52696        "-fdata-sections",
52697        "-ffunction-sections",
52698        "-fno-asynchronous-unwind-tables",
52699        "-fno-unwind-tables",
52700        "-fstack-protector",
52701        "-fvisibility-inlines-hidden",
52702        "-fvisibility=hidden",
52703        "-g1",
52704    ],
52705    local_include_dirs: [
52706        "./",
52707        "buildtools/third_party/libc++/",
52708        "third_party/brotli/include/",
52709        "third_party/libc++/src/include",
52710        "third_party/libc++abi/src/include",
52711    ],
52712    cpp_std: "c++20",
52713    ldflags: [
52714        "-Wl,--as-needed",
52715        "-Wl,--gc-sections",
52716        "-Wl,--icf=all",
52717    ],
52718    target: {
52719        android_arm64: {
52720            cflags: [
52721                "-mno-outline",
52722            ],
52723        },
52724        android_x86: {
52725            cflags: [
52726                "-msse3",
52727            ],
52728        },
52729        android_x86_64: {
52730            cflags: [
52731                "-msse3",
52732            ],
52733        },
52734    },
52735}
52736
52737// GN: //third_party/ced:ced__testing
52738cc_library_static {
52739    name: "cronet_aml_third_party_ced_ced__testing",
52740    srcs: [
52741        "third_party/ced/src/compact_enc_det/compact_enc_det.cc",
52742        "third_party/ced/src/compact_enc_det/compact_enc_det_hint_code.cc",
52743        "third_party/ced/src/util/encodings/encodings.cc",
52744        "third_party/ced/src/util/languages/languages.cc",
52745    ],
52746    defaults: [
52747        "cronet_aml_cc_defaults",
52748    ],
52749    cflags: [
52750        "-DANDROID",
52751        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52752        "-DCOMPILER_GCC",
52753        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52754        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52755        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52756        "-DHAVE_SYS_UIO_H",
52757        "-DHTML5_MODE",
52758        "-DNDEBUG",
52759        "-DNO_UNWIND_TABLES",
52760        "-DNVALGRIND",
52761        "-DOFFICIAL_BUILD",
52762        "-D_GNU_SOURCE",
52763        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52764        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52765        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52766        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52767        "-fdata-sections",
52768        "-ffunction-sections",
52769        "-fno-asynchronous-unwind-tables",
52770        "-fno-unwind-tables",
52771        "-fstack-protector",
52772        "-fvisibility-inlines-hidden",
52773        "-fvisibility=hidden",
52774        "-g1",
52775    ],
52776    local_include_dirs: [
52777        "./",
52778        "buildtools/third_party/libc++/",
52779        "third_party/ced/src/",
52780        "third_party/libc++/src/include",
52781        "third_party/libc++abi/src/include",
52782    ],
52783    cpp_std: "c++20",
52784    ldflags: [
52785        "-Wl,--as-needed",
52786        "-Wl,--gc-sections",
52787        "-Wl,--icf=all",
52788    ],
52789    target: {
52790        android_arm64: {
52791            cflags: [
52792                "-O2",
52793                "-mno-outline",
52794            ],
52795        },
52796        android_x86: {
52797            cflags: [
52798                "-msse3",
52799            ],
52800        },
52801        android_x86_64: {
52802            cflags: [
52803                "-msse3",
52804            ],
52805        },
52806    },
52807}
52808
52809// GN: //third_party/cpu_features:cpuinfo
52810cc_library_static {
52811    name: "cronet_aml_third_party_cpu_features_cpuinfo",
52812    srcs: [
52813        "third_party/cpu_features/src/src/filesystem.c",
52814        "third_party/cpu_features/src/src/hwcaps.c",
52815        "third_party/cpu_features/src/src/stack_line_reader.c",
52816        "third_party/cpu_features/src/src/string_view.c",
52817    ],
52818    defaults: [
52819        "cronet_aml_cc_defaults",
52820    ],
52821    cflags: [
52822        "-DANDROID",
52823        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52824        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52825        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52826        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52827        "-DHAVE_STRONG_GETAUXVAL",
52828        "-DHAVE_SYS_UIO_H",
52829        "-DNDEBUG",
52830        "-DNO_UNWIND_TABLES",
52831        "-DNVALGRIND",
52832        "-DOFFICIAL_BUILD",
52833        "-DSTACK_LINE_READER_BUFFER_SIZE=1024",
52834        "-D_GNU_SOURCE",
52835        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52836        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52837        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52838        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52839        "-D__STDC_CONSTANT_MACROS",
52840        "-D__STDC_FORMAT_MACROS",
52841        "-fdata-sections",
52842        "-ffunction-sections",
52843        "-fno-asynchronous-unwind-tables",
52844        "-fno-unwind-tables",
52845        "-fstack-protector",
52846        "-fvisibility-inlines-hidden",
52847        "-fvisibility=hidden",
52848        "-g1",
52849    ],
52850    local_include_dirs: [
52851        "./",
52852        "buildtools/third_party/libc++/",
52853        "third_party/cpu_features/src/include/",
52854        "third_party/libc++/src/include",
52855        "third_party/libc++abi/src/include",
52856    ],
52857    cpp_std: "c++20",
52858    ldflags: [
52859        "-Wl,--as-needed",
52860        "-Wl,--gc-sections",
52861        "-Wl,--icf=all",
52862    ],
52863    target: {
52864        android_arm: {
52865            srcs: [
52866                "third_party/cpu_features/src/src/impl_arm_linux_or_android.c",
52867            ],
52868            cflags: [
52869                "-D_FORTIFY_SOURCE=2",
52870            ],
52871        },
52872        android_arm64: {
52873            srcs: [
52874                "third_party/cpu_features/src/src/impl_aarch64_linux_or_android.c",
52875            ],
52876            cflags: [
52877                "-D_FORTIFY_SOURCE=2",
52878                "-O2",
52879                "-mno-outline",
52880            ],
52881        },
52882        android_riscv64: {
52883            srcs: [
52884                "third_party/cpu_features/src/src/impl_riscv_linux.c",
52885            ],
52886        },
52887        android_x86: {
52888            srcs: [
52889                "third_party/cpu_features/src/src/impl_x86_freebsd.c",
52890                "third_party/cpu_features/src/src/impl_x86_linux_or_android.c",
52891                "third_party/cpu_features/src/src/impl_x86_macos.c",
52892                "third_party/cpu_features/src/src/impl_x86_windows.c",
52893            ],
52894            cflags: [
52895                "-D_FORTIFY_SOURCE=2",
52896                "-msse3",
52897            ],
52898        },
52899        android_x86_64: {
52900            srcs: [
52901                "third_party/cpu_features/src/src/impl_x86_freebsd.c",
52902                "third_party/cpu_features/src/src/impl_x86_linux_or_android.c",
52903                "third_party/cpu_features/src/src/impl_x86_macos.c",
52904                "third_party/cpu_features/src/src/impl_x86_windows.c",
52905            ],
52906            cflags: [
52907                "-D_FORTIFY_SOURCE=2",
52908                "-msse3",
52909            ],
52910        },
52911    },
52912}
52913
52914// GN: //third_party/cpu_features:cpuinfo__testing
52915cc_library_static {
52916    name: "cronet_aml_third_party_cpu_features_cpuinfo__testing",
52917    srcs: [
52918        "third_party/cpu_features/src/src/filesystem.c",
52919        "third_party/cpu_features/src/src/hwcaps.c",
52920        "third_party/cpu_features/src/src/stack_line_reader.c",
52921        "third_party/cpu_features/src/src/string_view.c",
52922    ],
52923    defaults: [
52924        "cronet_aml_cc_defaults",
52925    ],
52926    cflags: [
52927        "-DANDROID",
52928        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
52929        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
52930        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
52931        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
52932        "-DHAVE_STRONG_GETAUXVAL",
52933        "-DHAVE_SYS_UIO_H",
52934        "-DNDEBUG",
52935        "-DNO_UNWIND_TABLES",
52936        "-DNVALGRIND",
52937        "-DOFFICIAL_BUILD",
52938        "-DSTACK_LINE_READER_BUFFER_SIZE=1024",
52939        "-D_GNU_SOURCE",
52940        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
52941        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
52942        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
52943        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52944        "-D__STDC_CONSTANT_MACROS",
52945        "-D__STDC_FORMAT_MACROS",
52946        "-fdata-sections",
52947        "-ffunction-sections",
52948        "-fno-asynchronous-unwind-tables",
52949        "-fno-unwind-tables",
52950        "-fstack-protector",
52951        "-fvisibility-inlines-hidden",
52952        "-fvisibility=hidden",
52953        "-g1",
52954    ],
52955    local_include_dirs: [
52956        "./",
52957        "buildtools/third_party/libc++/",
52958        "third_party/cpu_features/src/include/",
52959        "third_party/libc++/src/include",
52960        "third_party/libc++abi/src/include",
52961    ],
52962    cpp_std: "c++20",
52963    ldflags: [
52964        "-Wl,--as-needed",
52965        "-Wl,--gc-sections",
52966        "-Wl,--icf=all",
52967    ],
52968    target: {
52969        android_arm: {
52970            srcs: [
52971                "third_party/cpu_features/src/src/impl_arm_linux_or_android.c",
52972            ],
52973            cflags: [
52974                "-D_FORTIFY_SOURCE=2",
52975            ],
52976        },
52977        android_arm64: {
52978            srcs: [
52979                "third_party/cpu_features/src/src/impl_aarch64_linux_or_android.c",
52980            ],
52981            cflags: [
52982                "-D_FORTIFY_SOURCE=2",
52983                "-O2",
52984                "-mno-outline",
52985            ],
52986        },
52987        android_riscv64: {
52988            srcs: [
52989                "third_party/cpu_features/src/src/impl_riscv_linux.c",
52990            ],
52991        },
52992        android_x86: {
52993            srcs: [
52994                "third_party/cpu_features/src/src/impl_x86_freebsd.c",
52995                "third_party/cpu_features/src/src/impl_x86_linux_or_android.c",
52996                "third_party/cpu_features/src/src/impl_x86_macos.c",
52997                "third_party/cpu_features/src/src/impl_x86_windows.c",
52998            ],
52999            cflags: [
53000                "-D_FORTIFY_SOURCE=2",
53001                "-msse3",
53002            ],
53003        },
53004        android_x86_64: {
53005            srcs: [
53006                "third_party/cpu_features/src/src/impl_x86_freebsd.c",
53007                "third_party/cpu_features/src/src/impl_x86_linux_or_android.c",
53008                "third_party/cpu_features/src/src/impl_x86_macos.c",
53009                "third_party/cpu_features/src/src/impl_x86_windows.c",
53010            ],
53011            cflags: [
53012                "-D_FORTIFY_SOURCE=2",
53013                "-msse3",
53014            ],
53015        },
53016    },
53017}
53018
53019// GN: //third_party/cpu_features:ndk_compat
53020cc_library_static {
53021    name: "cronet_aml_third_party_cpu_features_ndk_compat",
53022    srcs: [
53023        "third_party/cpu_features/src/ndk_compat/cpu-features.c",
53024    ],
53025    defaults: [
53026        "cronet_aml_cc_defaults",
53027    ],
53028    cflags: [
53029        "-DANDROID",
53030        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
53031        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
53032        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
53033        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
53034        "-DHAVE_STRONG_GETAUXVAL",
53035        "-DHAVE_SYS_UIO_H",
53036        "-DNDEBUG",
53037        "-DNO_UNWIND_TABLES",
53038        "-DNVALGRIND",
53039        "-DOFFICIAL_BUILD",
53040        "-DSTACK_LINE_READER_BUFFER_SIZE=1024",
53041        "-D_GNU_SOURCE",
53042        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
53043        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
53044        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
53045        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
53046        "-D__STDC_CONSTANT_MACROS",
53047        "-D__STDC_FORMAT_MACROS",
53048        "-fdata-sections",
53049        "-ffunction-sections",
53050        "-fno-asynchronous-unwind-tables",
53051        "-fno-unwind-tables",
53052        "-fstack-protector",
53053        "-fvisibility-inlines-hidden",
53054        "-fvisibility=hidden",
53055        "-g1",
53056    ],
53057    local_include_dirs: [
53058        "./",
53059        "buildtools/third_party/libc++/",
53060        "third_party/cpu_features/src/include/",
53061        "third_party/cpu_features/src/ndk_compat/",
53062        "third_party/libc++/src/include",
53063        "third_party/libc++abi/src/include",
53064    ],
53065    cpp_std: "c++20",
53066    ldflags: [
53067        "-Wl,--as-needed",
53068        "-Wl,--gc-sections",
53069        "-Wl,--icf=all",
53070    ],
53071    target: {
53072        android_arm: {
53073            cflags: [
53074                "-D_FORTIFY_SOURCE=2",
53075            ],
53076        },
53077        android_arm64: {
53078            cflags: [
53079                "-D_FORTIFY_SOURCE=2",
53080                "-O2",
53081                "-mno-outline",
53082            ],
53083        },
53084        android_x86: {
53085            cflags: [
53086                "-D_FORTIFY_SOURCE=2",
53087                "-msse3",
53088            ],
53089        },
53090        android_x86_64: {
53091            cflags: [
53092                "-D_FORTIFY_SOURCE=2",
53093                "-msse3",
53094            ],
53095        },
53096    },
53097}
53098
53099// GN: //third_party/cpu_features:ndk_compat__testing
53100cc_library_static {
53101    name: "cronet_aml_third_party_cpu_features_ndk_compat__testing",
53102    srcs: [
53103        "third_party/cpu_features/src/ndk_compat/cpu-features.c",
53104    ],
53105    defaults: [
53106        "cronet_aml_cc_defaults",
53107    ],
53108    cflags: [
53109        "-DANDROID",
53110        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
53111        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
53112        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
53113        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
53114        "-DHAVE_STRONG_GETAUXVAL",
53115        "-DHAVE_SYS_UIO_H",
53116        "-DNDEBUG",
53117        "-DNO_UNWIND_TABLES",
53118        "-DNVALGRIND",
53119        "-DOFFICIAL_BUILD",
53120        "-DSTACK_LINE_READER_BUFFER_SIZE=1024",
53121        "-D_GNU_SOURCE",
53122        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
53123        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
53124        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
53125        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
53126        "-D__STDC_CONSTANT_MACROS",
53127        "-D__STDC_FORMAT_MACROS",
53128        "-fdata-sections",
53129        "-ffunction-sections",
53130        "-fno-asynchronous-unwind-tables",
53131        "-fno-unwind-tables",
53132        "-fstack-protector",
53133        "-fvisibility-inlines-hidden",
53134        "-fvisibility=hidden",
53135        "-g1",
53136    ],
53137    local_include_dirs: [
53138        "./",
53139        "buildtools/third_party/libc++/",
53140        "third_party/cpu_features/src/include/",
53141        "third_party/cpu_features/src/ndk_compat/",
53142        "third_party/libc++/src/include",
53143        "third_party/libc++abi/src/include",
53144    ],
53145    cpp_std: "c++20",
53146    ldflags: [
53147        "-Wl,--as-needed",
53148        "-Wl,--gc-sections",
53149        "-Wl,--icf=all",
53150    ],
53151    target: {
53152        android_arm: {
53153            cflags: [
53154                "-D_FORTIFY_SOURCE=2",
53155            ],
53156        },
53157        android_arm64: {
53158            cflags: [
53159                "-D_FORTIFY_SOURCE=2",
53160                "-O2",
53161                "-mno-outline",
53162            ],
53163        },
53164        android_x86: {
53165            cflags: [
53166                "-D_FORTIFY_SOURCE=2",
53167                "-msse3",
53168            ],
53169        },
53170        android_x86_64: {
53171            cflags: [
53172                "-D_FORTIFY_SOURCE=2",
53173                "-msse3",
53174            ],
53175        },
53176    },
53177}
53178
53179// GN: //third_party/google_benchmark:google_benchmark__testing
53180cc_library_static {
53181    name: "cronet_aml_third_party_google_benchmark_google_benchmark__testing",
53182    srcs: [
53183        "third_party/google_benchmark/src/src/benchmark.cc",
53184        "third_party/google_benchmark/src/src/benchmark_api_internal.cc",
53185        "third_party/google_benchmark/src/src/benchmark_name.cc",
53186        "third_party/google_benchmark/src/src/benchmark_register.cc",
53187        "third_party/google_benchmark/src/src/benchmark_runner.cc",
53188        "third_party/google_benchmark/src/src/check.cc",
53189        "third_party/google_benchmark/src/src/colorprint.cc",
53190        "third_party/google_benchmark/src/src/commandlineflags.cc",
53191        "third_party/google_benchmark/src/src/complexity.cc",
53192        "third_party/google_benchmark/src/src/console_reporter.cc",
53193        "third_party/google_benchmark/src/src/counter.cc",
53194        "third_party/google_benchmark/src/src/csv_reporter.cc",
53195        "third_party/google_benchmark/src/src/json_reporter.cc",
53196        "third_party/google_benchmark/src/src/perf_counters.cc",
53197        "third_party/google_benchmark/src/src/reporter.cc",
53198        "third_party/google_benchmark/src/src/statistics.cc",
53199        "third_party/google_benchmark/src/src/string_util.cc",
53200        "third_party/google_benchmark/src/src/sysinfo.cc",
53201        "third_party/google_benchmark/src/src/timers.cc",
53202    ],
53203    defaults: [
53204        "cronet_aml_cc_defaults",
53205    ],
53206    cflags: [
53207        "-DANDROID",
53208        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
53209        "-DBENCHMARK_STATIC_DEFINE",
53210        "-DBENCHMARK_VERSION=\"1.8.3\"",
53211        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
53212        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
53213        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
53214        "-DHAVE_STD_REGEX=1",
53215        "-DHAVE_SYS_UIO_H",
53216        "-DNDEBUG",
53217        "-DNO_UNWIND_TABLES",
53218        "-DNVALGRIND",
53219        "-DOFFICIAL_BUILD",
53220        "-D_GNU_SOURCE",
53221        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
53222        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
53223        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
53224        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
53225        "-Dbenchmark_EXPORTS=1",
53226        "-fdata-sections",
53227        "-ffunction-sections",
53228        "-fno-asynchronous-unwind-tables",
53229        "-fno-unwind-tables",
53230        "-fstack-protector",
53231        "-fvisibility-inlines-hidden",
53232        "-fvisibility=hidden",
53233        "-g1",
53234    ],
53235    local_include_dirs: [
53236        "./",
53237        "buildtools/third_party/libc++/",
53238        "third_party/google_benchmark/src/include/",
53239        "third_party/libc++/src/include",
53240        "third_party/libc++abi/src/include",
53241    ],
53242    cpp_std: "c++20",
53243    ldflags: [
53244        "-Wl,--as-needed",
53245        "-Wl,--gc-sections",
53246        "-Wl,--icf=all",
53247    ],
53248    target: {
53249        android_arm64: {
53250            cflags: [
53251                "-O2",
53252                "-mno-outline",
53253            ],
53254        },
53255        android_x86: {
53256            cflags: [
53257                "-msse3",
53258            ],
53259        },
53260        android_x86_64: {
53261            cflags: [
53262                "-msse3",
53263            ],
53264        },
53265    },
53266}
53267
53268// GN: //third_party/googletest:gmock__testing
53269cc_library_static {
53270    name: "cronet_aml_third_party_googletest_gmock__testing",
53271    srcs: [
53272        "third_party/googletest/src/googlemock/src/gmock-cardinalities.cc",
53273        "third_party/googletest/src/googlemock/src/gmock-internal-utils.cc",
53274        "third_party/googletest/src/googlemock/src/gmock-matchers.cc",
53275        "third_party/googletest/src/googlemock/src/gmock-spec-builders.cc",
53276        "third_party/googletest/src/googlemock/src/gmock.cc",
53277    ],
53278    shared_libs: [
53279        "libandroid",
53280        "liblog",
53281    ],
53282    generated_headers: [
53283        "cronet_aml_base_allocator_buildflags__testing",
53284        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
53285        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
53286        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
53287        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
53288        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
53289        "cronet_aml_base_anchor_functions_buildflags__testing",
53290        "cronet_aml_base_build_date__testing",
53291        "cronet_aml_base_cfi_buildflags__testing",
53292        "cronet_aml_base_check_version_internal_action__testing",
53293        "cronet_aml_base_clang_profiling_buildflags__testing",
53294        "cronet_aml_base_debugging_buildflags__testing",
53295        "cronet_aml_base_feature_list_buildflags__testing",
53296        "cronet_aml_base_fuzzing_buildflags__testing",
53297        "cronet_aml_base_ios_cronet_buildflags__testing",
53298        "cronet_aml_base_logging_buildflags__testing",
53299        "cronet_aml_base_message_pump_buildflags__testing",
53300        "cronet_aml_base_orderfile_buildflags__testing",
53301        "cronet_aml_base_power_monitor_buildflags__testing",
53302        "cronet_aml_base_profiler_buildflags__testing",
53303        "cronet_aml_base_protected_memory_buildflags__testing",
53304        "cronet_aml_base_rust_buildflags__testing",
53305        "cronet_aml_base_sanitizer_buildflags__testing",
53306        "cronet_aml_base_synchronization_buildflags__testing",
53307        "cronet_aml_base_tracing_buildflags__testing",
53308        "cronet_aml_build_blink_buildflags__testing",
53309        "cronet_aml_build_branding_buildflags__testing",
53310        "cronet_aml_build_chromecast_buildflags__testing",
53311        "cronet_aml_build_chromeos_buildflags__testing",
53312        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
53313        "cronet_aml_build_ios_buildflags__testing",
53314    ],
53315    export_generated_headers: [
53316        "cronet_aml_base_allocator_buildflags__testing",
53317        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
53318        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
53319        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
53320        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
53321        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
53322        "cronet_aml_base_anchor_functions_buildflags__testing",
53323        "cronet_aml_base_build_date__testing",
53324        "cronet_aml_base_cfi_buildflags__testing",
53325        "cronet_aml_base_check_version_internal_action__testing",
53326        "cronet_aml_base_clang_profiling_buildflags__testing",
53327        "cronet_aml_base_debugging_buildflags__testing",
53328        "cronet_aml_base_feature_list_buildflags__testing",
53329        "cronet_aml_base_fuzzing_buildflags__testing",
53330        "cronet_aml_base_ios_cronet_buildflags__testing",
53331        "cronet_aml_base_logging_buildflags__testing",
53332        "cronet_aml_base_message_pump_buildflags__testing",
53333        "cronet_aml_base_orderfile_buildflags__testing",
53334        "cronet_aml_base_power_monitor_buildflags__testing",
53335        "cronet_aml_base_profiler_buildflags__testing",
53336        "cronet_aml_base_protected_memory_buildflags__testing",
53337        "cronet_aml_base_rust_buildflags__testing",
53338        "cronet_aml_base_sanitizer_buildflags__testing",
53339        "cronet_aml_base_synchronization_buildflags__testing",
53340        "cronet_aml_base_tracing_buildflags__testing",
53341        "cronet_aml_build_blink_buildflags__testing",
53342        "cronet_aml_build_branding_buildflags__testing",
53343        "cronet_aml_build_chromecast_buildflags__testing",
53344        "cronet_aml_build_chromeos_buildflags__testing",
53345        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
53346        "cronet_aml_build_ios_buildflags__testing",
53347    ],
53348    defaults: [
53349        "cronet_aml_cc_defaults",
53350    ],
53351    cflags: [
53352        "-DABSL_FLAGS_STRIP_NAMES=0",
53353        "-DANDROID",
53354        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
53355        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
53356        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
53357        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
53358        "-DGTEST_API_=",
53359        "-DGTEST_HAS_ABSL",
53360        "-DGTEST_HAS_POSIX_RE=0",
53361        "-DGTEST_HAS_TR1_TUPLE=0",
53362        "-DGTEST_LANG_CXX11=1",
53363        "-DGTEST_NO_ABSL_FLAGS",
53364        "-DHAVE_SYS_UIO_H",
53365        "-DNDEBUG",
53366        "-DNO_UNWIND_TABLES",
53367        "-DNVALGRIND",
53368        "-DOFFICIAL_BUILD",
53369        "-D_GNU_SOURCE",
53370        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
53371        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
53372        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
53373        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
53374        "-D__STDC_CONSTANT_MACROS",
53375        "-D__STDC_FORMAT_MACROS",
53376        "-fdata-sections",
53377        "-ffunction-sections",
53378        "-fno-asynchronous-unwind-tables",
53379        "-fno-unwind-tables",
53380        "-fstack-protector",
53381        "-fvisibility-inlines-hidden",
53382        "-fvisibility=hidden",
53383        "-g1",
53384    ],
53385    local_include_dirs: [
53386        "./",
53387        "buildtools/third_party/libc++/",
53388        "third_party/abseil-cpp/",
53389        "third_party/googletest/custom/",
53390        "third_party/googletest/src/googlemock/include/",
53391        "third_party/googletest/src/googletest/include/",
53392        "third_party/libc++/src/include",
53393        "third_party/libc++abi/src/include",
53394        "third_party/re2/src/",
53395    ],
53396    cpp_std: "c++20",
53397    ldflags: [
53398        "-Wl,--as-needed",
53399        "-Wl,--gc-sections",
53400        "-Wl,--icf=all",
53401        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
53402        "-Wl,-wrap,asprintf",
53403        "-Wl,-wrap,calloc",
53404        "-Wl,-wrap,free",
53405        "-Wl,-wrap,getcwd",
53406        "-Wl,-wrap,malloc",
53407        "-Wl,-wrap,malloc_usable_size",
53408        "-Wl,-wrap,memalign",
53409        "-Wl,-wrap,posix_memalign",
53410        "-Wl,-wrap,pvalloc",
53411        "-Wl,-wrap,realloc",
53412        "-Wl,-wrap,realpath",
53413        "-Wl,-wrap,strdup",
53414        "-Wl,-wrap,strndup",
53415        "-Wl,-wrap,valloc",
53416        "-Wl,-wrap,vasprintf",
53417    ],
53418    target: {
53419        android_arm: {
53420            cflags: [
53421                "-D_FORTIFY_SOURCE=2",
53422            ],
53423        },
53424        android_arm64: {
53425            cflags: [
53426                "-D_FORTIFY_SOURCE=2",
53427                "-O2",
53428                "-mno-outline",
53429            ],
53430        },
53431        android_x86: {
53432            cflags: [
53433                "-D_FORTIFY_SOURCE=2",
53434                "-msse3",
53435            ],
53436        },
53437        android_x86_64: {
53438            cflags: [
53439                "-D_FORTIFY_SOURCE=2",
53440                "-msse3",
53441            ],
53442        },
53443    },
53444}
53445
53446// GN: //third_party/googletest:gtest__testing
53447cc_library_static {
53448    name: "cronet_aml_third_party_googletest_gtest__testing",
53449    srcs: [
53450        "third_party/googletest/custom/gtest/internal/custom/chrome_custom_temp_dir.cc",
53451        "third_party/googletest/custom/gtest/internal/custom/gtest_port_wrapper.cc",
53452        "third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc",
53453        "third_party/googletest/src/googletest/src/gtest-assertion-result.cc",
53454        "third_party/googletest/src/googletest/src/gtest-death-test.cc",
53455        "third_party/googletest/src/googletest/src/gtest-filepath.cc",
53456        "third_party/googletest/src/googletest/src/gtest-matchers.cc",
53457        "third_party/googletest/src/googletest/src/gtest-printers.cc",
53458        "third_party/googletest/src/googletest/src/gtest-test-part.cc",
53459        "third_party/googletest/src/googletest/src/gtest-typed-test.cc",
53460        "third_party/googletest/src/googletest/src/gtest.cc",
53461    ],
53462    shared_libs: [
53463        "libandroid",
53464        "liblog",
53465    ],
53466    generated_headers: [
53467        "cronet_aml_base_allocator_buildflags__testing",
53468        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
53469        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
53470        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
53471        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
53472        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
53473        "cronet_aml_base_anchor_functions_buildflags__testing",
53474        "cronet_aml_base_build_date__testing",
53475        "cronet_aml_base_cfi_buildflags__testing",
53476        "cronet_aml_base_check_version_internal_action__testing",
53477        "cronet_aml_base_clang_profiling_buildflags__testing",
53478        "cronet_aml_base_debugging_buildflags__testing",
53479        "cronet_aml_base_feature_list_buildflags__testing",
53480        "cronet_aml_base_fuzzing_buildflags__testing",
53481        "cronet_aml_base_ios_cronet_buildflags__testing",
53482        "cronet_aml_base_logging_buildflags__testing",
53483        "cronet_aml_base_message_pump_buildflags__testing",
53484        "cronet_aml_base_orderfile_buildflags__testing",
53485        "cronet_aml_base_power_monitor_buildflags__testing",
53486        "cronet_aml_base_profiler_buildflags__testing",
53487        "cronet_aml_base_protected_memory_buildflags__testing",
53488        "cronet_aml_base_rust_buildflags__testing",
53489        "cronet_aml_base_sanitizer_buildflags__testing",
53490        "cronet_aml_base_synchronization_buildflags__testing",
53491        "cronet_aml_base_tracing_buildflags__testing",
53492        "cronet_aml_build_blink_buildflags__testing",
53493        "cronet_aml_build_branding_buildflags__testing",
53494        "cronet_aml_build_chromecast_buildflags__testing",
53495        "cronet_aml_build_chromeos_buildflags__testing",
53496        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
53497        "cronet_aml_build_ios_buildflags__testing",
53498    ],
53499    export_generated_headers: [
53500        "cronet_aml_base_allocator_buildflags__testing",
53501        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
53502        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
53503        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
53504        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
53505        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
53506        "cronet_aml_base_anchor_functions_buildflags__testing",
53507        "cronet_aml_base_build_date__testing",
53508        "cronet_aml_base_cfi_buildflags__testing",
53509        "cronet_aml_base_check_version_internal_action__testing",
53510        "cronet_aml_base_clang_profiling_buildflags__testing",
53511        "cronet_aml_base_debugging_buildflags__testing",
53512        "cronet_aml_base_feature_list_buildflags__testing",
53513        "cronet_aml_base_fuzzing_buildflags__testing",
53514        "cronet_aml_base_ios_cronet_buildflags__testing",
53515        "cronet_aml_base_logging_buildflags__testing",
53516        "cronet_aml_base_message_pump_buildflags__testing",
53517        "cronet_aml_base_orderfile_buildflags__testing",
53518        "cronet_aml_base_power_monitor_buildflags__testing",
53519        "cronet_aml_base_profiler_buildflags__testing",
53520        "cronet_aml_base_protected_memory_buildflags__testing",
53521        "cronet_aml_base_rust_buildflags__testing",
53522        "cronet_aml_base_sanitizer_buildflags__testing",
53523        "cronet_aml_base_synchronization_buildflags__testing",
53524        "cronet_aml_base_tracing_buildflags__testing",
53525        "cronet_aml_build_blink_buildflags__testing",
53526        "cronet_aml_build_branding_buildflags__testing",
53527        "cronet_aml_build_chromecast_buildflags__testing",
53528        "cronet_aml_build_chromeos_buildflags__testing",
53529        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
53530        "cronet_aml_build_ios_buildflags__testing",
53531    ],
53532    defaults: [
53533        "cronet_aml_cc_defaults",
53534    ],
53535    cflags: [
53536        "-DABSL_FLAGS_STRIP_NAMES=0",
53537        "-DANDROID",
53538        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
53539        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
53540        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
53541        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
53542        "-DGTEST_API_=",
53543        "-DGTEST_HAS_ABSL",
53544        "-DGTEST_HAS_POSIX_RE=0",
53545        "-DGTEST_HAS_TR1_TUPLE=0",
53546        "-DGTEST_LANG_CXX11=1",
53547        "-DGTEST_NO_ABSL_FLAGS",
53548        "-DHAVE_SYS_UIO_H",
53549        "-DNDEBUG",
53550        "-DNO_UNWIND_TABLES",
53551        "-DNVALGRIND",
53552        "-DOFFICIAL_BUILD",
53553        "-D_GNU_SOURCE",
53554        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
53555        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
53556        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
53557        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
53558        "-fdata-sections",
53559        "-ffunction-sections",
53560        "-fno-asynchronous-unwind-tables",
53561        "-fno-unwind-tables",
53562        "-fstack-protector",
53563        "-fvisibility-inlines-hidden",
53564        "-fvisibility=hidden",
53565        "-g1",
53566    ],
53567    local_include_dirs: [
53568        "./",
53569        "base/allocator/partition_allocator/src/",
53570        "buildtools/third_party/libc++/",
53571        "third_party/abseil-cpp/",
53572        "third_party/boringssl/src/include/",
53573        "third_party/googletest/custom/",
53574        "third_party/googletest/src/googletest/",
53575        "third_party/googletest/src/googletest/include/",
53576        "third_party/libc++/src/include",
53577        "third_party/libc++abi/src/include",
53578        "third_party/re2/src/",
53579    ],
53580    cpp_std: "c++20",
53581    ldflags: [
53582        "-Wl,--as-needed",
53583        "-Wl,--gc-sections",
53584        "-Wl,--icf=all",
53585        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
53586        "-Wl,-wrap,asprintf",
53587        "-Wl,-wrap,calloc",
53588        "-Wl,-wrap,free",
53589        "-Wl,-wrap,getcwd",
53590        "-Wl,-wrap,malloc",
53591        "-Wl,-wrap,malloc_usable_size",
53592        "-Wl,-wrap,memalign",
53593        "-Wl,-wrap,posix_memalign",
53594        "-Wl,-wrap,pvalloc",
53595        "-Wl,-wrap,realloc",
53596        "-Wl,-wrap,realpath",
53597        "-Wl,-wrap,strdup",
53598        "-Wl,-wrap,strndup",
53599        "-Wl,-wrap,valloc",
53600        "-Wl,-wrap,vasprintf",
53601    ],
53602    target: {
53603        android_arm64: {
53604            cflags: [
53605                "-O2",
53606                "-mno-outline",
53607            ],
53608        },
53609        android_x86: {
53610            cflags: [
53611                "-msse3",
53612            ],
53613        },
53614        android_x86_64: {
53615            cflags: [
53616                "-msse3",
53617            ],
53618        },
53619    },
53620}
53621
53622// GN: //third_party/icu:icui18n
53623cc_library_static {
53624    name: "cronet_aml_third_party_icu_icui18n",
53625    srcs: [
53626        "third_party/icu/source/i18n/alphaindex.cpp",
53627        "third_party/icu/source/i18n/anytrans.cpp",
53628        "third_party/icu/source/i18n/astro.cpp",
53629        "third_party/icu/source/i18n/basictz.cpp",
53630        "third_party/icu/source/i18n/bocsu.cpp",
53631        "third_party/icu/source/i18n/brktrans.cpp",
53632        "third_party/icu/source/i18n/buddhcal.cpp",
53633        "third_party/icu/source/i18n/calendar.cpp",
53634        "third_party/icu/source/i18n/casetrn.cpp",
53635        "third_party/icu/source/i18n/cecal.cpp",
53636        "third_party/icu/source/i18n/chnsecal.cpp",
53637        "third_party/icu/source/i18n/choicfmt.cpp",
53638        "third_party/icu/source/i18n/coleitr.cpp",
53639        "third_party/icu/source/i18n/coll.cpp",
53640        "third_party/icu/source/i18n/collation.cpp",
53641        "third_party/icu/source/i18n/collationbuilder.cpp",
53642        "third_party/icu/source/i18n/collationcompare.cpp",
53643        "third_party/icu/source/i18n/collationdata.cpp",
53644        "third_party/icu/source/i18n/collationdatabuilder.cpp",
53645        "third_party/icu/source/i18n/collationdatareader.cpp",
53646        "third_party/icu/source/i18n/collationdatawriter.cpp",
53647        "third_party/icu/source/i18n/collationfastlatin.cpp",
53648        "third_party/icu/source/i18n/collationfastlatinbuilder.cpp",
53649        "third_party/icu/source/i18n/collationfcd.cpp",
53650        "third_party/icu/source/i18n/collationiterator.cpp",
53651        "third_party/icu/source/i18n/collationkeys.cpp",
53652        "third_party/icu/source/i18n/collationroot.cpp",
53653        "third_party/icu/source/i18n/collationrootelements.cpp",
53654        "third_party/icu/source/i18n/collationruleparser.cpp",
53655        "third_party/icu/source/i18n/collationsets.cpp",
53656        "third_party/icu/source/i18n/collationsettings.cpp",
53657        "third_party/icu/source/i18n/collationtailoring.cpp",
53658        "third_party/icu/source/i18n/collationweights.cpp",
53659        "third_party/icu/source/i18n/compactdecimalformat.cpp",
53660        "third_party/icu/source/i18n/coptccal.cpp",
53661        "third_party/icu/source/i18n/cpdtrans.cpp",
53662        "third_party/icu/source/i18n/csdetect.cpp",
53663        "third_party/icu/source/i18n/csmatch.cpp",
53664        "third_party/icu/source/i18n/csr2022.cpp",
53665        "third_party/icu/source/i18n/csrecog.cpp",
53666        "third_party/icu/source/i18n/csrmbcs.cpp",
53667        "third_party/icu/source/i18n/csrsbcs.cpp",
53668        "third_party/icu/source/i18n/csrucode.cpp",
53669        "third_party/icu/source/i18n/csrutf8.cpp",
53670        "third_party/icu/source/i18n/curramt.cpp",
53671        "third_party/icu/source/i18n/currfmt.cpp",
53672        "third_party/icu/source/i18n/currpinf.cpp",
53673        "third_party/icu/source/i18n/currunit.cpp",
53674        "third_party/icu/source/i18n/dangical.cpp",
53675        "third_party/icu/source/i18n/datefmt.cpp",
53676        "third_party/icu/source/i18n/dayperiodrules.cpp",
53677        "third_party/icu/source/i18n/dcfmtsym.cpp",
53678        "third_party/icu/source/i18n/decContext.cpp",
53679        "third_party/icu/source/i18n/decNumber.cpp",
53680        "third_party/icu/source/i18n/decimfmt.cpp",
53681        "third_party/icu/source/i18n/displayoptions.cpp",
53682        "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
53683        "third_party/icu/source/i18n/double-conversion-bignum.cpp",
53684        "third_party/icu/source/i18n/double-conversion-cached-powers.cpp",
53685        "third_party/icu/source/i18n/double-conversion-double-to-string.cpp",
53686        "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp",
53687        "third_party/icu/source/i18n/double-conversion-string-to-double.cpp",
53688        "third_party/icu/source/i18n/double-conversion-strtod.cpp",
53689        "third_party/icu/source/i18n/dtfmtsym.cpp",
53690        "third_party/icu/source/i18n/dtitvfmt.cpp",
53691        "third_party/icu/source/i18n/dtitvinf.cpp",
53692        "third_party/icu/source/i18n/dtptngen.cpp",
53693        "third_party/icu/source/i18n/dtrule.cpp",
53694        "third_party/icu/source/i18n/erarules.cpp",
53695        "third_party/icu/source/i18n/esctrn.cpp",
53696        "third_party/icu/source/i18n/ethpccal.cpp",
53697        "third_party/icu/source/i18n/fmtable.cpp",
53698        "third_party/icu/source/i18n/fmtable_cnv.cpp",
53699        "third_party/icu/source/i18n/format.cpp",
53700        "third_party/icu/source/i18n/formatted_string_builder.cpp",
53701        "third_party/icu/source/i18n/formattedval_iterimpl.cpp",
53702        "third_party/icu/source/i18n/formattedval_sbimpl.cpp",
53703        "third_party/icu/source/i18n/formattedvalue.cpp",
53704        "third_party/icu/source/i18n/fphdlimp.cpp",
53705        "third_party/icu/source/i18n/fpositer.cpp",
53706        "third_party/icu/source/i18n/funcrepl.cpp",
53707        "third_party/icu/source/i18n/gender.cpp",
53708        "third_party/icu/source/i18n/gregocal.cpp",
53709        "third_party/icu/source/i18n/gregoimp.cpp",
53710        "third_party/icu/source/i18n/hebrwcal.cpp",
53711        "third_party/icu/source/i18n/indiancal.cpp",
53712        "third_party/icu/source/i18n/inputext.cpp",
53713        "third_party/icu/source/i18n/islamcal.cpp",
53714        "third_party/icu/source/i18n/iso8601cal.cpp",
53715        "third_party/icu/source/i18n/japancal.cpp",
53716        "third_party/icu/source/i18n/listformatter.cpp",
53717        "third_party/icu/source/i18n/measfmt.cpp",
53718        "third_party/icu/source/i18n/measunit.cpp",
53719        "third_party/icu/source/i18n/measunit_extra.cpp",
53720        "third_party/icu/source/i18n/measure.cpp",
53721        "third_party/icu/source/i18n/msgfmt.cpp",
53722        "third_party/icu/source/i18n/name2uni.cpp",
53723        "third_party/icu/source/i18n/nfrs.cpp",
53724        "third_party/icu/source/i18n/nfrule.cpp",
53725        "third_party/icu/source/i18n/nfsubs.cpp",
53726        "third_party/icu/source/i18n/nortrans.cpp",
53727        "third_party/icu/source/i18n/nultrans.cpp",
53728        "third_party/icu/source/i18n/number_affixutils.cpp",
53729        "third_party/icu/source/i18n/number_asformat.cpp",
53730        "third_party/icu/source/i18n/number_capi.cpp",
53731        "third_party/icu/source/i18n/number_compact.cpp",
53732        "third_party/icu/source/i18n/number_currencysymbols.cpp",
53733        "third_party/icu/source/i18n/number_decimalquantity.cpp",
53734        "third_party/icu/source/i18n/number_decimfmtprops.cpp",
53735        "third_party/icu/source/i18n/number_fluent.cpp",
53736        "third_party/icu/source/i18n/number_formatimpl.cpp",
53737        "third_party/icu/source/i18n/number_grouping.cpp",
53738        "third_party/icu/source/i18n/number_integerwidth.cpp",
53739        "third_party/icu/source/i18n/number_longnames.cpp",
53740        "third_party/icu/source/i18n/number_mapper.cpp",
53741        "third_party/icu/source/i18n/number_modifiers.cpp",
53742        "third_party/icu/source/i18n/number_multiplier.cpp",
53743        "third_party/icu/source/i18n/number_notation.cpp",
53744        "third_party/icu/source/i18n/number_output.cpp",
53745        "third_party/icu/source/i18n/number_padding.cpp",
53746        "third_party/icu/source/i18n/number_patternmodifier.cpp",
53747        "third_party/icu/source/i18n/number_patternstring.cpp",
53748        "third_party/icu/source/i18n/number_rounding.cpp",
53749        "third_party/icu/source/i18n/number_scientific.cpp",
53750        "third_party/icu/source/i18n/number_simple.cpp",
53751        "third_party/icu/source/i18n/number_skeletons.cpp",
53752        "third_party/icu/source/i18n/number_symbolswrapper.cpp",
53753        "third_party/icu/source/i18n/number_usageprefs.cpp",
53754        "third_party/icu/source/i18n/number_utils.cpp",
53755        "third_party/icu/source/i18n/numfmt.cpp",
53756        "third_party/icu/source/i18n/numparse_affixes.cpp",
53757        "third_party/icu/source/i18n/numparse_compositions.cpp",
53758        "third_party/icu/source/i18n/numparse_currency.cpp",
53759        "third_party/icu/source/i18n/numparse_decimal.cpp",
53760        "third_party/icu/source/i18n/numparse_impl.cpp",
53761        "third_party/icu/source/i18n/numparse_parsednumber.cpp",
53762        "third_party/icu/source/i18n/numparse_scientific.cpp",
53763        "third_party/icu/source/i18n/numparse_symbols.cpp",
53764        "third_party/icu/source/i18n/numparse_validators.cpp",
53765        "third_party/icu/source/i18n/numrange_capi.cpp",
53766        "third_party/icu/source/i18n/numrange_fluent.cpp",
53767        "third_party/icu/source/i18n/numrange_impl.cpp",
53768        "third_party/icu/source/i18n/numsys.cpp",
53769        "third_party/icu/source/i18n/olsontz.cpp",
53770        "third_party/icu/source/i18n/persncal.cpp",
53771        "third_party/icu/source/i18n/pluralranges.cpp",
53772        "third_party/icu/source/i18n/plurfmt.cpp",
53773        "third_party/icu/source/i18n/plurrule.cpp",
53774        "third_party/icu/source/i18n/quant.cpp",
53775        "third_party/icu/source/i18n/quantityformatter.cpp",
53776        "third_party/icu/source/i18n/rbnf.cpp",
53777        "third_party/icu/source/i18n/rbt.cpp",
53778        "third_party/icu/source/i18n/rbt_data.cpp",
53779        "third_party/icu/source/i18n/rbt_pars.cpp",
53780        "third_party/icu/source/i18n/rbt_rule.cpp",
53781        "third_party/icu/source/i18n/rbt_set.cpp",
53782        "third_party/icu/source/i18n/rbtz.cpp",
53783        "third_party/icu/source/i18n/regexcmp.cpp",
53784        "third_party/icu/source/i18n/regeximp.cpp",
53785        "third_party/icu/source/i18n/regexst.cpp",
53786        "third_party/icu/source/i18n/regextxt.cpp",
53787        "third_party/icu/source/i18n/region.cpp",
53788        "third_party/icu/source/i18n/reldatefmt.cpp",
53789        "third_party/icu/source/i18n/reldtfmt.cpp",
53790        "third_party/icu/source/i18n/rematch.cpp",
53791        "third_party/icu/source/i18n/remtrans.cpp",
53792        "third_party/icu/source/i18n/repattrn.cpp",
53793        "third_party/icu/source/i18n/rulebasedcollator.cpp",
53794        "third_party/icu/source/i18n/scientificnumberformatter.cpp",
53795        "third_party/icu/source/i18n/scriptset.cpp",
53796        "third_party/icu/source/i18n/search.cpp",
53797        "third_party/icu/source/i18n/selfmt.cpp",
53798        "third_party/icu/source/i18n/sharedbreakiterator.cpp",
53799        "third_party/icu/source/i18n/simpletz.cpp",
53800        "third_party/icu/source/i18n/smpdtfmt.cpp",
53801        "third_party/icu/source/i18n/smpdtfst.cpp",
53802        "third_party/icu/source/i18n/sortkey.cpp",
53803        "third_party/icu/source/i18n/standardplural.cpp",
53804        "third_party/icu/source/i18n/string_segment.cpp",
53805        "third_party/icu/source/i18n/strmatch.cpp",
53806        "third_party/icu/source/i18n/strrepl.cpp",
53807        "third_party/icu/source/i18n/stsearch.cpp",
53808        "third_party/icu/source/i18n/taiwncal.cpp",
53809        "third_party/icu/source/i18n/timezone.cpp",
53810        "third_party/icu/source/i18n/titletrn.cpp",
53811        "third_party/icu/source/i18n/tmunit.cpp",
53812        "third_party/icu/source/i18n/tmutamt.cpp",
53813        "third_party/icu/source/i18n/tmutfmt.cpp",
53814        "third_party/icu/source/i18n/tolowtrn.cpp",
53815        "third_party/icu/source/i18n/toupptrn.cpp",
53816        "third_party/icu/source/i18n/translit.cpp",
53817        "third_party/icu/source/i18n/transreg.cpp",
53818        "third_party/icu/source/i18n/tridpars.cpp",
53819        "third_party/icu/source/i18n/tzfmt.cpp",
53820        "third_party/icu/source/i18n/tzgnames.cpp",
53821        "third_party/icu/source/i18n/tznames.cpp",
53822        "third_party/icu/source/i18n/tznames_impl.cpp",
53823        "third_party/icu/source/i18n/tzrule.cpp",
53824        "third_party/icu/source/i18n/tztrans.cpp",
53825        "third_party/icu/source/i18n/ucal.cpp",
53826        "third_party/icu/source/i18n/ucln_in.cpp",
53827        "third_party/icu/source/i18n/ucol.cpp",
53828        "third_party/icu/source/i18n/ucol_res.cpp",
53829        "third_party/icu/source/i18n/ucol_sit.cpp",
53830        "third_party/icu/source/i18n/ucoleitr.cpp",
53831        "third_party/icu/source/i18n/ucsdet.cpp",
53832        "third_party/icu/source/i18n/udat.cpp",
53833        "third_party/icu/source/i18n/udateintervalformat.cpp",
53834        "third_party/icu/source/i18n/udatpg.cpp",
53835        "third_party/icu/source/i18n/ufieldpositer.cpp",
53836        "third_party/icu/source/i18n/uitercollationiterator.cpp",
53837        "third_party/icu/source/i18n/ulistformatter.cpp",
53838        "third_party/icu/source/i18n/ulocdata.cpp",
53839        "third_party/icu/source/i18n/umsg.cpp",
53840        "third_party/icu/source/i18n/unesctrn.cpp",
53841        "third_party/icu/source/i18n/uni2name.cpp",
53842        "third_party/icu/source/i18n/units_complexconverter.cpp",
53843        "third_party/icu/source/i18n/units_converter.cpp",
53844        "third_party/icu/source/i18n/units_data.cpp",
53845        "third_party/icu/source/i18n/units_router.cpp",
53846        "third_party/icu/source/i18n/unum.cpp",
53847        "third_party/icu/source/i18n/unumsys.cpp",
53848        "third_party/icu/source/i18n/upluralrules.cpp",
53849        "third_party/icu/source/i18n/uregex.cpp",
53850        "third_party/icu/source/i18n/uregexc.cpp",
53851        "third_party/icu/source/i18n/uregion.cpp",
53852        "third_party/icu/source/i18n/usearch.cpp",
53853        "third_party/icu/source/i18n/uspoof.cpp",
53854        "third_party/icu/source/i18n/uspoof_build.cpp",
53855        "third_party/icu/source/i18n/uspoof_conf.cpp",
53856        "third_party/icu/source/i18n/uspoof_impl.cpp",
53857        "third_party/icu/source/i18n/utf16collationiterator.cpp",
53858        "third_party/icu/source/i18n/utf8collationiterator.cpp",
53859        "third_party/icu/source/i18n/utmscale.cpp",
53860        "third_party/icu/source/i18n/utrans.cpp",
53861        "third_party/icu/source/i18n/vtzone.cpp",
53862        "third_party/icu/source/i18n/vzone.cpp",
53863        "third_party/icu/source/i18n/windtfmt.cpp",
53864        "third_party/icu/source/i18n/winnmfmt.cpp",
53865        "third_party/icu/source/i18n/wintzimpl.cpp",
53866        "third_party/icu/source/i18n/zonemeta.cpp",
53867        "third_party/icu/source/i18n/zrule.cpp",
53868        "third_party/icu/source/i18n/ztrans.cpp",
53869    ],
53870    defaults: [
53871        "cronet_aml_cc_defaults",
53872    ],
53873    cflags: [
53874        "-DANDROID",
53875        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
53876        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
53877        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
53878        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
53879        "-DHAVE_DLOPEN=0",
53880        "-DHAVE_SYS_UIO_H",
53881        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
53882        "-DNDEBUG",
53883        "-DNO_UNWIND_TABLES",
53884        "-DNVALGRIND",
53885        "-DOFFICIAL_BUILD",
53886        "-DUCONFIG_ONLY_HTML_CONVERSION=1",
53887        "-DUCONFIG_USE_ML_PHRASE_BREAKING=1",
53888        "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
53889        "-DUSE_CHROMIUM_ICU=1",
53890        "-DU_CHARSET_IS_UTF8=1",
53891        "-DU_ENABLE_DYLOAD=0",
53892        "-DU_ENABLE_RESOURCE_TRACING=0",
53893        "-DU_ENABLE_TRACING=1",
53894        "-DU_I18N_IMPLEMENTATION",
53895        "-DU_STATIC_IMPLEMENTATION",
53896        "-DU_USING_ICU_NAMESPACE=0",
53897        "-D_GNU_SOURCE",
53898        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
53899        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
53900        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
53901        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
53902        "-fdata-sections",
53903        "-ffunction-sections",
53904        "-fno-asynchronous-unwind-tables",
53905        "-fno-unwind-tables",
53906        "-fstack-protector",
53907        "-fvisibility-inlines-hidden",
53908        "-fvisibility=hidden",
53909        "-g1",
53910    ],
53911    local_include_dirs: [
53912        "./",
53913        "buildtools/third_party/libc++/",
53914        "third_party/icu/source/common/",
53915        "third_party/icu/source/i18n/",
53916        "third_party/libc++/src/include",
53917        "third_party/libc++abi/src/include",
53918    ],
53919    cpp_std: "c++20",
53920    ldflags: [
53921        "-Wl,--as-needed",
53922        "-Wl,--gc-sections",
53923        "-Wl,--icf=all",
53924    ],
53925    rtti: true,
53926    target: {
53927        android_arm64: {
53928            cflags: [
53929                "-O2",
53930                "-mno-outline",
53931            ],
53932        },
53933        android_x86: {
53934            cflags: [
53935                "-msse3",
53936            ],
53937        },
53938        android_x86_64: {
53939            cflags: [
53940                "-msse3",
53941            ],
53942        },
53943    },
53944}
53945
53946// GN: //third_party/icu:icui18n__testing
53947cc_library_static {
53948    name: "cronet_aml_third_party_icu_icui18n__testing",
53949    srcs: [
53950        "third_party/icu/source/i18n/alphaindex.cpp",
53951        "third_party/icu/source/i18n/anytrans.cpp",
53952        "third_party/icu/source/i18n/astro.cpp",
53953        "third_party/icu/source/i18n/basictz.cpp",
53954        "third_party/icu/source/i18n/bocsu.cpp",
53955        "third_party/icu/source/i18n/brktrans.cpp",
53956        "third_party/icu/source/i18n/buddhcal.cpp",
53957        "third_party/icu/source/i18n/calendar.cpp",
53958        "third_party/icu/source/i18n/casetrn.cpp",
53959        "third_party/icu/source/i18n/cecal.cpp",
53960        "third_party/icu/source/i18n/chnsecal.cpp",
53961        "third_party/icu/source/i18n/choicfmt.cpp",
53962        "third_party/icu/source/i18n/coleitr.cpp",
53963        "third_party/icu/source/i18n/coll.cpp",
53964        "third_party/icu/source/i18n/collation.cpp",
53965        "third_party/icu/source/i18n/collationbuilder.cpp",
53966        "third_party/icu/source/i18n/collationcompare.cpp",
53967        "third_party/icu/source/i18n/collationdata.cpp",
53968        "third_party/icu/source/i18n/collationdatabuilder.cpp",
53969        "third_party/icu/source/i18n/collationdatareader.cpp",
53970        "third_party/icu/source/i18n/collationdatawriter.cpp",
53971        "third_party/icu/source/i18n/collationfastlatin.cpp",
53972        "third_party/icu/source/i18n/collationfastlatinbuilder.cpp",
53973        "third_party/icu/source/i18n/collationfcd.cpp",
53974        "third_party/icu/source/i18n/collationiterator.cpp",
53975        "third_party/icu/source/i18n/collationkeys.cpp",
53976        "third_party/icu/source/i18n/collationroot.cpp",
53977        "third_party/icu/source/i18n/collationrootelements.cpp",
53978        "third_party/icu/source/i18n/collationruleparser.cpp",
53979        "third_party/icu/source/i18n/collationsets.cpp",
53980        "third_party/icu/source/i18n/collationsettings.cpp",
53981        "third_party/icu/source/i18n/collationtailoring.cpp",
53982        "third_party/icu/source/i18n/collationweights.cpp",
53983        "third_party/icu/source/i18n/compactdecimalformat.cpp",
53984        "third_party/icu/source/i18n/coptccal.cpp",
53985        "third_party/icu/source/i18n/cpdtrans.cpp",
53986        "third_party/icu/source/i18n/csdetect.cpp",
53987        "third_party/icu/source/i18n/csmatch.cpp",
53988        "third_party/icu/source/i18n/csr2022.cpp",
53989        "third_party/icu/source/i18n/csrecog.cpp",
53990        "third_party/icu/source/i18n/csrmbcs.cpp",
53991        "third_party/icu/source/i18n/csrsbcs.cpp",
53992        "third_party/icu/source/i18n/csrucode.cpp",
53993        "third_party/icu/source/i18n/csrutf8.cpp",
53994        "third_party/icu/source/i18n/curramt.cpp",
53995        "third_party/icu/source/i18n/currfmt.cpp",
53996        "third_party/icu/source/i18n/currpinf.cpp",
53997        "third_party/icu/source/i18n/currunit.cpp",
53998        "third_party/icu/source/i18n/dangical.cpp",
53999        "third_party/icu/source/i18n/datefmt.cpp",
54000        "third_party/icu/source/i18n/dayperiodrules.cpp",
54001        "third_party/icu/source/i18n/dcfmtsym.cpp",
54002        "third_party/icu/source/i18n/decContext.cpp",
54003        "third_party/icu/source/i18n/decNumber.cpp",
54004        "third_party/icu/source/i18n/decimfmt.cpp",
54005        "third_party/icu/source/i18n/displayoptions.cpp",
54006        "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
54007        "third_party/icu/source/i18n/double-conversion-bignum.cpp",
54008        "third_party/icu/source/i18n/double-conversion-cached-powers.cpp",
54009        "third_party/icu/source/i18n/double-conversion-double-to-string.cpp",
54010        "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp",
54011        "third_party/icu/source/i18n/double-conversion-string-to-double.cpp",
54012        "third_party/icu/source/i18n/double-conversion-strtod.cpp",
54013        "third_party/icu/source/i18n/dtfmtsym.cpp",
54014        "third_party/icu/source/i18n/dtitvfmt.cpp",
54015        "third_party/icu/source/i18n/dtitvinf.cpp",
54016        "third_party/icu/source/i18n/dtptngen.cpp",
54017        "third_party/icu/source/i18n/dtrule.cpp",
54018        "third_party/icu/source/i18n/erarules.cpp",
54019        "third_party/icu/source/i18n/esctrn.cpp",
54020        "third_party/icu/source/i18n/ethpccal.cpp",
54021        "third_party/icu/source/i18n/fmtable.cpp",
54022        "third_party/icu/source/i18n/fmtable_cnv.cpp",
54023        "third_party/icu/source/i18n/format.cpp",
54024        "third_party/icu/source/i18n/formatted_string_builder.cpp",
54025        "third_party/icu/source/i18n/formattedval_iterimpl.cpp",
54026        "third_party/icu/source/i18n/formattedval_sbimpl.cpp",
54027        "third_party/icu/source/i18n/formattedvalue.cpp",
54028        "third_party/icu/source/i18n/fphdlimp.cpp",
54029        "third_party/icu/source/i18n/fpositer.cpp",
54030        "third_party/icu/source/i18n/funcrepl.cpp",
54031        "third_party/icu/source/i18n/gender.cpp",
54032        "third_party/icu/source/i18n/gregocal.cpp",
54033        "third_party/icu/source/i18n/gregoimp.cpp",
54034        "third_party/icu/source/i18n/hebrwcal.cpp",
54035        "third_party/icu/source/i18n/indiancal.cpp",
54036        "third_party/icu/source/i18n/inputext.cpp",
54037        "third_party/icu/source/i18n/islamcal.cpp",
54038        "third_party/icu/source/i18n/iso8601cal.cpp",
54039        "third_party/icu/source/i18n/japancal.cpp",
54040        "third_party/icu/source/i18n/listformatter.cpp",
54041        "third_party/icu/source/i18n/measfmt.cpp",
54042        "third_party/icu/source/i18n/measunit.cpp",
54043        "third_party/icu/source/i18n/measunit_extra.cpp",
54044        "third_party/icu/source/i18n/measure.cpp",
54045        "third_party/icu/source/i18n/msgfmt.cpp",
54046        "third_party/icu/source/i18n/name2uni.cpp",
54047        "third_party/icu/source/i18n/nfrs.cpp",
54048        "third_party/icu/source/i18n/nfrule.cpp",
54049        "third_party/icu/source/i18n/nfsubs.cpp",
54050        "third_party/icu/source/i18n/nortrans.cpp",
54051        "third_party/icu/source/i18n/nultrans.cpp",
54052        "third_party/icu/source/i18n/number_affixutils.cpp",
54053        "third_party/icu/source/i18n/number_asformat.cpp",
54054        "third_party/icu/source/i18n/number_capi.cpp",
54055        "third_party/icu/source/i18n/number_compact.cpp",
54056        "third_party/icu/source/i18n/number_currencysymbols.cpp",
54057        "third_party/icu/source/i18n/number_decimalquantity.cpp",
54058        "third_party/icu/source/i18n/number_decimfmtprops.cpp",
54059        "third_party/icu/source/i18n/number_fluent.cpp",
54060        "third_party/icu/source/i18n/number_formatimpl.cpp",
54061        "third_party/icu/source/i18n/number_grouping.cpp",
54062        "third_party/icu/source/i18n/number_integerwidth.cpp",
54063        "third_party/icu/source/i18n/number_longnames.cpp",
54064        "third_party/icu/source/i18n/number_mapper.cpp",
54065        "third_party/icu/source/i18n/number_modifiers.cpp",
54066        "third_party/icu/source/i18n/number_multiplier.cpp",
54067        "third_party/icu/source/i18n/number_notation.cpp",
54068        "third_party/icu/source/i18n/number_output.cpp",
54069        "third_party/icu/source/i18n/number_padding.cpp",
54070        "third_party/icu/source/i18n/number_patternmodifier.cpp",
54071        "third_party/icu/source/i18n/number_patternstring.cpp",
54072        "third_party/icu/source/i18n/number_rounding.cpp",
54073        "third_party/icu/source/i18n/number_scientific.cpp",
54074        "third_party/icu/source/i18n/number_simple.cpp",
54075        "third_party/icu/source/i18n/number_skeletons.cpp",
54076        "third_party/icu/source/i18n/number_symbolswrapper.cpp",
54077        "third_party/icu/source/i18n/number_usageprefs.cpp",
54078        "third_party/icu/source/i18n/number_utils.cpp",
54079        "third_party/icu/source/i18n/numfmt.cpp",
54080        "third_party/icu/source/i18n/numparse_affixes.cpp",
54081        "third_party/icu/source/i18n/numparse_compositions.cpp",
54082        "third_party/icu/source/i18n/numparse_currency.cpp",
54083        "third_party/icu/source/i18n/numparse_decimal.cpp",
54084        "third_party/icu/source/i18n/numparse_impl.cpp",
54085        "third_party/icu/source/i18n/numparse_parsednumber.cpp",
54086        "third_party/icu/source/i18n/numparse_scientific.cpp",
54087        "third_party/icu/source/i18n/numparse_symbols.cpp",
54088        "third_party/icu/source/i18n/numparse_validators.cpp",
54089        "third_party/icu/source/i18n/numrange_capi.cpp",
54090        "third_party/icu/source/i18n/numrange_fluent.cpp",
54091        "third_party/icu/source/i18n/numrange_impl.cpp",
54092        "third_party/icu/source/i18n/numsys.cpp",
54093        "third_party/icu/source/i18n/olsontz.cpp",
54094        "third_party/icu/source/i18n/persncal.cpp",
54095        "third_party/icu/source/i18n/pluralranges.cpp",
54096        "third_party/icu/source/i18n/plurfmt.cpp",
54097        "third_party/icu/source/i18n/plurrule.cpp",
54098        "third_party/icu/source/i18n/quant.cpp",
54099        "third_party/icu/source/i18n/quantityformatter.cpp",
54100        "third_party/icu/source/i18n/rbnf.cpp",
54101        "third_party/icu/source/i18n/rbt.cpp",
54102        "third_party/icu/source/i18n/rbt_data.cpp",
54103        "third_party/icu/source/i18n/rbt_pars.cpp",
54104        "third_party/icu/source/i18n/rbt_rule.cpp",
54105        "third_party/icu/source/i18n/rbt_set.cpp",
54106        "third_party/icu/source/i18n/rbtz.cpp",
54107        "third_party/icu/source/i18n/regexcmp.cpp",
54108        "third_party/icu/source/i18n/regeximp.cpp",
54109        "third_party/icu/source/i18n/regexst.cpp",
54110        "third_party/icu/source/i18n/regextxt.cpp",
54111        "third_party/icu/source/i18n/region.cpp",
54112        "third_party/icu/source/i18n/reldatefmt.cpp",
54113        "third_party/icu/source/i18n/reldtfmt.cpp",
54114        "third_party/icu/source/i18n/rematch.cpp",
54115        "third_party/icu/source/i18n/remtrans.cpp",
54116        "third_party/icu/source/i18n/repattrn.cpp",
54117        "third_party/icu/source/i18n/rulebasedcollator.cpp",
54118        "third_party/icu/source/i18n/scientificnumberformatter.cpp",
54119        "third_party/icu/source/i18n/scriptset.cpp",
54120        "third_party/icu/source/i18n/search.cpp",
54121        "third_party/icu/source/i18n/selfmt.cpp",
54122        "third_party/icu/source/i18n/sharedbreakiterator.cpp",
54123        "third_party/icu/source/i18n/simpletz.cpp",
54124        "third_party/icu/source/i18n/smpdtfmt.cpp",
54125        "third_party/icu/source/i18n/smpdtfst.cpp",
54126        "third_party/icu/source/i18n/sortkey.cpp",
54127        "third_party/icu/source/i18n/standardplural.cpp",
54128        "third_party/icu/source/i18n/string_segment.cpp",
54129        "third_party/icu/source/i18n/strmatch.cpp",
54130        "third_party/icu/source/i18n/strrepl.cpp",
54131        "third_party/icu/source/i18n/stsearch.cpp",
54132        "third_party/icu/source/i18n/taiwncal.cpp",
54133        "third_party/icu/source/i18n/timezone.cpp",
54134        "third_party/icu/source/i18n/titletrn.cpp",
54135        "third_party/icu/source/i18n/tmunit.cpp",
54136        "third_party/icu/source/i18n/tmutamt.cpp",
54137        "third_party/icu/source/i18n/tmutfmt.cpp",
54138        "third_party/icu/source/i18n/tolowtrn.cpp",
54139        "third_party/icu/source/i18n/toupptrn.cpp",
54140        "third_party/icu/source/i18n/translit.cpp",
54141        "third_party/icu/source/i18n/transreg.cpp",
54142        "third_party/icu/source/i18n/tridpars.cpp",
54143        "third_party/icu/source/i18n/tzfmt.cpp",
54144        "third_party/icu/source/i18n/tzgnames.cpp",
54145        "third_party/icu/source/i18n/tznames.cpp",
54146        "third_party/icu/source/i18n/tznames_impl.cpp",
54147        "third_party/icu/source/i18n/tzrule.cpp",
54148        "third_party/icu/source/i18n/tztrans.cpp",
54149        "third_party/icu/source/i18n/ucal.cpp",
54150        "third_party/icu/source/i18n/ucln_in.cpp",
54151        "third_party/icu/source/i18n/ucol.cpp",
54152        "third_party/icu/source/i18n/ucol_res.cpp",
54153        "third_party/icu/source/i18n/ucol_sit.cpp",
54154        "third_party/icu/source/i18n/ucoleitr.cpp",
54155        "third_party/icu/source/i18n/ucsdet.cpp",
54156        "third_party/icu/source/i18n/udat.cpp",
54157        "third_party/icu/source/i18n/udateintervalformat.cpp",
54158        "third_party/icu/source/i18n/udatpg.cpp",
54159        "third_party/icu/source/i18n/ufieldpositer.cpp",
54160        "third_party/icu/source/i18n/uitercollationiterator.cpp",
54161        "third_party/icu/source/i18n/ulistformatter.cpp",
54162        "third_party/icu/source/i18n/ulocdata.cpp",
54163        "third_party/icu/source/i18n/umsg.cpp",
54164        "third_party/icu/source/i18n/unesctrn.cpp",
54165        "third_party/icu/source/i18n/uni2name.cpp",
54166        "third_party/icu/source/i18n/units_complexconverter.cpp",
54167        "third_party/icu/source/i18n/units_converter.cpp",
54168        "third_party/icu/source/i18n/units_data.cpp",
54169        "third_party/icu/source/i18n/units_router.cpp",
54170        "third_party/icu/source/i18n/unum.cpp",
54171        "third_party/icu/source/i18n/unumsys.cpp",
54172        "third_party/icu/source/i18n/upluralrules.cpp",
54173        "third_party/icu/source/i18n/uregex.cpp",
54174        "third_party/icu/source/i18n/uregexc.cpp",
54175        "third_party/icu/source/i18n/uregion.cpp",
54176        "third_party/icu/source/i18n/usearch.cpp",
54177        "third_party/icu/source/i18n/uspoof.cpp",
54178        "third_party/icu/source/i18n/uspoof_build.cpp",
54179        "third_party/icu/source/i18n/uspoof_conf.cpp",
54180        "third_party/icu/source/i18n/uspoof_impl.cpp",
54181        "third_party/icu/source/i18n/utf16collationiterator.cpp",
54182        "third_party/icu/source/i18n/utf8collationiterator.cpp",
54183        "third_party/icu/source/i18n/utmscale.cpp",
54184        "third_party/icu/source/i18n/utrans.cpp",
54185        "third_party/icu/source/i18n/vtzone.cpp",
54186        "third_party/icu/source/i18n/vzone.cpp",
54187        "third_party/icu/source/i18n/windtfmt.cpp",
54188        "third_party/icu/source/i18n/winnmfmt.cpp",
54189        "third_party/icu/source/i18n/wintzimpl.cpp",
54190        "third_party/icu/source/i18n/zonemeta.cpp",
54191        "third_party/icu/source/i18n/zrule.cpp",
54192        "third_party/icu/source/i18n/ztrans.cpp",
54193    ],
54194    host_supported: true,
54195    defaults: [
54196        "cronet_aml_cc_defaults",
54197    ],
54198    cflags: [
54199        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
54200        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
54201        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
54202        "-DHAVE_DLOPEN=0",
54203        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
54204        "-DNDEBUG",
54205        "-DNO_UNWIND_TABLES",
54206        "-DNVALGRIND",
54207        "-DOFFICIAL_BUILD",
54208        "-DUCONFIG_ONLY_HTML_CONVERSION=1",
54209        "-DUCONFIG_USE_ML_PHRASE_BREAKING=1",
54210        "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
54211        "-DUSE_CHROMIUM_ICU=1",
54212        "-DU_CHARSET_IS_UTF8=1",
54213        "-DU_ENABLE_DYLOAD=0",
54214        "-DU_ENABLE_RESOURCE_TRACING=0",
54215        "-DU_ENABLE_TRACING=1",
54216        "-DU_I18N_IMPLEMENTATION",
54217        "-DU_STATIC_IMPLEMENTATION",
54218        "-DU_USING_ICU_NAMESPACE=0",
54219        "-D_GNU_SOURCE",
54220        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
54221        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
54222        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
54223        "-fdata-sections",
54224        "-ffunction-sections",
54225        "-fno-asynchronous-unwind-tables",
54226        "-fno-unwind-tables",
54227        "-fstack-protector",
54228        "-fvisibility-inlines-hidden",
54229        "-fvisibility=hidden",
54230        "-g1",
54231    ],
54232    local_include_dirs: [
54233        "./",
54234        "buildtools/third_party/libc++/",
54235        "third_party/icu/source/common/",
54236        "third_party/icu/source/i18n/",
54237        "third_party/libc++/src/include",
54238        "third_party/libc++abi/src/include",
54239    ],
54240    cpp_std: "c++20",
54241    ldflags: [
54242        "-Wl,--as-needed",
54243        "-Wl,--gc-sections",
54244        "-Wl,--icf=all",
54245    ],
54246    rtti: true,
54247    target: {
54248        android_arm: {
54249            cflags: [
54250                "-DANDROID",
54251                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54252                "-DHAVE_SYS_UIO_H",
54253                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54254            ],
54255        },
54256        android_arm64: {
54257            cflags: [
54258                "-DANDROID",
54259                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54260                "-DHAVE_SYS_UIO_H",
54261                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54262                "-O2",
54263                "-mno-outline",
54264            ],
54265        },
54266        android_riscv64: {
54267            cflags: [
54268                "-DANDROID",
54269                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54270                "-DHAVE_SYS_UIO_H",
54271                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54272            ],
54273        },
54274        android_x86: {
54275            cflags: [
54276                "-DANDROID",
54277                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54278                "-DHAVE_SYS_UIO_H",
54279                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54280                "-msse3",
54281            ],
54282        },
54283        android_x86_64: {
54284            cflags: [
54285                "-DANDROID",
54286                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54287                "-DHAVE_SYS_UIO_H",
54288                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54289                "-msse3",
54290            ],
54291        },
54292        host: {
54293            cflags: [
54294                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
54295                "-DUSE_AURA=1",
54296                "-DUSE_OZONE=1",
54297                "-DUSE_UDEV",
54298                "-D_FILE_OFFSET_BITS=64",
54299                "-D_LARGEFILE64_SOURCE",
54300                "-D_LARGEFILE_SOURCE",
54301                "-O2",
54302                "-msse3",
54303            ],
54304            compile_multilib: "64",
54305        },
54306    },
54307}
54308
54309// GN: //third_party/icu:icuuc_private
54310cc_library_static {
54311    name: "cronet_aml_third_party_icu_icuuc_private",
54312    srcs: [
54313        "third_party/icu/source/common/appendable.cpp",
54314        "third_party/icu/source/common/bmpset.cpp",
54315        "third_party/icu/source/common/brkeng.cpp",
54316        "third_party/icu/source/common/brkiter.cpp",
54317        "third_party/icu/source/common/bytesinkutil.cpp",
54318        "third_party/icu/source/common/bytestream.cpp",
54319        "third_party/icu/source/common/bytestrie.cpp",
54320        "third_party/icu/source/common/bytestriebuilder.cpp",
54321        "third_party/icu/source/common/bytestrieiterator.cpp",
54322        "third_party/icu/source/common/caniter.cpp",
54323        "third_party/icu/source/common/characterproperties.cpp",
54324        "third_party/icu/source/common/chariter.cpp",
54325        "third_party/icu/source/common/charstr.cpp",
54326        "third_party/icu/source/common/cmemory.cpp",
54327        "third_party/icu/source/common/cstr.cpp",
54328        "third_party/icu/source/common/cstring.cpp",
54329        "third_party/icu/source/common/cwchar.cpp",
54330        "third_party/icu/source/common/dictbe.cpp",
54331        "third_party/icu/source/common/dictionarydata.cpp",
54332        "third_party/icu/source/common/dtintrv.cpp",
54333        "third_party/icu/source/common/edits.cpp",
54334        "third_party/icu/source/common/emojiprops.cpp",
54335        "third_party/icu/source/common/errorcode.cpp",
54336        "third_party/icu/source/common/filteredbrk.cpp",
54337        "third_party/icu/source/common/filterednormalizer2.cpp",
54338        "third_party/icu/source/common/icudataver.cpp",
54339        "third_party/icu/source/common/icuplug.cpp",
54340        "third_party/icu/source/common/loadednormalizer2impl.cpp",
54341        "third_party/icu/source/common/localebuilder.cpp",
54342        "third_party/icu/source/common/localematcher.cpp",
54343        "third_party/icu/source/common/localeprioritylist.cpp",
54344        "third_party/icu/source/common/locavailable.cpp",
54345        "third_party/icu/source/common/locbased.cpp",
54346        "third_party/icu/source/common/locdispnames.cpp",
54347        "third_party/icu/source/common/locdistance.cpp",
54348        "third_party/icu/source/common/locdspnm.cpp",
54349        "third_party/icu/source/common/locid.cpp",
54350        "third_party/icu/source/common/loclikely.cpp",
54351        "third_party/icu/source/common/loclikelysubtags.cpp",
54352        "third_party/icu/source/common/locmap.cpp",
54353        "third_party/icu/source/common/locresdata.cpp",
54354        "third_party/icu/source/common/locutil.cpp",
54355        "third_party/icu/source/common/lsr.cpp",
54356        "third_party/icu/source/common/lstmbe.cpp",
54357        "third_party/icu/source/common/messagepattern.cpp",
54358        "third_party/icu/source/common/mlbe.cpp",
54359        "third_party/icu/source/common/normalizer2.cpp",
54360        "third_party/icu/source/common/normalizer2impl.cpp",
54361        "third_party/icu/source/common/normlzr.cpp",
54362        "third_party/icu/source/common/parsepos.cpp",
54363        "third_party/icu/source/common/patternprops.cpp",
54364        "third_party/icu/source/common/pluralmap.cpp",
54365        "third_party/icu/source/common/propname.cpp",
54366        "third_party/icu/source/common/propsvec.cpp",
54367        "third_party/icu/source/common/punycode.cpp",
54368        "third_party/icu/source/common/putil.cpp",
54369        "third_party/icu/source/common/rbbi.cpp",
54370        "third_party/icu/source/common/rbbi_cache.cpp",
54371        "third_party/icu/source/common/rbbidata.cpp",
54372        "third_party/icu/source/common/rbbinode.cpp",
54373        "third_party/icu/source/common/rbbirb.cpp",
54374        "third_party/icu/source/common/rbbiscan.cpp",
54375        "third_party/icu/source/common/rbbisetb.cpp",
54376        "third_party/icu/source/common/rbbistbl.cpp",
54377        "third_party/icu/source/common/rbbitblb.cpp",
54378        "third_party/icu/source/common/resbund.cpp",
54379        "third_party/icu/source/common/resbund_cnv.cpp",
54380        "third_party/icu/source/common/resource.cpp",
54381        "third_party/icu/source/common/restrace.cpp",
54382        "third_party/icu/source/common/ruleiter.cpp",
54383        "third_party/icu/source/common/schriter.cpp",
54384        "third_party/icu/source/common/serv.cpp",
54385        "third_party/icu/source/common/servlk.cpp",
54386        "third_party/icu/source/common/servlkf.cpp",
54387        "third_party/icu/source/common/servls.cpp",
54388        "third_party/icu/source/common/servnotf.cpp",
54389        "third_party/icu/source/common/servrbf.cpp",
54390        "third_party/icu/source/common/servslkf.cpp",
54391        "third_party/icu/source/common/sharedobject.cpp",
54392        "third_party/icu/source/common/simpleformatter.cpp",
54393        "third_party/icu/source/common/static_unicode_sets.cpp",
54394        "third_party/icu/source/common/stringpiece.cpp",
54395        "third_party/icu/source/common/stringtriebuilder.cpp",
54396        "third_party/icu/source/common/uarrsort.cpp",
54397        "third_party/icu/source/common/ubidi.cpp",
54398        "third_party/icu/source/common/ubidi_props.cpp",
54399        "third_party/icu/source/common/ubidiln.cpp",
54400        "third_party/icu/source/common/ubiditransform.cpp",
54401        "third_party/icu/source/common/ubidiwrt.cpp",
54402        "third_party/icu/source/common/ubrk.cpp",
54403        "third_party/icu/source/common/ucase.cpp",
54404        "third_party/icu/source/common/ucasemap.cpp",
54405        "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp",
54406        "third_party/icu/source/common/ucat.cpp",
54407        "third_party/icu/source/common/uchar.cpp",
54408        "third_party/icu/source/common/ucharstrie.cpp",
54409        "third_party/icu/source/common/ucharstriebuilder.cpp",
54410        "third_party/icu/source/common/ucharstrieiterator.cpp",
54411        "third_party/icu/source/common/uchriter.cpp",
54412        "third_party/icu/source/common/ucln_cmn.cpp",
54413        "third_party/icu/source/common/ucmndata.cpp",
54414        "third_party/icu/source/common/ucnv.cpp",
54415        "third_party/icu/source/common/ucnv2022.cpp",
54416        "third_party/icu/source/common/ucnv_bld.cpp",
54417        "third_party/icu/source/common/ucnv_cb.cpp",
54418        "third_party/icu/source/common/ucnv_cnv.cpp",
54419        "third_party/icu/source/common/ucnv_ct.cpp",
54420        "third_party/icu/source/common/ucnv_err.cpp",
54421        "third_party/icu/source/common/ucnv_ext.cpp",
54422        "third_party/icu/source/common/ucnv_io.cpp",
54423        "third_party/icu/source/common/ucnv_lmb.cpp",
54424        "third_party/icu/source/common/ucnv_set.cpp",
54425        "third_party/icu/source/common/ucnv_u16.cpp",
54426        "third_party/icu/source/common/ucnv_u32.cpp",
54427        "third_party/icu/source/common/ucnv_u7.cpp",
54428        "third_party/icu/source/common/ucnv_u8.cpp",
54429        "third_party/icu/source/common/ucnvbocu.cpp",
54430        "third_party/icu/source/common/ucnvdisp.cpp",
54431        "third_party/icu/source/common/ucnvhz.cpp",
54432        "third_party/icu/source/common/ucnvisci.cpp",
54433        "third_party/icu/source/common/ucnvlat1.cpp",
54434        "third_party/icu/source/common/ucnvmbcs.cpp",
54435        "third_party/icu/source/common/ucnvscsu.cpp",
54436        "third_party/icu/source/common/ucnvsel.cpp",
54437        "third_party/icu/source/common/ucol_swp.cpp",
54438        "third_party/icu/source/common/ucptrie.cpp",
54439        "third_party/icu/source/common/ucurr.cpp",
54440        "third_party/icu/source/common/udata.cpp",
54441        "third_party/icu/source/common/udatamem.cpp",
54442        "third_party/icu/source/common/udataswp.cpp",
54443        "third_party/icu/source/common/uenum.cpp",
54444        "third_party/icu/source/common/uhash.cpp",
54445        "third_party/icu/source/common/uhash_us.cpp",
54446        "third_party/icu/source/common/uidna.cpp",
54447        "third_party/icu/source/common/uinit.cpp",
54448        "third_party/icu/source/common/uinvchar.cpp",
54449        "third_party/icu/source/common/uiter.cpp",
54450        "third_party/icu/source/common/ulist.cpp",
54451        "third_party/icu/source/common/uloc.cpp",
54452        "third_party/icu/source/common/uloc_keytype.cpp",
54453        "third_party/icu/source/common/uloc_tag.cpp",
54454        "third_party/icu/source/common/ulocale.cpp",
54455        "third_party/icu/source/common/ulocbuilder.cpp",
54456        "third_party/icu/source/common/umapfile.cpp",
54457        "third_party/icu/source/common/umath.cpp",
54458        "third_party/icu/source/common/umutablecptrie.cpp",
54459        "third_party/icu/source/common/umutex.cpp",
54460        "third_party/icu/source/common/unames.cpp",
54461        "third_party/icu/source/common/unifiedcache.cpp",
54462        "third_party/icu/source/common/unifilt.cpp",
54463        "third_party/icu/source/common/unifunct.cpp",
54464        "third_party/icu/source/common/uniset.cpp",
54465        "third_party/icu/source/common/uniset_closure.cpp",
54466        "third_party/icu/source/common/uniset_props.cpp",
54467        "third_party/icu/source/common/unisetspan.cpp",
54468        "third_party/icu/source/common/unistr.cpp",
54469        "third_party/icu/source/common/unistr_case.cpp",
54470        "third_party/icu/source/common/unistr_case_locale.cpp",
54471        "third_party/icu/source/common/unistr_cnv.cpp",
54472        "third_party/icu/source/common/unistr_props.cpp",
54473        "third_party/icu/source/common/unistr_titlecase_brkiter.cpp",
54474        "third_party/icu/source/common/unorm.cpp",
54475        "third_party/icu/source/common/unormcmp.cpp",
54476        "third_party/icu/source/common/uobject.cpp",
54477        "third_party/icu/source/common/uprops.cpp",
54478        "third_party/icu/source/common/ures_cnv.cpp",
54479        "third_party/icu/source/common/uresbund.cpp",
54480        "third_party/icu/source/common/uresdata.cpp",
54481        "third_party/icu/source/common/usc_impl.cpp",
54482        "third_party/icu/source/common/uscript.cpp",
54483        "third_party/icu/source/common/uscript_props.cpp",
54484        "third_party/icu/source/common/uset.cpp",
54485        "third_party/icu/source/common/uset_props.cpp",
54486        "third_party/icu/source/common/usetiter.cpp",
54487        "third_party/icu/source/common/ushape.cpp",
54488        "third_party/icu/source/common/usprep.cpp",
54489        "third_party/icu/source/common/ustack.cpp",
54490        "third_party/icu/source/common/ustr_cnv.cpp",
54491        "third_party/icu/source/common/ustr_titlecase_brkiter.cpp",
54492        "third_party/icu/source/common/ustr_wcs.cpp",
54493        "third_party/icu/source/common/ustrcase.cpp",
54494        "third_party/icu/source/common/ustrcase_locale.cpp",
54495        "third_party/icu/source/common/ustrenum.cpp",
54496        "third_party/icu/source/common/ustrfmt.cpp",
54497        "third_party/icu/source/common/ustring.cpp",
54498        "third_party/icu/source/common/ustrtrns.cpp",
54499        "third_party/icu/source/common/utext.cpp",
54500        "third_party/icu/source/common/utf_impl.cpp",
54501        "third_party/icu/source/common/util.cpp",
54502        "third_party/icu/source/common/util_props.cpp",
54503        "third_party/icu/source/common/utrace.cpp",
54504        "third_party/icu/source/common/utrie.cpp",
54505        "third_party/icu/source/common/utrie2.cpp",
54506        "third_party/icu/source/common/utrie2_builder.cpp",
54507        "third_party/icu/source/common/utrie_swap.cpp",
54508        "third_party/icu/source/common/uts46.cpp",
54509        "third_party/icu/source/common/utypes.cpp",
54510        "third_party/icu/source/common/uvector.cpp",
54511        "third_party/icu/source/common/uvectr32.cpp",
54512        "third_party/icu/source/common/uvectr64.cpp",
54513        "third_party/icu/source/common/wintz.cpp",
54514        "third_party/icu/source/stubdata/stubdata.cpp",
54515    ],
54516    defaults: [
54517        "cronet_aml_cc_defaults",
54518    ],
54519    cflags: [
54520        "-DANDROID",
54521        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54522        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
54523        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
54524        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
54525        "-DHAVE_DLOPEN=0",
54526        "-DHAVE_SYS_UIO_H",
54527        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
54528        "-DNDEBUG",
54529        "-DNO_UNWIND_TABLES",
54530        "-DNVALGRIND",
54531        "-DOFFICIAL_BUILD",
54532        "-DUCONFIG_ONLY_HTML_CONVERSION=1",
54533        "-DUCONFIG_USE_ML_PHRASE_BREAKING=1",
54534        "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
54535        "-DUSE_CHROMIUM_ICU=1",
54536        "-DU_CHARSET_IS_UTF8=1",
54537        "-DU_COMMON_IMPLEMENTATION",
54538        "-DU_ENABLE_DYLOAD=0",
54539        "-DU_ENABLE_RESOURCE_TRACING=0",
54540        "-DU_ENABLE_TRACING=1",
54541        "-DU_ICUDATAENTRY_IN_COMMON",
54542        "-DU_STATIC_IMPLEMENTATION",
54543        "-DU_USING_ICU_NAMESPACE=0",
54544        "-D_GNU_SOURCE",
54545        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
54546        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
54547        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
54548        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54549        "-fdata-sections",
54550        "-ffunction-sections",
54551        "-fno-asynchronous-unwind-tables",
54552        "-fno-unwind-tables",
54553        "-fstack-protector",
54554        "-fvisibility-inlines-hidden",
54555        "-fvisibility=hidden",
54556        "-g1",
54557    ],
54558    local_include_dirs: [
54559        "./",
54560        "buildtools/third_party/libc++/",
54561        "third_party/icu/source/common/",
54562        "third_party/icu/source/i18n/",
54563        "third_party/libc++/src/include",
54564        "third_party/libc++abi/src/include",
54565    ],
54566    cpp_std: "c++20",
54567    ldflags: [
54568        "-Wl,--as-needed",
54569        "-Wl,--gc-sections",
54570        "-Wl,--icf=all",
54571    ],
54572    rtti: true,
54573    target: {
54574        android_arm64: {
54575            cflags: [
54576                "-O2",
54577                "-mno-outline",
54578            ],
54579        },
54580        android_x86: {
54581            cflags: [
54582                "-msse3",
54583            ],
54584        },
54585        android_x86_64: {
54586            cflags: [
54587                "-msse3",
54588            ],
54589        },
54590    },
54591}
54592
54593// GN: //third_party/icu:icuuc_private__testing
54594cc_library_static {
54595    name: "cronet_aml_third_party_icu_icuuc_private__testing",
54596    srcs: [
54597        "third_party/icu/source/common/appendable.cpp",
54598        "third_party/icu/source/common/bmpset.cpp",
54599        "third_party/icu/source/common/brkeng.cpp",
54600        "third_party/icu/source/common/brkiter.cpp",
54601        "third_party/icu/source/common/bytesinkutil.cpp",
54602        "third_party/icu/source/common/bytestream.cpp",
54603        "third_party/icu/source/common/bytestrie.cpp",
54604        "third_party/icu/source/common/bytestriebuilder.cpp",
54605        "third_party/icu/source/common/bytestrieiterator.cpp",
54606        "third_party/icu/source/common/caniter.cpp",
54607        "third_party/icu/source/common/characterproperties.cpp",
54608        "third_party/icu/source/common/chariter.cpp",
54609        "third_party/icu/source/common/charstr.cpp",
54610        "third_party/icu/source/common/cmemory.cpp",
54611        "third_party/icu/source/common/cstr.cpp",
54612        "third_party/icu/source/common/cstring.cpp",
54613        "third_party/icu/source/common/cwchar.cpp",
54614        "third_party/icu/source/common/dictbe.cpp",
54615        "third_party/icu/source/common/dictionarydata.cpp",
54616        "third_party/icu/source/common/dtintrv.cpp",
54617        "third_party/icu/source/common/edits.cpp",
54618        "third_party/icu/source/common/emojiprops.cpp",
54619        "third_party/icu/source/common/errorcode.cpp",
54620        "third_party/icu/source/common/filteredbrk.cpp",
54621        "third_party/icu/source/common/filterednormalizer2.cpp",
54622        "third_party/icu/source/common/icudataver.cpp",
54623        "third_party/icu/source/common/icuplug.cpp",
54624        "third_party/icu/source/common/loadednormalizer2impl.cpp",
54625        "third_party/icu/source/common/localebuilder.cpp",
54626        "third_party/icu/source/common/localematcher.cpp",
54627        "third_party/icu/source/common/localeprioritylist.cpp",
54628        "third_party/icu/source/common/locavailable.cpp",
54629        "third_party/icu/source/common/locbased.cpp",
54630        "third_party/icu/source/common/locdispnames.cpp",
54631        "third_party/icu/source/common/locdistance.cpp",
54632        "third_party/icu/source/common/locdspnm.cpp",
54633        "third_party/icu/source/common/locid.cpp",
54634        "third_party/icu/source/common/loclikely.cpp",
54635        "third_party/icu/source/common/loclikelysubtags.cpp",
54636        "third_party/icu/source/common/locmap.cpp",
54637        "third_party/icu/source/common/locresdata.cpp",
54638        "third_party/icu/source/common/locutil.cpp",
54639        "third_party/icu/source/common/lsr.cpp",
54640        "third_party/icu/source/common/lstmbe.cpp",
54641        "third_party/icu/source/common/messagepattern.cpp",
54642        "third_party/icu/source/common/mlbe.cpp",
54643        "third_party/icu/source/common/normalizer2.cpp",
54644        "third_party/icu/source/common/normalizer2impl.cpp",
54645        "third_party/icu/source/common/normlzr.cpp",
54646        "third_party/icu/source/common/parsepos.cpp",
54647        "third_party/icu/source/common/patternprops.cpp",
54648        "third_party/icu/source/common/pluralmap.cpp",
54649        "third_party/icu/source/common/propname.cpp",
54650        "third_party/icu/source/common/propsvec.cpp",
54651        "third_party/icu/source/common/punycode.cpp",
54652        "third_party/icu/source/common/putil.cpp",
54653        "third_party/icu/source/common/rbbi.cpp",
54654        "third_party/icu/source/common/rbbi_cache.cpp",
54655        "third_party/icu/source/common/rbbidata.cpp",
54656        "third_party/icu/source/common/rbbinode.cpp",
54657        "third_party/icu/source/common/rbbirb.cpp",
54658        "third_party/icu/source/common/rbbiscan.cpp",
54659        "third_party/icu/source/common/rbbisetb.cpp",
54660        "third_party/icu/source/common/rbbistbl.cpp",
54661        "third_party/icu/source/common/rbbitblb.cpp",
54662        "third_party/icu/source/common/resbund.cpp",
54663        "third_party/icu/source/common/resbund_cnv.cpp",
54664        "third_party/icu/source/common/resource.cpp",
54665        "third_party/icu/source/common/restrace.cpp",
54666        "third_party/icu/source/common/ruleiter.cpp",
54667        "third_party/icu/source/common/schriter.cpp",
54668        "third_party/icu/source/common/serv.cpp",
54669        "third_party/icu/source/common/servlk.cpp",
54670        "third_party/icu/source/common/servlkf.cpp",
54671        "third_party/icu/source/common/servls.cpp",
54672        "third_party/icu/source/common/servnotf.cpp",
54673        "third_party/icu/source/common/servrbf.cpp",
54674        "third_party/icu/source/common/servslkf.cpp",
54675        "third_party/icu/source/common/sharedobject.cpp",
54676        "third_party/icu/source/common/simpleformatter.cpp",
54677        "third_party/icu/source/common/static_unicode_sets.cpp",
54678        "third_party/icu/source/common/stringpiece.cpp",
54679        "third_party/icu/source/common/stringtriebuilder.cpp",
54680        "third_party/icu/source/common/uarrsort.cpp",
54681        "third_party/icu/source/common/ubidi.cpp",
54682        "third_party/icu/source/common/ubidi_props.cpp",
54683        "third_party/icu/source/common/ubidiln.cpp",
54684        "third_party/icu/source/common/ubiditransform.cpp",
54685        "third_party/icu/source/common/ubidiwrt.cpp",
54686        "third_party/icu/source/common/ubrk.cpp",
54687        "third_party/icu/source/common/ucase.cpp",
54688        "third_party/icu/source/common/ucasemap.cpp",
54689        "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp",
54690        "third_party/icu/source/common/ucat.cpp",
54691        "third_party/icu/source/common/uchar.cpp",
54692        "third_party/icu/source/common/ucharstrie.cpp",
54693        "third_party/icu/source/common/ucharstriebuilder.cpp",
54694        "third_party/icu/source/common/ucharstrieiterator.cpp",
54695        "third_party/icu/source/common/uchriter.cpp",
54696        "third_party/icu/source/common/ucln_cmn.cpp",
54697        "third_party/icu/source/common/ucmndata.cpp",
54698        "third_party/icu/source/common/ucnv.cpp",
54699        "third_party/icu/source/common/ucnv2022.cpp",
54700        "third_party/icu/source/common/ucnv_bld.cpp",
54701        "third_party/icu/source/common/ucnv_cb.cpp",
54702        "third_party/icu/source/common/ucnv_cnv.cpp",
54703        "third_party/icu/source/common/ucnv_ct.cpp",
54704        "third_party/icu/source/common/ucnv_err.cpp",
54705        "third_party/icu/source/common/ucnv_ext.cpp",
54706        "third_party/icu/source/common/ucnv_io.cpp",
54707        "third_party/icu/source/common/ucnv_lmb.cpp",
54708        "third_party/icu/source/common/ucnv_set.cpp",
54709        "third_party/icu/source/common/ucnv_u16.cpp",
54710        "third_party/icu/source/common/ucnv_u32.cpp",
54711        "third_party/icu/source/common/ucnv_u7.cpp",
54712        "third_party/icu/source/common/ucnv_u8.cpp",
54713        "third_party/icu/source/common/ucnvbocu.cpp",
54714        "third_party/icu/source/common/ucnvdisp.cpp",
54715        "third_party/icu/source/common/ucnvhz.cpp",
54716        "third_party/icu/source/common/ucnvisci.cpp",
54717        "third_party/icu/source/common/ucnvlat1.cpp",
54718        "third_party/icu/source/common/ucnvmbcs.cpp",
54719        "third_party/icu/source/common/ucnvscsu.cpp",
54720        "third_party/icu/source/common/ucnvsel.cpp",
54721        "third_party/icu/source/common/ucol_swp.cpp",
54722        "third_party/icu/source/common/ucptrie.cpp",
54723        "third_party/icu/source/common/ucurr.cpp",
54724        "third_party/icu/source/common/udata.cpp",
54725        "third_party/icu/source/common/udatamem.cpp",
54726        "third_party/icu/source/common/udataswp.cpp",
54727        "third_party/icu/source/common/uenum.cpp",
54728        "third_party/icu/source/common/uhash.cpp",
54729        "third_party/icu/source/common/uhash_us.cpp",
54730        "third_party/icu/source/common/uidna.cpp",
54731        "third_party/icu/source/common/uinit.cpp",
54732        "third_party/icu/source/common/uinvchar.cpp",
54733        "third_party/icu/source/common/uiter.cpp",
54734        "third_party/icu/source/common/ulist.cpp",
54735        "third_party/icu/source/common/uloc.cpp",
54736        "third_party/icu/source/common/uloc_keytype.cpp",
54737        "third_party/icu/source/common/uloc_tag.cpp",
54738        "third_party/icu/source/common/ulocale.cpp",
54739        "third_party/icu/source/common/ulocbuilder.cpp",
54740        "third_party/icu/source/common/umapfile.cpp",
54741        "third_party/icu/source/common/umath.cpp",
54742        "third_party/icu/source/common/umutablecptrie.cpp",
54743        "third_party/icu/source/common/umutex.cpp",
54744        "third_party/icu/source/common/unames.cpp",
54745        "third_party/icu/source/common/unifiedcache.cpp",
54746        "third_party/icu/source/common/unifilt.cpp",
54747        "third_party/icu/source/common/unifunct.cpp",
54748        "third_party/icu/source/common/uniset.cpp",
54749        "third_party/icu/source/common/uniset_closure.cpp",
54750        "third_party/icu/source/common/uniset_props.cpp",
54751        "third_party/icu/source/common/unisetspan.cpp",
54752        "third_party/icu/source/common/unistr.cpp",
54753        "third_party/icu/source/common/unistr_case.cpp",
54754        "third_party/icu/source/common/unistr_case_locale.cpp",
54755        "third_party/icu/source/common/unistr_cnv.cpp",
54756        "third_party/icu/source/common/unistr_props.cpp",
54757        "third_party/icu/source/common/unistr_titlecase_brkiter.cpp",
54758        "third_party/icu/source/common/unorm.cpp",
54759        "third_party/icu/source/common/unormcmp.cpp",
54760        "third_party/icu/source/common/uobject.cpp",
54761        "third_party/icu/source/common/uprops.cpp",
54762        "third_party/icu/source/common/ures_cnv.cpp",
54763        "third_party/icu/source/common/uresbund.cpp",
54764        "third_party/icu/source/common/uresdata.cpp",
54765        "third_party/icu/source/common/usc_impl.cpp",
54766        "third_party/icu/source/common/uscript.cpp",
54767        "third_party/icu/source/common/uscript_props.cpp",
54768        "third_party/icu/source/common/uset.cpp",
54769        "third_party/icu/source/common/uset_props.cpp",
54770        "third_party/icu/source/common/usetiter.cpp",
54771        "third_party/icu/source/common/ushape.cpp",
54772        "third_party/icu/source/common/usprep.cpp",
54773        "third_party/icu/source/common/ustack.cpp",
54774        "third_party/icu/source/common/ustr_cnv.cpp",
54775        "third_party/icu/source/common/ustr_titlecase_brkiter.cpp",
54776        "third_party/icu/source/common/ustr_wcs.cpp",
54777        "third_party/icu/source/common/ustrcase.cpp",
54778        "third_party/icu/source/common/ustrcase_locale.cpp",
54779        "third_party/icu/source/common/ustrenum.cpp",
54780        "third_party/icu/source/common/ustrfmt.cpp",
54781        "third_party/icu/source/common/ustring.cpp",
54782        "third_party/icu/source/common/ustrtrns.cpp",
54783        "third_party/icu/source/common/utext.cpp",
54784        "third_party/icu/source/common/utf_impl.cpp",
54785        "third_party/icu/source/common/util.cpp",
54786        "third_party/icu/source/common/util_props.cpp",
54787        "third_party/icu/source/common/utrace.cpp",
54788        "third_party/icu/source/common/utrie.cpp",
54789        "third_party/icu/source/common/utrie2.cpp",
54790        "third_party/icu/source/common/utrie2_builder.cpp",
54791        "third_party/icu/source/common/utrie_swap.cpp",
54792        "third_party/icu/source/common/uts46.cpp",
54793        "third_party/icu/source/common/utypes.cpp",
54794        "third_party/icu/source/common/uvector.cpp",
54795        "third_party/icu/source/common/uvectr32.cpp",
54796        "third_party/icu/source/common/uvectr64.cpp",
54797        "third_party/icu/source/common/wintz.cpp",
54798        "third_party/icu/source/stubdata/stubdata.cpp",
54799    ],
54800    host_supported: true,
54801    defaults: [
54802        "cronet_aml_cc_defaults",
54803    ],
54804    cflags: [
54805        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
54806        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
54807        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
54808        "-DHAVE_DLOPEN=0",
54809        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
54810        "-DNDEBUG",
54811        "-DNO_UNWIND_TABLES",
54812        "-DNVALGRIND",
54813        "-DOFFICIAL_BUILD",
54814        "-DUCONFIG_ONLY_HTML_CONVERSION=1",
54815        "-DUCONFIG_USE_ML_PHRASE_BREAKING=1",
54816        "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
54817        "-DUSE_CHROMIUM_ICU=1",
54818        "-DU_CHARSET_IS_UTF8=1",
54819        "-DU_COMMON_IMPLEMENTATION",
54820        "-DU_ENABLE_DYLOAD=0",
54821        "-DU_ENABLE_RESOURCE_TRACING=0",
54822        "-DU_ENABLE_TRACING=1",
54823        "-DU_ICUDATAENTRY_IN_COMMON",
54824        "-DU_STATIC_IMPLEMENTATION",
54825        "-DU_USING_ICU_NAMESPACE=0",
54826        "-D_GNU_SOURCE",
54827        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
54828        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
54829        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
54830        "-fdata-sections",
54831        "-ffunction-sections",
54832        "-fno-asynchronous-unwind-tables",
54833        "-fno-unwind-tables",
54834        "-fstack-protector",
54835        "-fvisibility-inlines-hidden",
54836        "-fvisibility=hidden",
54837        "-g1",
54838    ],
54839    local_include_dirs: [
54840        "./",
54841        "buildtools/third_party/libc++/",
54842        "third_party/icu/source/common/",
54843        "third_party/icu/source/i18n/",
54844        "third_party/libc++/src/include",
54845        "third_party/libc++abi/src/include",
54846    ],
54847    cpp_std: "c++20",
54848    ldflags: [
54849        "-Wl,--as-needed",
54850        "-Wl,--gc-sections",
54851        "-Wl,--icf=all",
54852    ],
54853    rtti: true,
54854    target: {
54855        android_arm: {
54856            cflags: [
54857                "-DANDROID",
54858                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54859                "-DHAVE_SYS_UIO_H",
54860                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54861            ],
54862        },
54863        android_arm64: {
54864            cflags: [
54865                "-DANDROID",
54866                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54867                "-DHAVE_SYS_UIO_H",
54868                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54869                "-O2",
54870                "-mno-outline",
54871            ],
54872        },
54873        android_riscv64: {
54874            cflags: [
54875                "-DANDROID",
54876                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54877                "-DHAVE_SYS_UIO_H",
54878                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54879            ],
54880        },
54881        android_x86: {
54882            cflags: [
54883                "-DANDROID",
54884                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54885                "-DHAVE_SYS_UIO_H",
54886                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54887                "-msse3",
54888            ],
54889        },
54890        android_x86_64: {
54891            cflags: [
54892                "-DANDROID",
54893                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54894                "-DHAVE_SYS_UIO_H",
54895                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54896                "-msse3",
54897            ],
54898        },
54899        host: {
54900            cflags: [
54901                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
54902                "-DUSE_AURA=1",
54903                "-DUSE_OZONE=1",
54904                "-DUSE_UDEV",
54905                "-D_FILE_OFFSET_BITS=64",
54906                "-D_LARGEFILE64_SOURCE",
54907                "-D_LARGEFILE_SOURCE",
54908                "-O2",
54909                "-msse3",
54910            ],
54911            compile_multilib: "64",
54912        },
54913    },
54914}
54915
54916// GN: //third_party/jni_zero:jni_zero
54917cc_library_static {
54918    name: "cronet_aml_third_party_jni_zero_jni_zero",
54919    srcs: [
54920        "third_party/jni_zero/jni_zero.cc",
54921        "third_party/jni_zero/logging.cc",
54922    ],
54923    shared_libs: [
54924        "liblog",
54925    ],
54926    defaults: [
54927        "cronet_aml_cc_defaults",
54928    ],
54929    cflags: [
54930        "-DANDROID",
54931        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
54932        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
54933        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
54934        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
54935        "-DHAVE_SYS_UIO_H",
54936        "-DNDEBUG",
54937        "-DNO_UNWIND_TABLES",
54938        "-DNVALGRIND",
54939        "-DOFFICIAL_BUILD",
54940        "-D_GNU_SOURCE",
54941        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
54942        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
54943        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
54944        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
54945        "-D__STDC_CONSTANT_MACROS",
54946        "-D__STDC_FORMAT_MACROS",
54947        "-fdata-sections",
54948        "-ffunction-sections",
54949        "-fno-asynchronous-unwind-tables",
54950        "-fno-unwind-tables",
54951        "-fstack-protector",
54952        "-fvisibility-inlines-hidden",
54953        "-fvisibility=hidden",
54954        "-g1",
54955    ],
54956    local_include_dirs: [
54957        "./",
54958        "buildtools/third_party/libc++/",
54959        "third_party/libc++/src/include",
54960        "third_party/libc++abi/src/include",
54961    ],
54962    cpp_std: "c++20",
54963    ldflags: [
54964        "-Wl,--as-needed",
54965        "-Wl,--gc-sections",
54966        "-Wl,--icf=all",
54967    ],
54968    target: {
54969        android_arm: {
54970            cflags: [
54971                "-D_FORTIFY_SOURCE=2",
54972            ],
54973        },
54974        android_arm64: {
54975            cflags: [
54976                "-D_FORTIFY_SOURCE=2",
54977                "-O2",
54978                "-mno-outline",
54979            ],
54980        },
54981        android_x86: {
54982            cflags: [
54983                "-D_FORTIFY_SOURCE=2",
54984                "-msse3",
54985            ],
54986        },
54987        android_x86_64: {
54988            cflags: [
54989                "-D_FORTIFY_SOURCE=2",
54990                "-msse3",
54991            ],
54992        },
54993    },
54994}
54995
54996// GN: //third_party/jni_zero:jni_zero__testing
54997cc_library_static {
54998    name: "cronet_aml_third_party_jni_zero_jni_zero__testing",
54999    srcs: [
55000        "third_party/jni_zero/jni_zero.cc",
55001        "third_party/jni_zero/logging.cc",
55002    ],
55003    shared_libs: [
55004        "liblog",
55005    ],
55006    defaults: [
55007        "cronet_aml_cc_defaults",
55008    ],
55009    cflags: [
55010        "-DANDROID",
55011        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55012        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
55013        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
55014        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
55015        "-DHAVE_SYS_UIO_H",
55016        "-DNDEBUG",
55017        "-DNO_UNWIND_TABLES",
55018        "-DNVALGRIND",
55019        "-DOFFICIAL_BUILD",
55020        "-D_GNU_SOURCE",
55021        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
55022        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
55023        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
55024        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55025        "-D__STDC_CONSTANT_MACROS",
55026        "-D__STDC_FORMAT_MACROS",
55027        "-fdata-sections",
55028        "-ffunction-sections",
55029        "-fno-asynchronous-unwind-tables",
55030        "-fno-unwind-tables",
55031        "-fstack-protector",
55032        "-fvisibility-inlines-hidden",
55033        "-fvisibility=hidden",
55034        "-g1",
55035    ],
55036    local_include_dirs: [
55037        "./",
55038        "buildtools/third_party/libc++/",
55039        "third_party/libc++/src/include",
55040        "third_party/libc++abi/src/include",
55041    ],
55042    cpp_std: "c++20",
55043    ldflags: [
55044        "-Wl,--as-needed",
55045        "-Wl,--gc-sections",
55046        "-Wl,--icf=all",
55047    ],
55048    target: {
55049        android_arm: {
55050            cflags: [
55051                "-D_FORTIFY_SOURCE=2",
55052            ],
55053        },
55054        android_arm64: {
55055            cflags: [
55056                "-D_FORTIFY_SOURCE=2",
55057                "-O2",
55058                "-mno-outline",
55059            ],
55060        },
55061        android_x86: {
55062            cflags: [
55063                "-D_FORTIFY_SOURCE=2",
55064                "-msse3",
55065            ],
55066        },
55067        android_x86_64: {
55068            cflags: [
55069                "-D_FORTIFY_SOURCE=2",
55070                "-msse3",
55071            ],
55072        },
55073    },
55074}
55075
55076// GN: //third_party/jni_zero:jni_zero_java
55077java_library {
55078    name: "cronet_aml_third_party_jni_zero_jni_zero_java",
55079    srcs: [
55080        "third_party/jni_zero/java/src/org/jni_zero/AccessedByNative.java",
55081        "third_party/jni_zero/java/src/org/jni_zero/CalledByNative.java",
55082        "third_party/jni_zero/java/src/org/jni_zero/CalledByNativeForTesting.java",
55083        "third_party/jni_zero/java/src/org/jni_zero/CalledByNativeUnchecked.java",
55084        "third_party/jni_zero/java/src/org/jni_zero/CheckDiscard.java",
55085        "third_party/jni_zero/java/src/org/jni_zero/JNINamespace.java",
55086        "third_party/jni_zero/java/src/org/jni_zero/JniStaticTestMocker.java",
55087        "third_party/jni_zero/java/src/org/jni_zero/JniType.java",
55088        "third_party/jni_zero/java/src/org/jni_zero/NativeClassQualifiedName.java",
55089        "third_party/jni_zero/java/src/org/jni_zero/NativeLibraryLoadedStatus.java",
55090        "third_party/jni_zero/java/src/org/jni_zero/NativeMethods.java",
55091    ],
55092    static_libs: [
55093        "cronet_aml_build_android_build_java",
55094    ],
55095    defaults: [
55096        "cronet_aml_java_framework_defaults",
55097    ],
55098    apex_available: [
55099        "com.android.tethering",
55100    ],
55101    min_sdk_version: "30",
55102    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
55103}
55104
55105// GN: //third_party/jni_zero:jni_zero_java__testing
55106java_library {
55107    name: "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
55108    srcs: [
55109        "third_party/jni_zero/java/src/org/jni_zero/AccessedByNative.java",
55110        "third_party/jni_zero/java/src/org/jni_zero/CalledByNative.java",
55111        "third_party/jni_zero/java/src/org/jni_zero/CalledByNativeForTesting.java",
55112        "third_party/jni_zero/java/src/org/jni_zero/CalledByNativeUnchecked.java",
55113        "third_party/jni_zero/java/src/org/jni_zero/CheckDiscard.java",
55114        "third_party/jni_zero/java/src/org/jni_zero/JNINamespace.java",
55115        "third_party/jni_zero/java/src/org/jni_zero/JniStaticTestMocker.java",
55116        "third_party/jni_zero/java/src/org/jni_zero/JniType.java",
55117        "third_party/jni_zero/java/src/org/jni_zero/NativeClassQualifiedName.java",
55118        "third_party/jni_zero/java/src/org/jni_zero/NativeLibraryLoadedStatus.java",
55119        "third_party/jni_zero/java/src/org/jni_zero/NativeMethods.java",
55120    ],
55121    static_libs: [
55122        "cronet_aml_build_android_build_java__testing",
55123    ],
55124    apex_available: [
55125        "com.android.tethering",
55126    ],
55127    min_sdk_version: "30",
55128    sdk_version: "current",
55129    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
55130}
55131
55132// GN: //third_party/libevent:libevent
55133cc_library_static {
55134    name: "cronet_aml_third_party_libevent_libevent",
55135    srcs: [
55136        "third_party/libevent/epoll.c",
55137        "third_party/libevent/event.c",
55138        "third_party/libevent/evutil.c",
55139        "third_party/libevent/log.c",
55140        "third_party/libevent/poll.c",
55141        "third_party/libevent/select.c",
55142        "third_party/libevent/signal.c",
55143        "third_party/libevent/strlcpy.c",
55144    ],
55145    defaults: [
55146        "cronet_aml_cc_defaults",
55147    ],
55148    cflags: [
55149        "-DANDROID",
55150        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55151        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
55152        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
55153        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
55154        "-DHAVE_CONFIG_H",
55155        "-DHAVE_SYS_UIO_H",
55156        "-DNDEBUG",
55157        "-DNO_UNWIND_TABLES",
55158        "-DNVALGRIND",
55159        "-DOFFICIAL_BUILD",
55160        "-D_GNU_SOURCE",
55161        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
55162        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
55163        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
55164        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55165        "-O2",
55166        "-fdata-sections",
55167        "-ffunction-sections",
55168        "-fno-asynchronous-unwind-tables",
55169        "-fno-unwind-tables",
55170        "-fstack-protector",
55171        "-fvisibility-inlines-hidden",
55172        "-fvisibility=hidden",
55173        "-g1",
55174    ],
55175    local_include_dirs: [
55176        "./",
55177        "buildtools/third_party/libc++/",
55178        "third_party/libc++/src/include",
55179        "third_party/libc++abi/src/include",
55180        "third_party/libevent/android/",
55181        "third_party/libevent/compat/",
55182    ],
55183    cpp_std: "c++20",
55184    ldflags: [
55185        "-Wl,--as-needed",
55186        "-Wl,--gc-sections",
55187        "-Wl,--icf=all",
55188    ],
55189    target: {
55190        android_arm64: {
55191            cflags: [
55192                "-mno-outline",
55193            ],
55194        },
55195        android_x86: {
55196            cflags: [
55197                "-msse3",
55198            ],
55199        },
55200        android_x86_64: {
55201            cflags: [
55202                "-msse3",
55203            ],
55204        },
55205    },
55206}
55207
55208// GN: //third_party/libevent:libevent__testing
55209cc_library_static {
55210    name: "cronet_aml_third_party_libevent_libevent__testing",
55211    srcs: [
55212        "third_party/libevent/epoll.c",
55213        "third_party/libevent/event.c",
55214        "third_party/libevent/evutil.c",
55215        "third_party/libevent/log.c",
55216        "third_party/libevent/poll.c",
55217        "third_party/libevent/select.c",
55218        "third_party/libevent/signal.c",
55219        "third_party/libevent/strlcpy.c",
55220    ],
55221    host_supported: true,
55222    defaults: [
55223        "cronet_aml_cc_defaults",
55224    ],
55225    cflags: [
55226        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
55227        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
55228        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
55229        "-DHAVE_CONFIG_H",
55230        "-DNDEBUG",
55231        "-DNO_UNWIND_TABLES",
55232        "-DNVALGRIND",
55233        "-DOFFICIAL_BUILD",
55234        "-D_GNU_SOURCE",
55235        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
55236        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
55237        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
55238        "-O2",
55239        "-fdata-sections",
55240        "-ffunction-sections",
55241        "-fno-asynchronous-unwind-tables",
55242        "-fno-unwind-tables",
55243        "-fstack-protector",
55244        "-fvisibility-inlines-hidden",
55245        "-fvisibility=hidden",
55246        "-g1",
55247    ],
55248    local_include_dirs: [
55249        "./",
55250        "buildtools/third_party/libc++/",
55251        "third_party/libc++/src/include",
55252        "third_party/libc++abi/src/include",
55253        "third_party/libevent/compat/",
55254    ],
55255    cpp_std: "c++20",
55256    ldflags: [
55257        "-Wl,--as-needed",
55258        "-Wl,--gc-sections",
55259        "-Wl,--icf=all",
55260    ],
55261    target: {
55262        android_arm: {
55263            cflags: [
55264                "-DANDROID",
55265                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55266                "-DHAVE_SYS_UIO_H",
55267                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55268            ],
55269            local_include_dirs: [
55270                "third_party/libevent/android/",
55271            ],
55272        },
55273        android_arm64: {
55274            cflags: [
55275                "-DANDROID",
55276                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55277                "-DHAVE_SYS_UIO_H",
55278                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55279                "-mno-outline",
55280            ],
55281            local_include_dirs: [
55282                "third_party/libevent/android/",
55283            ],
55284        },
55285        android_riscv64: {
55286            cflags: [
55287                "-DANDROID",
55288                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55289                "-DHAVE_SYS_UIO_H",
55290                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55291            ],
55292            local_include_dirs: [
55293                "third_party/libevent/android/",
55294            ],
55295        },
55296        android_x86: {
55297            cflags: [
55298                "-DANDROID",
55299                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55300                "-DHAVE_SYS_UIO_H",
55301                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55302                "-msse3",
55303            ],
55304            local_include_dirs: [
55305                "third_party/libevent/android/",
55306            ],
55307        },
55308        android_x86_64: {
55309            cflags: [
55310                "-DANDROID",
55311                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55312                "-DHAVE_SYS_UIO_H",
55313                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55314                "-msse3",
55315            ],
55316            local_include_dirs: [
55317                "third_party/libevent/android/",
55318            ],
55319        },
55320        host: {
55321            cflags: [
55322                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
55323                "-DUSE_AURA=1",
55324                "-DUSE_OZONE=1",
55325                "-DUSE_UDEV",
55326                "-D_FILE_OFFSET_BITS=64",
55327                "-D_LARGEFILE64_SOURCE",
55328                "-D_LARGEFILE_SOURCE",
55329                "-msse3",
55330            ],
55331            local_include_dirs: [
55332                "third_party/libevent/linux/",
55333            ],
55334            compile_multilib: "64",
55335        },
55336    },
55337}
55338
55339// GN: //third_party/libxml:libxml__testing
55340cc_library_static {
55341    name: "cronet_aml_third_party_libxml_libxml__testing",
55342    srcs: [
55343        "third_party/libxml/chromium/disabled_libxml_features.cc",
55344        "third_party/libxml/src/HTMLparser.c",
55345        "third_party/libxml/src/HTMLtree.c",
55346        "third_party/libxml/src/SAX2.c",
55347        "third_party/libxml/src/buf.c",
55348        "third_party/libxml/src/chvalid.c",
55349        "third_party/libxml/src/dict.c",
55350        "third_party/libxml/src/encoding.c",
55351        "third_party/libxml/src/entities.c",
55352        "third_party/libxml/src/error.c",
55353        "third_party/libxml/src/globals.c",
55354        "third_party/libxml/src/hash.c",
55355        "third_party/libxml/src/list.c",
55356        "third_party/libxml/src/parser.c",
55357        "third_party/libxml/src/parserInternals.c",
55358        "third_party/libxml/src/pattern.c",
55359        "third_party/libxml/src/threads.c",
55360        "third_party/libxml/src/tree.c",
55361        "third_party/libxml/src/uri.c",
55362        "third_party/libxml/src/valid.c",
55363        "third_party/libxml/src/xmlIO.c",
55364        "third_party/libxml/src/xmlmemory.c",
55365        "third_party/libxml/src/xmlreader.c",
55366        "third_party/libxml/src/xmlsave.c",
55367        "third_party/libxml/src/xmlstring.c",
55368        "third_party/libxml/src/xmlunicode.c",
55369        "third_party/libxml/src/xmlwriter.c",
55370        "third_party/libxml/src/xpath.c",
55371    ],
55372    shared_libs: [
55373        "libz",
55374    ],
55375    defaults: [
55376        "cronet_aml_cc_defaults",
55377    ],
55378    cflags: [
55379        "-DANDROID",
55380        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55381        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
55382        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
55383        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
55384        "-DHAVE_SYS_UIO_H",
55385        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
55386        "-DNDEBUG",
55387        "-DNO_UNWIND_TABLES",
55388        "-DNVALGRIND",
55389        "-DOFFICIAL_BUILD",
55390        "-DUSE_CHROMIUM_ICU=1",
55391        "-DU_ENABLE_DYLOAD=0",
55392        "-DU_ENABLE_RESOURCE_TRACING=0",
55393        "-DU_ENABLE_TRACING=1",
55394        "-DU_STATIC_IMPLEMENTATION",
55395        "-DU_USING_ICU_NAMESPACE=0",
55396        "-D_GNU_SOURCE",
55397        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
55398        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
55399        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
55400        "-D_REENTRANT",
55401        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55402        "-fdata-sections",
55403        "-ffunction-sections",
55404        "-fno-asynchronous-unwind-tables",
55405        "-fno-unwind-tables",
55406        "-fstack-protector",
55407        "-fvisibility-inlines-hidden",
55408        "-fvisibility=hidden",
55409        "-g1",
55410    ],
55411    local_include_dirs: [
55412        "./",
55413        "buildtools/third_party/libc++/",
55414        "third_party/icu/source/common/",
55415        "third_party/icu/source/i18n/",
55416        "third_party/libc++/src/include",
55417        "third_party/libc++abi/src/include",
55418        "third_party/libxml/linux/",
55419        "third_party/libxml/linux/include/",
55420        "third_party/libxml/src/include/",
55421    ],
55422    cpp_std: "c++20",
55423    ldflags: [
55424        "-Wl,--as-needed",
55425        "-Wl,--gc-sections",
55426        "-Wl,--icf=all",
55427    ],
55428    target: {
55429        android_arm64: {
55430            cflags: [
55431                "-O2",
55432                "-mno-outline",
55433            ],
55434        },
55435        android_x86: {
55436            cflags: [
55437                "-msse3",
55438            ],
55439        },
55440        android_x86_64: {
55441            cflags: [
55442                "-msse3",
55443            ],
55444        },
55445    },
55446}
55447
55448// GN: //third_party/libxml:libxml_utils__testing
55449cc_library_static {
55450    name: "cronet_aml_third_party_libxml_libxml_utils__testing",
55451    srcs: [
55452        "third_party/libxml/chromium/libxml_utils.cc",
55453    ],
55454    shared_libs: [
55455        "libz",
55456    ],
55457    defaults: [
55458        "cronet_aml_cc_defaults",
55459    ],
55460    cflags: [
55461        "-DANDROID",
55462        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55463        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
55464        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
55465        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
55466        "-DHAVE_SYS_UIO_H",
55467        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
55468        "-DNDEBUG",
55469        "-DNO_UNWIND_TABLES",
55470        "-DNVALGRIND",
55471        "-DOFFICIAL_BUILD",
55472        "-DUSE_CHROMIUM_ICU=1",
55473        "-DU_ENABLE_DYLOAD=0",
55474        "-DU_ENABLE_RESOURCE_TRACING=0",
55475        "-DU_ENABLE_TRACING=1",
55476        "-DU_STATIC_IMPLEMENTATION",
55477        "-DU_USING_ICU_NAMESPACE=0",
55478        "-D_GNU_SOURCE",
55479        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
55480        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
55481        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
55482        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55483        "-D__STDC_CONSTANT_MACROS",
55484        "-D__STDC_FORMAT_MACROS",
55485        "-fdata-sections",
55486        "-ffunction-sections",
55487        "-fno-asynchronous-unwind-tables",
55488        "-fno-unwind-tables",
55489        "-fstack-protector",
55490        "-fvisibility-inlines-hidden",
55491        "-fvisibility=hidden",
55492        "-g1",
55493    ],
55494    local_include_dirs: [
55495        "./",
55496        "buildtools/third_party/libc++/",
55497        "third_party/icu/source/common/",
55498        "third_party/icu/source/i18n/",
55499        "third_party/libc++/src/include",
55500        "third_party/libc++abi/src/include",
55501        "third_party/libxml/linux/include/",
55502        "third_party/libxml/src/include/",
55503    ],
55504    cpp_std: "c++20",
55505    ldflags: [
55506        "-Wl,--as-needed",
55507        "-Wl,--gc-sections",
55508        "-Wl,--icf=all",
55509    ],
55510    target: {
55511        android_arm: {
55512            cflags: [
55513                "-D_FORTIFY_SOURCE=2",
55514            ],
55515        },
55516        android_arm64: {
55517            cflags: [
55518                "-D_FORTIFY_SOURCE=2",
55519                "-O2",
55520                "-mno-outline",
55521            ],
55522        },
55523        android_x86: {
55524            cflags: [
55525                "-D_FORTIFY_SOURCE=2",
55526                "-msse3",
55527            ],
55528        },
55529        android_x86_64: {
55530            cflags: [
55531                "-D_FORTIFY_SOURCE=2",
55532                "-msse3",
55533            ],
55534        },
55535    },
55536}
55537
55538// GN: //third_party/libxml:xml_reader__testing
55539cc_library_static {
55540    name: "cronet_aml_third_party_libxml_xml_reader__testing",
55541    srcs: [
55542        "third_party/libxml/chromium/xml_reader.cc",
55543    ],
55544    shared_libs: [
55545        "libz",
55546    ],
55547    defaults: [
55548        "cronet_aml_cc_defaults",
55549    ],
55550    cflags: [
55551        "-DANDROID",
55552        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55553        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
55554        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
55555        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
55556        "-DHAVE_SYS_UIO_H",
55557        "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
55558        "-DNDEBUG",
55559        "-DNO_UNWIND_TABLES",
55560        "-DNVALGRIND",
55561        "-DOFFICIAL_BUILD",
55562        "-DUSE_CHROMIUM_ICU=1",
55563        "-DU_ENABLE_DYLOAD=0",
55564        "-DU_ENABLE_RESOURCE_TRACING=0",
55565        "-DU_ENABLE_TRACING=1",
55566        "-DU_STATIC_IMPLEMENTATION",
55567        "-DU_USING_ICU_NAMESPACE=0",
55568        "-D_GNU_SOURCE",
55569        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
55570        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
55571        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
55572        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55573        "-D__STDC_CONSTANT_MACROS",
55574        "-D__STDC_FORMAT_MACROS",
55575        "-fdata-sections",
55576        "-ffunction-sections",
55577        "-fno-asynchronous-unwind-tables",
55578        "-fno-unwind-tables",
55579        "-fstack-protector",
55580        "-fvisibility-inlines-hidden",
55581        "-fvisibility=hidden",
55582        "-g1",
55583    ],
55584    local_include_dirs: [
55585        "./",
55586        "buildtools/third_party/libc++/",
55587        "third_party/icu/source/common/",
55588        "third_party/icu/source/i18n/",
55589        "third_party/libc++/src/include",
55590        "third_party/libc++abi/src/include",
55591        "third_party/libxml/linux/include/",
55592        "third_party/libxml/src/include/",
55593    ],
55594    cpp_std: "c++20",
55595    ldflags: [
55596        "-Wl,--as-needed",
55597        "-Wl,--gc-sections",
55598        "-Wl,--icf=all",
55599    ],
55600    target: {
55601        android_arm: {
55602            cflags: [
55603                "-D_FORTIFY_SOURCE=2",
55604            ],
55605        },
55606        android_arm64: {
55607            cflags: [
55608                "-D_FORTIFY_SOURCE=2",
55609                "-O2",
55610                "-mno-outline",
55611            ],
55612        },
55613        android_x86: {
55614            cflags: [
55615                "-D_FORTIFY_SOURCE=2",
55616                "-msse3",
55617            ],
55618        },
55619        android_x86_64: {
55620            cflags: [
55621                "-D_FORTIFY_SOURCE=2",
55622                "-msse3",
55623            ],
55624        },
55625    },
55626}
55627
55628// GN: //third_party/metrics_proto:metrics_proto
55629cc_library_static {
55630    name: "cronet_aml_third_party_metrics_proto_metrics_proto",
55631    srcs: [
55632        ":cronet_aml_third_party_metrics_proto_metrics_proto_gen",
55633    ],
55634    shared_libs: [
55635        "liblog",
55636        "libprotobuf-cpp-lite",
55637    ],
55638    generated_headers: [
55639        "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
55640    ],
55641    export_generated_headers: [
55642        "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
55643    ],
55644    defaults: [
55645        "cronet_aml_cc_defaults",
55646    ],
55647    cflags: [
55648        "-DANDROID",
55649        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55650        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
55651        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
55652        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
55653        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
55654        "-DGOOGLE_PROTOBUF_NO_RTTI",
55655        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
55656        "-DHAVE_PTHREAD",
55657        "-DHAVE_SYS_UIO_H",
55658        "-DNDEBUG",
55659        "-DNO_UNWIND_TABLES",
55660        "-DNVALGRIND",
55661        "-DOFFICIAL_BUILD",
55662        "-D_GNU_SOURCE",
55663        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
55664        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
55665        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
55666        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55667        "-D__STDC_CONSTANT_MACROS",
55668        "-D__STDC_FORMAT_MACROS",
55669        "-fdata-sections",
55670        "-ffunction-sections",
55671        "-fno-asynchronous-unwind-tables",
55672        "-fno-unwind-tables",
55673        "-fstack-protector",
55674        "-fvisibility-inlines-hidden",
55675        "-fvisibility=hidden",
55676        "-g1",
55677    ],
55678    local_include_dirs: [
55679        "./",
55680        "buildtools/third_party/libc++/",
55681        "third_party/libc++/src/include",
55682        "third_party/libc++abi/src/include",
55683        "third_party/protobuf/src/",
55684    ],
55685    cpp_std: "c++20",
55686    ldflags: [
55687        "-Wl,--as-needed",
55688        "-Wl,--gc-sections",
55689        "-Wl,--icf=all",
55690    ],
55691    target: {
55692        android_arm: {
55693            cflags: [
55694                "-D_FORTIFY_SOURCE=2",
55695            ],
55696        },
55697        android_arm64: {
55698            cflags: [
55699                "-D_FORTIFY_SOURCE=2",
55700                "-O2",
55701                "-mno-outline",
55702            ],
55703        },
55704        android_x86: {
55705            cflags: [
55706                "-D_FORTIFY_SOURCE=2",
55707                "-msse3",
55708            ],
55709        },
55710        android_x86_64: {
55711            cflags: [
55712                "-D_FORTIFY_SOURCE=2",
55713                "-msse3",
55714            ],
55715        },
55716    },
55717}
55718
55719// GN: //third_party/metrics_proto:metrics_proto__testing
55720cc_library_static {
55721    name: "cronet_aml_third_party_metrics_proto_metrics_proto__testing",
55722    srcs: [
55723        ":cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing",
55724    ],
55725    shared_libs: [
55726        "liblog",
55727        "libprotobuf-cpp-lite",
55728    ],
55729    generated_headers: [
55730        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
55731    ],
55732    export_generated_headers: [
55733        "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
55734    ],
55735    defaults: [
55736        "cronet_aml_cc_defaults",
55737    ],
55738    cflags: [
55739        "-DANDROID",
55740        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
55741        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
55742        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
55743        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
55744        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
55745        "-DGOOGLE_PROTOBUF_NO_RTTI",
55746        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
55747        "-DHAVE_PTHREAD",
55748        "-DHAVE_SYS_UIO_H",
55749        "-DNDEBUG",
55750        "-DNO_UNWIND_TABLES",
55751        "-DNVALGRIND",
55752        "-DOFFICIAL_BUILD",
55753        "-D_GNU_SOURCE",
55754        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
55755        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
55756        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
55757        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
55758        "-D__STDC_CONSTANT_MACROS",
55759        "-D__STDC_FORMAT_MACROS",
55760        "-fdata-sections",
55761        "-ffunction-sections",
55762        "-fno-asynchronous-unwind-tables",
55763        "-fno-unwind-tables",
55764        "-fstack-protector",
55765        "-fvisibility-inlines-hidden",
55766        "-fvisibility=hidden",
55767        "-g1",
55768    ],
55769    local_include_dirs: [
55770        "./",
55771        "buildtools/third_party/libc++/",
55772        "third_party/libc++/src/include",
55773        "third_party/libc++abi/src/include",
55774        "third_party/protobuf/src/",
55775    ],
55776    cpp_std: "c++20",
55777    ldflags: [
55778        "-Wl,--as-needed",
55779        "-Wl,--gc-sections",
55780        "-Wl,--icf=all",
55781    ],
55782    target: {
55783        android_arm: {
55784            cflags: [
55785                "-D_FORTIFY_SOURCE=2",
55786            ],
55787        },
55788        android_arm64: {
55789            cflags: [
55790                "-D_FORTIFY_SOURCE=2",
55791                "-O2",
55792                "-mno-outline",
55793            ],
55794        },
55795        android_x86: {
55796            cflags: [
55797                "-D_FORTIFY_SOURCE=2",
55798                "-msse3",
55799            ],
55800        },
55801        android_x86_64: {
55802            cflags: [
55803                "-D_FORTIFY_SOURCE=2",
55804                "-msse3",
55805            ],
55806        },
55807    },
55808}
55809
55810// GN: //third_party/metrics_proto:metrics_proto_gen
55811cc_genrule {
55812    name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen",
55813    srcs: [
55814        "third_party/metrics_proto/call_stack_profile.proto",
55815        "third_party/metrics_proto/cast_logs.proto",
55816        "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
55817        "third_party/metrics_proto/chrome_user_metrics_extension.proto",
55818        "third_party/metrics_proto/custom_tab_session.proto",
55819        "third_party/metrics_proto/device_state.proto",
55820        "third_party/metrics_proto/execution_context.proto",
55821        "third_party/metrics_proto/extension_install.proto",
55822        "third_party/metrics_proto/histogram_event.proto",
55823        "third_party/metrics_proto/omnibox_event.proto",
55824        "third_party/metrics_proto/omnibox_focus_type.proto",
55825        "third_party/metrics_proto/omnibox_input_type.proto",
55826        "third_party/metrics_proto/perf_data.proto",
55827        "third_party/metrics_proto/perf_stat.proto",
55828        "third_party/metrics_proto/printer_event.proto",
55829        "third_party/metrics_proto/reporting_info.proto",
55830        "third_party/metrics_proto/sampled_profile.proto",
55831        "third_party/metrics_proto/structured_data.proto",
55832        "third_party/metrics_proto/system_profile.proto",
55833        "third_party/metrics_proto/trace_log.proto",
55834        "third_party/metrics_proto/translate_event.proto",
55835        "third_party/metrics_proto/ukm/aggregate.proto",
55836        "third_party/metrics_proto/ukm/entry.proto",
55837        "third_party/metrics_proto/ukm/report.proto",
55838        "third_party/metrics_proto/ukm/source.proto",
55839        "third_party/metrics_proto/ukm/web_features.proto",
55840        "third_party/metrics_proto/user_action_event.proto",
55841        "third_party/metrics_proto/user_demographics.proto",
55842    ],
55843    tools: [
55844        "cronet_aml_third_party_protobuf_protoc",
55845    ],
55846    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)",
55847    out: [
55848        "external/cronet/third_party/metrics_proto/call_stack_profile.pb.cc",
55849        "external/cronet/third_party/metrics_proto/cast_logs.pb.cc",
55850        "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc",
55851        "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc",
55852        "external/cronet/third_party/metrics_proto/custom_tab_session.pb.cc",
55853        "external/cronet/third_party/metrics_proto/device_state.pb.cc",
55854        "external/cronet/third_party/metrics_proto/execution_context.pb.cc",
55855        "external/cronet/third_party/metrics_proto/extension_install.pb.cc",
55856        "external/cronet/third_party/metrics_proto/histogram_event.pb.cc",
55857        "external/cronet/third_party/metrics_proto/omnibox_event.pb.cc",
55858        "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.cc",
55859        "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.cc",
55860        "external/cronet/third_party/metrics_proto/perf_data.pb.cc",
55861        "external/cronet/third_party/metrics_proto/perf_stat.pb.cc",
55862        "external/cronet/third_party/metrics_proto/printer_event.pb.cc",
55863        "external/cronet/third_party/metrics_proto/reporting_info.pb.cc",
55864        "external/cronet/third_party/metrics_proto/sampled_profile.pb.cc",
55865        "external/cronet/third_party/metrics_proto/structured_data.pb.cc",
55866        "external/cronet/third_party/metrics_proto/system_profile.pb.cc",
55867        "external/cronet/third_party/metrics_proto/trace_log.pb.cc",
55868        "external/cronet/third_party/metrics_proto/translate_event.pb.cc",
55869        "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.cc",
55870        "external/cronet/third_party/metrics_proto/ukm/entry.pb.cc",
55871        "external/cronet/third_party/metrics_proto/ukm/report.pb.cc",
55872        "external/cronet/third_party/metrics_proto/ukm/source.pb.cc",
55873        "external/cronet/third_party/metrics_proto/ukm/web_features.pb.cc",
55874        "external/cronet/third_party/metrics_proto/user_action_event.pb.cc",
55875        "external/cronet/third_party/metrics_proto/user_demographics.pb.cc",
55876    ],
55877    apex_available: [
55878        "com.android.tethering",
55879    ],
55880}
55881
55882// GN: //third_party/metrics_proto:metrics_proto_gen__testing
55883cc_genrule {
55884    name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing",
55885    srcs: [
55886        "third_party/metrics_proto/call_stack_profile.proto",
55887        "third_party/metrics_proto/cast_logs.proto",
55888        "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
55889        "third_party/metrics_proto/chrome_user_metrics_extension.proto",
55890        "third_party/metrics_proto/custom_tab_session.proto",
55891        "third_party/metrics_proto/device_state.proto",
55892        "third_party/metrics_proto/execution_context.proto",
55893        "third_party/metrics_proto/extension_install.proto",
55894        "third_party/metrics_proto/histogram_event.proto",
55895        "third_party/metrics_proto/omnibox_event.proto",
55896        "third_party/metrics_proto/omnibox_focus_type.proto",
55897        "third_party/metrics_proto/omnibox_input_type.proto",
55898        "third_party/metrics_proto/perf_data.proto",
55899        "third_party/metrics_proto/perf_stat.proto",
55900        "third_party/metrics_proto/printer_event.proto",
55901        "third_party/metrics_proto/reporting_info.proto",
55902        "third_party/metrics_proto/sampled_profile.proto",
55903        "third_party/metrics_proto/structured_data.proto",
55904        "third_party/metrics_proto/system_profile.proto",
55905        "third_party/metrics_proto/trace_log.proto",
55906        "third_party/metrics_proto/translate_event.proto",
55907        "third_party/metrics_proto/ukm/aggregate.proto",
55908        "third_party/metrics_proto/ukm/entry.proto",
55909        "third_party/metrics_proto/ukm/report.proto",
55910        "third_party/metrics_proto/ukm/source.proto",
55911        "third_party/metrics_proto/ukm/web_features.proto",
55912        "third_party/metrics_proto/user_action_event.proto",
55913        "third_party/metrics_proto/user_demographics.proto",
55914    ],
55915    tools: [
55916        "cronet_aml_third_party_protobuf_protoc",
55917    ],
55918    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)",
55919    out: [
55920        "external/cronet/third_party/metrics_proto/call_stack_profile.pb.cc",
55921        "external/cronet/third_party/metrics_proto/cast_logs.pb.cc",
55922        "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc",
55923        "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc",
55924        "external/cronet/third_party/metrics_proto/custom_tab_session.pb.cc",
55925        "external/cronet/third_party/metrics_proto/device_state.pb.cc",
55926        "external/cronet/third_party/metrics_proto/execution_context.pb.cc",
55927        "external/cronet/third_party/metrics_proto/extension_install.pb.cc",
55928        "external/cronet/third_party/metrics_proto/histogram_event.pb.cc",
55929        "external/cronet/third_party/metrics_proto/omnibox_event.pb.cc",
55930        "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.cc",
55931        "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.cc",
55932        "external/cronet/third_party/metrics_proto/perf_data.pb.cc",
55933        "external/cronet/third_party/metrics_proto/perf_stat.pb.cc",
55934        "external/cronet/third_party/metrics_proto/printer_event.pb.cc",
55935        "external/cronet/third_party/metrics_proto/reporting_info.pb.cc",
55936        "external/cronet/third_party/metrics_proto/sampled_profile.pb.cc",
55937        "external/cronet/third_party/metrics_proto/structured_data.pb.cc",
55938        "external/cronet/third_party/metrics_proto/system_profile.pb.cc",
55939        "external/cronet/third_party/metrics_proto/trace_log.pb.cc",
55940        "external/cronet/third_party/metrics_proto/translate_event.pb.cc",
55941        "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.cc",
55942        "external/cronet/third_party/metrics_proto/ukm/entry.pb.cc",
55943        "external/cronet/third_party/metrics_proto/ukm/report.pb.cc",
55944        "external/cronet/third_party/metrics_proto/ukm/source.pb.cc",
55945        "external/cronet/third_party/metrics_proto/ukm/web_features.pb.cc",
55946        "external/cronet/third_party/metrics_proto/user_action_event.pb.cc",
55947        "external/cronet/third_party/metrics_proto/user_demographics.pb.cc",
55948    ],
55949    apex_available: [
55950        "com.android.tethering",
55951    ],
55952}
55953
55954// GN: //third_party/metrics_proto:metrics_proto_gen__testing
55955cc_genrule {
55956    name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen__testing_headers",
55957    srcs: [
55958        "third_party/metrics_proto/call_stack_profile.proto",
55959        "third_party/metrics_proto/cast_logs.proto",
55960        "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
55961        "third_party/metrics_proto/chrome_user_metrics_extension.proto",
55962        "third_party/metrics_proto/custom_tab_session.proto",
55963        "third_party/metrics_proto/device_state.proto",
55964        "third_party/metrics_proto/execution_context.proto",
55965        "third_party/metrics_proto/extension_install.proto",
55966        "third_party/metrics_proto/histogram_event.proto",
55967        "third_party/metrics_proto/omnibox_event.proto",
55968        "third_party/metrics_proto/omnibox_focus_type.proto",
55969        "third_party/metrics_proto/omnibox_input_type.proto",
55970        "third_party/metrics_proto/perf_data.proto",
55971        "third_party/metrics_proto/perf_stat.proto",
55972        "third_party/metrics_proto/printer_event.proto",
55973        "third_party/metrics_proto/reporting_info.proto",
55974        "third_party/metrics_proto/sampled_profile.proto",
55975        "third_party/metrics_proto/structured_data.proto",
55976        "third_party/metrics_proto/system_profile.proto",
55977        "third_party/metrics_proto/trace_log.proto",
55978        "third_party/metrics_proto/translate_event.proto",
55979        "third_party/metrics_proto/ukm/aggregate.proto",
55980        "third_party/metrics_proto/ukm/entry.proto",
55981        "third_party/metrics_proto/ukm/report.proto",
55982        "third_party/metrics_proto/ukm/source.proto",
55983        "third_party/metrics_proto/ukm/web_features.proto",
55984        "third_party/metrics_proto/user_action_event.proto",
55985        "third_party/metrics_proto/user_demographics.proto",
55986    ],
55987    tools: [
55988        "cronet_aml_third_party_protobuf_protoc",
55989    ],
55990    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)",
55991    out: [
55992        "external/cronet/third_party/metrics_proto/call_stack_profile.pb.h",
55993        "external/cronet/third_party/metrics_proto/cast_logs.pb.h",
55994        "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h",
55995        "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.h",
55996        "external/cronet/third_party/metrics_proto/custom_tab_session.pb.h",
55997        "external/cronet/third_party/metrics_proto/device_state.pb.h",
55998        "external/cronet/third_party/metrics_proto/execution_context.pb.h",
55999        "external/cronet/third_party/metrics_proto/extension_install.pb.h",
56000        "external/cronet/third_party/metrics_proto/histogram_event.pb.h",
56001        "external/cronet/third_party/metrics_proto/omnibox_event.pb.h",
56002        "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.h",
56003        "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.h",
56004        "external/cronet/third_party/metrics_proto/perf_data.pb.h",
56005        "external/cronet/third_party/metrics_proto/perf_stat.pb.h",
56006        "external/cronet/third_party/metrics_proto/printer_event.pb.h",
56007        "external/cronet/third_party/metrics_proto/reporting_info.pb.h",
56008        "external/cronet/third_party/metrics_proto/sampled_profile.pb.h",
56009        "external/cronet/third_party/metrics_proto/structured_data.pb.h",
56010        "external/cronet/third_party/metrics_proto/system_profile.pb.h",
56011        "external/cronet/third_party/metrics_proto/trace_log.pb.h",
56012        "external/cronet/third_party/metrics_proto/translate_event.pb.h",
56013        "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.h",
56014        "external/cronet/third_party/metrics_proto/ukm/entry.pb.h",
56015        "external/cronet/third_party/metrics_proto/ukm/report.pb.h",
56016        "external/cronet/third_party/metrics_proto/ukm/source.pb.h",
56017        "external/cronet/third_party/metrics_proto/ukm/web_features.pb.h",
56018        "external/cronet/third_party/metrics_proto/user_action_event.pb.h",
56019        "external/cronet/third_party/metrics_proto/user_demographics.pb.h",
56020    ],
56021    export_include_dirs: [
56022        ".",
56023        "protos",
56024        "third_party/metrics_proto",
56025    ],
56026    apex_available: [
56027        "com.android.tethering",
56028    ],
56029}
56030
56031// GN: //third_party/metrics_proto:metrics_proto_gen
56032cc_genrule {
56033    name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
56034    srcs: [
56035        "third_party/metrics_proto/call_stack_profile.proto",
56036        "third_party/metrics_proto/cast_logs.proto",
56037        "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
56038        "third_party/metrics_proto/chrome_user_metrics_extension.proto",
56039        "third_party/metrics_proto/custom_tab_session.proto",
56040        "third_party/metrics_proto/device_state.proto",
56041        "third_party/metrics_proto/execution_context.proto",
56042        "third_party/metrics_proto/extension_install.proto",
56043        "third_party/metrics_proto/histogram_event.proto",
56044        "third_party/metrics_proto/omnibox_event.proto",
56045        "third_party/metrics_proto/omnibox_focus_type.proto",
56046        "third_party/metrics_proto/omnibox_input_type.proto",
56047        "third_party/metrics_proto/perf_data.proto",
56048        "third_party/metrics_proto/perf_stat.proto",
56049        "third_party/metrics_proto/printer_event.proto",
56050        "third_party/metrics_proto/reporting_info.proto",
56051        "third_party/metrics_proto/sampled_profile.proto",
56052        "third_party/metrics_proto/structured_data.proto",
56053        "third_party/metrics_proto/system_profile.proto",
56054        "third_party/metrics_proto/trace_log.proto",
56055        "third_party/metrics_proto/translate_event.proto",
56056        "third_party/metrics_proto/ukm/aggregate.proto",
56057        "third_party/metrics_proto/ukm/entry.proto",
56058        "third_party/metrics_proto/ukm/report.proto",
56059        "third_party/metrics_proto/ukm/source.proto",
56060        "third_party/metrics_proto/ukm/web_features.proto",
56061        "third_party/metrics_proto/user_action_event.proto",
56062        "third_party/metrics_proto/user_demographics.proto",
56063    ],
56064    tools: [
56065        "cronet_aml_third_party_protobuf_protoc",
56066    ],
56067    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)",
56068    out: [
56069        "external/cronet/third_party/metrics_proto/call_stack_profile.pb.h",
56070        "external/cronet/third_party/metrics_proto/cast_logs.pb.h",
56071        "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h",
56072        "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.h",
56073        "external/cronet/third_party/metrics_proto/custom_tab_session.pb.h",
56074        "external/cronet/third_party/metrics_proto/device_state.pb.h",
56075        "external/cronet/third_party/metrics_proto/execution_context.pb.h",
56076        "external/cronet/third_party/metrics_proto/extension_install.pb.h",
56077        "external/cronet/third_party/metrics_proto/histogram_event.pb.h",
56078        "external/cronet/third_party/metrics_proto/omnibox_event.pb.h",
56079        "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.h",
56080        "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.h",
56081        "external/cronet/third_party/metrics_proto/perf_data.pb.h",
56082        "external/cronet/third_party/metrics_proto/perf_stat.pb.h",
56083        "external/cronet/third_party/metrics_proto/printer_event.pb.h",
56084        "external/cronet/third_party/metrics_proto/reporting_info.pb.h",
56085        "external/cronet/third_party/metrics_proto/sampled_profile.pb.h",
56086        "external/cronet/third_party/metrics_proto/structured_data.pb.h",
56087        "external/cronet/third_party/metrics_proto/system_profile.pb.h",
56088        "external/cronet/third_party/metrics_proto/trace_log.pb.h",
56089        "external/cronet/third_party/metrics_proto/translate_event.pb.h",
56090        "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.h",
56091        "external/cronet/third_party/metrics_proto/ukm/entry.pb.h",
56092        "external/cronet/third_party/metrics_proto/ukm/report.pb.h",
56093        "external/cronet/third_party/metrics_proto/ukm/source.pb.h",
56094        "external/cronet/third_party/metrics_proto/ukm/web_features.pb.h",
56095        "external/cronet/third_party/metrics_proto/user_action_event.pb.h",
56096        "external/cronet/third_party/metrics_proto/user_demographics.pb.h",
56097    ],
56098    export_include_dirs: [
56099        ".",
56100        "protos",
56101        "third_party/metrics_proto",
56102    ],
56103    apex_available: [
56104        "com.android.tethering",
56105    ],
56106}
56107
56108// GN: //third_party/modp_b64:modp_b64
56109cc_library_static {
56110    name: "cronet_aml_third_party_modp_b64_modp_b64",
56111    srcs: [
56112        "third_party/modp_b64/modp_b64.cc",
56113    ],
56114    defaults: [
56115        "cronet_aml_cc_defaults",
56116    ],
56117    cflags: [
56118        "-DANDROID",
56119        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56120        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
56121        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
56122        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
56123        "-DHAVE_SYS_UIO_H",
56124        "-DNDEBUG",
56125        "-DNO_UNWIND_TABLES",
56126        "-DNVALGRIND",
56127        "-DOFFICIAL_BUILD",
56128        "-D_GNU_SOURCE",
56129        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
56130        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
56131        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
56132        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56133        "-D__STDC_CONSTANT_MACROS",
56134        "-D__STDC_FORMAT_MACROS",
56135        "-fdata-sections",
56136        "-ffunction-sections",
56137        "-fno-asynchronous-unwind-tables",
56138        "-fno-unwind-tables",
56139        "-fstack-protector",
56140        "-fvisibility-inlines-hidden",
56141        "-fvisibility=hidden",
56142        "-g1",
56143    ],
56144    local_include_dirs: [
56145        "./",
56146        "buildtools/third_party/libc++/",
56147        "third_party/libc++/src/include",
56148        "third_party/libc++abi/src/include",
56149    ],
56150    cpp_std: "c++20",
56151    ldflags: [
56152        "-Wl,--as-needed",
56153        "-Wl,--gc-sections",
56154        "-Wl,--icf=all",
56155    ],
56156    target: {
56157        android_arm: {
56158            cflags: [
56159                "-D_FORTIFY_SOURCE=2",
56160            ],
56161        },
56162        android_arm64: {
56163            cflags: [
56164                "-D_FORTIFY_SOURCE=2",
56165                "-O2",
56166                "-mno-outline",
56167            ],
56168        },
56169        android_x86: {
56170            cflags: [
56171                "-D_FORTIFY_SOURCE=2",
56172                "-msse3",
56173            ],
56174        },
56175        android_x86_64: {
56176            cflags: [
56177                "-D_FORTIFY_SOURCE=2",
56178                "-msse3",
56179            ],
56180        },
56181    },
56182}
56183
56184// GN: //third_party/modp_b64:modp_b64__testing
56185cc_library_static {
56186    name: "cronet_aml_third_party_modp_b64_modp_b64__testing",
56187    srcs: [
56188        "third_party/modp_b64/modp_b64.cc",
56189    ],
56190    host_supported: true,
56191    defaults: [
56192        "cronet_aml_cc_defaults",
56193    ],
56194    cflags: [
56195        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
56196        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
56197        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
56198        "-DNDEBUG",
56199        "-DNO_UNWIND_TABLES",
56200        "-DNVALGRIND",
56201        "-DOFFICIAL_BUILD",
56202        "-D_GNU_SOURCE",
56203        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
56204        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
56205        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
56206        "-D__STDC_CONSTANT_MACROS",
56207        "-D__STDC_FORMAT_MACROS",
56208        "-fdata-sections",
56209        "-ffunction-sections",
56210        "-fno-asynchronous-unwind-tables",
56211        "-fno-unwind-tables",
56212        "-fstack-protector",
56213        "-fvisibility-inlines-hidden",
56214        "-fvisibility=hidden",
56215        "-g1",
56216    ],
56217    local_include_dirs: [
56218        "./",
56219        "buildtools/third_party/libc++/",
56220        "third_party/libc++/src/include",
56221        "third_party/libc++abi/src/include",
56222    ],
56223    cpp_std: "c++20",
56224    ldflags: [
56225        "-Wl,--as-needed",
56226        "-Wl,--gc-sections",
56227        "-Wl,--icf=all",
56228    ],
56229    target: {
56230        android_arm: {
56231            cflags: [
56232                "-DANDROID",
56233                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56234                "-DHAVE_SYS_UIO_H",
56235                "-D_FORTIFY_SOURCE=2",
56236                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56237            ],
56238        },
56239        android_arm64: {
56240            cflags: [
56241                "-DANDROID",
56242                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56243                "-DHAVE_SYS_UIO_H",
56244                "-D_FORTIFY_SOURCE=2",
56245                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56246                "-O2",
56247                "-mno-outline",
56248            ],
56249        },
56250        android_riscv64: {
56251            cflags: [
56252                "-DANDROID",
56253                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56254                "-DHAVE_SYS_UIO_H",
56255                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56256            ],
56257        },
56258        android_x86: {
56259            cflags: [
56260                "-DANDROID",
56261                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56262                "-DHAVE_SYS_UIO_H",
56263                "-D_FORTIFY_SOURCE=2",
56264                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56265                "-msse3",
56266            ],
56267        },
56268        android_x86_64: {
56269            cflags: [
56270                "-DANDROID",
56271                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56272                "-DHAVE_SYS_UIO_H",
56273                "-D_FORTIFY_SOURCE=2",
56274                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56275                "-msse3",
56276            ],
56277        },
56278        host: {
56279            cflags: [
56280                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
56281                "-DUSE_AURA=1",
56282                "-DUSE_OZONE=1",
56283                "-DUSE_UDEV",
56284                "-D_FILE_OFFSET_BITS=64",
56285                "-D_FORTIFY_SOURCE=2",
56286                "-D_LARGEFILE64_SOURCE",
56287                "-D_LARGEFILE_SOURCE",
56288                "-O2",
56289                "-msse3",
56290            ],
56291            compile_multilib: "64",
56292        },
56293    },
56294}
56295
56296// GN: //third_party/netty4:netty_all_java__testing
56297java_import {
56298    name: "cronet_aml_third_party_netty4_netty_all_java__testing",
56299    apex_available: [
56300        "com.android.tethering",
56301    ],
56302    min_sdk_version: "30",
56303    sdk_version: "current",
56304    visibility: [
56305        "//external/cronet:__subpackages__",
56306        "//packages/modules/Connectivity:__subpackages__",
56307    ],
56308    jars: [
56309        "third_party/netty4/src/jar/all-in-one/netty-all-4.1.9.Final.jar",
56310    ],
56311}
56312
56313// GN: //third_party/netty-tcnative:netty-tcnative-so__testing
56314cc_library_shared {
56315    name: "cronet_aml_third_party_netty_tcnative_netty_tcnative_so__testing",
56316    srcs: [
56317        "third_party/netty-tcnative/src/c/bb.c",
56318        "third_party/netty-tcnative/src/c/error.c",
56319        "third_party/netty-tcnative/src/c/jnilib.c",
56320        "third_party/netty-tcnative/src/c/native_constants.c",
56321        "third_party/netty-tcnative/src/c/ssl.c",
56322        "third_party/netty-tcnative/src/c/sslcontext.c",
56323        "third_party/netty-tcnative/src/c/sslutils.c",
56324    ],
56325    whole_static_libs: [
56326        "cronet_aml_buildtools_third_party_libc___libc____testing",
56327        "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
56328        "cronet_aml_third_party_apache_portable_runtime_apr__testing",
56329        "cronet_aml_third_party_boringssl_boringssl__testing",
56330        "cronet_aml_third_party_boringssl_boringssl_asm__testing",
56331    ],
56332    defaults: [
56333        "cronet_aml_cc_defaults",
56334    ],
56335    cflags: [
56336        "-DANDROID",
56337        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56338        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
56339        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
56340        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
56341        "-DHAVE_OPENSSL",
56342        "-DHAVE_SYS_UIO_H",
56343        "-DNDEBUG",
56344        "-DNO_UNWIND_TABLES",
56345        "-DNVALGRIND",
56346        "-DOFFICIAL_BUILD",
56347        "-D_GNU_SOURCE",
56348        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
56349        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
56350        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
56351        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56352        "-D__STDC_CONSTANT_MACROS",
56353        "-D__STDC_FORMAT_MACROS",
56354        "-Wno-error=pointer-bool-conversion",
56355        "-fdata-sections",
56356        "-ffunction-sections",
56357        "-fno-asynchronous-unwind-tables",
56358        "-fno-unwind-tables",
56359        "-fstack-protector",
56360        "-fvisibility-inlines-hidden",
56361        "-fvisibility=hidden",
56362        "-g1",
56363    ],
56364    local_include_dirs: [
56365        "./",
56366        "buildtools/third_party/libc++/",
56367        "third_party/apache-portable-runtime/src/include/",
56368        "third_party/boringssl/src/include/",
56369        "third_party/libc++/src/include",
56370        "third_party/libc++abi/src/include",
56371    ],
56372    cpp_std: "c++20",
56373    ldflags: [
56374        "-Wl,--as-needed",
56375        "-Wl,--gc-sections",
56376        "-Wl,--icf=all",
56377    ],
56378    stem: "libnetty-tcnative",
56379    visibility: [
56380        "//external/cronet:__subpackages__",
56381        "//packages/modules/Connectivity:__subpackages__",
56382    ],
56383    target: {
56384        android_arm: {
56385            cflags: [
56386                "-D_FORTIFY_SOURCE=2",
56387            ],
56388        },
56389        android_arm64: {
56390            cflags: [
56391                "-D_FORTIFY_SOURCE=2",
56392                "-O2",
56393                "-mno-outline",
56394            ],
56395        },
56396        android_x86: {
56397            cflags: [
56398                "-D_FORTIFY_SOURCE=2",
56399                "-msse3",
56400            ],
56401        },
56402        android_x86_64: {
56403            cflags: [
56404                "-D_FORTIFY_SOURCE=2",
56405                "-msse3",
56406            ],
56407        },
56408    },
56409}
56410
56411// GN: //third_party/protobuf:protobuf_full
56412cc_library_static {
56413    name: "cronet_aml_third_party_protobuf_protobuf_full",
56414    srcs: [
56415        "third_party/protobuf/src/google/protobuf/any.cc",
56416        "third_party/protobuf/src/google/protobuf/any.pb.cc",
56417        "third_party/protobuf/src/google/protobuf/api.pb.cc",
56418        "third_party/protobuf/src/google/protobuf/compiler/importer.cc",
56419        "third_party/protobuf/src/google/protobuf/compiler/parser.cc",
56420        "third_party/protobuf/src/google/protobuf/descriptor.cc",
56421        "third_party/protobuf/src/google/protobuf/descriptor.pb.cc",
56422        "third_party/protobuf/src/google/protobuf/descriptor_database.cc",
56423        "third_party/protobuf/src/google/protobuf/duration.pb.cc",
56424        "third_party/protobuf/src/google/protobuf/dynamic_message.cc",
56425        "third_party/protobuf/src/google/protobuf/empty.pb.cc",
56426        "third_party/protobuf/src/google/protobuf/extension_set_heavy.cc",
56427        "third_party/protobuf/src/google/protobuf/field_mask.pb.cc",
56428        "third_party/protobuf/src/google/protobuf/generated_message_bases.cc",
56429        "third_party/protobuf/src/google/protobuf/generated_message_reflection.cc",
56430        "third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc",
56431        "third_party/protobuf/src/google/protobuf/io/gzip_stream.cc",
56432        "third_party/protobuf/src/google/protobuf/io/printer.cc",
56433        "third_party/protobuf/src/google/protobuf/io/tokenizer.cc",
56434        "third_party/protobuf/src/google/protobuf/map_field.cc",
56435        "third_party/protobuf/src/google/protobuf/message.cc",
56436        "third_party/protobuf/src/google/protobuf/reflection_ops.cc",
56437        "third_party/protobuf/src/google/protobuf/service.cc",
56438        "third_party/protobuf/src/google/protobuf/source_context.pb.cc",
56439        "third_party/protobuf/src/google/protobuf/struct.pb.cc",
56440        "third_party/protobuf/src/google/protobuf/stubs/substitute.cc",
56441        "third_party/protobuf/src/google/protobuf/text_format.cc",
56442        "third_party/protobuf/src/google/protobuf/timestamp.pb.cc",
56443        "third_party/protobuf/src/google/protobuf/type.pb.cc",
56444        "third_party/protobuf/src/google/protobuf/unknown_field_set.cc",
56445        "third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc",
56446        "third_party/protobuf/src/google/protobuf/util/field_comparator.cc",
56447        "third_party/protobuf/src/google/protobuf/util/field_mask_util.cc",
56448        "third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc",
56449        "third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc",
56450        "third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc",
56451        "third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc",
56452        "third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc",
56453        "third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc",
56454        "third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc",
56455        "third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc",
56456        "third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc",
56457        "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc",
56458        "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc",
56459        "third_party/protobuf/src/google/protobuf/util/internal/type_info.cc",
56460        "third_party/protobuf/src/google/protobuf/util/internal/utility.cc",
56461        "third_party/protobuf/src/google/protobuf/util/json_util.cc",
56462        "third_party/protobuf/src/google/protobuf/util/message_differencer.cc",
56463        "third_party/protobuf/src/google/protobuf/util/time_util.cc",
56464        "third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc",
56465        "third_party/protobuf/src/google/protobuf/wire_format.cc",
56466        "third_party/protobuf/src/google/protobuf/wrappers.pb.cc",
56467    ],
56468    shared_libs: [
56469        "libz",
56470    ],
56471    host_supported: true,
56472    device_supported: false,
56473    defaults: [
56474        "cronet_aml_cc_defaults",
56475    ],
56476    cflags: [
56477        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
56478        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
56479        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
56480        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
56481        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
56482        "-DGOOGLE_PROTOBUF_NO_RTTI",
56483        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
56484        "-DHAVE_PTHREAD",
56485        "-DHAVE_ZLIB",
56486        "-DNDEBUG",
56487        "-DNO_UNWIND_TABLES",
56488        "-DNVALGRIND",
56489        "-DOFFICIAL_BUILD",
56490        "-DUSE_AURA=1",
56491        "-DUSE_OZONE=1",
56492        "-DUSE_UDEV",
56493        "-D_FILE_OFFSET_BITS=64",
56494        "-D_GNU_SOURCE",
56495        "-D_LARGEFILE64_SOURCE",
56496        "-D_LARGEFILE_SOURCE",
56497        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
56498        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
56499        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
56500        "-O2",
56501        "-fdata-sections",
56502        "-ffunction-sections",
56503        "-fno-asynchronous-unwind-tables",
56504        "-fno-unwind-tables",
56505        "-fstack-protector",
56506        "-fvisibility-inlines-hidden",
56507        "-fvisibility=hidden",
56508        "-g1",
56509        "-msse3",
56510    ],
56511    local_include_dirs: [
56512        "./",
56513        "buildtools/third_party/libc++/",
56514        "third_party/libc++/src/include",
56515        "third_party/libc++abi/src/include",
56516        "third_party/protobuf/src/",
56517    ],
56518    cpp_std: "c++20",
56519    ldflags: [
56520        "-Wl,--as-needed",
56521        "-Wl,--gc-sections",
56522        "-Wl,--icf=all",
56523    ],
56524}
56525
56526// GN: //third_party/protobuf:protobuf_full__testing
56527cc_library_static {
56528    name: "cronet_aml_third_party_protobuf_protobuf_full__testing",
56529    srcs: [
56530        "third_party/protobuf/src/google/protobuf/any.cc",
56531        "third_party/protobuf/src/google/protobuf/any.pb.cc",
56532        "third_party/protobuf/src/google/protobuf/api.pb.cc",
56533        "third_party/protobuf/src/google/protobuf/compiler/importer.cc",
56534        "third_party/protobuf/src/google/protobuf/compiler/parser.cc",
56535        "third_party/protobuf/src/google/protobuf/descriptor.cc",
56536        "third_party/protobuf/src/google/protobuf/descriptor.pb.cc",
56537        "third_party/protobuf/src/google/protobuf/descriptor_database.cc",
56538        "third_party/protobuf/src/google/protobuf/duration.pb.cc",
56539        "third_party/protobuf/src/google/protobuf/dynamic_message.cc",
56540        "third_party/protobuf/src/google/protobuf/empty.pb.cc",
56541        "third_party/protobuf/src/google/protobuf/extension_set_heavy.cc",
56542        "third_party/protobuf/src/google/protobuf/field_mask.pb.cc",
56543        "third_party/protobuf/src/google/protobuf/generated_message_bases.cc",
56544        "third_party/protobuf/src/google/protobuf/generated_message_reflection.cc",
56545        "third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc",
56546        "third_party/protobuf/src/google/protobuf/io/gzip_stream.cc",
56547        "third_party/protobuf/src/google/protobuf/io/printer.cc",
56548        "third_party/protobuf/src/google/protobuf/io/tokenizer.cc",
56549        "third_party/protobuf/src/google/protobuf/map_field.cc",
56550        "third_party/protobuf/src/google/protobuf/message.cc",
56551        "third_party/protobuf/src/google/protobuf/reflection_ops.cc",
56552        "third_party/protobuf/src/google/protobuf/service.cc",
56553        "third_party/protobuf/src/google/protobuf/source_context.pb.cc",
56554        "third_party/protobuf/src/google/protobuf/struct.pb.cc",
56555        "third_party/protobuf/src/google/protobuf/stubs/substitute.cc",
56556        "third_party/protobuf/src/google/protobuf/text_format.cc",
56557        "third_party/protobuf/src/google/protobuf/timestamp.pb.cc",
56558        "third_party/protobuf/src/google/protobuf/type.pb.cc",
56559        "third_party/protobuf/src/google/protobuf/unknown_field_set.cc",
56560        "third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc",
56561        "third_party/protobuf/src/google/protobuf/util/field_comparator.cc",
56562        "third_party/protobuf/src/google/protobuf/util/field_mask_util.cc",
56563        "third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc",
56564        "third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc",
56565        "third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc",
56566        "third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc",
56567        "third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc",
56568        "third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc",
56569        "third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc",
56570        "third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc",
56571        "third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc",
56572        "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc",
56573        "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc",
56574        "third_party/protobuf/src/google/protobuf/util/internal/type_info.cc",
56575        "third_party/protobuf/src/google/protobuf/util/internal/utility.cc",
56576        "third_party/protobuf/src/google/protobuf/util/json_util.cc",
56577        "third_party/protobuf/src/google/protobuf/util/message_differencer.cc",
56578        "third_party/protobuf/src/google/protobuf/util/time_util.cc",
56579        "third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc",
56580        "third_party/protobuf/src/google/protobuf/wire_format.cc",
56581        "third_party/protobuf/src/google/protobuf/wrappers.pb.cc",
56582    ],
56583    shared_libs: [
56584        "libz",
56585    ],
56586    host_supported: true,
56587    defaults: [
56588        "cronet_aml_cc_defaults",
56589    ],
56590    cflags: [
56591        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
56592        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
56593        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
56594        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
56595        "-DGOOGLE_PROTOBUF_NO_RTTI",
56596        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
56597        "-DHAVE_PTHREAD",
56598        "-DHAVE_ZLIB",
56599        "-DNDEBUG",
56600        "-DNO_UNWIND_TABLES",
56601        "-DNVALGRIND",
56602        "-DOFFICIAL_BUILD",
56603        "-D_GNU_SOURCE",
56604        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
56605        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
56606        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
56607        "-fdata-sections",
56608        "-ffunction-sections",
56609        "-fno-asynchronous-unwind-tables",
56610        "-fno-unwind-tables",
56611        "-fstack-protector",
56612        "-fvisibility-inlines-hidden",
56613        "-fvisibility=hidden",
56614        "-g1",
56615    ],
56616    local_include_dirs: [
56617        "./",
56618        "buildtools/third_party/libc++/",
56619        "third_party/libc++/src/include",
56620        "third_party/libc++abi/src/include",
56621        "third_party/protobuf/src/",
56622    ],
56623    cpp_std: "c++20",
56624    ldflags: [
56625        "-Wl,--as-needed",
56626        "-Wl,--gc-sections",
56627        "-Wl,--icf=all",
56628    ],
56629    target: {
56630        android: {
56631            shared_libs: [
56632                "liblog",
56633            ],
56634        },
56635        android_arm: {
56636            cflags: [
56637                "-DANDROID",
56638                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56639                "-DHAVE_SYS_UIO_H",
56640                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56641            ],
56642        },
56643        android_arm64: {
56644            cflags: [
56645                "-DANDROID",
56646                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56647                "-DHAVE_SYS_UIO_H",
56648                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56649                "-O2",
56650                "-mno-outline",
56651            ],
56652        },
56653        android_riscv64: {
56654            cflags: [
56655                "-DANDROID",
56656                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56657                "-DHAVE_SYS_UIO_H",
56658                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56659            ],
56660        },
56661        android_x86: {
56662            cflags: [
56663                "-DANDROID",
56664                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56665                "-DHAVE_SYS_UIO_H",
56666                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56667                "-msse3",
56668            ],
56669        },
56670        android_x86_64: {
56671            cflags: [
56672                "-DANDROID",
56673                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56674                "-DHAVE_SYS_UIO_H",
56675                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56676                "-msse3",
56677            ],
56678        },
56679        host: {
56680            cflags: [
56681                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
56682                "-DUSE_AURA=1",
56683                "-DUSE_OZONE=1",
56684                "-DUSE_UDEV",
56685                "-D_FILE_OFFSET_BITS=64",
56686                "-D_LARGEFILE64_SOURCE",
56687                "-D_LARGEFILE_SOURCE",
56688                "-O2",
56689                "-msse3",
56690            ],
56691            compile_multilib: "64",
56692        },
56693    },
56694}
56695
56696// GN: //third_party/protobuf:protobuf_lite
56697cc_library_static {
56698    name: "cronet_aml_third_party_protobuf_protobuf_lite",
56699    srcs: [
56700        "third_party/protobuf/src/google/protobuf/any_lite.cc",
56701        "third_party/protobuf/src/google/protobuf/arena.cc",
56702        "third_party/protobuf/src/google/protobuf/arenastring.cc",
56703        "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
56704        "third_party/protobuf/src/google/protobuf/extension_set.cc",
56705        "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
56706        "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
56707        "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
56708        "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
56709        "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
56710        "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
56711        "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
56712        "third_party/protobuf/src/google/protobuf/io/strtod.cc",
56713        "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
56714        "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
56715        "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
56716        "third_party/protobuf/src/google/protobuf/map.cc",
56717        "third_party/protobuf/src/google/protobuf/message_lite.cc",
56718        "third_party/protobuf/src/google/protobuf/parse_context.cc",
56719        "third_party/protobuf/src/google/protobuf/repeated_field.cc",
56720        "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
56721        "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
56722        "third_party/protobuf/src/google/protobuf/stubs/common.cc",
56723        "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
56724        "third_party/protobuf/src/google/protobuf/stubs/status.cc",
56725        "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
56726        "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
56727        "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
56728        "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
56729        "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
56730        "third_party/protobuf/src/google/protobuf/stubs/time.cc",
56731        "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
56732    ],
56733    host_supported: true,
56734    defaults: [
56735        "cronet_aml_cc_defaults",
56736    ],
56737    cflags: [
56738        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
56739        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
56740        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
56741        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
56742        "-DGOOGLE_PROTOBUF_NO_RTTI",
56743        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
56744        "-DHAVE_PTHREAD",
56745        "-DNDEBUG",
56746        "-DNO_UNWIND_TABLES",
56747        "-DNVALGRIND",
56748        "-DOFFICIAL_BUILD",
56749        "-D_GNU_SOURCE",
56750        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
56751        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
56752        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
56753        "-O2",
56754        "-fdata-sections",
56755        "-ffunction-sections",
56756        "-fno-asynchronous-unwind-tables",
56757        "-fno-unwind-tables",
56758        "-fstack-protector",
56759        "-fvisibility-inlines-hidden",
56760        "-fvisibility=hidden",
56761        "-g1",
56762    ],
56763    local_include_dirs: [
56764        "./",
56765        "buildtools/third_party/libc++/",
56766        "third_party/libc++/src/include",
56767        "third_party/libc++abi/src/include",
56768        "third_party/protobuf/src/",
56769    ],
56770    cpp_std: "c++20",
56771    ldflags: [
56772        "-Wl,--as-needed",
56773        "-Wl,--gc-sections",
56774        "-Wl,--icf=all",
56775    ],
56776    target: {
56777        android: {
56778            shared_libs: [
56779                "liblog",
56780            ],
56781        },
56782        android_arm: {
56783            cflags: [
56784                "-DANDROID",
56785                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56786                "-DHAVE_SYS_UIO_H",
56787                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56788            ],
56789        },
56790        android_arm64: {
56791            cflags: [
56792                "-DANDROID",
56793                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56794                "-DHAVE_SYS_UIO_H",
56795                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56796                "-mno-outline",
56797            ],
56798        },
56799        android_riscv64: {
56800            cflags: [
56801                "-DANDROID",
56802                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56803                "-DHAVE_SYS_UIO_H",
56804                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56805            ],
56806        },
56807        android_x86: {
56808            cflags: [
56809                "-DANDROID",
56810                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56811                "-DHAVE_SYS_UIO_H",
56812                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56813                "-msse3",
56814            ],
56815        },
56816        android_x86_64: {
56817            cflags: [
56818                "-DANDROID",
56819                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56820                "-DHAVE_SYS_UIO_H",
56821                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56822                "-msse3",
56823            ],
56824        },
56825        host: {
56826            cflags: [
56827                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
56828                "-DUSE_AURA=1",
56829                "-DUSE_OZONE=1",
56830                "-DUSE_UDEV",
56831                "-D_FILE_OFFSET_BITS=64",
56832                "-D_LARGEFILE64_SOURCE",
56833                "-D_LARGEFILE_SOURCE",
56834                "-msse3",
56835            ],
56836            compile_multilib: "64",
56837        },
56838    },
56839}
56840
56841// GN: //third_party/protobuf:protobuf_lite__testing
56842cc_library_static {
56843    name: "cronet_aml_third_party_protobuf_protobuf_lite__testing",
56844    srcs: [
56845        "third_party/protobuf/src/google/protobuf/any_lite.cc",
56846        "third_party/protobuf/src/google/protobuf/arena.cc",
56847        "third_party/protobuf/src/google/protobuf/arenastring.cc",
56848        "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
56849        "third_party/protobuf/src/google/protobuf/extension_set.cc",
56850        "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
56851        "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
56852        "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
56853        "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
56854        "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
56855        "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
56856        "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
56857        "third_party/protobuf/src/google/protobuf/io/strtod.cc",
56858        "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
56859        "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
56860        "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
56861        "third_party/protobuf/src/google/protobuf/map.cc",
56862        "third_party/protobuf/src/google/protobuf/message_lite.cc",
56863        "third_party/protobuf/src/google/protobuf/parse_context.cc",
56864        "third_party/protobuf/src/google/protobuf/repeated_field.cc",
56865        "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
56866        "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
56867        "third_party/protobuf/src/google/protobuf/stubs/common.cc",
56868        "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
56869        "third_party/protobuf/src/google/protobuf/stubs/status.cc",
56870        "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
56871        "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
56872        "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
56873        "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
56874        "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
56875        "third_party/protobuf/src/google/protobuf/stubs/time.cc",
56876        "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
56877    ],
56878    host_supported: true,
56879    defaults: [
56880        "cronet_aml_cc_defaults",
56881    ],
56882    cflags: [
56883        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
56884        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
56885        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
56886        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
56887        "-DGOOGLE_PROTOBUF_NO_RTTI",
56888        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
56889        "-DHAVE_PTHREAD",
56890        "-DNDEBUG",
56891        "-DNO_UNWIND_TABLES",
56892        "-DNVALGRIND",
56893        "-DOFFICIAL_BUILD",
56894        "-D_GNU_SOURCE",
56895        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
56896        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
56897        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
56898        "-O2",
56899        "-fdata-sections",
56900        "-ffunction-sections",
56901        "-fno-asynchronous-unwind-tables",
56902        "-fno-unwind-tables",
56903        "-fstack-protector",
56904        "-fvisibility-inlines-hidden",
56905        "-fvisibility=hidden",
56906        "-g1",
56907    ],
56908    local_include_dirs: [
56909        "./",
56910        "buildtools/third_party/libc++/",
56911        "third_party/libc++/src/include",
56912        "third_party/libc++abi/src/include",
56913        "third_party/protobuf/src/",
56914    ],
56915    cpp_std: "c++20",
56916    ldflags: [
56917        "-Wl,--as-needed",
56918        "-Wl,--gc-sections",
56919        "-Wl,--icf=all",
56920    ],
56921    target: {
56922        android: {
56923            shared_libs: [
56924                "liblog",
56925            ],
56926        },
56927        android_arm: {
56928            cflags: [
56929                "-DANDROID",
56930                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56931                "-DHAVE_SYS_UIO_H",
56932                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56933            ],
56934        },
56935        android_arm64: {
56936            cflags: [
56937                "-DANDROID",
56938                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56939                "-DHAVE_SYS_UIO_H",
56940                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56941                "-mno-outline",
56942            ],
56943        },
56944        android_riscv64: {
56945            cflags: [
56946                "-DANDROID",
56947                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56948                "-DHAVE_SYS_UIO_H",
56949                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56950            ],
56951        },
56952        android_x86: {
56953            cflags: [
56954                "-DANDROID",
56955                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56956                "-DHAVE_SYS_UIO_H",
56957                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56958                "-msse3",
56959            ],
56960        },
56961        android_x86_64: {
56962            cflags: [
56963                "-DANDROID",
56964                "-DANDROID_NDK_VERSION_ROLL=r26b_1",
56965                "-DHAVE_SYS_UIO_H",
56966                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
56967                "-msse3",
56968            ],
56969        },
56970        host: {
56971            cflags: [
56972                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
56973                "-DUSE_AURA=1",
56974                "-DUSE_OZONE=1",
56975                "-DUSE_UDEV",
56976                "-D_FILE_OFFSET_BITS=64",
56977                "-D_LARGEFILE64_SOURCE",
56978                "-D_LARGEFILE_SOURCE",
56979                "-msse3",
56980            ],
56981            compile_multilib: "64",
56982        },
56983    },
56984}
56985
56986// GN: //third_party/protobuf:protoc
56987cc_binary {
56988    name: "cronet_aml_third_party_protobuf_protoc",
56989    srcs: [
56990        "third_party/protobuf/src/google/protobuf/compiler/main.cc",
56991    ],
56992    shared_libs: [
56993        "libz",
56994    ],
56995    whole_static_libs: [
56996        "cronet_aml_buildtools_third_party_libc___libc__",
56997        "cronet_aml_buildtools_third_party_libc__abi_libc__abi",
56998        "cronet_aml_third_party_protobuf_protobuf_full",
56999        "cronet_aml_third_party_protobuf_protobuf_lite",
57000        "cronet_aml_third_party_protobuf_protoc_java",
57001        "cronet_aml_third_party_protobuf_protoc_lib",
57002        "cronet_aml_third_party_protobuf_protoc_python",
57003    ],
57004    host_supported: true,
57005    device_supported: false,
57006    defaults: [
57007        "cronet_aml_cc_defaults",
57008    ],
57009    cflags: [
57010        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57011        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57012        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
57013        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57014        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57015        "-DGOOGLE_PROTOBUF_NO_RTTI",
57016        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57017        "-DHAVE_PTHREAD",
57018        "-DNDEBUG",
57019        "-DNO_UNWIND_TABLES",
57020        "-DNVALGRIND",
57021        "-DOFFICIAL_BUILD",
57022        "-DUSE_AURA=1",
57023        "-DUSE_OZONE=1",
57024        "-DUSE_UDEV",
57025        "-D_FILE_OFFSET_BITS=64",
57026        "-D_GNU_SOURCE",
57027        "-D_LARGEFILE64_SOURCE",
57028        "-D_LARGEFILE_SOURCE",
57029        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57030        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57031        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57032        "-O2",
57033        "-fdata-sections",
57034        "-ffunction-sections",
57035        "-fno-asynchronous-unwind-tables",
57036        "-fno-unwind-tables",
57037        "-fstack-protector",
57038        "-fvisibility-inlines-hidden",
57039        "-fvisibility=hidden",
57040        "-g1",
57041        "-msse3",
57042    ],
57043    local_include_dirs: [
57044        "./",
57045        "buildtools/third_party/libc++/",
57046        "third_party/libc++/src/include",
57047        "third_party/libc++abi/src/include",
57048        "third_party/protobuf/src/",
57049    ],
57050    cpp_std: "c++20",
57051    ldflags: [
57052        "-Wl,--as-needed",
57053        "-Wl,--gc-sections",
57054        "-Wl,--icf=all",
57055    ],
57056}
57057
57058// GN: //third_party/protobuf:protoc__testing
57059cc_binary {
57060    name: "cronet_aml_third_party_protobuf_protoc__testing",
57061    srcs: [
57062        "third_party/protobuf/src/google/protobuf/compiler/main.cc",
57063    ],
57064    shared_libs: [
57065        "libz",
57066    ],
57067    whole_static_libs: [
57068        "cronet_aml_buildtools_third_party_libc___libc____testing",
57069        "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
57070        "cronet_aml_third_party_protobuf_protobuf_full__testing",
57071        "cronet_aml_third_party_protobuf_protobuf_lite__testing",
57072        "cronet_aml_third_party_protobuf_protoc_java__testing",
57073        "cronet_aml_third_party_protobuf_protoc_lib__testing",
57074        "cronet_aml_third_party_protobuf_protoc_python__testing",
57075    ],
57076    host_supported: true,
57077    device_supported: false,
57078    defaults: [
57079        "cronet_aml_cc_defaults",
57080    ],
57081    cflags: [
57082        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57083        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57084        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
57085        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57086        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57087        "-DGOOGLE_PROTOBUF_NO_RTTI",
57088        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57089        "-DHAVE_PTHREAD",
57090        "-DNDEBUG",
57091        "-DNO_UNWIND_TABLES",
57092        "-DNVALGRIND",
57093        "-DOFFICIAL_BUILD",
57094        "-DUSE_AURA=1",
57095        "-DUSE_OZONE=1",
57096        "-DUSE_UDEV",
57097        "-D_FILE_OFFSET_BITS=64",
57098        "-D_GNU_SOURCE",
57099        "-D_LARGEFILE64_SOURCE",
57100        "-D_LARGEFILE_SOURCE",
57101        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57102        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57103        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57104        "-O2",
57105        "-fdata-sections",
57106        "-ffunction-sections",
57107        "-fno-asynchronous-unwind-tables",
57108        "-fno-unwind-tables",
57109        "-fstack-protector",
57110        "-fvisibility-inlines-hidden",
57111        "-fvisibility=hidden",
57112        "-g1",
57113        "-msse3",
57114    ],
57115    local_include_dirs: [
57116        "./",
57117        "buildtools/third_party/libc++/",
57118        "third_party/libc++/src/include",
57119        "third_party/libc++abi/src/include",
57120        "third_party/protobuf/src/",
57121    ],
57122    cpp_std: "c++20",
57123    ldflags: [
57124        "-Wl,--as-needed",
57125        "-Wl,--gc-sections",
57126        "-Wl,--icf=all",
57127    ],
57128}
57129
57130// GN: //third_party/protobuf:protoc_java
57131cc_library_static {
57132    name: "cronet_aml_third_party_protobuf_protoc_java",
57133    srcs: [
57134        "third_party/protobuf/src/google/protobuf/compiler/java/context.cc",
57135        "third_party/protobuf/src/google/protobuf/compiler/java/doc_comment.cc",
57136        "third_party/protobuf/src/google/protobuf/compiler/java/enum.cc",
57137        "third_party/protobuf/src/google/protobuf/compiler/java/enum_field.cc",
57138        "third_party/protobuf/src/google/protobuf/compiler/java/enum_field_lite.cc",
57139        "third_party/protobuf/src/google/protobuf/compiler/java/enum_lite.cc",
57140        "third_party/protobuf/src/google/protobuf/compiler/java/extension.cc",
57141        "third_party/protobuf/src/google/protobuf/compiler/java/extension_lite.cc",
57142        "third_party/protobuf/src/google/protobuf/compiler/java/field.cc",
57143        "third_party/protobuf/src/google/protobuf/compiler/java/file.cc",
57144        "third_party/protobuf/src/google/protobuf/compiler/java/generator.cc",
57145        "third_party/protobuf/src/google/protobuf/compiler/java/generator_factory.cc",
57146        "third_party/protobuf/src/google/protobuf/compiler/java/helpers.cc",
57147        "third_party/protobuf/src/google/protobuf/compiler/java/kotlin_generator.cc",
57148        "third_party/protobuf/src/google/protobuf/compiler/java/map_field.cc",
57149        "third_party/protobuf/src/google/protobuf/compiler/java/map_field_lite.cc",
57150        "third_party/protobuf/src/google/protobuf/compiler/java/message.cc",
57151        "third_party/protobuf/src/google/protobuf/compiler/java/message_builder.cc",
57152        "third_party/protobuf/src/google/protobuf/compiler/java/message_builder_lite.cc",
57153        "third_party/protobuf/src/google/protobuf/compiler/java/message_field.cc",
57154        "third_party/protobuf/src/google/protobuf/compiler/java/message_field_lite.cc",
57155        "third_party/protobuf/src/google/protobuf/compiler/java/message_lite.cc",
57156        "third_party/protobuf/src/google/protobuf/compiler/java/name_resolver.cc",
57157        "third_party/protobuf/src/google/protobuf/compiler/java/primitive_field.cc",
57158        "third_party/protobuf/src/google/protobuf/compiler/java/primitive_field_lite.cc",
57159        "third_party/protobuf/src/google/protobuf/compiler/java/service.cc",
57160        "third_party/protobuf/src/google/protobuf/compiler/java/shared_code_generator.cc",
57161        "third_party/protobuf/src/google/protobuf/compiler/java/string_field.cc",
57162        "third_party/protobuf/src/google/protobuf/compiler/java/string_field_lite.cc",
57163    ],
57164    shared_libs: [
57165        "libz",
57166    ],
57167    host_supported: true,
57168    device_supported: false,
57169    defaults: [
57170        "cronet_aml_cc_defaults",
57171    ],
57172    cflags: [
57173        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57174        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57175        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
57176        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57177        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57178        "-DGOOGLE_PROTOBUF_NO_RTTI",
57179        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57180        "-DHAVE_PTHREAD",
57181        "-DNDEBUG",
57182        "-DNO_UNWIND_TABLES",
57183        "-DNVALGRIND",
57184        "-DOFFICIAL_BUILD",
57185        "-DUSE_AURA=1",
57186        "-DUSE_OZONE=1",
57187        "-DUSE_UDEV",
57188        "-D_FILE_OFFSET_BITS=64",
57189        "-D_GNU_SOURCE",
57190        "-D_LARGEFILE64_SOURCE",
57191        "-D_LARGEFILE_SOURCE",
57192        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57193        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57194        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57195        "-O2",
57196        "-fdata-sections",
57197        "-ffunction-sections",
57198        "-fno-asynchronous-unwind-tables",
57199        "-fno-unwind-tables",
57200        "-fstack-protector",
57201        "-fvisibility-inlines-hidden",
57202        "-fvisibility=hidden",
57203        "-g1",
57204        "-msse3",
57205    ],
57206    local_include_dirs: [
57207        "./",
57208        "buildtools/third_party/libc++/",
57209        "third_party/libc++/src/include",
57210        "third_party/libc++abi/src/include",
57211        "third_party/protobuf/src/",
57212    ],
57213    cpp_std: "c++20",
57214    ldflags: [
57215        "-Wl,--as-needed",
57216        "-Wl,--gc-sections",
57217        "-Wl,--icf=all",
57218    ],
57219}
57220
57221// GN: //third_party/protobuf:protoc_java__testing
57222cc_library_static {
57223    name: "cronet_aml_third_party_protobuf_protoc_java__testing",
57224    srcs: [
57225        "third_party/protobuf/src/google/protobuf/compiler/java/context.cc",
57226        "third_party/protobuf/src/google/protobuf/compiler/java/doc_comment.cc",
57227        "third_party/protobuf/src/google/protobuf/compiler/java/enum.cc",
57228        "third_party/protobuf/src/google/protobuf/compiler/java/enum_field.cc",
57229        "third_party/protobuf/src/google/protobuf/compiler/java/enum_field_lite.cc",
57230        "third_party/protobuf/src/google/protobuf/compiler/java/enum_lite.cc",
57231        "third_party/protobuf/src/google/protobuf/compiler/java/extension.cc",
57232        "third_party/protobuf/src/google/protobuf/compiler/java/extension_lite.cc",
57233        "third_party/protobuf/src/google/protobuf/compiler/java/field.cc",
57234        "third_party/protobuf/src/google/protobuf/compiler/java/file.cc",
57235        "third_party/protobuf/src/google/protobuf/compiler/java/generator.cc",
57236        "third_party/protobuf/src/google/protobuf/compiler/java/generator_factory.cc",
57237        "third_party/protobuf/src/google/protobuf/compiler/java/helpers.cc",
57238        "third_party/protobuf/src/google/protobuf/compiler/java/kotlin_generator.cc",
57239        "third_party/protobuf/src/google/protobuf/compiler/java/map_field.cc",
57240        "third_party/protobuf/src/google/protobuf/compiler/java/map_field_lite.cc",
57241        "third_party/protobuf/src/google/protobuf/compiler/java/message.cc",
57242        "third_party/protobuf/src/google/protobuf/compiler/java/message_builder.cc",
57243        "third_party/protobuf/src/google/protobuf/compiler/java/message_builder_lite.cc",
57244        "third_party/protobuf/src/google/protobuf/compiler/java/message_field.cc",
57245        "third_party/protobuf/src/google/protobuf/compiler/java/message_field_lite.cc",
57246        "third_party/protobuf/src/google/protobuf/compiler/java/message_lite.cc",
57247        "third_party/protobuf/src/google/protobuf/compiler/java/name_resolver.cc",
57248        "third_party/protobuf/src/google/protobuf/compiler/java/primitive_field.cc",
57249        "third_party/protobuf/src/google/protobuf/compiler/java/primitive_field_lite.cc",
57250        "third_party/protobuf/src/google/protobuf/compiler/java/service.cc",
57251        "third_party/protobuf/src/google/protobuf/compiler/java/shared_code_generator.cc",
57252        "third_party/protobuf/src/google/protobuf/compiler/java/string_field.cc",
57253        "third_party/protobuf/src/google/protobuf/compiler/java/string_field_lite.cc",
57254    ],
57255    shared_libs: [
57256        "libz",
57257    ],
57258    host_supported: true,
57259    device_supported: false,
57260    defaults: [
57261        "cronet_aml_cc_defaults",
57262    ],
57263    cflags: [
57264        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57265        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57266        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
57267        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57268        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57269        "-DGOOGLE_PROTOBUF_NO_RTTI",
57270        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57271        "-DHAVE_PTHREAD",
57272        "-DNDEBUG",
57273        "-DNO_UNWIND_TABLES",
57274        "-DNVALGRIND",
57275        "-DOFFICIAL_BUILD",
57276        "-DUSE_AURA=1",
57277        "-DUSE_OZONE=1",
57278        "-DUSE_UDEV",
57279        "-D_FILE_OFFSET_BITS=64",
57280        "-D_GNU_SOURCE",
57281        "-D_LARGEFILE64_SOURCE",
57282        "-D_LARGEFILE_SOURCE",
57283        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57284        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57285        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57286        "-O2",
57287        "-fdata-sections",
57288        "-ffunction-sections",
57289        "-fno-asynchronous-unwind-tables",
57290        "-fno-unwind-tables",
57291        "-fstack-protector",
57292        "-fvisibility-inlines-hidden",
57293        "-fvisibility=hidden",
57294        "-g1",
57295        "-msse3",
57296    ],
57297    local_include_dirs: [
57298        "./",
57299        "buildtools/third_party/libc++/",
57300        "third_party/libc++/src/include",
57301        "third_party/libc++abi/src/include",
57302        "third_party/protobuf/src/",
57303    ],
57304    cpp_std: "c++20",
57305    ldflags: [
57306        "-Wl,--as-needed",
57307        "-Wl,--gc-sections",
57308        "-Wl,--icf=all",
57309    ],
57310}
57311
57312// GN: //third_party/protobuf:protoc_lib
57313cc_library_static {
57314    name: "cronet_aml_third_party_protobuf_protoc_lib",
57315    srcs: [
57316        "third_party/protobuf/src/google/protobuf/compiler/code_generator.cc",
57317        "third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc",
57318        "third_party/protobuf/src/google/protobuf/compiler/cpp/enum.cc",
57319        "third_party/protobuf/src/google/protobuf/compiler/cpp/enum_field.cc",
57320        "third_party/protobuf/src/google/protobuf/compiler/cpp/extension.cc",
57321        "third_party/protobuf/src/google/protobuf/compiler/cpp/field.cc",
57322        "third_party/protobuf/src/google/protobuf/compiler/cpp/file.cc",
57323        "third_party/protobuf/src/google/protobuf/compiler/cpp/generator.cc",
57324        "third_party/protobuf/src/google/protobuf/compiler/cpp/helpers.cc",
57325        "third_party/protobuf/src/google/protobuf/compiler/cpp/map_field.cc",
57326        "third_party/protobuf/src/google/protobuf/compiler/cpp/message.cc",
57327        "third_party/protobuf/src/google/protobuf/compiler/cpp/message_field.cc",
57328        "third_party/protobuf/src/google/protobuf/compiler/cpp/padding_optimizer.cc",
57329        "third_party/protobuf/src/google/protobuf/compiler/cpp/parse_function_generator.cc",
57330        "third_party/protobuf/src/google/protobuf/compiler/cpp/primitive_field.cc",
57331        "third_party/protobuf/src/google/protobuf/compiler/cpp/service.cc",
57332        "third_party/protobuf/src/google/protobuf/compiler/cpp/string_field.cc",
57333        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc",
57334        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc",
57335        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc",
57336        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc",
57337        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc",
57338        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc",
57339        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc",
57340        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc",
57341        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc",
57342        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc",
57343        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc",
57344        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc",
57345        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc",
57346        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc",
57347        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc",
57348        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc",
57349        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc",
57350        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc",
57351        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc",
57352        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc",
57353        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc",
57354        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc",
57355        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc",
57356        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc",
57357        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc",
57358        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc",
57359        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc",
57360        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc",
57361        "third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc",
57362        "third_party/protobuf/src/google/protobuf/compiler/plugin.cc",
57363        "third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc",
57364        "third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc",
57365        "third_party/protobuf/src/google/protobuf/compiler/subprocess.cc",
57366        "third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc",
57367    ],
57368    shared_libs: [
57369        "libz",
57370    ],
57371    host_supported: true,
57372    device_supported: false,
57373    defaults: [
57374        "cronet_aml_cc_defaults",
57375    ],
57376    cflags: [
57377        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57378        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57379        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
57380        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57381        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57382        "-DGOOGLE_PROTOBUF_NO_RTTI",
57383        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57384        "-DHAVE_PTHREAD",
57385        "-DNDEBUG",
57386        "-DNO_UNWIND_TABLES",
57387        "-DNVALGRIND",
57388        "-DOFFICIAL_BUILD",
57389        "-DUSE_AURA=1",
57390        "-DUSE_OZONE=1",
57391        "-DUSE_UDEV",
57392        "-D_FILE_OFFSET_BITS=64",
57393        "-D_GNU_SOURCE",
57394        "-D_LARGEFILE64_SOURCE",
57395        "-D_LARGEFILE_SOURCE",
57396        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57397        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57398        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57399        "-O2",
57400        "-fdata-sections",
57401        "-ffunction-sections",
57402        "-fno-asynchronous-unwind-tables",
57403        "-fno-unwind-tables",
57404        "-fstack-protector",
57405        "-fvisibility-inlines-hidden",
57406        "-fvisibility=hidden",
57407        "-g1",
57408        "-msse3",
57409    ],
57410    local_include_dirs: [
57411        "./",
57412        "buildtools/third_party/libc++/",
57413        "third_party/libc++/src/include",
57414        "third_party/libc++abi/src/include",
57415        "third_party/protobuf/src/",
57416    ],
57417    cpp_std: "c++20",
57418    ldflags: [
57419        "-Wl,--as-needed",
57420        "-Wl,--gc-sections",
57421        "-Wl,--icf=all",
57422    ],
57423}
57424
57425// GN: //third_party/protobuf:protoc_lib__testing
57426cc_library_static {
57427    name: "cronet_aml_third_party_protobuf_protoc_lib__testing",
57428    srcs: [
57429        "third_party/protobuf/src/google/protobuf/compiler/code_generator.cc",
57430        "third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc",
57431        "third_party/protobuf/src/google/protobuf/compiler/cpp/enum.cc",
57432        "third_party/protobuf/src/google/protobuf/compiler/cpp/enum_field.cc",
57433        "third_party/protobuf/src/google/protobuf/compiler/cpp/extension.cc",
57434        "third_party/protobuf/src/google/protobuf/compiler/cpp/field.cc",
57435        "third_party/protobuf/src/google/protobuf/compiler/cpp/file.cc",
57436        "third_party/protobuf/src/google/protobuf/compiler/cpp/generator.cc",
57437        "third_party/protobuf/src/google/protobuf/compiler/cpp/helpers.cc",
57438        "third_party/protobuf/src/google/protobuf/compiler/cpp/map_field.cc",
57439        "third_party/protobuf/src/google/protobuf/compiler/cpp/message.cc",
57440        "third_party/protobuf/src/google/protobuf/compiler/cpp/message_field.cc",
57441        "third_party/protobuf/src/google/protobuf/compiler/cpp/padding_optimizer.cc",
57442        "third_party/protobuf/src/google/protobuf/compiler/cpp/parse_function_generator.cc",
57443        "third_party/protobuf/src/google/protobuf/compiler/cpp/primitive_field.cc",
57444        "third_party/protobuf/src/google/protobuf/compiler/cpp/service.cc",
57445        "third_party/protobuf/src/google/protobuf/compiler/cpp/string_field.cc",
57446        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc",
57447        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc",
57448        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc",
57449        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc",
57450        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc",
57451        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc",
57452        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc",
57453        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc",
57454        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc",
57455        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc",
57456        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc",
57457        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc",
57458        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc",
57459        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc",
57460        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc",
57461        "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc",
57462        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc",
57463        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc",
57464        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc",
57465        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc",
57466        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc",
57467        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc",
57468        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc",
57469        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc",
57470        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc",
57471        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc",
57472        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc",
57473        "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc",
57474        "third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc",
57475        "third_party/protobuf/src/google/protobuf/compiler/plugin.cc",
57476        "third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc",
57477        "third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc",
57478        "third_party/protobuf/src/google/protobuf/compiler/subprocess.cc",
57479        "third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc",
57480    ],
57481    shared_libs: [
57482        "libz",
57483    ],
57484    host_supported: true,
57485    device_supported: false,
57486    defaults: [
57487        "cronet_aml_cc_defaults",
57488    ],
57489    cflags: [
57490        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57491        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57492        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
57493        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57494        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57495        "-DGOOGLE_PROTOBUF_NO_RTTI",
57496        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57497        "-DHAVE_PTHREAD",
57498        "-DNDEBUG",
57499        "-DNO_UNWIND_TABLES",
57500        "-DNVALGRIND",
57501        "-DOFFICIAL_BUILD",
57502        "-DUSE_AURA=1",
57503        "-DUSE_OZONE=1",
57504        "-DUSE_UDEV",
57505        "-D_FILE_OFFSET_BITS=64",
57506        "-D_GNU_SOURCE",
57507        "-D_LARGEFILE64_SOURCE",
57508        "-D_LARGEFILE_SOURCE",
57509        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57510        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57511        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57512        "-O2",
57513        "-fdata-sections",
57514        "-ffunction-sections",
57515        "-fno-asynchronous-unwind-tables",
57516        "-fno-unwind-tables",
57517        "-fstack-protector",
57518        "-fvisibility-inlines-hidden",
57519        "-fvisibility=hidden",
57520        "-g1",
57521        "-msse3",
57522    ],
57523    local_include_dirs: [
57524        "./",
57525        "buildtools/third_party/libc++/",
57526        "third_party/libc++/src/include",
57527        "third_party/libc++abi/src/include",
57528        "third_party/protobuf/src/",
57529    ],
57530    cpp_std: "c++20",
57531    ldflags: [
57532        "-Wl,--as-needed",
57533        "-Wl,--gc-sections",
57534        "-Wl,--icf=all",
57535    ],
57536}
57537
57538// GN: //third_party/protobuf:protoc_python
57539cc_library_static {
57540    name: "cronet_aml_third_party_protobuf_protoc_python",
57541    srcs: [
57542        "third_party/protobuf/src/google/protobuf/compiler/python/generator.cc",
57543        "third_party/protobuf/src/google/protobuf/compiler/python/helpers.cc",
57544        "third_party/protobuf/src/google/protobuf/compiler/python/pyi_generator.cc",
57545    ],
57546    shared_libs: [
57547        "libz",
57548    ],
57549    host_supported: true,
57550    device_supported: false,
57551    defaults: [
57552        "cronet_aml_cc_defaults",
57553    ],
57554    cflags: [
57555        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57556        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57557        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
57558        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57559        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57560        "-DGOOGLE_PROTOBUF_NO_RTTI",
57561        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57562        "-DHAVE_PTHREAD",
57563        "-DNDEBUG",
57564        "-DNO_UNWIND_TABLES",
57565        "-DNVALGRIND",
57566        "-DOFFICIAL_BUILD",
57567        "-DUSE_AURA=1",
57568        "-DUSE_OZONE=1",
57569        "-DUSE_UDEV",
57570        "-D_FILE_OFFSET_BITS=64",
57571        "-D_GNU_SOURCE",
57572        "-D_LARGEFILE64_SOURCE",
57573        "-D_LARGEFILE_SOURCE",
57574        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57575        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57576        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57577        "-O2",
57578        "-fdata-sections",
57579        "-ffunction-sections",
57580        "-fno-asynchronous-unwind-tables",
57581        "-fno-unwind-tables",
57582        "-fstack-protector",
57583        "-fvisibility-inlines-hidden",
57584        "-fvisibility=hidden",
57585        "-g1",
57586        "-msse3",
57587    ],
57588    local_include_dirs: [
57589        "./",
57590        "buildtools/third_party/libc++/",
57591        "third_party/libc++/src/include",
57592        "third_party/libc++abi/src/include",
57593        "third_party/protobuf/src/",
57594    ],
57595    cpp_std: "c++20",
57596    ldflags: [
57597        "-Wl,--as-needed",
57598        "-Wl,--gc-sections",
57599        "-Wl,--icf=all",
57600    ],
57601}
57602
57603// GN: //third_party/protobuf:protoc_python__testing
57604cc_library_static {
57605    name: "cronet_aml_third_party_protobuf_protoc_python__testing",
57606    srcs: [
57607        "third_party/protobuf/src/google/protobuf/compiler/python/generator.cc",
57608        "third_party/protobuf/src/google/protobuf/compiler/python/helpers.cc",
57609        "third_party/protobuf/src/google/protobuf/compiler/python/pyi_generator.cc",
57610    ],
57611    shared_libs: [
57612        "libz",
57613    ],
57614    host_supported: true,
57615    device_supported: false,
57616    defaults: [
57617        "cronet_aml_cc_defaults",
57618    ],
57619    cflags: [
57620        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57621        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57622        "-DCR_SYSROOT_KEY=20230611T210420Z-2",
57623        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57624        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57625        "-DGOOGLE_PROTOBUF_NO_RTTI",
57626        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57627        "-DHAVE_PTHREAD",
57628        "-DNDEBUG",
57629        "-DNO_UNWIND_TABLES",
57630        "-DNVALGRIND",
57631        "-DOFFICIAL_BUILD",
57632        "-DUSE_AURA=1",
57633        "-DUSE_OZONE=1",
57634        "-DUSE_UDEV",
57635        "-D_FILE_OFFSET_BITS=64",
57636        "-D_GNU_SOURCE",
57637        "-D_LARGEFILE64_SOURCE",
57638        "-D_LARGEFILE_SOURCE",
57639        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57640        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57641        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57642        "-O2",
57643        "-fdata-sections",
57644        "-ffunction-sections",
57645        "-fno-asynchronous-unwind-tables",
57646        "-fno-unwind-tables",
57647        "-fstack-protector",
57648        "-fvisibility-inlines-hidden",
57649        "-fvisibility=hidden",
57650        "-g1",
57651        "-msse3",
57652    ],
57653    local_include_dirs: [
57654        "./",
57655        "buildtools/third_party/libc++/",
57656        "third_party/libc++/src/include",
57657        "third_party/libc++abi/src/include",
57658        "third_party/protobuf/src/",
57659    ],
57660    cpp_std: "c++20",
57661    ldflags: [
57662        "-Wl,--as-needed",
57663        "-Wl,--gc-sections",
57664        "-Wl,--icf=all",
57665    ],
57666}
57667
57668// GN: //third_party/quic_trace:quic_trace_proto__testing
57669cc_library_static {
57670    name: "cronet_aml_third_party_quic_trace_quic_trace_proto__testing",
57671    srcs: [
57672        ":cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing",
57673    ],
57674    shared_libs: [
57675        "liblog",
57676        "libprotobuf-cpp-lite",
57677    ],
57678    generated_headers: [
57679        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
57680    ],
57681    export_generated_headers: [
57682        "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
57683    ],
57684    defaults: [
57685        "cronet_aml_cc_defaults",
57686    ],
57687    cflags: [
57688        "-DANDROID",
57689        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
57690        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57691        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57692        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57693        "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
57694        "-DGOOGLE_PROTOBUF_NO_RTTI",
57695        "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
57696        "-DHAVE_PTHREAD",
57697        "-DHAVE_SYS_UIO_H",
57698        "-DNDEBUG",
57699        "-DNO_UNWIND_TABLES",
57700        "-DNVALGRIND",
57701        "-DOFFICIAL_BUILD",
57702        "-D_GNU_SOURCE",
57703        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57704        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57705        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57706        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
57707        "-D__STDC_CONSTANT_MACROS",
57708        "-D__STDC_FORMAT_MACROS",
57709        "-fdata-sections",
57710        "-ffunction-sections",
57711        "-fno-asynchronous-unwind-tables",
57712        "-fno-unwind-tables",
57713        "-fstack-protector",
57714        "-fvisibility-inlines-hidden",
57715        "-fvisibility=hidden",
57716        "-g1",
57717    ],
57718    local_include_dirs: [
57719        "./",
57720        "buildtools/third_party/libc++/",
57721        "third_party/libc++/src/include",
57722        "third_party/libc++abi/src/include",
57723        "third_party/protobuf/src/",
57724    ],
57725    cpp_std: "c++20",
57726    ldflags: [
57727        "-Wl,--as-needed",
57728        "-Wl,--gc-sections",
57729        "-Wl,--icf=all",
57730    ],
57731    target: {
57732        android_arm: {
57733            cflags: [
57734                "-D_FORTIFY_SOURCE=2",
57735            ],
57736        },
57737        android_arm64: {
57738            cflags: [
57739                "-D_FORTIFY_SOURCE=2",
57740                "-O2",
57741                "-mno-outline",
57742            ],
57743        },
57744        android_x86: {
57745            cflags: [
57746                "-D_FORTIFY_SOURCE=2",
57747                "-msse3",
57748            ],
57749        },
57750        android_x86_64: {
57751            cflags: [
57752                "-D_FORTIFY_SOURCE=2",
57753                "-msse3",
57754            ],
57755        },
57756    },
57757}
57758
57759// GN: //third_party/quic_trace:quic_trace_proto_gen__testing
57760cc_genrule {
57761    name: "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing",
57762    srcs: [
57763        "third_party/quic_trace/src/quic_trace/quic_trace.proto",
57764    ],
57765    tools: [
57766        "cronet_aml_third_party_protobuf_protoc",
57767    ],
57768    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/quic_trace/src/quic_trace --cpp_out=lite=true:$(genDir)/external/cronet/third_party/quic_trace/src/quic_trace/ $(in)",
57769    out: [
57770        "external/cronet/third_party/quic_trace/src/quic_trace/quic_trace.pb.cc",
57771    ],
57772    apex_available: [
57773        "com.android.tethering",
57774    ],
57775}
57776
57777// GN: //third_party/quic_trace:quic_trace_proto_gen__testing
57778cc_genrule {
57779    name: "cronet_aml_third_party_quic_trace_quic_trace_proto_gen__testing_headers",
57780    srcs: [
57781        "third_party/quic_trace/src/quic_trace/quic_trace.proto",
57782    ],
57783    tools: [
57784        "cronet_aml_third_party_protobuf_protoc",
57785    ],
57786    cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/quic_trace/src/quic_trace --cpp_out=lite=true:$(genDir)/external/cronet/third_party/quic_trace/src/quic_trace/ $(in)",
57787    out: [
57788        "external/cronet/third_party/quic_trace/src/quic_trace/quic_trace.pb.h",
57789    ],
57790    export_include_dirs: [
57791        ".",
57792        "protos",
57793        "third_party/quic_trace/src",
57794        "third_party/quic_trace/src/quic_trace",
57795    ],
57796    apex_available: [
57797        "com.android.tethering",
57798    ],
57799}
57800
57801// GN: //third_party/re2:re2__testing
57802cc_library_static {
57803    name: "cronet_aml_third_party_re2_re2__testing",
57804    srcs: [
57805        "third_party/re2/src/re2/bitmap256.cc",
57806        "third_party/re2/src/re2/bitstate.cc",
57807        "third_party/re2/src/re2/compile.cc",
57808        "third_party/re2/src/re2/dfa.cc",
57809        "third_party/re2/src/re2/filtered_re2.cc",
57810        "third_party/re2/src/re2/mimics_pcre.cc",
57811        "third_party/re2/src/re2/nfa.cc",
57812        "third_party/re2/src/re2/onepass.cc",
57813        "third_party/re2/src/re2/parse.cc",
57814        "third_party/re2/src/re2/perl_groups.cc",
57815        "third_party/re2/src/re2/prefilter.cc",
57816        "third_party/re2/src/re2/prefilter_tree.cc",
57817        "third_party/re2/src/re2/prog.cc",
57818        "third_party/re2/src/re2/re2.cc",
57819        "third_party/re2/src/re2/regexp.cc",
57820        "third_party/re2/src/re2/set.cc",
57821        "third_party/re2/src/re2/simplify.cc",
57822        "third_party/re2/src/re2/tostring.cc",
57823        "third_party/re2/src/re2/unicode_casefold.cc",
57824        "third_party/re2/src/re2/unicode_groups.cc",
57825        "third_party/re2/src/util/rune.cc",
57826        "third_party/re2/src/util/strutil.cc",
57827    ],
57828    shared_libs: [
57829        "liblog",
57830    ],
57831    generated_headers: [
57832        "cronet_aml_build_chromeos_buildflags__testing",
57833    ],
57834    export_generated_headers: [
57835        "cronet_aml_build_chromeos_buildflags__testing",
57836    ],
57837    defaults: [
57838        "cronet_aml_cc_defaults",
57839    ],
57840    cflags: [
57841        "-DANDROID",
57842        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
57843        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
57844        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
57845        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
57846        "-DHAVE_SYS_UIO_H",
57847        "-DNDEBUG",
57848        "-DNO_UNWIND_TABLES",
57849        "-DNVALGRIND",
57850        "-DOFFICIAL_BUILD",
57851        "-D_GNU_SOURCE",
57852        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
57853        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
57854        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
57855        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
57856        "-fdata-sections",
57857        "-ffunction-sections",
57858        "-fno-asynchronous-unwind-tables",
57859        "-fno-unwind-tables",
57860        "-fstack-protector",
57861        "-fvisibility-inlines-hidden",
57862        "-fvisibility=hidden",
57863        "-g1",
57864    ],
57865    local_include_dirs: [
57866        "./",
57867        "buildtools/third_party/libc++/",
57868        "third_party/abseil-cpp/",
57869        "third_party/libc++/src/include",
57870        "third_party/libc++abi/src/include",
57871        "third_party/re2/src/",
57872    ],
57873    cpp_std: "c++20",
57874    ldflags: [
57875        "-Wl,--as-needed",
57876        "-Wl,--gc-sections",
57877        "-Wl,--icf=all",
57878    ],
57879    target: {
57880        android_arm64: {
57881            cflags: [
57882                "-O2",
57883                "-mno-outline",
57884            ],
57885        },
57886        android_x86: {
57887            cflags: [
57888                "-msse3",
57889            ],
57890        },
57891        android_x86_64: {
57892            cflags: [
57893                "-msse3",
57894            ],
57895        },
57896    },
57897}
57898
57899// GN: //url:buildflags
57900cc_genrule {
57901    name: "cronet_aml_url_buildflags",
57902    cmd: "mkdir -p $(genDir)/url && echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
57903         "$(location build/write_buildflag_header.py) --output " +
57904         "$(out) " +
57905         "--rulename " +
57906         "//url:buildflags " +
57907         "--gen-dir " +
57908         ". " +
57909         "--definitions " +
57910         "/dev/stdin",
57911    out: [
57912        "url/buildflags.h",
57913    ],
57914    tool_files: [
57915        "build/write_buildflag_header.py",
57916    ],
57917    apex_available: [
57918        "com.android.tethering",
57919    ],
57920}
57921
57922// GN: //url:buildflags__testing
57923cc_genrule {
57924    name: "cronet_aml_url_buildflags__testing",
57925    cmd: "mkdir -p $(genDir)/url && echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
57926         "$(location build/write_buildflag_header.py) --output " +
57927         "$(out) " +
57928         "--rulename " +
57929         "//url:buildflags " +
57930         "--gen-dir " +
57931         ". " +
57932         "--definitions " +
57933         "/dev/stdin",
57934    out: [
57935        "url/buildflags.h",
57936    ],
57937    tool_files: [
57938        "build/write_buildflag_header.py",
57939    ],
57940    apex_available: [
57941        "com.android.tethering",
57942    ],
57943}
57944
57945// GN: //url:url
57946cc_library_static {
57947    name: "cronet_aml_url_url",
57948    srcs: [
57949        "url/gurl.cc",
57950        "url/origin.cc",
57951        "url/scheme_host_port.cc",
57952        "url/third_party/mozilla/url_parse.cc",
57953        "url/url_canon.cc",
57954        "url/url_canon_etc.cc",
57955        "url/url_canon_filesystemurl.cc",
57956        "url/url_canon_fileurl.cc",
57957        "url/url_canon_host.cc",
57958        "url/url_canon_internal.cc",
57959        "url/url_canon_ip.cc",
57960        "url/url_canon_mailtourl.cc",
57961        "url/url_canon_non_special_url.cc",
57962        "url/url_canon_path.cc",
57963        "url/url_canon_pathurl.cc",
57964        "url/url_canon_query.cc",
57965        "url/url_canon_relative.cc",
57966        "url/url_canon_stdstring.cc",
57967        "url/url_canon_stdurl.cc",
57968        "url/url_features.cc",
57969        "url/url_idna_icu_alternatives_android.cc",
57970        "url/url_parse_file.cc",
57971        "url/url_util.cc",
57972    ],
57973    shared_libs: [
57974        "//external/cronet/third_party/boringssl:libcrypto",
57975        "//external/cronet/third_party/boringssl:libpki",
57976        "//external/cronet/third_party/boringssl:libssl",
57977        "libandroid",
57978        "liblog",
57979    ],
57980    generated_headers: [
57981        "cronet_aml_base_allocator_buildflags",
57982        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
57983        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
57984        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
57985        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
57986        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
57987        "cronet_aml_base_anchor_functions_buildflags",
57988        "cronet_aml_base_android_runtime_jni_headers__action",
57989        "cronet_aml_base_base_jni__action",
57990        "cronet_aml_base_base_shared_preferences_jni__action",
57991        "cronet_aml_base_build_date",
57992        "cronet_aml_base_cfi_buildflags",
57993        "cronet_aml_base_check_version_internal_action",
57994        "cronet_aml_base_clang_profiling_buildflags",
57995        "cronet_aml_base_debugging_buildflags",
57996        "cronet_aml_base_feature_list_buildflags",
57997        "cronet_aml_base_fuzzing_buildflags",
57998        "cronet_aml_base_ios_cronet_buildflags",
57999        "cronet_aml_base_logging_buildflags",
58000        "cronet_aml_base_message_pump_buildflags",
58001        "cronet_aml_base_orderfile_buildflags",
58002        "cronet_aml_base_power_monitor_buildflags",
58003        "cronet_aml_base_process_launcher_jni__action",
58004        "cronet_aml_base_profiler_buildflags",
58005        "cronet_aml_base_protected_memory_buildflags",
58006        "cronet_aml_base_rust_buildflags",
58007        "cronet_aml_base_sanitizer_buildflags",
58008        "cronet_aml_base_synchronization_buildflags",
58009        "cronet_aml_base_tracing_buildflags",
58010        "cronet_aml_build_blink_buildflags",
58011        "cronet_aml_build_branding_buildflags",
58012        "cronet_aml_build_chromecast_buildflags",
58013        "cronet_aml_build_chromeos_buildflags",
58014        "cronet_aml_build_config_compiler_compiler_buildflags",
58015        "cronet_aml_build_ios_buildflags",
58016        "cronet_aml_build_robolectric_buildflags",
58017        "cronet_aml_url_buildflags",
58018        "cronet_aml_url_url_jni_headers__action",
58019    ],
58020    export_generated_headers: [
58021        "cronet_aml_base_allocator_buildflags",
58022        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags",
58023        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags",
58024        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags",
58025        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags",
58026        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags",
58027        "cronet_aml_base_anchor_functions_buildflags",
58028        "cronet_aml_base_android_runtime_jni_headers__action",
58029        "cronet_aml_base_base_jni__action",
58030        "cronet_aml_base_base_shared_preferences_jni__action",
58031        "cronet_aml_base_build_date",
58032        "cronet_aml_base_cfi_buildflags",
58033        "cronet_aml_base_check_version_internal_action",
58034        "cronet_aml_base_clang_profiling_buildflags",
58035        "cronet_aml_base_debugging_buildflags",
58036        "cronet_aml_base_feature_list_buildflags",
58037        "cronet_aml_base_fuzzing_buildflags",
58038        "cronet_aml_base_ios_cronet_buildflags",
58039        "cronet_aml_base_logging_buildflags",
58040        "cronet_aml_base_message_pump_buildflags",
58041        "cronet_aml_base_orderfile_buildflags",
58042        "cronet_aml_base_power_monitor_buildflags",
58043        "cronet_aml_base_process_launcher_jni__action",
58044        "cronet_aml_base_profiler_buildflags",
58045        "cronet_aml_base_protected_memory_buildflags",
58046        "cronet_aml_base_rust_buildflags",
58047        "cronet_aml_base_sanitizer_buildflags",
58048        "cronet_aml_base_synchronization_buildflags",
58049        "cronet_aml_base_tracing_buildflags",
58050        "cronet_aml_build_blink_buildflags",
58051        "cronet_aml_build_branding_buildflags",
58052        "cronet_aml_build_chromecast_buildflags",
58053        "cronet_aml_build_chromeos_buildflags",
58054        "cronet_aml_build_config_compiler_compiler_buildflags",
58055        "cronet_aml_build_ios_buildflags",
58056        "cronet_aml_build_robolectric_buildflags",
58057        "cronet_aml_url_buildflags",
58058        "cronet_aml_url_url_jni_headers__action",
58059    ],
58060    defaults: [
58061        "cronet_aml_cc_defaults",
58062    ],
58063    cflags: [
58064        "-DANDROID",
58065        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
58066        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
58067        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
58068        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
58069        "-DHAVE_SYS_UIO_H",
58070        "-DIS_URL_IMPL",
58071        "-DNDEBUG",
58072        "-DNO_UNWIND_TABLES",
58073        "-DNVALGRIND",
58074        "-DOFFICIAL_BUILD",
58075        "-D_GNU_SOURCE",
58076        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
58077        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
58078        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
58079        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
58080        "-D__STDC_CONSTANT_MACROS",
58081        "-D__STDC_FORMAT_MACROS",
58082        "-fdata-sections",
58083        "-ffunction-sections",
58084        "-fno-asynchronous-unwind-tables",
58085        "-fno-unwind-tables",
58086        "-fstack-protector",
58087        "-fvisibility-inlines-hidden",
58088        "-fvisibility=hidden",
58089        "-g1",
58090    ],
58091    local_include_dirs: [
58092        "./",
58093        "base/allocator/partition_allocator/src/",
58094        "buildtools/third_party/libc++/",
58095        "third_party/abseil-cpp/",
58096        "third_party/boringssl/src/include/",
58097        "third_party/libc++/src/include",
58098        "third_party/libc++abi/src/include",
58099    ],
58100    cpp_std: "c++20",
58101    ldflags: [
58102        "-Wl,--as-needed",
58103        "-Wl,--gc-sections",
58104        "-Wl,--icf=all",
58105        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
58106        "-Wl,-wrap,asprintf",
58107        "-Wl,-wrap,calloc",
58108        "-Wl,-wrap,free",
58109        "-Wl,-wrap,getcwd",
58110        "-Wl,-wrap,malloc",
58111        "-Wl,-wrap,malloc_usable_size",
58112        "-Wl,-wrap,memalign",
58113        "-Wl,-wrap,posix_memalign",
58114        "-Wl,-wrap,pvalloc",
58115        "-Wl,-wrap,realloc",
58116        "-Wl,-wrap,realpath",
58117        "-Wl,-wrap,strdup",
58118        "-Wl,-wrap,strndup",
58119        "-Wl,-wrap,valloc",
58120        "-Wl,-wrap,vasprintf",
58121    ],
58122    target: {
58123        android_arm: {
58124            cflags: [
58125                "-D_FORTIFY_SOURCE=2",
58126            ],
58127        },
58128        android_arm64: {
58129            cflags: [
58130                "-D_FORTIFY_SOURCE=2",
58131                "-O2",
58132                "-mno-outline",
58133            ],
58134        },
58135        android_x86: {
58136            cflags: [
58137                "-D_FORTIFY_SOURCE=2",
58138                "-msse3",
58139            ],
58140        },
58141        android_x86_64: {
58142            cflags: [
58143                "-D_FORTIFY_SOURCE=2",
58144                "-msse3",
58145            ],
58146        },
58147    },
58148}
58149
58150// GN: //url:url__testing
58151cc_library_static {
58152    name: "cronet_aml_url_url__testing",
58153    srcs: [
58154        "url/gurl.cc",
58155        "url/origin.cc",
58156        "url/scheme_host_port.cc",
58157        "url/third_party/mozilla/url_parse.cc",
58158        "url/url_canon.cc",
58159        "url/url_canon_etc.cc",
58160        "url/url_canon_filesystemurl.cc",
58161        "url/url_canon_fileurl.cc",
58162        "url/url_canon_host.cc",
58163        "url/url_canon_internal.cc",
58164        "url/url_canon_ip.cc",
58165        "url/url_canon_mailtourl.cc",
58166        "url/url_canon_non_special_url.cc",
58167        "url/url_canon_path.cc",
58168        "url/url_canon_pathurl.cc",
58169        "url/url_canon_query.cc",
58170        "url/url_canon_relative.cc",
58171        "url/url_canon_stdstring.cc",
58172        "url/url_canon_stdurl.cc",
58173        "url/url_features.cc",
58174        "url/url_idna_icu_alternatives_android.cc",
58175        "url/url_parse_file.cc",
58176        "url/url_util.cc",
58177    ],
58178    shared_libs: [
58179        "libandroid",
58180        "liblog",
58181    ],
58182    generated_headers: [
58183        "cronet_aml_base_allocator_buildflags__testing",
58184        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
58185        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
58186        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
58187        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
58188        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
58189        "cronet_aml_base_anchor_functions_buildflags__testing",
58190        "cronet_aml_base_build_date__testing",
58191        "cronet_aml_base_cfi_buildflags__testing",
58192        "cronet_aml_base_check_version_internal_action__testing",
58193        "cronet_aml_base_clang_profiling_buildflags__testing",
58194        "cronet_aml_base_debugging_buildflags__testing",
58195        "cronet_aml_base_feature_list_buildflags__testing",
58196        "cronet_aml_base_fuzzing_buildflags__testing",
58197        "cronet_aml_base_ios_cronet_buildflags__testing",
58198        "cronet_aml_base_logging_buildflags__testing",
58199        "cronet_aml_base_message_pump_buildflags__testing",
58200        "cronet_aml_base_orderfile_buildflags__testing",
58201        "cronet_aml_base_power_monitor_buildflags__testing",
58202        "cronet_aml_base_profiler_buildflags__testing",
58203        "cronet_aml_base_protected_memory_buildflags__testing",
58204        "cronet_aml_base_rust_buildflags__testing",
58205        "cronet_aml_base_sanitizer_buildflags__testing",
58206        "cronet_aml_base_synchronization_buildflags__testing",
58207        "cronet_aml_base_tracing_buildflags__testing",
58208        "cronet_aml_build_blink_buildflags__testing",
58209        "cronet_aml_build_branding_buildflags__testing",
58210        "cronet_aml_build_chromecast_buildflags__testing",
58211        "cronet_aml_build_chromeos_buildflags__testing",
58212        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
58213        "cronet_aml_build_ios_buildflags__testing",
58214        "cronet_aml_build_robolectric_buildflags__testing",
58215        "cronet_aml_url_buildflags__testing",
58216        "cronet_aml_url_url_jni_headers__action__testing",
58217    ],
58218    export_generated_headers: [
58219        "cronet_aml_base_allocator_buildflags__testing",
58220        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromecast_buildflags__testing",
58221        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_chromeos_buildflags__testing",
58222        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_debugging_buildflags__testing",
58223        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_partition_alloc_buildflags__testing",
58224        "cronet_aml_base_allocator_partition_allocator_src_partition_alloc_raw_ptr_buildflags__testing",
58225        "cronet_aml_base_anchor_functions_buildflags__testing",
58226        "cronet_aml_base_build_date__testing",
58227        "cronet_aml_base_cfi_buildflags__testing",
58228        "cronet_aml_base_check_version_internal_action__testing",
58229        "cronet_aml_base_clang_profiling_buildflags__testing",
58230        "cronet_aml_base_debugging_buildflags__testing",
58231        "cronet_aml_base_feature_list_buildflags__testing",
58232        "cronet_aml_base_fuzzing_buildflags__testing",
58233        "cronet_aml_base_ios_cronet_buildflags__testing",
58234        "cronet_aml_base_logging_buildflags__testing",
58235        "cronet_aml_base_message_pump_buildflags__testing",
58236        "cronet_aml_base_orderfile_buildflags__testing",
58237        "cronet_aml_base_power_monitor_buildflags__testing",
58238        "cronet_aml_base_profiler_buildflags__testing",
58239        "cronet_aml_base_protected_memory_buildflags__testing",
58240        "cronet_aml_base_rust_buildflags__testing",
58241        "cronet_aml_base_sanitizer_buildflags__testing",
58242        "cronet_aml_base_synchronization_buildflags__testing",
58243        "cronet_aml_base_tracing_buildflags__testing",
58244        "cronet_aml_build_blink_buildflags__testing",
58245        "cronet_aml_build_branding_buildflags__testing",
58246        "cronet_aml_build_chromecast_buildflags__testing",
58247        "cronet_aml_build_chromeos_buildflags__testing",
58248        "cronet_aml_build_config_compiler_compiler_buildflags__testing",
58249        "cronet_aml_build_ios_buildflags__testing",
58250        "cronet_aml_build_robolectric_buildflags__testing",
58251        "cronet_aml_url_buildflags__testing",
58252        "cronet_aml_url_url_jni_headers__action__testing",
58253    ],
58254    defaults: [
58255        "cronet_aml_cc_defaults",
58256    ],
58257    cflags: [
58258        "-DANDROID",
58259        "-DANDROID_NDK_VERSION_ROLL=r26b_1",
58260        "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"",
58261        "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b",
58262        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
58263        "-DHAVE_SYS_UIO_H",
58264        "-DIS_URL_IMPL",
58265        "-DNDEBUG",
58266        "-DNO_UNWIND_TABLES",
58267        "-DNVALGRIND",
58268        "-DOFFICIAL_BUILD",
58269        "-D_GNU_SOURCE",
58270        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
58271        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
58272        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
58273        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
58274        "-D__STDC_CONSTANT_MACROS",
58275        "-D__STDC_FORMAT_MACROS",
58276        "-fdata-sections",
58277        "-ffunction-sections",
58278        "-fno-asynchronous-unwind-tables",
58279        "-fno-unwind-tables",
58280        "-fstack-protector",
58281        "-fvisibility-inlines-hidden",
58282        "-fvisibility=hidden",
58283        "-g1",
58284    ],
58285    local_include_dirs: [
58286        "./",
58287        "base/allocator/partition_allocator/src/",
58288        "buildtools/third_party/libc++/",
58289        "third_party/abseil-cpp/",
58290        "third_party/boringssl/src/include/",
58291        "third_party/libc++/src/include",
58292        "third_party/libc++abi/src/include",
58293    ],
58294    cpp_std: "c++20",
58295    ldflags: [
58296        "-Wl,--as-needed",
58297        "-Wl,--gc-sections",
58298        "-Wl,--icf=all",
58299        "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
58300        "-Wl,-wrap,asprintf",
58301        "-Wl,-wrap,calloc",
58302        "-Wl,-wrap,free",
58303        "-Wl,-wrap,getcwd",
58304        "-Wl,-wrap,malloc",
58305        "-Wl,-wrap,malloc_usable_size",
58306        "-Wl,-wrap,memalign",
58307        "-Wl,-wrap,posix_memalign",
58308        "-Wl,-wrap,pvalloc",
58309        "-Wl,-wrap,realloc",
58310        "-Wl,-wrap,realpath",
58311        "-Wl,-wrap,strdup",
58312        "-Wl,-wrap,strndup",
58313        "-Wl,-wrap,valloc",
58314        "-Wl,-wrap,vasprintf",
58315    ],
58316    target: {
58317        android_arm: {
58318            cflags: [
58319                "-D_FORTIFY_SOURCE=2",
58320            ],
58321        },
58322        android_arm64: {
58323            cflags: [
58324                "-D_FORTIFY_SOURCE=2",
58325                "-O2",
58326                "-mno-outline",
58327            ],
58328        },
58329        android_x86: {
58330            cflags: [
58331                "-D_FORTIFY_SOURCE=2",
58332                "-msse3",
58333            ],
58334        },
58335        android_x86_64: {
58336            cflags: [
58337                "-D_FORTIFY_SOURCE=2",
58338                "-msse3",
58339            ],
58340        },
58341    },
58342}
58343
58344// GN: //url:url_java
58345java_library {
58346    name: "cronet_aml_url_url_java",
58347    srcs: [
58348        ":cronet_aml_url_url_jni_headers__action__java",
58349        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
58350    ],
58351    static_libs: [
58352        "cronet_aml_third_party_jni_zero_jni_zero_java",
58353    ],
58354    defaults: [
58355        "cronet_aml_java_framework_defaults",
58356    ],
58357    apex_available: [
58358        "com.android.tethering",
58359    ],
58360    min_sdk_version: "30",
58361    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
58362}
58363
58364// GN: //url:url_java__testing
58365java_library {
58366    name: "cronet_aml_url_url_java__testing",
58367    srcs: [
58368        ":cronet_aml_url_url_jni_headers__action__testing__java",
58369        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
58370    ],
58371    static_libs: [
58372        "cronet_aml_third_party_jni_zero_jni_zero_java__testing",
58373    ],
58374    apex_available: [
58375        "com.android.tethering",
58376    ],
58377    min_sdk_version: "30",
58378    sdk_version: "current",
58379    jarjar_rules: "android/tools/remove-gen-jni-jarjar-rules.txt",
58380}
58381
58382// GN: //url:url_jni_headers__action
58383cc_genrule {
58384    name: "cronet_aml_url_url_jni_headers__action",
58385    srcs: [
58386        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
58387    ],
58388    cmd: "mkdir -p $(genDir)/jni_headers/url/url_jni_headers &&  " +
58389         "mkdir -p $(genDir)/url && $(location third_party/jni_zero/jni_zero.py) from-source " +
58390         "--output-dir " +
58391         "$(genDir)/url/url_jni_headers " +
58392         "--extra-include " +
58393         "third_party/jni_zero/jni_zero_internal.h " +
58394         "--srcjar-path " +
58395         "$(genDir)/url/url_jni_headers.srcjar " +
58396         "--placeholder-srcjar-path " +
58397         "$(genDir)/url/url_jni_headers_placeholder.srcjar " +
58398         "--use-proxy-hash " +
58399         "--output-name " +
58400         "IDNStringUtil_jni.h " +
58401         "--input-file " +
58402         "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
58403         "--package-prefix " +
58404         "android.net.connectivity",
58405    out: [
58406        "url/url_jni_headers.srcjar",
58407        "url/url_jni_headers/IDNStringUtil_jni.h",
58408    ],
58409    tool_files: [
58410        "third_party/jni_zero/codegen/called_by_native_header.py",
58411        "third_party/jni_zero/codegen/convert_type.py",
58412        "third_party/jni_zero/codegen/header_common.py",
58413        "third_party/jni_zero/codegen/natives_header.py",
58414        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
58415        "third_party/jni_zero/codegen/placeholder_java_type.py",
58416        "third_party/jni_zero/codegen/proxy_impl_java.py",
58417        "third_party/jni_zero/common.py",
58418        "third_party/jni_zero/java_lang_classes.py",
58419        "third_party/jni_zero/java_types.py",
58420        "third_party/jni_zero/jni_generator.py",
58421        "third_party/jni_zero/jni_registration_generator.py",
58422        "third_party/jni_zero/jni_zero.py",
58423        "third_party/jni_zero/parse.py",
58424        "third_party/jni_zero/proxy.py",
58425    ],
58426    apex_available: [
58427        "com.android.tethering",
58428    ],
58429}
58430
58431// GN: //url:url_jni_headers__action
58432java_genrule {
58433    name: "cronet_aml_url_url_jni_headers__action__java",
58434    srcs: [
58435        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
58436    ],
58437    cmd: "mkdir -p $(genDir)/jni_headers/url/url_jni_headers &&  " +
58438         "mkdir -p $(genDir)/url && $(location third_party/jni_zero/jni_zero.py) from-source " +
58439         "--output-dir " +
58440         "$(genDir)/url/url_jni_headers " +
58441         "--extra-include " +
58442         "third_party/jni_zero/jni_zero_internal.h " +
58443         "--srcjar-path " +
58444         "$(genDir)/url/url_jni_headers.srcjar " +
58445         "--placeholder-srcjar-path " +
58446         "$(genDir)/url/url_jni_headers_placeholder.srcjar " +
58447         "--use-proxy-hash " +
58448         "--output-name " +
58449         "IDNStringUtil_jni.h " +
58450         "--input-file " +
58451         "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
58452         "--package-prefix " +
58453         "android.net.connectivity",
58454    out: [
58455        "url/url_jni_headers.srcjar",
58456        "url/url_jni_headers/IDNStringUtil_jni.h",
58457    ],
58458    tool_files: [
58459        "third_party/jni_zero/codegen/called_by_native_header.py",
58460        "third_party/jni_zero/codegen/convert_type.py",
58461        "third_party/jni_zero/codegen/header_common.py",
58462        "third_party/jni_zero/codegen/natives_header.py",
58463        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
58464        "third_party/jni_zero/codegen/placeholder_java_type.py",
58465        "third_party/jni_zero/codegen/proxy_impl_java.py",
58466        "third_party/jni_zero/common.py",
58467        "third_party/jni_zero/java_lang_classes.py",
58468        "third_party/jni_zero/java_types.py",
58469        "third_party/jni_zero/jni_generator.py",
58470        "third_party/jni_zero/jni_registration_generator.py",
58471        "third_party/jni_zero/jni_zero.py",
58472        "third_party/jni_zero/parse.py",
58473        "third_party/jni_zero/proxy.py",
58474    ],
58475}
58476
58477// GN: //url:url_jni_headers__action__testing
58478cc_genrule {
58479    name: "cronet_aml_url_url_jni_headers__action__testing",
58480    srcs: [
58481        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
58482    ],
58483    cmd: "mkdir -p $(genDir)/jni_headers/url/url_jni_headers &&  " +
58484         "mkdir -p $(genDir)/url && $(location third_party/jni_zero/jni_zero.py) from-source " +
58485         "--output-dir " +
58486         "$(genDir)/url/url_jni_headers " +
58487         "--extra-include " +
58488         "third_party/jni_zero/jni_zero_internal.h " +
58489         "--srcjar-path " +
58490         "$(genDir)/url/url_jni_headers.srcjar " +
58491         "--placeholder-srcjar-path " +
58492         "$(genDir)/url/url_jni_headers_placeholder.srcjar " +
58493         "--use-proxy-hash " +
58494         "--output-name " +
58495         "IDNStringUtil_jni.h " +
58496         "--input-file " +
58497         "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java)",
58498    out: [
58499        "url/url_jni_headers.srcjar",
58500        "url/url_jni_headers/IDNStringUtil_jni.h",
58501    ],
58502    tool_files: [
58503        "third_party/jni_zero/codegen/called_by_native_header.py",
58504        "third_party/jni_zero/codegen/convert_type.py",
58505        "third_party/jni_zero/codegen/header_common.py",
58506        "third_party/jni_zero/codegen/natives_header.py",
58507        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
58508        "third_party/jni_zero/codegen/placeholder_java_type.py",
58509        "third_party/jni_zero/codegen/proxy_impl_java.py",
58510        "third_party/jni_zero/common.py",
58511        "third_party/jni_zero/java_lang_classes.py",
58512        "third_party/jni_zero/java_types.py",
58513        "third_party/jni_zero/jni_generator.py",
58514        "third_party/jni_zero/jni_registration_generator.py",
58515        "third_party/jni_zero/jni_zero.py",
58516        "third_party/jni_zero/parse.py",
58517        "third_party/jni_zero/proxy.py",
58518    ],
58519    apex_available: [
58520        "com.android.tethering",
58521    ],
58522}
58523
58524// GN: //url:url_jni_headers__action__testing
58525java_genrule {
58526    name: "cronet_aml_url_url_jni_headers__action__testing__java",
58527    srcs: [
58528        "url/android/java/src/org/chromium/url/IDNStringUtil.java",
58529    ],
58530    cmd: "mkdir -p $(genDir)/jni_headers/url/url_jni_headers &&  " +
58531         "mkdir -p $(genDir)/url && $(location third_party/jni_zero/jni_zero.py) from-source " +
58532         "--output-dir " +
58533         "$(genDir)/url/url_jni_headers " +
58534         "--extra-include " +
58535         "third_party/jni_zero/jni_zero_internal.h " +
58536         "--srcjar-path " +
58537         "$(genDir)/url/url_jni_headers.srcjar " +
58538         "--placeholder-srcjar-path " +
58539         "$(genDir)/url/url_jni_headers_placeholder.srcjar " +
58540         "--use-proxy-hash " +
58541         "--output-name " +
58542         "IDNStringUtil_jni.h " +
58543         "--input-file " +
58544         "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java)",
58545    out: [
58546        "url/url_jni_headers.srcjar",
58547        "url/url_jni_headers/IDNStringUtil_jni.h",
58548    ],
58549    tool_files: [
58550        "third_party/jni_zero/codegen/called_by_native_header.py",
58551        "third_party/jni_zero/codegen/convert_type.py",
58552        "third_party/jni_zero/codegen/header_common.py",
58553        "third_party/jni_zero/codegen/natives_header.py",
58554        "third_party/jni_zero/codegen/placeholder_gen_jni_java.py",
58555        "third_party/jni_zero/codegen/placeholder_java_type.py",
58556        "third_party/jni_zero/codegen/proxy_impl_java.py",
58557        "third_party/jni_zero/common.py",
58558        "third_party/jni_zero/java_lang_classes.py",
58559        "third_party/jni_zero/java_types.py",
58560        "third_party/jni_zero/jni_generator.py",
58561        "third_party/jni_zero/jni_registration_generator.py",
58562        "third_party/jni_zero/jni_zero.py",
58563        "third_party/jni_zero/parse.py",
58564        "third_party/jni_zero/proxy.py",
58565    ],
58566}
58567
58568