blob: e4e967cc8316e0540d8d1379b188b1e8486b1779 [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
1753// GN: //crypto:buildflags
1754genrule {
1755 name: "cronet_aml_crypto_buildflags",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00001756 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
Patrick Rohrcb035942022-11-01 12:12:52 -07001757 "$(location build/write_buildflag_header.py) --output " +
1758 "$(out) " +
1759 "--rulename " +
1760 "//crypto:buildflags " +
1761 "--gen-dir " +
1762 ". " +
1763 "--definitions " +
1764 "/dev/stdin",
1765 out: [
1766 "crypto/crypto_buildflags.h",
1767 ],
1768 tool_files: [
1769 "build/write_buildflag_header.py",
1770 ],
1771}
1772
1773// GN: //crypto:crypto
1774cc_library_static {
1775 name: "cronet_aml_crypto_crypto",
1776 srcs: [
1777 "crypto/aead.cc",
1778 "crypto/ec_private_key.cc",
1779 "crypto/ec_signature_creator.cc",
1780 "crypto/ec_signature_creator_impl.cc",
1781 "crypto/encryptor.cc",
1782 "crypto/hkdf.cc",
1783 "crypto/hmac.cc",
1784 "crypto/openssl_util.cc",
1785 "crypto/p224_spake.cc",
1786 "crypto/random.cc",
1787 "crypto/rsa_private_key.cc",
1788 "crypto/secure_hash.cc",
1789 "crypto/secure_util.cc",
1790 "crypto/sha2.cc",
1791 "crypto/signature_creator.cc",
1792 "crypto/signature_verifier.cc",
1793 "crypto/symmetric_key.cc",
1794 "crypto/unexportable_key.cc",
1795 "crypto/unexportable_key_metrics.cc",
1796 ],
Mohannad Farrag033c9d62022-11-07 14:55:49 +00001797 shared_libs: [
1798 "libandroid",
1799 "liblog",
1800 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07001801 static_libs: [
1802 "cronet_aml_base_base",
1803 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
1804 "cronet_aml_third_party_boringssl_boringssl",
1805 ],
1806 generated_headers: [
1807 "cronet_aml_crypto_buildflags",
1808 ],
1809 export_generated_headers: [
1810 "cronet_aml_crypto_buildflags",
1811 ],
1812 defaults: [
1813 "cronet_aml_defaults",
1814 ],
1815 cflags: [
Mohannad Farrag033c9d62022-11-07 14:55:49 +00001816 "-DANDROID",
1817 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcb035942022-11-01 12:12:52 -07001818 "-DCRYPTO_IMPLEMENTATION",
1819 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1820 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1821 "-DDCHECK_ALWAYS_ON=1",
1822 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00001823 "-DHAVE_SYS_UIO_H",
Patrick Rohrcb035942022-11-01 12:12:52 -07001824 "-D_DEBUG",
1825 "-D_GNU_SOURCE",
1826 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1827 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1828 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1829 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1830 "-D__STDC_CONSTANT_MACROS",
1831 "-D__STDC_FORMAT_MACROS",
1832 ],
1833 local_include_dirs: [
1834 "./",
1835 "buildtools/third_party/libc++/",
1836 "buildtools/third_party/libc++/trunk/include",
1837 "buildtools/third_party/libc++abi/trunk/include",
1838 "third_party/abseil-cpp/",
1839 "third_party/boringssl/src/include/",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00001840 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcb035942022-11-01 12:12:52 -07001841 ],
1842 cpp_std: "c++20",
1843}
1844
Motomu Utsumifcac4852022-10-26 19:28:31 +09001845// GN: //gn:default_deps
1846cc_defaults {
1847 name: "cronet_aml_defaults",
1848 cflags: [
1849 "-O2",
1850 "-Wno-error=return-type",
Patrick Rohr98065152022-10-31 14:49:58 -07001851 "-Wno-missing-field-initializers",
Patrick Rohr3a1ec1d2022-10-31 13:30:17 -07001852 "-Wno-non-virtual-dtor",
Motomu Utsumifcac4852022-10-26 19:28:31 +09001853 "-Wno-sign-compare",
1854 "-Wno-sign-promo",
1855 "-Wno-unused-parameter",
1856 "-fvisibility=hidden",
1857 ],
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001858 stl: "none",
Motomu Utsumifcac4852022-10-26 19:28:31 +09001859}
1860
Patrick Rohrcb035942022-11-01 12:12:52 -07001861// GN: //ipc:param_traits
1862filegroup {
1863 name: "cronet_aml_ipc_param_traits",
1864}
1865
Patrick Rohrb18aca22022-11-04 15:07:32 -07001866// GN: //gn:java
1867java_library {
1868 name: "cronet_aml_java",
1869 srcs: [
Mohannad Farrag21562d62022-11-07 13:09:31 +00001870 "base/android/java/src/org/chromium/base/JniException.java",
1871 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
1872 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
1873 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
1874 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
1875 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
1876 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
1877 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
1878 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
1879 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
1880 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
1881 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
1882 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
1883 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
1884 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
1885 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
1886 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
1887 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
1888 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
1889 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
1890 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
Patrick Rohrb18aca22022-11-04 15:07:32 -07001891 ],
1892}
1893
Mohannad Farragbab6c892022-11-02 14:09:46 +00001894// GN: //net/base/registry_controlled_domains:registry_controlled_domains
1895genrule {
1896 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
1897 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
Motomu Utsumi56afcac2022-11-04 12:58:30 +09001898 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
1899 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
Mohannad Farragbab6c892022-11-02 14:09:46 +00001900 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1901 "--reverse " +
1902 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
1903 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
1904 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1905 "--reverse " +
Motomu Utsumi56afcac2022-11-04 12:58:30 +09001906 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
1907 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
Mohannad Farragbab6c892022-11-02 14:09:46 +00001908 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1909 "--reverse " +
1910 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
1911 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
1912 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1913 "--reverse " +
Motomu Utsumi56afcac2022-11-04 12:58:30 +09001914 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
1915 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
Mohannad Farragbab6c892022-11-02 14:09:46 +00001916 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1917 "--reverse " +
Motomu Utsumi56afcac2022-11-04 12:58:30 +09001918 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
1919 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
1920 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
1921 "--reverse " +
1922 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
1923 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
Mohannad Farragbab6c892022-11-02 14:09:46 +00001924 out: [
1925 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
1926 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
1927 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
1928 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
1929 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
1930 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
1931 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
1932 ],
1933 tool_files: [
1934 "net/base/registry_controlled_domains/effective_tld_names.gperf",
1935 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
1936 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
1937 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
1938 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
1939 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
1940 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
1941 "net/tools/dafsa/make_dafsa.py",
1942 ],
1943}
1944
Patrick Rohrcb035942022-11-01 12:12:52 -07001945// GN: //net:buildflags
1946genrule {
1947 name: "cronet_aml_net_buildflags",
1948 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\"' | " +
1949 "$(location build/write_buildflag_header.py) --output " +
1950 "$(out) " +
1951 "--rulename " +
1952 "//net:buildflags " +
1953 "--gen-dir " +
1954 ". " +
1955 "--definitions " +
1956 "/dev/stdin",
1957 out: [
1958 "net/net_buildflags.h",
1959 ],
1960 tool_files: [
1961 "build/write_buildflag_header.py",
1962 ],
1963}
1964
1965// GN: //net/cert:root_store_proto_full
Patrick Rohrcb035942022-11-01 12:12:52 -07001966genrule {
1967 name: "cronet_aml_net_cert_root_store_proto_full_gen",
1968 srcs: [
1969 "net/cert/root_store.proto",
1970 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09001971 tools: [
1972 "aprotoc",
1973 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08001974 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07001975 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08001976 "external/chromium_org/net/cert/root_store.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09001977 ],
1978}
1979
Patrick Rohrc5980782022-11-07 16:34:03 -08001980// GN: //net/cert:root_store_proto_full
Motomu Utsumic6277d92022-11-07 15:15:17 +09001981genrule {
1982 name: "cronet_aml_net_cert_root_store_proto_full_gen_headers",
1983 srcs: [
1984 "net/cert/root_store.proto",
1985 ],
1986 tools: [
1987 "aprotoc",
1988 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08001989 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09001990 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08001991 "external/chromium_org/net/cert/root_store.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07001992 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08001993 export_include_dirs: [
1994 ".",
1995 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07001996 ],
1997}
1998
1999// GN: //net:constants
2000filegroup {
2001 name: "cronet_aml_net_constants",
2002}
2003
2004// GN: //net/data/ssl/chrome_root_store:gen_root_store_inc
2005genrule {
2006 name: "cronet_aml_net_data_ssl_chrome_root_store_gen_root_store_inc",
2007 cmd: "$(location build/gn_run_binary.py) clang_x64/root_store_tool " +
2008 "--root-store " +
2009 "../../net/data/ssl/chrome_root_store/root_store.textproto " +
2010 "--certs " +
2011 "../../net/data/ssl/chrome_root_store/root_store.certs " +
2012 "--write-cpp-root-store " +
2013 "gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc " +
2014 "--write-cpp-ev-roots " +
2015 "gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
2016 out: [
2017 "net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
2018 "net/data/ssl/chrome_root_store/chrome-root-store-inc.cc",
2019 ],
2020 tool_files: [
2021 "build/gn_run_binary.py",
2022 "net/data/ssl/chrome_root_store/root_store.certs",
2023 "net/data/ssl/chrome_root_store/root_store.textproto",
2024 ],
2025}
2026
2027// GN: //net/dns:dns
2028filegroup {
2029 name: "cronet_aml_net_dns_dns",
2030 srcs: [
2031 "net/dns/address_info.cc",
2032 "net/dns/address_sorter_posix.cc",
2033 "net/dns/context_host_resolver.cc",
2034 "net/dns/dns_alias_utility.cc",
2035 "net/dns/dns_client.cc",
2036 "net/dns/dns_config.cc",
2037 "net/dns/dns_config_service.cc",
2038 "net/dns/dns_config_service_android.cc",
2039 "net/dns/dns_hosts.cc",
2040 "net/dns/dns_query.cc",
2041 "net/dns/dns_reloader.cc",
2042 "net/dns/dns_response.cc",
2043 "net/dns/dns_response_result_extractor.cc",
2044 "net/dns/dns_server_iterator.cc",
2045 "net/dns/dns_session.cc",
2046 "net/dns/dns_transaction.cc",
2047 "net/dns/dns_udp_tracker.cc",
2048 "net/dns/dns_util.cc",
2049 "net/dns/host_cache.cc",
2050 "net/dns/host_resolver.cc",
2051 "net/dns/host_resolver_manager.cc",
2052 "net/dns/host_resolver_mdns_listener_impl.cc",
2053 "net/dns/host_resolver_mdns_task.cc",
2054 "net/dns/host_resolver_nat64_task.cc",
2055 "net/dns/host_resolver_proc.cc",
2056 "net/dns/host_resolver_system_task.cc",
2057 "net/dns/https_record_rdata.cc",
2058 "net/dns/httpssvc_metrics.cc",
2059 "net/dns/mapped_host_resolver.cc",
2060 "net/dns/nsswitch_reader.cc",
2061 "net/dns/opt_record_rdata.cc",
2062 "net/dns/record_parsed.cc",
2063 "net/dns/record_rdata.cc",
2064 "net/dns/resolve_context.cc",
2065 "net/dns/serial_worker.cc",
2066 "net/dns/system_dns_config_change_notifier.cc",
2067 "net/dns/test_dns_config_service.cc",
2068 ],
2069}
2070
2071// GN: //net/dns:dns_client
2072filegroup {
2073 name: "cronet_aml_net_dns_dns_client",
2074}
2075
2076// GN: //net/dns:host_resolver
2077filegroup {
2078 name: "cronet_aml_net_dns_host_resolver",
2079}
2080
2081// GN: //net/dns:host_resolver_manager
2082filegroup {
2083 name: "cronet_aml_net_dns_host_resolver_manager",
2084}
2085
2086// GN: //net/dns:mdns_client
2087filegroup {
2088 name: "cronet_aml_net_dns_mdns_client",
2089}
2090
2091// GN: //net/dns/public:public
2092filegroup {
2093 name: "cronet_aml_net_dns_public_public",
2094 srcs: [
2095 "net/dns/public/dns_config_overrides.cc",
2096 "net/dns/public/dns_over_https_config.cc",
2097 "net/dns/public/dns_over_https_server_config.cc",
2098 "net/dns/public/dns_query_type.cc",
2099 "net/dns/public/doh_provider_entry.cc",
2100 "net/dns/public/host_resolver_results.cc",
2101 "net/dns/public/resolve_error_info.cc",
2102 "net/dns/public/util.cc",
2103 ],
2104}
2105
2106// GN: //net/http:transport_security_state_generated_files
2107filegroup {
2108 name: "cronet_aml_net_http_transport_security_state_generated_files",
2109 srcs: [
2110 "net/http/transport_security_state.cc",
2111 ],
2112}
2113
2114// GN: //net:ios_cronet_buildflags
2115genrule {
2116 name: "cronet_aml_net_ios_cronet_buildflags",
2117 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
2118 "$(location build/write_buildflag_header.py) --output " +
2119 "$(out) " +
2120 "--rulename " +
2121 "//net:ios_cronet_buildflags " +
2122 "--gen-dir " +
2123 ". " +
2124 "--definitions " +
2125 "/dev/stdin",
2126 out: [
2127 "net/socket/ios_cronet_buildflags.h",
2128 ],
2129 tool_files: [
2130 "build/write_buildflag_header.py",
2131 ],
2132}
2133
2134// GN: //net:isolation_info_proto
Patrick Rohrcb035942022-11-01 12:12:52 -07002135genrule {
2136 name: "cronet_aml_net_isolation_info_proto_gen",
2137 srcs: [
2138 "net/base/isolation_info.proto",
2139 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09002140 tools: [
2141 "aprotoc",
2142 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08002143 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07002144 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08002145 "external/chromium_org/net/base/isolation_info.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002146 ],
2147}
2148
Patrick Rohrc5980782022-11-07 16:34:03 -08002149// GN: //net:isolation_info_proto
Motomu Utsumic6277d92022-11-07 15:15:17 +09002150genrule {
2151 name: "cronet_aml_net_isolation_info_proto_gen_headers",
2152 srcs: [
2153 "net/base/isolation_info.proto",
2154 ],
2155 tools: [
2156 "aprotoc",
2157 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08002158 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002159 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08002160 "external/chromium_org/net/base/isolation_info.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07002161 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08002162 export_include_dirs: [
2163 ".",
2164 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07002165 ],
2166}
2167
2168// GN: //net:net
2169cc_library_static {
2170 name: "cronet_aml_net_net",
2171 srcs: [
2172 ":cronet_aml_net_constants",
2173 ":cronet_aml_net_dns_dns",
2174 ":cronet_aml_net_dns_dns_client",
2175 ":cronet_aml_net_dns_host_resolver",
2176 ":cronet_aml_net_dns_host_resolver_manager",
2177 ":cronet_aml_net_dns_mdns_client",
2178 ":cronet_aml_net_dns_public_public",
2179 ":cronet_aml_net_http_transport_security_state_generated_files",
Patrick Rohrc5980782022-11-07 16:34:03 -08002180 ":cronet_aml_net_isolation_info_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07002181 ":cronet_aml_net_net_deps",
2182 ":cronet_aml_net_net_export_header",
Patrick Rohrc5980782022-11-07 16:34:03 -08002183 ":cronet_aml_net_net_nqe_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07002184 ":cronet_aml_net_net_public_deps",
2185 ":cronet_aml_net_net_resources",
Patrick Rohrc5980782022-11-07 16:34:03 -08002186 ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07002187 ":cronet_aml_net_traffic_annotation_traffic_annotation",
2188 "net/android/android_http_util.cc",
2189 "net/android/cert_verify_result_android.cc",
2190 "net/android/gurl_utils.cc",
2191 "net/android/http_auth_negotiate_android.cc",
2192 "net/android/keystore.cc",
2193 "net/android/network_change_notifier_android.cc",
2194 "net/android/network_change_notifier_delegate_android.cc",
2195 "net/android/network_change_notifier_factory_android.cc",
2196 "net/android/network_library.cc",
2197 "net/android/radio_activity_tracker.cc",
2198 "net/android/traffic_stats.cc",
2199 "net/base/address_family.cc",
2200 "net/base/address_list.cc",
2201 "net/base/address_tracker_linux.cc",
2202 "net/base/auth.cc",
2203 "net/base/backoff_entry.cc",
2204 "net/base/backoff_entry_serializer.cc",
2205 "net/base/cache_metrics.cc",
2206 "net/base/chunked_upload_data_stream.cc",
2207 "net/base/connection_endpoint_metadata.cc",
2208 "net/base/data_url.cc",
2209 "net/base/datagram_buffer.cc",
2210 "net/base/elements_upload_data_stream.cc",
2211 "net/base/features.cc",
2212 "net/base/file_stream.cc",
2213 "net/base/file_stream_context.cc",
2214 "net/base/file_stream_context_posix.cc",
2215 "net/base/filename_util.cc",
2216 "net/base/filename_util_internal.cc",
2217 "net/base/hash_value.cc",
2218 "net/base/hex_utils.cc",
2219 "net/base/host_mapping_rules.cc",
2220 "net/base/host_port_pair.cc",
2221 "net/base/io_buffer.cc",
2222 "net/base/ip_address.cc",
2223 "net/base/ip_endpoint.cc",
2224 "net/base/isolation_info.cc",
2225 "net/base/load_timing_info.cc",
2226 "net/base/logging_network_change_observer.cc",
2227 "net/base/lookup_string_in_fixed_set.cc",
2228 "net/base/mime_sniffer.cc",
2229 "net/base/mime_util.cc",
2230 "net/base/net_errors.cc",
2231 "net/base/net_errors_posix.cc",
2232 "net/base/net_module.cc",
2233 "net/base/net_string_util_icu_alternatives_android.cc",
2234 "net/base/network_activity_monitor.cc",
2235 "net/base/network_anonymization_key.cc",
2236 "net/base/network_change_notifier.cc",
2237 "net/base/network_change_notifier_posix.cc",
2238 "net/base/network_delegate.cc",
2239 "net/base/network_delegate_impl.cc",
2240 "net/base/network_interfaces.cc",
2241 "net/base/network_interfaces_getifaddrs.cc",
2242 "net/base/network_interfaces_getifaddrs_android.cc",
2243 "net/base/network_interfaces_linux.cc",
2244 "net/base/network_interfaces_posix.cc",
2245 "net/base/network_isolation_key.cc",
2246 "net/base/parse_number.cc",
2247 "net/base/platform_mime_util_linux.cc",
2248 "net/base/port_util.cc",
2249 "net/base/prioritized_dispatcher.cc",
2250 "net/base/prioritized_task_runner.cc",
2251 "net/base/privacy_mode.cc",
2252 "net/base/proxy_server.cc",
2253 "net/base/proxy_string_util.cc",
2254 "net/base/registry_controlled_domains/registry_controlled_domain.cc",
2255 "net/base/request_priority.cc",
2256 "net/base/scheme_host_port_matcher.cc",
2257 "net/base/scheme_host_port_matcher_rule.cc",
2258 "net/base/schemeful_site.cc",
2259 "net/base/sockaddr_storage.cc",
2260 "net/base/sockaddr_util_posix.cc",
2261 "net/base/transport_info.cc",
2262 "net/base/upload_bytes_element_reader.cc",
2263 "net/base/upload_data_stream.cc",
2264 "net/base/upload_element_reader.cc",
2265 "net/base/upload_file_element_reader.cc",
2266 "net/base/url_util.cc",
2267 "net/cert/asn1_util.cc",
2268 "net/cert/caching_cert_verifier.cc",
2269 "net/cert/cert_and_ct_verifier.cc",
2270 "net/cert/cert_database.cc",
2271 "net/cert/cert_status_flags.cc",
2272 "net/cert/cert_verifier.cc",
2273 "net/cert/cert_verify_proc.cc",
2274 "net/cert/cert_verify_proc_android.cc",
2275 "net/cert/cert_verify_proc_builtin.cc",
2276 "net/cert/cert_verify_result.cc",
2277 "net/cert/coalescing_cert_verifier.cc",
2278 "net/cert/crl_set.cc",
2279 "net/cert/ct_log_response_parser.cc",
2280 "net/cert/ct_log_verifier.cc",
2281 "net/cert/ct_log_verifier_util.cc",
2282 "net/cert/ct_objects_extractor.cc",
2283 "net/cert/ct_policy_enforcer.cc",
2284 "net/cert/ct_sct_to_string.cc",
2285 "net/cert/ct_serialization.cc",
2286 "net/cert/ct_signed_certificate_timestamp_log_param.cc",
2287 "net/cert/do_nothing_ct_verifier.cc",
2288 "net/cert/ev_root_ca_metadata.cc",
2289 "net/cert/internal/cert_issuer_source_aia.cc",
2290 "net/cert/internal/revocation_checker.cc",
2291 "net/cert/internal/system_trust_store.cc",
2292 "net/cert/known_roots.cc",
2293 "net/cert/merkle_audit_proof.cc",
2294 "net/cert/merkle_consistency_proof.cc",
2295 "net/cert/merkle_tree_leaf.cc",
2296 "net/cert/multi_log_ct_verifier.cc",
2297 "net/cert/multi_threaded_cert_verifier.cc",
2298 "net/cert/ocsp_verify_result.cc",
2299 "net/cert/pem.cc",
2300 "net/cert/pki/cert_error_id.cc",
2301 "net/cert/pki/cert_error_params.cc",
2302 "net/cert/pki/cert_errors.cc",
2303 "net/cert/pki/cert_issuer_source_static.cc",
2304 "net/cert/pki/certificate_policies.cc",
2305 "net/cert/pki/common_cert_errors.cc",
2306 "net/cert/pki/crl.cc",
2307 "net/cert/pki/extended_key_usage.cc",
2308 "net/cert/pki/general_names.cc",
2309 "net/cert/pki/name_constraints.cc",
2310 "net/cert/pki/ocsp.cc",
2311 "net/cert/pki/parse_certificate.cc",
2312 "net/cert/pki/parse_name.cc",
2313 "net/cert/pki/parsed_certificate.cc",
2314 "net/cert/pki/path_builder.cc",
2315 "net/cert/pki/revocation_util.cc",
2316 "net/cert/pki/signature_algorithm.cc",
2317 "net/cert/pki/simple_path_builder_delegate.cc",
2318 "net/cert/pki/string_util.cc",
2319 "net/cert/pki/trust_store.cc",
2320 "net/cert/pki/trust_store_collection.cc",
2321 "net/cert/pki/trust_store_in_memory.cc",
2322 "net/cert/pki/verify_certificate_chain.cc",
2323 "net/cert/pki/verify_name_match.cc",
2324 "net/cert/pki/verify_signed_data.cc",
2325 "net/cert/sct_status_flags.cc",
2326 "net/cert/signed_certificate_timestamp.cc",
2327 "net/cert/signed_certificate_timestamp_and_status.cc",
2328 "net/cert/signed_tree_head.cc",
2329 "net/cert/symantec_certs.cc",
2330 "net/cert/test_root_certs.cc",
2331 "net/cert/test_root_certs_android.cc",
2332 "net/cert/trial_comparison_cert_verifier_util.cc",
2333 "net/cert/x509_cert_types.cc",
2334 "net/cert/x509_certificate.cc",
2335 "net/cert/x509_certificate_net_log_param.cc",
2336 "net/cert/x509_util.cc",
2337 "net/cert/x509_util_android.cc",
2338 "net/cert_net/cert_net_fetcher_url_request.cc",
2339 "net/cookies/canonical_cookie.cc",
2340 "net/cookies/cookie_access_delegate.cc",
2341 "net/cookies/cookie_access_result.cc",
2342 "net/cookies/cookie_change_dispatcher.cc",
2343 "net/cookies/cookie_constants.cc",
2344 "net/cookies/cookie_deletion_info.cc",
2345 "net/cookies/cookie_inclusion_status.cc",
2346 "net/cookies/cookie_monster.cc",
2347 "net/cookies/cookie_monster_change_dispatcher.cc",
2348 "net/cookies/cookie_monster_netlog_params.cc",
2349 "net/cookies/cookie_options.cc",
2350 "net/cookies/cookie_partition_key.cc",
2351 "net/cookies/cookie_partition_key_collection.cc",
2352 "net/cookies/cookie_store.cc",
2353 "net/cookies/cookie_util.cc",
2354 "net/cookies/parsed_cookie.cc",
2355 "net/cookies/site_for_cookies.cc",
2356 "net/cookies/static_cookie_policy.cc",
2357 "net/der/encode_values.cc",
2358 "net/der/input.cc",
2359 "net/der/parse_values.cc",
2360 "net/der/parser.cc",
2361 "net/der/tag.cc",
2362 "net/disk_cache/backend_cleanup_tracker.cc",
2363 "net/disk_cache/blockfile/addr.cc",
2364 "net/disk_cache/blockfile/backend_impl.cc",
2365 "net/disk_cache/blockfile/bitmap.cc",
2366 "net/disk_cache/blockfile/block_files.cc",
2367 "net/disk_cache/blockfile/disk_format.cc",
2368 "net/disk_cache/blockfile/entry_impl.cc",
2369 "net/disk_cache/blockfile/eviction.cc",
2370 "net/disk_cache/blockfile/file.cc",
2371 "net/disk_cache/blockfile/file_lock.cc",
2372 "net/disk_cache/blockfile/file_posix.cc",
2373 "net/disk_cache/blockfile/in_flight_backend_io.cc",
2374 "net/disk_cache/blockfile/in_flight_io.cc",
2375 "net/disk_cache/blockfile/mapped_file.cc",
2376 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
2377 "net/disk_cache/blockfile/rankings.cc",
2378 "net/disk_cache/blockfile/sparse_control.cc",
2379 "net/disk_cache/blockfile/stats.cc",
2380 "net/disk_cache/cache_util.cc",
2381 "net/disk_cache/cache_util_posix.cc",
2382 "net/disk_cache/disk_cache.cc",
2383 "net/disk_cache/memory/mem_backend_impl.cc",
2384 "net/disk_cache/memory/mem_entry_impl.cc",
2385 "net/disk_cache/net_log_parameters.cc",
2386 "net/disk_cache/simple/post_doom_waiter.cc",
2387 "net/disk_cache/simple/simple_backend_impl.cc",
2388 "net/disk_cache/simple/simple_entry_format.cc",
2389 "net/disk_cache/simple/simple_entry_impl.cc",
2390 "net/disk_cache/simple/simple_entry_operation.cc",
2391 "net/disk_cache/simple/simple_file_enumerator.cc",
2392 "net/disk_cache/simple/simple_file_tracker.cc",
2393 "net/disk_cache/simple/simple_index.cc",
2394 "net/disk_cache/simple/simple_index_file.cc",
2395 "net/disk_cache/simple/simple_net_log_parameters.cc",
2396 "net/disk_cache/simple/simple_synchronous_entry.cc",
2397 "net/disk_cache/simple/simple_util.cc",
2398 "net/disk_cache/simple/simple_util_posix.cc",
2399 "net/disk_cache/simple/simple_version_upgrade.cc",
2400 "net/filter/brotli_source_stream.cc",
2401 "net/filter/filter_source_stream.cc",
2402 "net/filter/gzip_header.cc",
2403 "net/filter/gzip_source_stream.cc",
2404 "net/filter/source_stream.cc",
2405 "net/first_party_sets/addition_overlaps_union_find.cc",
2406 "net/first_party_sets/first_party_set_entry.cc",
2407 "net/first_party_sets/first_party_set_metadata.cc",
2408 "net/first_party_sets/first_party_sets_cache_filter.cc",
2409 "net/first_party_sets/first_party_sets_context_config.cc",
2410 "net/first_party_sets/global_first_party_sets.cc",
2411 "net/first_party_sets/same_party_context.cc",
2412 "net/http/alternative_service.cc",
2413 "net/http/bidirectional_stream.cc",
2414 "net/http/bidirectional_stream_impl.cc",
2415 "net/http/bidirectional_stream_request_info.cc",
2416 "net/http/broken_alternative_services.cc",
2417 "net/http/http_auth.cc",
2418 "net/http/http_auth_cache.cc",
2419 "net/http/http_auth_challenge_tokenizer.cc",
2420 "net/http/http_auth_controller.cc",
2421 "net/http/http_auth_filter.cc",
2422 "net/http/http_auth_handler.cc",
2423 "net/http/http_auth_handler_basic.cc",
2424 "net/http/http_auth_handler_digest.cc",
2425 "net/http/http_auth_handler_factory.cc",
2426 "net/http/http_auth_handler_negotiate.cc",
2427 "net/http/http_auth_handler_ntlm.cc",
2428 "net/http/http_auth_handler_ntlm_portable.cc",
2429 "net/http/http_auth_multi_round_parse.cc",
2430 "net/http/http_auth_ntlm_mechanism.cc",
2431 "net/http/http_auth_preferences.cc",
2432 "net/http/http_auth_scheme.cc",
2433 "net/http/http_basic_state.cc",
2434 "net/http/http_basic_stream.cc",
2435 "net/http/http_byte_range.cc",
2436 "net/http/http_cache.cc",
2437 "net/http/http_cache_lookup_manager.cc",
2438 "net/http/http_cache_transaction.cc",
2439 "net/http/http_cache_writers.cc",
2440 "net/http/http_chunked_decoder.cc",
2441 "net/http/http_content_disposition.cc",
2442 "net/http/http_log_util.cc",
2443 "net/http/http_network_layer.cc",
2444 "net/http/http_network_session.cc",
2445 "net/http/http_network_session_peer.cc",
2446 "net/http/http_network_transaction.cc",
2447 "net/http/http_proxy_client_socket.cc",
2448 "net/http/http_proxy_connect_job.cc",
2449 "net/http/http_raw_request_headers.cc",
2450 "net/http/http_request_headers.cc",
2451 "net/http/http_request_info.cc",
2452 "net/http/http_response_body_drainer.cc",
2453 "net/http/http_response_headers.cc",
2454 "net/http/http_response_info.cc",
2455 "net/http/http_security_headers.cc",
2456 "net/http/http_server_properties.cc",
2457 "net/http/http_server_properties_manager.cc",
2458 "net/http/http_status_code.cc",
2459 "net/http/http_stream_factory.cc",
2460 "net/http/http_stream_factory_job.cc",
2461 "net/http/http_stream_factory_job_controller.cc",
2462 "net/http/http_stream_parser.cc",
2463 "net/http/http_stream_request.cc",
2464 "net/http/http_util.cc",
2465 "net/http/http_vary_data.cc",
2466 "net/http/partial_data.cc",
2467 "net/http/proxy_client_socket.cc",
2468 "net/http/proxy_fallback.cc",
2469 "net/http/transport_security_persister.cc",
2470 "net/http/transport_security_state_source.cc",
2471 "net/http/url_security_manager.cc",
2472 "net/http/url_security_manager_posix.cc",
2473 "net/http/webfonts_histogram.cc",
2474 "net/log/file_net_log_observer.cc",
2475 "net/log/net_log.cc",
2476 "net/log/net_log_capture_mode.cc",
2477 "net/log/net_log_entry.cc",
2478 "net/log/net_log_event_type.cc",
2479 "net/log/net_log_source.cc",
2480 "net/log/net_log_util.cc",
2481 "net/log/net_log_values.cc",
2482 "net/log/net_log_with_source.cc",
2483 "net/log/trace_net_log_observer.cc",
2484 "net/network_error_logging/network_error_logging_service.cc",
2485 "net/nqe/cached_network_quality.cc",
2486 "net/nqe/effective_connection_type.cc",
2487 "net/nqe/event_creator.cc",
2488 "net/nqe/network_id.cc",
2489 "net/nqe/network_qualities_prefs_manager.cc",
2490 "net/nqe/network_quality.cc",
2491 "net/nqe/network_quality_estimator.cc",
2492 "net/nqe/network_quality_estimator_params.cc",
2493 "net/nqe/network_quality_estimator_util.cc",
2494 "net/nqe/network_quality_observation.cc",
2495 "net/nqe/network_quality_store.cc",
2496 "net/nqe/observation_buffer.cc",
2497 "net/nqe/pref_names.cc",
2498 "net/nqe/socket_watcher.cc",
2499 "net/nqe/socket_watcher_factory.cc",
2500 "net/nqe/throughput_analyzer.cc",
2501 "net/ntlm/ntlm.cc",
2502 "net/ntlm/ntlm_buffer_reader.cc",
2503 "net/ntlm/ntlm_buffer_writer.cc",
2504 "net/ntlm/ntlm_client.cc",
2505 "net/ntlm/ntlm_constants.cc",
2506 "net/proxy_resolution/configured_proxy_resolution_request.cc",
2507 "net/proxy_resolution/configured_proxy_resolution_service.cc",
2508 "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
2509 "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
2510 "net/proxy_resolution/network_delegate_error_observer.cc",
2511 "net/proxy_resolution/pac_file_data.cc",
2512 "net/proxy_resolution/pac_file_decider.cc",
2513 "net/proxy_resolution/pac_file_fetcher.cc",
2514 "net/proxy_resolution/pac_file_fetcher_impl.cc",
2515 "net/proxy_resolution/polling_proxy_config_service.cc",
2516 "net/proxy_resolution/proxy_bypass_rules.cc",
2517 "net/proxy_resolution/proxy_config.cc",
2518 "net/proxy_resolution/proxy_config_service.cc",
2519 "net/proxy_resolution/proxy_config_service_android.cc",
2520 "net/proxy_resolution/proxy_config_service_fixed.cc",
2521 "net/proxy_resolution/proxy_config_with_annotation.cc",
2522 "net/proxy_resolution/proxy_info.cc",
2523 "net/proxy_resolution/proxy_list.cc",
2524 "net/proxy_resolution/proxy_resolver_factory.cc",
2525 "net/quic/bidirectional_stream_quic_impl.cc",
2526 "net/quic/crypto/proof_source_chromium.cc",
2527 "net/quic/crypto/proof_verifier_chromium.cc",
2528 "net/quic/dedicated_web_transport_http3_client.cc",
2529 "net/quic/network_connection.cc",
2530 "net/quic/platform/impl/quic_chromium_clock.cc",
2531 "net/quic/properties_based_quic_server_info.cc",
2532 "net/quic/quic_address_mismatch.cc",
2533 "net/quic/quic_chromium_alarm_factory.cc",
2534 "net/quic/quic_chromium_client_session.cc",
2535 "net/quic/quic_chromium_client_stream.cc",
2536 "net/quic/quic_chromium_connection_helper.cc",
2537 "net/quic/quic_chromium_packet_reader.cc",
2538 "net/quic/quic_chromium_packet_writer.cc",
2539 "net/quic/quic_clock_skew_detector.cc",
2540 "net/quic/quic_connection_logger.cc",
2541 "net/quic/quic_connectivity_monitor.cc",
2542 "net/quic/quic_context.cc",
2543 "net/quic/quic_crypto_client_config_handle.cc",
2544 "net/quic/quic_crypto_client_stream_factory.cc",
2545 "net/quic/quic_event_logger.cc",
2546 "net/quic/quic_http3_logger.cc",
2547 "net/quic/quic_http_stream.cc",
2548 "net/quic/quic_http_utils.cc",
2549 "net/quic/quic_proxy_client_socket.cc",
2550 "net/quic/quic_server_info.cc",
2551 "net/quic/quic_session_key.cc",
2552 "net/quic/quic_stream_factory.cc",
2553 "net/quic/set_quic_flag.cc",
2554 "net/quic/web_transport_client.cc",
2555 "net/quic/web_transport_error.cc",
2556 "net/reporting/reporting_browsing_data_remover.cc",
2557 "net/reporting/reporting_cache.cc",
2558 "net/reporting/reporting_cache_impl.cc",
2559 "net/reporting/reporting_cache_observer.cc",
2560 "net/reporting/reporting_context.cc",
2561 "net/reporting/reporting_delegate.cc",
2562 "net/reporting/reporting_delivery_agent.cc",
2563 "net/reporting/reporting_endpoint.cc",
2564 "net/reporting/reporting_endpoint_manager.cc",
2565 "net/reporting/reporting_garbage_collector.cc",
2566 "net/reporting/reporting_header_parser.cc",
2567 "net/reporting/reporting_network_change_observer.cc",
2568 "net/reporting/reporting_policy.cc",
2569 "net/reporting/reporting_report.cc",
2570 "net/reporting/reporting_service.cc",
2571 "net/reporting/reporting_uploader.cc",
2572 "net/socket/client_socket_factory.cc",
2573 "net/socket/client_socket_handle.cc",
2574 "net/socket/client_socket_pool.cc",
2575 "net/socket/client_socket_pool_manager.cc",
2576 "net/socket/client_socket_pool_manager_impl.cc",
2577 "net/socket/connect_job.cc",
2578 "net/socket/connect_job_factory.cc",
2579 "net/socket/network_binding_client_socket_factory.cc",
2580 "net/socket/next_proto.cc",
2581 "net/socket/server_socket.cc",
2582 "net/socket/socket.cc",
2583 "net/socket/socket_bio_adapter.cc",
2584 "net/socket/socket_descriptor.cc",
2585 "net/socket/socket_net_log_params.cc",
2586 "net/socket/socket_options.cc",
2587 "net/socket/socket_posix.cc",
2588 "net/socket/socket_tag.cc",
2589 "net/socket/socks5_client_socket.cc",
2590 "net/socket/socks_client_socket.cc",
2591 "net/socket/socks_connect_job.cc",
2592 "net/socket/ssl_client_socket.cc",
2593 "net/socket/ssl_client_socket_impl.cc",
2594 "net/socket/ssl_connect_job.cc",
2595 "net/socket/ssl_server_socket_impl.cc",
2596 "net/socket/stream_socket.cc",
2597 "net/socket/tcp_client_socket.cc",
2598 "net/socket/tcp_server_socket.cc",
2599 "net/socket/tcp_socket_posix.cc",
2600 "net/socket/transport_client_socket.cc",
2601 "net/socket/transport_client_socket_pool.cc",
2602 "net/socket/transport_connect_job.cc",
2603 "net/socket/transport_connect_sub_job.cc",
2604 "net/socket/udp_client_socket.cc",
2605 "net/socket/udp_net_log_parameters.cc",
2606 "net/socket/udp_server_socket.cc",
2607 "net/socket/udp_socket_global_limits.cc",
2608 "net/socket/udp_socket_posix.cc",
2609 "net/socket/unix_domain_client_socket_posix.cc",
2610 "net/socket/unix_domain_server_socket_posix.cc",
2611 "net/socket/websocket_endpoint_lock_manager.cc",
2612 "net/socket/websocket_transport_client_socket_pool.cc",
2613 "net/spdy/alps_decoder.cc",
2614 "net/spdy/bidirectional_stream_spdy_impl.cc",
2615 "net/spdy/buffered_spdy_framer.cc",
2616 "net/spdy/header_coalescer.cc",
2617 "net/spdy/http2_priority_dependencies.cc",
2618 "net/spdy/http2_push_promise_index.cc",
2619 "net/spdy/multiplexed_http_stream.cc",
2620 "net/spdy/multiplexed_session.cc",
2621 "net/spdy/spdy_buffer.cc",
2622 "net/spdy/spdy_buffer_producer.cc",
2623 "net/spdy/spdy_http_stream.cc",
2624 "net/spdy/spdy_http_utils.cc",
2625 "net/spdy/spdy_log_util.cc",
2626 "net/spdy/spdy_proxy_client_socket.cc",
2627 "net/spdy/spdy_read_queue.cc",
2628 "net/spdy/spdy_session.cc",
2629 "net/spdy/spdy_session_key.cc",
2630 "net/spdy/spdy_session_pool.cc",
2631 "net/spdy/spdy_stream.cc",
2632 "net/spdy/spdy_write_queue.cc",
2633 "net/ssl/cert_compression.cc",
2634 "net/ssl/client_cert_identity.cc",
2635 "net/ssl/openssl_ssl_util.cc",
2636 "net/ssl/ssl_cert_request_info.cc",
2637 "net/ssl/ssl_cipher_suite_names.cc",
2638 "net/ssl/ssl_client_auth_cache.cc",
2639 "net/ssl/ssl_client_session_cache.cc",
2640 "net/ssl/ssl_config.cc",
2641 "net/ssl/ssl_config_service.cc",
2642 "net/ssl/ssl_config_service_defaults.cc",
2643 "net/ssl/ssl_info.cc",
2644 "net/ssl/ssl_key_logger.cc",
2645 "net/ssl/ssl_key_logger_impl.cc",
2646 "net/ssl/ssl_platform_key_android.cc",
2647 "net/ssl/ssl_platform_key_util.cc",
2648 "net/ssl/ssl_private_key.cc",
2649 "net/ssl/ssl_server_config.cc",
2650 "net/ssl/threaded_ssl_private_key.cc",
2651 "net/url_request/redirect_info.cc",
2652 "net/url_request/redirect_util.cc",
2653 "net/url_request/report_sender.cc",
2654 "net/url_request/static_http_user_agent_settings.cc",
2655 "net/url_request/url_request.cc",
2656 "net/url_request/url_request_context.cc",
2657 "net/url_request/url_request_context_builder.cc",
2658 "net/url_request/url_request_context_getter.cc",
2659 "net/url_request/url_request_error_job.cc",
2660 "net/url_request/url_request_filter.cc",
2661 "net/url_request/url_request_http_job.cc",
2662 "net/url_request/url_request_interceptor.cc",
2663 "net/url_request/url_request_job.cc",
2664 "net/url_request/url_request_job_factory.cc",
2665 "net/url_request/url_request_netlog_params.cc",
2666 "net/url_request/url_request_redirect_job.cc",
2667 "net/url_request/url_request_throttler_entry.cc",
2668 "net/url_request/url_request_throttler_manager.cc",
2669 "net/url_request/view_cache_helper.cc",
2670 "net/url_request/websocket_handshake_userdata_key.cc",
2671 ],
2672 shared_libs: [
2673 "libandroid",
2674 "liblog",
Patrick Rohrc5980782022-11-07 16:34:03 -08002675 "libprotobuf-cpp-lite",
Patrick Rohrcb035942022-11-01 12:12:52 -07002676 ],
2677 static_libs: [
2678 "cronet_aml_base_base",
2679 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
2680 "cronet_aml_crypto_crypto",
Patrick Rohrcb035942022-11-01 12:12:52 -07002681 "cronet_aml_net_preload_decoder",
Patrick Rohrcb035942022-11-01 12:12:52 -07002682 "cronet_aml_net_third_party_quiche_quiche",
2683 "cronet_aml_net_uri_template",
2684 "cronet_aml_third_party_boringssl_boringssl",
2685 "cronet_aml_third_party_brotli_dec",
2686 "cronet_aml_third_party_protobuf_protobuf_lite",
2687 "cronet_aml_third_party_zlib_zlib",
2688 "cronet_aml_url_url",
2689 ],
2690 generated_headers: [
2691 "cronet_aml_base_debugging_buildflags",
2692 "cronet_aml_base_logging_buildflags",
2693 "cronet_aml_build_branding_buildflags",
2694 "cronet_aml_build_chromeos_buildflags",
2695 "cronet_aml_net_buildflags",
2696 "cronet_aml_net_ios_cronet_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -08002697 "cronet_aml_net_isolation_info_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07002698 "cronet_aml_net_net_jni_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -08002699 "cronet_aml_net_net_nqe_proto_gen_headers",
2700 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07002701 "cronet_aml_tools_grit_grit_sources",
2702 "cronet_aml_tools_gritsettings_default_resource_ids",
2703 "cronet_aml_url_buildflags",
2704 ],
2705 export_generated_headers: [
2706 "cronet_aml_base_debugging_buildflags",
2707 "cronet_aml_base_logging_buildflags",
2708 "cronet_aml_build_branding_buildflags",
2709 "cronet_aml_build_chromeos_buildflags",
2710 "cronet_aml_net_buildflags",
2711 "cronet_aml_net_ios_cronet_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -08002712 "cronet_aml_net_isolation_info_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07002713 "cronet_aml_net_net_jni_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -08002714 "cronet_aml_net_net_nqe_proto_gen_headers",
2715 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07002716 "cronet_aml_tools_grit_grit_sources",
2717 "cronet_aml_tools_gritsettings_default_resource_ids",
2718 "cronet_aml_url_buildflags",
2719 ],
2720 defaults: [
2721 "cronet_aml_defaults",
2722 ],
2723 cflags: [
2724 "-DANDROID",
2725 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2726 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
2727 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
2728 "-DDCHECK_ALWAYS_ON=1",
2729 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
2730 "-DENABLE_BUILT_IN_DNS",
2731 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
2732 "-DGOOGLE_PROTOBUF_NO_RTTI",
2733 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
2734 "-DHAVE_PTHREAD",
2735 "-DHAVE_SYS_UIO_H",
2736 "-DNET_IMPLEMENTATION",
2737 "-D_DEBUG",
2738 "-D_GNU_SOURCE",
2739 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
2740 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2741 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
2742 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2743 "-D__STDC_CONSTANT_MACROS",
2744 "-D__STDC_FORMAT_MACROS",
2745 ],
2746 local_include_dirs: [
2747 "./",
2748 "buildtools/third_party/libc++/",
2749 "buildtools/third_party/libc++/trunk/include",
2750 "buildtools/third_party/libc++abi/trunk/include",
2751 "net/third_party/quiche/overrides/",
2752 "net/third_party/quiche/src/",
2753 "net/third_party/quiche/src/quiche/common/platform/default/",
2754 "third_party/abseil-cpp/",
2755 "third_party/boringssl/src/include/",
2756 "third_party/brotli/include/",
2757 "third_party/protobuf/src/",
2758 "third_party/zlib/",
2759 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
2760 ],
2761 header_libs: [
2762 "jni_headers",
2763 ],
2764 cpp_std: "c++20",
2765}
2766
2767// GN: //net:net_deps
2768filegroup {
2769 name: "cronet_aml_net_net_deps",
2770}
2771
2772// GN: //net:net_export_header
2773filegroup {
2774 name: "cronet_aml_net_net_export_header",
2775}
2776
2777// GN: //net:net_jni_headers
2778genrule {
2779 name: "cronet_aml_net_net_jni_headers",
2780 srcs: [
2781 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
2782 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
2783 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
2784 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
2785 "net/android/java/src/org/chromium/net/DnsStatus.java",
2786 "net/android/java/src/org/chromium/net/GURLUtils.java",
2787 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
2788 "net/android/java/src/org/chromium/net/HttpUtil.java",
2789 "net/android/java/src/org/chromium/net/NetStringUtil.java",
2790 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
2791 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
2792 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
2793 "net/android/java/src/org/chromium/net/X509Util.java",
2794 ],
2795 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2796 "long " +
2797 " " +
2798 " " +
2799 "--output_dir " +
2800 "$(genDir)/net/net_jni_headers " +
2801 "--includes " +
2802 "base/android/jni_generator/jni_generator_helper.h " +
2803 "--use_proxy_hash " +
2804 "--output_name " +
2805 "AndroidCertVerifyResult_jni.h " +
2806 "--output_name " +
2807 "AndroidKeyStore_jni.h " +
2808 "--output_name " +
2809 "AndroidNetworkLibrary_jni.h " +
2810 "--output_name " +
2811 "AndroidTrafficStats_jni.h " +
2812 "--output_name " +
2813 "DnsStatus_jni.h " +
2814 "--output_name " +
2815 "GURLUtils_jni.h " +
2816 "--output_name " +
2817 "HttpNegotiateAuthenticator_jni.h " +
2818 "--output_name " +
2819 "HttpUtil_jni.h " +
2820 "--output_name " +
2821 "NetStringUtil_jni.h " +
2822 "--output_name " +
2823 "NetworkActiveNotifier_jni.h " +
2824 "--output_name " +
2825 "NetworkChangeNotifier_jni.h " +
2826 "--output_name " +
2827 "ProxyChangeListener_jni.h " +
2828 "--output_name " +
2829 "X509Util_jni.h " +
2830 "--input_file " +
2831 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
2832 "--input_file " +
2833 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
2834 "--input_file " +
2835 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
2836 "--input_file " +
2837 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
2838 "--input_file " +
2839 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
2840 "--input_file " +
2841 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
2842 "--input_file " +
2843 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
2844 "--input_file " +
2845 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
2846 "--input_file " +
2847 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
2848 "--input_file " +
2849 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
2850 "--input_file " +
2851 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
2852 "--input_file " +
2853 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
2854 "--input_file " +
2855 "$(location net/android/java/src/org/chromium/net/X509Util.java)",
2856 out: [
2857 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
2858 "net/net_jni_headers/AndroidKeyStore_jni.h",
2859 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
2860 "net/net_jni_headers/AndroidTrafficStats_jni.h",
2861 "net/net_jni_headers/DnsStatus_jni.h",
2862 "net/net_jni_headers/GURLUtils_jni.h",
2863 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
2864 "net/net_jni_headers/HttpUtil_jni.h",
2865 "net/net_jni_headers/NetStringUtil_jni.h",
2866 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
2867 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
2868 "net/net_jni_headers/ProxyChangeListener_jni.h",
2869 "net/net_jni_headers/X509Util_jni.h",
2870 ],
2871 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00002872 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -07002873 "base/android/jni_generator/jni_generator.py",
2874 "build/android/gyp/util/__init__.py",
2875 "build/android/gyp/util/build_utils.py",
2876 "build/gn_helpers.py",
2877 ],
2878}
2879
2880// GN: //net:net_nqe_proto
Patrick Rohrcb035942022-11-01 12:12:52 -07002881genrule {
2882 name: "cronet_aml_net_net_nqe_proto_gen",
2883 srcs: [
2884 "net/nqe/proto/network_id_proto.proto",
2885 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09002886 tools: [
2887 "aprotoc",
2888 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08002889 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07002890 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08002891 "external/chromium_org/net/nqe/proto/network_id_proto.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002892 ],
2893}
2894
Patrick Rohrc5980782022-11-07 16:34:03 -08002895// GN: //net:net_nqe_proto
Motomu Utsumic6277d92022-11-07 15:15:17 +09002896genrule {
2897 name: "cronet_aml_net_net_nqe_proto_gen_headers",
2898 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +09002899 "net/nqe/proto/network_id_proto.proto",
2900 ],
2901 tools: [
2902 "aprotoc",
2903 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08002904 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002905 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08002906 "external/chromium_org/net/nqe/proto/network_id_proto.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07002907 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08002908 export_include_dirs: [
2909 ".",
2910 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07002911 ],
2912}
2913
2914// GN: //net:net_public_deps
2915filegroup {
2916 name: "cronet_aml_net_net_public_deps",
2917}
2918
2919// GN: //net:net_resources
2920filegroup {
2921 name: "cronet_aml_net_net_resources",
2922}
2923
2924// GN: //net:net_resources_grit
2925genrule {
2926 name: "cronet_aml_net_net_resources_grit",
2927 cmd: "$(location tools/grit/grit.py) -i " +
Mohannad Farrag033c9d62022-11-07 14:55:49 +00002928 "$(location net/base/net_resources.grd) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07002929 "build " +
2930 "-o " +
Mohannad Farrag033c9d62022-11-07 14:55:49 +00002931 "$(genDir)/net " +
Patrick Rohrcb035942022-11-01 12:12:52 -07002932 "--depdir " +
2933 ". " +
Mohannad Farrag033c9d62022-11-07 14:55:49 +00002934 " " +
2935 " " +
Patrick Rohrcb035942022-11-01 12:12:52 -07002936 "--write-only-new " +
2937 "1 " +
2938 "--depend-on-stamp " +
2939 "-D " +
2940 "DEVTOOLS_GRD_PATH " +
2941 "gen/third_party/devtools-frontend/src/front_end/devtools_resources " +
2942 "-D " +
2943 "SHARED_INTERMEDIATE_DIR " +
2944 "gen " +
2945 "-D " +
2946 "_google_chrome " +
2947 "false " +
2948 "-D " +
2949 "_google_chrome_for_testing " +
2950 "false " +
2951 "-D " +
2952 "chromeos_ash " +
2953 "false " +
2954 "-D " +
2955 "chromeos_lacros " +
2956 "false " +
2957 "-D " +
2958 "reven " +
2959 "false " +
2960 "-D " +
2961 "toolkit_views " +
2962 "false " +
2963 "-D " +
2964 "use_aura " +
2965 "false " +
2966 "-D " +
2967 "use_ozone " +
2968 "false " +
2969 "-D " +
2970 "use_titlecase " +
2971 "false " +
2972 "-E " +
2973 "root_gen_dir " +
2974 "gen " +
2975 "-E " +
2976 "root_src_dir " +
2977 "../../ " +
2978 "-E " +
2979 "CHROMIUM_BUILD " +
2980 "chromium " +
2981 "-E " +
2982 "ANDROID_JAVA_TAGGED_ONLY " +
2983 "true " +
2984 "-t " +
2985 "android " +
2986 "-f " +
2987 "gen/tools/gritsettings/default_resource_ids " +
2988 "--assert-file-list " +
2989 "obj/net/net_resources_expected_outputs.txt",
2990 out: [
2991 "net/grit/net_resources.h",
2992 "net/net_resources.pak",
2993 "net/net_resources.pak.info",
2994 "net/net_resources_grit.d.stamp",
2995 ],
2996 tool_files: [
2997 "net/base/net_resources.grd",
2998 "out/test/gen/tools/gritsettings/default_resource_ids",
2999 "out/test/obj/net/net_resources_expected_outputs.txt",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00003000 "third_party/six/src/six.py",
3001 "tools/grit/**/*.py",
Patrick Rohrcb035942022-11-01 12:12:52 -07003002 "tools/grit/grit.py",
3003 ],
3004}
3005
3006// GN: //net:preload_decoder
3007cc_library_static {
3008 name: "cronet_aml_net_preload_decoder",
3009 srcs: [
3010 "net/extras/preload_data/decoder.cc",
3011 ],
3012 shared_libs: [
3013 "libandroid",
3014 "liblog",
3015 ],
3016 static_libs: [
3017 "cronet_aml_base_base",
3018 ],
3019 defaults: [
3020 "cronet_aml_defaults",
3021 ],
3022 cflags: [
3023 "-DANDROID",
3024 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3025 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3026 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3027 "-DDCHECK_ALWAYS_ON=1",
3028 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3029 "-DHAVE_SYS_UIO_H",
3030 "-D_DEBUG",
3031 "-D_GNU_SOURCE",
3032 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3033 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3034 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3035 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3036 "-D__STDC_CONSTANT_MACROS",
3037 "-D__STDC_FORMAT_MACROS",
3038 ],
3039 local_include_dirs: [
3040 "./",
3041 "buildtools/third_party/libc++/",
3042 "buildtools/third_party/libc++/trunk/include",
3043 "buildtools/third_party/libc++abi/trunk/include",
3044 "third_party/abseil-cpp/",
3045 "third_party/boringssl/src/include/",
3046 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3047 ],
3048 cpp_std: "c++20",
3049}
3050
3051// GN: //net/third_party/quiche:net_quic_proto
Patrick Rohrcb035942022-11-01 12:12:52 -07003052genrule {
3053 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen",
3054 srcs: [
3055 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
3056 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
3057 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
3058 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003059 tools: [
3060 "aprotoc",
3061 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003062 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07003063 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003064 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
3065 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
3066 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003067 ],
3068}
3069
Patrick Rohrc5980782022-11-07 16:34:03 -08003070// GN: //net/third_party/quiche:net_quic_proto
Motomu Utsumic6277d92022-11-07 15:15:17 +09003071genrule {
3072 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
3073 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +09003074 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
3075 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
3076 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
3077 ],
3078 tools: [
3079 "aprotoc",
3080 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003081 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003082 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003083 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
3084 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
3085 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003086 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003087 export_include_dirs: [
3088 ".",
3089 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07003090 ],
3091}
3092
3093// GN: //net/third_party/quiche:net_quic_test_tools_proto
Patrick Rohrcb035942022-11-01 12:12:52 -07003094genrule {
3095 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
3096 srcs: [
3097 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
3098 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003099 tools: [
3100 "aprotoc",
3101 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003102 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07003103 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003104 "external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003105 ],
3106}
3107
Patrick Rohrc5980782022-11-07 16:34:03 -08003108// GN: //net/third_party/quiche:net_quic_test_tools_proto
Motomu Utsumic6277d92022-11-07 15:15:17 +09003109genrule {
3110 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
3111 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +09003112 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
3113 ],
3114 tools: [
3115 "aprotoc",
3116 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003117 cmd: "mkdir -p $(genDir)/external/chromium_org/ && $(location aprotoc) --proto_path=external/chromium_org --cpp_out=lite=true:$(genDir)/external/chromium_org/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003118 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003119 "external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003120 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003121 export_include_dirs: [
3122 ".",
3123 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07003124 ],
3125}
3126
3127// GN: //net/third_party/quiche:quiche
3128cc_library_static {
3129 name: "cronet_aml_net_third_party_quiche_quiche",
3130 srcs: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003131 ":cronet_aml_net_third_party_quiche_net_quic_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07003132 ":cronet_aml_third_party_abseil_cpp_absl",
3133 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
3134 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
3135 ":cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
3136 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
3137 ":cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
3138 ":cronet_aml_third_party_abseil_cpp_absl_base_config",
3139 ":cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
3140 ":cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
3141 ":cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
3142 ":cronet_aml_third_party_abseil_cpp_absl_base_endian",
3143 ":cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
3144 ":cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
3145 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
3146 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
3147 ":cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
3148 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
3149 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
3150 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
3151 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
3152 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
3153 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
3154 ":cronet_aml_third_party_abseil_cpp_absl_container_btree",
3155 ":cronet_aml_third_party_abseil_cpp_absl_container_common",
3156 ":cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
3157 ":cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
3158 ":cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
3159 ":cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
3160 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
3161 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
3162 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
3163 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
3164 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
3165 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
3166 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
3167 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
3168 ":cronet_aml_third_party_abseil_cpp_absl_container_layout",
3169 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
3170 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
3171 ":cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
3172 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
3173 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
3174 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
3175 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
3176 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
3177 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
3178 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
3179 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
3180 ":cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
3181 ":cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
3182 ":cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
3183 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
3184 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
3185 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
3186 ":cronet_aml_third_party_abseil_cpp_absl_memory_memory",
3187 ":cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
3188 ":cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
3189 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
3190 ":cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
3191 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
3192 ":cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
3193 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
3194 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
3195 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
3196 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
3197 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
3198 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
3199 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
3200 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
3201 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
3202 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
3203 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
3204 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
3205 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
3206 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
3207 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
3208 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
3209 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
3210 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
3211 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
3212 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
3213 ":cronet_aml_third_party_abseil_cpp_absl_random_random",
3214 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
3215 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
3216 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
3217 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
3218 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
3219 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
3220 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
3221 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
3222 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
3223 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
3224 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
3225 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
3226 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
3227 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
3228 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
3229 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
3230 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
3231 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
3232 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
3233 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
3234 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
3235 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
3236 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
3237 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
3238 ":cronet_aml_third_party_abseil_cpp_absl_types_compare",
3239 ":cronet_aml_third_party_abseil_cpp_absl_types_optional",
3240 ":cronet_aml_third_party_abseil_cpp_absl_types_span",
3241 ":cronet_aml_third_party_abseil_cpp_absl_types_variant",
3242 ":cronet_aml_third_party_abseil_cpp_absl_utility_utility",
3243 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
3244 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
3245 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
3246 "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
3247 "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
3248 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
3249 "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
3250 "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
3251 "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
3252 "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
3253 "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
3254 "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
3255 "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
3256 "net/third_party/quiche/src/quiche/common/quiche_random.cc",
3257 "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
3258 "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
3259 "net/third_party/quiche/src/quiche/common/structured_headers.cc",
3260 "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
3261 "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
3262 "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
3263 "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
3264 "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
3265 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
3266 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
3267 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
3268 "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
3269 "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
3270 "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
3271 "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
3272 "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
3273 "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
3274 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
3275 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
3276 "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
3277 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
3278 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
3279 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
3280 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
3281 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
3282 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
3283 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
3284 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
3285 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
3286 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
3287 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
3288 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
3289 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
3290 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
3291 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
3292 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
3293 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
3294 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
3295 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
3296 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
3297 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
3298 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
3299 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
3300 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
3301 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
3302 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
3303 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
3304 "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
3305 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
3306 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
3307 "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
3308 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
3309 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
3310 "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
3311 "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
3312 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
3313 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
3314 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
3315 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
3316 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
3317 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
3318 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
3319 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
3320 "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
3321 "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
3322 "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
3323 "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
3324 "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
3325 "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
3326 "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
3327 "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
3328 "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
3329 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
3330 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
3331 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
3332 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
3333 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
3334 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
3335 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
3336 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
3337 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
3338 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
3339 "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
3340 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
3341 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
3342 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
3343 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
3344 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
3345 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
3346 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
3347 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
3348 "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
3349 "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
3350 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
3351 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
3352 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
3353 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
3354 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
3355 "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
3356 "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
3357 "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
3358 "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
3359 "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
3360 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
3361 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
3362 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
3363 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
3364 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
3365 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
3366 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
3367 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
3368 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
3369 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
3370 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
3371 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
3372 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
3373 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
3374 "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
3375 "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
3376 "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
3377 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
3378 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
3379 "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
3380 "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
3381 "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
3382 "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
3383 "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
3384 "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
3385 "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
3386 "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
3387 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
3388 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
3389 "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
3390 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
3391 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
3392 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
3393 "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
3394 "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
3395 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
3396 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
3397 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
3398 "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
3399 "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
3400 "net/third_party/quiche/src/quiche/quic/core/http/capsule.cc",
3401 "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
3402 "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
3403 "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
3404 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc",
3405 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc",
3406 "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
3407 "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
3408 "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
3409 "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
3410 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
3411 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
3412 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
3413 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
3414 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
3415 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
3416 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
3417 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
3418 "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc",
3419 "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
3420 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
3421 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
3422 "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
3423 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
3424 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
3425 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
3426 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
3427 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
3428 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
3429 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
3430 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
3431 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
3432 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
3433 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
3434 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
3435 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
3436 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
3437 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
3438 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
3439 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
3440 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
3441 "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
3442 "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
3443 "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
3444 "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
3445 "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
3446 "net/third_party/quiche/src/quiche/quic/core/quic_clock.cc",
3447 "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
3448 "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
3449 "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
3450 "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
3451 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
3452 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
3453 "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
3454 "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
3455 "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
3456 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
3457 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
3458 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
3459 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
3460 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
3461 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
3462 "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
3463 "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
3464 "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
3465 "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
3466 "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
3467 "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
3468 "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
3469 "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
3470 "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
3471 "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
3472 "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
3473 "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
3474 "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
3475 "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
3476 "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
3477 "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
3478 "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
3479 "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
3480 "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
3481 "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
3482 "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
3483 "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
3484 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
3485 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
3486 "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
3487 "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
3488 "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
3489 "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
3490 "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
3491 "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
3492 "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
3493 "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
3494 "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
3495 "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
3496 "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
3497 "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
3498 "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
3499 "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
3500 "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
3501 "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
3502 "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
3503 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
3504 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
3505 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
3506 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
3507 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
3508 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
3509 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
3510 "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
3511 "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc",
3512 "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc",
3513 "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
3514 "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
3515 "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
3516 "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
3517 "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
3518 "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc",
3519 "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc",
3520 "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
3521 "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc",
3522 ],
3523 shared_libs: [
3524 "libandroid",
3525 "liblog",
Patrick Rohrc5980782022-11-07 16:34:03 -08003526 "libprotobuf-cpp-lite",
Patrick Rohrcb035942022-11-01 12:12:52 -07003527 ],
3528 static_libs: [
3529 "cronet_aml_base_base",
Patrick Rohrcb035942022-11-01 12:12:52 -07003530 "cronet_aml_net_uri_template",
3531 "cronet_aml_third_party_boringssl_boringssl",
3532 "cronet_aml_third_party_protobuf_protobuf_lite",
3533 "cronet_aml_third_party_zlib_zlib",
3534 "cronet_aml_url_url",
3535 ],
3536 generated_headers: [
3537 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -08003538 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07003539 ],
3540 export_generated_headers: [
3541 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -08003542 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07003543 ],
3544 defaults: [
3545 "cronet_aml_defaults",
3546 ],
3547 cflags: [
3548 "-DABSL_ALLOCATOR_NOTHROW=1",
3549 "-DANDROID",
3550 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3551 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3552 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3553 "-DDCHECK_ALWAYS_ON=1",
3554 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3555 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
3556 "-DGOOGLE_PROTOBUF_NO_RTTI",
3557 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
3558 "-DHAVE_PTHREAD",
3559 "-DHAVE_SYS_UIO_H",
3560 "-DIS_QUICHE_IMPL",
3561 "-D_DEBUG",
3562 "-D_GNU_SOURCE",
3563 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3564 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3565 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3566 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3567 "-D__STDC_CONSTANT_MACROS",
3568 "-D__STDC_FORMAT_MACROS",
3569 ],
3570 local_include_dirs: [
3571 "./",
3572 "buildtools/third_party/libc++/",
3573 "buildtools/third_party/libc++/trunk/include",
3574 "buildtools/third_party/libc++abi/trunk/include",
3575 "net/third_party/quiche/overrides/",
3576 "net/third_party/quiche/src/",
3577 "net/third_party/quiche/src/quiche/common/platform/default/",
3578 "third_party/abseil-cpp/",
3579 "third_party/boringssl/src/include/",
3580 "third_party/protobuf/src/",
3581 "third_party/zlib/",
3582 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3583 ],
3584 cpp_std: "c++20",
3585}
3586
3587// GN: //net/tools/root_store_tool:root_store_tool
3588cc_binary {
3589 name: "cronet_aml_net_tools_root_store_tool_root_store_tool",
3590 srcs: [
3591 ":cronet_aml_buildtools_third_party_libc___libc__",
3592 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Patrick Rohrc5980782022-11-07 16:34:03 -08003593 ":cronet_aml_net_cert_root_store_proto_full_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07003594 "net/tools/root_store_tool/root_store_tool.cc",
3595 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003596 shared_libs: [
3597 "libprotobuf-cpp-lite",
3598 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003599 static_libs: [
3600 "cronet_aml_base_base",
3601 "cronet_aml_crypto_crypto",
Patrick Rohrcb035942022-11-01 12:12:52 -07003602 "cronet_aml_third_party_boringssl_boringssl",
3603 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003604 generated_headers: [
3605 "cronet_aml_net_cert_root_store_proto_full_gen_headers",
3606 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003607 defaults: [
3608 "cronet_aml_defaults",
3609 ],
3610 cflags: [
3611 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3612 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3613 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
3614 "-DDCHECK_ALWAYS_ON=1",
3615 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3616 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
3617 "-DGOOGLE_PROTOBUF_NO_RTTI",
3618 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
3619 "-DHAVE_PTHREAD",
3620 "-DLIBCXXABI_SILENT_TERMINATE",
3621 "-DLIBCXX_BUILDING_LIBCXXABI",
3622 "-DUSE_AURA=1",
3623 "-DUSE_OZONE=1",
3624 "-DUSE_UDEV",
3625 "-D_DEBUG",
3626 "-D_FILE_OFFSET_BITS=64",
3627 "-D_GNU_SOURCE",
3628 "-D_LARGEFILE64_SOURCE",
3629 "-D_LARGEFILE_SOURCE",
3630 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3631 "-D_LIBCPP_BUILDING_LIBRARY",
3632 "-D_LIBCPP_CONSTINIT=constinit",
3633 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3634 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3635 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
3636 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3637 "-D__STDC_CONSTANT_MACROS",
3638 "-D__STDC_FORMAT_MACROS",
3639 ],
3640 local_include_dirs: [
3641 "./",
3642 "buildtools/third_party/libc++/",
3643 "buildtools/third_party/libc++/trunk/include",
3644 "buildtools/third_party/libc++/trunk/src/",
3645 "buildtools/third_party/libc++abi/trunk/include",
3646 "third_party/abseil-cpp/",
3647 "third_party/boringssl/src/include/",
3648 "third_party/protobuf/src/",
3649 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
3650 ],
3651 cpp_std: "c++20",
3652}
3653
3654// GN: //net/traffic_annotation:traffic_annotation
3655filegroup {
3656 name: "cronet_aml_net_traffic_annotation_traffic_annotation",
3657 srcs: [
3658 "net/traffic_annotation/network_traffic_annotation_android.cc",
3659 ],
3660}
3661
3662// GN: //net:uri_template
3663cc_library_static {
3664 name: "cronet_aml_net_uri_template",
3665 srcs: [
3666 "net/third_party/uri_template/uri_template.cc",
3667 ],
3668 shared_libs: [
3669 "libandroid",
3670 "liblog",
3671 ],
3672 static_libs: [
3673 "cronet_aml_base_base",
3674 ],
3675 defaults: [
3676 "cronet_aml_defaults",
3677 ],
3678 cflags: [
3679 "-DANDROID",
3680 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3681 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3682 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3683 "-DDCHECK_ALWAYS_ON=1",
3684 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3685 "-DHAVE_SYS_UIO_H",
3686 "-DIS_URI_TEMPLATE_IMPL",
3687 "-D_DEBUG",
3688 "-D_GNU_SOURCE",
3689 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3690 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3691 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3692 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3693 "-D__STDC_CONSTANT_MACROS",
3694 "-D__STDC_FORMAT_MACROS",
3695 ],
3696 local_include_dirs: [
3697 "./",
3698 "buildtools/third_party/libc++/",
3699 "buildtools/third_party/libc++/trunk/include",
3700 "buildtools/third_party/libc++abi/trunk/include",
3701 "third_party/abseil-cpp/",
3702 "third_party/boringssl/src/include/",
3703 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3704 ],
3705 cpp_std: "c++20",
3706}
3707
Patrick Rohrcc377df2022-10-28 09:27:15 -07003708// GN: //third_party/abseil-cpp:absl
3709filegroup {
3710 name: "cronet_aml_third_party_abseil_cpp_absl",
3711}
3712
3713// GN: //third_party/abseil-cpp/absl/algorithm:algorithm
3714filegroup {
3715 name: "cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
3716}
3717
3718// GN: //third_party/abseil-cpp/absl/algorithm:container
3719filegroup {
3720 name: "cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
3721}
3722
3723// GN: //third_party/abseil-cpp/absl/base:atomic_hook
3724filegroup {
3725 name: "cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
3726}
3727
3728// GN: //third_party/abseil-cpp/absl/base:base
3729filegroup {
3730 name: "cronet_aml_third_party_abseil_cpp_absl_base_base",
3731 srcs: [
3732 "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
3733 "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
3734 "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
3735 "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
3736 "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
3737 ],
3738}
3739
3740// GN: //third_party/abseil-cpp/absl/base:base_internal
3741filegroup {
3742 name: "cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
3743}
3744
3745// GN: //third_party/abseil-cpp/absl/base:config
3746filegroup {
3747 name: "cronet_aml_third_party_abseil_cpp_absl_base_config",
3748}
3749
3750// GN: //third_party/abseil-cpp/absl/base:core_headers
3751filegroup {
3752 name: "cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
3753}
3754
3755// GN: //third_party/abseil-cpp/absl/base:cycleclock_internal
3756filegroup {
3757 name: "cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
3758}
3759
3760// GN: //third_party/abseil-cpp/absl/base:dynamic_annotations
3761filegroup {
3762 name: "cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
3763}
3764
3765// GN: //third_party/abseil-cpp/absl/base:endian
3766filegroup {
3767 name: "cronet_aml_third_party_abseil_cpp_absl_base_endian",
3768}
3769
3770// GN: //third_party/abseil-cpp/absl/base:errno_saver
3771filegroup {
3772 name: "cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
3773}
3774
3775// GN: //third_party/abseil-cpp/absl/base:fast_type_id
3776filegroup {
3777 name: "cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
3778}
3779
3780// GN: //third_party/abseil-cpp/absl/base:log_severity
3781filegroup {
3782 name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
3783 srcs: [
3784 "third_party/abseil-cpp/absl/base/log_severity.cc",
3785 ],
3786}
3787
3788// GN: //third_party/abseil-cpp/absl/base:malloc_internal
3789filegroup {
3790 name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
3791 srcs: [
3792 "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
3793 ],
3794}
3795
3796// GN: //third_party/abseil-cpp/absl/base:prefetch
3797filegroup {
3798 name: "cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
3799}
3800
3801// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal
3802filegroup {
3803 name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
3804 srcs: [
3805 "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
3806 ],
3807}
3808
3809// GN: //third_party/abseil-cpp/absl/base:spinlock_wait
3810filegroup {
3811 name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
3812 srcs: [
3813 "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
3814 ],
3815}
3816
3817// GN: //third_party/abseil-cpp/absl/base:strerror
3818filegroup {
3819 name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror",
3820 srcs: [
3821 "third_party/abseil-cpp/absl/base/internal/strerror.cc",
3822 ],
3823}
3824
3825// GN: //third_party/abseil-cpp/absl/base:throw_delegate
3826filegroup {
3827 name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
3828 srcs: [
3829 "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
3830 ],
3831}
3832
3833// GN: //third_party/abseil-cpp/absl/cleanup:cleanup
3834filegroup {
3835 name: "cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
3836}
3837
3838// GN: //third_party/abseil-cpp/absl/cleanup:cleanup_internal
3839filegroup {
3840 name: "cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
3841}
3842
3843// GN: //third_party/abseil-cpp/absl/container:btree
3844filegroup {
3845 name: "cronet_aml_third_party_abseil_cpp_absl_container_btree",
3846}
3847
3848// GN: //third_party/abseil-cpp/absl/container:common
3849filegroup {
3850 name: "cronet_aml_third_party_abseil_cpp_absl_container_common",
3851}
3852
3853// GN: //third_party/abseil-cpp/absl/container:common_policy_traits
3854filegroup {
3855 name: "cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
3856}
3857
3858// GN: //third_party/abseil-cpp/absl/container:compressed_tuple
3859filegroup {
3860 name: "cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
3861}
3862
3863// GN: //third_party/abseil-cpp/absl/container:container_memory
3864filegroup {
3865 name: "cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
3866}
3867
3868// GN: //third_party/abseil-cpp/absl/container:fixed_array
3869filegroup {
3870 name: "cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
3871}
3872
3873// GN: //third_party/abseil-cpp/absl/container:flat_hash_map
3874filegroup {
3875 name: "cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
3876}
3877
3878// GN: //third_party/abseil-cpp/absl/container:flat_hash_set
3879filegroup {
3880 name: "cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
3881}
3882
3883// GN: //third_party/abseil-cpp/absl/container:hash_function_defaults
3884filegroup {
3885 name: "cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
3886}
3887
3888// GN: //third_party/abseil-cpp/absl/container:hash_policy_traits
3889filegroup {
3890 name: "cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
3891}
3892
3893// GN: //third_party/abseil-cpp/absl/container:hashtable_debug_hooks
3894filegroup {
3895 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
3896}
3897
3898// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler
3899filegroup {
3900 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
3901 srcs: [
3902 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
3903 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
3904 ],
3905}
3906
3907// GN: //third_party/abseil-cpp/absl/container:inlined_vector
3908filegroup {
3909 name: "cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
3910}
3911
3912// GN: //third_party/abseil-cpp/absl/container:inlined_vector_internal
3913filegroup {
3914 name: "cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
3915}
3916
3917// GN: //third_party/abseil-cpp/absl/container:layout
3918filegroup {
3919 name: "cronet_aml_third_party_abseil_cpp_absl_container_layout",
3920}
3921
3922// GN: //third_party/abseil-cpp/absl/container:node_hash_map
3923filegroup {
3924 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
3925}
3926
3927// GN: //third_party/abseil-cpp/absl/container:node_hash_set
3928filegroup {
3929 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
3930}
3931
3932// GN: //third_party/abseil-cpp/absl/container:node_slot_policy
3933filegroup {
3934 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
3935}
3936
3937// GN: //third_party/abseil-cpp/absl/container:raw_hash_map
3938filegroup {
3939 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
3940}
3941
3942// GN: //third_party/abseil-cpp/absl/container:raw_hash_set
3943filegroup {
3944 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
3945 srcs: [
3946 "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
3947 ],
3948}
3949
3950// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal
3951filegroup {
3952 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
3953 srcs: [
3954 "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
3955 "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
3956 "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
3957 ],
3958}
3959
3960// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal
3961filegroup {
3962 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
3963 srcs: [
3964 "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
3965 ],
3966}
3967
3968// GN: //third_party/abseil-cpp/absl/debugging:examine_stack
3969filegroup {
3970 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
3971 srcs: [
3972 "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
3973 ],
3974}
3975
3976// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler
3977filegroup {
3978 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
3979 srcs: [
3980 "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
3981 ],
3982}
3983
3984// GN: //third_party/abseil-cpp/absl/debugging:stacktrace
3985filegroup {
3986 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
3987 srcs: [
3988 "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
3989 ],
3990}
3991
3992// GN: //third_party/abseil-cpp/absl/debugging:symbolize
3993filegroup {
3994 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
3995 srcs: [
3996 "third_party/abseil-cpp/absl/debugging/symbolize.cc",
3997 ],
3998}
3999
4000// GN: //third_party/abseil-cpp/absl/functional:any_invocable
4001filegroup {
4002 name: "cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
4003}
4004
4005// GN: //third_party/abseil-cpp/absl/functional:bind_front
4006filegroup {
4007 name: "cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
4008}
4009
4010// GN: //third_party/abseil-cpp/absl/functional:function_ref
4011filegroup {
4012 name: "cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
4013}
4014
4015// GN: //third_party/abseil-cpp/absl/hash:city
4016filegroup {
4017 name: "cronet_aml_third_party_abseil_cpp_absl_hash_city",
4018 srcs: [
4019 "third_party/abseil-cpp/absl/hash/internal/city.cc",
4020 ],
4021}
4022
4023// GN: //third_party/abseil-cpp/absl/hash:hash
4024filegroup {
4025 name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash",
4026 srcs: [
4027 "third_party/abseil-cpp/absl/hash/internal/hash.cc",
4028 ],
4029}
4030
4031// GN: //third_party/abseil-cpp/absl/hash:low_level_hash
4032filegroup {
4033 name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
4034 srcs: [
4035 "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
4036 ],
4037}
4038
4039// GN: //third_party/abseil-cpp/absl/memory:memory
4040filegroup {
4041 name: "cronet_aml_third_party_abseil_cpp_absl_memory_memory",
4042}
4043
4044// GN: //third_party/abseil-cpp/absl/meta:type_traits
4045filegroup {
4046 name: "cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
4047}
4048
4049// GN: //third_party/abseil-cpp/absl/numeric:bits
4050filegroup {
4051 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
4052}
4053
4054// GN: //third_party/abseil-cpp/absl/numeric:int128
4055filegroup {
4056 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
4057 srcs: [
4058 "third_party/abseil-cpp/absl/numeric/int128.cc",
4059 ],
4060}
4061
4062// GN: //third_party/abseil-cpp/absl/numeric:representation
4063filegroup {
4064 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
4065}
4066
4067// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased
4068filegroup {
4069 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
4070 srcs: [
4071 "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
4072 ],
4073}
4074
4075// GN: //third_party/abseil-cpp/absl/profiling:sample_recorder
4076filegroup {
4077 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
4078}
4079
4080// GN: //third_party/abseil-cpp/absl/random:distributions
4081filegroup {
4082 name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions",
4083 srcs: [
4084 "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
4085 "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
4086 ],
4087}
4088
4089// GN: //third_party/abseil-cpp/absl/random/internal:distribution_caller
4090filegroup {
4091 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
4092}
4093
4094// GN: //third_party/abseil-cpp/absl/random/internal:fast_uniform_bits
4095filegroup {
4096 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
4097}
4098
4099// GN: //third_party/abseil-cpp/absl/random/internal:fastmath
4100filegroup {
4101 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
4102}
4103
4104// GN: //third_party/abseil-cpp/absl/random/internal:generate_real
4105filegroup {
4106 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
4107}
4108
4109// GN: //third_party/abseil-cpp/absl/random/internal:iostream_state_saver
4110filegroup {
4111 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
4112}
4113
4114// GN: //third_party/abseil-cpp/absl/random/internal:nonsecure_base
4115filegroup {
4116 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
4117}
4118
4119// GN: //third_party/abseil-cpp/absl/random/internal:pcg_engine
4120filegroup {
4121 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
4122}
4123
4124// GN: //third_party/abseil-cpp/absl/random/internal:platform
4125filegroup {
4126 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
4127 srcs: [
4128 "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
4129 ],
4130}
4131
4132// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg
4133filegroup {
4134 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
4135 srcs: [
4136 "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
4137 ],
4138}
4139
4140// GN: //third_party/abseil-cpp/absl/random/internal:randen
4141filegroup {
4142 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
4143 srcs: [
4144 "third_party/abseil-cpp/absl/random/internal/randen.cc",
4145 ],
4146}
4147
4148// GN: //third_party/abseil-cpp/absl/random/internal:randen_engine
4149filegroup {
4150 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
4151}
4152
4153// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes
4154filegroup {
4155 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
4156 srcs: [
4157 "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
4158 ],
4159}
4160
4161// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl
4162filegroup {
4163 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
4164 srcs: [
4165 "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
4166 ],
4167}
4168
4169// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow
4170filegroup {
4171 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
4172 srcs: [
4173 "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
4174 ],
4175}
4176
4177// GN: //third_party/abseil-cpp/absl/random/internal:salted_seed_seq
4178filegroup {
4179 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
4180}
4181
4182// GN: //third_party/abseil-cpp/absl/random/internal:seed_material
4183filegroup {
4184 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
4185 srcs: [
4186 "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
4187 ],
4188}
4189
4190// GN: //third_party/abseil-cpp/absl/random/internal:traits
4191filegroup {
4192 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
4193}
4194
4195// GN: //third_party/abseil-cpp/absl/random/internal:uniform_helper
4196filegroup {
4197 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
4198}
4199
4200// GN: //third_party/abseil-cpp/absl/random/internal:wide_multiply
4201filegroup {
4202 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
4203}
4204
4205// GN: //third_party/abseil-cpp/absl/random:random
4206filegroup {
4207 name: "cronet_aml_third_party_abseil_cpp_absl_random_random",
4208}
4209
4210// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception
4211filegroup {
4212 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
4213 srcs: [
4214 "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
4215 ],
4216}
4217
4218// GN: //third_party/abseil-cpp/absl/random:seed_sequences
4219filegroup {
4220 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
4221 srcs: [
4222 "third_party/abseil-cpp/absl/random/seed_sequences.cc",
4223 ],
4224}
4225
4226// GN: //third_party/abseil-cpp/absl/status:status
4227filegroup {
4228 name: "cronet_aml_third_party_abseil_cpp_absl_status_status",
4229 srcs: [
4230 "third_party/abseil-cpp/absl/status/status.cc",
4231 "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
4232 ],
4233}
4234
4235// GN: //third_party/abseil-cpp/absl/status:statusor
4236filegroup {
4237 name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor",
4238 srcs: [
4239 "third_party/abseil-cpp/absl/status/statusor.cc",
4240 ],
4241}
4242
4243// GN: //third_party/abseil-cpp/absl/strings:cord
4244filegroup {
4245 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord",
4246 srcs: [
4247 "third_party/abseil-cpp/absl/strings/cord.cc",
4248 "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
4249 "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
4250 ],
4251}
4252
4253// GN: //third_party/abseil-cpp/absl/strings:cord_internal
4254filegroup {
4255 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
4256 srcs: [
4257 "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
4258 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
4259 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
4260 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
4261 "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
4262 "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
4263 "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
4264 ],
4265}
4266
4267// GN: //third_party/abseil-cpp/absl/strings:cordz_functions
4268filegroup {
4269 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
4270 srcs: [
4271 "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
4272 ],
4273}
4274
4275// GN: //third_party/abseil-cpp/absl/strings:cordz_handle
4276filegroup {
4277 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
4278 srcs: [
4279 "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
4280 ],
4281}
4282
4283// GN: //third_party/abseil-cpp/absl/strings:cordz_info
4284filegroup {
4285 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
4286 srcs: [
4287 "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
4288 ],
4289}
4290
4291// GN: //third_party/abseil-cpp/absl/strings:cordz_statistics
4292filegroup {
4293 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
4294}
4295
4296// GN: //third_party/abseil-cpp/absl/strings:cordz_update_scope
4297filegroup {
4298 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
4299}
4300
4301// GN: //third_party/abseil-cpp/absl/strings:cordz_update_tracker
4302filegroup {
4303 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
4304}
4305
4306// GN: //third_party/abseil-cpp/absl/strings:internal
4307filegroup {
4308 name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal",
4309 srcs: [
4310 "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
4311 "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
4312 "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
4313 ],
4314}
4315
4316// GN: //third_party/abseil-cpp/absl/strings:str_format
4317filegroup {
4318 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
4319}
4320
4321// GN: //third_party/abseil-cpp/absl/strings:str_format_internal
4322filegroup {
4323 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
4324 srcs: [
4325 "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
4326 "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
4327 "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
4328 "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
4329 "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
4330 "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
4331 ],
4332}
4333
4334// GN: //third_party/abseil-cpp/absl/strings:strings
4335filegroup {
4336 name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings",
4337 srcs: [
4338 "third_party/abseil-cpp/absl/strings/ascii.cc",
4339 "third_party/abseil-cpp/absl/strings/charconv.cc",
4340 "third_party/abseil-cpp/absl/strings/escaping.cc",
4341 "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
4342 "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
4343 "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
4344 "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
4345 "third_party/abseil-cpp/absl/strings/match.cc",
4346 "third_party/abseil-cpp/absl/strings/numbers.cc",
4347 "third_party/abseil-cpp/absl/strings/str_cat.cc",
4348 "third_party/abseil-cpp/absl/strings/str_replace.cc",
4349 "third_party/abseil-cpp/absl/strings/str_split.cc",
4350 "third_party/abseil-cpp/absl/strings/string_view.cc",
4351 "third_party/abseil-cpp/absl/strings/substitute.cc",
4352 ],
4353}
4354
4355// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal
4356filegroup {
4357 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
4358 srcs: [
4359 "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
4360 ],
4361}
4362
4363// GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal
4364filegroup {
4365 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
4366}
4367
4368// GN: //third_party/abseil-cpp/absl/synchronization:synchronization
4369filegroup {
4370 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
4371 srcs: [
4372 "third_party/abseil-cpp/absl/synchronization/barrier.cc",
4373 "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
4374 "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
4375 "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
4376 "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
4377 "third_party/abseil-cpp/absl/synchronization/mutex.cc",
4378 "third_party/abseil-cpp/absl/synchronization/notification.cc",
4379 ],
4380}
4381
4382// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time
4383filegroup {
4384 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
4385 srcs: [
4386 "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
4387 ],
4388}
4389
4390// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone
4391filegroup {
4392 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
4393 srcs: [
4394 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
4395 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
4396 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
4397 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
4398 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
4399 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
4400 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
4401 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
4402 "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
4403 ],
4404}
4405
4406// GN: //third_party/abseil-cpp/absl/time:time
4407filegroup {
4408 name: "cronet_aml_third_party_abseil_cpp_absl_time_time",
4409 srcs: [
4410 "third_party/abseil-cpp/absl/time/civil_time.cc",
4411 "third_party/abseil-cpp/absl/time/clock.cc",
4412 "third_party/abseil-cpp/absl/time/duration.cc",
4413 "third_party/abseil-cpp/absl/time/format.cc",
4414 "third_party/abseil-cpp/absl/time/time.cc",
4415 ],
4416}
4417
4418// GN: //third_party/abseil-cpp/absl/types:bad_optional_access
4419filegroup {
4420 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
4421 srcs: [
4422 "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
4423 ],
4424}
4425
4426// GN: //third_party/abseil-cpp/absl/types:bad_variant_access
4427filegroup {
4428 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
4429 srcs: [
4430 "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
4431 ],
4432}
4433
4434// GN: //third_party/abseil-cpp/absl/types:compare
4435filegroup {
4436 name: "cronet_aml_third_party_abseil_cpp_absl_types_compare",
4437}
4438
4439// GN: //third_party/abseil-cpp/absl/types:optional
4440filegroup {
4441 name: "cronet_aml_third_party_abseil_cpp_absl_types_optional",
4442}
4443
4444// GN: //third_party/abseil-cpp/absl/types:span
4445filegroup {
4446 name: "cronet_aml_third_party_abseil_cpp_absl_types_span",
4447}
4448
4449// GN: //third_party/abseil-cpp/absl/types:variant
4450filegroup {
4451 name: "cronet_aml_third_party_abseil_cpp_absl_types_variant",
4452}
4453
4454// GN: //third_party/abseil-cpp/absl/utility:utility
4455filegroup {
4456 name: "cronet_aml_third_party_abseil_cpp_absl_utility_utility",
4457}
4458
Motomu Utsumifcac4852022-10-26 19:28:31 +09004459// GN: //third_party/android_ndk:cpu_features
4460filegroup {
4461 name: "cronet_aml_third_party_android_ndk_cpu_features",
4462 srcs: [
4463 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
4464 ],
4465}
4466
Patrick Rohrcc377df2022-10-28 09:27:15 -07004467// GN: //third_party/ashmem:ashmem
4468filegroup {
4469 name: "cronet_aml_third_party_ashmem_ashmem",
4470 srcs: [
4471 "third_party/ashmem/ashmem-dev.c",
4472 ],
4473}
4474
4475// GN: //third_party/boringssl:boringssl
4476cc_library_static {
4477 name: "cronet_aml_third_party_boringssl_boringssl",
4478 srcs: [
4479 ":cronet_aml_third_party_boringssl_boringssl_asm",
4480 ":cronet_aml_third_party_boringssl_src_third_party_fiat_fiat_license",
4481 "third_party/boringssl/err_data.c",
4482 "third_party/boringssl/src/crypto/asn1/a_bitstr.c",
4483 "third_party/boringssl/src/crypto/asn1/a_bool.c",
4484 "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c",
4485 "third_party/boringssl/src/crypto/asn1/a_dup.c",
4486 "third_party/boringssl/src/crypto/asn1/a_gentm.c",
4487 "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c",
4488 "third_party/boringssl/src/crypto/asn1/a_int.c",
4489 "third_party/boringssl/src/crypto/asn1/a_mbstr.c",
4490 "third_party/boringssl/src/crypto/asn1/a_object.c",
4491 "third_party/boringssl/src/crypto/asn1/a_octet.c",
4492 "third_party/boringssl/src/crypto/asn1/a_print.c",
4493 "third_party/boringssl/src/crypto/asn1/a_strex.c",
4494 "third_party/boringssl/src/crypto/asn1/a_strnid.c",
4495 "third_party/boringssl/src/crypto/asn1/a_time.c",
4496 "third_party/boringssl/src/crypto/asn1/a_type.c",
4497 "third_party/boringssl/src/crypto/asn1/a_utctm.c",
4498 "third_party/boringssl/src/crypto/asn1/a_utf8.c",
4499 "third_party/boringssl/src/crypto/asn1/asn1_lib.c",
4500 "third_party/boringssl/src/crypto/asn1/asn1_par.c",
4501 "third_party/boringssl/src/crypto/asn1/asn_pack.c",
4502 "third_party/boringssl/src/crypto/asn1/f_int.c",
4503 "third_party/boringssl/src/crypto/asn1/f_string.c",
4504 "third_party/boringssl/src/crypto/asn1/posix_time.c",
4505 "third_party/boringssl/src/crypto/asn1/tasn_dec.c",
4506 "third_party/boringssl/src/crypto/asn1/tasn_enc.c",
4507 "third_party/boringssl/src/crypto/asn1/tasn_fre.c",
4508 "third_party/boringssl/src/crypto/asn1/tasn_new.c",
4509 "third_party/boringssl/src/crypto/asn1/tasn_typ.c",
4510 "third_party/boringssl/src/crypto/asn1/tasn_utl.c",
4511 "third_party/boringssl/src/crypto/base64/base64.c",
4512 "third_party/boringssl/src/crypto/bio/bio.c",
4513 "third_party/boringssl/src/crypto/bio/bio_mem.c",
4514 "third_party/boringssl/src/crypto/bio/connect.c",
4515 "third_party/boringssl/src/crypto/bio/fd.c",
4516 "third_party/boringssl/src/crypto/bio/file.c",
4517 "third_party/boringssl/src/crypto/bio/hexdump.c",
4518 "third_party/boringssl/src/crypto/bio/pair.c",
4519 "third_party/boringssl/src/crypto/bio/printf.c",
4520 "third_party/boringssl/src/crypto/bio/socket.c",
4521 "third_party/boringssl/src/crypto/bio/socket_helper.c",
4522 "third_party/boringssl/src/crypto/blake2/blake2.c",
4523 "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c",
4524 "third_party/boringssl/src/crypto/bn_extra/convert.c",
4525 "third_party/boringssl/src/crypto/buf/buf.c",
4526 "third_party/boringssl/src/crypto/bytestring/asn1_compat.c",
4527 "third_party/boringssl/src/crypto/bytestring/ber.c",
4528 "third_party/boringssl/src/crypto/bytestring/cbb.c",
4529 "third_party/boringssl/src/crypto/bytestring/cbs.c",
4530 "third_party/boringssl/src/crypto/bytestring/unicode.c",
4531 "third_party/boringssl/src/crypto/chacha/chacha.c",
4532 "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c",
4533 "third_party/boringssl/src/crypto/cipher_extra/derive_key.c",
4534 "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c",
4535 "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c",
4536 "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c",
4537 "third_party/boringssl/src/crypto/cipher_extra/e_des.c",
4538 "third_party/boringssl/src/crypto/cipher_extra/e_null.c",
4539 "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c",
4540 "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c",
4541 "third_party/boringssl/src/crypto/cipher_extra/e_tls.c",
4542 "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c",
4543 "third_party/boringssl/src/crypto/conf/conf.c",
4544 "third_party/boringssl/src/crypto/cpu_aarch64_apple.c",
4545 "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c",
4546 "third_party/boringssl/src/crypto/cpu_aarch64_linux.c",
4547 "third_party/boringssl/src/crypto/cpu_aarch64_win.c",
4548 "third_party/boringssl/src/crypto/cpu_arm.c",
4549 "third_party/boringssl/src/crypto/cpu_arm_linux.c",
4550 "third_party/boringssl/src/crypto/cpu_intel.c",
4551 "third_party/boringssl/src/crypto/cpu_ppc64le.c",
4552 "third_party/boringssl/src/crypto/crypto.c",
4553 "third_party/boringssl/src/crypto/curve25519/curve25519.c",
4554 "third_party/boringssl/src/crypto/curve25519/spake25519.c",
4555 "third_party/boringssl/src/crypto/des/des.c",
4556 "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c",
4557 "third_party/boringssl/src/crypto/dh_extra/params.c",
4558 "third_party/boringssl/src/crypto/digest_extra/digest_extra.c",
4559 "third_party/boringssl/src/crypto/dsa/dsa.c",
4560 "third_party/boringssl/src/crypto/dsa/dsa_asn1.c",
4561 "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c",
4562 "third_party/boringssl/src/crypto/ec_extra/ec_derive.c",
4563 "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c",
4564 "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c",
4565 "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c",
4566 "third_party/boringssl/src/crypto/engine/engine.c",
4567 "third_party/boringssl/src/crypto/err/err.c",
4568 "third_party/boringssl/src/crypto/evp/evp.c",
4569 "third_party/boringssl/src/crypto/evp/evp_asn1.c",
4570 "third_party/boringssl/src/crypto/evp/evp_ctx.c",
4571 "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c",
4572 "third_party/boringssl/src/crypto/evp/p_ec.c",
4573 "third_party/boringssl/src/crypto/evp/p_ec_asn1.c",
4574 "third_party/boringssl/src/crypto/evp/p_ed25519.c",
4575 "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c",
4576 "third_party/boringssl/src/crypto/evp/p_hkdf.c",
4577 "third_party/boringssl/src/crypto/evp/p_rsa.c",
4578 "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c",
4579 "third_party/boringssl/src/crypto/evp/p_x25519.c",
4580 "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c",
4581 "third_party/boringssl/src/crypto/evp/pbkdf.c",
4582 "third_party/boringssl/src/crypto/evp/print.c",
4583 "third_party/boringssl/src/crypto/evp/scrypt.c",
4584 "third_party/boringssl/src/crypto/evp/sign.c",
4585 "third_party/boringssl/src/crypto/ex_data.c",
4586 "third_party/boringssl/src/crypto/fipsmodule/bcm.c",
4587 "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c",
4588 "third_party/boringssl/src/crypto/hkdf/hkdf.c",
4589 "third_party/boringssl/src/crypto/hpke/hpke.c",
4590 "third_party/boringssl/src/crypto/hrss/hrss.c",
4591 "third_party/boringssl/src/crypto/lhash/lhash.c",
4592 "third_party/boringssl/src/crypto/mem.c",
4593 "third_party/boringssl/src/crypto/obj/obj.c",
4594 "third_party/boringssl/src/crypto/obj/obj_xref.c",
4595 "third_party/boringssl/src/crypto/pem/pem_all.c",
4596 "third_party/boringssl/src/crypto/pem/pem_info.c",
4597 "third_party/boringssl/src/crypto/pem/pem_lib.c",
4598 "third_party/boringssl/src/crypto/pem/pem_oth.c",
4599 "third_party/boringssl/src/crypto/pem/pem_pk8.c",
4600 "third_party/boringssl/src/crypto/pem/pem_pkey.c",
4601 "third_party/boringssl/src/crypto/pem/pem_x509.c",
4602 "third_party/boringssl/src/crypto/pem/pem_xaux.c",
4603 "third_party/boringssl/src/crypto/pkcs7/pkcs7.c",
4604 "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c",
4605 "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c",
4606 "third_party/boringssl/src/crypto/pkcs8/pkcs8.c",
4607 "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c",
4608 "third_party/boringssl/src/crypto/poly1305/poly1305.c",
4609 "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c",
4610 "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c",
4611 "third_party/boringssl/src/crypto/pool/pool.c",
4612 "third_party/boringssl/src/crypto/rand_extra/deterministic.c",
4613 "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c",
4614 "third_party/boringssl/src/crypto/rand_extra/fuchsia.c",
4615 "third_party/boringssl/src/crypto/rand_extra/passive.c",
4616 "third_party/boringssl/src/crypto/rand_extra/rand_extra.c",
4617 "third_party/boringssl/src/crypto/rand_extra/windows.c",
4618 "third_party/boringssl/src/crypto/rc4/rc4.c",
4619 "third_party/boringssl/src/crypto/refcount_c11.c",
4620 "third_party/boringssl/src/crypto/refcount_lock.c",
4621 "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c",
4622 "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c",
4623 "third_party/boringssl/src/crypto/siphash/siphash.c",
4624 "third_party/boringssl/src/crypto/stack/stack.c",
4625 "third_party/boringssl/src/crypto/thread.c",
4626 "third_party/boringssl/src/crypto/thread_none.c",
4627 "third_party/boringssl/src/crypto/thread_pthread.c",
4628 "third_party/boringssl/src/crypto/thread_win.c",
4629 "third_party/boringssl/src/crypto/trust_token/pmbtoken.c",
4630 "third_party/boringssl/src/crypto/trust_token/trust_token.c",
4631 "third_party/boringssl/src/crypto/trust_token/voprf.c",
4632 "third_party/boringssl/src/crypto/x509/a_digest.c",
4633 "third_party/boringssl/src/crypto/x509/a_sign.c",
4634 "third_party/boringssl/src/crypto/x509/a_verify.c",
4635 "third_party/boringssl/src/crypto/x509/algorithm.c",
4636 "third_party/boringssl/src/crypto/x509/asn1_gen.c",
4637 "third_party/boringssl/src/crypto/x509/by_dir.c",
4638 "third_party/boringssl/src/crypto/x509/by_file.c",
4639 "third_party/boringssl/src/crypto/x509/i2d_pr.c",
4640 "third_party/boringssl/src/crypto/x509/name_print.c",
4641 "third_party/boringssl/src/crypto/x509/rsa_pss.c",
4642 "third_party/boringssl/src/crypto/x509/t_crl.c",
4643 "third_party/boringssl/src/crypto/x509/t_req.c",
4644 "third_party/boringssl/src/crypto/x509/t_x509.c",
4645 "third_party/boringssl/src/crypto/x509/t_x509a.c",
4646 "third_party/boringssl/src/crypto/x509/x509.c",
4647 "third_party/boringssl/src/crypto/x509/x509_att.c",
4648 "third_party/boringssl/src/crypto/x509/x509_cmp.c",
4649 "third_party/boringssl/src/crypto/x509/x509_d2.c",
4650 "third_party/boringssl/src/crypto/x509/x509_def.c",
4651 "third_party/boringssl/src/crypto/x509/x509_ext.c",
4652 "third_party/boringssl/src/crypto/x509/x509_lu.c",
4653 "third_party/boringssl/src/crypto/x509/x509_obj.c",
4654 "third_party/boringssl/src/crypto/x509/x509_req.c",
4655 "third_party/boringssl/src/crypto/x509/x509_set.c",
4656 "third_party/boringssl/src/crypto/x509/x509_trs.c",
4657 "third_party/boringssl/src/crypto/x509/x509_txt.c",
4658 "third_party/boringssl/src/crypto/x509/x509_v3.c",
4659 "third_party/boringssl/src/crypto/x509/x509_vfy.c",
4660 "third_party/boringssl/src/crypto/x509/x509_vpm.c",
4661 "third_party/boringssl/src/crypto/x509/x509cset.c",
4662 "third_party/boringssl/src/crypto/x509/x509name.c",
4663 "third_party/boringssl/src/crypto/x509/x509rset.c",
4664 "third_party/boringssl/src/crypto/x509/x509spki.c",
4665 "third_party/boringssl/src/crypto/x509/x_algor.c",
4666 "third_party/boringssl/src/crypto/x509/x_all.c",
4667 "third_party/boringssl/src/crypto/x509/x_attrib.c",
4668 "third_party/boringssl/src/crypto/x509/x_crl.c",
4669 "third_party/boringssl/src/crypto/x509/x_exten.c",
4670 "third_party/boringssl/src/crypto/x509/x_info.c",
4671 "third_party/boringssl/src/crypto/x509/x_name.c",
4672 "third_party/boringssl/src/crypto/x509/x_pkey.c",
4673 "third_party/boringssl/src/crypto/x509/x_pubkey.c",
4674 "third_party/boringssl/src/crypto/x509/x_req.c",
4675 "third_party/boringssl/src/crypto/x509/x_sig.c",
4676 "third_party/boringssl/src/crypto/x509/x_spki.c",
4677 "third_party/boringssl/src/crypto/x509/x_val.c",
4678 "third_party/boringssl/src/crypto/x509/x_x509.c",
4679 "third_party/boringssl/src/crypto/x509/x_x509a.c",
4680 "third_party/boringssl/src/crypto/x509v3/pcy_cache.c",
4681 "third_party/boringssl/src/crypto/x509v3/pcy_data.c",
4682 "third_party/boringssl/src/crypto/x509v3/pcy_map.c",
4683 "third_party/boringssl/src/crypto/x509v3/pcy_node.c",
4684 "third_party/boringssl/src/crypto/x509v3/pcy_tree.c",
4685 "third_party/boringssl/src/crypto/x509v3/v3_akey.c",
4686 "third_party/boringssl/src/crypto/x509v3/v3_akeya.c",
4687 "third_party/boringssl/src/crypto/x509v3/v3_alt.c",
4688 "third_party/boringssl/src/crypto/x509v3/v3_bcons.c",
4689 "third_party/boringssl/src/crypto/x509v3/v3_bitst.c",
4690 "third_party/boringssl/src/crypto/x509v3/v3_conf.c",
4691 "third_party/boringssl/src/crypto/x509v3/v3_cpols.c",
4692 "third_party/boringssl/src/crypto/x509v3/v3_crld.c",
4693 "third_party/boringssl/src/crypto/x509v3/v3_enum.c",
4694 "third_party/boringssl/src/crypto/x509v3/v3_extku.c",
4695 "third_party/boringssl/src/crypto/x509v3/v3_genn.c",
4696 "third_party/boringssl/src/crypto/x509v3/v3_ia5.c",
4697 "third_party/boringssl/src/crypto/x509v3/v3_info.c",
4698 "third_party/boringssl/src/crypto/x509v3/v3_int.c",
4699 "third_party/boringssl/src/crypto/x509v3/v3_lib.c",
4700 "third_party/boringssl/src/crypto/x509v3/v3_ncons.c",
4701 "third_party/boringssl/src/crypto/x509v3/v3_ocsp.c",
4702 "third_party/boringssl/src/crypto/x509v3/v3_pci.c",
4703 "third_party/boringssl/src/crypto/x509v3/v3_pcia.c",
4704 "third_party/boringssl/src/crypto/x509v3/v3_pcons.c",
4705 "third_party/boringssl/src/crypto/x509v3/v3_pmaps.c",
4706 "third_party/boringssl/src/crypto/x509v3/v3_prn.c",
4707 "third_party/boringssl/src/crypto/x509v3/v3_purp.c",
4708 "third_party/boringssl/src/crypto/x509v3/v3_skey.c",
4709 "third_party/boringssl/src/crypto/x509v3/v3_utl.c",
4710 "third_party/boringssl/src/ssl/bio_ssl.cc",
4711 "third_party/boringssl/src/ssl/d1_both.cc",
4712 "third_party/boringssl/src/ssl/d1_lib.cc",
4713 "third_party/boringssl/src/ssl/d1_pkt.cc",
4714 "third_party/boringssl/src/ssl/d1_srtp.cc",
4715 "third_party/boringssl/src/ssl/dtls_method.cc",
4716 "third_party/boringssl/src/ssl/dtls_record.cc",
4717 "third_party/boringssl/src/ssl/encrypted_client_hello.cc",
4718 "third_party/boringssl/src/ssl/extensions.cc",
4719 "third_party/boringssl/src/ssl/handoff.cc",
4720 "third_party/boringssl/src/ssl/handshake.cc",
4721 "third_party/boringssl/src/ssl/handshake_client.cc",
4722 "third_party/boringssl/src/ssl/handshake_server.cc",
4723 "third_party/boringssl/src/ssl/s3_both.cc",
4724 "third_party/boringssl/src/ssl/s3_lib.cc",
4725 "third_party/boringssl/src/ssl/s3_pkt.cc",
4726 "third_party/boringssl/src/ssl/ssl_aead_ctx.cc",
4727 "third_party/boringssl/src/ssl/ssl_asn1.cc",
4728 "third_party/boringssl/src/ssl/ssl_buffer.cc",
4729 "third_party/boringssl/src/ssl/ssl_cert.cc",
4730 "third_party/boringssl/src/ssl/ssl_cipher.cc",
4731 "third_party/boringssl/src/ssl/ssl_file.cc",
4732 "third_party/boringssl/src/ssl/ssl_key_share.cc",
4733 "third_party/boringssl/src/ssl/ssl_lib.cc",
4734 "third_party/boringssl/src/ssl/ssl_privkey.cc",
4735 "third_party/boringssl/src/ssl/ssl_session.cc",
4736 "third_party/boringssl/src/ssl/ssl_stat.cc",
4737 "third_party/boringssl/src/ssl/ssl_transcript.cc",
4738 "third_party/boringssl/src/ssl/ssl_versions.cc",
4739 "third_party/boringssl/src/ssl/ssl_x509.cc",
4740 "third_party/boringssl/src/ssl/t1_enc.cc",
4741 "third_party/boringssl/src/ssl/tls13_both.cc",
4742 "third_party/boringssl/src/ssl/tls13_client.cc",
4743 "third_party/boringssl/src/ssl/tls13_enc.cc",
4744 "third_party/boringssl/src/ssl/tls13_server.cc",
4745 "third_party/boringssl/src/ssl/tls_method.cc",
4746 "third_party/boringssl/src/ssl/tls_record.cc",
4747 ],
4748 defaults: [
4749 "cronet_aml_defaults",
4750 ],
4751 cflags: [
4752 "-DANDROID",
4753 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4754 "-DBORINGSSL_ALLOW_CXX_RUNTIME",
4755 "-DBORINGSSL_IMPLEMENTATION",
4756 "-DBORINGSSL_NO_STATIC_INITIALIZER",
4757 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4758 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4759 "-DDCHECK_ALWAYS_ON=1",
4760 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4761 "-DHAVE_SYS_UIO_H",
4762 "-DOPENSSL_SMALL",
4763 "-D_DEBUG",
4764 "-D_GNU_SOURCE",
4765 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4766 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4767 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4768 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4769 "-D__STDC_CONSTANT_MACROS",
4770 "-D__STDC_FORMAT_MACROS",
4771 ],
4772 local_include_dirs: [
4773 "./",
4774 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07004775 "buildtools/third_party/libc++/trunk/include",
4776 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004777 "third_party/boringssl/src/include/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09004778 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004779 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07004780 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004781}
4782
4783// GN: //third_party/boringssl:boringssl_asm
4784filegroup {
4785 name: "cronet_aml_third_party_boringssl_boringssl_asm",
4786}
4787
4788// GN: //third_party/boringssl/src/third_party/fiat:fiat_license
4789filegroup {
4790 name: "cronet_aml_third_party_boringssl_src_third_party_fiat_fiat_license",
4791}
4792
Patrick Rohrcb035942022-11-01 12:12:52 -07004793// GN: //third_party/brotli:common
4794cc_library_static {
4795 name: "cronet_aml_third_party_brotli_common",
4796 srcs: [
4797 ":cronet_aml_third_party_brotli_headers",
4798 "third_party/brotli/common/constants.c",
4799 "third_party/brotli/common/context.c",
4800 "third_party/brotli/common/dictionary.c",
4801 "third_party/brotli/common/platform.c",
4802 "third_party/brotli/common/shared_dictionary.c",
4803 "third_party/brotli/common/transform.c",
4804 ],
4805 defaults: [
4806 "cronet_aml_defaults",
4807 ],
4808 cflags: [
4809 "-DANDROID",
4810 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4811 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4812 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4813 "-DDCHECK_ALWAYS_ON=1",
4814 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4815 "-DHAVE_SYS_UIO_H",
4816 "-D_DEBUG",
4817 "-D_GNU_SOURCE",
4818 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4819 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4820 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4821 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4822 "-D__STDC_CONSTANT_MACROS",
4823 "-D__STDC_FORMAT_MACROS",
4824 ],
4825 local_include_dirs: [
4826 "./",
4827 "buildtools/third_party/libc++/",
4828 "buildtools/third_party/libc++/trunk/include",
4829 "buildtools/third_party/libc++abi/trunk/include",
4830 "third_party/brotli/include/",
4831 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
4832 ],
4833 cpp_std: "c++20",
4834}
4835
4836// GN: //third_party/brotli:dec
4837cc_library_static {
4838 name: "cronet_aml_third_party_brotli_dec",
4839 srcs: [
4840 ":cronet_aml_third_party_brotli_headers",
4841 "third_party/brotli/dec/bit_reader.c",
4842 "third_party/brotli/dec/decode.c",
4843 "third_party/brotli/dec/huffman.c",
4844 "third_party/brotli/dec/state.c",
4845 ],
4846 static_libs: [
4847 "cronet_aml_third_party_brotli_common",
4848 ],
4849 defaults: [
4850 "cronet_aml_defaults",
4851 ],
4852 cflags: [
4853 "-DANDROID",
4854 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4855 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4856 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4857 "-DDCHECK_ALWAYS_ON=1",
4858 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4859 "-DHAVE_SYS_UIO_H",
4860 "-D_DEBUG",
4861 "-D_GNU_SOURCE",
4862 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4863 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4864 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4865 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4866 "-D__STDC_CONSTANT_MACROS",
4867 "-D__STDC_FORMAT_MACROS",
4868 ],
4869 local_include_dirs: [
4870 "./",
4871 "buildtools/third_party/libc++/",
4872 "buildtools/third_party/libc++/trunk/include",
4873 "buildtools/third_party/libc++abi/trunk/include",
4874 "third_party/brotli/include/",
4875 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
4876 ],
4877 cpp_std: "c++20",
4878}
4879
4880// GN: //third_party/brotli:headers
4881filegroup {
4882 name: "cronet_aml_third_party_brotli_headers",
4883}
4884
Patrick Rohrcc377df2022-10-28 09:27:15 -07004885// GN: //third_party/icu:icui18n
4886cc_library_static {
4887 name: "cronet_aml_third_party_icu_icui18n",
4888 static_libs: [
4889 "cronet_aml_third_party_icu_icuuc_private",
4890 ],
4891 defaults: [
4892 "cronet_aml_defaults",
4893 ],
4894 cflags: [
4895 "-DANDROID",
4896 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4897 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4898 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4899 "-DDCHECK_ALWAYS_ON=1",
4900 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4901 "-DHAVE_DLOPEN=0",
4902 "-DHAVE_SYS_UIO_H",
4903 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
4904 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
4905 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
4906 "-DUSE_CHROMIUM_ICU=1",
4907 "-DU_CHARSET_IS_UTF8=1",
4908 "-DU_ENABLE_DYLOAD=0",
4909 "-DU_ENABLE_RESOURCE_TRACING=0",
4910 "-DU_ENABLE_TRACING=1",
4911 "-DU_I18N_IMPLEMENTATION",
4912 "-DU_STATIC_IMPLEMENTATION",
4913 "-DU_USING_ICU_NAMESPACE=0",
4914 "-D_DEBUG",
4915 "-D_GNU_SOURCE",
4916 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4917 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4918 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4919 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4920 ],
4921 local_include_dirs: [
4922 "./",
4923 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07004924 "buildtools/third_party/libc++/trunk/include",
4925 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004926 "third_party/icu/source/common/",
4927 "third_party/icu/source/i18n/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09004928 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004929 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07004930 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004931}
4932
4933// GN: //third_party/icu:icuuc_private
4934cc_library_static {
4935 name: "cronet_aml_third_party_icu_icuuc_private",
4936 srcs: [
4937 ":cronet_aml_third_party_icu_icuuc_public",
4938 ],
4939 defaults: [
4940 "cronet_aml_defaults",
4941 ],
4942 cflags: [
4943 "-DANDROID",
4944 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4945 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4946 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4947 "-DDCHECK_ALWAYS_ON=1",
4948 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4949 "-DHAVE_DLOPEN=0",
4950 "-DHAVE_SYS_UIO_H",
4951 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
4952 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
4953 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
4954 "-DUSE_CHROMIUM_ICU=1",
4955 "-DU_CHARSET_IS_UTF8=1",
4956 "-DU_COMMON_IMPLEMENTATION",
4957 "-DU_ENABLE_DYLOAD=0",
4958 "-DU_ENABLE_RESOURCE_TRACING=0",
4959 "-DU_ENABLE_TRACING=1",
4960 "-DU_ICUDATAENTRY_IN_COMMON",
4961 "-DU_STATIC_IMPLEMENTATION",
4962 "-DU_USING_ICU_NAMESPACE=0",
4963 "-D_DEBUG",
4964 "-D_GNU_SOURCE",
4965 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4966 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4967 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4968 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4969 "-D__STDC_CONSTANT_MACROS",
4970 "-D__STDC_FORMAT_MACROS",
4971 ],
4972 local_include_dirs: [
4973 "./",
4974 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07004975 "buildtools/third_party/libc++/trunk/include",
4976 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004977 "third_party/icu/source/common/",
4978 "third_party/icu/source/i18n/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09004979 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004980 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07004981 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004982}
4983
4984// GN: //third_party/icu:icuuc_public
4985filegroup {
4986 name: "cronet_aml_third_party_icu_icuuc_public",
4987}
4988
Motomu Utsumifa7e9262022-10-26 19:43:02 +09004989// GN: //third_party/libevent:libevent
4990cc_library_static {
4991 name: "cronet_aml_third_party_libevent_libevent",
4992 srcs: [
4993 "third_party/libevent/buffer.c",
4994 "third_party/libevent/epoll.c",
4995 "third_party/libevent/evbuffer.c",
4996 "third_party/libevent/evdns.c",
4997 "third_party/libevent/event.c",
4998 "third_party/libevent/event_tagging.c",
4999 "third_party/libevent/evrpc.c",
5000 "third_party/libevent/evutil.c",
5001 "third_party/libevent/http.c",
5002 "third_party/libevent/log.c",
5003 "third_party/libevent/poll.c",
5004 "third_party/libevent/select.c",
5005 "third_party/libevent/signal.c",
5006 "third_party/libevent/strlcpy.c",
5007 ],
5008 defaults: [
5009 "cronet_aml_defaults",
5010 ],
5011 cflags: [
5012 "-DANDROID",
5013 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005014 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5015 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005016 "-DDCHECK_ALWAYS_ON=1",
5017 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5018 "-DHAVE_CONFIG_H",
5019 "-DHAVE_SYS_UIO_H",
5020 "-D_DEBUG",
5021 "-D_GNU_SOURCE",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005022 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005023 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005024 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005025 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5026 ],
5027 local_include_dirs: [
5028 "./",
5029 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005030 "buildtools/third_party/libc++/trunk/include",
5031 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005032 "third_party/libevent/android/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09005033 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005034 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005035 cpp_std: "c++20",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005036}
5037
Patrick Rohrcc377df2022-10-28 09:27:15 -07005038// GN: //third_party/modp_b64:modp_b64
Motomu Utsumifcac4852022-10-26 19:28:31 +09005039cc_library_static {
Patrick Rohrcc377df2022-10-28 09:27:15 -07005040 name: "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005041 srcs: [
Patrick Rohrcc377df2022-10-28 09:27:15 -07005042 "third_party/modp_b64/modp_b64.cc",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005043 ],
5044 defaults: [
5045 "cronet_aml_defaults",
5046 ],
5047 cflags: [
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005048 "-DANDROID",
5049 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005050 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5051 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005052 "-DDCHECK_ALWAYS_ON=1",
5053 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5054 "-DHAVE_SYS_UIO_H",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005055 "-D_DEBUG",
5056 "-D_GNU_SOURCE",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005057 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005058 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005059 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005060 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005061 "-D__STDC_CONSTANT_MACROS",
5062 "-D__STDC_FORMAT_MACROS",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005063 ],
5064 local_include_dirs: [
5065 "./",
5066 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005067 "buildtools/third_party/libc++/trunk/include",
5068 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09005069 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005070 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005071 cpp_std: "c++20",
Motomu Utsumifcac4852022-10-26 19:28:31 +09005072}
5073
Patrick Rohrcb035942022-11-01 12:12:52 -07005074// GN: //third_party/protobuf:protobuf_full
5075cc_library_static {
5076 name: "cronet_aml_third_party_protobuf_protobuf_full",
5077 srcs: [
5078 "third_party/protobuf/src/google/protobuf/any.cc",
5079 "third_party/protobuf/src/google/protobuf/any.pb.cc",
5080 "third_party/protobuf/src/google/protobuf/any_lite.cc",
5081 "third_party/protobuf/src/google/protobuf/api.pb.cc",
5082 "third_party/protobuf/src/google/protobuf/arena.cc",
5083 "third_party/protobuf/src/google/protobuf/arenastring.cc",
5084 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
5085 "third_party/protobuf/src/google/protobuf/compiler/importer.cc",
5086 "third_party/protobuf/src/google/protobuf/compiler/parser.cc",
5087 "third_party/protobuf/src/google/protobuf/descriptor.cc",
5088 "third_party/protobuf/src/google/protobuf/descriptor.pb.cc",
5089 "third_party/protobuf/src/google/protobuf/descriptor_database.cc",
5090 "third_party/protobuf/src/google/protobuf/duration.pb.cc",
5091 "third_party/protobuf/src/google/protobuf/dynamic_message.cc",
5092 "third_party/protobuf/src/google/protobuf/empty.pb.cc",
5093 "third_party/protobuf/src/google/protobuf/extension_set.cc",
5094 "third_party/protobuf/src/google/protobuf/extension_set_heavy.cc",
5095 "third_party/protobuf/src/google/protobuf/field_mask.pb.cc",
5096 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
5097 "third_party/protobuf/src/google/protobuf/generated_message_bases.cc",
5098 "third_party/protobuf/src/google/protobuf/generated_message_reflection.cc",
5099 "third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc",
5100 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
5101 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
5102 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
5103 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
5104 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
5105 "third_party/protobuf/src/google/protobuf/io/gzip_stream.cc",
5106 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
5107 "third_party/protobuf/src/google/protobuf/io/printer.cc",
5108 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
5109 "third_party/protobuf/src/google/protobuf/io/tokenizer.cc",
5110 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
5111 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
5112 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
5113 "third_party/protobuf/src/google/protobuf/map.cc",
5114 "third_party/protobuf/src/google/protobuf/map_field.cc",
5115 "third_party/protobuf/src/google/protobuf/message.cc",
5116 "third_party/protobuf/src/google/protobuf/message_lite.cc",
5117 "third_party/protobuf/src/google/protobuf/parse_context.cc",
5118 "third_party/protobuf/src/google/protobuf/reflection_ops.cc",
5119 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
5120 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
5121 "third_party/protobuf/src/google/protobuf/service.cc",
5122 "third_party/protobuf/src/google/protobuf/source_context.pb.cc",
5123 "third_party/protobuf/src/google/protobuf/struct.pb.cc",
5124 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
5125 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
5126 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
5127 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
5128 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
5129 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
5130 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
5131 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
5132 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
5133 "third_party/protobuf/src/google/protobuf/stubs/substitute.cc",
5134 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
5135 "third_party/protobuf/src/google/protobuf/text_format.cc",
5136 "third_party/protobuf/src/google/protobuf/timestamp.pb.cc",
5137 "third_party/protobuf/src/google/protobuf/type.pb.cc",
5138 "third_party/protobuf/src/google/protobuf/unknown_field_set.cc",
5139 "third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc",
5140 "third_party/protobuf/src/google/protobuf/util/field_comparator.cc",
5141 "third_party/protobuf/src/google/protobuf/util/field_mask_util.cc",
5142 "third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc",
5143 "third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc",
5144 "third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc",
5145 "third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc",
5146 "third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc",
5147 "third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc",
5148 "third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc",
5149 "third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc",
5150 "third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc",
5151 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc",
5152 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc",
5153 "third_party/protobuf/src/google/protobuf/util/internal/type_info.cc",
5154 "third_party/protobuf/src/google/protobuf/util/internal/utility.cc",
5155 "third_party/protobuf/src/google/protobuf/util/json_util.cc",
5156 "third_party/protobuf/src/google/protobuf/util/message_differencer.cc",
5157 "third_party/protobuf/src/google/protobuf/util/time_util.cc",
5158 "third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc",
5159 "third_party/protobuf/src/google/protobuf/wire_format.cc",
5160 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
5161 "third_party/protobuf/src/google/protobuf/wrappers.pb.cc",
5162 ],
5163 static_libs: [
5164 "cronet_aml_third_party_zlib_zlib",
5165 ],
5166 defaults: [
5167 "cronet_aml_defaults",
5168 ],
5169 cflags: [
5170 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5171 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5172 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5173 "-DDCHECK_ALWAYS_ON=1",
5174 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5175 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
5176 "-DGOOGLE_PROTOBUF_NO_RTTI",
5177 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
5178 "-DHAVE_PTHREAD",
5179 "-DHAVE_ZLIB",
5180 "-DUSE_AURA=1",
5181 "-DUSE_OZONE=1",
5182 "-DUSE_UDEV",
5183 "-D_DEBUG",
5184 "-D_FILE_OFFSET_BITS=64",
5185 "-D_GNU_SOURCE",
5186 "-D_LARGEFILE64_SOURCE",
5187 "-D_LARGEFILE_SOURCE",
5188 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5189 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5190 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5191 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5192 ],
5193 local_include_dirs: [
5194 "./",
5195 "buildtools/third_party/libc++/",
5196 "buildtools/third_party/libc++/trunk/include",
5197 "buildtools/third_party/libc++abi/trunk/include",
5198 "third_party/protobuf/src/",
5199 "third_party/zlib/",
5200 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
5201 ],
5202 cpp_std: "c++20",
5203}
5204
5205// GN: //third_party/protobuf:protobuf_lite
5206cc_library_static {
5207 name: "cronet_aml_third_party_protobuf_protobuf_lite",
5208 srcs: [
5209 "third_party/protobuf/src/google/protobuf/any_lite.cc",
5210 "third_party/protobuf/src/google/protobuf/arena.cc",
5211 "third_party/protobuf/src/google/protobuf/arenastring.cc",
5212 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
5213 "third_party/protobuf/src/google/protobuf/extension_set.cc",
5214 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
5215 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
5216 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
5217 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
5218 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
5219 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
5220 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
5221 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
5222 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
5223 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
5224 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
5225 "third_party/protobuf/src/google/protobuf/map.cc",
5226 "third_party/protobuf/src/google/protobuf/message_lite.cc",
5227 "third_party/protobuf/src/google/protobuf/parse_context.cc",
5228 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
5229 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
5230 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
5231 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
5232 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
5233 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
5234 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
5235 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
5236 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
5237 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
5238 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
5239 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
5240 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
5241 ],
5242 shared_libs: [
5243 "liblog",
5244 ],
5245 defaults: [
5246 "cronet_aml_defaults",
5247 ],
5248 cflags: [
5249 "-DANDROID",
5250 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5251 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5252 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5253 "-DDCHECK_ALWAYS_ON=1",
5254 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5255 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
5256 "-DGOOGLE_PROTOBUF_NO_RTTI",
5257 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
5258 "-DHAVE_PTHREAD",
5259 "-DHAVE_SYS_UIO_H",
5260 "-D_DEBUG",
5261 "-D_GNU_SOURCE",
5262 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5263 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5264 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5265 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5266 ],
5267 local_include_dirs: [
5268 "./",
5269 "buildtools/third_party/libc++/",
5270 "buildtools/third_party/libc++/trunk/include",
5271 "buildtools/third_party/libc++abi/trunk/include",
5272 "third_party/protobuf/src/",
5273 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
5274 ],
5275 cpp_std: "c++20",
5276}
5277
Patrick Rohrcb035942022-11-01 12:12:52 -07005278// GN: //third_party/zlib:zlib
5279cc_library_static {
5280 name: "cronet_aml_third_party_zlib_zlib",
5281 srcs: [
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005282 ":cronet_aml_third_party_android_ndk_cpu_features",
Patrick Rohrcb035942022-11-01 12:12:52 -07005283 ":cronet_aml_third_party_zlib_zlib_adler32_simd",
5284 ":cronet_aml_third_party_zlib_zlib_common_headers",
5285 ":cronet_aml_third_party_zlib_zlib_crc32_simd",
5286 ":cronet_aml_third_party_zlib_zlib_inflate_chunk_simd",
5287 ":cronet_aml_third_party_zlib_zlib_slide_hash_simd",
5288 "third_party/zlib/adler32.c",
5289 "third_party/zlib/compress.c",
5290 "third_party/zlib/cpu_features.c",
5291 "third_party/zlib/crc32.c",
5292 "third_party/zlib/deflate.c",
5293 "third_party/zlib/gzclose.c",
5294 "third_party/zlib/gzlib.c",
5295 "third_party/zlib/gzread.c",
5296 "third_party/zlib/gzwrite.c",
5297 "third_party/zlib/infback.c",
5298 "third_party/zlib/inffast.c",
5299 "third_party/zlib/inftrees.c",
5300 "third_party/zlib/trees.c",
5301 "third_party/zlib/uncompr.c",
5302 "third_party/zlib/zutil.c",
5303 ],
5304 defaults: [
5305 "cronet_aml_defaults",
5306 ],
5307 cflags: [
5308 "-DADLER32_SIMD_SSSE3",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005309 "-DANDROID",
5310 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcb035942022-11-01 12:12:52 -07005311 "-DCRC32_SIMD_SSE42_PCLMUL",
5312 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5313 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Patrick Rohrcb035942022-11-01 12:12:52 -07005314 "-DDCHECK_ALWAYS_ON=1",
5315 "-DDEFLATE_SLIDE_HASH_SSE2",
5316 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005317 "-DHAVE_SYS_UIO_H",
Patrick Rohrcb035942022-11-01 12:12:52 -07005318 "-DINFLATE_CHUNK_READ_64LE",
5319 "-DINFLATE_CHUNK_SIMD_SSE2",
Patrick Rohrcb035942022-11-01 12:12:52 -07005320 "-DX86_NOT_WINDOWS",
5321 "-DZLIB_DEBUG",
5322 "-DZLIB_IMPLEMENTATION",
5323 "-D_DEBUG",
Patrick Rohrcb035942022-11-01 12:12:52 -07005324 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -07005325 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5326 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5327 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5328 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5329 "-D__STDC_CONSTANT_MACROS",
5330 "-D__STDC_FORMAT_MACROS",
5331 ],
5332 local_include_dirs: [
5333 "./",
5334 "buildtools/third_party/libc++/",
5335 "buildtools/third_party/libc++/trunk/include",
5336 "buildtools/third_party/libc++abi/trunk/include",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005337 "third_party/android_ndk/sources/android/cpufeatures/",
Patrick Rohrcb035942022-11-01 12:12:52 -07005338 "third_party/zlib/",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005339 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcb035942022-11-01 12:12:52 -07005340 ],
5341 cpp_std: "c++20",
5342}
5343
5344// GN: //third_party/zlib:zlib_adler32_simd
5345filegroup {
5346 name: "cronet_aml_third_party_zlib_zlib_adler32_simd",
5347 srcs: [
5348 "third_party/zlib/adler32_simd.c",
5349 ],
5350}
5351
5352// GN: //third_party/zlib:zlib_common_headers
5353filegroup {
5354 name: "cronet_aml_third_party_zlib_zlib_common_headers",
5355}
5356
5357// GN: //third_party/zlib:zlib_crc32_simd
5358filegroup {
5359 name: "cronet_aml_third_party_zlib_zlib_crc32_simd",
5360 srcs: [
5361 "third_party/zlib/crc32_simd.c",
5362 "third_party/zlib/crc_folding.c",
5363 ],
5364}
5365
5366// GN: //third_party/zlib:zlib_inflate_chunk_simd
5367filegroup {
5368 name: "cronet_aml_third_party_zlib_zlib_inflate_chunk_simd",
5369 srcs: [
5370 "third_party/zlib/contrib/optimizations/inffast_chunk.c",
5371 "third_party/zlib/contrib/optimizations/inflate.c",
5372 ],
5373}
5374
5375// GN: //third_party/zlib:zlib_slide_hash_simd
5376filegroup {
5377 name: "cronet_aml_third_party_zlib_zlib_slide_hash_simd",
5378}
5379
Patrick Rohrcb035942022-11-01 12:12:52 -07005380// GN: //tools/grit:grit_sources
5381genrule {
5382 name: "cronet_aml_tools_grit_grit_sources",
Motomu Utsumi26211dc2022-11-02 19:38:47 +09005383 cmd: "python $(location tools/grit/stamp_grit_sources.py) `dirname $(location tools/grit/grit.py)` " +
5384 "$(out) " +
5385 "$(genDir)/grit_sources.d",
Patrick Rohrcb035942022-11-01 12:12:52 -07005386 out: [
Motomu Utsumi26211dc2022-11-02 19:38:47 +09005387 "out/test/obj/tools/grit/grit_sources.script.stamp",
Patrick Rohrcb035942022-11-01 12:12:52 -07005388 ],
5389 tool_files: [
5390 "tools/grit/grit.py",
5391 "tools/grit/stamp_grit_sources.py",
5392 ],
5393}
5394
5395// GN: //tools/gritsettings:default_resource_ids
5396genrule {
5397 name: "cronet_aml_tools_gritsettings_default_resource_ids",
5398 cmd: "$(location tools/grit/grit.py) update_resource_ids " +
5399 "-o " +
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005400 "$(location tools/gritsettings/default_resource_ids) " +
Patrick Rohrcb035942022-11-01 12:12:52 -07005401 "--add-header " +
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005402 " " +
5403 " " +
Patrick Rohrcb035942022-11-01 12:12:52 -07005404 "--input " +
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005405 "$(location tools/gritsettings/resource_ids.spec)",
Patrick Rohrcb035942022-11-01 12:12:52 -07005406 out: [
5407 "tools/gritsettings/default_resource_ids",
5408 ],
5409 tool_files: [
Mohannad Farrag033c9d62022-11-07 14:55:49 +00005410 "third_party/six/src/six.py",
5411 "tools/grit/**/*.py",
Patrick Rohrcb035942022-11-01 12:12:52 -07005412 "tools/grit/grit.py",
5413 "tools/gritsettings/resource_ids.spec",
5414 ],
5415}
5416
5417// GN: //url:buildflags
5418genrule {
5419 name: "cronet_aml_url_buildflags",
5420 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
5421 "$(location build/write_buildflag_header.py) --output " +
5422 "$(out) " +
5423 "--rulename " +
5424 "//url:buildflags " +
5425 "--gen-dir " +
5426 ". " +
5427 "--definitions " +
5428 "/dev/stdin",
5429 out: [
5430 "url/buildflags.h",
5431 ],
5432 tool_files: [
5433 "build/write_buildflag_header.py",
5434 ],
5435}
5436
5437// GN: //url:url
5438cc_library_static {
5439 name: "cronet_aml_url_url",
5440 srcs: [
5441 ":cronet_aml_ipc_param_traits",
5442 "url/gurl.cc",
5443 "url/origin.cc",
5444 "url/scheme_host_port.cc",
5445 "url/third_party/mozilla/url_parse.cc",
5446 "url/url_canon.cc",
5447 "url/url_canon_etc.cc",
5448 "url/url_canon_filesystemurl.cc",
5449 "url/url_canon_fileurl.cc",
5450 "url/url_canon_host.cc",
5451 "url/url_canon_internal.cc",
5452 "url/url_canon_ip.cc",
5453 "url/url_canon_mailtourl.cc",
5454 "url/url_canon_path.cc",
5455 "url/url_canon_pathurl.cc",
5456 "url/url_canon_query.cc",
5457 "url/url_canon_relative.cc",
5458 "url/url_canon_stdstring.cc",
5459 "url/url_canon_stdurl.cc",
5460 "url/url_constants.cc",
5461 "url/url_idna_icu_alternatives_android.cc",
5462 "url/url_parse_file.cc",
5463 "url/url_util.cc",
5464 ],
5465 shared_libs: [
5466 "libandroid",
5467 "liblog",
5468 ],
5469 static_libs: [
5470 "cronet_aml_base_base",
5471 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
5472 ],
5473 generated_headers: [
5474 "cronet_aml_base_debugging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005475 "cronet_aml_base_logging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005476 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005477 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005478 "cronet_aml_url_url_jni_headers",
5479 ],
5480 export_generated_headers: [
5481 "cronet_aml_base_debugging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005482 "cronet_aml_base_logging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005483 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005484 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07005485 "cronet_aml_url_url_jni_headers",
5486 ],
5487 defaults: [
5488 "cronet_aml_defaults",
5489 ],
5490 cflags: [
5491 "-DANDROID",
5492 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5493 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5494 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5495 "-DDCHECK_ALWAYS_ON=1",
5496 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5497 "-DHAVE_SYS_UIO_H",
5498 "-DIS_URL_IMPL",
5499 "-D_DEBUG",
5500 "-D_GNU_SOURCE",
5501 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5502 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5503 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5504 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5505 "-D__STDC_CONSTANT_MACROS",
5506 "-D__STDC_FORMAT_MACROS",
5507 ],
5508 local_include_dirs: [
5509 "./",
5510 "buildtools/third_party/libc++/",
5511 "buildtools/third_party/libc++/trunk/include",
5512 "buildtools/third_party/libc++abi/trunk/include",
5513 "third_party/abseil-cpp/",
5514 "third_party/boringssl/src/include/",
5515 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
5516 ],
5517 header_libs: [
5518 "jni_headers",
5519 ],
5520 cpp_std: "c++20",
5521}
5522
Patrick Rohrcb035942022-11-01 12:12:52 -07005523// GN: //url:url_jni_headers
5524genrule {
5525 name: "cronet_aml_url_url_jni_headers",
5526 srcs: [
5527 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
5528 "url/android/java/src/org/chromium/url/Origin.java",
5529 ],
5530 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
5531 "long " +
5532 " " +
5533 " " +
5534 "--output_dir " +
5535 "$(genDir)/url/url_jni_headers " +
5536 "--includes " +
5537 "base/android/jni_generator/jni_generator_helper.h " +
5538 "--use_proxy_hash " +
5539 "--output_name " +
5540 "IDNStringUtil_jni.h " +
5541 "--output_name " +
5542 "Origin_jni.h " +
5543 "--input_file " +
5544 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
5545 "--input_file " +
5546 "$(location url/android/java/src/org/chromium/url/Origin.java)",
5547 out: [
5548 "url/url_jni_headers/IDNStringUtil_jni.h",
5549 "url/url_jni_headers/Origin_jni.h",
5550 ],
5551 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00005552 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -07005553 "base/android/jni_generator/jni_generator.py",
5554 "build/android/gyp/util/__init__.py",
5555 "build/android/gyp/util/build_utils.py",
5556 "build/gn_helpers.py",
5557 ],
5558}
5559