blob: 70e0c19acd4a96837325b58749af4f299f12240c [file] [log] [blame]
Motomu Utsumifcac4852022-10-26 19:28:31 +09001// Copyright (C) 2022 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// This file is automatically generated by gen_android_bp. Do not edit.
16
Patrick Rohrcc377df2022-10-28 09:27:15 -070017// GN: //base/allocator:buildflags
18genrule {
19 name: "cronet_aml_base_allocator_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -070020 cmd: "echo '--flags USE_PARTITION_ALLOC=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" USE_BACKUP_REF_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\" USE_MTE_CHECKED_PTR=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -070021 "$(location build/write_buildflag_header.py) --output " +
22 "$(out) " +
23 "--rulename " +
24 "//base/allocator:buildflags " +
25 "--gen-dir " +
26 ". " +
27 "--definitions " +
28 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -070029 out: [
30 "base/allocator/buildflags.h",
31 ],
32 tool_files: [
33 "build/write_buildflag_header.py",
34 ],
35}
36
37// GN: //base/allocator/partition_allocator:chromecast_buildflags
38genrule {
39 name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -070040 cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -070041 "$(location build/write_buildflag_header.py) --output " +
42 "$(out) " +
43 "--rulename " +
44 "//base/allocator/partition_allocator:chromecast_buildflags " +
45 "--gen-dir " +
46 ". " +
47 "--definitions " +
48 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -070049 out: [
50 "base/allocator/partition_allocator/chromecast_buildflags.h",
51 ],
52 tool_files: [
53 "build/write_buildflag_header.py",
54 ],
55}
56
57// GN: //base/allocator/partition_allocator:chromeos_buildflags
58genrule {
59 name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -070060 cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -070061 "$(location build/write_buildflag_header.py) --output " +
62 "$(out) " +
63 "--rulename " +
64 "//base/allocator/partition_allocator:chromeos_buildflags " +
65 "--gen-dir " +
66 ". " +
67 "--definitions " +
68 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -070069 out: [
70 "base/allocator/partition_allocator/chromeos_buildflags.h",
71 ],
72 tool_files: [
73 "build/write_buildflag_header.py",
74 ],
75}
76
77// GN: //base/allocator/partition_allocator:debugging_buildflags
78genrule {
79 name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -070080 cmd: "echo '--flags PA_DCHECK_IS_ON=\"true\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"true\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -070081 "$(location build/write_buildflag_header.py) --output " +
82 "$(out) " +
83 "--rulename " +
84 "//base/allocator/partition_allocator:debugging_buildflags " +
85 "--gen-dir " +
86 ". " +
87 "--definitions " +
88 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -070089 out: [
90 "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h",
91 ],
92 tool_files: [
93 "build/write_buildflag_header.py",
94 ],
95}
96
97// GN: //base/allocator/partition_allocator:logging_buildflags
98genrule {
99 name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -0700100 cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700101 "$(location build/write_buildflag_header.py) --output " +
102 "$(out) " +
103 "--rulename " +
104 "//base/allocator/partition_allocator:logging_buildflags " +
105 "--gen-dir " +
106 ". " +
107 "--definitions " +
108 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700109 out: [
110 "base/allocator/partition_allocator/logging_buildflags.h",
111 ],
112 tool_files: [
113 "build/write_buildflag_header.py",
114 ],
115}
116
117// GN: //base/allocator/partition_allocator:partition_alloc
118cc_library_static {
119 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc",
120 srcs: [
121 ":cronet_aml_third_party_android_ndk_cpu_features",
122 "base/allocator/partition_allocator/address_pool_manager.cc",
123 "base/allocator/partition_allocator/address_pool_manager_bitmap.cc",
124 "base/allocator/partition_allocator/address_space_randomization.cc",
125 "base/allocator/partition_allocator/allocation_guard.cc",
126 "base/allocator/partition_allocator/dangling_raw_ptr_checks.cc",
127 "base/allocator/partition_allocator/gwp_asan_support.cc",
128 "base/allocator/partition_allocator/memory_reclaimer.cc",
129 "base/allocator/partition_allocator/oom.cc",
130 "base/allocator/partition_allocator/oom_callback.cc",
131 "base/allocator/partition_allocator/page_allocator.cc",
132 "base/allocator/partition_allocator/page_allocator_internals_posix.cc",
133 "base/allocator/partition_allocator/partition_address_space.cc",
134 "base/allocator/partition_allocator/partition_alloc.cc",
135 "base/allocator/partition_allocator/partition_alloc_base/check.cc",
136 "base/allocator/partition_allocator/partition_alloc_base/cpu.cc",
137 "base/allocator/partition_allocator/partition_alloc_base/debug/alias.cc",
138 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
139 "base/allocator/partition_allocator/partition_alloc_base/files/file_util_posix.cc",
140 "base/allocator/partition_allocator/partition_alloc_base/logging.cc",
141 "base/allocator/partition_allocator/partition_alloc_base/memory/ref_counted.cc",
142 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
143 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
144 "base/allocator/partition_allocator/partition_alloc_base/pkey.cc",
145 "base/allocator/partition_allocator/partition_alloc_base/posix/safe_strerror.cc",
146 "base/allocator/partition_allocator/partition_alloc_base/rand_util.cc",
147 "base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc",
148 "base/allocator/partition_allocator/partition_alloc_base/strings/stringprintf.cc",
149 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread.cc",
150 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc",
151 "base/allocator/partition_allocator/partition_alloc_base/time/time.cc",
152 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
153 "base/allocator/partition_allocator/partition_alloc_base/time/time_conversion_posix.cc",
154 "base/allocator/partition_allocator/partition_alloc_base/time/time_now_posix.cc",
155 "base/allocator/partition_allocator/partition_alloc_base/time/time_override.cc",
156 "base/allocator/partition_allocator/partition_alloc_hooks.cc",
157 "base/allocator/partition_allocator/partition_bucket.cc",
158 "base/allocator/partition_allocator/partition_oom.cc",
159 "base/allocator/partition_allocator/partition_page.cc",
160 "base/allocator/partition_allocator/partition_root.cc",
161 "base/allocator/partition_allocator/partition_stats.cc",
162 "base/allocator/partition_allocator/random.cc",
163 "base/allocator/partition_allocator/reservation_offset_table.cc",
164 "base/allocator/partition_allocator/spinning_mutex.cc",
165 "base/allocator/partition_allocator/starscan/metadata_allocator.cc",
166 "base/allocator/partition_allocator/starscan/pcscan.cc",
167 "base/allocator/partition_allocator/starscan/pcscan_internal.cc",
168 "base/allocator/partition_allocator/starscan/pcscan_scheduling.cc",
169 "base/allocator/partition_allocator/starscan/snapshot.cc",
Motomu Utsumid03217b2022-11-01 12:16:19 +0900170 "base/allocator/partition_allocator/starscan/stack/asm/x64/push_registers_asm.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700171 "base/allocator/partition_allocator/starscan/stack/stack.cc",
172 "base/allocator/partition_allocator/starscan/stats_collector.cc",
173 "base/allocator/partition_allocator/starscan/write_protector.cc",
174 "base/allocator/partition_allocator/tagging.cc",
175 "base/allocator/partition_allocator/thread_cache.cc",
176 ],
177 generated_headers: [
178 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
179 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
180 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
181 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
182 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
183 ],
184 export_generated_headers: [
185 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
186 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
187 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
188 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
189 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
190 ],
191 defaults: [
192 "cronet_aml_defaults",
193 ],
194 cflags: [
195 "-DANDROID",
196 "-DANDROID_NDK_VERSION_ROLL=r23_1",
197 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
198 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
199 "-DDCHECK_ALWAYS_ON=1",
200 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
201 "-DHAVE_SYS_UIO_H",
202 "-DIS_PARTITION_ALLOC_IMPL",
203 "-DPA_PCSCAN_STACK_SUPPORTED",
204 "-D_DEBUG",
205 "-D_GNU_SOURCE",
206 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
207 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
208 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
209 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
210 "-D__STDC_CONSTANT_MACROS",
211 "-D__STDC_FORMAT_MACROS",
212 ],
213 local_include_dirs: [
214 "./",
215 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -0700216 "buildtools/third_party/libc++/trunk/include",
217 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700218 "third_party/android_ndk/sources/android/cpufeatures/",
Motomu Utsumid30ceed2022-11-01 13:06:18 +0900219 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700220 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -0700221 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700222}
223
224// GN: //base/allocator/partition_allocator:partition_alloc_buildflags
225genrule {
226 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -0700227 cmd: "echo '--flags ENABLE_PARTITION_ALLOC_AS_MALLOC_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"true\" ENABLE_GWP_ASAN_SUPPORT=\"true\" ENABLE_MTE_CHECKED_PTR_SUPPORT=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700228 "$(location build/write_buildflag_header.py) --output " +
229 "$(out) " +
230 "--rulename " +
231 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
232 "--gen-dir " +
233 ". " +
234 "--definitions " +
235 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700236 out: [
237 "base/allocator/partition_allocator/partition_alloc_buildflags.h",
238 ],
239 tool_files: [
240 "build/write_buildflag_header.py",
241 ],
242}
243
244// GN: //base:anchor_functions_buildflags
245genrule {
246 name: "cronet_aml_base_anchor_functions_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -0700247 cmd: "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700248 "$(location build/write_buildflag_header.py) --output " +
249 "$(out) " +
250 "--rulename " +
251 "//base:anchor_functions_buildflags " +
252 "--gen-dir " +
253 ". " +
254 "--definitions " +
255 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700256 out: [
257 "base/android/library_loader/anchor_functions_buildflags.h",
258 ],
259 tool_files: [
260 "build/write_buildflag_header.py",
261 ],
262}
263
264// GN: //base:android_runtime_jni_headers
265genrule {
266 name: "cronet_aml_base_android_runtime_jni_headers",
Patrick Rohr9b99a982022-10-28 11:00:57 -0700267 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
268 "long " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700269 " " +
270 " " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700271 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -0700272 "$(genDir)/base/android_runtime_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700273 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -0700274 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700275 "--jar_file " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700276 "$(location third_party/android_sdk/public/platforms/android-33/android.jar) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700277 "--output_name " +
278 "Runnable_jni.h " +
279 "--output_name " +
280 "Runtime_jni.h " +
281 "--input_file " +
282 "java/lang/Runnable.class " +
283 "--input_file " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700284 "java/lang/Runtime.class " +
285 "--javap " +
286 "$$(find out/.path -name javap)",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700287 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -0700288 "base/android_runtime_jni_headers/Runnable_jni.h",
289 "base/android_runtime_jni_headers/Runtime_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700290 ],
291 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +0000292 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700293 "base/android/jni_generator/jni_generator.py",
294 "build/android/gyp/util/__init__.py",
295 "build/android/gyp/util/build_utils.py",
296 "build/gn_helpers.py",
297 "third_party/android_sdk/public/platforms/android-33/android.jar",
298 ],
299}
300
301// GN: //base:base
302cc_library_static {
303 name: "cronet_aml_base_base",
304 srcs: [
305 ":cronet_aml_base_numerics_base_numerics",
306 ":cronet_aml_third_party_abseil_cpp_absl",
307 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
308 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
309 ":cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
310 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
311 ":cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
312 ":cronet_aml_third_party_abseil_cpp_absl_base_config",
313 ":cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
314 ":cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
315 ":cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
316 ":cronet_aml_third_party_abseil_cpp_absl_base_endian",
317 ":cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
318 ":cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
319 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
320 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
321 ":cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
322 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
323 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
324 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
325 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
326 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
327 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
328 ":cronet_aml_third_party_abseil_cpp_absl_container_btree",
329 ":cronet_aml_third_party_abseil_cpp_absl_container_common",
330 ":cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
331 ":cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
332 ":cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
333 ":cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
334 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
335 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
336 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
337 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
338 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
339 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
340 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
341 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
342 ":cronet_aml_third_party_abseil_cpp_absl_container_layout",
343 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
344 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
345 ":cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
346 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
347 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
348 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
349 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
350 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
351 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
352 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
353 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
354 ":cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
355 ":cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
356 ":cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
357 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
358 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
359 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
360 ":cronet_aml_third_party_abseil_cpp_absl_memory_memory",
361 ":cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
362 ":cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
363 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
364 ":cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
365 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
366 ":cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
367 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
368 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
369 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
370 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
371 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
372 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
373 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
374 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
375 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
376 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
377 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
378 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
379 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
380 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
381 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
382 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
383 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
384 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
385 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
386 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
387 ":cronet_aml_third_party_abseil_cpp_absl_random_random",
388 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
389 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
390 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
391 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
392 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
393 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
394 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
395 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
396 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
397 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
398 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
399 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
400 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
401 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
402 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
403 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
404 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
405 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
406 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
407 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
408 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
409 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
410 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
411 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
412 ":cronet_aml_third_party_abseil_cpp_absl_types_compare",
413 ":cronet_aml_third_party_abseil_cpp_absl_types_optional",
414 ":cronet_aml_third_party_abseil_cpp_absl_types_span",
415 ":cronet_aml_third_party_abseil_cpp_absl_types_variant",
416 ":cronet_aml_third_party_abseil_cpp_absl_utility_utility",
417 ":cronet_aml_third_party_android_ndk_cpu_features",
418 ":cronet_aml_third_party_ashmem_ashmem",
419 "base/allocator/allocator_check.cc",
420 "base/allocator/allocator_extension.cc",
421 "base/allocator/dispatcher/dispatcher.cc",
422 "base/allocator/dispatcher/internal/dispatch_data.cc",
423 "base/allocator/dispatcher/reentry_guard.cc",
424 "base/allocator/partition_allocator/shim/allocator_shim.cc",
425 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
426 "base/android/android_hardware_buffer_compat.cc",
427 "base/android/android_image_reader_compat.cc",
428 "base/android/apk_assets.cc",
429 "base/android/application_status_listener.cc",
430 "base/android/base_feature_list.cc",
431 "base/android/base_features.cc",
432 "base/android/base_jni_onload.cc",
433 "base/android/build_info.cc",
434 "base/android/bundle_utils.cc",
435 "base/android/callback_android.cc",
436 "base/android/child_process_service.cc",
437 "base/android/command_line_android.cc",
438 "base/android/content_uri_utils.cc",
439 "base/android/cpu_features.cc",
440 "base/android/early_trace_event_binding.cc",
441 "base/android/event_log.cc",
442 "base/android/feature_list_jni.cc",
443 "base/android/features_jni.cc",
444 "base/android/field_trial_list.cc",
445 "base/android/important_file_writer_android.cc",
446 "base/android/int_string_callback.cc",
447 "base/android/jank_metric_uma_recorder.cc",
448 "base/android/java_exception_reporter.cc",
449 "base/android/java_handler_thread.cc",
450 "base/android/java_heap_dump_generator.cc",
451 "base/android/java_runtime.cc",
452 "base/android/jni_android.cc",
453 "base/android/jni_array.cc",
454 "base/android/jni_registrar.cc",
455 "base/android/jni_string.cc",
456 "base/android/jni_utils.cc",
457 "base/android/jni_weak_ref.cc",
458 "base/android/library_loader/anchor_functions.cc",
459 "base/android/library_loader/library_loader_hooks.cc",
460 "base/android/library_loader/library_prefetcher.cc",
461 "base/android/library_loader/library_prefetcher_hooks.cc",
462 "base/android/locale_utils.cc",
463 "base/android/memory_pressure_listener_android.cc",
464 "base/android/native_uma_recorder.cc",
465 "base/android/path_service_android.cc",
466 "base/android/path_utils.cc",
467 "base/android/radio_utils.cc",
468 "base/android/reached_addresses_bitset.cc",
Motomu Utsumid03217b2022-11-01 12:16:19 +0900469 "base/android/reached_code_profiler_stub.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700470 "base/android/remove_stale_data.cc",
471 "base/android/scoped_hardware_buffer_fence_sync.cc",
472 "base/android/scoped_hardware_buffer_handle.cc",
473 "base/android/scoped_java_ref.cc",
474 "base/android/statistics_recorder_android.cc",
475 "base/android/sys_utils.cc",
476 "base/android/task_scheduler/post_task_android.cc",
477 "base/android/task_scheduler/task_runner_android.cc",
478 "base/android/thread_instruction_count.cc",
479 "base/android/timezone_utils.cc",
480 "base/android/trace_event_binding.cc",
481 "base/android/unguessable_token_android.cc",
482 "base/at_exit.cc",
483 "base/barrier_closure.cc",
484 "base/base64.cc",
485 "base/base64url.cc",
486 "base/base_paths.cc",
487 "base/base_paths_android.cc",
488 "base/big_endian.cc",
489 "base/build_time.cc",
490 "base/callback_list.cc",
491 "base/check.cc",
492 "base/check_is_test.cc",
493 "base/check_op.cc",
494 "base/command_line.cc",
495 "base/containers/flat_tree.cc",
496 "base/containers/intrusive_heap.cc",
497 "base/containers/linked_list.cc",
498 "base/cpu.cc",
499 "base/cpu_reduction_experiment.cc",
500 "base/debug/activity_analyzer.cc",
501 "base/debug/activity_tracker.cc",
502 "base/debug/alias.cc",
503 "base/debug/asan_invalid_access.cc",
504 "base/debug/buffered_dwarf_reader.cc",
505 "base/debug/crash_logging.cc",
506 "base/debug/debugger.cc",
507 "base/debug/debugger_posix.cc",
508 "base/debug/dump_without_crashing.cc",
509 "base/debug/dwarf_line_no.cc",
510 "base/debug/elf_reader.cc",
511 "base/debug/proc_maps_linux.cc",
512 "base/debug/profiler.cc",
513 "base/debug/stack_trace.cc",
514 "base/debug/stack_trace_android.cc",
515 "base/debug/task_trace.cc",
516 "base/environment.cc",
517 "base/feature_list.cc",
518 "base/features.cc",
519 "base/file_descriptor_posix.cc",
520 "base/file_descriptor_store.cc",
521 "base/files/file.cc",
522 "base/files/file_descriptor_watcher_posix.cc",
523 "base/files/file_enumerator.cc",
524 "base/files/file_enumerator_posix.cc",
525 "base/files/file_path.cc",
526 "base/files/file_path_watcher.cc",
527 "base/files/file_path_watcher_inotify.cc",
528 "base/files/file_posix.cc",
529 "base/files/file_proxy.cc",
530 "base/files/file_tracing.cc",
531 "base/files/file_util.cc",
532 "base/files/file_util_android.cc",
533 "base/files/file_util_posix.cc",
534 "base/files/important_file_writer.cc",
535 "base/files/important_file_writer_cleaner.cc",
536 "base/files/memory_mapped_file.cc",
537 "base/files/memory_mapped_file_posix.cc",
538 "base/files/safe_base_name.cc",
539 "base/files/scoped_file.cc",
540 "base/files/scoped_file_android.cc",
541 "base/files/scoped_temp_dir.cc",
542 "base/functional/callback_helpers.cc",
543 "base/functional/callback_internal.cc",
544 "base/guid.cc",
545 "base/hash/hash.cc",
546 "base/hash/legacy_hash.cc",
547 "base/hash/md5_boringssl.cc",
548 "base/hash/sha1_boringssl.cc",
549 "base/json/json_file_value_serializer.cc",
550 "base/json/json_parser.cc",
551 "base/json/json_reader.cc",
552 "base/json/json_string_value_serializer.cc",
553 "base/json/json_value_converter.cc",
554 "base/json/json_writer.cc",
555 "base/json/string_escape.cc",
556 "base/json/values_util.cc",
557 "base/lazy_instance_helpers.cc",
558 "base/linux_util.cc",
559 "base/location.cc",
560 "base/logging.cc",
561 "base/memory/aligned_memory.cc",
562 "base/memory/discardable_memory.cc",
563 "base/memory/discardable_memory_allocator.cc",
564 "base/memory/discardable_shared_memory.cc",
565 "base/memory/madv_free_discardable_memory_allocator_posix.cc",
566 "base/memory/madv_free_discardable_memory_posix.cc",
567 "base/memory/memory_pressure_listener.cc",
568 "base/memory/memory_pressure_monitor.cc",
569 "base/memory/nonscannable_memory.cc",
570 "base/memory/page_size_posix.cc",
571 "base/memory/platform_shared_memory_handle.cc",
572 "base/memory/platform_shared_memory_mapper_android.cc",
573 "base/memory/platform_shared_memory_region.cc",
574 "base/memory/platform_shared_memory_region_android.cc",
575 "base/memory/raw_ptr.cc",
576 "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
577 "base/memory/raw_ptr_asan_service.cc",
578 "base/memory/read_only_shared_memory_region.cc",
579 "base/memory/ref_counted.cc",
580 "base/memory/ref_counted_memory.cc",
581 "base/memory/shared_memory_mapper.cc",
582 "base/memory/shared_memory_mapping.cc",
583 "base/memory/shared_memory_security_policy.cc",
584 "base/memory/shared_memory_tracker.cc",
585 "base/memory/unsafe_shared_memory_pool.cc",
586 "base/memory/unsafe_shared_memory_region.cc",
587 "base/memory/weak_ptr.cc",
588 "base/memory/writable_shared_memory_region.cc",
589 "base/message_loop/message_pump.cc",
590 "base/message_loop/message_pump_android.cc",
591 "base/message_loop/message_pump_default.cc",
592 "base/message_loop/message_pump_epoll.cc",
593 "base/message_loop/message_pump_libevent.cc",
594 "base/message_loop/watchable_io_message_pump_posix.cc",
595 "base/message_loop/work_id_provider.cc",
596 "base/metrics/bucket_ranges.cc",
597 "base/metrics/crc32.cc",
598 "base/metrics/dummy_histogram.cc",
599 "base/metrics/field_trial.cc",
600 "base/metrics/field_trial_param_associator.cc",
601 "base/metrics/field_trial_params.cc",
602 "base/metrics/histogram.cc",
603 "base/metrics/histogram_base.cc",
604 "base/metrics/histogram_delta_serialization.cc",
605 "base/metrics/histogram_functions.cc",
606 "base/metrics/histogram_samples.cc",
607 "base/metrics/histogram_snapshot_manager.cc",
608 "base/metrics/metrics_hashes.cc",
609 "base/metrics/persistent_histogram_allocator.cc",
610 "base/metrics/persistent_histogram_storage.cc",
611 "base/metrics/persistent_memory_allocator.cc",
612 "base/metrics/persistent_sample_map.cc",
613 "base/metrics/ranges_manager.cc",
614 "base/metrics/sample_map.cc",
615 "base/metrics/sample_vector.cc",
616 "base/metrics/single_sample_metrics.cc",
617 "base/metrics/sparse_histogram.cc",
618 "base/metrics/statistics_recorder.cc",
619 "base/metrics/user_metrics.cc",
620 "base/native_library.cc",
621 "base/native_library_posix.cc",
622 "base/observer_list_internal.cc",
623 "base/observer_list_threadsafe.cc",
624 "base/observer_list_types.cc",
625 "base/one_shot_event.cc",
626 "base/os_compat_android.cc",
627 "base/path_service.cc",
628 "base/pending_task.cc",
629 "base/pickle.cc",
630 "base/posix/can_lower_nice_to.cc",
631 "base/posix/file_descriptor_shuffle.cc",
632 "base/posix/global_descriptors.cc",
633 "base/posix/safe_strerror.cc",
634 "base/posix/unix_domain_socket.cc",
635 "base/power_monitor/battery_level_provider.cc",
636 "base/power_monitor/battery_state_sampler.cc",
637 "base/power_monitor/moving_average.cc",
638 "base/power_monitor/power_monitor.cc",
639 "base/power_monitor/power_monitor_device_source.cc",
640 "base/power_monitor/power_monitor_device_source_android.cc",
641 "base/power_monitor/power_monitor_features.cc",
642 "base/power_monitor/power_monitor_source.cc",
643 "base/power_monitor/sampling_event_source.cc",
644 "base/power_monitor/timer_sampling_event_source.cc",
645 "base/process/environment_internal.cc",
646 "base/process/internal_linux.cc",
647 "base/process/kill.cc",
648 "base/process/kill_posix.cc",
649 "base/process/launch.cc",
650 "base/process/launch_posix.cc",
651 "base/process/memory.cc",
652 "base/process/memory_linux.cc",
653 "base/process/process_android.cc",
654 "base/process/process_handle.cc",
655 "base/process/process_handle_linux.cc",
656 "base/process/process_handle_posix.cc",
657 "base/process/process_iterator.cc",
658 "base/process/process_iterator_linux.cc",
659 "base/process/process_metrics.cc",
660 "base/process/process_metrics_linux.cc",
661 "base/process/process_metrics_posix.cc",
662 "base/process/process_posix.cc",
663 "base/profiler/arm_cfi_table.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700664 "base/profiler/frame.cc",
665 "base/profiler/metadata_recorder.cc",
666 "base/profiler/module_cache.cc",
667 "base/profiler/module_cache_posix.cc",
668 "base/profiler/sample_metadata.cc",
669 "base/profiler/sampling_profiler_thread_token.cc",
670 "base/profiler/stack_base_address_posix.cc",
671 "base/profiler/stack_buffer.cc",
672 "base/profiler/stack_copier.cc",
673 "base/profiler/stack_copier_signal.cc",
674 "base/profiler/stack_copier_suspend.cc",
675 "base/profiler/stack_sampler.cc",
676 "base/profiler/stack_sampler_android.cc",
677 "base/profiler/stack_sampler_impl.cc",
678 "base/profiler/stack_sampling_profiler.cc",
679 "base/profiler/thread_delegate_posix.cc",
680 "base/profiler/unwinder.cc",
681 "base/rand_util.cc",
682 "base/rand_util_posix.cc",
683 "base/run_loop.cc",
684 "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
685 "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
686 "base/sampling_heap_profiler/sampling_heap_profiler.cc",
687 "base/scoped_add_feature_flags.cc",
688 "base/scoped_environment_variable_override.cc",
689 "base/scoped_native_library.cc",
690 "base/sequence_checker.cc",
691 "base/sequence_checker_impl.cc",
692 "base/sequence_token.cc",
693 "base/strings/abseil_string_conversions.cc",
694 "base/strings/abseil_string_number_conversions.cc",
695 "base/strings/escape.cc",
696 "base/strings/latin1_string_conversions.cc",
697 "base/strings/pattern.cc",
698 "base/strings/safe_sprintf.cc",
699 "base/strings/strcat.cc",
700 "base/strings/string_number_conversions.cc",
701 "base/strings/string_piece.cc",
702 "base/strings/string_split.cc",
703 "base/strings/string_util.cc",
704 "base/strings/string_util_constants.cc",
705 "base/strings/stringprintf.cc",
706 "base/strings/sys_string_conversions_posix.cc",
707 "base/strings/utf_offset_string_conversions.cc",
708 "base/strings/utf_string_conversion_utils.cc",
709 "base/strings/utf_string_conversions.cc",
710 "base/substring_set_matcher/matcher_string_pattern.cc",
711 "base/substring_set_matcher/substring_set_matcher.cc",
712 "base/supports_user_data.cc",
713 "base/sync_socket.cc",
714 "base/sync_socket_posix.cc",
715 "base/synchronization/atomic_flag.cc",
716 "base/synchronization/condition_variable_posix.cc",
717 "base/synchronization/lock.cc",
718 "base/synchronization/lock_impl_posix.cc",
719 "base/synchronization/waitable_event_posix.cc",
720 "base/synchronization/waitable_event_watcher_posix.cc",
721 "base/syslog_logging.cc",
722 "base/system/sys_info.cc",
723 "base/system/sys_info_android.cc",
724 "base/system/sys_info_linux.cc",
725 "base/system/sys_info_posix.cc",
726 "base/system/system_monitor.cc",
727 "base/task/cancelable_task_tracker.cc",
728 "base/task/common/checked_lock_impl.cc",
729 "base/task/common/lazy_now.cc",
730 "base/task/common/operations_controller.cc",
731 "base/task/common/scoped_defer_task_posting.cc",
732 "base/task/common/task_annotator.cc",
733 "base/task/current_thread.cc",
734 "base/task/default_delayed_task_handle_delegate.cc",
735 "base/task/deferred_sequenced_task_runner.cc",
736 "base/task/delayed_task_handle.cc",
737 "base/task/lazy_thread_pool_task_runner.cc",
738 "base/task/post_job.cc",
739 "base/task/scoped_set_task_priority_for_current_thread.cc",
740 "base/task/sequence_manager/associated_thread_id.cc",
741 "base/task/sequence_manager/atomic_flag_set.cc",
742 "base/task/sequence_manager/delayed_task_handle_delegate.cc",
743 "base/task/sequence_manager/enqueue_order_generator.cc",
744 "base/task/sequence_manager/fence.cc",
745 "base/task/sequence_manager/hierarchical_timing_wheel.cc",
746 "base/task/sequence_manager/sequence_manager.cc",
747 "base/task/sequence_manager/sequence_manager_impl.cc",
748 "base/task/sequence_manager/sequenced_task_source.cc",
749 "base/task/sequence_manager/task_order.cc",
750 "base/task/sequence_manager/task_queue.cc",
751 "base/task/sequence_manager/task_queue_impl.cc",
752 "base/task/sequence_manager/task_queue_selector.cc",
753 "base/task/sequence_manager/tasks.cc",
754 "base/task/sequence_manager/thread_controller.cc",
755 "base/task/sequence_manager/thread_controller_impl.cc",
756 "base/task/sequence_manager/thread_controller_power_monitor.cc",
757 "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
758 "base/task/sequence_manager/time_domain.cc",
759 "base/task/sequence_manager/timing_wheel.cc",
760 "base/task/sequence_manager/wake_up_queue.cc",
761 "base/task/sequence_manager/work_deduplicator.cc",
762 "base/task/sequence_manager/work_queue.cc",
763 "base/task/sequence_manager/work_queue_sets.cc",
764 "base/task/sequenced_task_runner.cc",
765 "base/task/simple_task_executor.cc",
766 "base/task/single_thread_task_executor.cc",
767 "base/task/single_thread_task_runner.cc",
768 "base/task/task_executor.cc",
769 "base/task/task_features.cc",
770 "base/task/task_runner.cc",
771 "base/task/task_traits.cc",
772 "base/task/thread_pool.cc",
773 "base/task/thread_pool/delayed_priority_queue.cc",
774 "base/task/thread_pool/delayed_task_manager.cc",
775 "base/task/thread_pool/environment_config.cc",
776 "base/task/thread_pool/initialization_util.cc",
777 "base/task/thread_pool/job_task_source.cc",
778 "base/task/thread_pool/pooled_parallel_task_runner.cc",
779 "base/task/thread_pool/pooled_sequenced_task_runner.cc",
780 "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
781 "base/task/thread_pool/pooled_task_runner_delegate.cc",
782 "base/task/thread_pool/priority_queue.cc",
783 "base/task/thread_pool/sequence.cc",
784 "base/task/thread_pool/service_thread.cc",
785 "base/task/thread_pool/task.cc",
786 "base/task/thread_pool/task_source.cc",
787 "base/task/thread_pool/task_source_sort_key.cc",
788 "base/task/thread_pool/task_tracker.cc",
789 "base/task/thread_pool/thread_group.cc",
790 "base/task/thread_pool/thread_group_impl.cc",
791 "base/task/thread_pool/thread_group_native.cc",
792 "base/task/thread_pool/thread_pool_impl.cc",
793 "base/task/thread_pool/thread_pool_instance.cc",
794 "base/task/thread_pool/worker_thread.cc",
795 "base/task/thread_pool/worker_thread_stack.cc",
796 "base/third_party/cityhash/city.cc",
797 "base/third_party/cityhash_v103/src/city_v103.cc",
798 "base/third_party/nspr/prtime.cc",
799 "base/third_party/superfasthash/superfasthash.c",
800 "base/threading/hang_watcher.cc",
801 "base/threading/platform_thread.cc",
802 "base/threading/platform_thread_android.cc",
803 "base/threading/platform_thread_internal_posix.cc",
804 "base/threading/platform_thread_posix.cc",
805 "base/threading/platform_thread_ref.cc",
806 "base/threading/post_task_and_reply_impl.cc",
807 "base/threading/scoped_blocking_call.cc",
808 "base/threading/scoped_blocking_call_internal.cc",
809 "base/threading/scoped_thread_priority.cc",
810 "base/threading/sequence_local_storage_map.cc",
811 "base/threading/sequence_local_storage_slot.cc",
812 "base/threading/sequenced_task_runner_handle.cc",
813 "base/threading/simple_thread.cc",
814 "base/threading/thread.cc",
815 "base/threading/thread_checker.cc",
816 "base/threading/thread_checker_impl.cc",
817 "base/threading/thread_collision_warner.cc",
818 "base/threading/thread_id_name_manager.cc",
819 "base/threading/thread_local_storage.cc",
820 "base/threading/thread_local_storage_posix.cc",
821 "base/threading/thread_restrictions.cc",
822 "base/threading/thread_task_runner_handle.cc",
823 "base/threading/watchdog.cc",
824 "base/time/clock.cc",
825 "base/time/default_clock.cc",
826 "base/time/default_tick_clock.cc",
827 "base/time/tick_clock.cc",
828 "base/time/time.cc",
829 "base/time/time_android.cc",
830 "base/time/time_conversion_posix.cc",
831 "base/time/time_delta_from_string.cc",
832 "base/time/time_exploded_icu.cc",
833 "base/time/time_exploded_posix.cc",
834 "base/time/time_now_posix.cc",
835 "base/time/time_override.cc",
836 "base/time/time_to_iso8601.cc",
837 "base/timer/elapsed_timer.cc",
838 "base/timer/hi_res_timer_manager_posix.cc",
839 "base/timer/lap_timer.cc",
840 "base/timer/timer.cc",
841 "base/timer/wall_clock_timer.cc",
842 "base/token.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700843 "base/trace_event/heap_profiler_allocation_context.cc",
844 "base/trace_event/heap_profiler_allocation_context_tracker.cc",
845 "base/trace_event/memory_allocator_dump_guid.cc",
846 "base/trace_event/trace_event_stub.cc",
847 "base/trace_event/trace_id_helper.cc",
848 "base/unguessable_token.cc",
849 "base/value_iterators.cc",
850 "base/values.cc",
851 "base/version.cc",
852 "base/vlog.cc",
853 ],
854 shared_libs: [
855 "libandroid",
856 "liblog",
857 ],
858 static_libs: [
859 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
860 "cronet_aml_base_base_static",
861 "cronet_aml_base_third_party_double_conversion_double_conversion",
862 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
863 "cronet_aml_third_party_boringssl_boringssl",
864 "cronet_aml_third_party_icu_icui18n",
865 "cronet_aml_third_party_icu_icuuc_private",
866 "cronet_aml_third_party_libevent_libevent",
867 "cronet_aml_third_party_modp_b64_modp_b64",
868 ],
869 generated_headers: [
870 "cronet_aml_base_allocator_buildflags",
871 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
872 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
873 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
874 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
875 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
876 "cronet_aml_base_anchor_functions_buildflags",
Motomu Utsumie246feb2022-11-01 17:25:56 +0900877 "cronet_aml_base_android_runtime_jni_headers",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700878 "cronet_aml_base_base_jni_headers",
879 "cronet_aml_base_build_date",
880 "cronet_aml_base_cfi_buildflags",
881 "cronet_aml_base_clang_profiling_buildflags",
882 "cronet_aml_base_debugging_buildflags",
883 "cronet_aml_base_feature_list_buildflags",
884 "cronet_aml_base_ios_cronet_buildflags",
885 "cronet_aml_base_logging_buildflags",
886 "cronet_aml_base_message_pump_buildflags",
887 "cronet_aml_base_orderfile_buildflags",
888 "cronet_aml_base_parsing_buildflags",
889 "cronet_aml_base_power_monitor_buildflags",
890 "cronet_aml_base_profiler_buildflags",
891 "cronet_aml_base_sanitizer_buildflags",
892 "cronet_aml_base_synchronization_buildflags",
893 "cronet_aml_base_tracing_buildflags",
894 "cronet_aml_build_branding_buildflags",
895 "cronet_aml_build_chromecast_buildflags",
896 "cronet_aml_build_chromeos_buildflags",
897 "cronet_aml_build_config_compiler_compiler_buildflags",
898 ],
899 export_generated_headers: [
900 "cronet_aml_base_allocator_buildflags",
901 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
902 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
903 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
904 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
905 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
906 "cronet_aml_base_anchor_functions_buildflags",
Motomu Utsumie246feb2022-11-01 17:25:56 +0900907 "cronet_aml_base_android_runtime_jni_headers",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700908 "cronet_aml_base_base_jni_headers",
909 "cronet_aml_base_build_date",
910 "cronet_aml_base_cfi_buildflags",
911 "cronet_aml_base_clang_profiling_buildflags",
912 "cronet_aml_base_debugging_buildflags",
913 "cronet_aml_base_feature_list_buildflags",
914 "cronet_aml_base_ios_cronet_buildflags",
915 "cronet_aml_base_logging_buildflags",
916 "cronet_aml_base_message_pump_buildflags",
917 "cronet_aml_base_orderfile_buildflags",
918 "cronet_aml_base_parsing_buildflags",
919 "cronet_aml_base_power_monitor_buildflags",
920 "cronet_aml_base_profiler_buildflags",
921 "cronet_aml_base_sanitizer_buildflags",
922 "cronet_aml_base_synchronization_buildflags",
923 "cronet_aml_base_tracing_buildflags",
924 "cronet_aml_build_branding_buildflags",
925 "cronet_aml_build_chromecast_buildflags",
926 "cronet_aml_build_chromeos_buildflags",
927 "cronet_aml_build_config_compiler_compiler_buildflags",
928 ],
929 defaults: [
930 "cronet_aml_defaults",
931 ],
932 cflags: [
933 "-DABSL_ALLOCATOR_NOTHROW=1",
934 "-DANDROID",
935 "-DANDROID_NDK_VERSION_ROLL=r23_1",
936 "-DBASE_IMPLEMENTATION",
937 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
938 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
939 "-DDCHECK_ALWAYS_ON=1",
940 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
941 "-DHAVE_SYS_UIO_H",
942 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
943 "-DUSE_CHROMIUM_ICU=1",
944 "-DU_ENABLE_DYLOAD=0",
945 "-DU_ENABLE_RESOURCE_TRACING=0",
946 "-DU_ENABLE_TRACING=1",
947 "-DU_STATIC_IMPLEMENTATION",
948 "-DU_USING_ICU_NAMESPACE=0",
949 "-D_DEBUG",
950 "-D_GNU_SOURCE",
951 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
952 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
953 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
954 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
955 "-D__STDC_CONSTANT_MACROS",
956 "-D__STDC_FORMAT_MACROS",
957 ],
958 local_include_dirs: [
959 "./",
960 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -0700961 "buildtools/third_party/libc++/trunk/include",
962 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700963 "third_party/abseil-cpp/",
964 "third_party/android_ndk/sources/android/cpufeatures/",
965 "third_party/boringssl/src/include/",
966 "third_party/icu/source/common/",
967 "third_party/icu/source/i18n/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +0900968 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700969 ],
Patrick Rohrf22e9d02022-10-28 14:20:46 -0700970 header_libs: [
971 "jni_headers",
972 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -0700973 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700974}
975
976// GN: //base:base_jni_headers
977genrule {
978 name: "cronet_aml_base_base_jni_headers",
979 srcs: [
980 "base/android/java/src/org/chromium/base/ApkAssets.java",
981 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
982 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
983 "base/android/java/src/org/chromium/base/BuildInfo.java",
984 "base/android/java/src/org/chromium/base/BundleUtils.java",
985 "base/android/java/src/org/chromium/base/Callback.java",
986 "base/android/java/src/org/chromium/base/CommandLine.java",
987 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
988 "base/android/java/src/org/chromium/base/CpuFeatures.java",
989 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
990 "base/android/java/src/org/chromium/base/EventLog.java",
991 "base/android/java/src/org/chromium/base/FeatureList.java",
992 "base/android/java/src/org/chromium/base/Features.java",
993 "base/android/java/src/org/chromium/base/FieldTrialList.java",
994 "base/android/java/src/org/chromium/base/FileUtils.java",
995 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
996 "base/android/java/src/org/chromium/base/IntStringCallback.java",
997 "base/android/java/src/org/chromium/base/JNIUtils.java",
998 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
999 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
1000 "base/android/java/src/org/chromium/base/LocaleUtils.java",
1001 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
1002 "base/android/java/src/org/chromium/base/PathService.java",
1003 "base/android/java/src/org/chromium/base/PathUtils.java",
1004 "base/android/java/src/org/chromium/base/PowerMonitor.java",
1005 "base/android/java/src/org/chromium/base/RadioUtils.java",
1006 "base/android/java/src/org/chromium/base/SysUtils.java",
1007 "base/android/java/src/org/chromium/base/ThreadUtils.java",
1008 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
1009 "base/android/java/src/org/chromium/base/TraceEvent.java",
1010 "base/android/java/src/org/chromium/base/UnguessableToken.java",
1011 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
1012 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
1013 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
1014 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
1015 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
1016 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
1017 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
1018 "base/android/java/src/org/chromium/base/task/PostTask.java",
1019 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
1020 ],
Patrick Rohr9b99a982022-10-28 11:00:57 -07001021 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
1022 "long " +
Patrick Rohr131ba282022-10-31 16:36:20 -07001023 " " +
1024 " " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001025 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -07001026 "$(genDir)/base/base_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001027 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -07001028 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001029 "--use_proxy_hash " +
1030 "--output_name " +
1031 "ApkAssets_jni.h " +
1032 "--output_name " +
1033 "ApplicationStatus_jni.h " +
1034 "--output_name " +
1035 "BaseFeatureList_jni.h " +
1036 "--output_name " +
1037 "BuildInfo_jni.h " +
1038 "--output_name " +
1039 "BundleUtils_jni.h " +
1040 "--output_name " +
1041 "Callback_jni.h " +
1042 "--output_name " +
1043 "CommandLine_jni.h " +
1044 "--output_name " +
1045 "ContentUriUtils_jni.h " +
1046 "--output_name " +
1047 "CpuFeatures_jni.h " +
1048 "--output_name " +
1049 "EarlyTraceEvent_jni.h " +
1050 "--output_name " +
1051 "EventLog_jni.h " +
1052 "--output_name " +
1053 "FeatureList_jni.h " +
1054 "--output_name " +
1055 "Features_jni.h " +
1056 "--output_name " +
1057 "FieldTrialList_jni.h " +
1058 "--output_name " +
1059 "FileUtils_jni.h " +
1060 "--output_name " +
1061 "ImportantFileWriterAndroid_jni.h " +
1062 "--output_name " +
1063 "IntStringCallback_jni.h " +
1064 "--output_name " +
1065 "JNIUtils_jni.h " +
1066 "--output_name " +
1067 "JavaExceptionReporter_jni.h " +
1068 "--output_name " +
1069 "JavaHandlerThread_jni.h " +
1070 "--output_name " +
1071 "LocaleUtils_jni.h " +
1072 "--output_name " +
1073 "MemoryPressureListener_jni.h " +
1074 "--output_name " +
1075 "PathService_jni.h " +
1076 "--output_name " +
1077 "PathUtils_jni.h " +
1078 "--output_name " +
1079 "PowerMonitor_jni.h " +
1080 "--output_name " +
1081 "RadioUtils_jni.h " +
1082 "--output_name " +
1083 "SysUtils_jni.h " +
1084 "--output_name " +
1085 "ThreadUtils_jni.h " +
1086 "--output_name " +
1087 "TimezoneUtils_jni.h " +
1088 "--output_name " +
1089 "TraceEvent_jni.h " +
1090 "--output_name " +
1091 "UnguessableToken_jni.h " +
1092 "--output_name " +
1093 "JankMetricUMARecorder_jni.h " +
1094 "--output_name " +
1095 "LibraryLoader_jni.h " +
1096 "--output_name " +
1097 "LibraryPrefetcher_jni.h " +
1098 "--output_name " +
1099 "JavaHeapDumpGenerator_jni.h " +
1100 "--output_name " +
1101 "NativeUmaRecorder_jni.h " +
1102 "--output_name " +
1103 "StatisticsRecorderAndroid_jni.h " +
1104 "--output_name " +
1105 "ChildProcessService_jni.h " +
1106 "--output_name " +
1107 "PostTask_jni.h " +
1108 "--output_name " +
1109 "TaskRunnerImpl_jni.h " +
1110 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001111 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001112 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001113 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001114 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001115 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001116 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001117 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001118 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001119 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001120 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001121 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001122 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001123 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001124 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001125 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001126 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001127 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001128 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001129 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001130 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001131 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001132 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001133 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001134 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001135 "$(location base/android/java/src/org/chromium/base/Features.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001136 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001137 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001138 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001139 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001140 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001141 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001142 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001143 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001144 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001145 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001146 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001147 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001148 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001149 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001150 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001151 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001152 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001153 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001154 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001155 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001156 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001157 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001158 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001159 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001160 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001161 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001162 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001163 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001164 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001165 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001166 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001167 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001168 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001169 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001170 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001171 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001172 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001173 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001174 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001175 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001176 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001177 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001178 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001179 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001180 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001181 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001182 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001183 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001184 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001185 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001186 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001187 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001188 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001189 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001190 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -07001191 "base/base_jni_headers/ApkAssets_jni.h",
1192 "base/base_jni_headers/ApplicationStatus_jni.h",
1193 "base/base_jni_headers/BaseFeatureList_jni.h",
1194 "base/base_jni_headers/BuildInfo_jni.h",
1195 "base/base_jni_headers/BundleUtils_jni.h",
1196 "base/base_jni_headers/Callback_jni.h",
1197 "base/base_jni_headers/ChildProcessService_jni.h",
1198 "base/base_jni_headers/CommandLine_jni.h",
1199 "base/base_jni_headers/ContentUriUtils_jni.h",
1200 "base/base_jni_headers/CpuFeatures_jni.h",
1201 "base/base_jni_headers/EarlyTraceEvent_jni.h",
1202 "base/base_jni_headers/EventLog_jni.h",
1203 "base/base_jni_headers/FeatureList_jni.h",
1204 "base/base_jni_headers/Features_jni.h",
1205 "base/base_jni_headers/FieldTrialList_jni.h",
1206 "base/base_jni_headers/FileUtils_jni.h",
1207 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
1208 "base/base_jni_headers/IntStringCallback_jni.h",
1209 "base/base_jni_headers/JNIUtils_jni.h",
1210 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
1211 "base/base_jni_headers/JavaExceptionReporter_jni.h",
1212 "base/base_jni_headers/JavaHandlerThread_jni.h",
1213 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
1214 "base/base_jni_headers/LibraryLoader_jni.h",
1215 "base/base_jni_headers/LibraryPrefetcher_jni.h",
1216 "base/base_jni_headers/LocaleUtils_jni.h",
1217 "base/base_jni_headers/MemoryPressureListener_jni.h",
1218 "base/base_jni_headers/NativeUmaRecorder_jni.h",
1219 "base/base_jni_headers/PathService_jni.h",
1220 "base/base_jni_headers/PathUtils_jni.h",
1221 "base/base_jni_headers/PostTask_jni.h",
1222 "base/base_jni_headers/PowerMonitor_jni.h",
1223 "base/base_jni_headers/RadioUtils_jni.h",
1224 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
1225 "base/base_jni_headers/SysUtils_jni.h",
1226 "base/base_jni_headers/TaskRunnerImpl_jni.h",
1227 "base/base_jni_headers/ThreadUtils_jni.h",
1228 "base/base_jni_headers/TimezoneUtils_jni.h",
1229 "base/base_jni_headers/TraceEvent_jni.h",
1230 "base/base_jni_headers/UnguessableToken_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001231 ],
1232 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001233 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001234 "base/android/jni_generator/jni_generator.py",
1235 "build/android/gyp/util/__init__.py",
1236 "build/android/gyp/util/build_utils.py",
1237 "build/gn_helpers.py",
1238 ],
1239}
1240
Motomu Utsumibf569d42022-10-28 16:47:34 +09001241// GN: //base:base_static
1242cc_library_static {
1243 name: "cronet_aml_base_base_static",
1244 srcs: [
1245 "base/base_switches.cc",
1246 ],
1247 generated_headers: [
1248 "cronet_aml_build_chromeos_buildflags",
1249 ],
1250 export_generated_headers: [
1251 "cronet_aml_build_chromeos_buildflags",
1252 ],
1253 defaults: [
1254 "cronet_aml_defaults",
1255 ],
1256 cflags: [
1257 "-DANDROID",
1258 "-DANDROID_NDK_VERSION_ROLL=r23_1",
1259 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1260 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1261 "-DDCHECK_ALWAYS_ON=1",
1262 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1263 "-DHAVE_SYS_UIO_H",
1264 "-D_DEBUG",
1265 "-D_GNU_SOURCE",
1266 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1267 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1268 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1269 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1270 "-D__STDC_CONSTANT_MACROS",
1271 "-D__STDC_FORMAT_MACROS",
1272 ],
1273 local_include_dirs: [
1274 "./",
1275 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001276 "buildtools/third_party/libc++/trunk/include",
1277 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09001278 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Motomu Utsumibf569d42022-10-28 16:47:34 +09001279 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07001280 cpp_std: "c++20",
Motomu Utsumibf569d42022-10-28 16:47:34 +09001281}
1282
Motomu Utsumie0d20212022-10-28 17:06:46 +09001283// GN: //base:build_date
1284genrule {
1285 name: "cronet_aml_base_build_date",
Patrick Rohr9b99a982022-10-28 11:00:57 -07001286 cmd: "$(location build/write_build_date_header.py) $(out) " +
1287 "1664686800",
Motomu Utsumie0d20212022-10-28 17:06:46 +09001288 out: [
1289 "base/generated_build_date.h",
1290 ],
1291 tool_files: [
1292 "build/write_build_date_header.py",
1293 ],
1294}
1295
Patrick Rohrcc377df2022-10-28 09:27:15 -07001296// GN: //base:cfi_buildflags
1297genrule {
1298 name: "cronet_aml_base_cfi_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001299 cmd: "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\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001300 "$(location build/write_buildflag_header.py) --output " +
1301 "$(out) " +
1302 "--rulename " +
1303 "//base:cfi_buildflags " +
1304 "--gen-dir " +
1305 ". " +
1306 "--definitions " +
1307 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001308 out: [
1309 "base/cfi_buildflags.h",
1310 ],
1311 tool_files: [
1312 "build/write_buildflag_header.py",
1313 ],
1314}
1315
1316// GN: //base:clang_profiling_buildflags
1317genrule {
1318 name: "cronet_aml_base_clang_profiling_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001319 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001320 "$(location build/write_buildflag_header.py) --output " +
1321 "$(out) " +
1322 "--rulename " +
1323 "//base:clang_profiling_buildflags " +
1324 "--gen-dir " +
1325 ". " +
1326 "--definitions " +
1327 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001328 out: [
1329 "base/clang_profiling_buildflags.h",
1330 ],
1331 tool_files: [
1332 "build/write_buildflag_header.py",
1333 ],
1334}
1335
1336// GN: //base:debugging_buildflags
1337genrule {
1338 name: "cronet_aml_base_debugging_buildflags",
Motomu Utsumid03217b2022-11-01 12:16:19 +09001339 cmd: "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"true\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"false\" ENABLE_GDBINIT_WARNING=\"true\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"true\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001340 "$(location build/write_buildflag_header.py) --output " +
1341 "$(out) " +
1342 "--rulename " +
1343 "//base:debugging_buildflags " +
1344 "--gen-dir " +
1345 ". " +
1346 "--definitions " +
1347 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001348 out: [
1349 "base/debug/debugging_buildflags.h",
1350 ],
1351 tool_files: [
1352 "build/write_buildflag_header.py",
1353 ],
1354}
1355
1356// GN: //base:feature_list_buildflags
1357genrule {
1358 name: "cronet_aml_base_feature_list_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001359 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001360 "$(location build/write_buildflag_header.py) --output " +
1361 "$(out) " +
1362 "--rulename " +
1363 "//base:feature_list_buildflags " +
1364 "--gen-dir " +
1365 ". " +
1366 "--definitions " +
1367 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001368 out: [
1369 "base/feature_list_buildflags.h",
1370 ],
1371 tool_files: [
1372 "build/write_buildflag_header.py",
1373 ],
1374}
1375
1376// GN: //base:ios_cronet_buildflags
1377genrule {
1378 name: "cronet_aml_base_ios_cronet_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001379 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001380 "$(location build/write_buildflag_header.py) --output " +
1381 "$(out) " +
1382 "--rulename " +
1383 "//base:ios_cronet_buildflags " +
1384 "--gen-dir " +
1385 ". " +
1386 "--definitions " +
1387 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001388 out: [
1389 "base/message_loop/ios_cronet_buildflags.h",
1390 ],
1391 tool_files: [
1392 "build/write_buildflag_header.py",
1393 ],
1394}
1395
1396// GN: //base:logging_buildflags
1397genrule {
1398 name: "cronet_aml_base_logging_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001399 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001400 "$(location build/write_buildflag_header.py) --output " +
1401 "$(out) " +
1402 "--rulename " +
1403 "//base:logging_buildflags " +
1404 "--gen-dir " +
1405 ". " +
1406 "--definitions " +
1407 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001408 out: [
1409 "base/logging_buildflags.h",
1410 ],
1411 tool_files: [
1412 "build/write_buildflag_header.py",
1413 ],
1414}
1415
1416// GN: //base:message_pump_buildflags
1417genrule {
1418 name: "cronet_aml_base_message_pump_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001419 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001420 "$(location build/write_buildflag_header.py) --output " +
1421 "$(out) " +
1422 "--rulename " +
1423 "//base:message_pump_buildflags " +
1424 "--gen-dir " +
1425 ". " +
1426 "--definitions " +
1427 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001428 out: [
1429 "base/message_loop/message_pump_buildflags.h",
1430 ],
1431 tool_files: [
1432 "build/write_buildflag_header.py",
1433 ],
1434}
1435
1436// GN: //base/numerics:base_numerics
1437filegroup {
1438 name: "cronet_aml_base_numerics_base_numerics",
1439}
1440
1441// GN: //base:orderfile_buildflags
1442genrule {
1443 name: "cronet_aml_base_orderfile_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001444 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001445 "$(location build/write_buildflag_header.py) --output " +
1446 "$(out) " +
1447 "--rulename " +
1448 "//base:orderfile_buildflags " +
1449 "--gen-dir " +
1450 ". " +
1451 "--definitions " +
1452 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001453 out: [
1454 "base/android/orderfile/orderfile_buildflags.h",
1455 ],
1456 tool_files: [
1457 "build/write_buildflag_header.py",
1458 ],
1459}
1460
1461// GN: //base:parsing_buildflags
1462genrule {
1463 name: "cronet_aml_base_parsing_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001464 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001465 "$(location build/write_buildflag_header.py) --output " +
1466 "$(out) " +
1467 "--rulename " +
1468 "//base:parsing_buildflags " +
1469 "--gen-dir " +
1470 ". " +
1471 "--definitions " +
1472 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001473 out: [
1474 "base/parsing_buildflags.h",
1475 ],
1476 tool_files: [
1477 "build/write_buildflag_header.py",
1478 ],
1479}
1480
1481// GN: //base:power_monitor_buildflags
1482genrule {
1483 name: "cronet_aml_base_power_monitor_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001484 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001485 "$(location build/write_buildflag_header.py) --output " +
1486 "$(out) " +
1487 "--rulename " +
1488 "//base:power_monitor_buildflags " +
1489 "--gen-dir " +
1490 ". " +
1491 "--definitions " +
1492 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001493 out: [
1494 "base/power_monitor/power_monitor_buildflags.h",
1495 ],
1496 tool_files: [
1497 "build/write_buildflag_header.py",
1498 ],
1499}
1500
1501// GN: //base:profiler_buildflags
1502genrule {
1503 name: "cronet_aml_base_profiler_buildflags",
Motomu Utsumid03217b2022-11-01 12:16:19 +09001504 cmd: "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001505 "$(location build/write_buildflag_header.py) --output " +
1506 "$(out) " +
1507 "--rulename " +
1508 "//base:profiler_buildflags " +
1509 "--gen-dir " +
1510 ". " +
1511 "--definitions " +
1512 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001513 out: [
1514 "base/profiler/profiler_buildflags.h",
1515 ],
1516 tool_files: [
1517 "build/write_buildflag_header.py",
1518 ],
1519}
1520
1521// GN: //base:sanitizer_buildflags
1522genrule {
1523 name: "cronet_aml_base_sanitizer_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001524 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001525 "$(location build/write_buildflag_header.py) --output " +
1526 "$(out) " +
1527 "--rulename " +
1528 "//base:sanitizer_buildflags " +
1529 "--gen-dir " +
1530 ". " +
1531 "--definitions " +
1532 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001533 out: [
1534 "base/sanitizer_buildflags.h",
1535 ],
1536 tool_files: [
1537 "build/write_buildflag_header.py",
1538 ],
1539}
1540
1541// GN: //base:synchronization_buildflags
1542genrule {
1543 name: "cronet_aml_base_synchronization_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001544 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001545 "$(location build/write_buildflag_header.py) --output " +
1546 "$(out) " +
1547 "--rulename " +
1548 "//base:synchronization_buildflags " +
1549 "--gen-dir " +
1550 ". " +
1551 "--definitions " +
1552 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001553 out: [
1554 "base/synchronization/synchronization_buildflags.h",
1555 ],
1556 tool_files: [
1557 "build/write_buildflag_header.py",
1558 ],
1559}
1560
1561// GN: //base/third_party/double_conversion:double_conversion
1562cc_library_static {
1563 name: "cronet_aml_base_third_party_double_conversion_double_conversion",
1564 srcs: [
1565 "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
1566 "base/third_party/double_conversion/double-conversion/bignum.cc",
1567 "base/third_party/double_conversion/double-conversion/cached-powers.cc",
1568 "base/third_party/double_conversion/double-conversion/double-to-string.cc",
1569 "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
1570 "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
1571 "base/third_party/double_conversion/double-conversion/string-to-double.cc",
1572 "base/third_party/double_conversion/double-conversion/strtod.cc",
1573 ],
1574 defaults: [
1575 "cronet_aml_defaults",
1576 ],
1577 cflags: [
1578 "-DANDROID",
1579 "-DANDROID_NDK_VERSION_ROLL=r23_1",
1580 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1581 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1582 "-DDCHECK_ALWAYS_ON=1",
1583 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1584 "-DHAVE_SYS_UIO_H",
1585 "-D_DEBUG",
1586 "-D_GNU_SOURCE",
1587 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1588 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1589 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1590 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1591 "-D__STDC_CONSTANT_MACROS",
1592 "-D__STDC_FORMAT_MACROS",
1593 ],
1594 local_include_dirs: [
1595 "./",
1596 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001597 "buildtools/third_party/libc++/trunk/include",
1598 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09001599 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001600 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07001601 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001602}
1603
1604// GN: //base/third_party/dynamic_annotations:dynamic_annotations
1605cc_library_static {
1606 name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
1607 srcs: [
1608 "base/third_party/dynamic_annotations/dynamic_annotations.c",
1609 ],
1610 defaults: [
1611 "cronet_aml_defaults",
1612 ],
1613 cflags: [
1614 "-DANDROID",
1615 "-DANDROID_NDK_VERSION_ROLL=r23_1",
1616 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1617 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1618 "-DDCHECK_ALWAYS_ON=1",
1619 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1620 "-DHAVE_SYS_UIO_H",
1621 "-D_DEBUG",
1622 "-D_GNU_SOURCE",
1623 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1624 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1625 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1626 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1627 ],
1628 local_include_dirs: [
1629 "./",
1630 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001631 "buildtools/third_party/libc++/trunk/include",
1632 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09001633 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001634 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07001635 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001636}
1637
1638// GN: //base:tracing_buildflags
1639genrule {
1640 name: "cronet_aml_base_tracing_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001641 cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001642 "$(location build/write_buildflag_header.py) --output " +
1643 "$(out) " +
1644 "--rulename " +
1645 "//base:tracing_buildflags " +
1646 "--gen-dir " +
1647 ". " +
1648 "--definitions " +
1649 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001650 out: [
1651 "base/tracing_buildflags.h",
1652 ],
1653 tool_files: [
1654 "build/write_buildflag_header.py",
1655 ],
1656}
1657
1658// GN: //build:branding_buildflags
1659genrule {
1660 name: "cronet_aml_build_branding_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001661 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001662 "$(location build/write_buildflag_header.py) --output " +
1663 "$(out) " +
1664 "--rulename " +
1665 "//build:branding_buildflags " +
1666 "--gen-dir " +
1667 ". " +
1668 "--definitions " +
1669 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001670 out: [
1671 "build/branding_buildflags.h",
1672 ],
1673 tool_files: [
1674 "build/write_buildflag_header.py",
1675 ],
1676}
1677
Motomu Utsumibf569d42022-10-28 16:47:34 +09001678// GN: //build:buildflag_header_h
1679filegroup {
1680 name: "cronet_aml_build_buildflag_header_h",
1681}
1682
Patrick Rohrcc377df2022-10-28 09:27:15 -07001683// GN: //build:chromecast_buildflags
1684genrule {
1685 name: "cronet_aml_build_chromecast_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001686 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001687 "$(location build/write_buildflag_header.py) --output " +
1688 "$(out) " +
1689 "--rulename " +
1690 "//build:chromecast_buildflags " +
1691 "--gen-dir " +
1692 ". " +
1693 "--definitions " +
1694 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001695 out: [
1696 "build/chromecast_buildflags.h",
1697 ],
1698 tool_files: [
1699 "build/write_buildflag_header.py",
1700 ],
1701}
1702
Motomu Utsumibf569d42022-10-28 16:47:34 +09001703// GN: //build:chromeos_buildflags
1704genrule {
1705 name: "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001706 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001707 "$(location build/write_buildflag_header.py) --output " +
1708 "$(out) " +
1709 "--rulename " +
1710 "//build:chromeos_buildflags " +
1711 "--gen-dir " +
1712 ". " +
1713 "--definitions " +
1714 "/dev/stdin",
Motomu Utsumibf569d42022-10-28 16:47:34 +09001715 out: [
1716 "build/chromeos_buildflags.h",
1717 ],
1718 tool_files: [
1719 "build/write_buildflag_header.py",
1720 ],
1721}
1722
Patrick Rohrcc377df2022-10-28 09:27:15 -07001723// GN: //build/config/compiler:compiler_buildflags
1724genrule {
1725 name: "cronet_aml_build_config_compiler_compiler_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001726 cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001727 "$(location build/write_buildflag_header.py) --output " +
1728 "$(out) " +
1729 "--rulename " +
1730 "//build/config/compiler:compiler_buildflags " +
1731 "--gen-dir " +
1732 ". " +
1733 "--definitions " +
1734 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001735 out: [
1736 "build/config/compiler/compiler_buildflags.h",
1737 ],
1738 tool_files: [
1739 "build/write_buildflag_header.py",
1740 ],
1741}
1742
Patrick Rohrcb035942022-11-01 12:12:52 -07001743// GN: //buildtools/third_party/libc++:libc++
1744filegroup {
1745 name: "cronet_aml_buildtools_third_party_libc___libc__",
1746}
1747
1748// GN: //buildtools/third_party/libc++abi:libc++abi
1749filegroup {
1750 name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi",
1751}
1752
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001753// GN: //components/nacl/common:buildflags
1754genrule {
1755 name: "cronet_aml_components_nacl_common_buildflags",
1756 cmd: "echo '--flags ENABLE_NACL=\"true\" IS_MINIMAL_TOOLCHAIN=\"false\"' | " +
1757 "$(location build/write_buildflag_header.py) --output " +
1758 "$(out) " +
1759 "--rulename " +
1760 "//components/nacl/common:buildflags " +
1761 "--gen-dir " +
1762 ". " +
1763 "--definitions " +
1764 "/dev/stdin",
1765 out: [
1766 "components/nacl/common/buildflags.h",
1767 ],
1768 tool_files: [
1769 "build/write_buildflag_header.py",
1770 ],
1771}
1772
Patrick Rohrcb035942022-11-01 12:12:52 -07001773// GN: //crypto:buildflags
1774genrule {
1775 name: "cronet_aml_crypto_buildflags",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001776 cmd: "echo '--flags USE_NSS_CERTS=\"true\"' | " +
Patrick Rohrcb035942022-11-01 12:12:52 -07001777 "$(location build/write_buildflag_header.py) --output " +
1778 "$(out) " +
1779 "--rulename " +
1780 "//crypto:buildflags " +
1781 "--gen-dir " +
1782 ". " +
1783 "--definitions " +
1784 "/dev/stdin",
1785 out: [
1786 "crypto/crypto_buildflags.h",
1787 ],
1788 tool_files: [
1789 "build/write_buildflag_header.py",
1790 ],
1791}
1792
1793// GN: //crypto:crypto
1794cc_library_static {
1795 name: "cronet_aml_crypto_crypto",
1796 srcs: [
1797 "crypto/aead.cc",
1798 "crypto/ec_private_key.cc",
1799 "crypto/ec_signature_creator.cc",
1800 "crypto/ec_signature_creator_impl.cc",
1801 "crypto/encryptor.cc",
1802 "crypto/hkdf.cc",
1803 "crypto/hmac.cc",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001804 "crypto/nss_key_util.cc",
1805 "crypto/nss_util.cc",
Patrick Rohrcb035942022-11-01 12:12:52 -07001806 "crypto/openssl_util.cc",
1807 "crypto/p224_spake.cc",
1808 "crypto/random.cc",
1809 "crypto/rsa_private_key.cc",
1810 "crypto/secure_hash.cc",
1811 "crypto/secure_util.cc",
1812 "crypto/sha2.cc",
1813 "crypto/signature_creator.cc",
1814 "crypto/signature_verifier.cc",
1815 "crypto/symmetric_key.cc",
1816 "crypto/unexportable_key.cc",
1817 "crypto/unexportable_key_metrics.cc",
1818 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07001819 static_libs: [
1820 "cronet_aml_base_base",
1821 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
1822 "cronet_aml_third_party_boringssl_boringssl",
1823 ],
1824 generated_headers: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001825 "cronet_aml_build_chromeos_buildflags",
1826 "cronet_aml_components_nacl_common_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07001827 "cronet_aml_crypto_buildflags",
1828 ],
1829 export_generated_headers: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001830 "cronet_aml_build_chromeos_buildflags",
1831 "cronet_aml_components_nacl_common_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07001832 "cronet_aml_crypto_buildflags",
1833 ],
1834 defaults: [
1835 "cronet_aml_defaults",
1836 ],
1837 cflags: [
Patrick Rohrcb035942022-11-01 12:12:52 -07001838 "-DCRYPTO_IMPLEMENTATION",
1839 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1840 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001841 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Patrick Rohrcb035942022-11-01 12:12:52 -07001842 "-DDCHECK_ALWAYS_ON=1",
1843 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001844 "-DUSE_AURA=1",
1845 "-DUSE_OZONE=1",
1846 "-DUSE_UDEV",
Patrick Rohrcb035942022-11-01 12:12:52 -07001847 "-D_DEBUG",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001848 "-D_FILE_OFFSET_BITS=64",
Patrick Rohrcb035942022-11-01 12:12:52 -07001849 "-D_GNU_SOURCE",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001850 "-D_LARGEFILE64_SOURCE",
1851 "-D_LARGEFILE_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -07001852 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1853 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1854 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1855 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1856 "-D__STDC_CONSTANT_MACROS",
1857 "-D__STDC_FORMAT_MACROS",
1858 ],
1859 local_include_dirs: [
1860 "./",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001861 "build/linux/debian_bullseye_amd64-sysroot/usr/include/nspr",
1862 "build/linux/debian_bullseye_amd64-sysroot/usr/include/nss",
Patrick Rohrcb035942022-11-01 12:12:52 -07001863 "buildtools/third_party/libc++/",
1864 "buildtools/third_party/libc++/trunk/include",
1865 "buildtools/third_party/libc++abi/trunk/include",
1866 "third_party/abseil-cpp/",
1867 "third_party/boringssl/src/include/",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001868 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
Patrick Rohrcb035942022-11-01 12:12:52 -07001869 ],
1870 cpp_std: "c++20",
1871}
1872
Motomu Utsumifcac4852022-10-26 19:28:31 +09001873// GN: //gn:default_deps
1874cc_defaults {
1875 name: "cronet_aml_defaults",
1876 cflags: [
1877 "-O2",
1878 "-Wno-error=return-type",
Patrick Rohr98065152022-10-31 14:49:58 -07001879 "-Wno-missing-field-initializers",
Patrick Rohr3a1ec1d2022-10-31 13:30:17 -07001880 "-Wno-non-virtual-dtor",
Motomu Utsumifcac4852022-10-26 19:28:31 +09001881 "-Wno-sign-compare",
1882 "-Wno-sign-promo",
1883 "-Wno-unused-parameter",
1884 "-fvisibility=hidden",
1885 ],
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001886 stl: "none",
Motomu Utsumifcac4852022-10-26 19:28:31 +09001887}
1888
Patrick Rohrcb035942022-11-01 12:12:52 -07001889// GN: //ipc:param_traits
1890filegroup {
1891 name: "cronet_aml_ipc_param_traits",
1892}
1893
Patrick Rohrb18aca22022-11-04 15:07:32 -07001894// GN: //gn:java
1895java_library {
1896 name: "cronet_aml_java",
1897 srcs: [
Mohannad Farrag21562d62022-11-07 13:09:31 +00001898 "base/android/java/src/org/chromium/base/JniException.java",
1899 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
1900 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
1901 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
1902 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
1903 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
1904 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
1905 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
1906 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
1907 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
1908 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
1909 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
1910 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
1911 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
1912 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
1913 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
1914 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
1915 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
1916 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
1917 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
1918 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
Patrick Rohrb18aca22022-11-04 15:07:32 -07001919 ],
1920}
1921
Mohannad Farragbab6c892022-11-02 14:09:46 +00001922// GN: //net/base/registry_controlled_domains:registry_controlled_domains
1923genrule {
1924 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
1925 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
Motomu Utsumi56afcac2022-11-04 12:58:30 +09001926 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
1927 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
Mohannad Farragbab6c892022-11-02 14:09:46 +00001928 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1929 "--reverse " +
1930 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
1931 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
1932 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1933 "--reverse " +
Motomu Utsumi56afcac2022-11-04 12:58:30 +09001934 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
1935 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
Mohannad Farragbab6c892022-11-02 14:09:46 +00001936 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1937 "--reverse " +
1938 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
1939 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
1940 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1941 "--reverse " +
Motomu Utsumi56afcac2022-11-04 12:58:30 +09001942 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
1943 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
Mohannad Farragbab6c892022-11-02 14:09:46 +00001944 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1945 "--reverse " +
Motomu Utsumi56afcac2022-11-04 12:58:30 +09001946 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
1947 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
1948 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1949 "--reverse " +
1950 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
1951 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
Mohannad Farragbab6c892022-11-02 14:09:46 +00001952 out: [
1953 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
1954 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
1955 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
1956 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
1957 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
1958 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
1959 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
1960 ],
1961 tool_files: [
1962 "net/base/registry_controlled_domains/effective_tld_names.gperf",
1963 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
1964 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
1965 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
1966 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
1967 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
1968 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
1969 "net/tools/dafsa/make_dafsa.py",
1970 ],
1971}
1972
Patrick Rohrcb035942022-11-01 12:12:52 -07001973// GN: //net:buildflags
1974genrule {
1975 name: "cronet_aml_net_buildflags",
1976 cmd: "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " +
1977 "$(location build/write_buildflag_header.py) --output " +
1978 "$(out) " +
1979 "--rulename " +
1980 "//net:buildflags " +
1981 "--gen-dir " +
1982 ". " +
1983 "--definitions " +
1984 "/dev/stdin",
1985 out: [
1986 "net/net_buildflags.h",
1987 ],
1988 tool_files: [
1989 "build/write_buildflag_header.py",
1990 ],
1991}
1992
1993// GN: //net/cert:root_store_proto_full
1994cc_library_static {
1995 name: "cronet_aml_net_cert_root_store_proto_full",
Motomu Utsumi63339322022-11-07 19:32:48 +09001996 srcs: [
1997 ":cronet_aml_net_cert_root_store_proto_full_gen",
1998 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07001999 static_libs: [
2000 "cronet_aml_third_party_protobuf_protobuf_full",
2001 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +09002002 generated_headers: [
2003 "cronet_aml_net_cert_root_store_proto_full_gen_headers",
2004 ],
2005 export_generated_headers: [
2006 "cronet_aml_net_cert_root_store_proto_full_gen_headers",
2007 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07002008 defaults: [
2009 "cronet_aml_defaults",
2010 ],
2011 cflags: [
2012 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
2013 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
2014 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
2015 "-DDCHECK_ALWAYS_ON=1",
2016 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
2017 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
2018 "-DGOOGLE_PROTOBUF_NO_RTTI",
2019 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
2020 "-DHAVE_PTHREAD",
2021 "-DUSE_AURA=1",
2022 "-DUSE_OZONE=1",
2023 "-DUSE_UDEV",
2024 "-D_DEBUG",
2025 "-D_FILE_OFFSET_BITS=64",
2026 "-D_GNU_SOURCE",
2027 "-D_LARGEFILE64_SOURCE",
2028 "-D_LARGEFILE_SOURCE",
2029 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
2030 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2031 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
2032 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2033 "-D__STDC_CONSTANT_MACROS",
2034 "-D__STDC_FORMAT_MACROS",
2035 ],
2036 local_include_dirs: [
2037 "./",
2038 "buildtools/third_party/libc++/",
2039 "buildtools/third_party/libc++/trunk/include",
2040 "buildtools/third_party/libc++abi/trunk/include",
2041 "third_party/protobuf/src/",
2042 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
2043 ],
2044 cpp_std: "c++20",
2045}
2046
2047// GN: //net/cert:root_store_proto_full_gen
2048genrule {
2049 name: "cronet_aml_net_cert_root_store_proto_full_gen",
2050 srcs: [
2051 "net/cert/root_store.proto",
2052 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09002053 tools: [
2054 "aprotoc",
2055 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07002056 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) root_store.proto " +
2057 "--protoc " +
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09002058 "$(location aprotoc) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07002059 "--proto-in-dir " +
Motomu Utsumic5d2db92022-11-04 18:46:23 +09002060 "`dirname $(location net/cert/root_store.proto)` " +
Patrick Rohrcb035942022-11-01 12:12:52 -07002061 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09002062 "$(genDir) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09002063 " " +
2064 "",
Patrick Rohrcb035942022-11-01 12:12:52 -07002065 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09002066 "root_store.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002067 ],
2068 tool_files: [
2069 "tools/protoc_wrapper/protoc_wrapper.py",
2070 ],
2071}
2072
2073// GN: //net/cert:root_store_proto_full_gen
2074genrule {
2075 name: "cronet_aml_net_cert_root_store_proto_full_gen_headers",
2076 srcs: [
2077 "net/cert/root_store.proto",
2078 ],
2079 tools: [
2080 "aprotoc",
2081 ],
2082 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) root_store.proto " +
2083 "--protoc " +
2084 "$(location aprotoc) " +
2085 "--proto-in-dir " +
2086 "`dirname $(location net/cert/root_store.proto)` " +
2087 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09002088 "$(genDir) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09002089 " " +
2090 "",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002091 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09002092 "root_store.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07002093 ],
2094 tool_files: [
2095 "tools/protoc_wrapper/protoc_wrapper.py",
2096 ],
2097}
2098
2099// GN: //net:constants
2100filegroup {
2101 name: "cronet_aml_net_constants",
2102}
2103
2104// GN: //net/data/ssl/chrome_root_store:gen_root_store_inc
2105genrule {
2106 name: "cronet_aml_net_data_ssl_chrome_root_store_gen_root_store_inc",
2107 cmd: "$(location build/gn_run_binary.py) clang_x64/root_store_tool " +
2108 "--root-store " +
2109 "../../net/data/ssl/chrome_root_store/root_store.textproto " +
2110 "--certs " +
2111 "../../net/data/ssl/chrome_root_store/root_store.certs " +
2112 "--write-cpp-root-store " +
2113 "gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc " +
2114 "--write-cpp-ev-roots " +
2115 "gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
2116 out: [
2117 "net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
2118 "net/data/ssl/chrome_root_store/chrome-root-store-inc.cc",
2119 ],
2120 tool_files: [
2121 "build/gn_run_binary.py",
2122 "net/data/ssl/chrome_root_store/root_store.certs",
2123 "net/data/ssl/chrome_root_store/root_store.textproto",
2124 ],
2125}
2126
2127// GN: //net/dns:dns
2128filegroup {
2129 name: "cronet_aml_net_dns_dns",
2130 srcs: [
2131 "net/dns/address_info.cc",
2132 "net/dns/address_sorter_posix.cc",
2133 "net/dns/context_host_resolver.cc",
2134 "net/dns/dns_alias_utility.cc",
2135 "net/dns/dns_client.cc",
2136 "net/dns/dns_config.cc",
2137 "net/dns/dns_config_service.cc",
2138 "net/dns/dns_config_service_android.cc",
2139 "net/dns/dns_hosts.cc",
2140 "net/dns/dns_query.cc",
2141 "net/dns/dns_reloader.cc",
2142 "net/dns/dns_response.cc",
2143 "net/dns/dns_response_result_extractor.cc",
2144 "net/dns/dns_server_iterator.cc",
2145 "net/dns/dns_session.cc",
2146 "net/dns/dns_transaction.cc",
2147 "net/dns/dns_udp_tracker.cc",
2148 "net/dns/dns_util.cc",
2149 "net/dns/host_cache.cc",
2150 "net/dns/host_resolver.cc",
2151 "net/dns/host_resolver_manager.cc",
2152 "net/dns/host_resolver_mdns_listener_impl.cc",
2153 "net/dns/host_resolver_mdns_task.cc",
2154 "net/dns/host_resolver_nat64_task.cc",
2155 "net/dns/host_resolver_proc.cc",
2156 "net/dns/host_resolver_system_task.cc",
2157 "net/dns/https_record_rdata.cc",
2158 "net/dns/httpssvc_metrics.cc",
2159 "net/dns/mapped_host_resolver.cc",
2160 "net/dns/nsswitch_reader.cc",
2161 "net/dns/opt_record_rdata.cc",
2162 "net/dns/record_parsed.cc",
2163 "net/dns/record_rdata.cc",
2164 "net/dns/resolve_context.cc",
2165 "net/dns/serial_worker.cc",
2166 "net/dns/system_dns_config_change_notifier.cc",
2167 "net/dns/test_dns_config_service.cc",
2168 ],
2169}
2170
2171// GN: //net/dns:dns_client
2172filegroup {
2173 name: "cronet_aml_net_dns_dns_client",
2174}
2175
2176// GN: //net/dns:host_resolver
2177filegroup {
2178 name: "cronet_aml_net_dns_host_resolver",
2179}
2180
2181// GN: //net/dns:host_resolver_manager
2182filegroup {
2183 name: "cronet_aml_net_dns_host_resolver_manager",
2184}
2185
2186// GN: //net/dns:mdns_client
2187filegroup {
2188 name: "cronet_aml_net_dns_mdns_client",
2189}
2190
2191// GN: //net/dns/public:public
2192filegroup {
2193 name: "cronet_aml_net_dns_public_public",
2194 srcs: [
2195 "net/dns/public/dns_config_overrides.cc",
2196 "net/dns/public/dns_over_https_config.cc",
2197 "net/dns/public/dns_over_https_server_config.cc",
2198 "net/dns/public/dns_query_type.cc",
2199 "net/dns/public/doh_provider_entry.cc",
2200 "net/dns/public/host_resolver_results.cc",
2201 "net/dns/public/resolve_error_info.cc",
2202 "net/dns/public/util.cc",
2203 ],
2204}
2205
2206// GN: //net/http:transport_security_state_generated_files
2207filegroup {
2208 name: "cronet_aml_net_http_transport_security_state_generated_files",
2209 srcs: [
2210 "net/http/transport_security_state.cc",
2211 ],
2212}
2213
2214// GN: //net:ios_cronet_buildflags
2215genrule {
2216 name: "cronet_aml_net_ios_cronet_buildflags",
2217 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
2218 "$(location build/write_buildflag_header.py) --output " +
2219 "$(out) " +
2220 "--rulename " +
2221 "//net:ios_cronet_buildflags " +
2222 "--gen-dir " +
2223 ". " +
2224 "--definitions " +
2225 "/dev/stdin",
2226 out: [
2227 "net/socket/ios_cronet_buildflags.h",
2228 ],
2229 tool_files: [
2230 "build/write_buildflag_header.py",
2231 ],
2232}
2233
2234// GN: //net:isolation_info_proto
2235cc_library_static {
2236 name: "cronet_aml_net_isolation_info_proto",
Motomu Utsumi63339322022-11-07 19:32:48 +09002237 srcs: [
2238 ":cronet_aml_net_isolation_info_proto_gen",
2239 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07002240 shared_libs: [
2241 "liblog",
2242 ],
2243 static_libs: [
2244 "cronet_aml_third_party_protobuf_protobuf_lite",
2245 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +09002246 generated_headers: [
2247 "cronet_aml_net_isolation_info_proto_gen_headers",
2248 ],
2249 export_generated_headers: [
2250 "cronet_aml_net_isolation_info_proto_gen_headers",
2251 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07002252 defaults: [
2253 "cronet_aml_defaults",
2254 ],
2255 cflags: [
2256 "-DANDROID",
2257 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2258 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
2259 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
2260 "-DDCHECK_ALWAYS_ON=1",
2261 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
2262 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
2263 "-DGOOGLE_PROTOBUF_NO_RTTI",
2264 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
2265 "-DHAVE_PTHREAD",
2266 "-DHAVE_SYS_UIO_H",
2267 "-D_DEBUG",
2268 "-D_GNU_SOURCE",
2269 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
2270 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2271 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
2272 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2273 "-D__STDC_CONSTANT_MACROS",
2274 "-D__STDC_FORMAT_MACROS",
2275 ],
2276 local_include_dirs: [
2277 "./",
2278 "buildtools/third_party/libc++/",
2279 "buildtools/third_party/libc++/trunk/include",
2280 "buildtools/third_party/libc++abi/trunk/include",
2281 "third_party/protobuf/src/",
2282 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
2283 ],
2284 cpp_std: "c++20",
2285}
2286
2287// GN: //net:isolation_info_proto_gen
2288genrule {
2289 name: "cronet_aml_net_isolation_info_proto_gen",
2290 srcs: [
2291 "net/base/isolation_info.proto",
2292 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09002293 tools: [
2294 "aprotoc",
2295 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07002296 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) isolation_info.proto " +
2297 "--protoc " +
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09002298 "$(location aprotoc) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07002299 "--proto-in-dir " +
Motomu Utsumic5d2db92022-11-04 18:46:23 +09002300 "`dirname $(location net/base/isolation_info.proto)` " +
Patrick Rohrcb035942022-11-01 12:12:52 -07002301 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09002302 "$(genDir) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09002303 " " +
2304 "",
Patrick Rohrcb035942022-11-01 12:12:52 -07002305 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09002306 "isolation_info.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002307 ],
2308 tool_files: [
2309 "tools/protoc_wrapper/protoc_wrapper.py",
2310 ],
2311}
2312
2313// GN: //net:isolation_info_proto_gen
2314genrule {
2315 name: "cronet_aml_net_isolation_info_proto_gen_headers",
2316 srcs: [
2317 "net/base/isolation_info.proto",
2318 ],
2319 tools: [
2320 "aprotoc",
2321 ],
2322 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) isolation_info.proto " +
2323 "--protoc " +
2324 "$(location aprotoc) " +
2325 "--proto-in-dir " +
2326 "`dirname $(location net/base/isolation_info.proto)` " +
2327 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09002328 "$(genDir) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09002329 " " +
2330 "",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002331 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09002332 "isolation_info.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07002333 ],
2334 tool_files: [
2335 "tools/protoc_wrapper/protoc_wrapper.py",
2336 ],
2337}
2338
2339// GN: //net:net
2340cc_library_static {
2341 name: "cronet_aml_net_net",
2342 srcs: [
2343 ":cronet_aml_net_constants",
2344 ":cronet_aml_net_dns_dns",
2345 ":cronet_aml_net_dns_dns_client",
2346 ":cronet_aml_net_dns_host_resolver",
2347 ":cronet_aml_net_dns_host_resolver_manager",
2348 ":cronet_aml_net_dns_mdns_client",
2349 ":cronet_aml_net_dns_public_public",
2350 ":cronet_aml_net_http_transport_security_state_generated_files",
2351 ":cronet_aml_net_net_deps",
2352 ":cronet_aml_net_net_export_header",
2353 ":cronet_aml_net_net_public_deps",
2354 ":cronet_aml_net_net_resources",
2355 ":cronet_aml_net_traffic_annotation_traffic_annotation",
2356 "net/android/android_http_util.cc",
2357 "net/android/cert_verify_result_android.cc",
2358 "net/android/gurl_utils.cc",
2359 "net/android/http_auth_negotiate_android.cc",
2360 "net/android/keystore.cc",
2361 "net/android/network_change_notifier_android.cc",
2362 "net/android/network_change_notifier_delegate_android.cc",
2363 "net/android/network_change_notifier_factory_android.cc",
2364 "net/android/network_library.cc",
2365 "net/android/radio_activity_tracker.cc",
2366 "net/android/traffic_stats.cc",
2367 "net/base/address_family.cc",
2368 "net/base/address_list.cc",
2369 "net/base/address_tracker_linux.cc",
2370 "net/base/auth.cc",
2371 "net/base/backoff_entry.cc",
2372 "net/base/backoff_entry_serializer.cc",
2373 "net/base/cache_metrics.cc",
2374 "net/base/chunked_upload_data_stream.cc",
2375 "net/base/connection_endpoint_metadata.cc",
2376 "net/base/data_url.cc",
2377 "net/base/datagram_buffer.cc",
2378 "net/base/elements_upload_data_stream.cc",
2379 "net/base/features.cc",
2380 "net/base/file_stream.cc",
2381 "net/base/file_stream_context.cc",
2382 "net/base/file_stream_context_posix.cc",
2383 "net/base/filename_util.cc",
2384 "net/base/filename_util_internal.cc",
2385 "net/base/hash_value.cc",
2386 "net/base/hex_utils.cc",
2387 "net/base/host_mapping_rules.cc",
2388 "net/base/host_port_pair.cc",
2389 "net/base/io_buffer.cc",
2390 "net/base/ip_address.cc",
2391 "net/base/ip_endpoint.cc",
2392 "net/base/isolation_info.cc",
2393 "net/base/load_timing_info.cc",
2394 "net/base/logging_network_change_observer.cc",
2395 "net/base/lookup_string_in_fixed_set.cc",
2396 "net/base/mime_sniffer.cc",
2397 "net/base/mime_util.cc",
2398 "net/base/net_errors.cc",
2399 "net/base/net_errors_posix.cc",
2400 "net/base/net_module.cc",
2401 "net/base/net_string_util_icu_alternatives_android.cc",
2402 "net/base/network_activity_monitor.cc",
2403 "net/base/network_anonymization_key.cc",
2404 "net/base/network_change_notifier.cc",
2405 "net/base/network_change_notifier_posix.cc",
2406 "net/base/network_delegate.cc",
2407 "net/base/network_delegate_impl.cc",
2408 "net/base/network_interfaces.cc",
2409 "net/base/network_interfaces_getifaddrs.cc",
2410 "net/base/network_interfaces_getifaddrs_android.cc",
2411 "net/base/network_interfaces_linux.cc",
2412 "net/base/network_interfaces_posix.cc",
2413 "net/base/network_isolation_key.cc",
2414 "net/base/parse_number.cc",
2415 "net/base/platform_mime_util_linux.cc",
2416 "net/base/port_util.cc",
2417 "net/base/prioritized_dispatcher.cc",
2418 "net/base/prioritized_task_runner.cc",
2419 "net/base/privacy_mode.cc",
2420 "net/base/proxy_server.cc",
2421 "net/base/proxy_string_util.cc",
2422 "net/base/registry_controlled_domains/registry_controlled_domain.cc",
2423 "net/base/request_priority.cc",
2424 "net/base/scheme_host_port_matcher.cc",
2425 "net/base/scheme_host_port_matcher_rule.cc",
2426 "net/base/schemeful_site.cc",
2427 "net/base/sockaddr_storage.cc",
2428 "net/base/sockaddr_util_posix.cc",
2429 "net/base/transport_info.cc",
2430 "net/base/upload_bytes_element_reader.cc",
2431 "net/base/upload_data_stream.cc",
2432 "net/base/upload_element_reader.cc",
2433 "net/base/upload_file_element_reader.cc",
2434 "net/base/url_util.cc",
2435 "net/cert/asn1_util.cc",
2436 "net/cert/caching_cert_verifier.cc",
2437 "net/cert/cert_and_ct_verifier.cc",
2438 "net/cert/cert_database.cc",
2439 "net/cert/cert_status_flags.cc",
2440 "net/cert/cert_verifier.cc",
2441 "net/cert/cert_verify_proc.cc",
2442 "net/cert/cert_verify_proc_android.cc",
2443 "net/cert/cert_verify_proc_builtin.cc",
2444 "net/cert/cert_verify_result.cc",
2445 "net/cert/coalescing_cert_verifier.cc",
2446 "net/cert/crl_set.cc",
2447 "net/cert/ct_log_response_parser.cc",
2448 "net/cert/ct_log_verifier.cc",
2449 "net/cert/ct_log_verifier_util.cc",
2450 "net/cert/ct_objects_extractor.cc",
2451 "net/cert/ct_policy_enforcer.cc",
2452 "net/cert/ct_sct_to_string.cc",
2453 "net/cert/ct_serialization.cc",
2454 "net/cert/ct_signed_certificate_timestamp_log_param.cc",
2455 "net/cert/do_nothing_ct_verifier.cc",
2456 "net/cert/ev_root_ca_metadata.cc",
2457 "net/cert/internal/cert_issuer_source_aia.cc",
2458 "net/cert/internal/revocation_checker.cc",
2459 "net/cert/internal/system_trust_store.cc",
2460 "net/cert/known_roots.cc",
2461 "net/cert/merkle_audit_proof.cc",
2462 "net/cert/merkle_consistency_proof.cc",
2463 "net/cert/merkle_tree_leaf.cc",
2464 "net/cert/multi_log_ct_verifier.cc",
2465 "net/cert/multi_threaded_cert_verifier.cc",
2466 "net/cert/ocsp_verify_result.cc",
2467 "net/cert/pem.cc",
2468 "net/cert/pki/cert_error_id.cc",
2469 "net/cert/pki/cert_error_params.cc",
2470 "net/cert/pki/cert_errors.cc",
2471 "net/cert/pki/cert_issuer_source_static.cc",
2472 "net/cert/pki/certificate_policies.cc",
2473 "net/cert/pki/common_cert_errors.cc",
2474 "net/cert/pki/crl.cc",
2475 "net/cert/pki/extended_key_usage.cc",
2476 "net/cert/pki/general_names.cc",
2477 "net/cert/pki/name_constraints.cc",
2478 "net/cert/pki/ocsp.cc",
2479 "net/cert/pki/parse_certificate.cc",
2480 "net/cert/pki/parse_name.cc",
2481 "net/cert/pki/parsed_certificate.cc",
2482 "net/cert/pki/path_builder.cc",
2483 "net/cert/pki/revocation_util.cc",
2484 "net/cert/pki/signature_algorithm.cc",
2485 "net/cert/pki/simple_path_builder_delegate.cc",
2486 "net/cert/pki/string_util.cc",
2487 "net/cert/pki/trust_store.cc",
2488 "net/cert/pki/trust_store_collection.cc",
2489 "net/cert/pki/trust_store_in_memory.cc",
2490 "net/cert/pki/verify_certificate_chain.cc",
2491 "net/cert/pki/verify_name_match.cc",
2492 "net/cert/pki/verify_signed_data.cc",
2493 "net/cert/sct_status_flags.cc",
2494 "net/cert/signed_certificate_timestamp.cc",
2495 "net/cert/signed_certificate_timestamp_and_status.cc",
2496 "net/cert/signed_tree_head.cc",
2497 "net/cert/symantec_certs.cc",
2498 "net/cert/test_root_certs.cc",
2499 "net/cert/test_root_certs_android.cc",
2500 "net/cert/trial_comparison_cert_verifier_util.cc",
2501 "net/cert/x509_cert_types.cc",
2502 "net/cert/x509_certificate.cc",
2503 "net/cert/x509_certificate_net_log_param.cc",
2504 "net/cert/x509_util.cc",
2505 "net/cert/x509_util_android.cc",
2506 "net/cert_net/cert_net_fetcher_url_request.cc",
2507 "net/cookies/canonical_cookie.cc",
2508 "net/cookies/cookie_access_delegate.cc",
2509 "net/cookies/cookie_access_result.cc",
2510 "net/cookies/cookie_change_dispatcher.cc",
2511 "net/cookies/cookie_constants.cc",
2512 "net/cookies/cookie_deletion_info.cc",
2513 "net/cookies/cookie_inclusion_status.cc",
2514 "net/cookies/cookie_monster.cc",
2515 "net/cookies/cookie_monster_change_dispatcher.cc",
2516 "net/cookies/cookie_monster_netlog_params.cc",
2517 "net/cookies/cookie_options.cc",
2518 "net/cookies/cookie_partition_key.cc",
2519 "net/cookies/cookie_partition_key_collection.cc",
2520 "net/cookies/cookie_store.cc",
2521 "net/cookies/cookie_util.cc",
2522 "net/cookies/parsed_cookie.cc",
2523 "net/cookies/site_for_cookies.cc",
2524 "net/cookies/static_cookie_policy.cc",
2525 "net/der/encode_values.cc",
2526 "net/der/input.cc",
2527 "net/der/parse_values.cc",
2528 "net/der/parser.cc",
2529 "net/der/tag.cc",
2530 "net/disk_cache/backend_cleanup_tracker.cc",
2531 "net/disk_cache/blockfile/addr.cc",
2532 "net/disk_cache/blockfile/backend_impl.cc",
2533 "net/disk_cache/blockfile/bitmap.cc",
2534 "net/disk_cache/blockfile/block_files.cc",
2535 "net/disk_cache/blockfile/disk_format.cc",
2536 "net/disk_cache/blockfile/entry_impl.cc",
2537 "net/disk_cache/blockfile/eviction.cc",
2538 "net/disk_cache/blockfile/file.cc",
2539 "net/disk_cache/blockfile/file_lock.cc",
2540 "net/disk_cache/blockfile/file_posix.cc",
2541 "net/disk_cache/blockfile/in_flight_backend_io.cc",
2542 "net/disk_cache/blockfile/in_flight_io.cc",
2543 "net/disk_cache/blockfile/mapped_file.cc",
2544 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
2545 "net/disk_cache/blockfile/rankings.cc",
2546 "net/disk_cache/blockfile/sparse_control.cc",
2547 "net/disk_cache/blockfile/stats.cc",
2548 "net/disk_cache/cache_util.cc",
2549 "net/disk_cache/cache_util_posix.cc",
2550 "net/disk_cache/disk_cache.cc",
2551 "net/disk_cache/memory/mem_backend_impl.cc",
2552 "net/disk_cache/memory/mem_entry_impl.cc",
2553 "net/disk_cache/net_log_parameters.cc",
2554 "net/disk_cache/simple/post_doom_waiter.cc",
2555 "net/disk_cache/simple/simple_backend_impl.cc",
2556 "net/disk_cache/simple/simple_entry_format.cc",
2557 "net/disk_cache/simple/simple_entry_impl.cc",
2558 "net/disk_cache/simple/simple_entry_operation.cc",
2559 "net/disk_cache/simple/simple_file_enumerator.cc",
2560 "net/disk_cache/simple/simple_file_tracker.cc",
2561 "net/disk_cache/simple/simple_index.cc",
2562 "net/disk_cache/simple/simple_index_file.cc",
2563 "net/disk_cache/simple/simple_net_log_parameters.cc",
2564 "net/disk_cache/simple/simple_synchronous_entry.cc",
2565 "net/disk_cache/simple/simple_util.cc",
2566 "net/disk_cache/simple/simple_util_posix.cc",
2567 "net/disk_cache/simple/simple_version_upgrade.cc",
2568 "net/filter/brotli_source_stream.cc",
2569 "net/filter/filter_source_stream.cc",
2570 "net/filter/gzip_header.cc",
2571 "net/filter/gzip_source_stream.cc",
2572 "net/filter/source_stream.cc",
2573 "net/first_party_sets/addition_overlaps_union_find.cc",
2574 "net/first_party_sets/first_party_set_entry.cc",
2575 "net/first_party_sets/first_party_set_metadata.cc",
2576 "net/first_party_sets/first_party_sets_cache_filter.cc",
2577 "net/first_party_sets/first_party_sets_context_config.cc",
2578 "net/first_party_sets/global_first_party_sets.cc",
2579 "net/first_party_sets/same_party_context.cc",
2580 "net/http/alternative_service.cc",
2581 "net/http/bidirectional_stream.cc",
2582 "net/http/bidirectional_stream_impl.cc",
2583 "net/http/bidirectional_stream_request_info.cc",
2584 "net/http/broken_alternative_services.cc",
2585 "net/http/http_auth.cc",
2586 "net/http/http_auth_cache.cc",
2587 "net/http/http_auth_challenge_tokenizer.cc",
2588 "net/http/http_auth_controller.cc",
2589 "net/http/http_auth_filter.cc",
2590 "net/http/http_auth_handler.cc",
2591 "net/http/http_auth_handler_basic.cc",
2592 "net/http/http_auth_handler_digest.cc",
2593 "net/http/http_auth_handler_factory.cc",
2594 "net/http/http_auth_handler_negotiate.cc",
2595 "net/http/http_auth_handler_ntlm.cc",
2596 "net/http/http_auth_handler_ntlm_portable.cc",
2597 "net/http/http_auth_multi_round_parse.cc",
2598 "net/http/http_auth_ntlm_mechanism.cc",
2599 "net/http/http_auth_preferences.cc",
2600 "net/http/http_auth_scheme.cc",
2601 "net/http/http_basic_state.cc",
2602 "net/http/http_basic_stream.cc",
2603 "net/http/http_byte_range.cc",
2604 "net/http/http_cache.cc",
2605 "net/http/http_cache_lookup_manager.cc",
2606 "net/http/http_cache_transaction.cc",
2607 "net/http/http_cache_writers.cc",
2608 "net/http/http_chunked_decoder.cc",
2609 "net/http/http_content_disposition.cc",
2610 "net/http/http_log_util.cc",
2611 "net/http/http_network_layer.cc",
2612 "net/http/http_network_session.cc",
2613 "net/http/http_network_session_peer.cc",
2614 "net/http/http_network_transaction.cc",
2615 "net/http/http_proxy_client_socket.cc",
2616 "net/http/http_proxy_connect_job.cc",
2617 "net/http/http_raw_request_headers.cc",
2618 "net/http/http_request_headers.cc",
2619 "net/http/http_request_info.cc",
2620 "net/http/http_response_body_drainer.cc",
2621 "net/http/http_response_headers.cc",
2622 "net/http/http_response_info.cc",
2623 "net/http/http_security_headers.cc",
2624 "net/http/http_server_properties.cc",
2625 "net/http/http_server_properties_manager.cc",
2626 "net/http/http_status_code.cc",
2627 "net/http/http_stream_factory.cc",
2628 "net/http/http_stream_factory_job.cc",
2629 "net/http/http_stream_factory_job_controller.cc",
2630 "net/http/http_stream_parser.cc",
2631 "net/http/http_stream_request.cc",
2632 "net/http/http_util.cc",
2633 "net/http/http_vary_data.cc",
2634 "net/http/partial_data.cc",
2635 "net/http/proxy_client_socket.cc",
2636 "net/http/proxy_fallback.cc",
2637 "net/http/transport_security_persister.cc",
2638 "net/http/transport_security_state_source.cc",
2639 "net/http/url_security_manager.cc",
2640 "net/http/url_security_manager_posix.cc",
2641 "net/http/webfonts_histogram.cc",
2642 "net/log/file_net_log_observer.cc",
2643 "net/log/net_log.cc",
2644 "net/log/net_log_capture_mode.cc",
2645 "net/log/net_log_entry.cc",
2646 "net/log/net_log_event_type.cc",
2647 "net/log/net_log_source.cc",
2648 "net/log/net_log_util.cc",
2649 "net/log/net_log_values.cc",
2650 "net/log/net_log_with_source.cc",
2651 "net/log/trace_net_log_observer.cc",
2652 "net/network_error_logging/network_error_logging_service.cc",
2653 "net/nqe/cached_network_quality.cc",
2654 "net/nqe/effective_connection_type.cc",
2655 "net/nqe/event_creator.cc",
2656 "net/nqe/network_id.cc",
2657 "net/nqe/network_qualities_prefs_manager.cc",
2658 "net/nqe/network_quality.cc",
2659 "net/nqe/network_quality_estimator.cc",
2660 "net/nqe/network_quality_estimator_params.cc",
2661 "net/nqe/network_quality_estimator_util.cc",
2662 "net/nqe/network_quality_observation.cc",
2663 "net/nqe/network_quality_store.cc",
2664 "net/nqe/observation_buffer.cc",
2665 "net/nqe/pref_names.cc",
2666 "net/nqe/socket_watcher.cc",
2667 "net/nqe/socket_watcher_factory.cc",
2668 "net/nqe/throughput_analyzer.cc",
2669 "net/ntlm/ntlm.cc",
2670 "net/ntlm/ntlm_buffer_reader.cc",
2671 "net/ntlm/ntlm_buffer_writer.cc",
2672 "net/ntlm/ntlm_client.cc",
2673 "net/ntlm/ntlm_constants.cc",
2674 "net/proxy_resolution/configured_proxy_resolution_request.cc",
2675 "net/proxy_resolution/configured_proxy_resolution_service.cc",
2676 "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
2677 "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
2678 "net/proxy_resolution/network_delegate_error_observer.cc",
2679 "net/proxy_resolution/pac_file_data.cc",
2680 "net/proxy_resolution/pac_file_decider.cc",
2681 "net/proxy_resolution/pac_file_fetcher.cc",
2682 "net/proxy_resolution/pac_file_fetcher_impl.cc",
2683 "net/proxy_resolution/polling_proxy_config_service.cc",
2684 "net/proxy_resolution/proxy_bypass_rules.cc",
2685 "net/proxy_resolution/proxy_config.cc",
2686 "net/proxy_resolution/proxy_config_service.cc",
2687 "net/proxy_resolution/proxy_config_service_android.cc",
2688 "net/proxy_resolution/proxy_config_service_fixed.cc",
2689 "net/proxy_resolution/proxy_config_with_annotation.cc",
2690 "net/proxy_resolution/proxy_info.cc",
2691 "net/proxy_resolution/proxy_list.cc",
2692 "net/proxy_resolution/proxy_resolver_factory.cc",
2693 "net/quic/bidirectional_stream_quic_impl.cc",
2694 "net/quic/crypto/proof_source_chromium.cc",
2695 "net/quic/crypto/proof_verifier_chromium.cc",
2696 "net/quic/dedicated_web_transport_http3_client.cc",
2697 "net/quic/network_connection.cc",
2698 "net/quic/platform/impl/quic_chromium_clock.cc",
2699 "net/quic/properties_based_quic_server_info.cc",
2700 "net/quic/quic_address_mismatch.cc",
2701 "net/quic/quic_chromium_alarm_factory.cc",
2702 "net/quic/quic_chromium_client_session.cc",
2703 "net/quic/quic_chromium_client_stream.cc",
2704 "net/quic/quic_chromium_connection_helper.cc",
2705 "net/quic/quic_chromium_packet_reader.cc",
2706 "net/quic/quic_chromium_packet_writer.cc",
2707 "net/quic/quic_clock_skew_detector.cc",
2708 "net/quic/quic_connection_logger.cc",
2709 "net/quic/quic_connectivity_monitor.cc",
2710 "net/quic/quic_context.cc",
2711 "net/quic/quic_crypto_client_config_handle.cc",
2712 "net/quic/quic_crypto_client_stream_factory.cc",
2713 "net/quic/quic_event_logger.cc",
2714 "net/quic/quic_http3_logger.cc",
2715 "net/quic/quic_http_stream.cc",
2716 "net/quic/quic_http_utils.cc",
2717 "net/quic/quic_proxy_client_socket.cc",
2718 "net/quic/quic_server_info.cc",
2719 "net/quic/quic_session_key.cc",
2720 "net/quic/quic_stream_factory.cc",
2721 "net/quic/set_quic_flag.cc",
2722 "net/quic/web_transport_client.cc",
2723 "net/quic/web_transport_error.cc",
2724 "net/reporting/reporting_browsing_data_remover.cc",
2725 "net/reporting/reporting_cache.cc",
2726 "net/reporting/reporting_cache_impl.cc",
2727 "net/reporting/reporting_cache_observer.cc",
2728 "net/reporting/reporting_context.cc",
2729 "net/reporting/reporting_delegate.cc",
2730 "net/reporting/reporting_delivery_agent.cc",
2731 "net/reporting/reporting_endpoint.cc",
2732 "net/reporting/reporting_endpoint_manager.cc",
2733 "net/reporting/reporting_garbage_collector.cc",
2734 "net/reporting/reporting_header_parser.cc",
2735 "net/reporting/reporting_network_change_observer.cc",
2736 "net/reporting/reporting_policy.cc",
2737 "net/reporting/reporting_report.cc",
2738 "net/reporting/reporting_service.cc",
2739 "net/reporting/reporting_uploader.cc",
2740 "net/socket/client_socket_factory.cc",
2741 "net/socket/client_socket_handle.cc",
2742 "net/socket/client_socket_pool.cc",
2743 "net/socket/client_socket_pool_manager.cc",
2744 "net/socket/client_socket_pool_manager_impl.cc",
2745 "net/socket/connect_job.cc",
2746 "net/socket/connect_job_factory.cc",
2747 "net/socket/network_binding_client_socket_factory.cc",
2748 "net/socket/next_proto.cc",
2749 "net/socket/server_socket.cc",
2750 "net/socket/socket.cc",
2751 "net/socket/socket_bio_adapter.cc",
2752 "net/socket/socket_descriptor.cc",
2753 "net/socket/socket_net_log_params.cc",
2754 "net/socket/socket_options.cc",
2755 "net/socket/socket_posix.cc",
2756 "net/socket/socket_tag.cc",
2757 "net/socket/socks5_client_socket.cc",
2758 "net/socket/socks_client_socket.cc",
2759 "net/socket/socks_connect_job.cc",
2760 "net/socket/ssl_client_socket.cc",
2761 "net/socket/ssl_client_socket_impl.cc",
2762 "net/socket/ssl_connect_job.cc",
2763 "net/socket/ssl_server_socket_impl.cc",
2764 "net/socket/stream_socket.cc",
2765 "net/socket/tcp_client_socket.cc",
2766 "net/socket/tcp_server_socket.cc",
2767 "net/socket/tcp_socket_posix.cc",
2768 "net/socket/transport_client_socket.cc",
2769 "net/socket/transport_client_socket_pool.cc",
2770 "net/socket/transport_connect_job.cc",
2771 "net/socket/transport_connect_sub_job.cc",
2772 "net/socket/udp_client_socket.cc",
2773 "net/socket/udp_net_log_parameters.cc",
2774 "net/socket/udp_server_socket.cc",
2775 "net/socket/udp_socket_global_limits.cc",
2776 "net/socket/udp_socket_posix.cc",
2777 "net/socket/unix_domain_client_socket_posix.cc",
2778 "net/socket/unix_domain_server_socket_posix.cc",
2779 "net/socket/websocket_endpoint_lock_manager.cc",
2780 "net/socket/websocket_transport_client_socket_pool.cc",
2781 "net/spdy/alps_decoder.cc",
2782 "net/spdy/bidirectional_stream_spdy_impl.cc",
2783 "net/spdy/buffered_spdy_framer.cc",
2784 "net/spdy/header_coalescer.cc",
2785 "net/spdy/http2_priority_dependencies.cc",
2786 "net/spdy/http2_push_promise_index.cc",
2787 "net/spdy/multiplexed_http_stream.cc",
2788 "net/spdy/multiplexed_session.cc",
2789 "net/spdy/spdy_buffer.cc",
2790 "net/spdy/spdy_buffer_producer.cc",
2791 "net/spdy/spdy_http_stream.cc",
2792 "net/spdy/spdy_http_utils.cc",
2793 "net/spdy/spdy_log_util.cc",
2794 "net/spdy/spdy_proxy_client_socket.cc",
2795 "net/spdy/spdy_read_queue.cc",
2796 "net/spdy/spdy_session.cc",
2797 "net/spdy/spdy_session_key.cc",
2798 "net/spdy/spdy_session_pool.cc",
2799 "net/spdy/spdy_stream.cc",
2800 "net/spdy/spdy_write_queue.cc",
2801 "net/ssl/cert_compression.cc",
2802 "net/ssl/client_cert_identity.cc",
2803 "net/ssl/openssl_ssl_util.cc",
2804 "net/ssl/ssl_cert_request_info.cc",
2805 "net/ssl/ssl_cipher_suite_names.cc",
2806 "net/ssl/ssl_client_auth_cache.cc",
2807 "net/ssl/ssl_client_session_cache.cc",
2808 "net/ssl/ssl_config.cc",
2809 "net/ssl/ssl_config_service.cc",
2810 "net/ssl/ssl_config_service_defaults.cc",
2811 "net/ssl/ssl_info.cc",
2812 "net/ssl/ssl_key_logger.cc",
2813 "net/ssl/ssl_key_logger_impl.cc",
2814 "net/ssl/ssl_platform_key_android.cc",
2815 "net/ssl/ssl_platform_key_util.cc",
2816 "net/ssl/ssl_private_key.cc",
2817 "net/ssl/ssl_server_config.cc",
2818 "net/ssl/threaded_ssl_private_key.cc",
2819 "net/url_request/redirect_info.cc",
2820 "net/url_request/redirect_util.cc",
2821 "net/url_request/report_sender.cc",
2822 "net/url_request/static_http_user_agent_settings.cc",
2823 "net/url_request/url_request.cc",
2824 "net/url_request/url_request_context.cc",
2825 "net/url_request/url_request_context_builder.cc",
2826 "net/url_request/url_request_context_getter.cc",
2827 "net/url_request/url_request_error_job.cc",
2828 "net/url_request/url_request_filter.cc",
2829 "net/url_request/url_request_http_job.cc",
2830 "net/url_request/url_request_interceptor.cc",
2831 "net/url_request/url_request_job.cc",
2832 "net/url_request/url_request_job_factory.cc",
2833 "net/url_request/url_request_netlog_params.cc",
2834 "net/url_request/url_request_redirect_job.cc",
2835 "net/url_request/url_request_throttler_entry.cc",
2836 "net/url_request/url_request_throttler_manager.cc",
2837 "net/url_request/view_cache_helper.cc",
2838 "net/url_request/websocket_handshake_userdata_key.cc",
2839 ],
2840 shared_libs: [
2841 "libandroid",
2842 "liblog",
2843 ],
2844 static_libs: [
2845 "cronet_aml_base_base",
2846 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
2847 "cronet_aml_crypto_crypto",
2848 "cronet_aml_net_isolation_info_proto",
2849 "cronet_aml_net_net_nqe_proto",
2850 "cronet_aml_net_preload_decoder",
2851 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto",
2852 "cronet_aml_net_third_party_quiche_quiche",
2853 "cronet_aml_net_uri_template",
2854 "cronet_aml_third_party_boringssl_boringssl",
2855 "cronet_aml_third_party_brotli_dec",
2856 "cronet_aml_third_party_protobuf_protobuf_lite",
2857 "cronet_aml_third_party_zlib_zlib",
2858 "cronet_aml_url_url",
2859 ],
2860 generated_headers: [
2861 "cronet_aml_base_debugging_buildflags",
2862 "cronet_aml_base_logging_buildflags",
2863 "cronet_aml_build_branding_buildflags",
2864 "cronet_aml_build_chromeos_buildflags",
2865 "cronet_aml_net_buildflags",
2866 "cronet_aml_net_ios_cronet_buildflags",
2867 "cronet_aml_net_net_jni_headers",
2868 "cronet_aml_tools_grit_grit_sources",
2869 "cronet_aml_tools_gritsettings_default_resource_ids",
2870 "cronet_aml_url_buildflags",
2871 ],
2872 export_generated_headers: [
2873 "cronet_aml_base_debugging_buildflags",
2874 "cronet_aml_base_logging_buildflags",
2875 "cronet_aml_build_branding_buildflags",
2876 "cronet_aml_build_chromeos_buildflags",
2877 "cronet_aml_net_buildflags",
2878 "cronet_aml_net_ios_cronet_buildflags",
2879 "cronet_aml_net_net_jni_headers",
2880 "cronet_aml_tools_grit_grit_sources",
2881 "cronet_aml_tools_gritsettings_default_resource_ids",
2882 "cronet_aml_url_buildflags",
2883 ],
2884 defaults: [
2885 "cronet_aml_defaults",
2886 ],
2887 cflags: [
2888 "-DANDROID",
2889 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2890 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
2891 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
2892 "-DDCHECK_ALWAYS_ON=1",
2893 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
2894 "-DENABLE_BUILT_IN_DNS",
2895 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
2896 "-DGOOGLE_PROTOBUF_NO_RTTI",
2897 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
2898 "-DHAVE_PTHREAD",
2899 "-DHAVE_SYS_UIO_H",
2900 "-DNET_IMPLEMENTATION",
2901 "-D_DEBUG",
2902 "-D_GNU_SOURCE",
2903 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
2904 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2905 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
2906 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2907 "-D__STDC_CONSTANT_MACROS",
2908 "-D__STDC_FORMAT_MACROS",
2909 ],
2910 local_include_dirs: [
2911 "./",
2912 "buildtools/third_party/libc++/",
2913 "buildtools/third_party/libc++/trunk/include",
2914 "buildtools/third_party/libc++abi/trunk/include",
2915 "net/third_party/quiche/overrides/",
2916 "net/third_party/quiche/src/",
2917 "net/third_party/quiche/src/quiche/common/platform/default/",
2918 "third_party/abseil-cpp/",
2919 "third_party/boringssl/src/include/",
2920 "third_party/brotli/include/",
2921 "third_party/protobuf/src/",
2922 "third_party/zlib/",
2923 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
2924 ],
2925 header_libs: [
2926 "jni_headers",
2927 ],
2928 cpp_std: "c++20",
2929}
2930
2931// GN: //net:net_deps
2932filegroup {
2933 name: "cronet_aml_net_net_deps",
2934}
2935
2936// GN: //net:net_export_header
2937filegroup {
2938 name: "cronet_aml_net_net_export_header",
2939}
2940
2941// GN: //net:net_jni_headers
2942genrule {
2943 name: "cronet_aml_net_net_jni_headers",
2944 srcs: [
2945 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
2946 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
2947 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
2948 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
2949 "net/android/java/src/org/chromium/net/DnsStatus.java",
2950 "net/android/java/src/org/chromium/net/GURLUtils.java",
2951 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
2952 "net/android/java/src/org/chromium/net/HttpUtil.java",
2953 "net/android/java/src/org/chromium/net/NetStringUtil.java",
2954 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
2955 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
2956 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
2957 "net/android/java/src/org/chromium/net/X509Util.java",
2958 ],
2959 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2960 "long " +
2961 " " +
2962 " " +
2963 "--output_dir " +
2964 "$(genDir)/net/net_jni_headers " +
2965 "--includes " +
2966 "base/android/jni_generator/jni_generator_helper.h " +
2967 "--use_proxy_hash " +
2968 "--output_name " +
2969 "AndroidCertVerifyResult_jni.h " +
2970 "--output_name " +
2971 "AndroidKeyStore_jni.h " +
2972 "--output_name " +
2973 "AndroidNetworkLibrary_jni.h " +
2974 "--output_name " +
2975 "AndroidTrafficStats_jni.h " +
2976 "--output_name " +
2977 "DnsStatus_jni.h " +
2978 "--output_name " +
2979 "GURLUtils_jni.h " +
2980 "--output_name " +
2981 "HttpNegotiateAuthenticator_jni.h " +
2982 "--output_name " +
2983 "HttpUtil_jni.h " +
2984 "--output_name " +
2985 "NetStringUtil_jni.h " +
2986 "--output_name " +
2987 "NetworkActiveNotifier_jni.h " +
2988 "--output_name " +
2989 "NetworkChangeNotifier_jni.h " +
2990 "--output_name " +
2991 "ProxyChangeListener_jni.h " +
2992 "--output_name " +
2993 "X509Util_jni.h " +
2994 "--input_file " +
2995 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
2996 "--input_file " +
2997 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
2998 "--input_file " +
2999 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
3000 "--input_file " +
3001 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
3002 "--input_file " +
3003 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
3004 "--input_file " +
3005 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
3006 "--input_file " +
3007 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
3008 "--input_file " +
3009 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
3010 "--input_file " +
3011 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
3012 "--input_file " +
3013 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
3014 "--input_file " +
3015 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
3016 "--input_file " +
3017 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
3018 "--input_file " +
3019 "$(location net/android/java/src/org/chromium/net/X509Util.java)",
3020 out: [
3021 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
3022 "net/net_jni_headers/AndroidKeyStore_jni.h",
3023 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
3024 "net/net_jni_headers/AndroidTrafficStats_jni.h",
3025 "net/net_jni_headers/DnsStatus_jni.h",
3026 "net/net_jni_headers/GURLUtils_jni.h",
3027 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
3028 "net/net_jni_headers/HttpUtil_jni.h",
3029 "net/net_jni_headers/NetStringUtil_jni.h",
3030 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
3031 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
3032 "net/net_jni_headers/ProxyChangeListener_jni.h",
3033 "net/net_jni_headers/X509Util_jni.h",
3034 ],
3035 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00003036 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -07003037 "base/android/jni_generator/jni_generator.py",
3038 "build/android/gyp/util/__init__.py",
3039 "build/android/gyp/util/build_utils.py",
3040 "build/gn_helpers.py",
3041 ],
3042}
3043
3044// GN: //net:net_nqe_proto
3045cc_library_static {
3046 name: "cronet_aml_net_net_nqe_proto",
3047 srcs: [
3048 ":cronet_aml_net_net_export_header",
Motomu Utsumi63339322022-11-07 19:32:48 +09003049 ":cronet_aml_net_net_nqe_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07003050 ],
3051 shared_libs: [
3052 "liblog",
3053 ],
3054 static_libs: [
3055 "cronet_aml_third_party_protobuf_protobuf_lite",
3056 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +09003057 generated_headers: [
3058 "cronet_aml_net_net_nqe_proto_gen_headers",
3059 ],
3060 export_generated_headers: [
3061 "cronet_aml_net_net_nqe_proto_gen_headers",
3062 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003063 defaults: [
3064 "cronet_aml_defaults",
3065 ],
3066 cflags: [
3067 "-DANDROID",
3068 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3069 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3070 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3071 "-DDCHECK_ALWAYS_ON=1",
3072 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3073 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
3074 "-DGOOGLE_PROTOBUF_NO_RTTI",
3075 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
3076 "-DHAVE_PTHREAD",
3077 "-DHAVE_SYS_UIO_H",
3078 "-DNET_IMPLEMENTATION",
3079 "-D_DEBUG",
3080 "-D_GNU_SOURCE",
3081 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3082 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3083 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3084 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3085 "-D__STDC_CONSTANT_MACROS",
3086 "-D__STDC_FORMAT_MACROS",
3087 ],
3088 local_include_dirs: [
3089 "./",
3090 "buildtools/third_party/libc++/",
3091 "buildtools/third_party/libc++/trunk/include",
3092 "buildtools/third_party/libc++abi/trunk/include",
3093 "third_party/protobuf/src/",
3094 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3095 ],
3096 cpp_std: "c++20",
3097}
3098
3099// GN: //net:net_nqe_proto_gen
3100genrule {
3101 name: "cronet_aml_net_net_nqe_proto_gen",
3102 srcs: [
Motomu Utsumieec51832022-11-04 19:02:09 +09003103 "net/base/net_export.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003104 "net/nqe/proto/network_id_proto.proto",
3105 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003106 tools: [
3107 "aprotoc",
3108 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003109 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) network_id_proto.proto " +
3110 "--protoc " +
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003111 "$(location aprotoc) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003112 "--proto-in-dir " +
Motomu Utsumic5d2db92022-11-04 18:46:23 +09003113 "`dirname $(location net/nqe/proto/network_id_proto.proto)` " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003114 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003115 "$(genDir) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003116 "--cc-options " +
Motomu Utsumi667bc0f2022-11-04 18:55:46 +09003117 "dllexport_decl=NET_EXPORT_PRIVATE: " +
3118 " " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003119 "--include " +
Motomu Utsumieec51832022-11-04 19:02:09 +09003120 "$(location net/base/net_export.h) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09003121 " " +
3122 "",
Patrick Rohrcb035942022-11-01 12:12:52 -07003123 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003124 "network_id_proto.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003125 ],
3126 tool_files: [
3127 "tools/protoc_wrapper/protoc_wrapper.py",
3128 ],
3129}
3130
3131// GN: //net:net_nqe_proto_gen
3132genrule {
3133 name: "cronet_aml_net_net_nqe_proto_gen_headers",
3134 srcs: [
3135 "net/base/net_export.h",
3136 "net/nqe/proto/network_id_proto.proto",
3137 ],
3138 tools: [
3139 "aprotoc",
3140 ],
3141 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) network_id_proto.proto " +
3142 "--protoc " +
3143 "$(location aprotoc) " +
3144 "--proto-in-dir " +
3145 "`dirname $(location net/nqe/proto/network_id_proto.proto)` " +
3146 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003147 "$(genDir) " +
Motomu Utsumic6277d92022-11-07 15:15:17 +09003148 "--cc-options " +
3149 "dllexport_decl=NET_EXPORT_PRIVATE: " +
3150 " " +
3151 "--include " +
3152 "$(location net/base/net_export.h) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09003153 " " +
3154 "",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003155 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003156 "network_id_proto.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003157 ],
3158 tool_files: [
3159 "tools/protoc_wrapper/protoc_wrapper.py",
3160 ],
3161}
3162
3163// GN: //net:net_public_deps
3164filegroup {
3165 name: "cronet_aml_net_net_public_deps",
3166}
3167
3168// GN: //net:net_resources
3169filegroup {
3170 name: "cronet_aml_net_net_resources",
3171}
3172
3173// GN: //net:net_resources_grit
3174genrule {
3175 name: "cronet_aml_net_net_resources_grit",
3176 cmd: "$(location tools/grit/grit.py) -i " +
3177 "../../net/base/net_resources.grd " +
3178 "build " +
3179 "-o " +
3180 "gen/net " +
3181 "--depdir " +
3182 ". " +
3183 "--depfile " +
3184 "gen/net/net_resources_grit.d " +
3185 "--write-only-new " +
3186 "1 " +
3187 "--depend-on-stamp " +
3188 "-D " +
3189 "DEVTOOLS_GRD_PATH " +
3190 "gen/third_party/devtools-frontend/src/front_end/devtools_resources " +
3191 "-D " +
3192 "SHARED_INTERMEDIATE_DIR " +
3193 "gen " +
3194 "-D " +
3195 "_google_chrome " +
3196 "false " +
3197 "-D " +
3198 "_google_chrome_for_testing " +
3199 "false " +
3200 "-D " +
3201 "chromeos_ash " +
3202 "false " +
3203 "-D " +
3204 "chromeos_lacros " +
3205 "false " +
3206 "-D " +
3207 "reven " +
3208 "false " +
3209 "-D " +
3210 "toolkit_views " +
3211 "false " +
3212 "-D " +
3213 "use_aura " +
3214 "false " +
3215 "-D " +
3216 "use_ozone " +
3217 "false " +
3218 "-D " +
3219 "use_titlecase " +
3220 "false " +
3221 "-E " +
3222 "root_gen_dir " +
3223 "gen " +
3224 "-E " +
3225 "root_src_dir " +
3226 "../../ " +
3227 "-E " +
3228 "CHROMIUM_BUILD " +
3229 "chromium " +
3230 "-E " +
3231 "ANDROID_JAVA_TAGGED_ONLY " +
3232 "true " +
3233 "-t " +
3234 "android " +
3235 "-f " +
3236 "gen/tools/gritsettings/default_resource_ids " +
3237 "--assert-file-list " +
3238 "obj/net/net_resources_expected_outputs.txt",
3239 out: [
3240 "net/grit/net_resources.h",
3241 "net/net_resources.pak",
3242 "net/net_resources.pak.info",
3243 "net/net_resources_grit.d.stamp",
3244 ],
3245 tool_files: [
3246 "net/base/net_resources.grd",
3247 "out/test/gen/tools/gritsettings/default_resource_ids",
3248 "out/test/obj/net/net_resources_expected_outputs.txt",
3249 "tools/grit/grit.py",
3250 ],
3251}
3252
3253// GN: //net:preload_decoder
3254cc_library_static {
3255 name: "cronet_aml_net_preload_decoder",
3256 srcs: [
3257 "net/extras/preload_data/decoder.cc",
3258 ],
3259 shared_libs: [
3260 "libandroid",
3261 "liblog",
3262 ],
3263 static_libs: [
3264 "cronet_aml_base_base",
3265 ],
3266 defaults: [
3267 "cronet_aml_defaults",
3268 ],
3269 cflags: [
3270 "-DANDROID",
3271 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3272 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3273 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3274 "-DDCHECK_ALWAYS_ON=1",
3275 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3276 "-DHAVE_SYS_UIO_H",
3277 "-D_DEBUG",
3278 "-D_GNU_SOURCE",
3279 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3280 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3281 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3282 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3283 "-D__STDC_CONSTANT_MACROS",
3284 "-D__STDC_FORMAT_MACROS",
3285 ],
3286 local_include_dirs: [
3287 "./",
3288 "buildtools/third_party/libc++/",
3289 "buildtools/third_party/libc++/trunk/include",
3290 "buildtools/third_party/libc++abi/trunk/include",
3291 "third_party/abseil-cpp/",
3292 "third_party/boringssl/src/include/",
3293 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3294 ],
3295 cpp_std: "c++20",
3296}
3297
3298// GN: //net/third_party/quiche:net_quic_proto
3299cc_library_static {
3300 name: "cronet_aml_net_third_party_quiche_net_quic_proto",
Motomu Utsumi63339322022-11-07 19:32:48 +09003301 srcs: [
3302 ":cronet_aml_net_third_party_quiche_net_quic_proto_gen",
3303 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003304 shared_libs: [
3305 "libandroid",
3306 "liblog",
3307 ],
3308 static_libs: [
3309 "cronet_aml_base_base",
3310 "cronet_aml_third_party_protobuf_protobuf_lite",
3311 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +09003312 generated_headers: [
3313 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
3314 ],
3315 export_generated_headers: [
3316 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
3317 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003318 defaults: [
3319 "cronet_aml_defaults",
3320 ],
3321 cflags: [
3322 "-DANDROID",
3323 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3324 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3325 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3326 "-DDCHECK_ALWAYS_ON=1",
3327 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3328 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
3329 "-DGOOGLE_PROTOBUF_NO_RTTI",
3330 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
3331 "-DHAVE_PTHREAD",
3332 "-DHAVE_SYS_UIO_H",
3333 "-DIS_QUICHE_IMPL",
3334 "-D_DEBUG",
3335 "-D_GNU_SOURCE",
3336 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3337 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3338 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3339 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3340 "-D__STDC_CONSTANT_MACROS",
3341 "-D__STDC_FORMAT_MACROS",
3342 ],
3343 local_include_dirs: [
3344 "./",
3345 "buildtools/third_party/libc++/",
3346 "buildtools/third_party/libc++/trunk/include",
3347 "buildtools/third_party/libc++abi/trunk/include",
3348 "third_party/abseil-cpp/",
3349 "third_party/boringssl/src/include/",
3350 "third_party/protobuf/src/",
3351 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3352 ],
3353 cpp_std: "c++20",
3354}
3355
3356// GN: //net/third_party/quiche:net_quic_proto_gen
3357genrule {
3358 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen",
3359 srcs: [
Motomu Utsumieec51832022-11-04 19:02:09 +09003360 "base/component_export.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003361 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
3362 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
3363 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
3364 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003365 tools: [
3366 "aprotoc",
3367 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003368 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) quiche/quic/core/proto/cached_network_parameters.proto " +
3369 "quiche/quic/core/proto/crypto_server_config.proto " +
3370 "quiche/quic/core/proto/source_address_token.proto " +
3371 "--protoc " +
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003372 "$(location aprotoc) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003373 "--proto-in-dir " +
Motomu Utsumic5d2db92022-11-04 18:46:23 +09003374 "`dirname $(location net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto)`/../../../../ " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003375 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003376 "$(genDir) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003377 "--cc-options " +
Motomu Utsumi667bc0f2022-11-04 18:55:46 +09003378 "dllexport_decl=COMPONENT_EXPORT(QUICHE): " +
3379 " " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003380 "--include " +
Motomu Utsumieec51832022-11-04 19:02:09 +09003381 "$(location base/component_export.h) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09003382 " " +
3383 "",
Patrick Rohrcb035942022-11-01 12:12:52 -07003384 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003385 "cached_network_parameters.pb.cc",
3386 "crypto_server_config.pb.cc",
3387 "source_address_token.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003388 ],
3389 tool_files: [
3390 "tools/protoc_wrapper/protoc_wrapper.py",
3391 ],
3392}
3393
3394// GN: //net/third_party/quiche:net_quic_proto_gen
3395genrule {
3396 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
3397 srcs: [
3398 "base/component_export.h",
3399 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
3400 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
3401 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
3402 ],
3403 tools: [
3404 "aprotoc",
3405 ],
3406 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) quiche/quic/core/proto/cached_network_parameters.proto " +
3407 "quiche/quic/core/proto/crypto_server_config.proto " +
3408 "quiche/quic/core/proto/source_address_token.proto " +
3409 "--protoc " +
3410 "$(location aprotoc) " +
3411 "--proto-in-dir " +
3412 "`dirname $(location net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto)`/../../../../ " +
3413 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003414 "$(genDir) " +
Motomu Utsumic6277d92022-11-07 15:15:17 +09003415 "--cc-options " +
3416 "dllexport_decl=COMPONENT_EXPORT(QUICHE): " +
3417 " " +
3418 "--include " +
3419 "$(location base/component_export.h) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09003420 " " +
3421 "",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003422 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003423 "cached_network_parameters.pb.h",
3424 "crypto_server_config.pb.h",
3425 "source_address_token.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003426 ],
3427 tool_files: [
3428 "tools/protoc_wrapper/protoc_wrapper.py",
3429 ],
3430}
3431
3432// GN: //net/third_party/quiche:net_quic_test_tools_proto
3433cc_library_static {
3434 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto",
3435 srcs: [
3436 ":cronet_aml_net_net_export_header",
Motomu Utsumi63339322022-11-07 19:32:48 +09003437 ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07003438 ],
3439 shared_libs: [
3440 "liblog",
3441 ],
3442 static_libs: [
3443 "cronet_aml_third_party_protobuf_protobuf_lite",
3444 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +09003445 generated_headers: [
3446 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
3447 ],
3448 export_generated_headers: [
3449 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
3450 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003451 defaults: [
3452 "cronet_aml_defaults",
3453 ],
3454 cflags: [
3455 "-DANDROID",
3456 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3457 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3458 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3459 "-DDCHECK_ALWAYS_ON=1",
3460 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3461 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
3462 "-DGOOGLE_PROTOBUF_NO_RTTI",
3463 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
3464 "-DHAVE_PTHREAD",
3465 "-DHAVE_SYS_UIO_H",
3466 "-DNET_IMPLEMENTATION",
3467 "-D_DEBUG",
3468 "-D_GNU_SOURCE",
3469 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3470 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3471 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3472 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3473 "-D__STDC_CONSTANT_MACROS",
3474 "-D__STDC_FORMAT_MACROS",
3475 ],
3476 local_include_dirs: [
3477 "./",
3478 "buildtools/third_party/libc++/",
3479 "buildtools/third_party/libc++/trunk/include",
3480 "buildtools/third_party/libc++abi/trunk/include",
3481 "third_party/protobuf/src/",
3482 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3483 ],
3484 cpp_std: "c++20",
3485}
3486
3487// GN: //net/third_party/quiche:net_quic_test_tools_proto_gen
3488genrule {
3489 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
3490 srcs: [
Motomu Utsumieec51832022-11-04 19:02:09 +09003491 "net/base/net_export.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003492 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
3493 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003494 tools: [
3495 "aprotoc",
3496 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003497 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) send_algorithm_test_result.proto " +
3498 "--protoc " +
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003499 "$(location aprotoc) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003500 "--proto-in-dir " +
Motomu Utsumic5d2db92022-11-04 18:46:23 +09003501 "`dirname $(location net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto)` " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003502 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003503 "$(genDir) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003504 "--cc-options " +
Motomu Utsumi667bc0f2022-11-04 18:55:46 +09003505 "dllexport_decl=NET_EXPORT_PRIVATE: " +
3506 " " +
Patrick Rohrcb035942022-11-01 12:12:52 -07003507 "--include " +
Motomu Utsumieec51832022-11-04 19:02:09 +09003508 "$(location net/base/net_export.h) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09003509 " " +
3510 "",
Patrick Rohrcb035942022-11-01 12:12:52 -07003511 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003512 "send_algorithm_test_result.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003513 ],
3514 tool_files: [
3515 "tools/protoc_wrapper/protoc_wrapper.py",
3516 ],
3517}
3518
3519// GN: //net/third_party/quiche:net_quic_test_tools_proto_gen
3520genrule {
3521 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
3522 srcs: [
3523 "net/base/net_export.h",
3524 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
3525 ],
3526 tools: [
3527 "aprotoc",
3528 ],
3529 cmd: "$(location tools/protoc_wrapper/protoc_wrapper.py) send_algorithm_test_result.proto " +
3530 "--protoc " +
3531 "$(location aprotoc) " +
3532 "--proto-in-dir " +
3533 "`dirname $(location net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto)` " +
3534 "--cc-out-dir " +
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003535 "$(genDir) " +
Motomu Utsumic6277d92022-11-07 15:15:17 +09003536 "--cc-options " +
3537 "dllexport_decl=NET_EXPORT_PRIVATE: " +
3538 " " +
3539 "--include " +
3540 "$(location net/base/net_export.h) " +
Motomu Utsumi1b02c502022-11-07 16:01:30 +09003541 " " +
3542 "",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003543 out: [
Motomu Utsumi69fdb042022-11-07 19:34:03 +09003544 "send_algorithm_test_result.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003545 ],
3546 tool_files: [
3547 "tools/protoc_wrapper/protoc_wrapper.py",
3548 ],
3549}
3550
3551// GN: //net/third_party/quiche:quiche
3552cc_library_static {
3553 name: "cronet_aml_net_third_party_quiche_quiche",
3554 srcs: [
3555 ":cronet_aml_third_party_abseil_cpp_absl",
3556 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
3557 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
3558 ":cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
3559 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
3560 ":cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
3561 ":cronet_aml_third_party_abseil_cpp_absl_base_config",
3562 ":cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
3563 ":cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
3564 ":cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
3565 ":cronet_aml_third_party_abseil_cpp_absl_base_endian",
3566 ":cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
3567 ":cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
3568 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
3569 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
3570 ":cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
3571 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
3572 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
3573 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
3574 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
3575 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
3576 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
3577 ":cronet_aml_third_party_abseil_cpp_absl_container_btree",
3578 ":cronet_aml_third_party_abseil_cpp_absl_container_common",
3579 ":cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
3580 ":cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
3581 ":cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
3582 ":cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
3583 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
3584 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
3585 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
3586 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
3587 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
3588 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
3589 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
3590 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
3591 ":cronet_aml_third_party_abseil_cpp_absl_container_layout",
3592 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
3593 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
3594 ":cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
3595 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
3596 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
3597 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
3598 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
3599 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
3600 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
3601 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
3602 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
3603 ":cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
3604 ":cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
3605 ":cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
3606 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
3607 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
3608 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
3609 ":cronet_aml_third_party_abseil_cpp_absl_memory_memory",
3610 ":cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
3611 ":cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
3612 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
3613 ":cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
3614 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
3615 ":cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
3616 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
3617 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
3618 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
3619 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
3620 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
3621 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
3622 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
3623 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
3624 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
3625 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
3626 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
3627 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
3628 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
3629 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
3630 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
3631 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
3632 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
3633 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
3634 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
3635 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
3636 ":cronet_aml_third_party_abseil_cpp_absl_random_random",
3637 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
3638 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
3639 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
3640 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
3641 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
3642 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
3643 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
3644 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
3645 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
3646 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
3647 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
3648 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
3649 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
3650 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
3651 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
3652 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
3653 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
3654 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
3655 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
3656 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
3657 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
3658 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
3659 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
3660 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
3661 ":cronet_aml_third_party_abseil_cpp_absl_types_compare",
3662 ":cronet_aml_third_party_abseil_cpp_absl_types_optional",
3663 ":cronet_aml_third_party_abseil_cpp_absl_types_span",
3664 ":cronet_aml_third_party_abseil_cpp_absl_types_variant",
3665 ":cronet_aml_third_party_abseil_cpp_absl_utility_utility",
3666 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
3667 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
3668 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
3669 "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
3670 "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
3671 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
3672 "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
3673 "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
3674 "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
3675 "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
3676 "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
3677 "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
3678 "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
3679 "net/third_party/quiche/src/quiche/common/quiche_random.cc",
3680 "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
3681 "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
3682 "net/third_party/quiche/src/quiche/common/structured_headers.cc",
3683 "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
3684 "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
3685 "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
3686 "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
3687 "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
3688 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
3689 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
3690 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
3691 "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
3692 "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
3693 "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
3694 "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
3695 "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
3696 "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
3697 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
3698 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
3699 "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
3700 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
3701 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
3702 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
3703 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
3704 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
3705 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
3706 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
3707 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
3708 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
3709 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
3710 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
3711 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
3712 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
3713 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
3714 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
3715 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
3716 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
3717 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
3718 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
3719 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
3720 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
3721 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
3722 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
3723 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
3724 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
3725 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
3726 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
3727 "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
3728 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
3729 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
3730 "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
3731 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
3732 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
3733 "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
3734 "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
3735 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
3736 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
3737 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
3738 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
3739 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
3740 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
3741 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
3742 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
3743 "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
3744 "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
3745 "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
3746 "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
3747 "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
3748 "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
3749 "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
3750 "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
3751 "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
3752 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
3753 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
3754 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
3755 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
3756 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
3757 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
3758 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
3759 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
3760 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
3761 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
3762 "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
3763 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
3764 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
3765 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
3766 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
3767 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
3768 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
3769 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
3770 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
3771 "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
3772 "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
3773 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
3774 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
3775 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
3776 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
3777 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
3778 "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
3779 "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
3780 "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
3781 "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
3782 "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
3783 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
3784 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
3785 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
3786 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
3787 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
3788 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
3789 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
3790 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
3791 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
3792 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
3793 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
3794 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
3795 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
3796 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
3797 "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
3798 "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
3799 "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
3800 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
3801 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
3802 "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
3803 "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
3804 "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
3805 "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
3806 "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
3807 "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
3808 "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
3809 "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
3810 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
3811 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
3812 "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
3813 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
3814 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
3815 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
3816 "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
3817 "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
3818 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
3819 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
3820 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
3821 "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
3822 "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
3823 "net/third_party/quiche/src/quiche/quic/core/http/capsule.cc",
3824 "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
3825 "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
3826 "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
3827 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc",
3828 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc",
3829 "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
3830 "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
3831 "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
3832 "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
3833 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
3834 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
3835 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
3836 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
3837 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
3838 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
3839 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
3840 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
3841 "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc",
3842 "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
3843 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
3844 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
3845 "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
3846 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
3847 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
3848 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
3849 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
3850 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
3851 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
3852 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
3853 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
3854 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
3855 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
3856 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
3857 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
3858 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
3859 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
3860 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
3861 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
3862 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
3863 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
3864 "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
3865 "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
3866 "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
3867 "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
3868 "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
3869 "net/third_party/quiche/src/quiche/quic/core/quic_clock.cc",
3870 "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
3871 "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
3872 "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
3873 "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
3874 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
3875 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
3876 "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
3877 "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
3878 "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
3879 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
3880 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
3881 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
3882 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
3883 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
3884 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
3885 "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
3886 "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
3887 "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
3888 "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
3889 "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
3890 "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
3891 "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
3892 "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
3893 "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
3894 "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
3895 "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
3896 "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
3897 "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
3898 "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
3899 "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
3900 "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
3901 "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
3902 "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
3903 "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
3904 "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
3905 "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
3906 "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
3907 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
3908 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
3909 "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
3910 "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
3911 "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
3912 "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
3913 "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
3914 "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
3915 "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
3916 "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
3917 "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
3918 "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
3919 "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
3920 "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
3921 "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
3922 "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
3923 "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
3924 "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
3925 "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
3926 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
3927 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
3928 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
3929 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
3930 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
3931 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
3932 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
3933 "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
3934 "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc",
3935 "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc",
3936 "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
3937 "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
3938 "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
3939 "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
3940 "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
3941 "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc",
3942 "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc",
3943 "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
3944 "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc",
3945 ],
3946 shared_libs: [
3947 "libandroid",
3948 "liblog",
3949 ],
3950 static_libs: [
3951 "cronet_aml_base_base",
3952 "cronet_aml_net_third_party_quiche_net_quic_proto",
3953 "cronet_aml_net_uri_template",
3954 "cronet_aml_third_party_boringssl_boringssl",
3955 "cronet_aml_third_party_protobuf_protobuf_lite",
3956 "cronet_aml_third_party_zlib_zlib",
3957 "cronet_aml_url_url",
3958 ],
3959 generated_headers: [
3960 "cronet_aml_build_chromeos_buildflags",
3961 ],
3962 export_generated_headers: [
3963 "cronet_aml_build_chromeos_buildflags",
3964 ],
3965 defaults: [
3966 "cronet_aml_defaults",
3967 ],
3968 cflags: [
3969 "-DABSL_ALLOCATOR_NOTHROW=1",
3970 "-DANDROID",
3971 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3972 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3973 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3974 "-DDCHECK_ALWAYS_ON=1",
3975 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3976 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
3977 "-DGOOGLE_PROTOBUF_NO_RTTI",
3978 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
3979 "-DHAVE_PTHREAD",
3980 "-DHAVE_SYS_UIO_H",
3981 "-DIS_QUICHE_IMPL",
3982 "-D_DEBUG",
3983 "-D_GNU_SOURCE",
3984 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3985 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3986 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3987 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3988 "-D__STDC_CONSTANT_MACROS",
3989 "-D__STDC_FORMAT_MACROS",
3990 ],
3991 local_include_dirs: [
3992 "./",
3993 "buildtools/third_party/libc++/",
3994 "buildtools/third_party/libc++/trunk/include",
3995 "buildtools/third_party/libc++abi/trunk/include",
3996 "net/third_party/quiche/overrides/",
3997 "net/third_party/quiche/src/",
3998 "net/third_party/quiche/src/quiche/common/platform/default/",
3999 "third_party/abseil-cpp/",
4000 "third_party/boringssl/src/include/",
4001 "third_party/protobuf/src/",
4002 "third_party/zlib/",
4003 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
4004 ],
4005 cpp_std: "c++20",
4006}
4007
4008// GN: //net/tools/root_store_tool:root_store_tool
4009cc_binary {
4010 name: "cronet_aml_net_tools_root_store_tool_root_store_tool",
4011 srcs: [
4012 ":cronet_aml_buildtools_third_party_libc___libc__",
4013 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
4014 "net/tools/root_store_tool/root_store_tool.cc",
4015 ],
4016 static_libs: [
4017 "cronet_aml_base_base",
4018 "cronet_aml_crypto_crypto",
4019 "cronet_aml_net_cert_root_store_proto_full",
4020 "cronet_aml_third_party_boringssl_boringssl",
4021 ],
4022 defaults: [
4023 "cronet_aml_defaults",
4024 ],
4025 cflags: [
4026 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4027 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4028 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
4029 "-DDCHECK_ALWAYS_ON=1",
4030 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4031 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
4032 "-DGOOGLE_PROTOBUF_NO_RTTI",
4033 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
4034 "-DHAVE_PTHREAD",
4035 "-DLIBCXXABI_SILENT_TERMINATE",
4036 "-DLIBCXX_BUILDING_LIBCXXABI",
4037 "-DUSE_AURA=1",
4038 "-DUSE_OZONE=1",
4039 "-DUSE_UDEV",
4040 "-D_DEBUG",
4041 "-D_FILE_OFFSET_BITS=64",
4042 "-D_GNU_SOURCE",
4043 "-D_LARGEFILE64_SOURCE",
4044 "-D_LARGEFILE_SOURCE",
4045 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4046 "-D_LIBCPP_BUILDING_LIBRARY",
4047 "-D_LIBCPP_CONSTINIT=constinit",
4048 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4049 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4050 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
4051 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4052 "-D__STDC_CONSTANT_MACROS",
4053 "-D__STDC_FORMAT_MACROS",
4054 ],
4055 local_include_dirs: [
4056 "./",
4057 "buildtools/third_party/libc++/",
4058 "buildtools/third_party/libc++/trunk/include",
4059 "buildtools/third_party/libc++/trunk/src/",
4060 "buildtools/third_party/libc++abi/trunk/include",
4061 "third_party/abseil-cpp/",
4062 "third_party/boringssl/src/include/",
4063 "third_party/protobuf/src/",
4064 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
4065 ],
4066 cpp_std: "c++20",
4067}
4068
4069// GN: //net/traffic_annotation:traffic_annotation
4070filegroup {
4071 name: "cronet_aml_net_traffic_annotation_traffic_annotation",
4072 srcs: [
4073 "net/traffic_annotation/network_traffic_annotation_android.cc",
4074 ],
4075}
4076
4077// GN: //net:uri_template
4078cc_library_static {
4079 name: "cronet_aml_net_uri_template",
4080 srcs: [
4081 "net/third_party/uri_template/uri_template.cc",
4082 ],
4083 shared_libs: [
4084 "libandroid",
4085 "liblog",
4086 ],
4087 static_libs: [
4088 "cronet_aml_base_base",
4089 ],
4090 defaults: [
4091 "cronet_aml_defaults",
4092 ],
4093 cflags: [
4094 "-DANDROID",
4095 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4096 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4097 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4098 "-DDCHECK_ALWAYS_ON=1",
4099 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4100 "-DHAVE_SYS_UIO_H",
4101 "-DIS_URI_TEMPLATE_IMPL",
4102 "-D_DEBUG",
4103 "-D_GNU_SOURCE",
4104 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4105 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4106 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4107 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4108 "-D__STDC_CONSTANT_MACROS",
4109 "-D__STDC_FORMAT_MACROS",
4110 ],
4111 local_include_dirs: [
4112 "./",
4113 "buildtools/third_party/libc++/",
4114 "buildtools/third_party/libc++/trunk/include",
4115 "buildtools/third_party/libc++abi/trunk/include",
4116 "third_party/abseil-cpp/",
4117 "third_party/boringssl/src/include/",
4118 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
4119 ],
4120 cpp_std: "c++20",
4121}
4122
Patrick Rohrcc377df2022-10-28 09:27:15 -07004123// GN: //third_party/abseil-cpp:absl
4124filegroup {
4125 name: "cronet_aml_third_party_abseil_cpp_absl",
4126}
4127
4128// GN: //third_party/abseil-cpp/absl/algorithm:algorithm
4129filegroup {
4130 name: "cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
4131}
4132
4133// GN: //third_party/abseil-cpp/absl/algorithm:container
4134filegroup {
4135 name: "cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
4136}
4137
4138// GN: //third_party/abseil-cpp/absl/base:atomic_hook
4139filegroup {
4140 name: "cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
4141}
4142
4143// GN: //third_party/abseil-cpp/absl/base:base
4144filegroup {
4145 name: "cronet_aml_third_party_abseil_cpp_absl_base_base",
4146 srcs: [
4147 "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
4148 "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
4149 "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
4150 "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
4151 "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
4152 ],
4153}
4154
4155// GN: //third_party/abseil-cpp/absl/base:base_internal
4156filegroup {
4157 name: "cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
4158}
4159
4160// GN: //third_party/abseil-cpp/absl/base:config
4161filegroup {
4162 name: "cronet_aml_third_party_abseil_cpp_absl_base_config",
4163}
4164
4165// GN: //third_party/abseil-cpp/absl/base:core_headers
4166filegroup {
4167 name: "cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
4168}
4169
4170// GN: //third_party/abseil-cpp/absl/base:cycleclock_internal
4171filegroup {
4172 name: "cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
4173}
4174
4175// GN: //third_party/abseil-cpp/absl/base:dynamic_annotations
4176filegroup {
4177 name: "cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
4178}
4179
4180// GN: //third_party/abseil-cpp/absl/base:endian
4181filegroup {
4182 name: "cronet_aml_third_party_abseil_cpp_absl_base_endian",
4183}
4184
4185// GN: //third_party/abseil-cpp/absl/base:errno_saver
4186filegroup {
4187 name: "cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
4188}
4189
4190// GN: //third_party/abseil-cpp/absl/base:fast_type_id
4191filegroup {
4192 name: "cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
4193}
4194
4195// GN: //third_party/abseil-cpp/absl/base:log_severity
4196filegroup {
4197 name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
4198 srcs: [
4199 "third_party/abseil-cpp/absl/base/log_severity.cc",
4200 ],
4201}
4202
4203// GN: //third_party/abseil-cpp/absl/base:malloc_internal
4204filegroup {
4205 name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
4206 srcs: [
4207 "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
4208 ],
4209}
4210
4211// GN: //third_party/abseil-cpp/absl/base:prefetch
4212filegroup {
4213 name: "cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
4214}
4215
4216// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal
4217filegroup {
4218 name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
4219 srcs: [
4220 "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
4221 ],
4222}
4223
4224// GN: //third_party/abseil-cpp/absl/base:spinlock_wait
4225filegroup {
4226 name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
4227 srcs: [
4228 "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
4229 ],
4230}
4231
4232// GN: //third_party/abseil-cpp/absl/base:strerror
4233filegroup {
4234 name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror",
4235 srcs: [
4236 "third_party/abseil-cpp/absl/base/internal/strerror.cc",
4237 ],
4238}
4239
4240// GN: //third_party/abseil-cpp/absl/base:throw_delegate
4241filegroup {
4242 name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
4243 srcs: [
4244 "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
4245 ],
4246}
4247
4248// GN: //third_party/abseil-cpp/absl/cleanup:cleanup
4249filegroup {
4250 name: "cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
4251}
4252
4253// GN: //third_party/abseil-cpp/absl/cleanup:cleanup_internal
4254filegroup {
4255 name: "cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
4256}
4257
4258// GN: //third_party/abseil-cpp/absl/container:btree
4259filegroup {
4260 name: "cronet_aml_third_party_abseil_cpp_absl_container_btree",
4261}
4262
4263// GN: //third_party/abseil-cpp/absl/container:common
4264filegroup {
4265 name: "cronet_aml_third_party_abseil_cpp_absl_container_common",
4266}
4267
4268// GN: //third_party/abseil-cpp/absl/container:common_policy_traits
4269filegroup {
4270 name: "cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
4271}
4272
4273// GN: //third_party/abseil-cpp/absl/container:compressed_tuple
4274filegroup {
4275 name: "cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
4276}
4277
4278// GN: //third_party/abseil-cpp/absl/container:container_memory
4279filegroup {
4280 name: "cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
4281}
4282
4283// GN: //third_party/abseil-cpp/absl/container:fixed_array
4284filegroup {
4285 name: "cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
4286}
4287
4288// GN: //third_party/abseil-cpp/absl/container:flat_hash_map
4289filegroup {
4290 name: "cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
4291}
4292
4293// GN: //third_party/abseil-cpp/absl/container:flat_hash_set
4294filegroup {
4295 name: "cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
4296}
4297
4298// GN: //third_party/abseil-cpp/absl/container:hash_function_defaults
4299filegroup {
4300 name: "cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
4301}
4302
4303// GN: //third_party/abseil-cpp/absl/container:hash_policy_traits
4304filegroup {
4305 name: "cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
4306}
4307
4308// GN: //third_party/abseil-cpp/absl/container:hashtable_debug_hooks
4309filegroup {
4310 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
4311}
4312
4313// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler
4314filegroup {
4315 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
4316 srcs: [
4317 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
4318 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
4319 ],
4320}
4321
4322// GN: //third_party/abseil-cpp/absl/container:inlined_vector
4323filegroup {
4324 name: "cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
4325}
4326
4327// GN: //third_party/abseil-cpp/absl/container:inlined_vector_internal
4328filegroup {
4329 name: "cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
4330}
4331
4332// GN: //third_party/abseil-cpp/absl/container:layout
4333filegroup {
4334 name: "cronet_aml_third_party_abseil_cpp_absl_container_layout",
4335}
4336
4337// GN: //third_party/abseil-cpp/absl/container:node_hash_map
4338filegroup {
4339 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
4340}
4341
4342// GN: //third_party/abseil-cpp/absl/container:node_hash_set
4343filegroup {
4344 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
4345}
4346
4347// GN: //third_party/abseil-cpp/absl/container:node_slot_policy
4348filegroup {
4349 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
4350}
4351
4352// GN: //third_party/abseil-cpp/absl/container:raw_hash_map
4353filegroup {
4354 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
4355}
4356
4357// GN: //third_party/abseil-cpp/absl/container:raw_hash_set
4358filegroup {
4359 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
4360 srcs: [
4361 "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
4362 ],
4363}
4364
4365// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal
4366filegroup {
4367 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
4368 srcs: [
4369 "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
4370 "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
4371 "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
4372 ],
4373}
4374
4375// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal
4376filegroup {
4377 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
4378 srcs: [
4379 "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
4380 ],
4381}
4382
4383// GN: //third_party/abseil-cpp/absl/debugging:examine_stack
4384filegroup {
4385 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
4386 srcs: [
4387 "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
4388 ],
4389}
4390
4391// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler
4392filegroup {
4393 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
4394 srcs: [
4395 "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
4396 ],
4397}
4398
4399// GN: //third_party/abseil-cpp/absl/debugging:stacktrace
4400filegroup {
4401 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
4402 srcs: [
4403 "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
4404 ],
4405}
4406
4407// GN: //third_party/abseil-cpp/absl/debugging:symbolize
4408filegroup {
4409 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
4410 srcs: [
4411 "third_party/abseil-cpp/absl/debugging/symbolize.cc",
4412 ],
4413}
4414
4415// GN: //third_party/abseil-cpp/absl/functional:any_invocable
4416filegroup {
4417 name: "cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
4418}
4419
4420// GN: //third_party/abseil-cpp/absl/functional:bind_front
4421filegroup {
4422 name: "cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
4423}
4424
4425// GN: //third_party/abseil-cpp/absl/functional:function_ref
4426filegroup {
4427 name: "cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
4428}
4429
4430// GN: //third_party/abseil-cpp/absl/hash:city
4431filegroup {
4432 name: "cronet_aml_third_party_abseil_cpp_absl_hash_city",
4433 srcs: [
4434 "third_party/abseil-cpp/absl/hash/internal/city.cc",
4435 ],
4436}
4437
4438// GN: //third_party/abseil-cpp/absl/hash:hash
4439filegroup {
4440 name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash",
4441 srcs: [
4442 "third_party/abseil-cpp/absl/hash/internal/hash.cc",
4443 ],
4444}
4445
4446// GN: //third_party/abseil-cpp/absl/hash:low_level_hash
4447filegroup {
4448 name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
4449 srcs: [
4450 "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
4451 ],
4452}
4453
4454// GN: //third_party/abseil-cpp/absl/memory:memory
4455filegroup {
4456 name: "cronet_aml_third_party_abseil_cpp_absl_memory_memory",
4457}
4458
4459// GN: //third_party/abseil-cpp/absl/meta:type_traits
4460filegroup {
4461 name: "cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
4462}
4463
4464// GN: //third_party/abseil-cpp/absl/numeric:bits
4465filegroup {
4466 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
4467}
4468
4469// GN: //third_party/abseil-cpp/absl/numeric:int128
4470filegroup {
4471 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
4472 srcs: [
4473 "third_party/abseil-cpp/absl/numeric/int128.cc",
4474 ],
4475}
4476
4477// GN: //third_party/abseil-cpp/absl/numeric:representation
4478filegroup {
4479 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
4480}
4481
4482// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased
4483filegroup {
4484 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
4485 srcs: [
4486 "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
4487 ],
4488}
4489
4490// GN: //third_party/abseil-cpp/absl/profiling:sample_recorder
4491filegroup {
4492 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
4493}
4494
4495// GN: //third_party/abseil-cpp/absl/random:distributions
4496filegroup {
4497 name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions",
4498 srcs: [
4499 "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
4500 "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
4501 ],
4502}
4503
4504// GN: //third_party/abseil-cpp/absl/random/internal:distribution_caller
4505filegroup {
4506 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
4507}
4508
4509// GN: //third_party/abseil-cpp/absl/random/internal:fast_uniform_bits
4510filegroup {
4511 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
4512}
4513
4514// GN: //third_party/abseil-cpp/absl/random/internal:fastmath
4515filegroup {
4516 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
4517}
4518
4519// GN: //third_party/abseil-cpp/absl/random/internal:generate_real
4520filegroup {
4521 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
4522}
4523
4524// GN: //third_party/abseil-cpp/absl/random/internal:iostream_state_saver
4525filegroup {
4526 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
4527}
4528
4529// GN: //third_party/abseil-cpp/absl/random/internal:nonsecure_base
4530filegroup {
4531 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
4532}
4533
4534// GN: //third_party/abseil-cpp/absl/random/internal:pcg_engine
4535filegroup {
4536 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
4537}
4538
4539// GN: //third_party/abseil-cpp/absl/random/internal:platform
4540filegroup {
4541 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
4542 srcs: [
4543 "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
4544 ],
4545}
4546
4547// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg
4548filegroup {
4549 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
4550 srcs: [
4551 "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
4552 ],
4553}
4554
4555// GN: //third_party/abseil-cpp/absl/random/internal:randen
4556filegroup {
4557 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
4558 srcs: [
4559 "third_party/abseil-cpp/absl/random/internal/randen.cc",
4560 ],
4561}
4562
4563// GN: //third_party/abseil-cpp/absl/random/internal:randen_engine
4564filegroup {
4565 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
4566}
4567
4568// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes
4569filegroup {
4570 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
4571 srcs: [
4572 "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
4573 ],
4574}
4575
4576// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl
4577filegroup {
4578 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
4579 srcs: [
4580 "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
4581 ],
4582}
4583
4584// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow
4585filegroup {
4586 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
4587 srcs: [
4588 "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
4589 ],
4590}
4591
4592// GN: //third_party/abseil-cpp/absl/random/internal:salted_seed_seq
4593filegroup {
4594 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
4595}
4596
4597// GN: //third_party/abseil-cpp/absl/random/internal:seed_material
4598filegroup {
4599 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
4600 srcs: [
4601 "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
4602 ],
4603}
4604
4605// GN: //third_party/abseil-cpp/absl/random/internal:traits
4606filegroup {
4607 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
4608}
4609
4610// GN: //third_party/abseil-cpp/absl/random/internal:uniform_helper
4611filegroup {
4612 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
4613}
4614
4615// GN: //third_party/abseil-cpp/absl/random/internal:wide_multiply
4616filegroup {
4617 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
4618}
4619
4620// GN: //third_party/abseil-cpp/absl/random:random
4621filegroup {
4622 name: "cronet_aml_third_party_abseil_cpp_absl_random_random",
4623}
4624
4625// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception
4626filegroup {
4627 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
4628 srcs: [
4629 "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
4630 ],
4631}
4632
4633// GN: //third_party/abseil-cpp/absl/random:seed_sequences
4634filegroup {
4635 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
4636 srcs: [
4637 "third_party/abseil-cpp/absl/random/seed_sequences.cc",
4638 ],
4639}
4640
4641// GN: //third_party/abseil-cpp/absl/status:status
4642filegroup {
4643 name: "cronet_aml_third_party_abseil_cpp_absl_status_status",
4644 srcs: [
4645 "third_party/abseil-cpp/absl/status/status.cc",
4646 "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
4647 ],
4648}
4649
4650// GN: //third_party/abseil-cpp/absl/status:statusor
4651filegroup {
4652 name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor",
4653 srcs: [
4654 "third_party/abseil-cpp/absl/status/statusor.cc",
4655 ],
4656}
4657
4658// GN: //third_party/abseil-cpp/absl/strings:cord
4659filegroup {
4660 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord",
4661 srcs: [
4662 "third_party/abseil-cpp/absl/strings/cord.cc",
4663 "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
4664 "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
4665 ],
4666}
4667
4668// GN: //third_party/abseil-cpp/absl/strings:cord_internal
4669filegroup {
4670 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
4671 srcs: [
4672 "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
4673 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
4674 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
4675 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
4676 "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
4677 "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
4678 "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
4679 ],
4680}
4681
4682// GN: //third_party/abseil-cpp/absl/strings:cordz_functions
4683filegroup {
4684 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
4685 srcs: [
4686 "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
4687 ],
4688}
4689
4690// GN: //third_party/abseil-cpp/absl/strings:cordz_handle
4691filegroup {
4692 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
4693 srcs: [
4694 "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
4695 ],
4696}
4697
4698// GN: //third_party/abseil-cpp/absl/strings:cordz_info
4699filegroup {
4700 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
4701 srcs: [
4702 "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
4703 ],
4704}
4705
4706// GN: //third_party/abseil-cpp/absl/strings:cordz_statistics
4707filegroup {
4708 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
4709}
4710
4711// GN: //third_party/abseil-cpp/absl/strings:cordz_update_scope
4712filegroup {
4713 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
4714}
4715
4716// GN: //third_party/abseil-cpp/absl/strings:cordz_update_tracker
4717filegroup {
4718 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
4719}
4720
4721// GN: //third_party/abseil-cpp/absl/strings:internal
4722filegroup {
4723 name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal",
4724 srcs: [
4725 "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
4726 "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
4727 "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
4728 ],
4729}
4730
4731// GN: //third_party/abseil-cpp/absl/strings:str_format
4732filegroup {
4733 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
4734}
4735
4736// GN: //third_party/abseil-cpp/absl/strings:str_format_internal
4737filegroup {
4738 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
4739 srcs: [
4740 "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
4741 "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
4742 "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
4743 "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
4744 "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
4745 "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
4746 ],
4747}
4748
4749// GN: //third_party/abseil-cpp/absl/strings:strings
4750filegroup {
4751 name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings",
4752 srcs: [
4753 "third_party/abseil-cpp/absl/strings/ascii.cc",
4754 "third_party/abseil-cpp/absl/strings/charconv.cc",
4755 "third_party/abseil-cpp/absl/strings/escaping.cc",
4756 "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
4757 "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
4758 "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
4759 "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
4760 "third_party/abseil-cpp/absl/strings/match.cc",
4761 "third_party/abseil-cpp/absl/strings/numbers.cc",
4762 "third_party/abseil-cpp/absl/strings/str_cat.cc",
4763 "third_party/abseil-cpp/absl/strings/str_replace.cc",
4764 "third_party/abseil-cpp/absl/strings/str_split.cc",
4765 "third_party/abseil-cpp/absl/strings/string_view.cc",
4766 "third_party/abseil-cpp/absl/strings/substitute.cc",
4767 ],
4768}
4769
4770// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal
4771filegroup {
4772 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
4773 srcs: [
4774 "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
4775 ],
4776}
4777
4778// GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal
4779filegroup {
4780 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
4781}
4782
4783// GN: //third_party/abseil-cpp/absl/synchronization:synchronization
4784filegroup {
4785 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
4786 srcs: [
4787 "third_party/abseil-cpp/absl/synchronization/barrier.cc",
4788 "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
4789 "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
4790 "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
4791 "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
4792 "third_party/abseil-cpp/absl/synchronization/mutex.cc",
4793 "third_party/abseil-cpp/absl/synchronization/notification.cc",
4794 ],
4795}
4796
4797// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time
4798filegroup {
4799 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
4800 srcs: [
4801 "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
4802 ],
4803}
4804
4805// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone
4806filegroup {
4807 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
4808 srcs: [
4809 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
4810 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
4811 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
4812 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
4813 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
4814 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
4815 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
4816 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
4817 "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
4818 ],
4819}
4820
4821// GN: //third_party/abseil-cpp/absl/time:time
4822filegroup {
4823 name: "cronet_aml_third_party_abseil_cpp_absl_time_time",
4824 srcs: [
4825 "third_party/abseil-cpp/absl/time/civil_time.cc",
4826 "third_party/abseil-cpp/absl/time/clock.cc",
4827 "third_party/abseil-cpp/absl/time/duration.cc",
4828 "third_party/abseil-cpp/absl/time/format.cc",
4829 "third_party/abseil-cpp/absl/time/time.cc",
4830 ],
4831}
4832
4833// GN: //third_party/abseil-cpp/absl/types:bad_optional_access
4834filegroup {
4835 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
4836 srcs: [
4837 "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
4838 ],
4839}
4840
4841// GN: //third_party/abseil-cpp/absl/types:bad_variant_access
4842filegroup {
4843 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
4844 srcs: [
4845 "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
4846 ],
4847}
4848
4849// GN: //third_party/abseil-cpp/absl/types:compare
4850filegroup {
4851 name: "cronet_aml_third_party_abseil_cpp_absl_types_compare",
4852}
4853
4854// GN: //third_party/abseil-cpp/absl/types:optional
4855filegroup {
4856 name: "cronet_aml_third_party_abseil_cpp_absl_types_optional",
4857}
4858
4859// GN: //third_party/abseil-cpp/absl/types:span
4860filegroup {
4861 name: "cronet_aml_third_party_abseil_cpp_absl_types_span",
4862}
4863
4864// GN: //third_party/abseil-cpp/absl/types:variant
4865filegroup {
4866 name: "cronet_aml_third_party_abseil_cpp_absl_types_variant",
4867}
4868
4869// GN: //third_party/abseil-cpp/absl/utility:utility
4870filegroup {
4871 name: "cronet_aml_third_party_abseil_cpp_absl_utility_utility",
4872}
4873
Motomu Utsumifcac4852022-10-26 19:28:31 +09004874// GN: //third_party/android_ndk:cpu_features
4875filegroup {
4876 name: "cronet_aml_third_party_android_ndk_cpu_features",
4877 srcs: [
4878 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
4879 ],
4880}
4881
Patrick Rohrcc377df2022-10-28 09:27:15 -07004882// GN: //third_party/ashmem:ashmem
4883filegroup {
4884 name: "cronet_aml_third_party_ashmem_ashmem",
4885 srcs: [
4886 "third_party/ashmem/ashmem-dev.c",
4887 ],
4888}
4889
4890// GN: //third_party/boringssl:boringssl
4891cc_library_static {
4892 name: "cronet_aml_third_party_boringssl_boringssl",
4893 srcs: [
4894 ":cronet_aml_third_party_boringssl_boringssl_asm",
4895 ":cronet_aml_third_party_boringssl_src_third_party_fiat_fiat_license",
4896 "third_party/boringssl/err_data.c",
4897 "third_party/boringssl/src/crypto/asn1/a_bitstr.c",
4898 "third_party/boringssl/src/crypto/asn1/a_bool.c",
4899 "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c",
4900 "third_party/boringssl/src/crypto/asn1/a_dup.c",
4901 "third_party/boringssl/src/crypto/asn1/a_gentm.c",
4902 "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c",
4903 "third_party/boringssl/src/crypto/asn1/a_int.c",
4904 "third_party/boringssl/src/crypto/asn1/a_mbstr.c",
4905 "third_party/boringssl/src/crypto/asn1/a_object.c",
4906 "third_party/boringssl/src/crypto/asn1/a_octet.c",
4907 "third_party/boringssl/src/crypto/asn1/a_print.c",
4908 "third_party/boringssl/src/crypto/asn1/a_strex.c",
4909 "third_party/boringssl/src/crypto/asn1/a_strnid.c",
4910 "third_party/boringssl/src/crypto/asn1/a_time.c",
4911 "third_party/boringssl/src/crypto/asn1/a_type.c",
4912 "third_party/boringssl/src/crypto/asn1/a_utctm.c",
4913 "third_party/boringssl/src/crypto/asn1/a_utf8.c",
4914 "third_party/boringssl/src/crypto/asn1/asn1_lib.c",
4915 "third_party/boringssl/src/crypto/asn1/asn1_par.c",
4916 "third_party/boringssl/src/crypto/asn1/asn_pack.c",
4917 "third_party/boringssl/src/crypto/asn1/f_int.c",
4918 "third_party/boringssl/src/crypto/asn1/f_string.c",
4919 "third_party/boringssl/src/crypto/asn1/posix_time.c",
4920 "third_party/boringssl/src/crypto/asn1/tasn_dec.c",
4921 "third_party/boringssl/src/crypto/asn1/tasn_enc.c",
4922 "third_party/boringssl/src/crypto/asn1/tasn_fre.c",
4923 "third_party/boringssl/src/crypto/asn1/tasn_new.c",
4924 "third_party/boringssl/src/crypto/asn1/tasn_typ.c",
4925 "third_party/boringssl/src/crypto/asn1/tasn_utl.c",
4926 "third_party/boringssl/src/crypto/base64/base64.c",
4927 "third_party/boringssl/src/crypto/bio/bio.c",
4928 "third_party/boringssl/src/crypto/bio/bio_mem.c",
4929 "third_party/boringssl/src/crypto/bio/connect.c",
4930 "third_party/boringssl/src/crypto/bio/fd.c",
4931 "third_party/boringssl/src/crypto/bio/file.c",
4932 "third_party/boringssl/src/crypto/bio/hexdump.c",
4933 "third_party/boringssl/src/crypto/bio/pair.c",
4934 "third_party/boringssl/src/crypto/bio/printf.c",
4935 "third_party/boringssl/src/crypto/bio/socket.c",
4936 "third_party/boringssl/src/crypto/bio/socket_helper.c",
4937 "third_party/boringssl/src/crypto/blake2/blake2.c",
4938 "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c",
4939 "third_party/boringssl/src/crypto/bn_extra/convert.c",
4940 "third_party/boringssl/src/crypto/buf/buf.c",
4941 "third_party/boringssl/src/crypto/bytestring/asn1_compat.c",
4942 "third_party/boringssl/src/crypto/bytestring/ber.c",
4943 "third_party/boringssl/src/crypto/bytestring/cbb.c",
4944 "third_party/boringssl/src/crypto/bytestring/cbs.c",
4945 "third_party/boringssl/src/crypto/bytestring/unicode.c",
4946 "third_party/boringssl/src/crypto/chacha/chacha.c",
4947 "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c",
4948 "third_party/boringssl/src/crypto/cipher_extra/derive_key.c",
4949 "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c",
4950 "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c",
4951 "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c",
4952 "third_party/boringssl/src/crypto/cipher_extra/e_des.c",
4953 "third_party/boringssl/src/crypto/cipher_extra/e_null.c",
4954 "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c",
4955 "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c",
4956 "third_party/boringssl/src/crypto/cipher_extra/e_tls.c",
4957 "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c",
4958 "third_party/boringssl/src/crypto/conf/conf.c",
4959 "third_party/boringssl/src/crypto/cpu_aarch64_apple.c",
4960 "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c",
4961 "third_party/boringssl/src/crypto/cpu_aarch64_linux.c",
4962 "third_party/boringssl/src/crypto/cpu_aarch64_win.c",
4963 "third_party/boringssl/src/crypto/cpu_arm.c",
4964 "third_party/boringssl/src/crypto/cpu_arm_linux.c",
4965 "third_party/boringssl/src/crypto/cpu_intel.c",
4966 "third_party/boringssl/src/crypto/cpu_ppc64le.c",
4967 "third_party/boringssl/src/crypto/crypto.c",
4968 "third_party/boringssl/src/crypto/curve25519/curve25519.c",
4969 "third_party/boringssl/src/crypto/curve25519/spake25519.c",
4970 "third_party/boringssl/src/crypto/des/des.c",
4971 "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c",
4972 "third_party/boringssl/src/crypto/dh_extra/params.c",
4973 "third_party/boringssl/src/crypto/digest_extra/digest_extra.c",
4974 "third_party/boringssl/src/crypto/dsa/dsa.c",
4975 "third_party/boringssl/src/crypto/dsa/dsa_asn1.c",
4976 "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c",
4977 "third_party/boringssl/src/crypto/ec_extra/ec_derive.c",
4978 "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c",
4979 "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c",
4980 "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c",
4981 "third_party/boringssl/src/crypto/engine/engine.c",
4982 "third_party/boringssl/src/crypto/err/err.c",
4983 "third_party/boringssl/src/crypto/evp/evp.c",
4984 "third_party/boringssl/src/crypto/evp/evp_asn1.c",
4985 "third_party/boringssl/src/crypto/evp/evp_ctx.c",
4986 "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c",
4987 "third_party/boringssl/src/crypto/evp/p_ec.c",
4988 "third_party/boringssl/src/crypto/evp/p_ec_asn1.c",
4989 "third_party/boringssl/src/crypto/evp/p_ed25519.c",
4990 "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c",
4991 "third_party/boringssl/src/crypto/evp/p_hkdf.c",
4992 "third_party/boringssl/src/crypto/evp/p_rsa.c",
4993 "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c",
4994 "third_party/boringssl/src/crypto/evp/p_x25519.c",
4995 "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c",
4996 "third_party/boringssl/src/crypto/evp/pbkdf.c",
4997 "third_party/boringssl/src/crypto/evp/print.c",
4998 "third_party/boringssl/src/crypto/evp/scrypt.c",
4999 "third_party/boringssl/src/crypto/evp/sign.c",
5000 "third_party/boringssl/src/crypto/ex_data.c",
5001 "third_party/boringssl/src/crypto/fipsmodule/bcm.c",
5002 "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c",
5003 "third_party/boringssl/src/crypto/hkdf/hkdf.c",
5004 "third_party/boringssl/src/crypto/hpke/hpke.c",
5005 "third_party/boringssl/src/crypto/hrss/hrss.c",
5006 "third_party/boringssl/src/crypto/lhash/lhash.c",
5007 "third_party/boringssl/src/crypto/mem.c",
5008 "third_party/boringssl/src/crypto/obj/obj.c",
5009 "third_party/boringssl/src/crypto/obj/obj_xref.c",
5010 "third_party/boringssl/src/crypto/pem/pem_all.c",
5011 "third_party/boringssl/src/crypto/pem/pem_info.c",
5012 "third_party/boringssl/src/crypto/pem/pem_lib.c",
5013 "third_party/boringssl/src/crypto/pem/pem_oth.c",
5014 "third_party/boringssl/src/crypto/pem/pem_pk8.c",
5015 "third_party/boringssl/src/crypto/pem/pem_pkey.c",
5016 "third_party/boringssl/src/crypto/pem/pem_x509.c",
5017 "third_party/boringssl/src/crypto/pem/pem_xaux.c",
5018 "third_party/boringssl/src/crypto/pkcs7/pkcs7.c",
5019 "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c",
5020 "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c",
5021 "third_party/boringssl/src/crypto/pkcs8/pkcs8.c",
5022 "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c",
5023 "third_party/boringssl/src/crypto/poly1305/poly1305.c",
5024 "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c",
5025 "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c",
5026 "third_party/boringssl/src/crypto/pool/pool.c",
5027 "third_party/boringssl/src/crypto/rand_extra/deterministic.c",
5028 "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c",
5029 "third_party/boringssl/src/crypto/rand_extra/fuchsia.c",
5030 "third_party/boringssl/src/crypto/rand_extra/passive.c",
5031 "third_party/boringssl/src/crypto/rand_extra/rand_extra.c",
5032 "third_party/boringssl/src/crypto/rand_extra/windows.c",
5033 "third_party/boringssl/src/crypto/rc4/rc4.c",
5034 "third_party/boringssl/src/crypto/refcount_c11.c",
5035 "third_party/boringssl/src/crypto/refcount_lock.c",
5036 "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c",
5037 "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c",
5038 "third_party/boringssl/src/crypto/siphash/siphash.c",
5039 "third_party/boringssl/src/crypto/stack/stack.c",
5040 "third_party/boringssl/src/crypto/thread.c",
5041 "third_party/boringssl/src/crypto/thread_none.c",
5042 "third_party/boringssl/src/crypto/thread_pthread.c",
5043 "third_party/boringssl/src/crypto/thread_win.c",
5044 "third_party/boringssl/src/crypto/trust_token/pmbtoken.c",
5045 "third_party/boringssl/src/crypto/trust_token/trust_token.c",
5046 "third_party/boringssl/src/crypto/trust_token/voprf.c",
5047 "third_party/boringssl/src/crypto/x509/a_digest.c",
5048 "third_party/boringssl/src/crypto/x509/a_sign.c",
5049 "third_party/boringssl/src/crypto/x509/a_verify.c",
5050 "third_party/boringssl/src/crypto/x509/algorithm.c",
5051 "third_party/boringssl/src/crypto/x509/asn1_gen.c",
5052 "third_party/boringssl/src/crypto/x509/by_dir.c",
5053 "third_party/boringssl/src/crypto/x509/by_file.c",
5054 "third_party/boringssl/src/crypto/x509/i2d_pr.c",
5055 "third_party/boringssl/src/crypto/x509/name_print.c",
5056 "third_party/boringssl/src/crypto/x509/rsa_pss.c",
5057 "third_party/boringssl/src/crypto/x509/t_crl.c",
5058 "third_party/boringssl/src/crypto/x509/t_req.c",
5059 "third_party/boringssl/src/crypto/x509/t_x509.c",
5060 "third_party/boringssl/src/crypto/x509/t_x509a.c",
5061 "third_party/boringssl/src/crypto/x509/x509.c",
5062 "third_party/boringssl/src/crypto/x509/x509_att.c",
5063 "third_party/boringssl/src/crypto/x509/x509_cmp.c",
5064 "third_party/boringssl/src/crypto/x509/x509_d2.c",
5065 "third_party/boringssl/src/crypto/x509/x509_def.c",
5066 "third_party/boringssl/src/crypto/x509/x509_ext.c",
5067 "third_party/boringssl/src/crypto/x509/x509_lu.c",
5068 "third_party/boringssl/src/crypto/x509/x509_obj.c",
5069 "third_party/boringssl/src/crypto/x509/x509_req.c",
5070 "third_party/boringssl/src/crypto/x509/x509_set.c",
5071 "third_party/boringssl/src/crypto/x509/x509_trs.c",
5072 "third_party/boringssl/src/crypto/x509/x509_txt.c",
5073 "third_party/boringssl/src/crypto/x509/x509_v3.c",
5074 "third_party/boringssl/src/crypto/x509/x509_vfy.c",
5075 "third_party/boringssl/src/crypto/x509/x509_vpm.c",
5076 "third_party/boringssl/src/crypto/x509/x509cset.c",
5077 "third_party/boringssl/src/crypto/x509/x509name.c",
5078 "third_party/boringssl/src/crypto/x509/x509rset.c",
5079 "third_party/boringssl/src/crypto/x509/x509spki.c",
5080 "third_party/boringssl/src/crypto/x509/x_algor.c",
5081 "third_party/boringssl/src/crypto/x509/x_all.c",
5082 "third_party/boringssl/src/crypto/x509/x_attrib.c",
5083 "third_party/boringssl/src/crypto/x509/x_crl.c",
5084 "third_party/boringssl/src/crypto/x509/x_exten.c",
5085 "third_party/boringssl/src/crypto/x509/x_info.c",
5086 "third_party/boringssl/src/crypto/x509/x_name.c",
5087 "third_party/boringssl/src/crypto/x509/x_pkey.c",
5088 "third_party/boringssl/src/crypto/x509/x_pubkey.c",
5089 "third_party/boringssl/src/crypto/x509/x_req.c",
5090 "third_party/boringssl/src/crypto/x509/x_sig.c",
5091 "third_party/boringssl/src/crypto/x509/x_spki.c",
5092 "third_party/boringssl/src/crypto/x509/x_val.c",
5093 "third_party/boringssl/src/crypto/x509/x_x509.c",
5094 "third_party/boringssl/src/crypto/x509/x_x509a.c",
5095 "third_party/boringssl/src/crypto/x509v3/pcy_cache.c",
5096 "third_party/boringssl/src/crypto/x509v3/pcy_data.c",
5097 "third_party/boringssl/src/crypto/x509v3/pcy_map.c",
5098 "third_party/boringssl/src/crypto/x509v3/pcy_node.c",
5099 "third_party/boringssl/src/crypto/x509v3/pcy_tree.c",
5100 "third_party/boringssl/src/crypto/x509v3/v3_akey.c",
5101 "third_party/boringssl/src/crypto/x509v3/v3_akeya.c",
5102 "third_party/boringssl/src/crypto/x509v3/v3_alt.c",
5103 "third_party/boringssl/src/crypto/x509v3/v3_bcons.c",
5104 "third_party/boringssl/src/crypto/x509v3/v3_bitst.c",
5105 "third_party/boringssl/src/crypto/x509v3/v3_conf.c",
5106 "third_party/boringssl/src/crypto/x509v3/v3_cpols.c",
5107 "third_party/boringssl/src/crypto/x509v3/v3_crld.c",
5108 "third_party/boringssl/src/crypto/x509v3/v3_enum.c",
5109 "third_party/boringssl/src/crypto/x509v3/v3_extku.c",
5110 "third_party/boringssl/src/crypto/x509v3/v3_genn.c",
5111 "third_party/boringssl/src/crypto/x509v3/v3_ia5.c",
5112 "third_party/boringssl/src/crypto/x509v3/v3_info.c",
5113 "third_party/boringssl/src/crypto/x509v3/v3_int.c",
5114 "third_party/boringssl/src/crypto/x509v3/v3_lib.c",
5115 "third_party/boringssl/src/crypto/x509v3/v3_ncons.c",
5116 "third_party/boringssl/src/crypto/x509v3/v3_ocsp.c",
5117 "third_party/boringssl/src/crypto/x509v3/v3_pci.c",
5118 "third_party/boringssl/src/crypto/x509v3/v3_pcia.c",
5119 "third_party/boringssl/src/crypto/x509v3/v3_pcons.c",
5120 "third_party/boringssl/src/crypto/x509v3/v3_pmaps.c",
5121 "third_party/boringssl/src/crypto/x509v3/v3_prn.c",
5122 "third_party/boringssl/src/crypto/x509v3/v3_purp.c",
5123 "third_party/boringssl/src/crypto/x509v3/v3_skey.c",
5124 "third_party/boringssl/src/crypto/x509v3/v3_utl.c",
5125 "third_party/boringssl/src/ssl/bio_ssl.cc",
5126 "third_party/boringssl/src/ssl/d1_both.cc",
5127 "third_party/boringssl/src/ssl/d1_lib.cc",
5128 "third_party/boringssl/src/ssl/d1_pkt.cc",
5129 "third_party/boringssl/src/ssl/d1_srtp.cc",
5130 "third_party/boringssl/src/ssl/dtls_method.cc",
5131 "third_party/boringssl/src/ssl/dtls_record.cc",
5132 "third_party/boringssl/src/ssl/encrypted_client_hello.cc",
5133 "third_party/boringssl/src/ssl/extensions.cc",
5134 "third_party/boringssl/src/ssl/handoff.cc",
5135 "third_party/boringssl/src/ssl/handshake.cc",
5136 "third_party/boringssl/src/ssl/handshake_client.cc",
5137 "third_party/boringssl/src/ssl/handshake_server.cc",
5138 "third_party/boringssl/src/ssl/s3_both.cc",
5139 "third_party/boringssl/src/ssl/s3_lib.cc",
5140 "third_party/boringssl/src/ssl/s3_pkt.cc",
5141 "third_party/boringssl/src/ssl/ssl_aead_ctx.cc",
5142 "third_party/boringssl/src/ssl/ssl_asn1.cc",
5143 "third_party/boringssl/src/ssl/ssl_buffer.cc",
5144 "third_party/boringssl/src/ssl/ssl_cert.cc",
5145 "third_party/boringssl/src/ssl/ssl_cipher.cc",
5146 "third_party/boringssl/src/ssl/ssl_file.cc",
5147 "third_party/boringssl/src/ssl/ssl_key_share.cc",
5148 "third_party/boringssl/src/ssl/ssl_lib.cc",
5149 "third_party/boringssl/src/ssl/ssl_privkey.cc",
5150 "third_party/boringssl/src/ssl/ssl_session.cc",
5151 "third_party/boringssl/src/ssl/ssl_stat.cc",
5152 "third_party/boringssl/src/ssl/ssl_transcript.cc",
5153 "third_party/boringssl/src/ssl/ssl_versions.cc",
5154 "third_party/boringssl/src/ssl/ssl_x509.cc",
5155 "third_party/boringssl/src/ssl/t1_enc.cc",
5156 "third_party/boringssl/src/ssl/tls13_both.cc",
5157 "third_party/boringssl/src/ssl/tls13_client.cc",
5158 "third_party/boringssl/src/ssl/tls13_enc.cc",
5159 "third_party/boringssl/src/ssl/tls13_server.cc",
5160 "third_party/boringssl/src/ssl/tls_method.cc",
5161 "third_party/boringssl/src/ssl/tls_record.cc",
5162 ],
5163 defaults: [
5164 "cronet_aml_defaults",
5165 ],
5166 cflags: [
5167 "-DANDROID",
5168 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5169 "-DBORINGSSL_ALLOW_CXX_RUNTIME",
5170 "-DBORINGSSL_IMPLEMENTATION",
5171 "-DBORINGSSL_NO_STATIC_INITIALIZER",
5172 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5173 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5174 "-DDCHECK_ALWAYS_ON=1",
5175 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5176 "-DHAVE_SYS_UIO_H",
5177 "-DOPENSSL_SMALL",
5178 "-D_DEBUG",
5179 "-D_GNU_SOURCE",
5180 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5181 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5182 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5183 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5184 "-D__STDC_CONSTANT_MACROS",
5185 "-D__STDC_FORMAT_MACROS",
5186 ],
5187 local_include_dirs: [
5188 "./",
5189 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005190 "buildtools/third_party/libc++/trunk/include",
5191 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005192 "third_party/boringssl/src/include/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09005193 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005194 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005195 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005196}
5197
5198// GN: //third_party/boringssl:boringssl_asm
5199filegroup {
5200 name: "cronet_aml_third_party_boringssl_boringssl_asm",
5201}
5202
5203// GN: //third_party/boringssl/src/third_party/fiat:fiat_license
5204filegroup {
5205 name: "cronet_aml_third_party_boringssl_src_third_party_fiat_fiat_license",
5206}
5207
Patrick Rohrcb035942022-11-01 12:12:52 -07005208// GN: //third_party/brotli:common
5209cc_library_static {
5210 name: "cronet_aml_third_party_brotli_common",
5211 srcs: [
5212 ":cronet_aml_third_party_brotli_headers",
5213 "third_party/brotli/common/constants.c",
5214 "third_party/brotli/common/context.c",
5215 "third_party/brotli/common/dictionary.c",
5216 "third_party/brotli/common/platform.c",
5217 "third_party/brotli/common/shared_dictionary.c",
5218 "third_party/brotli/common/transform.c",
5219 ],
5220 defaults: [
5221 "cronet_aml_defaults",
5222 ],
5223 cflags: [
5224 "-DANDROID",
5225 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5226 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5227 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5228 "-DDCHECK_ALWAYS_ON=1",
5229 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5230 "-DHAVE_SYS_UIO_H",
5231 "-D_DEBUG",
5232 "-D_GNU_SOURCE",
5233 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5234 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5235 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5236 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5237 "-D__STDC_CONSTANT_MACROS",
5238 "-D__STDC_FORMAT_MACROS",
5239 ],
5240 local_include_dirs: [
5241 "./",
5242 "buildtools/third_party/libc++/",
5243 "buildtools/third_party/libc++/trunk/include",
5244 "buildtools/third_party/libc++abi/trunk/include",
5245 "third_party/brotli/include/",
5246 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
5247 ],
5248 cpp_std: "c++20",
5249}
5250
5251// GN: //third_party/brotli:dec
5252cc_library_static {
5253 name: "cronet_aml_third_party_brotli_dec",
5254 srcs: [
5255 ":cronet_aml_third_party_brotli_headers",
5256 "third_party/brotli/dec/bit_reader.c",
5257 "third_party/brotli/dec/decode.c",
5258 "third_party/brotli/dec/huffman.c",
5259 "third_party/brotli/dec/state.c",
5260 ],
5261 static_libs: [
5262 "cronet_aml_third_party_brotli_common",
5263 ],
5264 defaults: [
5265 "cronet_aml_defaults",
5266 ],
5267 cflags: [
5268 "-DANDROID",
5269 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5270 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5271 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5272 "-DDCHECK_ALWAYS_ON=1",
5273 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5274 "-DHAVE_SYS_UIO_H",
5275 "-D_DEBUG",
5276 "-D_GNU_SOURCE",
5277 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5278 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5279 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5280 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5281 "-D__STDC_CONSTANT_MACROS",
5282 "-D__STDC_FORMAT_MACROS",
5283 ],
5284 local_include_dirs: [
5285 "./",
5286 "buildtools/third_party/libc++/",
5287 "buildtools/third_party/libc++/trunk/include",
5288 "buildtools/third_party/libc++abi/trunk/include",
5289 "third_party/brotli/include/",
5290 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
5291 ],
5292 cpp_std: "c++20",
5293}
5294
5295// GN: //third_party/brotli:headers
5296filegroup {
5297 name: "cronet_aml_third_party_brotli_headers",
5298}
5299
Patrick Rohrcc377df2022-10-28 09:27:15 -07005300// GN: //third_party/icu:icui18n
5301cc_library_static {
5302 name: "cronet_aml_third_party_icu_icui18n",
5303 static_libs: [
5304 "cronet_aml_third_party_icu_icuuc_private",
5305 ],
5306 defaults: [
5307 "cronet_aml_defaults",
5308 ],
5309 cflags: [
5310 "-DANDROID",
5311 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5312 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5313 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5314 "-DDCHECK_ALWAYS_ON=1",
5315 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5316 "-DHAVE_DLOPEN=0",
5317 "-DHAVE_SYS_UIO_H",
5318 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
5319 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
5320 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
5321 "-DUSE_CHROMIUM_ICU=1",
5322 "-DU_CHARSET_IS_UTF8=1",
5323 "-DU_ENABLE_DYLOAD=0",
5324 "-DU_ENABLE_RESOURCE_TRACING=0",
5325 "-DU_ENABLE_TRACING=1",
5326 "-DU_I18N_IMPLEMENTATION",
5327 "-DU_STATIC_IMPLEMENTATION",
5328 "-DU_USING_ICU_NAMESPACE=0",
5329 "-D_DEBUG",
5330 "-D_GNU_SOURCE",
5331 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5332 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5333 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5334 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5335 ],
5336 local_include_dirs: [
5337 "./",
5338 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005339 "buildtools/third_party/libc++/trunk/include",
5340 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005341 "third_party/icu/source/common/",
5342 "third_party/icu/source/i18n/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09005343 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005344 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005345 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005346}
5347
5348// GN: //third_party/icu:icuuc_private
5349cc_library_static {
5350 name: "cronet_aml_third_party_icu_icuuc_private",
5351 srcs: [
5352 ":cronet_aml_third_party_icu_icuuc_public",
5353 ],
5354 defaults: [
5355 "cronet_aml_defaults",
5356 ],
5357 cflags: [
5358 "-DANDROID",
5359 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5360 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5361 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5362 "-DDCHECK_ALWAYS_ON=1",
5363 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5364 "-DHAVE_DLOPEN=0",
5365 "-DHAVE_SYS_UIO_H",
5366 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
5367 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
5368 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
5369 "-DUSE_CHROMIUM_ICU=1",
5370 "-DU_CHARSET_IS_UTF8=1",
5371 "-DU_COMMON_IMPLEMENTATION",
5372 "-DU_ENABLE_DYLOAD=0",
5373 "-DU_ENABLE_RESOURCE_TRACING=0",
5374 "-DU_ENABLE_TRACING=1",
5375 "-DU_ICUDATAENTRY_IN_COMMON",
5376 "-DU_STATIC_IMPLEMENTATION",
5377 "-DU_USING_ICU_NAMESPACE=0",
5378 "-D_DEBUG",
5379 "-D_GNU_SOURCE",
5380 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5381 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5382 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5383 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5384 "-D__STDC_CONSTANT_MACROS",
5385 "-D__STDC_FORMAT_MACROS",
5386 ],
5387 local_include_dirs: [
5388 "./",
5389 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005390 "buildtools/third_party/libc++/trunk/include",
5391 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005392 "third_party/icu/source/common/",
5393 "third_party/icu/source/i18n/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09005394 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005395 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005396 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005397}
5398
5399// GN: //third_party/icu:icuuc_public
5400filegroup {
5401 name: "cronet_aml_third_party_icu_icuuc_public",
5402}
5403
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005404// GN: //third_party/libevent:libevent
5405cc_library_static {
5406 name: "cronet_aml_third_party_libevent_libevent",
5407 srcs: [
5408 "third_party/libevent/buffer.c",
5409 "third_party/libevent/epoll.c",
5410 "third_party/libevent/evbuffer.c",
5411 "third_party/libevent/evdns.c",
5412 "third_party/libevent/event.c",
5413 "third_party/libevent/event_tagging.c",
5414 "third_party/libevent/evrpc.c",
5415 "third_party/libevent/evutil.c",
5416 "third_party/libevent/http.c",
5417 "third_party/libevent/log.c",
5418 "third_party/libevent/poll.c",
5419 "third_party/libevent/select.c",
5420 "third_party/libevent/signal.c",
5421 "third_party/libevent/strlcpy.c",
5422 ],
5423 defaults: [
5424 "cronet_aml_defaults",
5425 ],
5426 cflags: [
5427 "-DANDROID",
5428 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005429 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5430 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005431 "-DDCHECK_ALWAYS_ON=1",
5432 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5433 "-DHAVE_CONFIG_H",
5434 "-DHAVE_SYS_UIO_H",
5435 "-D_DEBUG",
5436 "-D_GNU_SOURCE",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005437 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005438 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005439 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005440 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5441 ],
5442 local_include_dirs: [
5443 "./",
5444 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005445 "buildtools/third_party/libc++/trunk/include",
5446 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005447 "third_party/libevent/android/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09005448 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005449 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005450 cpp_std: "c++20",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005451}
5452
Patrick Rohrcc377df2022-10-28 09:27:15 -07005453// GN: //third_party/modp_b64:modp_b64
Motomu Utsumifcac4852022-10-26 19:28:31 +09005454cc_library_static {
Patrick Rohrcc377df2022-10-28 09:27:15 -07005455 name: "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005456 srcs: [
Patrick Rohrcc377df2022-10-28 09:27:15 -07005457 "third_party/modp_b64/modp_b64.cc",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005458 ],
5459 defaults: [
5460 "cronet_aml_defaults",
5461 ],
5462 cflags: [
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005463 "-DANDROID",
5464 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005465 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5466 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005467 "-DDCHECK_ALWAYS_ON=1",
5468 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5469 "-DHAVE_SYS_UIO_H",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005470 "-D_DEBUG",
5471 "-D_GNU_SOURCE",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005472 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005473 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005474 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005475 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005476 "-D__STDC_CONSTANT_MACROS",
5477 "-D__STDC_FORMAT_MACROS",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005478 ],
5479 local_include_dirs: [
5480 "./",
5481 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005482 "buildtools/third_party/libc++/trunk/include",
5483 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09005484 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005485 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005486 cpp_std: "c++20",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005487}
5488
Patrick Rohrcb035942022-11-01 12:12:52 -07005489// GN: //third_party/protobuf:protobuf_full
5490cc_library_static {
5491 name: "cronet_aml_third_party_protobuf_protobuf_full",
5492 srcs: [
5493 "third_party/protobuf/src/google/protobuf/any.cc",
5494 "third_party/protobuf/src/google/protobuf/any.pb.cc",
5495 "third_party/protobuf/src/google/protobuf/any_lite.cc",
5496 "third_party/protobuf/src/google/protobuf/api.pb.cc",
5497 "third_party/protobuf/src/google/protobuf/arena.cc",
5498 "third_party/protobuf/src/google/protobuf/arenastring.cc",
5499 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
5500 "third_party/protobuf/src/google/protobuf/compiler/importer.cc",
5501 "third_party/protobuf/src/google/protobuf/compiler/parser.cc",
5502 "third_party/protobuf/src/google/protobuf/descriptor.cc",
5503 "third_party/protobuf/src/google/protobuf/descriptor.pb.cc",
5504 "third_party/protobuf/src/google/protobuf/descriptor_database.cc",
5505 "third_party/protobuf/src/google/protobuf/duration.pb.cc",
5506 "third_party/protobuf/src/google/protobuf/dynamic_message.cc",
5507 "third_party/protobuf/src/google/protobuf/empty.pb.cc",
5508 "third_party/protobuf/src/google/protobuf/extension_set.cc",
5509 "third_party/protobuf/src/google/protobuf/extension_set_heavy.cc",
5510 "third_party/protobuf/src/google/protobuf/field_mask.pb.cc",
5511 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
5512 "third_party/protobuf/src/google/protobuf/generated_message_bases.cc",
5513 "third_party/protobuf/src/google/protobuf/generated_message_reflection.cc",
5514 "third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc",
5515 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
5516 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
5517 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
5518 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
5519 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
5520 "third_party/protobuf/src/google/protobuf/io/gzip_stream.cc",
5521 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
5522 "third_party/protobuf/src/google/protobuf/io/printer.cc",
5523 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
5524 "third_party/protobuf/src/google/protobuf/io/tokenizer.cc",
5525 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
5526 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
5527 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
5528 "third_party/protobuf/src/google/protobuf/map.cc",
5529 "third_party/protobuf/src/google/protobuf/map_field.cc",
5530 "third_party/protobuf/src/google/protobuf/message.cc",
5531 "third_party/protobuf/src/google/protobuf/message_lite.cc",
5532 "third_party/protobuf/src/google/protobuf/parse_context.cc",
5533 "third_party/protobuf/src/google/protobuf/reflection_ops.cc",
5534 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
5535 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
5536 "third_party/protobuf/src/google/protobuf/service.cc",
5537 "third_party/protobuf/src/google/protobuf/source_context.pb.cc",
5538 "third_party/protobuf/src/google/protobuf/struct.pb.cc",
5539 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
5540 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
5541 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
5542 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
5543 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
5544 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
5545 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
5546 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
5547 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
5548 "third_party/protobuf/src/google/protobuf/stubs/substitute.cc",
5549 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
5550 "third_party/protobuf/src/google/protobuf/text_format.cc",
5551 "third_party/protobuf/src/google/protobuf/timestamp.pb.cc",
5552 "third_party/protobuf/src/google/protobuf/type.pb.cc",
5553 "third_party/protobuf/src/google/protobuf/unknown_field_set.cc",
5554 "third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc",
5555 "third_party/protobuf/src/google/protobuf/util/field_comparator.cc",
5556 "third_party/protobuf/src/google/protobuf/util/field_mask_util.cc",
5557 "third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc",
5558 "third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc",
5559 "third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc",
5560 "third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc",
5561 "third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc",
5562 "third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc",
5563 "third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc",
5564 "third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc",
5565 "third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc",
5566 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc",
5567 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc",
5568 "third_party/protobuf/src/google/protobuf/util/internal/type_info.cc",
5569 "third_party/protobuf/src/google/protobuf/util/internal/utility.cc",
5570 "third_party/protobuf/src/google/protobuf/util/json_util.cc",
5571 "third_party/protobuf/src/google/protobuf/util/message_differencer.cc",
5572 "third_party/protobuf/src/google/protobuf/util/time_util.cc",
5573 "third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc",
5574 "third_party/protobuf/src/google/protobuf/wire_format.cc",
5575 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
5576 "third_party/protobuf/src/google/protobuf/wrappers.pb.cc",
5577 ],
5578 static_libs: [
5579 "cronet_aml_third_party_zlib_zlib",
5580 ],
5581 defaults: [
5582 "cronet_aml_defaults",
5583 ],
5584 cflags: [
5585 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5586 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5587 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5588 "-DDCHECK_ALWAYS_ON=1",
5589 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5590 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
5591 "-DGOOGLE_PROTOBUF_NO_RTTI",
5592 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
5593 "-DHAVE_PTHREAD",
5594 "-DHAVE_ZLIB",
5595 "-DUSE_AURA=1",
5596 "-DUSE_OZONE=1",
5597 "-DUSE_UDEV",
5598 "-D_DEBUG",
5599 "-D_FILE_OFFSET_BITS=64",
5600 "-D_GNU_SOURCE",
5601 "-D_LARGEFILE64_SOURCE",
5602 "-D_LARGEFILE_SOURCE",
5603 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5604 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5605 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5606 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5607 ],
5608 local_include_dirs: [
5609 "./",
5610 "buildtools/third_party/libc++/",
5611 "buildtools/third_party/libc++/trunk/include",
5612 "buildtools/third_party/libc++abi/trunk/include",
5613 "third_party/protobuf/src/",
5614 "third_party/zlib/",
5615 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
5616 ],
5617 cpp_std: "c++20",
5618}
5619
5620// GN: //third_party/protobuf:protobuf_lite
5621cc_library_static {
5622 name: "cronet_aml_third_party_protobuf_protobuf_lite",
5623 srcs: [
5624 "third_party/protobuf/src/google/protobuf/any_lite.cc",
5625 "third_party/protobuf/src/google/protobuf/arena.cc",
5626 "third_party/protobuf/src/google/protobuf/arenastring.cc",
5627 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
5628 "third_party/protobuf/src/google/protobuf/extension_set.cc",
5629 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
5630 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
5631 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
5632 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
5633 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
5634 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
5635 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
5636 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
5637 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
5638 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
5639 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
5640 "third_party/protobuf/src/google/protobuf/map.cc",
5641 "third_party/protobuf/src/google/protobuf/message_lite.cc",
5642 "third_party/protobuf/src/google/protobuf/parse_context.cc",
5643 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
5644 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
5645 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
5646 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
5647 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
5648 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
5649 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
5650 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
5651 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
5652 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
5653 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
5654 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
5655 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
5656 ],
5657 shared_libs: [
5658 "liblog",
5659 ],
5660 defaults: [
5661 "cronet_aml_defaults",
5662 ],
5663 cflags: [
5664 "-DANDROID",
5665 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5666 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5667 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5668 "-DDCHECK_ALWAYS_ON=1",
5669 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5670 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
5671 "-DGOOGLE_PROTOBUF_NO_RTTI",
5672 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
5673 "-DHAVE_PTHREAD",
5674 "-DHAVE_SYS_UIO_H",
5675 "-D_DEBUG",
5676 "-D_GNU_SOURCE",
5677 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5678 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5679 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5680 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5681 ],
5682 local_include_dirs: [
5683 "./",
5684 "buildtools/third_party/libc++/",
5685 "buildtools/third_party/libc++/trunk/include",
5686 "buildtools/third_party/libc++abi/trunk/include",
5687 "third_party/protobuf/src/",
5688 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
5689 ],
5690 cpp_std: "c++20",
5691}
5692
Patrick Rohrcb035942022-11-01 12:12:52 -07005693// GN: //third_party/zlib:zlib
5694cc_library_static {
5695 name: "cronet_aml_third_party_zlib_zlib",
5696 srcs: [
5697 ":cronet_aml_third_party_zlib_zlib_adler32_simd",
5698 ":cronet_aml_third_party_zlib_zlib_common_headers",
5699 ":cronet_aml_third_party_zlib_zlib_crc32_simd",
5700 ":cronet_aml_third_party_zlib_zlib_inflate_chunk_simd",
5701 ":cronet_aml_third_party_zlib_zlib_slide_hash_simd",
5702 "third_party/zlib/adler32.c",
5703 "third_party/zlib/compress.c",
5704 "third_party/zlib/cpu_features.c",
5705 "third_party/zlib/crc32.c",
5706 "third_party/zlib/deflate.c",
5707 "third_party/zlib/gzclose.c",
5708 "third_party/zlib/gzlib.c",
5709 "third_party/zlib/gzread.c",
5710 "third_party/zlib/gzwrite.c",
5711 "third_party/zlib/infback.c",
5712 "third_party/zlib/inffast.c",
5713 "third_party/zlib/inftrees.c",
5714 "third_party/zlib/trees.c",
5715 "third_party/zlib/uncompr.c",
5716 "third_party/zlib/zutil.c",
5717 ],
5718 defaults: [
5719 "cronet_aml_defaults",
5720 ],
5721 cflags: [
5722 "-DADLER32_SIMD_SSSE3",
5723 "-DCRC32_SIMD_SSE42_PCLMUL",
5724 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5725 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00005726 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Patrick Rohrcb035942022-11-01 12:12:52 -07005727 "-DDCHECK_ALWAYS_ON=1",
5728 "-DDEFLATE_SLIDE_HASH_SSE2",
5729 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5730 "-DINFLATE_CHUNK_READ_64LE",
5731 "-DINFLATE_CHUNK_SIMD_SSE2",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00005732 "-DUSE_AURA=1",
5733 "-DUSE_OZONE=1",
5734 "-DUSE_UDEV",
Patrick Rohrcb035942022-11-01 12:12:52 -07005735 "-DX86_NOT_WINDOWS",
5736 "-DZLIB_DEBUG",
5737 "-DZLIB_IMPLEMENTATION",
5738 "-D_DEBUG",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00005739 "-D_FILE_OFFSET_BITS=64",
Patrick Rohrcb035942022-11-01 12:12:52 -07005740 "-D_GNU_SOURCE",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00005741 "-D_LARGEFILE64_SOURCE",
5742 "-D_LARGEFILE_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -07005743 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5744 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5745 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5746 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5747 "-D__STDC_CONSTANT_MACROS",
5748 "-D__STDC_FORMAT_MACROS",
5749 ],
5750 local_include_dirs: [
5751 "./",
5752 "buildtools/third_party/libc++/",
5753 "buildtools/third_party/libc++/trunk/include",
5754 "buildtools/third_party/libc++abi/trunk/include",
5755 "third_party/zlib/",
Mohannad Farrag18d7b512022-11-07 13:26:30 +00005756 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
Patrick Rohrcb035942022-11-01 12:12:52 -07005757 ],
5758 cpp_std: "c++20",
5759}
5760
5761// GN: //third_party/zlib:zlib_adler32_simd
5762filegroup {
5763 name: "cronet_aml_third_party_zlib_zlib_adler32_simd",
5764 srcs: [
5765 "third_party/zlib/adler32_simd.c",
5766 ],
5767}
5768
5769// GN: //third_party/zlib:zlib_common_headers
5770filegroup {
5771 name: "cronet_aml_third_party_zlib_zlib_common_headers",
5772}
5773
5774// GN: //third_party/zlib:zlib_crc32_simd
5775filegroup {
5776 name: "cronet_aml_third_party_zlib_zlib_crc32_simd",
5777 srcs: [
5778 "third_party/zlib/crc32_simd.c",
5779 "third_party/zlib/crc_folding.c",
5780 ],
5781}
5782
5783// GN: //third_party/zlib:zlib_inflate_chunk_simd
5784filegroup {
5785 name: "cronet_aml_third_party_zlib_zlib_inflate_chunk_simd",
5786 srcs: [
5787 "third_party/zlib/contrib/optimizations/inffast_chunk.c",
5788 "third_party/zlib/contrib/optimizations/inflate.c",
5789 ],
5790}
5791
5792// GN: //third_party/zlib:zlib_slide_hash_simd
5793filegroup {
5794 name: "cronet_aml_third_party_zlib_zlib_slide_hash_simd",
5795}
5796
Patrick Rohrcb035942022-11-01 12:12:52 -07005797// GN: //tools/grit:grit_sources
5798genrule {
5799 name: "cronet_aml_tools_grit_grit_sources",
Motomu Utsumi26211dc2022-11-02 19:38:47 +09005800 cmd: "python $(location tools/grit/stamp_grit_sources.py) `dirname $(location tools/grit/grit.py)` " +
5801 "$(out) " +
5802 "$(genDir)/grit_sources.d",
Patrick Rohrcb035942022-11-01 12:12:52 -07005803 out: [
Motomu Utsumi26211dc2022-11-02 19:38:47 +09005804 "out/test/obj/tools/grit/grit_sources.script.stamp",
Patrick Rohrcb035942022-11-01 12:12:52 -07005805 ],
5806 tool_files: [
5807 "tools/grit/grit.py",
5808 "tools/grit/stamp_grit_sources.py",
5809 ],
5810}
5811
5812// GN: //tools/gritsettings:default_resource_ids
5813genrule {
5814 name: "cronet_aml_tools_gritsettings_default_resource_ids",
5815 cmd: "$(location tools/grit/grit.py) update_resource_ids " +
5816 "-o " +
5817 "gen/tools/gritsettings/default_resource_ids " +
5818 "--add-header " +
5819 "--depfile " +
5820 "gen/tools/gritsettings/default_resource_ids.d " +
5821 "--input " +
5822 "../../tools/gritsettings/resource_ids.spec",
5823 out: [
5824 "tools/gritsettings/default_resource_ids",
5825 ],
5826 tool_files: [
5827 "tools/grit/grit.py",
5828 "tools/gritsettings/resource_ids.spec",
5829 ],
5830}
5831
5832// GN: //url:buildflags
5833genrule {
5834 name: "cronet_aml_url_buildflags",
5835 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
5836 "$(location build/write_buildflag_header.py) --output " +
5837 "$(out) " +
5838 "--rulename " +
5839 "//url:buildflags " +
5840 "--gen-dir " +
5841 ". " +
5842 "--definitions " +
5843 "/dev/stdin",
5844 out: [
5845 "url/buildflags.h",
5846 ],
5847 tool_files: [
5848 "build/write_buildflag_header.py",
5849 ],
5850}
5851
5852// GN: //url:url
5853cc_library_static {
5854 name: "cronet_aml_url_url",
5855 srcs: [
5856 ":cronet_aml_ipc_param_traits",
5857 "url/gurl.cc",
5858 "url/origin.cc",
5859 "url/scheme_host_port.cc",
5860 "url/third_party/mozilla/url_parse.cc",
5861 "url/url_canon.cc",
5862 "url/url_canon_etc.cc",
5863 "url/url_canon_filesystemurl.cc",
5864 "url/url_canon_fileurl.cc",
5865 "url/url_canon_host.cc",
5866 "url/url_canon_internal.cc",
5867 "url/url_canon_ip.cc",
5868 "url/url_canon_mailtourl.cc",
5869 "url/url_canon_path.cc",
5870 "url/url_canon_pathurl.cc",
5871 "url/url_canon_query.cc",
5872 "url/url_canon_relative.cc",
5873 "url/url_canon_stdstring.cc",
5874 "url/url_canon_stdurl.cc",
5875 "url/url_constants.cc",
5876 "url/url_idna_icu_alternatives_android.cc",
5877 "url/url_parse_file.cc",
5878 "url/url_util.cc",
5879 ],
5880 shared_libs: [
5881 "libandroid",
5882 "liblog",
5883 ],
5884 static_libs: [
5885 "cronet_aml_base_base",
5886 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
5887 ],
5888 generated_headers: [
5889 "cronet_aml_base_debugging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005890 "cronet_aml_base_logging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005891 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005892 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005893 "cronet_aml_url_url_jni_headers",
5894 ],
5895 export_generated_headers: [
5896 "cronet_aml_base_debugging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005897 "cronet_aml_base_logging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005898 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005899 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005900 "cronet_aml_url_url_jni_headers",
5901 ],
5902 defaults: [
5903 "cronet_aml_defaults",
5904 ],
5905 cflags: [
5906 "-DANDROID",
5907 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5908 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5909 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5910 "-DDCHECK_ALWAYS_ON=1",
5911 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5912 "-DHAVE_SYS_UIO_H",
5913 "-DIS_URL_IMPL",
5914 "-D_DEBUG",
5915 "-D_GNU_SOURCE",
5916 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5917 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5918 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5919 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5920 "-D__STDC_CONSTANT_MACROS",
5921 "-D__STDC_FORMAT_MACROS",
5922 ],
5923 local_include_dirs: [
5924 "./",
5925 "buildtools/third_party/libc++/",
5926 "buildtools/third_party/libc++/trunk/include",
5927 "buildtools/third_party/libc++abi/trunk/include",
5928 "third_party/abseil-cpp/",
5929 "third_party/boringssl/src/include/",
5930 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
5931 ],
5932 header_libs: [
5933 "jni_headers",
5934 ],
5935 cpp_std: "c++20",
5936}
5937
Patrick Rohrcb035942022-11-01 12:12:52 -07005938// GN: //url:url_jni_headers
5939genrule {
5940 name: "cronet_aml_url_url_jni_headers",
5941 srcs: [
5942 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
5943 "url/android/java/src/org/chromium/url/Origin.java",
5944 ],
5945 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
5946 "long " +
5947 " " +
5948 " " +
5949 "--output_dir " +
5950 "$(genDir)/url/url_jni_headers " +
5951 "--includes " +
5952 "base/android/jni_generator/jni_generator_helper.h " +
5953 "--use_proxy_hash " +
5954 "--output_name " +
5955 "IDNStringUtil_jni.h " +
5956 "--output_name " +
5957 "Origin_jni.h " +
5958 "--input_file " +
5959 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
5960 "--input_file " +
5961 "$(location url/android/java/src/org/chromium/url/Origin.java)",
5962 out: [
5963 "url/url_jni_headers/IDNStringUtil_jni.h",
5964 "url/url_jni_headers/Origin_jni.h",
5965 ],
5966 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00005967 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -07005968 "base/android/jni_generator/jni_generator.py",
5969 "build/android/gyp/util/__init__.py",
5970 "build/android/gyp/util/build_utils.py",
5971 "build/gn_helpers.py",
5972 ],
5973}
5974