blob: 9d2d6b7cf28655c02f11fd390a8bb6a1db123e18 [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",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700120 generated_headers: [
121 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
122 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
123 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
124 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
125 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
126 ],
127 export_generated_headers: [
128 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
129 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
130 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
131 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
132 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
133 ],
134 defaults: [
135 "cronet_aml_defaults",
136 ],
137 cflags: [
138 "-DANDROID",
139 "-DANDROID_NDK_VERSION_ROLL=r23_1",
140 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
141 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
142 "-DDCHECK_ALWAYS_ON=1",
143 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
144 "-DHAVE_SYS_UIO_H",
145 "-DIS_PARTITION_ALLOC_IMPL",
146 "-DPA_PCSCAN_STACK_SUPPORTED",
147 "-D_DEBUG",
148 "-D_GNU_SOURCE",
149 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
150 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
151 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
152 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
153 "-D__STDC_CONSTANT_MACROS",
154 "-D__STDC_FORMAT_MACROS",
155 ],
156 local_include_dirs: [
157 "./",
158 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -0700159 "buildtools/third_party/libc++/trunk/include",
160 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700161 "third_party/android_ndk/sources/android/cpufeatures/",
Motomu Utsumid30ceed2022-11-01 13:06:18 +0900162 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700163 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -0700164 cpp_std: "c++20",
Motomu Utsumi87c2a482022-11-14 14:57:46 +0900165 arch: {
166 x86: {
167 srcs: [
168 ":cronet_aml_third_party_android_ndk_cpu_features",
169 "base/allocator/partition_allocator/address_pool_manager.cc",
170 "base/allocator/partition_allocator/address_pool_manager_bitmap.cc",
171 "base/allocator/partition_allocator/address_space_randomization.cc",
172 "base/allocator/partition_allocator/allocation_guard.cc",
173 "base/allocator/partition_allocator/dangling_raw_ptr_checks.cc",
174 "base/allocator/partition_allocator/gwp_asan_support.cc",
175 "base/allocator/partition_allocator/memory_reclaimer.cc",
176 "base/allocator/partition_allocator/oom.cc",
177 "base/allocator/partition_allocator/oom_callback.cc",
178 "base/allocator/partition_allocator/page_allocator.cc",
179 "base/allocator/partition_allocator/page_allocator_internals_posix.cc",
180 "base/allocator/partition_allocator/partition_address_space.cc",
181 "base/allocator/partition_allocator/partition_alloc.cc",
182 "base/allocator/partition_allocator/partition_alloc_base/check.cc",
183 "base/allocator/partition_allocator/partition_alloc_base/cpu.cc",
184 "base/allocator/partition_allocator/partition_alloc_base/debug/alias.cc",
185 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
186 "base/allocator/partition_allocator/partition_alloc_base/files/file_util_posix.cc",
187 "base/allocator/partition_allocator/partition_alloc_base/logging.cc",
188 "base/allocator/partition_allocator/partition_alloc_base/memory/ref_counted.cc",
189 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
190 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
191 "base/allocator/partition_allocator/partition_alloc_base/pkey.cc",
192 "base/allocator/partition_allocator/partition_alloc_base/posix/safe_strerror.cc",
193 "base/allocator/partition_allocator/partition_alloc_base/rand_util.cc",
194 "base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc",
195 "base/allocator/partition_allocator/partition_alloc_base/strings/stringprintf.cc",
196 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread.cc",
197 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc",
198 "base/allocator/partition_allocator/partition_alloc_base/time/time.cc",
199 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
200 "base/allocator/partition_allocator/partition_alloc_base/time/time_conversion_posix.cc",
201 "base/allocator/partition_allocator/partition_alloc_base/time/time_now_posix.cc",
202 "base/allocator/partition_allocator/partition_alloc_base/time/time_override.cc",
203 "base/allocator/partition_allocator/partition_alloc_hooks.cc",
204 "base/allocator/partition_allocator/partition_bucket.cc",
205 "base/allocator/partition_allocator/partition_oom.cc",
206 "base/allocator/partition_allocator/partition_page.cc",
207 "base/allocator/partition_allocator/partition_root.cc",
208 "base/allocator/partition_allocator/partition_stats.cc",
209 "base/allocator/partition_allocator/random.cc",
210 "base/allocator/partition_allocator/reservation_offset_table.cc",
211 "base/allocator/partition_allocator/spinning_mutex.cc",
212 "base/allocator/partition_allocator/starscan/metadata_allocator.cc",
213 "base/allocator/partition_allocator/starscan/pcscan.cc",
214 "base/allocator/partition_allocator/starscan/pcscan_internal.cc",
215 "base/allocator/partition_allocator/starscan/pcscan_scheduling.cc",
216 "base/allocator/partition_allocator/starscan/snapshot.cc",
217 "base/allocator/partition_allocator/starscan/stack/asm/x86/push_registers_asm.cc",
218 "base/allocator/partition_allocator/starscan/stack/stack.cc",
219 "base/allocator/partition_allocator/starscan/stats_collector.cc",
220 "base/allocator/partition_allocator/starscan/write_protector.cc",
221 "base/allocator/partition_allocator/tagging.cc",
222 "base/allocator/partition_allocator/thread_cache.cc",
223 ],
224 },
225 x86_64: {
226 srcs: [
227 ":cronet_aml_third_party_android_ndk_cpu_features",
228 "base/allocator/partition_allocator/address_pool_manager.cc",
229 "base/allocator/partition_allocator/address_pool_manager_bitmap.cc",
230 "base/allocator/partition_allocator/address_space_randomization.cc",
231 "base/allocator/partition_allocator/allocation_guard.cc",
232 "base/allocator/partition_allocator/dangling_raw_ptr_checks.cc",
233 "base/allocator/partition_allocator/gwp_asan_support.cc",
234 "base/allocator/partition_allocator/memory_reclaimer.cc",
235 "base/allocator/partition_allocator/oom.cc",
236 "base/allocator/partition_allocator/oom_callback.cc",
237 "base/allocator/partition_allocator/page_allocator.cc",
238 "base/allocator/partition_allocator/page_allocator_internals_posix.cc",
239 "base/allocator/partition_allocator/partition_address_space.cc",
240 "base/allocator/partition_allocator/partition_alloc.cc",
241 "base/allocator/partition_allocator/partition_alloc_base/check.cc",
242 "base/allocator/partition_allocator/partition_alloc_base/cpu.cc",
243 "base/allocator/partition_allocator/partition_alloc_base/debug/alias.cc",
244 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
245 "base/allocator/partition_allocator/partition_alloc_base/files/file_util_posix.cc",
246 "base/allocator/partition_allocator/partition_alloc_base/logging.cc",
247 "base/allocator/partition_allocator/partition_alloc_base/memory/ref_counted.cc",
248 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
249 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
250 "base/allocator/partition_allocator/partition_alloc_base/pkey.cc",
251 "base/allocator/partition_allocator/partition_alloc_base/posix/safe_strerror.cc",
252 "base/allocator/partition_allocator/partition_alloc_base/rand_util.cc",
253 "base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc",
254 "base/allocator/partition_allocator/partition_alloc_base/strings/stringprintf.cc",
255 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread.cc",
256 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc",
257 "base/allocator/partition_allocator/partition_alloc_base/time/time.cc",
258 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
259 "base/allocator/partition_allocator/partition_alloc_base/time/time_conversion_posix.cc",
260 "base/allocator/partition_allocator/partition_alloc_base/time/time_now_posix.cc",
261 "base/allocator/partition_allocator/partition_alloc_base/time/time_override.cc",
262 "base/allocator/partition_allocator/partition_alloc_hooks.cc",
263 "base/allocator/partition_allocator/partition_bucket.cc",
264 "base/allocator/partition_allocator/partition_oom.cc",
265 "base/allocator/partition_allocator/partition_page.cc",
266 "base/allocator/partition_allocator/partition_root.cc",
267 "base/allocator/partition_allocator/partition_stats.cc",
268 "base/allocator/partition_allocator/random.cc",
269 "base/allocator/partition_allocator/reservation_offset_table.cc",
270 "base/allocator/partition_allocator/spinning_mutex.cc",
271 "base/allocator/partition_allocator/starscan/metadata_allocator.cc",
272 "base/allocator/partition_allocator/starscan/pcscan.cc",
273 "base/allocator/partition_allocator/starscan/pcscan_internal.cc",
274 "base/allocator/partition_allocator/starscan/pcscan_scheduling.cc",
275 "base/allocator/partition_allocator/starscan/snapshot.cc",
276 "base/allocator/partition_allocator/starscan/stack/asm/x64/push_registers_asm.cc",
277 "base/allocator/partition_allocator/starscan/stack/stack.cc",
278 "base/allocator/partition_allocator/starscan/stats_collector.cc",
279 "base/allocator/partition_allocator/starscan/write_protector.cc",
280 "base/allocator/partition_allocator/tagging.cc",
281 "base/allocator/partition_allocator/thread_cache.cc",
282 ],
283 },
284 },
Patrick Rohrcc377df2022-10-28 09:27:15 -0700285}
286
287// GN: //base/allocator/partition_allocator:partition_alloc_buildflags
288genrule {
289 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -0700290 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 -0700291 "$(location build/write_buildflag_header.py) --output " +
292 "$(out) " +
293 "--rulename " +
294 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
295 "--gen-dir " +
296 ". " +
297 "--definitions " +
298 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700299 out: [
300 "base/allocator/partition_allocator/partition_alloc_buildflags.h",
301 ],
302 tool_files: [
303 "build/write_buildflag_header.py",
304 ],
305}
306
307// GN: //base:anchor_functions_buildflags
308genrule {
309 name: "cronet_aml_base_anchor_functions_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -0700310 cmd: "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700311 "$(location build/write_buildflag_header.py) --output " +
312 "$(out) " +
313 "--rulename " +
314 "//base:anchor_functions_buildflags " +
315 "--gen-dir " +
316 ". " +
317 "--definitions " +
318 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700319 out: [
320 "base/android/library_loader/anchor_functions_buildflags.h",
321 ],
322 tool_files: [
323 "build/write_buildflag_header.py",
324 ],
325}
326
327// GN: //base:android_runtime_jni_headers
328genrule {
329 name: "cronet_aml_base_android_runtime_jni_headers",
Patrick Rohr9b99a982022-10-28 11:00:57 -0700330 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
331 "long " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700332 " " +
333 " " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700334 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -0700335 "$(genDir)/base/android_runtime_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700336 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -0700337 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700338 "--jar_file " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700339 "$(location third_party/android_sdk/public/platforms/android-33/android.jar) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700340 "--output_name " +
341 "Runnable_jni.h " +
342 "--output_name " +
343 "Runtime_jni.h " +
344 "--input_file " +
345 "java/lang/Runnable.class " +
346 "--input_file " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700347 "java/lang/Runtime.class " +
348 "--javap " +
349 "$$(find out/.path -name javap)",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700350 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -0700351 "base/android_runtime_jni_headers/Runnable_jni.h",
352 "base/android_runtime_jni_headers/Runtime_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700353 ],
354 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +0000355 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700356 "base/android/jni_generator/jni_generator.py",
357 "build/android/gyp/util/__init__.py",
358 "build/android/gyp/util/build_utils.py",
359 "build/gn_helpers.py",
360 "third_party/android_sdk/public/platforms/android-33/android.jar",
361 ],
362}
363
364// GN: //base:base
365cc_library_static {
366 name: "cronet_aml_base_base",
367 srcs: [
368 ":cronet_aml_base_numerics_base_numerics",
369 ":cronet_aml_third_party_abseil_cpp_absl",
370 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
371 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
372 ":cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
373 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
374 ":cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
375 ":cronet_aml_third_party_abseil_cpp_absl_base_config",
376 ":cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
377 ":cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
378 ":cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
379 ":cronet_aml_third_party_abseil_cpp_absl_base_endian",
380 ":cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
381 ":cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
382 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
383 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
384 ":cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
385 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
386 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
387 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
388 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
389 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
390 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
391 ":cronet_aml_third_party_abseil_cpp_absl_container_btree",
392 ":cronet_aml_third_party_abseil_cpp_absl_container_common",
393 ":cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
394 ":cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
395 ":cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
396 ":cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
397 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
398 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
399 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
400 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
401 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
402 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
403 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
404 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
405 ":cronet_aml_third_party_abseil_cpp_absl_container_layout",
406 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
407 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
408 ":cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
409 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
410 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
411 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
412 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
413 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
414 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
415 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
416 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
417 ":cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
418 ":cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
419 ":cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
420 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
421 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
422 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
423 ":cronet_aml_third_party_abseil_cpp_absl_memory_memory",
424 ":cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
425 ":cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
426 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
427 ":cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
428 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
429 ":cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
430 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
431 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
432 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
433 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
434 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
435 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
436 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
437 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
438 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
439 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
440 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
441 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
442 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
443 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
444 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
445 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
446 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
447 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
448 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
449 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
450 ":cronet_aml_third_party_abseil_cpp_absl_random_random",
451 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
452 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
453 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
454 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
455 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
456 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
457 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
458 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
459 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
460 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
461 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
462 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
463 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
464 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
465 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
466 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
467 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
468 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
469 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
470 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
471 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
472 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
473 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
474 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
475 ":cronet_aml_third_party_abseil_cpp_absl_types_compare",
476 ":cronet_aml_third_party_abseil_cpp_absl_types_optional",
477 ":cronet_aml_third_party_abseil_cpp_absl_types_span",
478 ":cronet_aml_third_party_abseil_cpp_absl_types_variant",
479 ":cronet_aml_third_party_abseil_cpp_absl_utility_utility",
480 ":cronet_aml_third_party_android_ndk_cpu_features",
481 ":cronet_aml_third_party_ashmem_ashmem",
482 "base/allocator/allocator_check.cc",
483 "base/allocator/allocator_extension.cc",
484 "base/allocator/dispatcher/dispatcher.cc",
485 "base/allocator/dispatcher/internal/dispatch_data.cc",
486 "base/allocator/dispatcher/reentry_guard.cc",
487 "base/allocator/partition_allocator/shim/allocator_shim.cc",
488 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
489 "base/android/android_hardware_buffer_compat.cc",
490 "base/android/android_image_reader_compat.cc",
491 "base/android/apk_assets.cc",
492 "base/android/application_status_listener.cc",
493 "base/android/base_feature_list.cc",
494 "base/android/base_features.cc",
495 "base/android/base_jni_onload.cc",
496 "base/android/build_info.cc",
497 "base/android/bundle_utils.cc",
498 "base/android/callback_android.cc",
499 "base/android/child_process_service.cc",
500 "base/android/command_line_android.cc",
501 "base/android/content_uri_utils.cc",
502 "base/android/cpu_features.cc",
503 "base/android/early_trace_event_binding.cc",
504 "base/android/event_log.cc",
505 "base/android/feature_list_jni.cc",
506 "base/android/features_jni.cc",
507 "base/android/field_trial_list.cc",
508 "base/android/important_file_writer_android.cc",
509 "base/android/int_string_callback.cc",
510 "base/android/jank_metric_uma_recorder.cc",
511 "base/android/java_exception_reporter.cc",
512 "base/android/java_handler_thread.cc",
513 "base/android/java_heap_dump_generator.cc",
514 "base/android/java_runtime.cc",
515 "base/android/jni_android.cc",
516 "base/android/jni_array.cc",
517 "base/android/jni_registrar.cc",
518 "base/android/jni_string.cc",
519 "base/android/jni_utils.cc",
520 "base/android/jni_weak_ref.cc",
521 "base/android/library_loader/anchor_functions.cc",
522 "base/android/library_loader/library_loader_hooks.cc",
523 "base/android/library_loader/library_prefetcher.cc",
524 "base/android/library_loader/library_prefetcher_hooks.cc",
525 "base/android/locale_utils.cc",
526 "base/android/memory_pressure_listener_android.cc",
527 "base/android/native_uma_recorder.cc",
528 "base/android/path_service_android.cc",
529 "base/android/path_utils.cc",
530 "base/android/radio_utils.cc",
531 "base/android/reached_addresses_bitset.cc",
Motomu Utsumid03217b2022-11-01 12:16:19 +0900532 "base/android/reached_code_profiler_stub.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700533 "base/android/remove_stale_data.cc",
534 "base/android/scoped_hardware_buffer_fence_sync.cc",
535 "base/android/scoped_hardware_buffer_handle.cc",
536 "base/android/scoped_java_ref.cc",
537 "base/android/statistics_recorder_android.cc",
538 "base/android/sys_utils.cc",
539 "base/android/task_scheduler/post_task_android.cc",
540 "base/android/task_scheduler/task_runner_android.cc",
541 "base/android/thread_instruction_count.cc",
542 "base/android/timezone_utils.cc",
543 "base/android/trace_event_binding.cc",
544 "base/android/unguessable_token_android.cc",
545 "base/at_exit.cc",
546 "base/barrier_closure.cc",
547 "base/base64.cc",
548 "base/base64url.cc",
549 "base/base_paths.cc",
550 "base/base_paths_android.cc",
551 "base/big_endian.cc",
552 "base/build_time.cc",
553 "base/callback_list.cc",
554 "base/check.cc",
555 "base/check_is_test.cc",
556 "base/check_op.cc",
557 "base/command_line.cc",
558 "base/containers/flat_tree.cc",
559 "base/containers/intrusive_heap.cc",
560 "base/containers/linked_list.cc",
561 "base/cpu.cc",
562 "base/cpu_reduction_experiment.cc",
563 "base/debug/activity_analyzer.cc",
564 "base/debug/activity_tracker.cc",
565 "base/debug/alias.cc",
566 "base/debug/asan_invalid_access.cc",
567 "base/debug/buffered_dwarf_reader.cc",
568 "base/debug/crash_logging.cc",
569 "base/debug/debugger.cc",
570 "base/debug/debugger_posix.cc",
571 "base/debug/dump_without_crashing.cc",
572 "base/debug/dwarf_line_no.cc",
573 "base/debug/elf_reader.cc",
574 "base/debug/proc_maps_linux.cc",
575 "base/debug/profiler.cc",
576 "base/debug/stack_trace.cc",
577 "base/debug/stack_trace_android.cc",
578 "base/debug/task_trace.cc",
579 "base/environment.cc",
580 "base/feature_list.cc",
581 "base/features.cc",
582 "base/file_descriptor_posix.cc",
583 "base/file_descriptor_store.cc",
584 "base/files/file.cc",
585 "base/files/file_descriptor_watcher_posix.cc",
586 "base/files/file_enumerator.cc",
587 "base/files/file_enumerator_posix.cc",
588 "base/files/file_path.cc",
589 "base/files/file_path_watcher.cc",
590 "base/files/file_path_watcher_inotify.cc",
591 "base/files/file_posix.cc",
592 "base/files/file_proxy.cc",
593 "base/files/file_tracing.cc",
594 "base/files/file_util.cc",
595 "base/files/file_util_android.cc",
596 "base/files/file_util_posix.cc",
597 "base/files/important_file_writer.cc",
598 "base/files/important_file_writer_cleaner.cc",
599 "base/files/memory_mapped_file.cc",
600 "base/files/memory_mapped_file_posix.cc",
601 "base/files/safe_base_name.cc",
602 "base/files/scoped_file.cc",
603 "base/files/scoped_file_android.cc",
604 "base/files/scoped_temp_dir.cc",
605 "base/functional/callback_helpers.cc",
606 "base/functional/callback_internal.cc",
607 "base/guid.cc",
608 "base/hash/hash.cc",
609 "base/hash/legacy_hash.cc",
610 "base/hash/md5_boringssl.cc",
611 "base/hash/sha1_boringssl.cc",
612 "base/json/json_file_value_serializer.cc",
613 "base/json/json_parser.cc",
614 "base/json/json_reader.cc",
615 "base/json/json_string_value_serializer.cc",
616 "base/json/json_value_converter.cc",
617 "base/json/json_writer.cc",
618 "base/json/string_escape.cc",
619 "base/json/values_util.cc",
620 "base/lazy_instance_helpers.cc",
621 "base/linux_util.cc",
622 "base/location.cc",
623 "base/logging.cc",
624 "base/memory/aligned_memory.cc",
625 "base/memory/discardable_memory.cc",
626 "base/memory/discardable_memory_allocator.cc",
627 "base/memory/discardable_shared_memory.cc",
628 "base/memory/madv_free_discardable_memory_allocator_posix.cc",
629 "base/memory/madv_free_discardable_memory_posix.cc",
630 "base/memory/memory_pressure_listener.cc",
631 "base/memory/memory_pressure_monitor.cc",
632 "base/memory/nonscannable_memory.cc",
633 "base/memory/page_size_posix.cc",
634 "base/memory/platform_shared_memory_handle.cc",
635 "base/memory/platform_shared_memory_mapper_android.cc",
636 "base/memory/platform_shared_memory_region.cc",
637 "base/memory/platform_shared_memory_region_android.cc",
638 "base/memory/raw_ptr.cc",
639 "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
640 "base/memory/raw_ptr_asan_service.cc",
641 "base/memory/read_only_shared_memory_region.cc",
642 "base/memory/ref_counted.cc",
643 "base/memory/ref_counted_memory.cc",
644 "base/memory/shared_memory_mapper.cc",
645 "base/memory/shared_memory_mapping.cc",
646 "base/memory/shared_memory_security_policy.cc",
647 "base/memory/shared_memory_tracker.cc",
648 "base/memory/unsafe_shared_memory_pool.cc",
649 "base/memory/unsafe_shared_memory_region.cc",
650 "base/memory/weak_ptr.cc",
651 "base/memory/writable_shared_memory_region.cc",
652 "base/message_loop/message_pump.cc",
653 "base/message_loop/message_pump_android.cc",
654 "base/message_loop/message_pump_default.cc",
655 "base/message_loop/message_pump_epoll.cc",
656 "base/message_loop/message_pump_libevent.cc",
657 "base/message_loop/watchable_io_message_pump_posix.cc",
658 "base/message_loop/work_id_provider.cc",
659 "base/metrics/bucket_ranges.cc",
660 "base/metrics/crc32.cc",
661 "base/metrics/dummy_histogram.cc",
662 "base/metrics/field_trial.cc",
663 "base/metrics/field_trial_param_associator.cc",
664 "base/metrics/field_trial_params.cc",
665 "base/metrics/histogram.cc",
666 "base/metrics/histogram_base.cc",
667 "base/metrics/histogram_delta_serialization.cc",
668 "base/metrics/histogram_functions.cc",
669 "base/metrics/histogram_samples.cc",
670 "base/metrics/histogram_snapshot_manager.cc",
671 "base/metrics/metrics_hashes.cc",
672 "base/metrics/persistent_histogram_allocator.cc",
673 "base/metrics/persistent_histogram_storage.cc",
674 "base/metrics/persistent_memory_allocator.cc",
675 "base/metrics/persistent_sample_map.cc",
676 "base/metrics/ranges_manager.cc",
677 "base/metrics/sample_map.cc",
678 "base/metrics/sample_vector.cc",
679 "base/metrics/single_sample_metrics.cc",
680 "base/metrics/sparse_histogram.cc",
681 "base/metrics/statistics_recorder.cc",
682 "base/metrics/user_metrics.cc",
683 "base/native_library.cc",
684 "base/native_library_posix.cc",
685 "base/observer_list_internal.cc",
686 "base/observer_list_threadsafe.cc",
687 "base/observer_list_types.cc",
688 "base/one_shot_event.cc",
689 "base/os_compat_android.cc",
690 "base/path_service.cc",
691 "base/pending_task.cc",
692 "base/pickle.cc",
693 "base/posix/can_lower_nice_to.cc",
694 "base/posix/file_descriptor_shuffle.cc",
695 "base/posix/global_descriptors.cc",
696 "base/posix/safe_strerror.cc",
697 "base/posix/unix_domain_socket.cc",
698 "base/power_monitor/battery_level_provider.cc",
699 "base/power_monitor/battery_state_sampler.cc",
700 "base/power_monitor/moving_average.cc",
701 "base/power_monitor/power_monitor.cc",
702 "base/power_monitor/power_monitor_device_source.cc",
703 "base/power_monitor/power_monitor_device_source_android.cc",
704 "base/power_monitor/power_monitor_features.cc",
705 "base/power_monitor/power_monitor_source.cc",
706 "base/power_monitor/sampling_event_source.cc",
707 "base/power_monitor/timer_sampling_event_source.cc",
708 "base/process/environment_internal.cc",
709 "base/process/internal_linux.cc",
710 "base/process/kill.cc",
711 "base/process/kill_posix.cc",
712 "base/process/launch.cc",
713 "base/process/launch_posix.cc",
714 "base/process/memory.cc",
715 "base/process/memory_linux.cc",
716 "base/process/process_android.cc",
717 "base/process/process_handle.cc",
718 "base/process/process_handle_linux.cc",
719 "base/process/process_handle_posix.cc",
720 "base/process/process_iterator.cc",
721 "base/process/process_iterator_linux.cc",
722 "base/process/process_metrics.cc",
723 "base/process/process_metrics_linux.cc",
724 "base/process/process_metrics_posix.cc",
725 "base/process/process_posix.cc",
726 "base/profiler/arm_cfi_table.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700727 "base/profiler/frame.cc",
728 "base/profiler/metadata_recorder.cc",
729 "base/profiler/module_cache.cc",
730 "base/profiler/module_cache_posix.cc",
731 "base/profiler/sample_metadata.cc",
732 "base/profiler/sampling_profiler_thread_token.cc",
733 "base/profiler/stack_base_address_posix.cc",
734 "base/profiler/stack_buffer.cc",
735 "base/profiler/stack_copier.cc",
736 "base/profiler/stack_copier_signal.cc",
737 "base/profiler/stack_copier_suspend.cc",
738 "base/profiler/stack_sampler.cc",
739 "base/profiler/stack_sampler_android.cc",
740 "base/profiler/stack_sampler_impl.cc",
741 "base/profiler/stack_sampling_profiler.cc",
742 "base/profiler/thread_delegate_posix.cc",
743 "base/profiler/unwinder.cc",
744 "base/rand_util.cc",
745 "base/rand_util_posix.cc",
746 "base/run_loop.cc",
747 "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
748 "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
749 "base/sampling_heap_profiler/sampling_heap_profiler.cc",
750 "base/scoped_add_feature_flags.cc",
751 "base/scoped_environment_variable_override.cc",
752 "base/scoped_native_library.cc",
753 "base/sequence_checker.cc",
754 "base/sequence_checker_impl.cc",
755 "base/sequence_token.cc",
756 "base/strings/abseil_string_conversions.cc",
757 "base/strings/abseil_string_number_conversions.cc",
758 "base/strings/escape.cc",
759 "base/strings/latin1_string_conversions.cc",
760 "base/strings/pattern.cc",
761 "base/strings/safe_sprintf.cc",
762 "base/strings/strcat.cc",
763 "base/strings/string_number_conversions.cc",
764 "base/strings/string_piece.cc",
765 "base/strings/string_split.cc",
766 "base/strings/string_util.cc",
767 "base/strings/string_util_constants.cc",
768 "base/strings/stringprintf.cc",
769 "base/strings/sys_string_conversions_posix.cc",
770 "base/strings/utf_offset_string_conversions.cc",
771 "base/strings/utf_string_conversion_utils.cc",
772 "base/strings/utf_string_conversions.cc",
773 "base/substring_set_matcher/matcher_string_pattern.cc",
774 "base/substring_set_matcher/substring_set_matcher.cc",
775 "base/supports_user_data.cc",
776 "base/sync_socket.cc",
777 "base/sync_socket_posix.cc",
778 "base/synchronization/atomic_flag.cc",
779 "base/synchronization/condition_variable_posix.cc",
780 "base/synchronization/lock.cc",
781 "base/synchronization/lock_impl_posix.cc",
782 "base/synchronization/waitable_event_posix.cc",
783 "base/synchronization/waitable_event_watcher_posix.cc",
784 "base/syslog_logging.cc",
785 "base/system/sys_info.cc",
786 "base/system/sys_info_android.cc",
787 "base/system/sys_info_linux.cc",
788 "base/system/sys_info_posix.cc",
789 "base/system/system_monitor.cc",
790 "base/task/cancelable_task_tracker.cc",
791 "base/task/common/checked_lock_impl.cc",
792 "base/task/common/lazy_now.cc",
793 "base/task/common/operations_controller.cc",
794 "base/task/common/scoped_defer_task_posting.cc",
795 "base/task/common/task_annotator.cc",
796 "base/task/current_thread.cc",
797 "base/task/default_delayed_task_handle_delegate.cc",
798 "base/task/deferred_sequenced_task_runner.cc",
799 "base/task/delayed_task_handle.cc",
800 "base/task/lazy_thread_pool_task_runner.cc",
801 "base/task/post_job.cc",
802 "base/task/scoped_set_task_priority_for_current_thread.cc",
803 "base/task/sequence_manager/associated_thread_id.cc",
804 "base/task/sequence_manager/atomic_flag_set.cc",
805 "base/task/sequence_manager/delayed_task_handle_delegate.cc",
806 "base/task/sequence_manager/enqueue_order_generator.cc",
807 "base/task/sequence_manager/fence.cc",
808 "base/task/sequence_manager/hierarchical_timing_wheel.cc",
809 "base/task/sequence_manager/sequence_manager.cc",
810 "base/task/sequence_manager/sequence_manager_impl.cc",
811 "base/task/sequence_manager/sequenced_task_source.cc",
812 "base/task/sequence_manager/task_order.cc",
813 "base/task/sequence_manager/task_queue.cc",
814 "base/task/sequence_manager/task_queue_impl.cc",
815 "base/task/sequence_manager/task_queue_selector.cc",
816 "base/task/sequence_manager/tasks.cc",
817 "base/task/sequence_manager/thread_controller.cc",
818 "base/task/sequence_manager/thread_controller_impl.cc",
819 "base/task/sequence_manager/thread_controller_power_monitor.cc",
820 "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
821 "base/task/sequence_manager/time_domain.cc",
822 "base/task/sequence_manager/timing_wheel.cc",
823 "base/task/sequence_manager/wake_up_queue.cc",
824 "base/task/sequence_manager/work_deduplicator.cc",
825 "base/task/sequence_manager/work_queue.cc",
826 "base/task/sequence_manager/work_queue_sets.cc",
827 "base/task/sequenced_task_runner.cc",
828 "base/task/simple_task_executor.cc",
829 "base/task/single_thread_task_executor.cc",
830 "base/task/single_thread_task_runner.cc",
831 "base/task/task_executor.cc",
832 "base/task/task_features.cc",
833 "base/task/task_runner.cc",
834 "base/task/task_traits.cc",
835 "base/task/thread_pool.cc",
836 "base/task/thread_pool/delayed_priority_queue.cc",
837 "base/task/thread_pool/delayed_task_manager.cc",
838 "base/task/thread_pool/environment_config.cc",
839 "base/task/thread_pool/initialization_util.cc",
840 "base/task/thread_pool/job_task_source.cc",
841 "base/task/thread_pool/pooled_parallel_task_runner.cc",
842 "base/task/thread_pool/pooled_sequenced_task_runner.cc",
843 "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
844 "base/task/thread_pool/pooled_task_runner_delegate.cc",
845 "base/task/thread_pool/priority_queue.cc",
846 "base/task/thread_pool/sequence.cc",
847 "base/task/thread_pool/service_thread.cc",
848 "base/task/thread_pool/task.cc",
849 "base/task/thread_pool/task_source.cc",
850 "base/task/thread_pool/task_source_sort_key.cc",
851 "base/task/thread_pool/task_tracker.cc",
852 "base/task/thread_pool/thread_group.cc",
853 "base/task/thread_pool/thread_group_impl.cc",
854 "base/task/thread_pool/thread_group_native.cc",
855 "base/task/thread_pool/thread_pool_impl.cc",
856 "base/task/thread_pool/thread_pool_instance.cc",
857 "base/task/thread_pool/worker_thread.cc",
858 "base/task/thread_pool/worker_thread_stack.cc",
859 "base/third_party/cityhash/city.cc",
860 "base/third_party/cityhash_v103/src/city_v103.cc",
861 "base/third_party/nspr/prtime.cc",
862 "base/third_party/superfasthash/superfasthash.c",
863 "base/threading/hang_watcher.cc",
864 "base/threading/platform_thread.cc",
865 "base/threading/platform_thread_android.cc",
866 "base/threading/platform_thread_internal_posix.cc",
867 "base/threading/platform_thread_posix.cc",
868 "base/threading/platform_thread_ref.cc",
869 "base/threading/post_task_and_reply_impl.cc",
870 "base/threading/scoped_blocking_call.cc",
871 "base/threading/scoped_blocking_call_internal.cc",
872 "base/threading/scoped_thread_priority.cc",
873 "base/threading/sequence_local_storage_map.cc",
874 "base/threading/sequence_local_storage_slot.cc",
875 "base/threading/sequenced_task_runner_handle.cc",
876 "base/threading/simple_thread.cc",
877 "base/threading/thread.cc",
878 "base/threading/thread_checker.cc",
879 "base/threading/thread_checker_impl.cc",
880 "base/threading/thread_collision_warner.cc",
881 "base/threading/thread_id_name_manager.cc",
882 "base/threading/thread_local_storage.cc",
883 "base/threading/thread_local_storage_posix.cc",
884 "base/threading/thread_restrictions.cc",
885 "base/threading/thread_task_runner_handle.cc",
886 "base/threading/watchdog.cc",
887 "base/time/clock.cc",
888 "base/time/default_clock.cc",
889 "base/time/default_tick_clock.cc",
890 "base/time/tick_clock.cc",
891 "base/time/time.cc",
892 "base/time/time_android.cc",
893 "base/time/time_conversion_posix.cc",
894 "base/time/time_delta_from_string.cc",
895 "base/time/time_exploded_icu.cc",
896 "base/time/time_exploded_posix.cc",
897 "base/time/time_now_posix.cc",
898 "base/time/time_override.cc",
899 "base/time/time_to_iso8601.cc",
900 "base/timer/elapsed_timer.cc",
901 "base/timer/hi_res_timer_manager_posix.cc",
902 "base/timer/lap_timer.cc",
903 "base/timer/timer.cc",
904 "base/timer/wall_clock_timer.cc",
905 "base/token.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700906 "base/trace_event/heap_profiler_allocation_context.cc",
907 "base/trace_event/heap_profiler_allocation_context_tracker.cc",
908 "base/trace_event/memory_allocator_dump_guid.cc",
909 "base/trace_event/trace_event_stub.cc",
910 "base/trace_event/trace_id_helper.cc",
911 "base/unguessable_token.cc",
912 "base/value_iterators.cc",
913 "base/values.cc",
914 "base/version.cc",
915 "base/vlog.cc",
916 ],
917 shared_libs: [
918 "libandroid",
919 "liblog",
920 ],
921 static_libs: [
922 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
923 "cronet_aml_base_base_static",
924 "cronet_aml_base_third_party_double_conversion_double_conversion",
925 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700926 "cronet_aml_third_party_icu_icui18n",
927 "cronet_aml_third_party_icu_icuuc_private",
928 "cronet_aml_third_party_libevent_libevent",
929 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcc83af22022-11-10 20:00:58 -0800930 "libssl",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700931 ],
932 generated_headers: [
933 "cronet_aml_base_allocator_buildflags",
934 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
935 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
936 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
937 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
938 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
939 "cronet_aml_base_anchor_functions_buildflags",
Motomu Utsumie246feb2022-11-01 17:25:56 +0900940 "cronet_aml_base_android_runtime_jni_headers",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700941 "cronet_aml_base_base_jni_headers",
942 "cronet_aml_base_build_date",
943 "cronet_aml_base_cfi_buildflags",
944 "cronet_aml_base_clang_profiling_buildflags",
945 "cronet_aml_base_debugging_buildflags",
946 "cronet_aml_base_feature_list_buildflags",
947 "cronet_aml_base_ios_cronet_buildflags",
948 "cronet_aml_base_logging_buildflags",
949 "cronet_aml_base_message_pump_buildflags",
950 "cronet_aml_base_orderfile_buildflags",
951 "cronet_aml_base_parsing_buildflags",
952 "cronet_aml_base_power_monitor_buildflags",
953 "cronet_aml_base_profiler_buildflags",
954 "cronet_aml_base_sanitizer_buildflags",
955 "cronet_aml_base_synchronization_buildflags",
956 "cronet_aml_base_tracing_buildflags",
957 "cronet_aml_build_branding_buildflags",
958 "cronet_aml_build_chromecast_buildflags",
959 "cronet_aml_build_chromeos_buildflags",
960 "cronet_aml_build_config_compiler_compiler_buildflags",
961 ],
962 export_generated_headers: [
963 "cronet_aml_base_allocator_buildflags",
964 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
965 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
966 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
967 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
968 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
969 "cronet_aml_base_anchor_functions_buildflags",
Motomu Utsumie246feb2022-11-01 17:25:56 +0900970 "cronet_aml_base_android_runtime_jni_headers",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700971 "cronet_aml_base_base_jni_headers",
972 "cronet_aml_base_build_date",
973 "cronet_aml_base_cfi_buildflags",
974 "cronet_aml_base_clang_profiling_buildflags",
975 "cronet_aml_base_debugging_buildflags",
976 "cronet_aml_base_feature_list_buildflags",
977 "cronet_aml_base_ios_cronet_buildflags",
978 "cronet_aml_base_logging_buildflags",
979 "cronet_aml_base_message_pump_buildflags",
980 "cronet_aml_base_orderfile_buildflags",
981 "cronet_aml_base_parsing_buildflags",
982 "cronet_aml_base_power_monitor_buildflags",
983 "cronet_aml_base_profiler_buildflags",
984 "cronet_aml_base_sanitizer_buildflags",
985 "cronet_aml_base_synchronization_buildflags",
986 "cronet_aml_base_tracing_buildflags",
987 "cronet_aml_build_branding_buildflags",
988 "cronet_aml_build_chromecast_buildflags",
989 "cronet_aml_build_chromeos_buildflags",
990 "cronet_aml_build_config_compiler_compiler_buildflags",
991 ],
992 defaults: [
993 "cronet_aml_defaults",
994 ],
995 cflags: [
996 "-DABSL_ALLOCATOR_NOTHROW=1",
997 "-DANDROID",
998 "-DANDROID_NDK_VERSION_ROLL=r23_1",
999 "-DBASE_IMPLEMENTATION",
1000 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1001 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1002 "-DDCHECK_ALWAYS_ON=1",
1003 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1004 "-DHAVE_SYS_UIO_H",
1005 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
1006 "-DUSE_CHROMIUM_ICU=1",
1007 "-DU_ENABLE_DYLOAD=0",
1008 "-DU_ENABLE_RESOURCE_TRACING=0",
1009 "-DU_ENABLE_TRACING=1",
1010 "-DU_STATIC_IMPLEMENTATION",
1011 "-DU_USING_ICU_NAMESPACE=0",
1012 "-D_DEBUG",
1013 "-D_GNU_SOURCE",
1014 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1015 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1016 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1017 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1018 "-D__STDC_CONSTANT_MACROS",
1019 "-D__STDC_FORMAT_MACROS",
1020 ],
1021 local_include_dirs: [
1022 "./",
1023 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001024 "buildtools/third_party/libc++/trunk/include",
1025 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001026 "third_party/abseil-cpp/",
1027 "third_party/android_ndk/sources/android/cpufeatures/",
1028 "third_party/boringssl/src/include/",
1029 "third_party/icu/source/common/",
1030 "third_party/icu/source/i18n/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09001031 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001032 ],
Patrick Rohrf22e9d02022-10-28 14:20:46 -07001033 header_libs: [
1034 "jni_headers",
1035 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07001036 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001037}
1038
1039// GN: //base:base_jni_headers
1040genrule {
1041 name: "cronet_aml_base_base_jni_headers",
1042 srcs: [
1043 "base/android/java/src/org/chromium/base/ApkAssets.java",
1044 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
1045 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
1046 "base/android/java/src/org/chromium/base/BuildInfo.java",
1047 "base/android/java/src/org/chromium/base/BundleUtils.java",
1048 "base/android/java/src/org/chromium/base/Callback.java",
1049 "base/android/java/src/org/chromium/base/CommandLine.java",
1050 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
1051 "base/android/java/src/org/chromium/base/CpuFeatures.java",
1052 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
1053 "base/android/java/src/org/chromium/base/EventLog.java",
1054 "base/android/java/src/org/chromium/base/FeatureList.java",
1055 "base/android/java/src/org/chromium/base/Features.java",
1056 "base/android/java/src/org/chromium/base/FieldTrialList.java",
1057 "base/android/java/src/org/chromium/base/FileUtils.java",
1058 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
1059 "base/android/java/src/org/chromium/base/IntStringCallback.java",
1060 "base/android/java/src/org/chromium/base/JNIUtils.java",
1061 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
1062 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
1063 "base/android/java/src/org/chromium/base/LocaleUtils.java",
1064 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
1065 "base/android/java/src/org/chromium/base/PathService.java",
1066 "base/android/java/src/org/chromium/base/PathUtils.java",
1067 "base/android/java/src/org/chromium/base/PowerMonitor.java",
1068 "base/android/java/src/org/chromium/base/RadioUtils.java",
1069 "base/android/java/src/org/chromium/base/SysUtils.java",
1070 "base/android/java/src/org/chromium/base/ThreadUtils.java",
1071 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
1072 "base/android/java/src/org/chromium/base/TraceEvent.java",
1073 "base/android/java/src/org/chromium/base/UnguessableToken.java",
1074 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
1075 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
1076 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
1077 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
1078 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
1079 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
1080 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
1081 "base/android/java/src/org/chromium/base/task/PostTask.java",
1082 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
1083 ],
Patrick Rohr9b99a982022-10-28 11:00:57 -07001084 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
1085 "long " +
Patrick Rohr131ba282022-10-31 16:36:20 -07001086 " " +
1087 " " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001088 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -07001089 "$(genDir)/base/base_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001090 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -07001091 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001092 "--use_proxy_hash " +
1093 "--output_name " +
1094 "ApkAssets_jni.h " +
1095 "--output_name " +
1096 "ApplicationStatus_jni.h " +
1097 "--output_name " +
1098 "BaseFeatureList_jni.h " +
1099 "--output_name " +
1100 "BuildInfo_jni.h " +
1101 "--output_name " +
1102 "BundleUtils_jni.h " +
1103 "--output_name " +
1104 "Callback_jni.h " +
1105 "--output_name " +
1106 "CommandLine_jni.h " +
1107 "--output_name " +
1108 "ContentUriUtils_jni.h " +
1109 "--output_name " +
1110 "CpuFeatures_jni.h " +
1111 "--output_name " +
1112 "EarlyTraceEvent_jni.h " +
1113 "--output_name " +
1114 "EventLog_jni.h " +
1115 "--output_name " +
1116 "FeatureList_jni.h " +
1117 "--output_name " +
1118 "Features_jni.h " +
1119 "--output_name " +
1120 "FieldTrialList_jni.h " +
1121 "--output_name " +
1122 "FileUtils_jni.h " +
1123 "--output_name " +
1124 "ImportantFileWriterAndroid_jni.h " +
1125 "--output_name " +
1126 "IntStringCallback_jni.h " +
1127 "--output_name " +
1128 "JNIUtils_jni.h " +
1129 "--output_name " +
1130 "JavaExceptionReporter_jni.h " +
1131 "--output_name " +
1132 "JavaHandlerThread_jni.h " +
1133 "--output_name " +
1134 "LocaleUtils_jni.h " +
1135 "--output_name " +
1136 "MemoryPressureListener_jni.h " +
1137 "--output_name " +
1138 "PathService_jni.h " +
1139 "--output_name " +
1140 "PathUtils_jni.h " +
1141 "--output_name " +
1142 "PowerMonitor_jni.h " +
1143 "--output_name " +
1144 "RadioUtils_jni.h " +
1145 "--output_name " +
1146 "SysUtils_jni.h " +
1147 "--output_name " +
1148 "ThreadUtils_jni.h " +
1149 "--output_name " +
1150 "TimezoneUtils_jni.h " +
1151 "--output_name " +
1152 "TraceEvent_jni.h " +
1153 "--output_name " +
1154 "UnguessableToken_jni.h " +
1155 "--output_name " +
1156 "JankMetricUMARecorder_jni.h " +
1157 "--output_name " +
1158 "LibraryLoader_jni.h " +
1159 "--output_name " +
1160 "LibraryPrefetcher_jni.h " +
1161 "--output_name " +
1162 "JavaHeapDumpGenerator_jni.h " +
1163 "--output_name " +
1164 "NativeUmaRecorder_jni.h " +
1165 "--output_name " +
1166 "StatisticsRecorderAndroid_jni.h " +
1167 "--output_name " +
1168 "ChildProcessService_jni.h " +
1169 "--output_name " +
1170 "PostTask_jni.h " +
1171 "--output_name " +
1172 "TaskRunnerImpl_jni.h " +
1173 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001174 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001175 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001176 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001177 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001178 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001179 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001180 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001181 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001182 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001183 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001184 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001185 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001186 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001187 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001188 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001189 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001190 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001191 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001192 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001193 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001194 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001195 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001196 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001197 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001198 "$(location base/android/java/src/org/chromium/base/Features.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001199 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001200 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001201 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001202 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001203 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001204 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001205 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001206 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001207 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001208 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001209 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001210 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001211 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001212 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001213 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001214 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001215 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001216 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001217 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001218 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001219 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001220 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001221 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001222 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001223 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001224 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001225 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001226 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001227 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001228 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001229 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001230 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001231 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001232 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001233 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001234 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001235 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001236 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001237 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001238 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001239 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001240 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001241 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001242 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001243 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001244 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001245 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001246 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001247 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001248 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001249 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001250 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001251 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07001252 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001253 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -07001254 "base/base_jni_headers/ApkAssets_jni.h",
1255 "base/base_jni_headers/ApplicationStatus_jni.h",
1256 "base/base_jni_headers/BaseFeatureList_jni.h",
1257 "base/base_jni_headers/BuildInfo_jni.h",
1258 "base/base_jni_headers/BundleUtils_jni.h",
1259 "base/base_jni_headers/Callback_jni.h",
1260 "base/base_jni_headers/ChildProcessService_jni.h",
1261 "base/base_jni_headers/CommandLine_jni.h",
1262 "base/base_jni_headers/ContentUriUtils_jni.h",
1263 "base/base_jni_headers/CpuFeatures_jni.h",
1264 "base/base_jni_headers/EarlyTraceEvent_jni.h",
1265 "base/base_jni_headers/EventLog_jni.h",
1266 "base/base_jni_headers/FeatureList_jni.h",
1267 "base/base_jni_headers/Features_jni.h",
1268 "base/base_jni_headers/FieldTrialList_jni.h",
1269 "base/base_jni_headers/FileUtils_jni.h",
1270 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
1271 "base/base_jni_headers/IntStringCallback_jni.h",
1272 "base/base_jni_headers/JNIUtils_jni.h",
1273 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
1274 "base/base_jni_headers/JavaExceptionReporter_jni.h",
1275 "base/base_jni_headers/JavaHandlerThread_jni.h",
1276 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
1277 "base/base_jni_headers/LibraryLoader_jni.h",
1278 "base/base_jni_headers/LibraryPrefetcher_jni.h",
1279 "base/base_jni_headers/LocaleUtils_jni.h",
1280 "base/base_jni_headers/MemoryPressureListener_jni.h",
1281 "base/base_jni_headers/NativeUmaRecorder_jni.h",
1282 "base/base_jni_headers/PathService_jni.h",
1283 "base/base_jni_headers/PathUtils_jni.h",
1284 "base/base_jni_headers/PostTask_jni.h",
1285 "base/base_jni_headers/PowerMonitor_jni.h",
1286 "base/base_jni_headers/RadioUtils_jni.h",
1287 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
1288 "base/base_jni_headers/SysUtils_jni.h",
1289 "base/base_jni_headers/TaskRunnerImpl_jni.h",
1290 "base/base_jni_headers/ThreadUtils_jni.h",
1291 "base/base_jni_headers/TimezoneUtils_jni.h",
1292 "base/base_jni_headers/TraceEvent_jni.h",
1293 "base/base_jni_headers/UnguessableToken_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001294 ],
1295 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00001296 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001297 "base/android/jni_generator/jni_generator.py",
1298 "build/android/gyp/util/__init__.py",
1299 "build/android/gyp/util/build_utils.py",
1300 "build/gn_helpers.py",
1301 ],
1302}
1303
Motomu Utsumibf569d42022-10-28 16:47:34 +09001304// GN: //base:base_static
1305cc_library_static {
1306 name: "cronet_aml_base_base_static",
1307 srcs: [
1308 "base/base_switches.cc",
1309 ],
1310 generated_headers: [
1311 "cronet_aml_build_chromeos_buildflags",
1312 ],
1313 export_generated_headers: [
1314 "cronet_aml_build_chromeos_buildflags",
1315 ],
1316 defaults: [
1317 "cronet_aml_defaults",
1318 ],
1319 cflags: [
1320 "-DANDROID",
1321 "-DANDROID_NDK_VERSION_ROLL=r23_1",
1322 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1323 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1324 "-DDCHECK_ALWAYS_ON=1",
1325 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1326 "-DHAVE_SYS_UIO_H",
1327 "-D_DEBUG",
1328 "-D_GNU_SOURCE",
1329 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1330 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1331 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1332 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1333 "-D__STDC_CONSTANT_MACROS",
1334 "-D__STDC_FORMAT_MACROS",
1335 ],
1336 local_include_dirs: [
1337 "./",
1338 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001339 "buildtools/third_party/libc++/trunk/include",
1340 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09001341 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Motomu Utsumibf569d42022-10-28 16:47:34 +09001342 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07001343 cpp_std: "c++20",
Motomu Utsumibf569d42022-10-28 16:47:34 +09001344}
1345
Motomu Utsumie0d20212022-10-28 17:06:46 +09001346// GN: //base:build_date
1347genrule {
1348 name: "cronet_aml_base_build_date",
Patrick Rohr9b99a982022-10-28 11:00:57 -07001349 cmd: "$(location build/write_build_date_header.py) $(out) " +
1350 "1664686800",
Motomu Utsumie0d20212022-10-28 17:06:46 +09001351 out: [
1352 "base/generated_build_date.h",
1353 ],
1354 tool_files: [
1355 "build/write_build_date_header.py",
1356 ],
1357}
1358
Patrick Rohrcc377df2022-10-28 09:27:15 -07001359// GN: //base:cfi_buildflags
1360genrule {
1361 name: "cronet_aml_base_cfi_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001362 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 -07001363 "$(location build/write_buildflag_header.py) --output " +
1364 "$(out) " +
1365 "--rulename " +
1366 "//base:cfi_buildflags " +
1367 "--gen-dir " +
1368 ". " +
1369 "--definitions " +
1370 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001371 out: [
1372 "base/cfi_buildflags.h",
1373 ],
1374 tool_files: [
1375 "build/write_buildflag_header.py",
1376 ],
1377}
1378
1379// GN: //base:clang_profiling_buildflags
1380genrule {
1381 name: "cronet_aml_base_clang_profiling_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001382 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001383 "$(location build/write_buildflag_header.py) --output " +
1384 "$(out) " +
1385 "--rulename " +
1386 "//base:clang_profiling_buildflags " +
1387 "--gen-dir " +
1388 ". " +
1389 "--definitions " +
1390 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001391 out: [
1392 "base/clang_profiling_buildflags.h",
1393 ],
1394 tool_files: [
1395 "build/write_buildflag_header.py",
1396 ],
1397}
1398
1399// GN: //base:debugging_buildflags
1400genrule {
1401 name: "cronet_aml_base_debugging_buildflags",
Motomu Utsumid03217b2022-11-01 12:16:19 +09001402 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 -07001403 "$(location build/write_buildflag_header.py) --output " +
1404 "$(out) " +
1405 "--rulename " +
1406 "//base:debugging_buildflags " +
1407 "--gen-dir " +
1408 ". " +
1409 "--definitions " +
1410 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001411 out: [
1412 "base/debug/debugging_buildflags.h",
1413 ],
1414 tool_files: [
1415 "build/write_buildflag_header.py",
1416 ],
1417}
1418
1419// GN: //base:feature_list_buildflags
1420genrule {
1421 name: "cronet_aml_base_feature_list_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001422 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001423 "$(location build/write_buildflag_header.py) --output " +
1424 "$(out) " +
1425 "--rulename " +
1426 "//base:feature_list_buildflags " +
1427 "--gen-dir " +
1428 ". " +
1429 "--definitions " +
1430 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001431 out: [
1432 "base/feature_list_buildflags.h",
1433 ],
1434 tool_files: [
1435 "build/write_buildflag_header.py",
1436 ],
1437}
1438
1439// GN: //base:ios_cronet_buildflags
1440genrule {
1441 name: "cronet_aml_base_ios_cronet_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001442 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001443 "$(location build/write_buildflag_header.py) --output " +
1444 "$(out) " +
1445 "--rulename " +
1446 "//base:ios_cronet_buildflags " +
1447 "--gen-dir " +
1448 ". " +
1449 "--definitions " +
1450 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001451 out: [
1452 "base/message_loop/ios_cronet_buildflags.h",
1453 ],
1454 tool_files: [
1455 "build/write_buildflag_header.py",
1456 ],
1457}
1458
1459// GN: //base:logging_buildflags
1460genrule {
1461 name: "cronet_aml_base_logging_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001462 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001463 "$(location build/write_buildflag_header.py) --output " +
1464 "$(out) " +
1465 "--rulename " +
1466 "//base:logging_buildflags " +
1467 "--gen-dir " +
1468 ". " +
1469 "--definitions " +
1470 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001471 out: [
1472 "base/logging_buildflags.h",
1473 ],
1474 tool_files: [
1475 "build/write_buildflag_header.py",
1476 ],
1477}
1478
1479// GN: //base:message_pump_buildflags
1480genrule {
1481 name: "cronet_aml_base_message_pump_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001482 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001483 "$(location build/write_buildflag_header.py) --output " +
1484 "$(out) " +
1485 "--rulename " +
1486 "//base:message_pump_buildflags " +
1487 "--gen-dir " +
1488 ". " +
1489 "--definitions " +
1490 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001491 out: [
1492 "base/message_loop/message_pump_buildflags.h",
1493 ],
1494 tool_files: [
1495 "build/write_buildflag_header.py",
1496 ],
1497}
1498
1499// GN: //base/numerics:base_numerics
1500filegroup {
1501 name: "cronet_aml_base_numerics_base_numerics",
1502}
1503
1504// GN: //base:orderfile_buildflags
1505genrule {
1506 name: "cronet_aml_base_orderfile_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001507 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001508 "$(location build/write_buildflag_header.py) --output " +
1509 "$(out) " +
1510 "--rulename " +
1511 "//base:orderfile_buildflags " +
1512 "--gen-dir " +
1513 ". " +
1514 "--definitions " +
1515 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001516 out: [
1517 "base/android/orderfile/orderfile_buildflags.h",
1518 ],
1519 tool_files: [
1520 "build/write_buildflag_header.py",
1521 ],
1522}
1523
1524// GN: //base:parsing_buildflags
1525genrule {
1526 name: "cronet_aml_base_parsing_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001527 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001528 "$(location build/write_buildflag_header.py) --output " +
1529 "$(out) " +
1530 "--rulename " +
1531 "//base:parsing_buildflags " +
1532 "--gen-dir " +
1533 ". " +
1534 "--definitions " +
1535 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001536 out: [
1537 "base/parsing_buildflags.h",
1538 ],
1539 tool_files: [
1540 "build/write_buildflag_header.py",
1541 ],
1542}
1543
1544// GN: //base:power_monitor_buildflags
1545genrule {
1546 name: "cronet_aml_base_power_monitor_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001547 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001548 "$(location build/write_buildflag_header.py) --output " +
1549 "$(out) " +
1550 "--rulename " +
1551 "//base:power_monitor_buildflags " +
1552 "--gen-dir " +
1553 ". " +
1554 "--definitions " +
1555 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001556 out: [
1557 "base/power_monitor/power_monitor_buildflags.h",
1558 ],
1559 tool_files: [
1560 "build/write_buildflag_header.py",
1561 ],
1562}
1563
1564// GN: //base:profiler_buildflags
1565genrule {
1566 name: "cronet_aml_base_profiler_buildflags",
Motomu Utsumid03217b2022-11-01 12:16:19 +09001567 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 -07001568 "$(location build/write_buildflag_header.py) --output " +
1569 "$(out) " +
1570 "--rulename " +
1571 "//base:profiler_buildflags " +
1572 "--gen-dir " +
1573 ". " +
1574 "--definitions " +
1575 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001576 out: [
1577 "base/profiler/profiler_buildflags.h",
1578 ],
1579 tool_files: [
1580 "build/write_buildflag_header.py",
1581 ],
1582}
1583
1584// GN: //base:sanitizer_buildflags
1585genrule {
1586 name: "cronet_aml_base_sanitizer_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001587 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001588 "$(location build/write_buildflag_header.py) --output " +
1589 "$(out) " +
1590 "--rulename " +
1591 "//base:sanitizer_buildflags " +
1592 "--gen-dir " +
1593 ". " +
1594 "--definitions " +
1595 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001596 out: [
1597 "base/sanitizer_buildflags.h",
1598 ],
1599 tool_files: [
1600 "build/write_buildflag_header.py",
1601 ],
1602}
1603
1604// GN: //base:synchronization_buildflags
1605genrule {
1606 name: "cronet_aml_base_synchronization_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001607 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001608 "$(location build/write_buildflag_header.py) --output " +
1609 "$(out) " +
1610 "--rulename " +
1611 "//base:synchronization_buildflags " +
1612 "--gen-dir " +
1613 ". " +
1614 "--definitions " +
1615 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001616 out: [
1617 "base/synchronization/synchronization_buildflags.h",
1618 ],
1619 tool_files: [
1620 "build/write_buildflag_header.py",
1621 ],
1622}
1623
1624// GN: //base/third_party/double_conversion:double_conversion
1625cc_library_static {
1626 name: "cronet_aml_base_third_party_double_conversion_double_conversion",
1627 srcs: [
1628 "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
1629 "base/third_party/double_conversion/double-conversion/bignum.cc",
1630 "base/third_party/double_conversion/double-conversion/cached-powers.cc",
1631 "base/third_party/double_conversion/double-conversion/double-to-string.cc",
1632 "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
1633 "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
1634 "base/third_party/double_conversion/double-conversion/string-to-double.cc",
1635 "base/third_party/double_conversion/double-conversion/strtod.cc",
1636 ],
1637 defaults: [
1638 "cronet_aml_defaults",
1639 ],
1640 cflags: [
1641 "-DANDROID",
1642 "-DANDROID_NDK_VERSION_ROLL=r23_1",
1643 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1644 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1645 "-DDCHECK_ALWAYS_ON=1",
1646 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1647 "-DHAVE_SYS_UIO_H",
1648 "-D_DEBUG",
1649 "-D_GNU_SOURCE",
1650 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1651 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1652 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1653 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1654 "-D__STDC_CONSTANT_MACROS",
1655 "-D__STDC_FORMAT_MACROS",
1656 ],
1657 local_include_dirs: [
1658 "./",
1659 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001660 "buildtools/third_party/libc++/trunk/include",
1661 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09001662 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001663 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07001664 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001665}
1666
1667// GN: //base/third_party/dynamic_annotations:dynamic_annotations
1668cc_library_static {
1669 name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
1670 srcs: [
1671 "base/third_party/dynamic_annotations/dynamic_annotations.c",
1672 ],
1673 defaults: [
1674 "cronet_aml_defaults",
1675 ],
1676 cflags: [
1677 "-DANDROID",
1678 "-DANDROID_NDK_VERSION_ROLL=r23_1",
1679 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1680 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1681 "-DDCHECK_ALWAYS_ON=1",
1682 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1683 "-DHAVE_SYS_UIO_H",
1684 "-D_DEBUG",
1685 "-D_GNU_SOURCE",
1686 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1687 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1688 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1689 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1690 ],
1691 local_include_dirs: [
1692 "./",
1693 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001694 "buildtools/third_party/libc++/trunk/include",
1695 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09001696 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001697 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07001698 cpp_std: "c++20",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001699}
1700
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08001701// GN: //base/third_party/symbolize:symbolize
1702cc_library_static {
1703 name: "cronet_aml_base_third_party_symbolize_symbolize",
1704 srcs: [
1705 "base/third_party/symbolize/demangle.cc",
1706 "base/third_party/symbolize/symbolize.cc",
1707 ],
1708 defaults: [
1709 "cronet_aml_defaults",
1710 ],
1711 cflags: [
1712 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1713 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1714 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
1715 "-DDCHECK_ALWAYS_ON=1",
1716 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1717 "-DGLOG_EXPORT=",
1718 "-DUSE_AURA=1",
1719 "-DUSE_OZONE=1",
1720 "-DUSE_UDEV",
1721 "-D_DEBUG",
1722 "-D_FILE_OFFSET_BITS=64",
1723 "-D_GNU_SOURCE",
1724 "-D_LARGEFILE64_SOURCE",
1725 "-D_LARGEFILE_SOURCE",
1726 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1727 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1728 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1729 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1730 ],
1731 local_include_dirs: [
1732 "./",
1733 "buildtools/third_party/libc++/",
1734 "buildtools/third_party/libc++/trunk/include",
1735 "buildtools/third_party/libc++abi/trunk/include",
1736 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
1737 ],
1738 cpp_std: "c++20",
1739}
1740
1741// GN: //base/third_party/xdg_mime:xdg_mime
1742cc_library_static {
1743 name: "cronet_aml_base_third_party_xdg_mime_xdg_mime",
1744 srcs: [
1745 "base/third_party/xdg_mime/xdgmime.c",
1746 "base/third_party/xdg_mime/xdgmimealias.c",
1747 "base/third_party/xdg_mime/xdgmimecache.c",
1748 "base/third_party/xdg_mime/xdgmimeglob.c",
1749 "base/third_party/xdg_mime/xdgmimeicon.c",
1750 "base/third_party/xdg_mime/xdgmimeint.c",
1751 "base/third_party/xdg_mime/xdgmimemagic.c",
1752 "base/third_party/xdg_mime/xdgmimeparent.c",
1753 ],
1754 defaults: [
1755 "cronet_aml_defaults",
1756 ],
1757 cflags: [
1758 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1759 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1760 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
1761 "-DDCHECK_ALWAYS_ON=1",
1762 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1763 "-DUSE_AURA=1",
1764 "-DUSE_OZONE=1",
1765 "-DUSE_UDEV",
1766 "-D_DEBUG",
1767 "-D_FILE_OFFSET_BITS=64",
1768 "-D_GNU_SOURCE",
1769 "-D_LARGEFILE64_SOURCE",
1770 "-D_LARGEFILE_SOURCE",
1771 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1772 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1773 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1774 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1775 ],
1776 local_include_dirs: [
1777 "./",
1778 "buildtools/third_party/libc++/",
1779 "buildtools/third_party/libc++/trunk/include",
1780 "buildtools/third_party/libc++abi/trunk/include",
1781 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
1782 ],
1783 cpp_std: "c++20",
1784}
1785
1786// GN: //base/third_party/xdg_user_dirs:xdg_user_dirs
1787cc_library_static {
1788 name: "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs",
1789 srcs: [
1790 "base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc",
1791 ],
1792 defaults: [
1793 "cronet_aml_defaults",
1794 ],
1795 cflags: [
1796 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1797 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1798 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
1799 "-DDCHECK_ALWAYS_ON=1",
1800 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
1801 "-DUSE_AURA=1",
1802 "-DUSE_OZONE=1",
1803 "-DUSE_UDEV",
1804 "-D_DEBUG",
1805 "-D_FILE_OFFSET_BITS=64",
1806 "-D_GNU_SOURCE",
1807 "-D_LARGEFILE64_SOURCE",
1808 "-D_LARGEFILE_SOURCE",
1809 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1810 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1811 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1812 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1813 "-D__STDC_CONSTANT_MACROS",
1814 "-D__STDC_FORMAT_MACROS",
1815 ],
1816 local_include_dirs: [
1817 "./",
1818 "buildtools/third_party/libc++/",
1819 "buildtools/third_party/libc++/trunk/include",
1820 "buildtools/third_party/libc++abi/trunk/include",
1821 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
1822 ],
1823 cpp_std: "c++20",
1824}
1825
Patrick Rohrcc377df2022-10-28 09:27:15 -07001826// GN: //base:tracing_buildflags
1827genrule {
1828 name: "cronet_aml_base_tracing_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001829 cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001830 "$(location build/write_buildflag_header.py) --output " +
1831 "$(out) " +
1832 "--rulename " +
1833 "//base:tracing_buildflags " +
1834 "--gen-dir " +
1835 ". " +
1836 "--definitions " +
1837 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001838 out: [
1839 "base/tracing_buildflags.h",
1840 ],
1841 tool_files: [
1842 "build/write_buildflag_header.py",
1843 ],
1844}
1845
1846// GN: //build:branding_buildflags
1847genrule {
1848 name: "cronet_aml_build_branding_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001849 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001850 "$(location build/write_buildflag_header.py) --output " +
1851 "$(out) " +
1852 "--rulename " +
1853 "//build:branding_buildflags " +
1854 "--gen-dir " +
1855 ". " +
1856 "--definitions " +
1857 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001858 out: [
1859 "build/branding_buildflags.h",
1860 ],
1861 tool_files: [
1862 "build/write_buildflag_header.py",
1863 ],
1864}
1865
Motomu Utsumibf569d42022-10-28 16:47:34 +09001866// GN: //build:buildflag_header_h
1867filegroup {
1868 name: "cronet_aml_build_buildflag_header_h",
1869}
1870
Patrick Rohrcc377df2022-10-28 09:27:15 -07001871// GN: //build:chromecast_buildflags
1872genrule {
1873 name: "cronet_aml_build_chromecast_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001874 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001875 "$(location build/write_buildflag_header.py) --output " +
1876 "$(out) " +
1877 "--rulename " +
1878 "//build:chromecast_buildflags " +
1879 "--gen-dir " +
1880 ". " +
1881 "--definitions " +
1882 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001883 out: [
1884 "build/chromecast_buildflags.h",
1885 ],
1886 tool_files: [
1887 "build/write_buildflag_header.py",
1888 ],
1889}
1890
Motomu Utsumibf569d42022-10-28 16:47:34 +09001891// GN: //build:chromeos_buildflags
1892genrule {
1893 name: "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001894 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 -07001895 "$(location build/write_buildflag_header.py) --output " +
1896 "$(out) " +
1897 "--rulename " +
1898 "//build:chromeos_buildflags " +
1899 "--gen-dir " +
1900 ". " +
1901 "--definitions " +
1902 "/dev/stdin",
Motomu Utsumibf569d42022-10-28 16:47:34 +09001903 out: [
1904 "build/chromeos_buildflags.h",
1905 ],
1906 tool_files: [
1907 "build/write_buildflag_header.py",
1908 ],
1909}
1910
Patrick Rohrcc377df2022-10-28 09:27:15 -07001911// GN: //build/config/compiler:compiler_buildflags
1912genrule {
1913 name: "cronet_aml_build_config_compiler_compiler_buildflags",
Patrick Rohrc20887d2022-10-28 12:59:20 -07001914 cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07001915 "$(location build/write_buildflag_header.py) --output " +
1916 "$(out) " +
1917 "--rulename " +
1918 "//build/config/compiler:compiler_buildflags " +
1919 "--gen-dir " +
1920 ". " +
1921 "--definitions " +
1922 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001923 out: [
1924 "build/config/compiler/compiler_buildflags.h",
1925 ],
1926 tool_files: [
1927 "build/write_buildflag_header.py",
1928 ],
1929}
1930
Patrick Rohrcb035942022-11-01 12:12:52 -07001931// GN: //buildtools/third_party/libc++:libc++
1932filegroup {
1933 name: "cronet_aml_buildtools_third_party_libc___libc__",
Patrick Rohr971e03c2022-11-10 19:09:46 -08001934 srcs: [
1935 "buildtools/third_party/libc++/trunk/src/algorithm.cpp",
1936 "buildtools/third_party/libc++/trunk/src/any.cpp",
1937 "buildtools/third_party/libc++/trunk/src/atomic.cpp",
1938 "buildtools/third_party/libc++/trunk/src/barrier.cpp",
1939 "buildtools/third_party/libc++/trunk/src/bind.cpp",
1940 "buildtools/third_party/libc++/trunk/src/charconv.cpp",
1941 "buildtools/third_party/libc++/trunk/src/chrono.cpp",
1942 "buildtools/third_party/libc++/trunk/src/condition_variable.cpp",
1943 "buildtools/third_party/libc++/trunk/src/condition_variable_destructor.cpp",
1944 "buildtools/third_party/libc++/trunk/src/exception.cpp",
1945 "buildtools/third_party/libc++/trunk/src/format.cpp",
1946 "buildtools/third_party/libc++/trunk/src/functional.cpp",
1947 "buildtools/third_party/libc++/trunk/src/future.cpp",
1948 "buildtools/third_party/libc++/trunk/src/hash.cpp",
1949 "buildtools/third_party/libc++/trunk/src/ios.cpp",
1950 "buildtools/third_party/libc++/trunk/src/ios.instantiations.cpp",
1951 "buildtools/third_party/libc++/trunk/src/iostream.cpp",
1952 "buildtools/third_party/libc++/trunk/src/legacy_pointer_safety.cpp",
1953 "buildtools/third_party/libc++/trunk/src/locale.cpp",
1954 "buildtools/third_party/libc++/trunk/src/memory.cpp",
1955 "buildtools/third_party/libc++/trunk/src/mutex.cpp",
1956 "buildtools/third_party/libc++/trunk/src/mutex_destructor.cpp",
1957 "buildtools/third_party/libc++/trunk/src/new.cpp",
1958 "buildtools/third_party/libc++/trunk/src/optional.cpp",
1959 "buildtools/third_party/libc++/trunk/src/random.cpp",
1960 "buildtools/third_party/libc++/trunk/src/random_shuffle.cpp",
1961 "buildtools/third_party/libc++/trunk/src/regex.cpp",
1962 "buildtools/third_party/libc++/trunk/src/ryu/d2fixed.cpp",
1963 "buildtools/third_party/libc++/trunk/src/ryu/d2s.cpp",
1964 "buildtools/third_party/libc++/trunk/src/ryu/f2s.cpp",
1965 "buildtools/third_party/libc++/trunk/src/shared_mutex.cpp",
1966 "buildtools/third_party/libc++/trunk/src/stdexcept.cpp",
1967 "buildtools/third_party/libc++/trunk/src/string.cpp",
1968 "buildtools/third_party/libc++/trunk/src/strstream.cpp",
1969 "buildtools/third_party/libc++/trunk/src/system_error.cpp",
1970 "buildtools/third_party/libc++/trunk/src/thread.cpp",
1971 "buildtools/third_party/libc++/trunk/src/typeinfo.cpp",
1972 "buildtools/third_party/libc++/trunk/src/utility.cpp",
1973 "buildtools/third_party/libc++/trunk/src/valarray.cpp",
1974 "buildtools/third_party/libc++/trunk/src/variant.cpp",
1975 "buildtools/third_party/libc++/trunk/src/vector.cpp",
1976 "buildtools/third_party/libc++/trunk/src/verbose_abort.cpp",
1977 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07001978}
1979
1980// GN: //buildtools/third_party/libc++abi:libc++abi
1981filegroup {
1982 name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09001983 srcs: [
1984 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
Patrick Rohr971e03c2022-11-10 19:09:46 -08001985 "buildtools/third_party/libc++abi/trunk/src/abort_message.cpp",
1986 "buildtools/third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp",
1987 "buildtools/third_party/libc++abi/trunk/src/cxa_default_handlers.cpp",
1988 "buildtools/third_party/libc++abi/trunk/src/cxa_exception.cpp",
1989 "buildtools/third_party/libc++abi/trunk/src/cxa_exception_storage.cpp",
1990 "buildtools/third_party/libc++abi/trunk/src/cxa_guard.cpp",
1991 "buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp",
1992 "buildtools/third_party/libc++abi/trunk/src/cxa_personality.cpp",
1993 "buildtools/third_party/libc++abi/trunk/src/cxa_thread_atexit.cpp",
1994 "buildtools/third_party/libc++abi/trunk/src/cxa_vector.cpp",
1995 "buildtools/third_party/libc++abi/trunk/src/cxa_virtual.cpp",
1996 "buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp",
1997 "buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp",
1998 "buildtools/third_party/libc++abi/trunk/src/stdlib_exception.cpp",
1999 "buildtools/third_party/libc++abi/trunk/src/stdlib_stdexcept.cpp",
2000 "buildtools/third_party/libc++abi/trunk/src/stdlib_typeinfo.cpp",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002001 ],
2002}
2003
2004// GN: //buildtools/third_party/libunwind:libunwind
2005filegroup {
2006 name: "cronet_aml_buildtools_third_party_libunwind_libunwind",
2007 srcs: [
Patrick Rohr971e03c2022-11-10 19:09:46 -08002008 "buildtools/third_party/libunwind/trunk/src/Unwind-EHABI.cpp",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002009 "buildtools/third_party/libunwind/trunk/src/Unwind-sjlj.c",
2010 "buildtools/third_party/libunwind/trunk/src/UnwindLevel1-gcc-ext.c",
2011 "buildtools/third_party/libunwind/trunk/src/UnwindLevel1.c",
Patrick Rohrf9f3a992022-11-10 19:40:32 -08002012 "buildtools/third_party/libunwind/trunk/src/UnwindRegistersRestore.S",
2013 "buildtools/third_party/libunwind/trunk/src/UnwindRegistersSave.S",
Patrick Rohr971e03c2022-11-10 19:09:46 -08002014 "buildtools/third_party/libunwind/trunk/src/libunwind.cpp",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002015 ],
2016}
2017
2018// GN: //components/cronet/android:buildflags
2019genrule {
2020 name: "cronet_aml_components_cronet_android_buildflags",
2021 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
2022 "$(location build/write_buildflag_header.py) --output " +
2023 "$(out) " +
2024 "--rulename " +
2025 "//components/cronet/android:buildflags " +
2026 "--gen-dir " +
2027 ". " +
2028 "--definitions " +
2029 "/dev/stdin",
2030 out: [
2031 "components/cronet/android/buildflags.h",
2032 ],
2033 tool_files: [
2034 "build/write_buildflag_header.py",
2035 ],
2036}
2037
2038// GN: //components/cronet/android:cronet
2039cc_library_shared {
2040 name: "cronet_aml_components_cronet_android_cronet",
2041 srcs: [
2042 ":cronet_aml_buildtools_third_party_libc___libc__",
2043 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
2044 ":cronet_aml_buildtools_third_party_libunwind_libunwind",
2045 ":cronet_aml_components_cronet_android_cronet_static",
2046 ":cronet_aml_components_cronet_cronet_common",
2047 ":cronet_aml_components_cronet_cronet_version_header",
2048 ":cronet_aml_components_cronet_metrics_util",
2049 ":cronet_aml_components_cronet_native_cronet_native_headers",
2050 ":cronet_aml_components_cronet_native_cronet_native_impl",
2051 ":cronet_aml_components_grpc_support_grpc_support",
2052 ":cronet_aml_components_grpc_support_headers",
2053 ":cronet_aml_components_metrics_library_support",
2054 ":cronet_aml_third_party_metrics_proto_metrics_proto_gen",
2055 "components/cronet/android/cronet_jni.cc",
2056 ],
2057 shared_libs: [
2058 "libandroid",
2059 "liblog",
2060 "libprotobuf-cpp-lite",
2061 ],
2062 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002063 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002064 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002065 "cronet_aml_base_base_static",
2066 "cronet_aml_base_third_party_double_conversion_double_conversion",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002067 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
2068 "cronet_aml_components_prefs_prefs",
2069 "cronet_aml_net_net",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002070 "cronet_aml_net_third_party_quiche_quiche",
2071 "cronet_aml_net_uri_template",
2072 "cronet_aml_third_party_icu_icui18n",
2073 "cronet_aml_third_party_icu_icuuc_private",
2074 "cronet_aml_third_party_libevent_libevent",
2075 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002076 "cronet_aml_third_party_zlib_zlib",
2077 "cronet_aml_url_url",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002078 "libssl",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002079 ],
2080 generated_headers: [
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002081 "cronet_aml_base_debugging_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002082 "cronet_aml_base_logging_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002083 "cronet_aml_build_chromeos_buildflags",
2084 "cronet_aml_components_cronet_android_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002085 "cronet_aml_components_cronet_android_cronet_jni_headers",
Motomu Utsumi7e983832022-11-10 16:04:46 +09002086 "cronet_aml_components_cronet_android_cronet_jni_registration",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002087 "cronet_aml_components_cronet_cronet_buildflags",
2088 "cronet_aml_components_cronet_cronet_version_header_action",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002089 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
2090 "cronet_aml_url_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002091 ],
2092 defaults: [
2093 "cronet_aml_defaults",
2094 ],
2095 cflags: [
2096 "-DANDROID",
2097 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2098 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
2099 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
2100 "-DDCHECK_ALWAYS_ON=1",
2101 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
2102 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
2103 "-DGOOGLE_PROTOBUF_NO_RTTI",
2104 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
2105 "-DHAVE_PTHREAD",
2106 "-DHAVE_SYS_UIO_H",
2107 "-DLIBCXXABI_SILENT_TERMINATE",
2108 "-DLIBCXX_BUILDING_LIBCXXABI",
2109 "-D_DEBUG",
2110 "-D_GNU_SOURCE",
2111 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
2112 "-D_LIBCPP_BUILDING_LIBRARY",
2113 "-D_LIBCPP_CONSTINIT=constinit",
2114 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2115 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
2116 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
2117 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2118 "-D_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS",
2119 "-D_LIBUNWIND_IS_NATIVE_ONLY",
2120 "-D__STDC_CONSTANT_MACROS",
2121 "-D__STDC_FORMAT_MACROS",
2122 ],
2123 local_include_dirs: [
2124 "./",
2125 "buildtools/third_party/libc++/",
2126 "buildtools/third_party/libc++/trunk/include",
2127 "buildtools/third_party/libc++/trunk/src/",
2128 "buildtools/third_party/libc++abi/trunk/include",
2129 "buildtools/third_party/libunwind/trunk/include/",
2130 "components/cronet/native/generated/",
2131 "components/cronet/native/include/",
2132 "components/grpc_support/include/",
2133 "net/third_party/quiche/overrides/",
2134 "net/third_party/quiche/src/",
2135 "net/third_party/quiche/src/quiche/common/platform/default/",
2136 "third_party/abseil-cpp/",
2137 "third_party/boringssl/src/include/",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002138 "third_party/zlib/",
2139 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
2140 ],
2141 header_libs: [
2142 "jni_headers",
2143 ],
2144 cpp_std: "c++20",
Patrick Rohrd90025f2022-11-11 14:18:35 -08002145 linker_scripts: [
2146 "base/android/library_loader/anchor_functions.lds",
2147 ],
2148 cppflags: [
2149 "-fexceptions",
2150 ],
Mohannad Farrag37388fa2022-11-10 20:42:13 +00002151 rtti: true,
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002152}
2153
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002154// GN: //components/cronet/android:cronet_jni_headers
2155genrule {
2156 name: "cronet_aml_components_cronet_android_cronet_jni_headers",
2157 srcs: [
2158 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
2159 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
2160 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
2161 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
2162 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
2163 ],
2164 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2165 "long " +
2166 " " +
2167 " " +
2168 "--output_dir " +
2169 "$(genDir)/components/cronet/android/cronet_jni_headers " +
2170 "--includes " +
2171 "base/android/jni_generator/jni_generator_helper.h " +
2172 "--use_proxy_hash " +
2173 "--output_name " +
2174 "CronetBidirectionalStream_jni.h " +
2175 "--output_name " +
2176 "CronetLibraryLoader_jni.h " +
2177 "--output_name " +
2178 "CronetUploadDataStream_jni.h " +
2179 "--output_name " +
2180 "CronetUrlRequest_jni.h " +
2181 "--output_name " +
2182 "CronetUrlRequestContext_jni.h " +
2183 "--input_file " +
2184 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
2185 "--input_file " +
2186 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
2187 "--input_file " +
2188 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
2189 "--input_file " +
2190 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
2191 "--input_file " +
2192 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)",
2193 out: [
2194 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
2195 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
2196 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
2197 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
2198 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
2199 ],
2200 tool_files: [
2201 "base/android/jni_generator/android_jar.classes",
2202 "base/android/jni_generator/jni_generator.py",
2203 "build/android/gyp/util/__init__.py",
2204 "build/android/gyp/util/build_utils.py",
2205 "build/gn_helpers.py",
2206 ],
2207}
2208
2209// GN: //components/cronet/android:cronet_jni_registration
2210genrule {
2211 name: "cronet_aml_components_cronet_android_cronet_jni_registration",
Motomu Utsumie3ce7702022-11-10 16:22:11 +09002212 srcs: [
2213 "base/android/java/src/org/chromium/base/JniException.java",
2214 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
2215 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
2216 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
2217 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
2218 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
2219 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
2220 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
2221 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
2222 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
2223 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
2224 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
2225 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
2226 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
2227 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
2228 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
2229 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
2230 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
2231 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
2232 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Motomu Utsumi79bd0c82022-11-10 17:52:24 +09002233 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
Motomu Utsumie3ce7702022-11-10 16:22:11 +09002234 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
2235 ],
Motomu Utsumi7bc2fcc2022-11-10 17:09:54 +09002236 cmd: "current_dir=`basename \\`pwd\\``; " +
2237 "for f in $(in); " +
2238 "do " +
2239 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
2240 "done; " +
Motomu Utsumi9ca466b2022-11-10 17:12:29 +09002241 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09002242 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002243 "--depfile " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09002244 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002245 "--sources-files " +
Motomu Utsumi7bc2fcc2022-11-10 17:09:54 +09002246 "$(genDir)/java.sources " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002247 "--include_test_only " +
2248 "--use_proxy_hash " +
2249 "--header-path " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09002250 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002251 "--manual_jni_registration " +
Motomu Utsumi47d122f2022-11-10 17:32:23 +09002252 " " +
Motomu Utsumi2a892d22022-11-10 18:03:20 +09002253 " " +
Mohannad Farrag7c0f0982022-11-10 14:39:49 +00002254 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
Motomu Utsumi2a892d22022-11-10 18:03:20 +09002255 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002256 out: [
2257 "components/cronet/android/cronet_jni_registration.h",
2258 "components/cronet/android/cronet_jni_registration.srcjar",
2259 ],
2260 tool_files: [
2261 "base/android/jni_generator/jni_generator.py",
2262 "base/android/jni_generator/jni_registration_generator.py",
2263 "build/android/gyp/util/__init__.py",
2264 "build/android/gyp/util/build_utils.py",
2265 "build/gn_helpers.py",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002266 ],
2267}
2268
2269// GN: //components/cronet/android:cronet_static
2270filegroup {
2271 name: "cronet_aml_components_cronet_android_cronet_static",
2272 srcs: [
2273 "components/cronet/android/cronet_bidirectional_stream_adapter.cc",
2274 "components/cronet/android/cronet_context_adapter.cc",
2275 "components/cronet/android/cronet_library_loader.cc",
2276 "components/cronet/android/cronet_upload_data_stream_adapter.cc",
2277 "components/cronet/android/cronet_url_request_adapter.cc",
2278 "components/cronet/android/io_buffer_with_byte_buffer.cc",
2279 "components/cronet/android/url_request_error.cc",
2280 ],
2281}
2282
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002283// GN: //components/cronet:cronet_buildflags
2284genrule {
2285 name: "cronet_aml_components_cronet_cronet_buildflags",
2286 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
2287 "$(location build/write_buildflag_header.py) --output " +
2288 "$(out) " +
2289 "--rulename " +
2290 "//components/cronet:cronet_buildflags " +
2291 "--gen-dir " +
2292 ". " +
2293 "--definitions " +
2294 "/dev/stdin",
2295 out: [
2296 "components/cronet/cronet_buildflags.h",
2297 ],
2298 tool_files: [
2299 "build/write_buildflag_header.py",
2300 ],
2301}
2302
2303// GN: //components/cronet:cronet_common
2304filegroup {
2305 name: "cronet_aml_components_cronet_cronet_common",
2306 srcs: [
2307 "components/cronet/cronet_context.cc",
2308 "components/cronet/cronet_prefs_manager.cc",
2309 "components/cronet/cronet_upload_data_stream.cc",
2310 "components/cronet/cronet_url_request.cc",
2311 "components/cronet/host_cache_persistence_manager.cc",
2312 "components/cronet/stale_host_resolver.cc",
2313 "components/cronet/url_request_context_config.cc",
2314 ],
2315}
2316
2317// GN: //components/cronet:cronet_version_header
2318filegroup {
2319 name: "cronet_aml_components_cronet_cronet_version_header",
2320}
2321
2322// GN: //components/cronet:cronet_version_header_action
2323genrule {
2324 name: "cronet_aml_components_cronet_cronet_version_header_action",
2325 cmd: "$(location build/util/version.py) -f " +
Motomu Utsumi847a6d32022-11-09 17:32:06 +09002326 "$(location chrome/VERSION) " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002327 "-e " +
Motomu Utsumiee279c52022-11-09 17:46:27 +09002328 "VERSION_FULL='\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
2329 " " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002330 "-o " +
Motomu Utsumi438f2c22022-11-09 18:16:40 +09002331 "$(out) " +
Motomu Utsumi847a6d32022-11-09 17:32:06 +09002332 "$(location components/cronet/version.h.in)",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002333 out: [
2334 "components/cronet/version.h",
2335 ],
2336 tool_files: [
2337 "build/util/LASTCHANGE",
Motomu Utsumib0a49e42022-11-09 18:12:27 +09002338 "build/util/android_chrome_version.py",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002339 "build/util/version.py",
2340 "chrome/VERSION",
2341 "components/cronet/version.h.in",
2342 ],
2343}
2344
2345// GN: //components/cronet:metrics_util
2346filegroup {
2347 name: "cronet_aml_components_cronet_metrics_util",
2348 srcs: [
2349 "components/cronet/metrics_util.cc",
2350 ],
2351}
2352
2353// GN: //components/cronet/native:cronet_native_headers
2354filegroup {
2355 name: "cronet_aml_components_cronet_native_cronet_native_headers",
2356}
2357
2358// GN: //components/cronet/native:cronet_native_impl
2359filegroup {
2360 name: "cronet_aml_components_cronet_native_cronet_native_impl",
2361 srcs: [
2362 "components/cronet/native/buffer.cc",
2363 "components/cronet/native/engine.cc",
2364 "components/cronet/native/generated/cronet.idl_impl_interface.cc",
2365 "components/cronet/native/generated/cronet.idl_impl_struct.cc",
2366 "components/cronet/native/io_buffer_with_cronet_buffer.cc",
2367 "components/cronet/native/native_metrics_util.cc",
2368 "components/cronet/native/runnables.cc",
2369 "components/cronet/native/upload_data_sink.cc",
2370 "components/cronet/native/url_request.cc",
2371 ],
2372}
2373
2374// GN: //components/grpc_support:grpc_support
2375filegroup {
2376 name: "cronet_aml_components_grpc_support_grpc_support",
2377 srcs: [
2378 "components/grpc_support/bidirectional_stream.cc",
2379 "components/grpc_support/bidirectional_stream_c.cc",
2380 ],
2381}
2382
2383// GN: //components/grpc_support:headers
2384filegroup {
2385 name: "cronet_aml_components_grpc_support_headers",
2386}
2387
2388// GN: //components/metrics:library_support
2389filegroup {
2390 name: "cronet_aml_components_metrics_library_support",
2391 srcs: [
2392 "components/metrics/histogram_encoder.cc",
2393 "components/metrics/library_support/histogram_manager.cc",
2394 ],
2395}
2396
2397// GN: //components/prefs/android:jni_headers
2398genrule {
2399 name: "cronet_aml_components_prefs_android_jni_headers",
2400 srcs: [
2401 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
2402 ],
2403 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2404 "long " +
2405 " " +
2406 " " +
2407 "--output_dir " +
2408 "$(genDir)/components/prefs/android/jni_headers " +
2409 "--includes " +
2410 "base/android/jni_generator/jni_generator_helper.h " +
2411 "--use_proxy_hash " +
2412 "--output_name " +
2413 "PrefService_jni.h " +
2414 "--input_file " +
2415 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java)",
2416 out: [
2417 "components/prefs/android/jni_headers/PrefService_jni.h",
2418 ],
2419 tool_files: [
2420 "base/android/jni_generator/android_jar.classes",
2421 "base/android/jni_generator/jni_generator.py",
2422 "build/android/gyp/util/__init__.py",
2423 "build/android/gyp/util/build_utils.py",
2424 "build/gn_helpers.py",
2425 ],
2426}
2427
2428// GN: //components/prefs:prefs
2429cc_library_static {
2430 name: "cronet_aml_components_prefs_prefs",
2431 srcs: [
2432 "components/prefs/android/pref_service_android.cc",
2433 "components/prefs/command_line_pref_store.cc",
2434 "components/prefs/default_pref_store.cc",
2435 "components/prefs/in_memory_pref_store.cc",
2436 "components/prefs/json_pref_store.cc",
2437 "components/prefs/overlay_user_pref_store.cc",
2438 "components/prefs/persistent_pref_store.cc",
2439 "components/prefs/pref_change_registrar.cc",
2440 "components/prefs/pref_member.cc",
2441 "components/prefs/pref_notifier_impl.cc",
2442 "components/prefs/pref_registry.cc",
2443 "components/prefs/pref_registry_simple.cc",
2444 "components/prefs/pref_service.cc",
2445 "components/prefs/pref_service_factory.cc",
2446 "components/prefs/pref_store.cc",
2447 "components/prefs/pref_value_map.cc",
2448 "components/prefs/pref_value_store.cc",
2449 "components/prefs/scoped_user_pref_update.cc",
2450 "components/prefs/segregated_pref_store.cc",
2451 "components/prefs/value_map_pref_store.cc",
2452 "components/prefs/writeable_pref_store.cc",
2453 ],
2454 shared_libs: [
2455 "libandroid",
2456 "liblog",
2457 ],
2458 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002459 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002460 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002461 "cronet_aml_base_base_static",
2462 "cronet_aml_base_third_party_double_conversion_double_conversion",
2463 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
2464 "cronet_aml_third_party_icu_icui18n",
2465 "cronet_aml_third_party_icu_icuuc_private",
2466 "cronet_aml_third_party_libevent_libevent",
2467 "cronet_aml_third_party_modp_b64_modp_b64",
2468 "libssl",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09002469 ],
2470 generated_headers: [
2471 "cronet_aml_base_debugging_buildflags",
2472 "cronet_aml_base_logging_buildflags",
2473 "cronet_aml_build_chromeos_buildflags",
2474 "cronet_aml_components_prefs_android_jni_headers",
2475 ],
2476 export_generated_headers: [
2477 "cronet_aml_base_debugging_buildflags",
2478 "cronet_aml_base_logging_buildflags",
2479 "cronet_aml_build_chromeos_buildflags",
2480 "cronet_aml_components_prefs_android_jni_headers",
2481 ],
2482 defaults: [
2483 "cronet_aml_defaults",
2484 ],
2485 cflags: [
2486 "-DANDROID",
2487 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2488 "-DCOMPONENTS_PREFS_IMPLEMENTATION",
2489 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
2490 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
2491 "-DDCHECK_ALWAYS_ON=1",
2492 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
2493 "-DHAVE_SYS_UIO_H",
2494 "-D_DEBUG",
2495 "-D_GNU_SOURCE",
2496 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
2497 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2498 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
2499 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2500 "-D__STDC_CONSTANT_MACROS",
2501 "-D__STDC_FORMAT_MACROS",
2502 ],
2503 local_include_dirs: [
2504 "./",
2505 "buildtools/third_party/libc++/",
2506 "buildtools/third_party/libc++/trunk/include",
2507 "buildtools/third_party/libc++abi/trunk/include",
2508 "third_party/abseil-cpp/",
2509 "third_party/boringssl/src/include/",
2510 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
2511 ],
2512 header_libs: [
2513 "jni_headers",
2514 ],
2515 cpp_std: "c++20",
Patrick Rohrcb035942022-11-01 12:12:52 -07002516}
2517
2518// GN: //crypto:buildflags
2519genrule {
2520 name: "cronet_aml_crypto_buildflags",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00002521 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
Patrick Rohrcb035942022-11-01 12:12:52 -07002522 "$(location build/write_buildflag_header.py) --output " +
2523 "$(out) " +
2524 "--rulename " +
2525 "//crypto:buildflags " +
2526 "--gen-dir " +
2527 ". " +
2528 "--definitions " +
2529 "/dev/stdin",
2530 out: [
2531 "crypto/crypto_buildflags.h",
2532 ],
2533 tool_files: [
2534 "build/write_buildflag_header.py",
2535 ],
2536}
2537
2538// GN: //crypto:crypto
2539cc_library_static {
2540 name: "cronet_aml_crypto_crypto",
2541 srcs: [
2542 "crypto/aead.cc",
2543 "crypto/ec_private_key.cc",
2544 "crypto/ec_signature_creator.cc",
2545 "crypto/ec_signature_creator_impl.cc",
2546 "crypto/encryptor.cc",
2547 "crypto/hkdf.cc",
2548 "crypto/hmac.cc",
2549 "crypto/openssl_util.cc",
2550 "crypto/p224_spake.cc",
2551 "crypto/random.cc",
2552 "crypto/rsa_private_key.cc",
2553 "crypto/secure_hash.cc",
2554 "crypto/secure_util.cc",
2555 "crypto/sha2.cc",
2556 "crypto/signature_creator.cc",
2557 "crypto/signature_verifier.cc",
2558 "crypto/symmetric_key.cc",
2559 "crypto/unexportable_key.cc",
2560 "crypto/unexportable_key_metrics.cc",
2561 ],
Mohannad Farrag033c9d62022-11-07 14:55:49 +00002562 shared_libs: [
2563 "libandroid",
2564 "liblog",
2565 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07002566 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002567 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -07002568 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002569 "cronet_aml_base_base_static",
2570 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -07002571 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08002572 "cronet_aml_third_party_icu_icui18n",
2573 "cronet_aml_third_party_icu_icuuc_private",
2574 "cronet_aml_third_party_libevent_libevent",
2575 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcc83af22022-11-10 20:00:58 -08002576 "libssl",
Patrick Rohrcb035942022-11-01 12:12:52 -07002577 ],
2578 generated_headers: [
2579 "cronet_aml_crypto_buildflags",
2580 ],
2581 export_generated_headers: [
2582 "cronet_aml_crypto_buildflags",
2583 ],
2584 defaults: [
2585 "cronet_aml_defaults",
2586 ],
2587 cflags: [
Mohannad Farrag033c9d62022-11-07 14:55:49 +00002588 "-DANDROID",
2589 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcb035942022-11-01 12:12:52 -07002590 "-DCRYPTO_IMPLEMENTATION",
2591 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
2592 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
2593 "-DDCHECK_ALWAYS_ON=1",
2594 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00002595 "-DHAVE_SYS_UIO_H",
Patrick Rohrcb035942022-11-01 12:12:52 -07002596 "-D_DEBUG",
2597 "-D_GNU_SOURCE",
2598 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
2599 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2600 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
2601 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2602 "-D__STDC_CONSTANT_MACROS",
2603 "-D__STDC_FORMAT_MACROS",
2604 ],
2605 local_include_dirs: [
2606 "./",
2607 "buildtools/third_party/libc++/",
2608 "buildtools/third_party/libc++/trunk/include",
2609 "buildtools/third_party/libc++abi/trunk/include",
2610 "third_party/abseil-cpp/",
2611 "third_party/boringssl/src/include/",
Mohannad Farrag033c9d62022-11-07 14:55:49 +00002612 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcb035942022-11-01 12:12:52 -07002613 ],
2614 cpp_std: "c++20",
2615}
2616
Motomu Utsumifcac4852022-10-26 19:28:31 +09002617// GN: //gn:default_deps
2618cc_defaults {
2619 name: "cronet_aml_defaults",
2620 cflags: [
Patrick Rohr3ce74772022-11-11 14:19:58 -08002621 "-DGOOGLE_PROTOBUF_NO_RTTI",
Motomu Utsumifcac4852022-10-26 19:28:31 +09002622 "-O2",
Motomu Utsumiba020942022-11-14 15:15:41 +09002623 "-Wno-ambiguous-reversed-operator",
Mohannad Farragd98a96d2022-11-10 14:56:19 +00002624 "-Wno-deprecated-non-prototype",
Motomu Utsumifcac4852022-10-26 19:28:31 +09002625 "-Wno-error=return-type",
Patrick Rohr5c700022022-11-08 19:33:07 -08002626 "-Wno-macro-redefined",
Patrick Rohr98065152022-10-31 14:49:58 -07002627 "-Wno-missing-field-initializers",
Patrick Rohr3a1ec1d2022-10-31 13:30:17 -07002628 "-Wno-non-virtual-dtor",
Motomu Utsumifcac4852022-10-26 19:28:31 +09002629 "-Wno-sign-compare",
2630 "-Wno-sign-promo",
2631 "-Wno-unused-parameter",
2632 "-fvisibility=hidden",
2633 ],
Patrick Rohr61f2acb2022-10-31 14:08:18 -07002634 stl: "none",
Motomu Utsumifcac4852022-10-26 19:28:31 +09002635}
2636
Patrick Rohrcb035942022-11-01 12:12:52 -07002637// GN: //ipc:param_traits
2638filegroup {
2639 name: "cronet_aml_ipc_param_traits",
2640}
2641
Patrick Rohrb18aca22022-11-04 15:07:32 -07002642// GN: //gn:java
2643java_library {
2644 name: "cronet_aml_java",
2645 srcs: [
Mohannad Farrag21562d62022-11-07 13:09:31 +00002646 "base/android/java/src/org/chromium/base/JniException.java",
2647 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
2648 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
2649 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
2650 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
2651 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
2652 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
2653 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
2654 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
2655 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
2656 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
2657 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
2658 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
2659 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
2660 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
2661 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
2662 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
2663 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
2664 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
2665 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
2666 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
Patrick Rohrb18aca22022-11-04 15:07:32 -07002667 ],
2668}
2669
Motomu Utsumid464e5f2022-11-09 12:42:52 +09002670// GN: //net/base/registry_controlled_domains:registry_controlled_domains
2671genrule {
2672 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
2673 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
2674 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
2675 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
2676 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
2677 "--reverse " +
2678 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
2679 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
2680 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
2681 "--reverse " +
2682 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
2683 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
2684 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
2685 "--reverse " +
2686 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
2687 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
2688 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
2689 "--reverse " +
2690 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
2691 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
2692 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
2693 "--reverse " +
2694 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
2695 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
2696 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
2697 "--reverse " +
2698 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
2699 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
2700 out: [
2701 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
2702 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
2703 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
2704 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
2705 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
2706 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
2707 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
2708 ],
2709 tool_files: [
2710 "net/base/registry_controlled_domains/effective_tld_names.gperf",
2711 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
2712 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
2713 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
2714 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
2715 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
2716 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
2717 "net/tools/dafsa/make_dafsa.py",
2718 ],
2719}
2720
Patrick Rohrcb035942022-11-01 12:12:52 -07002721// GN: //net:buildflags
2722genrule {
2723 name: "cronet_aml_net_buildflags",
2724 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\"' | " +
2725 "$(location build/write_buildflag_header.py) --output " +
2726 "$(out) " +
2727 "--rulename " +
2728 "//net:buildflags " +
2729 "--gen-dir " +
2730 ". " +
2731 "--definitions " +
2732 "/dev/stdin",
2733 out: [
2734 "net/net_buildflags.h",
2735 ],
2736 tool_files: [
2737 "build/write_buildflag_header.py",
2738 ],
2739}
2740
2741// GN: //net/cert:root_store_proto_full
Patrick Rohrcb035942022-11-01 12:12:52 -07002742genrule {
2743 name: "cronet_aml_net_cert_root_store_proto_full_gen",
2744 srcs: [
2745 "net/cert/root_store.proto",
2746 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09002747 tools: [
2748 "aprotoc",
2749 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09002750 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/cert --cpp_out=lite=true:$(genDir)/external/chromium_org/net/cert/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07002751 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08002752 "external/chromium_org/net/cert/root_store.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002753 ],
2754}
2755
Patrick Rohrc5980782022-11-07 16:34:03 -08002756// GN: //net/cert:root_store_proto_full
Motomu Utsumic6277d92022-11-07 15:15:17 +09002757genrule {
2758 name: "cronet_aml_net_cert_root_store_proto_full_gen_headers",
2759 srcs: [
2760 "net/cert/root_store.proto",
2761 ],
2762 tools: [
2763 "aprotoc",
2764 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09002765 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/cert --cpp_out=lite=true:$(genDir)/external/chromium_org/net/cert/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002766 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08002767 "external/chromium_org/net/cert/root_store.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07002768 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08002769 export_include_dirs: [
2770 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -08002771 "net/cert",
Patrick Rohrc5980782022-11-07 16:34:03 -08002772 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07002773 ],
2774}
2775
2776// GN: //net:constants
2777filegroup {
2778 name: "cronet_aml_net_constants",
2779}
2780
2781// GN: //net/data/ssl/chrome_root_store:gen_root_store_inc
2782genrule {
2783 name: "cronet_aml_net_data_ssl_chrome_root_store_gen_root_store_inc",
2784 cmd: "$(location build/gn_run_binary.py) clang_x64/root_store_tool " +
2785 "--root-store " +
2786 "../../net/data/ssl/chrome_root_store/root_store.textproto " +
2787 "--certs " +
2788 "../../net/data/ssl/chrome_root_store/root_store.certs " +
2789 "--write-cpp-root-store " +
2790 "gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc " +
2791 "--write-cpp-ev-roots " +
2792 "gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
2793 out: [
2794 "net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
2795 "net/data/ssl/chrome_root_store/chrome-root-store-inc.cc",
2796 ],
2797 tool_files: [
2798 "build/gn_run_binary.py",
2799 "net/data/ssl/chrome_root_store/root_store.certs",
2800 "net/data/ssl/chrome_root_store/root_store.textproto",
2801 ],
2802}
2803
2804// GN: //net/dns:dns
2805filegroup {
2806 name: "cronet_aml_net_dns_dns",
2807 srcs: [
2808 "net/dns/address_info.cc",
2809 "net/dns/address_sorter_posix.cc",
2810 "net/dns/context_host_resolver.cc",
2811 "net/dns/dns_alias_utility.cc",
2812 "net/dns/dns_client.cc",
2813 "net/dns/dns_config.cc",
2814 "net/dns/dns_config_service.cc",
2815 "net/dns/dns_config_service_android.cc",
2816 "net/dns/dns_hosts.cc",
2817 "net/dns/dns_query.cc",
2818 "net/dns/dns_reloader.cc",
2819 "net/dns/dns_response.cc",
2820 "net/dns/dns_response_result_extractor.cc",
2821 "net/dns/dns_server_iterator.cc",
2822 "net/dns/dns_session.cc",
2823 "net/dns/dns_transaction.cc",
2824 "net/dns/dns_udp_tracker.cc",
2825 "net/dns/dns_util.cc",
2826 "net/dns/host_cache.cc",
2827 "net/dns/host_resolver.cc",
2828 "net/dns/host_resolver_manager.cc",
2829 "net/dns/host_resolver_mdns_listener_impl.cc",
2830 "net/dns/host_resolver_mdns_task.cc",
2831 "net/dns/host_resolver_nat64_task.cc",
2832 "net/dns/host_resolver_proc.cc",
2833 "net/dns/host_resolver_system_task.cc",
2834 "net/dns/https_record_rdata.cc",
2835 "net/dns/httpssvc_metrics.cc",
2836 "net/dns/mapped_host_resolver.cc",
2837 "net/dns/nsswitch_reader.cc",
2838 "net/dns/opt_record_rdata.cc",
2839 "net/dns/record_parsed.cc",
2840 "net/dns/record_rdata.cc",
2841 "net/dns/resolve_context.cc",
2842 "net/dns/serial_worker.cc",
2843 "net/dns/system_dns_config_change_notifier.cc",
2844 "net/dns/test_dns_config_service.cc",
2845 ],
2846}
2847
2848// GN: //net/dns:dns_client
2849filegroup {
2850 name: "cronet_aml_net_dns_dns_client",
2851}
2852
2853// GN: //net/dns:host_resolver
2854filegroup {
2855 name: "cronet_aml_net_dns_host_resolver",
2856}
2857
2858// GN: //net/dns:host_resolver_manager
2859filegroup {
2860 name: "cronet_aml_net_dns_host_resolver_manager",
2861}
2862
2863// GN: //net/dns:mdns_client
2864filegroup {
2865 name: "cronet_aml_net_dns_mdns_client",
2866}
2867
2868// GN: //net/dns/public:public
2869filegroup {
2870 name: "cronet_aml_net_dns_public_public",
2871 srcs: [
2872 "net/dns/public/dns_config_overrides.cc",
2873 "net/dns/public/dns_over_https_config.cc",
2874 "net/dns/public/dns_over_https_server_config.cc",
2875 "net/dns/public/dns_query_type.cc",
2876 "net/dns/public/doh_provider_entry.cc",
2877 "net/dns/public/host_resolver_results.cc",
2878 "net/dns/public/resolve_error_info.cc",
2879 "net/dns/public/util.cc",
2880 ],
2881}
2882
2883// GN: //net/http:transport_security_state_generated_files
2884filegroup {
2885 name: "cronet_aml_net_http_transport_security_state_generated_files",
2886 srcs: [
2887 "net/http/transport_security_state.cc",
2888 ],
2889}
2890
2891// GN: //net:ios_cronet_buildflags
2892genrule {
2893 name: "cronet_aml_net_ios_cronet_buildflags",
2894 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
2895 "$(location build/write_buildflag_header.py) --output " +
2896 "$(out) " +
2897 "--rulename " +
2898 "//net:ios_cronet_buildflags " +
2899 "--gen-dir " +
2900 ". " +
2901 "--definitions " +
2902 "/dev/stdin",
2903 out: [
2904 "net/socket/ios_cronet_buildflags.h",
2905 ],
2906 tool_files: [
2907 "build/write_buildflag_header.py",
2908 ],
2909}
2910
2911// GN: //net:isolation_info_proto
Patrick Rohrcb035942022-11-01 12:12:52 -07002912genrule {
2913 name: "cronet_aml_net_isolation_info_proto_gen",
2914 srcs: [
2915 "net/base/isolation_info.proto",
2916 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09002917 tools: [
2918 "aprotoc",
2919 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09002920 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/base --cpp_out=lite=true:$(genDir)/external/chromium_org/net/base/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07002921 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08002922 "external/chromium_org/net/base/isolation_info.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002923 ],
2924}
2925
Patrick Rohrc5980782022-11-07 16:34:03 -08002926// GN: //net:isolation_info_proto
Motomu Utsumic6277d92022-11-07 15:15:17 +09002927genrule {
2928 name: "cronet_aml_net_isolation_info_proto_gen_headers",
2929 srcs: [
2930 "net/base/isolation_info.proto",
2931 ],
2932 tools: [
2933 "aprotoc",
2934 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09002935 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/base --cpp_out=lite=true:$(genDir)/external/chromium_org/net/base/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09002936 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08002937 "external/chromium_org/net/base/isolation_info.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07002938 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08002939 export_include_dirs: [
2940 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -08002941 "net/base",
Patrick Rohrc5980782022-11-07 16:34:03 -08002942 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07002943 ],
2944}
2945
2946// GN: //net:net
2947cc_library_static {
2948 name: "cronet_aml_net_net",
2949 srcs: [
2950 ":cronet_aml_net_constants",
2951 ":cronet_aml_net_dns_dns",
2952 ":cronet_aml_net_dns_dns_client",
2953 ":cronet_aml_net_dns_host_resolver",
2954 ":cronet_aml_net_dns_host_resolver_manager",
2955 ":cronet_aml_net_dns_mdns_client",
2956 ":cronet_aml_net_dns_public_public",
2957 ":cronet_aml_net_http_transport_security_state_generated_files",
Patrick Rohrc5980782022-11-07 16:34:03 -08002958 ":cronet_aml_net_isolation_info_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07002959 ":cronet_aml_net_net_deps",
2960 ":cronet_aml_net_net_export_header",
Patrick Rohrc5980782022-11-07 16:34:03 -08002961 ":cronet_aml_net_net_nqe_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07002962 ":cronet_aml_net_net_public_deps",
Patrick Rohrc5980782022-11-07 16:34:03 -08002963 ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07002964 ":cronet_aml_net_traffic_annotation_traffic_annotation",
2965 "net/android/android_http_util.cc",
2966 "net/android/cert_verify_result_android.cc",
2967 "net/android/gurl_utils.cc",
2968 "net/android/http_auth_negotiate_android.cc",
2969 "net/android/keystore.cc",
2970 "net/android/network_change_notifier_android.cc",
2971 "net/android/network_change_notifier_delegate_android.cc",
2972 "net/android/network_change_notifier_factory_android.cc",
2973 "net/android/network_library.cc",
2974 "net/android/radio_activity_tracker.cc",
2975 "net/android/traffic_stats.cc",
2976 "net/base/address_family.cc",
2977 "net/base/address_list.cc",
2978 "net/base/address_tracker_linux.cc",
2979 "net/base/auth.cc",
2980 "net/base/backoff_entry.cc",
2981 "net/base/backoff_entry_serializer.cc",
2982 "net/base/cache_metrics.cc",
2983 "net/base/chunked_upload_data_stream.cc",
2984 "net/base/connection_endpoint_metadata.cc",
2985 "net/base/data_url.cc",
2986 "net/base/datagram_buffer.cc",
2987 "net/base/elements_upload_data_stream.cc",
2988 "net/base/features.cc",
2989 "net/base/file_stream.cc",
2990 "net/base/file_stream_context.cc",
2991 "net/base/file_stream_context_posix.cc",
2992 "net/base/filename_util.cc",
2993 "net/base/filename_util_internal.cc",
2994 "net/base/hash_value.cc",
2995 "net/base/hex_utils.cc",
2996 "net/base/host_mapping_rules.cc",
2997 "net/base/host_port_pair.cc",
2998 "net/base/io_buffer.cc",
2999 "net/base/ip_address.cc",
3000 "net/base/ip_endpoint.cc",
3001 "net/base/isolation_info.cc",
3002 "net/base/load_timing_info.cc",
3003 "net/base/logging_network_change_observer.cc",
3004 "net/base/lookup_string_in_fixed_set.cc",
3005 "net/base/mime_sniffer.cc",
3006 "net/base/mime_util.cc",
3007 "net/base/net_errors.cc",
3008 "net/base/net_errors_posix.cc",
3009 "net/base/net_module.cc",
3010 "net/base/net_string_util_icu_alternatives_android.cc",
3011 "net/base/network_activity_monitor.cc",
3012 "net/base/network_anonymization_key.cc",
3013 "net/base/network_change_notifier.cc",
3014 "net/base/network_change_notifier_posix.cc",
3015 "net/base/network_delegate.cc",
3016 "net/base/network_delegate_impl.cc",
3017 "net/base/network_interfaces.cc",
3018 "net/base/network_interfaces_getifaddrs.cc",
3019 "net/base/network_interfaces_getifaddrs_android.cc",
3020 "net/base/network_interfaces_linux.cc",
3021 "net/base/network_interfaces_posix.cc",
3022 "net/base/network_isolation_key.cc",
3023 "net/base/parse_number.cc",
3024 "net/base/platform_mime_util_linux.cc",
3025 "net/base/port_util.cc",
3026 "net/base/prioritized_dispatcher.cc",
3027 "net/base/prioritized_task_runner.cc",
3028 "net/base/privacy_mode.cc",
3029 "net/base/proxy_server.cc",
3030 "net/base/proxy_string_util.cc",
3031 "net/base/registry_controlled_domains/registry_controlled_domain.cc",
3032 "net/base/request_priority.cc",
3033 "net/base/scheme_host_port_matcher.cc",
3034 "net/base/scheme_host_port_matcher_rule.cc",
3035 "net/base/schemeful_site.cc",
3036 "net/base/sockaddr_storage.cc",
3037 "net/base/sockaddr_util_posix.cc",
3038 "net/base/transport_info.cc",
3039 "net/base/upload_bytes_element_reader.cc",
3040 "net/base/upload_data_stream.cc",
3041 "net/base/upload_element_reader.cc",
3042 "net/base/upload_file_element_reader.cc",
3043 "net/base/url_util.cc",
3044 "net/cert/asn1_util.cc",
3045 "net/cert/caching_cert_verifier.cc",
3046 "net/cert/cert_and_ct_verifier.cc",
3047 "net/cert/cert_database.cc",
3048 "net/cert/cert_status_flags.cc",
3049 "net/cert/cert_verifier.cc",
3050 "net/cert/cert_verify_proc.cc",
3051 "net/cert/cert_verify_proc_android.cc",
3052 "net/cert/cert_verify_proc_builtin.cc",
3053 "net/cert/cert_verify_result.cc",
3054 "net/cert/coalescing_cert_verifier.cc",
3055 "net/cert/crl_set.cc",
3056 "net/cert/ct_log_response_parser.cc",
3057 "net/cert/ct_log_verifier.cc",
3058 "net/cert/ct_log_verifier_util.cc",
3059 "net/cert/ct_objects_extractor.cc",
3060 "net/cert/ct_policy_enforcer.cc",
3061 "net/cert/ct_sct_to_string.cc",
3062 "net/cert/ct_serialization.cc",
3063 "net/cert/ct_signed_certificate_timestamp_log_param.cc",
3064 "net/cert/do_nothing_ct_verifier.cc",
3065 "net/cert/ev_root_ca_metadata.cc",
3066 "net/cert/internal/cert_issuer_source_aia.cc",
3067 "net/cert/internal/revocation_checker.cc",
3068 "net/cert/internal/system_trust_store.cc",
3069 "net/cert/known_roots.cc",
3070 "net/cert/merkle_audit_proof.cc",
3071 "net/cert/merkle_consistency_proof.cc",
3072 "net/cert/merkle_tree_leaf.cc",
3073 "net/cert/multi_log_ct_verifier.cc",
3074 "net/cert/multi_threaded_cert_verifier.cc",
3075 "net/cert/ocsp_verify_result.cc",
3076 "net/cert/pem.cc",
3077 "net/cert/pki/cert_error_id.cc",
3078 "net/cert/pki/cert_error_params.cc",
3079 "net/cert/pki/cert_errors.cc",
3080 "net/cert/pki/cert_issuer_source_static.cc",
3081 "net/cert/pki/certificate_policies.cc",
3082 "net/cert/pki/common_cert_errors.cc",
3083 "net/cert/pki/crl.cc",
3084 "net/cert/pki/extended_key_usage.cc",
3085 "net/cert/pki/general_names.cc",
3086 "net/cert/pki/name_constraints.cc",
3087 "net/cert/pki/ocsp.cc",
3088 "net/cert/pki/parse_certificate.cc",
3089 "net/cert/pki/parse_name.cc",
3090 "net/cert/pki/parsed_certificate.cc",
3091 "net/cert/pki/path_builder.cc",
3092 "net/cert/pki/revocation_util.cc",
3093 "net/cert/pki/signature_algorithm.cc",
3094 "net/cert/pki/simple_path_builder_delegate.cc",
3095 "net/cert/pki/string_util.cc",
3096 "net/cert/pki/trust_store.cc",
3097 "net/cert/pki/trust_store_collection.cc",
3098 "net/cert/pki/trust_store_in_memory.cc",
3099 "net/cert/pki/verify_certificate_chain.cc",
3100 "net/cert/pki/verify_name_match.cc",
3101 "net/cert/pki/verify_signed_data.cc",
3102 "net/cert/sct_status_flags.cc",
3103 "net/cert/signed_certificate_timestamp.cc",
3104 "net/cert/signed_certificate_timestamp_and_status.cc",
3105 "net/cert/signed_tree_head.cc",
3106 "net/cert/symantec_certs.cc",
3107 "net/cert/test_root_certs.cc",
3108 "net/cert/test_root_certs_android.cc",
3109 "net/cert/trial_comparison_cert_verifier_util.cc",
3110 "net/cert/x509_cert_types.cc",
3111 "net/cert/x509_certificate.cc",
3112 "net/cert/x509_certificate_net_log_param.cc",
3113 "net/cert/x509_util.cc",
3114 "net/cert/x509_util_android.cc",
3115 "net/cert_net/cert_net_fetcher_url_request.cc",
3116 "net/cookies/canonical_cookie.cc",
3117 "net/cookies/cookie_access_delegate.cc",
3118 "net/cookies/cookie_access_result.cc",
3119 "net/cookies/cookie_change_dispatcher.cc",
3120 "net/cookies/cookie_constants.cc",
3121 "net/cookies/cookie_deletion_info.cc",
3122 "net/cookies/cookie_inclusion_status.cc",
3123 "net/cookies/cookie_monster.cc",
3124 "net/cookies/cookie_monster_change_dispatcher.cc",
3125 "net/cookies/cookie_monster_netlog_params.cc",
3126 "net/cookies/cookie_options.cc",
3127 "net/cookies/cookie_partition_key.cc",
3128 "net/cookies/cookie_partition_key_collection.cc",
3129 "net/cookies/cookie_store.cc",
3130 "net/cookies/cookie_util.cc",
3131 "net/cookies/parsed_cookie.cc",
3132 "net/cookies/site_for_cookies.cc",
3133 "net/cookies/static_cookie_policy.cc",
3134 "net/der/encode_values.cc",
3135 "net/der/input.cc",
3136 "net/der/parse_values.cc",
3137 "net/der/parser.cc",
3138 "net/der/tag.cc",
3139 "net/disk_cache/backend_cleanup_tracker.cc",
3140 "net/disk_cache/blockfile/addr.cc",
3141 "net/disk_cache/blockfile/backend_impl.cc",
3142 "net/disk_cache/blockfile/bitmap.cc",
3143 "net/disk_cache/blockfile/block_files.cc",
3144 "net/disk_cache/blockfile/disk_format.cc",
3145 "net/disk_cache/blockfile/entry_impl.cc",
3146 "net/disk_cache/blockfile/eviction.cc",
3147 "net/disk_cache/blockfile/file.cc",
3148 "net/disk_cache/blockfile/file_lock.cc",
3149 "net/disk_cache/blockfile/file_posix.cc",
3150 "net/disk_cache/blockfile/in_flight_backend_io.cc",
3151 "net/disk_cache/blockfile/in_flight_io.cc",
3152 "net/disk_cache/blockfile/mapped_file.cc",
3153 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
3154 "net/disk_cache/blockfile/rankings.cc",
3155 "net/disk_cache/blockfile/sparse_control.cc",
3156 "net/disk_cache/blockfile/stats.cc",
3157 "net/disk_cache/cache_util.cc",
3158 "net/disk_cache/cache_util_posix.cc",
3159 "net/disk_cache/disk_cache.cc",
3160 "net/disk_cache/memory/mem_backend_impl.cc",
3161 "net/disk_cache/memory/mem_entry_impl.cc",
3162 "net/disk_cache/net_log_parameters.cc",
3163 "net/disk_cache/simple/post_doom_waiter.cc",
3164 "net/disk_cache/simple/simple_backend_impl.cc",
3165 "net/disk_cache/simple/simple_entry_format.cc",
3166 "net/disk_cache/simple/simple_entry_impl.cc",
3167 "net/disk_cache/simple/simple_entry_operation.cc",
3168 "net/disk_cache/simple/simple_file_enumerator.cc",
3169 "net/disk_cache/simple/simple_file_tracker.cc",
3170 "net/disk_cache/simple/simple_index.cc",
3171 "net/disk_cache/simple/simple_index_file.cc",
3172 "net/disk_cache/simple/simple_net_log_parameters.cc",
3173 "net/disk_cache/simple/simple_synchronous_entry.cc",
3174 "net/disk_cache/simple/simple_util.cc",
3175 "net/disk_cache/simple/simple_util_posix.cc",
3176 "net/disk_cache/simple/simple_version_upgrade.cc",
3177 "net/filter/brotli_source_stream.cc",
3178 "net/filter/filter_source_stream.cc",
3179 "net/filter/gzip_header.cc",
3180 "net/filter/gzip_source_stream.cc",
3181 "net/filter/source_stream.cc",
3182 "net/first_party_sets/addition_overlaps_union_find.cc",
3183 "net/first_party_sets/first_party_set_entry.cc",
3184 "net/first_party_sets/first_party_set_metadata.cc",
3185 "net/first_party_sets/first_party_sets_cache_filter.cc",
3186 "net/first_party_sets/first_party_sets_context_config.cc",
3187 "net/first_party_sets/global_first_party_sets.cc",
3188 "net/first_party_sets/same_party_context.cc",
3189 "net/http/alternative_service.cc",
3190 "net/http/bidirectional_stream.cc",
3191 "net/http/bidirectional_stream_impl.cc",
3192 "net/http/bidirectional_stream_request_info.cc",
3193 "net/http/broken_alternative_services.cc",
3194 "net/http/http_auth.cc",
3195 "net/http/http_auth_cache.cc",
3196 "net/http/http_auth_challenge_tokenizer.cc",
3197 "net/http/http_auth_controller.cc",
3198 "net/http/http_auth_filter.cc",
3199 "net/http/http_auth_handler.cc",
3200 "net/http/http_auth_handler_basic.cc",
3201 "net/http/http_auth_handler_digest.cc",
3202 "net/http/http_auth_handler_factory.cc",
3203 "net/http/http_auth_handler_negotiate.cc",
3204 "net/http/http_auth_handler_ntlm.cc",
3205 "net/http/http_auth_handler_ntlm_portable.cc",
3206 "net/http/http_auth_multi_round_parse.cc",
3207 "net/http/http_auth_ntlm_mechanism.cc",
3208 "net/http/http_auth_preferences.cc",
3209 "net/http/http_auth_scheme.cc",
3210 "net/http/http_basic_state.cc",
3211 "net/http/http_basic_stream.cc",
3212 "net/http/http_byte_range.cc",
3213 "net/http/http_cache.cc",
3214 "net/http/http_cache_lookup_manager.cc",
3215 "net/http/http_cache_transaction.cc",
3216 "net/http/http_cache_writers.cc",
3217 "net/http/http_chunked_decoder.cc",
3218 "net/http/http_content_disposition.cc",
3219 "net/http/http_log_util.cc",
3220 "net/http/http_network_layer.cc",
3221 "net/http/http_network_session.cc",
3222 "net/http/http_network_session_peer.cc",
3223 "net/http/http_network_transaction.cc",
3224 "net/http/http_proxy_client_socket.cc",
3225 "net/http/http_proxy_connect_job.cc",
3226 "net/http/http_raw_request_headers.cc",
3227 "net/http/http_request_headers.cc",
3228 "net/http/http_request_info.cc",
3229 "net/http/http_response_body_drainer.cc",
3230 "net/http/http_response_headers.cc",
3231 "net/http/http_response_info.cc",
3232 "net/http/http_security_headers.cc",
3233 "net/http/http_server_properties.cc",
3234 "net/http/http_server_properties_manager.cc",
3235 "net/http/http_status_code.cc",
3236 "net/http/http_stream_factory.cc",
3237 "net/http/http_stream_factory_job.cc",
3238 "net/http/http_stream_factory_job_controller.cc",
3239 "net/http/http_stream_parser.cc",
3240 "net/http/http_stream_request.cc",
3241 "net/http/http_util.cc",
3242 "net/http/http_vary_data.cc",
3243 "net/http/partial_data.cc",
3244 "net/http/proxy_client_socket.cc",
3245 "net/http/proxy_fallback.cc",
3246 "net/http/transport_security_persister.cc",
3247 "net/http/transport_security_state_source.cc",
3248 "net/http/url_security_manager.cc",
3249 "net/http/url_security_manager_posix.cc",
3250 "net/http/webfonts_histogram.cc",
3251 "net/log/file_net_log_observer.cc",
3252 "net/log/net_log.cc",
3253 "net/log/net_log_capture_mode.cc",
3254 "net/log/net_log_entry.cc",
3255 "net/log/net_log_event_type.cc",
3256 "net/log/net_log_source.cc",
3257 "net/log/net_log_util.cc",
3258 "net/log/net_log_values.cc",
3259 "net/log/net_log_with_source.cc",
3260 "net/log/trace_net_log_observer.cc",
3261 "net/network_error_logging/network_error_logging_service.cc",
3262 "net/nqe/cached_network_quality.cc",
3263 "net/nqe/effective_connection_type.cc",
3264 "net/nqe/event_creator.cc",
3265 "net/nqe/network_id.cc",
3266 "net/nqe/network_qualities_prefs_manager.cc",
3267 "net/nqe/network_quality.cc",
3268 "net/nqe/network_quality_estimator.cc",
3269 "net/nqe/network_quality_estimator_params.cc",
3270 "net/nqe/network_quality_estimator_util.cc",
3271 "net/nqe/network_quality_observation.cc",
3272 "net/nqe/network_quality_store.cc",
3273 "net/nqe/observation_buffer.cc",
3274 "net/nqe/pref_names.cc",
3275 "net/nqe/socket_watcher.cc",
3276 "net/nqe/socket_watcher_factory.cc",
3277 "net/nqe/throughput_analyzer.cc",
3278 "net/ntlm/ntlm.cc",
3279 "net/ntlm/ntlm_buffer_reader.cc",
3280 "net/ntlm/ntlm_buffer_writer.cc",
3281 "net/ntlm/ntlm_client.cc",
3282 "net/ntlm/ntlm_constants.cc",
3283 "net/proxy_resolution/configured_proxy_resolution_request.cc",
3284 "net/proxy_resolution/configured_proxy_resolution_service.cc",
3285 "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
3286 "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
3287 "net/proxy_resolution/network_delegate_error_observer.cc",
3288 "net/proxy_resolution/pac_file_data.cc",
3289 "net/proxy_resolution/pac_file_decider.cc",
3290 "net/proxy_resolution/pac_file_fetcher.cc",
3291 "net/proxy_resolution/pac_file_fetcher_impl.cc",
3292 "net/proxy_resolution/polling_proxy_config_service.cc",
3293 "net/proxy_resolution/proxy_bypass_rules.cc",
3294 "net/proxy_resolution/proxy_config.cc",
3295 "net/proxy_resolution/proxy_config_service.cc",
3296 "net/proxy_resolution/proxy_config_service_android.cc",
3297 "net/proxy_resolution/proxy_config_service_fixed.cc",
3298 "net/proxy_resolution/proxy_config_with_annotation.cc",
3299 "net/proxy_resolution/proxy_info.cc",
3300 "net/proxy_resolution/proxy_list.cc",
3301 "net/proxy_resolution/proxy_resolver_factory.cc",
3302 "net/quic/bidirectional_stream_quic_impl.cc",
3303 "net/quic/crypto/proof_source_chromium.cc",
3304 "net/quic/crypto/proof_verifier_chromium.cc",
3305 "net/quic/dedicated_web_transport_http3_client.cc",
3306 "net/quic/network_connection.cc",
3307 "net/quic/platform/impl/quic_chromium_clock.cc",
3308 "net/quic/properties_based_quic_server_info.cc",
3309 "net/quic/quic_address_mismatch.cc",
3310 "net/quic/quic_chromium_alarm_factory.cc",
3311 "net/quic/quic_chromium_client_session.cc",
3312 "net/quic/quic_chromium_client_stream.cc",
3313 "net/quic/quic_chromium_connection_helper.cc",
3314 "net/quic/quic_chromium_packet_reader.cc",
3315 "net/quic/quic_chromium_packet_writer.cc",
3316 "net/quic/quic_clock_skew_detector.cc",
3317 "net/quic/quic_connection_logger.cc",
3318 "net/quic/quic_connectivity_monitor.cc",
3319 "net/quic/quic_context.cc",
3320 "net/quic/quic_crypto_client_config_handle.cc",
3321 "net/quic/quic_crypto_client_stream_factory.cc",
3322 "net/quic/quic_event_logger.cc",
3323 "net/quic/quic_http3_logger.cc",
3324 "net/quic/quic_http_stream.cc",
3325 "net/quic/quic_http_utils.cc",
3326 "net/quic/quic_proxy_client_socket.cc",
3327 "net/quic/quic_server_info.cc",
3328 "net/quic/quic_session_key.cc",
3329 "net/quic/quic_stream_factory.cc",
3330 "net/quic/set_quic_flag.cc",
3331 "net/quic/web_transport_client.cc",
3332 "net/quic/web_transport_error.cc",
3333 "net/reporting/reporting_browsing_data_remover.cc",
3334 "net/reporting/reporting_cache.cc",
3335 "net/reporting/reporting_cache_impl.cc",
3336 "net/reporting/reporting_cache_observer.cc",
3337 "net/reporting/reporting_context.cc",
3338 "net/reporting/reporting_delegate.cc",
3339 "net/reporting/reporting_delivery_agent.cc",
3340 "net/reporting/reporting_endpoint.cc",
3341 "net/reporting/reporting_endpoint_manager.cc",
3342 "net/reporting/reporting_garbage_collector.cc",
3343 "net/reporting/reporting_header_parser.cc",
3344 "net/reporting/reporting_network_change_observer.cc",
3345 "net/reporting/reporting_policy.cc",
3346 "net/reporting/reporting_report.cc",
3347 "net/reporting/reporting_service.cc",
3348 "net/reporting/reporting_uploader.cc",
3349 "net/socket/client_socket_factory.cc",
3350 "net/socket/client_socket_handle.cc",
3351 "net/socket/client_socket_pool.cc",
3352 "net/socket/client_socket_pool_manager.cc",
3353 "net/socket/client_socket_pool_manager_impl.cc",
3354 "net/socket/connect_job.cc",
3355 "net/socket/connect_job_factory.cc",
3356 "net/socket/network_binding_client_socket_factory.cc",
3357 "net/socket/next_proto.cc",
3358 "net/socket/server_socket.cc",
3359 "net/socket/socket.cc",
3360 "net/socket/socket_bio_adapter.cc",
3361 "net/socket/socket_descriptor.cc",
3362 "net/socket/socket_net_log_params.cc",
3363 "net/socket/socket_options.cc",
3364 "net/socket/socket_posix.cc",
3365 "net/socket/socket_tag.cc",
3366 "net/socket/socks5_client_socket.cc",
3367 "net/socket/socks_client_socket.cc",
3368 "net/socket/socks_connect_job.cc",
3369 "net/socket/ssl_client_socket.cc",
3370 "net/socket/ssl_client_socket_impl.cc",
3371 "net/socket/ssl_connect_job.cc",
3372 "net/socket/ssl_server_socket_impl.cc",
3373 "net/socket/stream_socket.cc",
3374 "net/socket/tcp_client_socket.cc",
3375 "net/socket/tcp_server_socket.cc",
3376 "net/socket/tcp_socket_posix.cc",
3377 "net/socket/transport_client_socket.cc",
3378 "net/socket/transport_client_socket_pool.cc",
3379 "net/socket/transport_connect_job.cc",
3380 "net/socket/transport_connect_sub_job.cc",
3381 "net/socket/udp_client_socket.cc",
3382 "net/socket/udp_net_log_parameters.cc",
3383 "net/socket/udp_server_socket.cc",
3384 "net/socket/udp_socket_global_limits.cc",
3385 "net/socket/udp_socket_posix.cc",
3386 "net/socket/unix_domain_client_socket_posix.cc",
3387 "net/socket/unix_domain_server_socket_posix.cc",
3388 "net/socket/websocket_endpoint_lock_manager.cc",
3389 "net/socket/websocket_transport_client_socket_pool.cc",
3390 "net/spdy/alps_decoder.cc",
3391 "net/spdy/bidirectional_stream_spdy_impl.cc",
3392 "net/spdy/buffered_spdy_framer.cc",
3393 "net/spdy/header_coalescer.cc",
3394 "net/spdy/http2_priority_dependencies.cc",
3395 "net/spdy/http2_push_promise_index.cc",
3396 "net/spdy/multiplexed_http_stream.cc",
3397 "net/spdy/multiplexed_session.cc",
3398 "net/spdy/spdy_buffer.cc",
3399 "net/spdy/spdy_buffer_producer.cc",
3400 "net/spdy/spdy_http_stream.cc",
3401 "net/spdy/spdy_http_utils.cc",
3402 "net/spdy/spdy_log_util.cc",
3403 "net/spdy/spdy_proxy_client_socket.cc",
3404 "net/spdy/spdy_read_queue.cc",
3405 "net/spdy/spdy_session.cc",
3406 "net/spdy/spdy_session_key.cc",
3407 "net/spdy/spdy_session_pool.cc",
3408 "net/spdy/spdy_stream.cc",
3409 "net/spdy/spdy_write_queue.cc",
3410 "net/ssl/cert_compression.cc",
3411 "net/ssl/client_cert_identity.cc",
3412 "net/ssl/openssl_ssl_util.cc",
3413 "net/ssl/ssl_cert_request_info.cc",
3414 "net/ssl/ssl_cipher_suite_names.cc",
3415 "net/ssl/ssl_client_auth_cache.cc",
3416 "net/ssl/ssl_client_session_cache.cc",
3417 "net/ssl/ssl_config.cc",
3418 "net/ssl/ssl_config_service.cc",
3419 "net/ssl/ssl_config_service_defaults.cc",
3420 "net/ssl/ssl_info.cc",
3421 "net/ssl/ssl_key_logger.cc",
3422 "net/ssl/ssl_key_logger_impl.cc",
3423 "net/ssl/ssl_platform_key_android.cc",
3424 "net/ssl/ssl_platform_key_util.cc",
3425 "net/ssl/ssl_private_key.cc",
3426 "net/ssl/ssl_server_config.cc",
3427 "net/ssl/threaded_ssl_private_key.cc",
3428 "net/url_request/redirect_info.cc",
3429 "net/url_request/redirect_util.cc",
3430 "net/url_request/report_sender.cc",
3431 "net/url_request/static_http_user_agent_settings.cc",
3432 "net/url_request/url_request.cc",
3433 "net/url_request/url_request_context.cc",
3434 "net/url_request/url_request_context_builder.cc",
3435 "net/url_request/url_request_context_getter.cc",
3436 "net/url_request/url_request_error_job.cc",
3437 "net/url_request/url_request_filter.cc",
3438 "net/url_request/url_request_http_job.cc",
3439 "net/url_request/url_request_interceptor.cc",
3440 "net/url_request/url_request_job.cc",
3441 "net/url_request/url_request_job_factory.cc",
3442 "net/url_request/url_request_netlog_params.cc",
3443 "net/url_request/url_request_redirect_job.cc",
3444 "net/url_request/url_request_throttler_entry.cc",
3445 "net/url_request/url_request_throttler_manager.cc",
3446 "net/url_request/view_cache_helper.cc",
3447 "net/url_request/websocket_handshake_userdata_key.cc",
3448 ],
3449 shared_libs: [
3450 "libandroid",
3451 "liblog",
Patrick Rohrc5980782022-11-07 16:34:03 -08003452 "libprotobuf-cpp-lite",
Patrick Rohrcb035942022-11-01 12:12:52 -07003453 ],
3454 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08003455 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -07003456 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08003457 "cronet_aml_base_base_static",
3458 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -07003459 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
3460 "cronet_aml_crypto_crypto",
Patrick Rohrcb035942022-11-01 12:12:52 -07003461 "cronet_aml_net_preload_decoder",
Patrick Rohrcb035942022-11-01 12:12:52 -07003462 "cronet_aml_net_third_party_quiche_quiche",
3463 "cronet_aml_net_uri_template",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08003464 "cronet_aml_third_party_brotli_common",
Patrick Rohrcb035942022-11-01 12:12:52 -07003465 "cronet_aml_third_party_brotli_dec",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08003466 "cronet_aml_third_party_icu_icui18n",
3467 "cronet_aml_third_party_icu_icuuc_private",
3468 "cronet_aml_third_party_libevent_libevent",
3469 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -07003470 "cronet_aml_third_party_zlib_zlib",
3471 "cronet_aml_url_url",
Patrick Rohrcc83af22022-11-10 20:00:58 -08003472 "libssl",
Patrick Rohrcb035942022-11-01 12:12:52 -07003473 ],
3474 generated_headers: [
3475 "cronet_aml_base_debugging_buildflags",
3476 "cronet_aml_base_logging_buildflags",
3477 "cronet_aml_build_branding_buildflags",
3478 "cronet_aml_build_chromeos_buildflags",
Motomu Utsumia0cc6662022-11-09 15:22:27 +09003479 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
Patrick Rohrcb035942022-11-01 12:12:52 -07003480 "cronet_aml_net_buildflags",
3481 "cronet_aml_net_ios_cronet_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -08003482 "cronet_aml_net_isolation_info_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07003483 "cronet_aml_net_net_jni_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -08003484 "cronet_aml_net_net_nqe_proto_gen_headers",
3485 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07003486 "cronet_aml_url_buildflags",
3487 ],
3488 export_generated_headers: [
3489 "cronet_aml_base_debugging_buildflags",
3490 "cronet_aml_base_logging_buildflags",
3491 "cronet_aml_build_branding_buildflags",
3492 "cronet_aml_build_chromeos_buildflags",
Motomu Utsumia0cc6662022-11-09 15:22:27 +09003493 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
Patrick Rohrcb035942022-11-01 12:12:52 -07003494 "cronet_aml_net_buildflags",
3495 "cronet_aml_net_ios_cronet_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -08003496 "cronet_aml_net_isolation_info_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07003497 "cronet_aml_net_net_jni_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -08003498 "cronet_aml_net_net_nqe_proto_gen_headers",
3499 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07003500 "cronet_aml_url_buildflags",
3501 ],
Patrick Rohrbb0956e2022-11-09 15:37:16 -08003502 export_static_lib_headers: [
Motomu Utsumi2f66bb32022-11-10 11:21:14 +09003503 "cronet_aml_crypto_crypto",
Patrick Rohrbb0956e2022-11-09 15:37:16 -08003504 "cronet_aml_net_third_party_quiche_quiche",
3505 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07003506 defaults: [
3507 "cronet_aml_defaults",
3508 ],
3509 cflags: [
3510 "-DANDROID",
3511 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3512 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3513 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3514 "-DDCHECK_ALWAYS_ON=1",
3515 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3516 "-DENABLE_BUILT_IN_DNS",
3517 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
3518 "-DGOOGLE_PROTOBUF_NO_RTTI",
3519 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
3520 "-DHAVE_PTHREAD",
3521 "-DHAVE_SYS_UIO_H",
3522 "-DNET_IMPLEMENTATION",
3523 "-D_DEBUG",
3524 "-D_GNU_SOURCE",
3525 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3526 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3527 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3528 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3529 "-D__STDC_CONSTANT_MACROS",
3530 "-D__STDC_FORMAT_MACROS",
3531 ],
3532 local_include_dirs: [
3533 "./",
3534 "buildtools/third_party/libc++/",
3535 "buildtools/third_party/libc++/trunk/include",
3536 "buildtools/third_party/libc++abi/trunk/include",
3537 "net/third_party/quiche/overrides/",
3538 "net/third_party/quiche/src/",
3539 "net/third_party/quiche/src/quiche/common/platform/default/",
3540 "third_party/abseil-cpp/",
3541 "third_party/boringssl/src/include/",
3542 "third_party/brotli/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -07003543 "third_party/zlib/",
3544 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3545 ],
3546 header_libs: [
3547 "jni_headers",
3548 ],
3549 cpp_std: "c++20",
Mohannad Farrag627dc912022-11-11 19:00:26 +00003550 rtti: true,
Patrick Rohrcb035942022-11-01 12:12:52 -07003551}
3552
3553// GN: //net:net_deps
3554filegroup {
3555 name: "cronet_aml_net_net_deps",
3556}
3557
3558// GN: //net:net_export_header
3559filegroup {
3560 name: "cronet_aml_net_net_export_header",
3561}
3562
3563// GN: //net:net_jni_headers
3564genrule {
3565 name: "cronet_aml_net_net_jni_headers",
3566 srcs: [
3567 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
3568 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
3569 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
3570 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
3571 "net/android/java/src/org/chromium/net/DnsStatus.java",
3572 "net/android/java/src/org/chromium/net/GURLUtils.java",
3573 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
3574 "net/android/java/src/org/chromium/net/HttpUtil.java",
3575 "net/android/java/src/org/chromium/net/NetStringUtil.java",
3576 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
3577 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
3578 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
3579 "net/android/java/src/org/chromium/net/X509Util.java",
3580 ],
3581 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
3582 "long " +
3583 " " +
3584 " " +
3585 "--output_dir " +
3586 "$(genDir)/net/net_jni_headers " +
3587 "--includes " +
3588 "base/android/jni_generator/jni_generator_helper.h " +
3589 "--use_proxy_hash " +
3590 "--output_name " +
3591 "AndroidCertVerifyResult_jni.h " +
3592 "--output_name " +
3593 "AndroidKeyStore_jni.h " +
3594 "--output_name " +
3595 "AndroidNetworkLibrary_jni.h " +
3596 "--output_name " +
3597 "AndroidTrafficStats_jni.h " +
3598 "--output_name " +
3599 "DnsStatus_jni.h " +
3600 "--output_name " +
3601 "GURLUtils_jni.h " +
3602 "--output_name " +
3603 "HttpNegotiateAuthenticator_jni.h " +
3604 "--output_name " +
3605 "HttpUtil_jni.h " +
3606 "--output_name " +
3607 "NetStringUtil_jni.h " +
3608 "--output_name " +
3609 "NetworkActiveNotifier_jni.h " +
3610 "--output_name " +
3611 "NetworkChangeNotifier_jni.h " +
3612 "--output_name " +
3613 "ProxyChangeListener_jni.h " +
3614 "--output_name " +
3615 "X509Util_jni.h " +
3616 "--input_file " +
3617 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
3618 "--input_file " +
3619 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
3620 "--input_file " +
3621 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
3622 "--input_file " +
3623 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
3624 "--input_file " +
3625 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
3626 "--input_file " +
3627 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
3628 "--input_file " +
3629 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
3630 "--input_file " +
3631 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
3632 "--input_file " +
3633 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
3634 "--input_file " +
3635 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
3636 "--input_file " +
3637 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
3638 "--input_file " +
3639 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
3640 "--input_file " +
3641 "$(location net/android/java/src/org/chromium/net/X509Util.java)",
3642 out: [
3643 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
3644 "net/net_jni_headers/AndroidKeyStore_jni.h",
3645 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
3646 "net/net_jni_headers/AndroidTrafficStats_jni.h",
3647 "net/net_jni_headers/DnsStatus_jni.h",
3648 "net/net_jni_headers/GURLUtils_jni.h",
3649 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
3650 "net/net_jni_headers/HttpUtil_jni.h",
3651 "net/net_jni_headers/NetStringUtil_jni.h",
3652 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
3653 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
3654 "net/net_jni_headers/ProxyChangeListener_jni.h",
3655 "net/net_jni_headers/X509Util_jni.h",
3656 ],
3657 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00003658 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -07003659 "base/android/jni_generator/jni_generator.py",
3660 "build/android/gyp/util/__init__.py",
3661 "build/android/gyp/util/build_utils.py",
3662 "build/gn_helpers.py",
3663 ],
3664}
3665
3666// GN: //net:net_nqe_proto
Patrick Rohrcb035942022-11-01 12:12:52 -07003667genrule {
3668 name: "cronet_aml_net_net_nqe_proto_gen",
3669 srcs: [
3670 "net/nqe/proto/network_id_proto.proto",
3671 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003672 tools: [
3673 "aprotoc",
3674 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09003675 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/chromium_org/net/nqe/proto/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07003676 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003677 "external/chromium_org/net/nqe/proto/network_id_proto.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003678 ],
3679}
3680
Patrick Rohrc5980782022-11-07 16:34:03 -08003681// GN: //net:net_nqe_proto
Motomu Utsumic6277d92022-11-07 15:15:17 +09003682genrule {
3683 name: "cronet_aml_net_net_nqe_proto_gen_headers",
3684 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +09003685 "net/nqe/proto/network_id_proto.proto",
3686 ],
3687 tools: [
3688 "aprotoc",
3689 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09003690 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/chromium_org/net/nqe/proto/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003691 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003692 "external/chromium_org/net/nqe/proto/network_id_proto.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003693 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003694 export_include_dirs: [
3695 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -08003696 "net/nqe/proto",
Patrick Rohrc5980782022-11-07 16:34:03 -08003697 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07003698 ],
3699}
3700
3701// GN: //net:net_public_deps
3702filegroup {
3703 name: "cronet_aml_net_net_public_deps",
3704}
3705
Patrick Rohrcb035942022-11-01 12:12:52 -07003706// GN: //net:preload_decoder
3707cc_library_static {
3708 name: "cronet_aml_net_preload_decoder",
3709 srcs: [
3710 "net/extras/preload_data/decoder.cc",
3711 ],
3712 shared_libs: [
3713 "libandroid",
3714 "liblog",
3715 ],
3716 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08003717 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -07003718 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08003719 "cronet_aml_base_base_static",
3720 "cronet_aml_base_third_party_double_conversion_double_conversion",
3721 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
3722 "cronet_aml_third_party_icu_icui18n",
3723 "cronet_aml_third_party_icu_icuuc_private",
3724 "cronet_aml_third_party_libevent_libevent",
3725 "cronet_aml_third_party_modp_b64_modp_b64",
3726 "libssl",
Patrick Rohrcb035942022-11-01 12:12:52 -07003727 ],
3728 defaults: [
3729 "cronet_aml_defaults",
3730 ],
3731 cflags: [
3732 "-DANDROID",
3733 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3734 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3735 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3736 "-DDCHECK_ALWAYS_ON=1",
3737 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
3738 "-DHAVE_SYS_UIO_H",
3739 "-D_DEBUG",
3740 "-D_GNU_SOURCE",
3741 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3742 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3743 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3744 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3745 "-D__STDC_CONSTANT_MACROS",
3746 "-D__STDC_FORMAT_MACROS",
3747 ],
3748 local_include_dirs: [
3749 "./",
3750 "buildtools/third_party/libc++/",
3751 "buildtools/third_party/libc++/trunk/include",
3752 "buildtools/third_party/libc++abi/trunk/include",
3753 "third_party/abseil-cpp/",
3754 "third_party/boringssl/src/include/",
3755 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
3756 ],
3757 cpp_std: "c++20",
3758}
3759
3760// GN: //net/third_party/quiche:net_quic_proto
Patrick Rohrcb035942022-11-01 12:12:52 -07003761genrule {
3762 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen",
3763 srcs: [
3764 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
3765 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
3766 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
3767 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003768 tools: [
3769 "aprotoc",
3770 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09003771 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/chromium_org/net/third_party/quiche/src/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07003772 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003773 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
3774 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
3775 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003776 ],
3777}
3778
Patrick Rohrc5980782022-11-07 16:34:03 -08003779// GN: //net/third_party/quiche:net_quic_proto
Motomu Utsumic6277d92022-11-07 15:15:17 +09003780genrule {
3781 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
3782 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +09003783 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
3784 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
3785 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
3786 ],
3787 tools: [
3788 "aprotoc",
3789 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09003790 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/chromium_org/net/third_party/quiche/src/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003791 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003792 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
3793 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
3794 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -07003795 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003796 export_include_dirs: [
3797 ".",
Mohannad Farrage558ead2022-11-08 18:44:04 +00003798 "net/third_party/quiche/src",
Patrick Rohrc5980782022-11-07 16:34:03 -08003799 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07003800 ],
3801}
3802
3803// GN: //net/third_party/quiche:net_quic_test_tools_proto
Patrick Rohrcb035942022-11-01 12:12:52 -07003804genrule {
3805 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
3806 srcs: [
3807 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
3808 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +09003809 tools: [
3810 "aprotoc",
3811 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09003812 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -07003813 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003814 "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 +09003815 ],
3816}
3817
Patrick Rohrc5980782022-11-07 16:34:03 -08003818// GN: //net/third_party/quiche:net_quic_test_tools_proto
Motomu Utsumic6277d92022-11-07 15:15:17 +09003819genrule {
3820 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
3821 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +09003822 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
3823 ],
3824 tools: [
3825 "aprotoc",
3826 ],
Motomu Utsumie8457452022-11-08 18:47:51 +09003827 cmd: "$(location aprotoc) --proto_path=external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +09003828 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003829 "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 -07003830 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08003831 export_include_dirs: [
3832 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -08003833 "net/third_party/quiche/src/quiche/quic/test_tools",
Patrick Rohrc5980782022-11-07 16:34:03 -08003834 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -07003835 ],
3836}
3837
3838// GN: //net/third_party/quiche:quiche
3839cc_library_static {
3840 name: "cronet_aml_net_third_party_quiche_quiche",
3841 srcs: [
Patrick Rohrc5980782022-11-07 16:34:03 -08003842 ":cronet_aml_net_third_party_quiche_net_quic_proto_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07003843 ":cronet_aml_third_party_abseil_cpp_absl",
3844 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
3845 ":cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
3846 ":cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
3847 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
3848 ":cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
3849 ":cronet_aml_third_party_abseil_cpp_absl_base_config",
3850 ":cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
3851 ":cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
3852 ":cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
3853 ":cronet_aml_third_party_abseil_cpp_absl_base_endian",
3854 ":cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
3855 ":cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
3856 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
3857 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
3858 ":cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
3859 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
3860 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
3861 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
3862 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
3863 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
3864 ":cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
3865 ":cronet_aml_third_party_abseil_cpp_absl_container_btree",
3866 ":cronet_aml_third_party_abseil_cpp_absl_container_common",
3867 ":cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
3868 ":cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
3869 ":cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
3870 ":cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
3871 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
3872 ":cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
3873 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
3874 ":cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
3875 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
3876 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
3877 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
3878 ":cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
3879 ":cronet_aml_third_party_abseil_cpp_absl_container_layout",
3880 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
3881 ":cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
3882 ":cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
3883 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
3884 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
3885 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
3886 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
3887 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
3888 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
3889 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
3890 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
3891 ":cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
3892 ":cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
3893 ":cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
3894 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
3895 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
3896 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
3897 ":cronet_aml_third_party_abseil_cpp_absl_memory_memory",
3898 ":cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
3899 ":cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
3900 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
3901 ":cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
3902 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
3903 ":cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
3904 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
3905 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
3906 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
3907 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
3908 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
3909 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
3910 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
3911 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
3912 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
3913 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
3914 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
3915 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
3916 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
3917 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
3918 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
3919 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
3920 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
3921 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
3922 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
3923 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
3924 ":cronet_aml_third_party_abseil_cpp_absl_random_random",
3925 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
3926 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
3927 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
3928 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
3929 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
3930 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
3931 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
3932 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
3933 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
3934 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
3935 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
3936 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
3937 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
3938 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
3939 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
3940 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
3941 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
3942 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
3943 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
3944 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
3945 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
3946 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
3947 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
3948 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
3949 ":cronet_aml_third_party_abseil_cpp_absl_types_compare",
3950 ":cronet_aml_third_party_abseil_cpp_absl_types_optional",
3951 ":cronet_aml_third_party_abseil_cpp_absl_types_span",
3952 ":cronet_aml_third_party_abseil_cpp_absl_types_variant",
3953 ":cronet_aml_third_party_abseil_cpp_absl_utility_utility",
3954 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
3955 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
3956 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
3957 "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
3958 "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
3959 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
3960 "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
3961 "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
3962 "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
3963 "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
3964 "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
3965 "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
3966 "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
3967 "net/third_party/quiche/src/quiche/common/quiche_random.cc",
3968 "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
3969 "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
3970 "net/third_party/quiche/src/quiche/common/structured_headers.cc",
3971 "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
3972 "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
3973 "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
3974 "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
3975 "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
3976 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
3977 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
3978 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
3979 "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
3980 "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
3981 "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
3982 "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
3983 "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
3984 "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
3985 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
3986 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
3987 "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
3988 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
3989 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
3990 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
3991 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
3992 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
3993 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
3994 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
3995 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
3996 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
3997 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
3998 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
3999 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
4000 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
4001 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
4002 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
4003 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
4004 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
4005 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
4006 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
4007 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
4008 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
4009 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
4010 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
4011 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
4012 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
4013 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
4014 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
4015 "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
4016 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
4017 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
4018 "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
4019 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
4020 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
4021 "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
4022 "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
4023 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
4024 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
4025 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
4026 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
4027 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
4028 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
4029 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
4030 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
4031 "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
4032 "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
4033 "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
4034 "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
4035 "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
4036 "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
4037 "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
4038 "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
4039 "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
4040 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
4041 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
4042 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
4043 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
4044 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
4045 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
4046 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
4047 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
4048 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
4049 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
4050 "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
4051 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
4052 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
4053 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
4054 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
4055 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
4056 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
4057 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
4058 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
4059 "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
4060 "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
4061 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
4062 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
4063 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
4064 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
4065 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
4066 "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
4067 "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
4068 "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
4069 "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
4070 "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
4071 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
4072 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
4073 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
4074 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
4075 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
4076 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
4077 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
4078 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
4079 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
4080 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
4081 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
4082 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
4083 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
4084 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
4085 "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
4086 "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
4087 "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
4088 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
4089 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
4090 "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
4091 "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
4092 "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
4093 "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
4094 "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
4095 "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
4096 "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
4097 "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
4098 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
4099 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
4100 "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
4101 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
4102 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
4103 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
4104 "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
4105 "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
4106 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
4107 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
4108 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
4109 "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
4110 "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
4111 "net/third_party/quiche/src/quiche/quic/core/http/capsule.cc",
4112 "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
4113 "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
4114 "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
4115 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc",
4116 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc",
4117 "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
4118 "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
4119 "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
4120 "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
4121 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
4122 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
4123 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
4124 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
4125 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
4126 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
4127 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
4128 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
4129 "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc",
4130 "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
4131 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
4132 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
4133 "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
4134 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
4135 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
4136 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
4137 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
4138 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
4139 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
4140 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
4141 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
4142 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
4143 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
4144 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
4145 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
4146 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
4147 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
4148 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
4149 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
4150 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
4151 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
4152 "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
4153 "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
4154 "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
4155 "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
4156 "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
4157 "net/third_party/quiche/src/quiche/quic/core/quic_clock.cc",
4158 "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
4159 "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
4160 "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
4161 "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
4162 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
4163 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
4164 "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
4165 "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
4166 "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
4167 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
4168 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
4169 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
4170 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
4171 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
4172 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
4173 "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
4174 "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
4175 "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
4176 "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
4177 "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
4178 "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
4179 "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
4180 "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
4181 "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
4182 "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
4183 "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
4184 "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
4185 "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
4186 "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
4187 "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
4188 "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
4189 "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
4190 "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
4191 "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
4192 "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
4193 "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
4194 "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
4195 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
4196 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
4197 "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
4198 "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
4199 "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
4200 "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
4201 "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
4202 "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
4203 "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
4204 "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
4205 "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
4206 "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
4207 "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
4208 "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
4209 "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
4210 "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
4211 "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
4212 "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
4213 "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
4214 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
4215 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
4216 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
4217 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
4218 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
4219 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
4220 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
4221 "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
4222 "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc",
4223 "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc",
4224 "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
4225 "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
4226 "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
4227 "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
4228 "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
4229 "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc",
4230 "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc",
4231 "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
4232 "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc",
4233 ],
4234 shared_libs: [
4235 "libandroid",
4236 "liblog",
Patrick Rohrc5980782022-11-07 16:34:03 -08004237 "libprotobuf-cpp-lite",
Patrick Rohrcb035942022-11-01 12:12:52 -07004238 ],
4239 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08004240 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -07004241 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08004242 "cronet_aml_base_base_static",
4243 "cronet_aml_base_third_party_double_conversion_double_conversion",
4244 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Patrick Rohrcb035942022-11-01 12:12:52 -07004245 "cronet_aml_net_uri_template",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08004246 "cronet_aml_third_party_icu_icui18n",
4247 "cronet_aml_third_party_icu_icuuc_private",
4248 "cronet_aml_third_party_libevent_libevent",
4249 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -07004250 "cronet_aml_third_party_zlib_zlib",
4251 "cronet_aml_url_url",
Patrick Rohrcc83af22022-11-10 20:00:58 -08004252 "libssl",
Patrick Rohrcb035942022-11-01 12:12:52 -07004253 ],
4254 generated_headers: [
4255 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -08004256 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07004257 ],
4258 export_generated_headers: [
4259 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -08004260 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -07004261 ],
4262 defaults: [
4263 "cronet_aml_defaults",
4264 ],
4265 cflags: [
4266 "-DABSL_ALLOCATOR_NOTHROW=1",
4267 "-DANDROID",
4268 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4269 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4270 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4271 "-DDCHECK_ALWAYS_ON=1",
4272 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4273 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
4274 "-DGOOGLE_PROTOBUF_NO_RTTI",
4275 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
4276 "-DHAVE_PTHREAD",
4277 "-DHAVE_SYS_UIO_H",
4278 "-DIS_QUICHE_IMPL",
4279 "-D_DEBUG",
4280 "-D_GNU_SOURCE",
4281 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4282 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4283 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4284 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4285 "-D__STDC_CONSTANT_MACROS",
4286 "-D__STDC_FORMAT_MACROS",
4287 ],
4288 local_include_dirs: [
4289 "./",
4290 "buildtools/third_party/libc++/",
4291 "buildtools/third_party/libc++/trunk/include",
4292 "buildtools/third_party/libc++abi/trunk/include",
4293 "net/third_party/quiche/overrides/",
4294 "net/third_party/quiche/src/",
4295 "net/third_party/quiche/src/quiche/common/platform/default/",
4296 "third_party/abseil-cpp/",
4297 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -07004298 "third_party/zlib/",
4299 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
4300 ],
4301 cpp_std: "c++20",
4302}
4303
4304// GN: //net/tools/root_store_tool:root_store_tool
4305cc_binary {
4306 name: "cronet_aml_net_tools_root_store_tool_root_store_tool",
4307 srcs: [
4308 ":cronet_aml_buildtools_third_party_libc___libc__",
4309 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Patrick Rohrc5980782022-11-07 16:34:03 -08004310 ":cronet_aml_net_cert_root_store_proto_full_gen",
Patrick Rohrcb035942022-11-01 12:12:52 -07004311 "net/tools/root_store_tool/root_store_tool.cc",
4312 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08004313 shared_libs: [
4314 "libprotobuf-cpp-lite",
4315 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07004316 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08004317 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -07004318 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08004319 "cronet_aml_base_base_static",
4320 "cronet_aml_base_third_party_double_conversion_double_conversion",
4321 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
4322 "cronet_aml_base_third_party_symbolize_symbolize",
4323 "cronet_aml_base_third_party_xdg_mime_xdg_mime",
4324 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs",
Patrick Rohrcb035942022-11-01 12:12:52 -07004325 "cronet_aml_crypto_crypto",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08004326 "cronet_aml_third_party_icu_icui18n",
4327 "cronet_aml_third_party_icu_icuuc_private",
4328 "cronet_aml_third_party_libevent_libevent",
4329 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcc83af22022-11-10 20:00:58 -08004330 "libssl",
Patrick Rohrcb035942022-11-01 12:12:52 -07004331 ],
Patrick Rohrc5980782022-11-07 16:34:03 -08004332 generated_headers: [
4333 "cronet_aml_net_cert_root_store_proto_full_gen_headers",
4334 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07004335 defaults: [
4336 "cronet_aml_defaults",
4337 ],
4338 cflags: [
4339 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4340 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4341 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
4342 "-DDCHECK_ALWAYS_ON=1",
4343 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4344 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
4345 "-DGOOGLE_PROTOBUF_NO_RTTI",
4346 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
4347 "-DHAVE_PTHREAD",
4348 "-DLIBCXXABI_SILENT_TERMINATE",
4349 "-DLIBCXX_BUILDING_LIBCXXABI",
4350 "-DUSE_AURA=1",
4351 "-DUSE_OZONE=1",
4352 "-DUSE_UDEV",
4353 "-D_DEBUG",
4354 "-D_FILE_OFFSET_BITS=64",
4355 "-D_GNU_SOURCE",
4356 "-D_LARGEFILE64_SOURCE",
4357 "-D_LARGEFILE_SOURCE",
4358 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4359 "-D_LIBCPP_BUILDING_LIBRARY",
4360 "-D_LIBCPP_CONSTINIT=constinit",
4361 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4362 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4363 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
4364 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4365 "-D__STDC_CONSTANT_MACROS",
4366 "-D__STDC_FORMAT_MACROS",
4367 ],
4368 local_include_dirs: [
4369 "./",
4370 "buildtools/third_party/libc++/",
4371 "buildtools/third_party/libc++/trunk/include",
4372 "buildtools/third_party/libc++/trunk/src/",
4373 "buildtools/third_party/libc++abi/trunk/include",
4374 "third_party/abseil-cpp/",
4375 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -07004376 "build/linux/debian_bullseye_amd64-sysroot/usr/include",
4377 ],
4378 cpp_std: "c++20",
Patrick Rohrd90025f2022-11-11 14:18:35 -08004379 cppflags: [
4380 "-fexceptions",
4381 ],
Patrick Rohr5fae90f2022-11-11 08:22:52 -08004382 rtti: true,
Patrick Rohrcb035942022-11-01 12:12:52 -07004383}
4384
4385// GN: //net/traffic_annotation:traffic_annotation
4386filegroup {
4387 name: "cronet_aml_net_traffic_annotation_traffic_annotation",
4388 srcs: [
4389 "net/traffic_annotation/network_traffic_annotation_android.cc",
4390 ],
4391}
4392
4393// GN: //net:uri_template
4394cc_library_static {
4395 name: "cronet_aml_net_uri_template",
4396 srcs: [
4397 "net/third_party/uri_template/uri_template.cc",
4398 ],
4399 shared_libs: [
4400 "libandroid",
4401 "liblog",
4402 ],
4403 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08004404 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -07004405 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08004406 "cronet_aml_base_base_static",
4407 "cronet_aml_base_third_party_double_conversion_double_conversion",
4408 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
4409 "cronet_aml_third_party_icu_icui18n",
4410 "cronet_aml_third_party_icu_icuuc_private",
4411 "cronet_aml_third_party_libevent_libevent",
4412 "cronet_aml_third_party_modp_b64_modp_b64",
4413 "libssl",
Patrick Rohrcb035942022-11-01 12:12:52 -07004414 ],
4415 defaults: [
4416 "cronet_aml_defaults",
4417 ],
4418 cflags: [
4419 "-DANDROID",
4420 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4421 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4422 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4423 "-DDCHECK_ALWAYS_ON=1",
4424 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
4425 "-DHAVE_SYS_UIO_H",
4426 "-DIS_URI_TEMPLATE_IMPL",
4427 "-D_DEBUG",
4428 "-D_GNU_SOURCE",
4429 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4430 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4431 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4432 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4433 "-D__STDC_CONSTANT_MACROS",
4434 "-D__STDC_FORMAT_MACROS",
4435 ],
4436 local_include_dirs: [
4437 "./",
4438 "buildtools/third_party/libc++/",
4439 "buildtools/third_party/libc++/trunk/include",
4440 "buildtools/third_party/libc++abi/trunk/include",
4441 "third_party/abseil-cpp/",
4442 "third_party/boringssl/src/include/",
4443 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
4444 ],
4445 cpp_std: "c++20",
4446}
4447
Patrick Rohrcc377df2022-10-28 09:27:15 -07004448// GN: //third_party/abseil-cpp:absl
4449filegroup {
4450 name: "cronet_aml_third_party_abseil_cpp_absl",
4451}
4452
4453// GN: //third_party/abseil-cpp/absl/algorithm:algorithm
4454filegroup {
4455 name: "cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
4456}
4457
4458// GN: //third_party/abseil-cpp/absl/algorithm:container
4459filegroup {
4460 name: "cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
4461}
4462
4463// GN: //third_party/abseil-cpp/absl/base:atomic_hook
4464filegroup {
4465 name: "cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
4466}
4467
4468// GN: //third_party/abseil-cpp/absl/base:base
4469filegroup {
4470 name: "cronet_aml_third_party_abseil_cpp_absl_base_base",
4471 srcs: [
4472 "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
4473 "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
4474 "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
4475 "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
4476 "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
4477 ],
4478}
4479
4480// GN: //third_party/abseil-cpp/absl/base:base_internal
4481filegroup {
4482 name: "cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
4483}
4484
4485// GN: //third_party/abseil-cpp/absl/base:config
4486filegroup {
4487 name: "cronet_aml_third_party_abseil_cpp_absl_base_config",
4488}
4489
4490// GN: //third_party/abseil-cpp/absl/base:core_headers
4491filegroup {
4492 name: "cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
4493}
4494
4495// GN: //third_party/abseil-cpp/absl/base:cycleclock_internal
4496filegroup {
4497 name: "cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
4498}
4499
4500// GN: //third_party/abseil-cpp/absl/base:dynamic_annotations
4501filegroup {
4502 name: "cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
4503}
4504
4505// GN: //third_party/abseil-cpp/absl/base:endian
4506filegroup {
4507 name: "cronet_aml_third_party_abseil_cpp_absl_base_endian",
4508}
4509
4510// GN: //third_party/abseil-cpp/absl/base:errno_saver
4511filegroup {
4512 name: "cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
4513}
4514
4515// GN: //third_party/abseil-cpp/absl/base:fast_type_id
4516filegroup {
4517 name: "cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
4518}
4519
4520// GN: //third_party/abseil-cpp/absl/base:log_severity
4521filegroup {
4522 name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
4523 srcs: [
4524 "third_party/abseil-cpp/absl/base/log_severity.cc",
4525 ],
4526}
4527
4528// GN: //third_party/abseil-cpp/absl/base:malloc_internal
4529filegroup {
4530 name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
4531 srcs: [
4532 "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
4533 ],
4534}
4535
4536// GN: //third_party/abseil-cpp/absl/base:prefetch
4537filegroup {
4538 name: "cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
4539}
4540
4541// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal
4542filegroup {
4543 name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
4544 srcs: [
4545 "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
4546 ],
4547}
4548
4549// GN: //third_party/abseil-cpp/absl/base:spinlock_wait
4550filegroup {
4551 name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
4552 srcs: [
4553 "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
4554 ],
4555}
4556
4557// GN: //third_party/abseil-cpp/absl/base:strerror
4558filegroup {
4559 name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror",
4560 srcs: [
4561 "third_party/abseil-cpp/absl/base/internal/strerror.cc",
4562 ],
4563}
4564
4565// GN: //third_party/abseil-cpp/absl/base:throw_delegate
4566filegroup {
4567 name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
4568 srcs: [
4569 "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
4570 ],
4571}
4572
4573// GN: //third_party/abseil-cpp/absl/cleanup:cleanup
4574filegroup {
4575 name: "cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
4576}
4577
4578// GN: //third_party/abseil-cpp/absl/cleanup:cleanup_internal
4579filegroup {
4580 name: "cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
4581}
4582
4583// GN: //third_party/abseil-cpp/absl/container:btree
4584filegroup {
4585 name: "cronet_aml_third_party_abseil_cpp_absl_container_btree",
4586}
4587
4588// GN: //third_party/abseil-cpp/absl/container:common
4589filegroup {
4590 name: "cronet_aml_third_party_abseil_cpp_absl_container_common",
4591}
4592
4593// GN: //third_party/abseil-cpp/absl/container:common_policy_traits
4594filegroup {
4595 name: "cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
4596}
4597
4598// GN: //third_party/abseil-cpp/absl/container:compressed_tuple
4599filegroup {
4600 name: "cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
4601}
4602
4603// GN: //third_party/abseil-cpp/absl/container:container_memory
4604filegroup {
4605 name: "cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
4606}
4607
4608// GN: //third_party/abseil-cpp/absl/container:fixed_array
4609filegroup {
4610 name: "cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
4611}
4612
4613// GN: //third_party/abseil-cpp/absl/container:flat_hash_map
4614filegroup {
4615 name: "cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
4616}
4617
4618// GN: //third_party/abseil-cpp/absl/container:flat_hash_set
4619filegroup {
4620 name: "cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
4621}
4622
4623// GN: //third_party/abseil-cpp/absl/container:hash_function_defaults
4624filegroup {
4625 name: "cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
4626}
4627
4628// GN: //third_party/abseil-cpp/absl/container:hash_policy_traits
4629filegroup {
4630 name: "cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
4631}
4632
4633// GN: //third_party/abseil-cpp/absl/container:hashtable_debug_hooks
4634filegroup {
4635 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
4636}
4637
4638// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler
4639filegroup {
4640 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
4641 srcs: [
4642 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
4643 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
4644 ],
4645}
4646
4647// GN: //third_party/abseil-cpp/absl/container:inlined_vector
4648filegroup {
4649 name: "cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
4650}
4651
4652// GN: //third_party/abseil-cpp/absl/container:inlined_vector_internal
4653filegroup {
4654 name: "cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
4655}
4656
4657// GN: //third_party/abseil-cpp/absl/container:layout
4658filegroup {
4659 name: "cronet_aml_third_party_abseil_cpp_absl_container_layout",
4660}
4661
4662// GN: //third_party/abseil-cpp/absl/container:node_hash_map
4663filegroup {
4664 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
4665}
4666
4667// GN: //third_party/abseil-cpp/absl/container:node_hash_set
4668filegroup {
4669 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
4670}
4671
4672// GN: //third_party/abseil-cpp/absl/container:node_slot_policy
4673filegroup {
4674 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
4675}
4676
4677// GN: //third_party/abseil-cpp/absl/container:raw_hash_map
4678filegroup {
4679 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
4680}
4681
4682// GN: //third_party/abseil-cpp/absl/container:raw_hash_set
4683filegroup {
4684 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
4685 srcs: [
4686 "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
4687 ],
4688}
4689
4690// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal
4691filegroup {
4692 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
4693 srcs: [
4694 "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
4695 "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
4696 "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
4697 ],
4698}
4699
4700// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal
4701filegroup {
4702 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
4703 srcs: [
4704 "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
4705 ],
4706}
4707
4708// GN: //third_party/abseil-cpp/absl/debugging:examine_stack
4709filegroup {
4710 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
4711 srcs: [
4712 "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
4713 ],
4714}
4715
4716// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler
4717filegroup {
4718 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
4719 srcs: [
4720 "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
4721 ],
4722}
4723
4724// GN: //third_party/abseil-cpp/absl/debugging:stacktrace
4725filegroup {
4726 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
4727 srcs: [
4728 "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
4729 ],
4730}
4731
4732// GN: //third_party/abseil-cpp/absl/debugging:symbolize
4733filegroup {
4734 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
4735 srcs: [
4736 "third_party/abseil-cpp/absl/debugging/symbolize.cc",
4737 ],
4738}
4739
4740// GN: //third_party/abseil-cpp/absl/functional:any_invocable
4741filegroup {
4742 name: "cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
4743}
4744
4745// GN: //third_party/abseil-cpp/absl/functional:bind_front
4746filegroup {
4747 name: "cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
4748}
4749
4750// GN: //third_party/abseil-cpp/absl/functional:function_ref
4751filegroup {
4752 name: "cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
4753}
4754
4755// GN: //third_party/abseil-cpp/absl/hash:city
4756filegroup {
4757 name: "cronet_aml_third_party_abseil_cpp_absl_hash_city",
4758 srcs: [
4759 "third_party/abseil-cpp/absl/hash/internal/city.cc",
4760 ],
4761}
4762
4763// GN: //third_party/abseil-cpp/absl/hash:hash
4764filegroup {
4765 name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash",
4766 srcs: [
4767 "third_party/abseil-cpp/absl/hash/internal/hash.cc",
4768 ],
4769}
4770
4771// GN: //third_party/abseil-cpp/absl/hash:low_level_hash
4772filegroup {
4773 name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
4774 srcs: [
4775 "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
4776 ],
4777}
4778
4779// GN: //third_party/abseil-cpp/absl/memory:memory
4780filegroup {
4781 name: "cronet_aml_third_party_abseil_cpp_absl_memory_memory",
4782}
4783
4784// GN: //third_party/abseil-cpp/absl/meta:type_traits
4785filegroup {
4786 name: "cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
4787}
4788
4789// GN: //third_party/abseil-cpp/absl/numeric:bits
4790filegroup {
4791 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
4792}
4793
4794// GN: //third_party/abseil-cpp/absl/numeric:int128
4795filegroup {
4796 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
4797 srcs: [
4798 "third_party/abseil-cpp/absl/numeric/int128.cc",
4799 ],
4800}
4801
4802// GN: //third_party/abseil-cpp/absl/numeric:representation
4803filegroup {
4804 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
4805}
4806
4807// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased
4808filegroup {
4809 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
4810 srcs: [
4811 "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
4812 ],
4813}
4814
4815// GN: //third_party/abseil-cpp/absl/profiling:sample_recorder
4816filegroup {
4817 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
4818}
4819
4820// GN: //third_party/abseil-cpp/absl/random:distributions
4821filegroup {
4822 name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions",
4823 srcs: [
4824 "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
4825 "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
4826 ],
4827}
4828
4829// GN: //third_party/abseil-cpp/absl/random/internal:distribution_caller
4830filegroup {
4831 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
4832}
4833
4834// GN: //third_party/abseil-cpp/absl/random/internal:fast_uniform_bits
4835filegroup {
4836 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
4837}
4838
4839// GN: //third_party/abseil-cpp/absl/random/internal:fastmath
4840filegroup {
4841 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
4842}
4843
4844// GN: //third_party/abseil-cpp/absl/random/internal:generate_real
4845filegroup {
4846 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
4847}
4848
4849// GN: //third_party/abseil-cpp/absl/random/internal:iostream_state_saver
4850filegroup {
4851 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
4852}
4853
4854// GN: //third_party/abseil-cpp/absl/random/internal:nonsecure_base
4855filegroup {
4856 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
4857}
4858
4859// GN: //third_party/abseil-cpp/absl/random/internal:pcg_engine
4860filegroup {
4861 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
4862}
4863
4864// GN: //third_party/abseil-cpp/absl/random/internal:platform
4865filegroup {
4866 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
4867 srcs: [
4868 "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
4869 ],
4870}
4871
4872// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg
4873filegroup {
4874 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
4875 srcs: [
4876 "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
4877 ],
4878}
4879
4880// GN: //third_party/abseil-cpp/absl/random/internal:randen
4881filegroup {
4882 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
4883 srcs: [
4884 "third_party/abseil-cpp/absl/random/internal/randen.cc",
4885 ],
4886}
4887
4888// GN: //third_party/abseil-cpp/absl/random/internal:randen_engine
4889filegroup {
4890 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
4891}
4892
4893// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes
4894filegroup {
4895 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
4896 srcs: [
4897 "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
4898 ],
4899}
4900
4901// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl
4902filegroup {
4903 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
4904 srcs: [
4905 "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
4906 ],
4907}
4908
4909// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow
4910filegroup {
4911 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
4912 srcs: [
4913 "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
4914 ],
4915}
4916
4917// GN: //third_party/abseil-cpp/absl/random/internal:salted_seed_seq
4918filegroup {
4919 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
4920}
4921
4922// GN: //third_party/abseil-cpp/absl/random/internal:seed_material
4923filegroup {
4924 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
4925 srcs: [
4926 "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
4927 ],
4928}
4929
4930// GN: //third_party/abseil-cpp/absl/random/internal:traits
4931filegroup {
4932 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
4933}
4934
4935// GN: //third_party/abseil-cpp/absl/random/internal:uniform_helper
4936filegroup {
4937 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
4938}
4939
4940// GN: //third_party/abseil-cpp/absl/random/internal:wide_multiply
4941filegroup {
4942 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
4943}
4944
4945// GN: //third_party/abseil-cpp/absl/random:random
4946filegroup {
4947 name: "cronet_aml_third_party_abseil_cpp_absl_random_random",
4948}
4949
4950// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception
4951filegroup {
4952 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
4953 srcs: [
4954 "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
4955 ],
4956}
4957
4958// GN: //third_party/abseil-cpp/absl/random:seed_sequences
4959filegroup {
4960 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
4961 srcs: [
4962 "third_party/abseil-cpp/absl/random/seed_sequences.cc",
4963 ],
4964}
4965
4966// GN: //third_party/abseil-cpp/absl/status:status
4967filegroup {
4968 name: "cronet_aml_third_party_abseil_cpp_absl_status_status",
4969 srcs: [
4970 "third_party/abseil-cpp/absl/status/status.cc",
4971 "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
4972 ],
4973}
4974
4975// GN: //third_party/abseil-cpp/absl/status:statusor
4976filegroup {
4977 name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor",
4978 srcs: [
4979 "third_party/abseil-cpp/absl/status/statusor.cc",
4980 ],
4981}
4982
4983// GN: //third_party/abseil-cpp/absl/strings:cord
4984filegroup {
4985 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord",
4986 srcs: [
4987 "third_party/abseil-cpp/absl/strings/cord.cc",
4988 "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
4989 "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
4990 ],
4991}
4992
4993// GN: //third_party/abseil-cpp/absl/strings:cord_internal
4994filegroup {
4995 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
4996 srcs: [
4997 "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
4998 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
4999 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
5000 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
5001 "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
5002 "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
5003 "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
5004 ],
5005}
5006
5007// GN: //third_party/abseil-cpp/absl/strings:cordz_functions
5008filegroup {
5009 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
5010 srcs: [
5011 "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
5012 ],
5013}
5014
5015// GN: //third_party/abseil-cpp/absl/strings:cordz_handle
5016filegroup {
5017 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
5018 srcs: [
5019 "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
5020 ],
5021}
5022
5023// GN: //third_party/abseil-cpp/absl/strings:cordz_info
5024filegroup {
5025 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
5026 srcs: [
5027 "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
5028 ],
5029}
5030
5031// GN: //third_party/abseil-cpp/absl/strings:cordz_statistics
5032filegroup {
5033 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
5034}
5035
5036// GN: //third_party/abseil-cpp/absl/strings:cordz_update_scope
5037filegroup {
5038 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
5039}
5040
5041// GN: //third_party/abseil-cpp/absl/strings:cordz_update_tracker
5042filegroup {
5043 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
5044}
5045
5046// GN: //third_party/abseil-cpp/absl/strings:internal
5047filegroup {
5048 name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal",
5049 srcs: [
5050 "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
5051 "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
5052 "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
5053 ],
5054}
5055
5056// GN: //third_party/abseil-cpp/absl/strings:str_format
5057filegroup {
5058 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
5059}
5060
5061// GN: //third_party/abseil-cpp/absl/strings:str_format_internal
5062filegroup {
5063 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
5064 srcs: [
5065 "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
5066 "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
5067 "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
5068 "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
5069 "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
5070 "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
5071 ],
5072}
5073
5074// GN: //third_party/abseil-cpp/absl/strings:strings
5075filegroup {
5076 name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings",
5077 srcs: [
5078 "third_party/abseil-cpp/absl/strings/ascii.cc",
5079 "third_party/abseil-cpp/absl/strings/charconv.cc",
5080 "third_party/abseil-cpp/absl/strings/escaping.cc",
5081 "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
5082 "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
5083 "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
5084 "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
5085 "third_party/abseil-cpp/absl/strings/match.cc",
5086 "third_party/abseil-cpp/absl/strings/numbers.cc",
5087 "third_party/abseil-cpp/absl/strings/str_cat.cc",
5088 "third_party/abseil-cpp/absl/strings/str_replace.cc",
5089 "third_party/abseil-cpp/absl/strings/str_split.cc",
5090 "third_party/abseil-cpp/absl/strings/string_view.cc",
5091 "third_party/abseil-cpp/absl/strings/substitute.cc",
5092 ],
5093}
5094
5095// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal
5096filegroup {
5097 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
5098 srcs: [
5099 "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
5100 ],
5101}
5102
5103// GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal
5104filegroup {
5105 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
5106}
5107
5108// GN: //third_party/abseil-cpp/absl/synchronization:synchronization
5109filegroup {
5110 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
5111 srcs: [
5112 "third_party/abseil-cpp/absl/synchronization/barrier.cc",
5113 "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
5114 "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
5115 "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
5116 "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
5117 "third_party/abseil-cpp/absl/synchronization/mutex.cc",
5118 "third_party/abseil-cpp/absl/synchronization/notification.cc",
5119 ],
5120}
5121
5122// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time
5123filegroup {
5124 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
5125 srcs: [
5126 "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
5127 ],
5128}
5129
5130// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone
5131filegroup {
5132 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
5133 srcs: [
5134 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
5135 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
5136 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
5137 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
5138 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
5139 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
5140 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
5141 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
5142 "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
5143 ],
5144}
5145
5146// GN: //third_party/abseil-cpp/absl/time:time
5147filegroup {
5148 name: "cronet_aml_third_party_abseil_cpp_absl_time_time",
5149 srcs: [
5150 "third_party/abseil-cpp/absl/time/civil_time.cc",
5151 "third_party/abseil-cpp/absl/time/clock.cc",
5152 "third_party/abseil-cpp/absl/time/duration.cc",
5153 "third_party/abseil-cpp/absl/time/format.cc",
5154 "third_party/abseil-cpp/absl/time/time.cc",
5155 ],
5156}
5157
5158// GN: //third_party/abseil-cpp/absl/types:bad_optional_access
5159filegroup {
5160 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
5161 srcs: [
5162 "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
5163 ],
5164}
5165
5166// GN: //third_party/abseil-cpp/absl/types:bad_variant_access
5167filegroup {
5168 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
5169 srcs: [
5170 "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
5171 ],
5172}
5173
5174// GN: //third_party/abseil-cpp/absl/types:compare
5175filegroup {
5176 name: "cronet_aml_third_party_abseil_cpp_absl_types_compare",
5177}
5178
5179// GN: //third_party/abseil-cpp/absl/types:optional
5180filegroup {
5181 name: "cronet_aml_third_party_abseil_cpp_absl_types_optional",
5182}
5183
5184// GN: //third_party/abseil-cpp/absl/types:span
5185filegroup {
5186 name: "cronet_aml_third_party_abseil_cpp_absl_types_span",
5187}
5188
5189// GN: //third_party/abseil-cpp/absl/types:variant
5190filegroup {
5191 name: "cronet_aml_third_party_abseil_cpp_absl_types_variant",
5192}
5193
5194// GN: //third_party/abseil-cpp/absl/utility:utility
5195filegroup {
5196 name: "cronet_aml_third_party_abseil_cpp_absl_utility_utility",
5197}
5198
Motomu Utsumifcac4852022-10-26 19:28:31 +09005199// GN: //third_party/android_ndk:cpu_features
5200filegroup {
5201 name: "cronet_aml_third_party_android_ndk_cpu_features",
5202 srcs: [
5203 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
5204 ],
5205}
5206
Patrick Rohrcc377df2022-10-28 09:27:15 -07005207// GN: //third_party/ashmem:ashmem
5208filegroup {
5209 name: "cronet_aml_third_party_ashmem_ashmem",
5210 srcs: [
5211 "third_party/ashmem/ashmem-dev.c",
5212 ],
5213}
5214
Patrick Rohrcb035942022-11-01 12:12:52 -07005215// GN: //third_party/brotli:common
5216cc_library_static {
5217 name: "cronet_aml_third_party_brotli_common",
5218 srcs: [
5219 ":cronet_aml_third_party_brotli_headers",
5220 "third_party/brotli/common/constants.c",
5221 "third_party/brotli/common/context.c",
5222 "third_party/brotli/common/dictionary.c",
5223 "third_party/brotli/common/platform.c",
5224 "third_party/brotli/common/shared_dictionary.c",
5225 "third_party/brotli/common/transform.c",
5226 ],
5227 defaults: [
5228 "cronet_aml_defaults",
5229 ],
5230 cflags: [
5231 "-DANDROID",
5232 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5233 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5234 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5235 "-DDCHECK_ALWAYS_ON=1",
5236 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5237 "-DHAVE_SYS_UIO_H",
5238 "-D_DEBUG",
5239 "-D_GNU_SOURCE",
5240 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5241 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5242 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5243 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5244 "-D__STDC_CONSTANT_MACROS",
5245 "-D__STDC_FORMAT_MACROS",
5246 ],
5247 local_include_dirs: [
5248 "./",
5249 "buildtools/third_party/libc++/",
5250 "buildtools/third_party/libc++/trunk/include",
5251 "buildtools/third_party/libc++abi/trunk/include",
5252 "third_party/brotli/include/",
5253 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
5254 ],
5255 cpp_std: "c++20",
5256}
5257
5258// GN: //third_party/brotli:dec
5259cc_library_static {
5260 name: "cronet_aml_third_party_brotli_dec",
5261 srcs: [
5262 ":cronet_aml_third_party_brotli_headers",
5263 "third_party/brotli/dec/bit_reader.c",
5264 "third_party/brotli/dec/decode.c",
5265 "third_party/brotli/dec/huffman.c",
5266 "third_party/brotli/dec/state.c",
5267 ],
5268 static_libs: [
5269 "cronet_aml_third_party_brotli_common",
5270 ],
5271 defaults: [
5272 "cronet_aml_defaults",
5273 ],
5274 cflags: [
5275 "-DANDROID",
5276 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5277 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5278 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5279 "-DDCHECK_ALWAYS_ON=1",
5280 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5281 "-DHAVE_SYS_UIO_H",
5282 "-D_DEBUG",
5283 "-D_GNU_SOURCE",
5284 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5285 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5286 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5287 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5288 "-D__STDC_CONSTANT_MACROS",
5289 "-D__STDC_FORMAT_MACROS",
5290 ],
5291 local_include_dirs: [
5292 "./",
5293 "buildtools/third_party/libc++/",
5294 "buildtools/third_party/libc++/trunk/include",
5295 "buildtools/third_party/libc++abi/trunk/include",
5296 "third_party/brotli/include/",
5297 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
5298 ],
5299 cpp_std: "c++20",
5300}
5301
5302// GN: //third_party/brotli:headers
5303filegroup {
5304 name: "cronet_aml_third_party_brotli_headers",
5305}
5306
Patrick Rohrcc377df2022-10-28 09:27:15 -07005307// GN: //third_party/icu:icui18n
5308cc_library_static {
5309 name: "cronet_aml_third_party_icu_icui18n",
Patrick Rohr971e03c2022-11-10 19:09:46 -08005310 srcs: [
5311 "third_party/icu/source/i18n/alphaindex.cpp",
5312 "third_party/icu/source/i18n/anytrans.cpp",
5313 "third_party/icu/source/i18n/astro.cpp",
5314 "third_party/icu/source/i18n/basictz.cpp",
5315 "third_party/icu/source/i18n/bocsu.cpp",
5316 "third_party/icu/source/i18n/brktrans.cpp",
5317 "third_party/icu/source/i18n/buddhcal.cpp",
5318 "third_party/icu/source/i18n/calendar.cpp",
5319 "third_party/icu/source/i18n/casetrn.cpp",
5320 "third_party/icu/source/i18n/cecal.cpp",
5321 "third_party/icu/source/i18n/chnsecal.cpp",
5322 "third_party/icu/source/i18n/choicfmt.cpp",
5323 "third_party/icu/source/i18n/coleitr.cpp",
5324 "third_party/icu/source/i18n/coll.cpp",
5325 "third_party/icu/source/i18n/collation.cpp",
5326 "third_party/icu/source/i18n/collationbuilder.cpp",
5327 "third_party/icu/source/i18n/collationcompare.cpp",
5328 "third_party/icu/source/i18n/collationdata.cpp",
5329 "third_party/icu/source/i18n/collationdatabuilder.cpp",
5330 "third_party/icu/source/i18n/collationdatareader.cpp",
5331 "third_party/icu/source/i18n/collationdatawriter.cpp",
5332 "third_party/icu/source/i18n/collationfastlatin.cpp",
5333 "third_party/icu/source/i18n/collationfastlatinbuilder.cpp",
5334 "third_party/icu/source/i18n/collationfcd.cpp",
5335 "third_party/icu/source/i18n/collationiterator.cpp",
5336 "third_party/icu/source/i18n/collationkeys.cpp",
5337 "third_party/icu/source/i18n/collationroot.cpp",
5338 "third_party/icu/source/i18n/collationrootelements.cpp",
5339 "third_party/icu/source/i18n/collationruleparser.cpp",
5340 "third_party/icu/source/i18n/collationsets.cpp",
5341 "third_party/icu/source/i18n/collationsettings.cpp",
5342 "third_party/icu/source/i18n/collationtailoring.cpp",
5343 "third_party/icu/source/i18n/collationweights.cpp",
5344 "third_party/icu/source/i18n/compactdecimalformat.cpp",
5345 "third_party/icu/source/i18n/coptccal.cpp",
5346 "third_party/icu/source/i18n/cpdtrans.cpp",
5347 "third_party/icu/source/i18n/csdetect.cpp",
5348 "third_party/icu/source/i18n/csmatch.cpp",
5349 "third_party/icu/source/i18n/csr2022.cpp",
5350 "third_party/icu/source/i18n/csrecog.cpp",
5351 "third_party/icu/source/i18n/csrmbcs.cpp",
5352 "third_party/icu/source/i18n/csrsbcs.cpp",
5353 "third_party/icu/source/i18n/csrucode.cpp",
5354 "third_party/icu/source/i18n/csrutf8.cpp",
5355 "third_party/icu/source/i18n/curramt.cpp",
5356 "third_party/icu/source/i18n/currfmt.cpp",
5357 "third_party/icu/source/i18n/currpinf.cpp",
5358 "third_party/icu/source/i18n/currunit.cpp",
5359 "third_party/icu/source/i18n/dangical.cpp",
5360 "third_party/icu/source/i18n/datefmt.cpp",
5361 "third_party/icu/source/i18n/dayperiodrules.cpp",
5362 "third_party/icu/source/i18n/dcfmtsym.cpp",
5363 "third_party/icu/source/i18n/decContext.cpp",
5364 "third_party/icu/source/i18n/decNumber.cpp",
5365 "third_party/icu/source/i18n/decimfmt.cpp",
5366 "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
5367 "third_party/icu/source/i18n/double-conversion-bignum.cpp",
5368 "third_party/icu/source/i18n/double-conversion-cached-powers.cpp",
5369 "third_party/icu/source/i18n/double-conversion-double-to-string.cpp",
5370 "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp",
5371 "third_party/icu/source/i18n/double-conversion-string-to-double.cpp",
5372 "third_party/icu/source/i18n/double-conversion-strtod.cpp",
5373 "third_party/icu/source/i18n/dtfmtsym.cpp",
5374 "third_party/icu/source/i18n/dtitvfmt.cpp",
5375 "third_party/icu/source/i18n/dtitvinf.cpp",
5376 "third_party/icu/source/i18n/dtptngen.cpp",
5377 "third_party/icu/source/i18n/dtrule.cpp",
5378 "third_party/icu/source/i18n/erarules.cpp",
5379 "third_party/icu/source/i18n/esctrn.cpp",
5380 "third_party/icu/source/i18n/ethpccal.cpp",
5381 "third_party/icu/source/i18n/fmtable.cpp",
5382 "third_party/icu/source/i18n/fmtable_cnv.cpp",
5383 "third_party/icu/source/i18n/format.cpp",
5384 "third_party/icu/source/i18n/formatted_string_builder.cpp",
5385 "third_party/icu/source/i18n/formattedval_iterimpl.cpp",
5386 "third_party/icu/source/i18n/formattedval_sbimpl.cpp",
5387 "third_party/icu/source/i18n/formattedvalue.cpp",
5388 "third_party/icu/source/i18n/fphdlimp.cpp",
5389 "third_party/icu/source/i18n/fpositer.cpp",
5390 "third_party/icu/source/i18n/funcrepl.cpp",
5391 "third_party/icu/source/i18n/gender.cpp",
5392 "third_party/icu/source/i18n/gregocal.cpp",
5393 "third_party/icu/source/i18n/gregoimp.cpp",
5394 "third_party/icu/source/i18n/hebrwcal.cpp",
5395 "third_party/icu/source/i18n/indiancal.cpp",
5396 "third_party/icu/source/i18n/inputext.cpp",
5397 "third_party/icu/source/i18n/islamcal.cpp",
5398 "third_party/icu/source/i18n/japancal.cpp",
5399 "third_party/icu/source/i18n/listformatter.cpp",
5400 "third_party/icu/source/i18n/measfmt.cpp",
5401 "third_party/icu/source/i18n/measunit.cpp",
5402 "third_party/icu/source/i18n/measunit_extra.cpp",
5403 "third_party/icu/source/i18n/measure.cpp",
5404 "third_party/icu/source/i18n/msgfmt.cpp",
5405 "third_party/icu/source/i18n/name2uni.cpp",
5406 "third_party/icu/source/i18n/nfrs.cpp",
5407 "third_party/icu/source/i18n/nfrule.cpp",
5408 "third_party/icu/source/i18n/nfsubs.cpp",
5409 "third_party/icu/source/i18n/nortrans.cpp",
5410 "third_party/icu/source/i18n/nultrans.cpp",
5411 "third_party/icu/source/i18n/number_affixutils.cpp",
5412 "third_party/icu/source/i18n/number_asformat.cpp",
5413 "third_party/icu/source/i18n/number_capi.cpp",
5414 "third_party/icu/source/i18n/number_compact.cpp",
5415 "third_party/icu/source/i18n/number_currencysymbols.cpp",
5416 "third_party/icu/source/i18n/number_decimalquantity.cpp",
5417 "third_party/icu/source/i18n/number_decimfmtprops.cpp",
5418 "third_party/icu/source/i18n/number_fluent.cpp",
5419 "third_party/icu/source/i18n/number_formatimpl.cpp",
5420 "third_party/icu/source/i18n/number_grouping.cpp",
5421 "third_party/icu/source/i18n/number_integerwidth.cpp",
5422 "third_party/icu/source/i18n/number_longnames.cpp",
5423 "third_party/icu/source/i18n/number_mapper.cpp",
5424 "third_party/icu/source/i18n/number_modifiers.cpp",
5425 "third_party/icu/source/i18n/number_multiplier.cpp",
5426 "third_party/icu/source/i18n/number_notation.cpp",
5427 "third_party/icu/source/i18n/number_output.cpp",
5428 "third_party/icu/source/i18n/number_padding.cpp",
5429 "third_party/icu/source/i18n/number_patternmodifier.cpp",
5430 "third_party/icu/source/i18n/number_patternstring.cpp",
5431 "third_party/icu/source/i18n/number_rounding.cpp",
5432 "third_party/icu/source/i18n/number_scientific.cpp",
5433 "third_party/icu/source/i18n/number_skeletons.cpp",
5434 "third_party/icu/source/i18n/number_symbolswrapper.cpp",
5435 "third_party/icu/source/i18n/number_usageprefs.cpp",
5436 "third_party/icu/source/i18n/number_utils.cpp",
5437 "third_party/icu/source/i18n/numfmt.cpp",
5438 "third_party/icu/source/i18n/numparse_affixes.cpp",
5439 "third_party/icu/source/i18n/numparse_compositions.cpp",
5440 "third_party/icu/source/i18n/numparse_currency.cpp",
5441 "third_party/icu/source/i18n/numparse_decimal.cpp",
5442 "third_party/icu/source/i18n/numparse_impl.cpp",
5443 "third_party/icu/source/i18n/numparse_parsednumber.cpp",
5444 "third_party/icu/source/i18n/numparse_scientific.cpp",
5445 "third_party/icu/source/i18n/numparse_symbols.cpp",
5446 "third_party/icu/source/i18n/numparse_validators.cpp",
5447 "third_party/icu/source/i18n/numrange_capi.cpp",
5448 "third_party/icu/source/i18n/numrange_fluent.cpp",
5449 "third_party/icu/source/i18n/numrange_impl.cpp",
5450 "third_party/icu/source/i18n/numsys.cpp",
5451 "third_party/icu/source/i18n/olsontz.cpp",
5452 "third_party/icu/source/i18n/persncal.cpp",
5453 "third_party/icu/source/i18n/pluralranges.cpp",
5454 "third_party/icu/source/i18n/plurfmt.cpp",
5455 "third_party/icu/source/i18n/plurrule.cpp",
5456 "third_party/icu/source/i18n/quant.cpp",
5457 "third_party/icu/source/i18n/quantityformatter.cpp",
5458 "third_party/icu/source/i18n/rbnf.cpp",
5459 "third_party/icu/source/i18n/rbt.cpp",
5460 "third_party/icu/source/i18n/rbt_data.cpp",
5461 "third_party/icu/source/i18n/rbt_pars.cpp",
5462 "third_party/icu/source/i18n/rbt_rule.cpp",
5463 "third_party/icu/source/i18n/rbt_set.cpp",
5464 "third_party/icu/source/i18n/rbtz.cpp",
5465 "third_party/icu/source/i18n/regexcmp.cpp",
5466 "third_party/icu/source/i18n/regeximp.cpp",
5467 "third_party/icu/source/i18n/regexst.cpp",
5468 "third_party/icu/source/i18n/regextxt.cpp",
5469 "third_party/icu/source/i18n/region.cpp",
5470 "third_party/icu/source/i18n/reldatefmt.cpp",
5471 "third_party/icu/source/i18n/reldtfmt.cpp",
5472 "third_party/icu/source/i18n/rematch.cpp",
5473 "third_party/icu/source/i18n/remtrans.cpp",
5474 "third_party/icu/source/i18n/repattrn.cpp",
5475 "third_party/icu/source/i18n/rulebasedcollator.cpp",
5476 "third_party/icu/source/i18n/scientificnumberformatter.cpp",
5477 "third_party/icu/source/i18n/scriptset.cpp",
5478 "third_party/icu/source/i18n/search.cpp",
5479 "third_party/icu/source/i18n/selfmt.cpp",
5480 "third_party/icu/source/i18n/sharedbreakiterator.cpp",
5481 "third_party/icu/source/i18n/simpletz.cpp",
5482 "third_party/icu/source/i18n/smpdtfmt.cpp",
5483 "third_party/icu/source/i18n/smpdtfst.cpp",
5484 "third_party/icu/source/i18n/sortkey.cpp",
5485 "third_party/icu/source/i18n/standardplural.cpp",
5486 "third_party/icu/source/i18n/string_segment.cpp",
5487 "third_party/icu/source/i18n/strmatch.cpp",
5488 "third_party/icu/source/i18n/strrepl.cpp",
5489 "third_party/icu/source/i18n/stsearch.cpp",
5490 "third_party/icu/source/i18n/taiwncal.cpp",
5491 "third_party/icu/source/i18n/timezone.cpp",
5492 "third_party/icu/source/i18n/titletrn.cpp",
5493 "third_party/icu/source/i18n/tmunit.cpp",
5494 "third_party/icu/source/i18n/tmutamt.cpp",
5495 "third_party/icu/source/i18n/tmutfmt.cpp",
5496 "third_party/icu/source/i18n/tolowtrn.cpp",
5497 "third_party/icu/source/i18n/toupptrn.cpp",
5498 "third_party/icu/source/i18n/translit.cpp",
5499 "third_party/icu/source/i18n/transreg.cpp",
5500 "third_party/icu/source/i18n/tridpars.cpp",
5501 "third_party/icu/source/i18n/tzfmt.cpp",
5502 "third_party/icu/source/i18n/tzgnames.cpp",
5503 "third_party/icu/source/i18n/tznames.cpp",
5504 "third_party/icu/source/i18n/tznames_impl.cpp",
5505 "third_party/icu/source/i18n/tzrule.cpp",
5506 "third_party/icu/source/i18n/tztrans.cpp",
5507 "third_party/icu/source/i18n/ucal.cpp",
5508 "third_party/icu/source/i18n/ucln_in.cpp",
5509 "third_party/icu/source/i18n/ucol.cpp",
5510 "third_party/icu/source/i18n/ucol_res.cpp",
5511 "third_party/icu/source/i18n/ucol_sit.cpp",
5512 "third_party/icu/source/i18n/ucoleitr.cpp",
5513 "third_party/icu/source/i18n/ucsdet.cpp",
5514 "third_party/icu/source/i18n/udat.cpp",
5515 "third_party/icu/source/i18n/udateintervalformat.cpp",
5516 "third_party/icu/source/i18n/udatpg.cpp",
5517 "third_party/icu/source/i18n/ufieldpositer.cpp",
5518 "third_party/icu/source/i18n/uitercollationiterator.cpp",
5519 "third_party/icu/source/i18n/ulistformatter.cpp",
5520 "third_party/icu/source/i18n/ulocdata.cpp",
5521 "third_party/icu/source/i18n/umsg.cpp",
5522 "third_party/icu/source/i18n/unesctrn.cpp",
5523 "third_party/icu/source/i18n/uni2name.cpp",
5524 "third_party/icu/source/i18n/units_complexconverter.cpp",
5525 "third_party/icu/source/i18n/units_converter.cpp",
5526 "third_party/icu/source/i18n/units_data.cpp",
5527 "third_party/icu/source/i18n/units_router.cpp",
5528 "third_party/icu/source/i18n/unum.cpp",
5529 "third_party/icu/source/i18n/unumsys.cpp",
5530 "third_party/icu/source/i18n/upluralrules.cpp",
5531 "third_party/icu/source/i18n/uregex.cpp",
5532 "third_party/icu/source/i18n/uregexc.cpp",
5533 "third_party/icu/source/i18n/uregion.cpp",
5534 "third_party/icu/source/i18n/usearch.cpp",
5535 "third_party/icu/source/i18n/uspoof.cpp",
5536 "third_party/icu/source/i18n/uspoof_build.cpp",
5537 "third_party/icu/source/i18n/uspoof_conf.cpp",
5538 "third_party/icu/source/i18n/uspoof_impl.cpp",
5539 "third_party/icu/source/i18n/utf16collationiterator.cpp",
5540 "third_party/icu/source/i18n/utf8collationiterator.cpp",
5541 "third_party/icu/source/i18n/utmscale.cpp",
5542 "third_party/icu/source/i18n/utrans.cpp",
5543 "third_party/icu/source/i18n/vtzone.cpp",
5544 "third_party/icu/source/i18n/vzone.cpp",
5545 "third_party/icu/source/i18n/windtfmt.cpp",
5546 "third_party/icu/source/i18n/winnmfmt.cpp",
5547 "third_party/icu/source/i18n/wintzimpl.cpp",
5548 "third_party/icu/source/i18n/zonemeta.cpp",
5549 "third_party/icu/source/i18n/zrule.cpp",
5550 "third_party/icu/source/i18n/ztrans.cpp",
5551 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07005552 static_libs: [
5553 "cronet_aml_third_party_icu_icuuc_private",
5554 ],
5555 defaults: [
5556 "cronet_aml_defaults",
5557 ],
5558 cflags: [
5559 "-DANDROID",
5560 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5561 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5562 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5563 "-DDCHECK_ALWAYS_ON=1",
5564 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5565 "-DHAVE_DLOPEN=0",
5566 "-DHAVE_SYS_UIO_H",
5567 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
5568 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
5569 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
5570 "-DUSE_CHROMIUM_ICU=1",
5571 "-DU_CHARSET_IS_UTF8=1",
5572 "-DU_ENABLE_DYLOAD=0",
5573 "-DU_ENABLE_RESOURCE_TRACING=0",
5574 "-DU_ENABLE_TRACING=1",
5575 "-DU_I18N_IMPLEMENTATION",
5576 "-DU_STATIC_IMPLEMENTATION",
5577 "-DU_USING_ICU_NAMESPACE=0",
5578 "-D_DEBUG",
5579 "-D_GNU_SOURCE",
5580 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5581 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5582 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5583 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5584 ],
5585 local_include_dirs: [
5586 "./",
5587 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005588 "buildtools/third_party/libc++/trunk/include",
5589 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005590 "third_party/icu/source/common/",
5591 "third_party/icu/source/i18n/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09005592 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005593 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005594 cpp_std: "c++20",
Patrick Rohr5fae90f2022-11-11 08:22:52 -08005595 rtti: true,
Patrick Rohrcc377df2022-10-28 09:27:15 -07005596}
5597
5598// GN: //third_party/icu:icuuc_private
5599cc_library_static {
5600 name: "cronet_aml_third_party_icu_icuuc_private",
5601 srcs: [
5602 ":cronet_aml_third_party_icu_icuuc_public",
Patrick Rohr971e03c2022-11-10 19:09:46 -08005603 "third_party/icu/source/common/appendable.cpp",
5604 "third_party/icu/source/common/bmpset.cpp",
5605 "third_party/icu/source/common/brkeng.cpp",
5606 "third_party/icu/source/common/brkiter.cpp",
5607 "third_party/icu/source/common/bytesinkutil.cpp",
5608 "third_party/icu/source/common/bytestream.cpp",
5609 "third_party/icu/source/common/bytestrie.cpp",
5610 "third_party/icu/source/common/bytestriebuilder.cpp",
5611 "third_party/icu/source/common/bytestrieiterator.cpp",
5612 "third_party/icu/source/common/caniter.cpp",
5613 "third_party/icu/source/common/characterproperties.cpp",
5614 "third_party/icu/source/common/chariter.cpp",
5615 "third_party/icu/source/common/charstr.cpp",
5616 "third_party/icu/source/common/cmemory.cpp",
5617 "third_party/icu/source/common/cstr.cpp",
5618 "third_party/icu/source/common/cstring.cpp",
5619 "third_party/icu/source/common/cwchar.cpp",
5620 "third_party/icu/source/common/dictbe.cpp",
5621 "third_party/icu/source/common/dictionarydata.cpp",
5622 "third_party/icu/source/common/dtintrv.cpp",
5623 "third_party/icu/source/common/edits.cpp",
5624 "third_party/icu/source/common/emojiprops.cpp",
5625 "third_party/icu/source/common/errorcode.cpp",
5626 "third_party/icu/source/common/filteredbrk.cpp",
5627 "third_party/icu/source/common/filterednormalizer2.cpp",
5628 "third_party/icu/source/common/icudataver.cpp",
5629 "third_party/icu/source/common/icuplug.cpp",
5630 "third_party/icu/source/common/loadednormalizer2impl.cpp",
5631 "third_party/icu/source/common/localebuilder.cpp",
5632 "third_party/icu/source/common/localematcher.cpp",
5633 "third_party/icu/source/common/localeprioritylist.cpp",
5634 "third_party/icu/source/common/locavailable.cpp",
5635 "third_party/icu/source/common/locbased.cpp",
5636 "third_party/icu/source/common/locdispnames.cpp",
5637 "third_party/icu/source/common/locdistance.cpp",
5638 "third_party/icu/source/common/locdspnm.cpp",
5639 "third_party/icu/source/common/locid.cpp",
5640 "third_party/icu/source/common/loclikely.cpp",
5641 "third_party/icu/source/common/loclikelysubtags.cpp",
5642 "third_party/icu/source/common/locmap.cpp",
5643 "third_party/icu/source/common/locresdata.cpp",
5644 "third_party/icu/source/common/locutil.cpp",
5645 "third_party/icu/source/common/lsr.cpp",
5646 "third_party/icu/source/common/lstmbe.cpp",
5647 "third_party/icu/source/common/messagepattern.cpp",
5648 "third_party/icu/source/common/normalizer2.cpp",
5649 "third_party/icu/source/common/normalizer2impl.cpp",
5650 "third_party/icu/source/common/normlzr.cpp",
5651 "third_party/icu/source/common/parsepos.cpp",
5652 "third_party/icu/source/common/patternprops.cpp",
5653 "third_party/icu/source/common/pluralmap.cpp",
5654 "third_party/icu/source/common/propname.cpp",
5655 "third_party/icu/source/common/propsvec.cpp",
5656 "third_party/icu/source/common/punycode.cpp",
5657 "third_party/icu/source/common/putil.cpp",
5658 "third_party/icu/source/common/rbbi.cpp",
5659 "third_party/icu/source/common/rbbi_cache.cpp",
5660 "third_party/icu/source/common/rbbidata.cpp",
5661 "third_party/icu/source/common/rbbinode.cpp",
5662 "third_party/icu/source/common/rbbirb.cpp",
5663 "third_party/icu/source/common/rbbiscan.cpp",
5664 "third_party/icu/source/common/rbbisetb.cpp",
5665 "third_party/icu/source/common/rbbistbl.cpp",
5666 "third_party/icu/source/common/rbbitblb.cpp",
5667 "third_party/icu/source/common/resbund.cpp",
5668 "third_party/icu/source/common/resbund_cnv.cpp",
5669 "third_party/icu/source/common/resource.cpp",
5670 "third_party/icu/source/common/restrace.cpp",
5671 "third_party/icu/source/common/ruleiter.cpp",
5672 "third_party/icu/source/common/schriter.cpp",
5673 "third_party/icu/source/common/serv.cpp",
5674 "third_party/icu/source/common/servlk.cpp",
5675 "third_party/icu/source/common/servlkf.cpp",
5676 "third_party/icu/source/common/servls.cpp",
5677 "third_party/icu/source/common/servnotf.cpp",
5678 "third_party/icu/source/common/servrbf.cpp",
5679 "third_party/icu/source/common/servslkf.cpp",
5680 "third_party/icu/source/common/sharedobject.cpp",
5681 "third_party/icu/source/common/simpleformatter.cpp",
5682 "third_party/icu/source/common/static_unicode_sets.cpp",
5683 "third_party/icu/source/common/stringpiece.cpp",
5684 "third_party/icu/source/common/stringtriebuilder.cpp",
5685 "third_party/icu/source/common/uarrsort.cpp",
5686 "third_party/icu/source/common/ubidi.cpp",
5687 "third_party/icu/source/common/ubidi_props.cpp",
5688 "third_party/icu/source/common/ubidiln.cpp",
5689 "third_party/icu/source/common/ubiditransform.cpp",
5690 "third_party/icu/source/common/ubidiwrt.cpp",
5691 "third_party/icu/source/common/ubrk.cpp",
5692 "third_party/icu/source/common/ucase.cpp",
5693 "third_party/icu/source/common/ucasemap.cpp",
5694 "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp",
5695 "third_party/icu/source/common/ucat.cpp",
5696 "third_party/icu/source/common/uchar.cpp",
5697 "third_party/icu/source/common/ucharstrie.cpp",
5698 "third_party/icu/source/common/ucharstriebuilder.cpp",
5699 "third_party/icu/source/common/ucharstrieiterator.cpp",
5700 "third_party/icu/source/common/uchriter.cpp",
5701 "third_party/icu/source/common/ucln_cmn.cpp",
5702 "third_party/icu/source/common/ucmndata.cpp",
5703 "third_party/icu/source/common/ucnv.cpp",
5704 "third_party/icu/source/common/ucnv2022.cpp",
5705 "third_party/icu/source/common/ucnv_bld.cpp",
5706 "third_party/icu/source/common/ucnv_cb.cpp",
5707 "third_party/icu/source/common/ucnv_cnv.cpp",
5708 "third_party/icu/source/common/ucnv_ct.cpp",
5709 "third_party/icu/source/common/ucnv_err.cpp",
5710 "third_party/icu/source/common/ucnv_ext.cpp",
5711 "third_party/icu/source/common/ucnv_io.cpp",
5712 "third_party/icu/source/common/ucnv_lmb.cpp",
5713 "third_party/icu/source/common/ucnv_set.cpp",
5714 "third_party/icu/source/common/ucnv_u16.cpp",
5715 "third_party/icu/source/common/ucnv_u32.cpp",
5716 "third_party/icu/source/common/ucnv_u7.cpp",
5717 "third_party/icu/source/common/ucnv_u8.cpp",
5718 "third_party/icu/source/common/ucnvbocu.cpp",
5719 "third_party/icu/source/common/ucnvdisp.cpp",
5720 "third_party/icu/source/common/ucnvhz.cpp",
5721 "third_party/icu/source/common/ucnvisci.cpp",
5722 "third_party/icu/source/common/ucnvlat1.cpp",
5723 "third_party/icu/source/common/ucnvmbcs.cpp",
5724 "third_party/icu/source/common/ucnvscsu.cpp",
5725 "third_party/icu/source/common/ucnvsel.cpp",
5726 "third_party/icu/source/common/ucol_swp.cpp",
5727 "third_party/icu/source/common/ucptrie.cpp",
5728 "third_party/icu/source/common/ucurr.cpp",
5729 "third_party/icu/source/common/udata.cpp",
5730 "third_party/icu/source/common/udatamem.cpp",
5731 "third_party/icu/source/common/udataswp.cpp",
5732 "third_party/icu/source/common/uenum.cpp",
5733 "third_party/icu/source/common/uhash.cpp",
5734 "third_party/icu/source/common/uhash_us.cpp",
5735 "third_party/icu/source/common/uidna.cpp",
5736 "third_party/icu/source/common/uinit.cpp",
5737 "third_party/icu/source/common/uinvchar.cpp",
5738 "third_party/icu/source/common/uiter.cpp",
5739 "third_party/icu/source/common/ulist.cpp",
5740 "third_party/icu/source/common/uloc.cpp",
5741 "third_party/icu/source/common/uloc_keytype.cpp",
5742 "third_party/icu/source/common/uloc_tag.cpp",
5743 "third_party/icu/source/common/umapfile.cpp",
5744 "third_party/icu/source/common/umath.cpp",
5745 "third_party/icu/source/common/umutablecptrie.cpp",
5746 "third_party/icu/source/common/umutex.cpp",
5747 "third_party/icu/source/common/unames.cpp",
5748 "third_party/icu/source/common/unifiedcache.cpp",
5749 "third_party/icu/source/common/unifilt.cpp",
5750 "third_party/icu/source/common/unifunct.cpp",
5751 "third_party/icu/source/common/uniset.cpp",
5752 "third_party/icu/source/common/uniset_closure.cpp",
5753 "third_party/icu/source/common/uniset_props.cpp",
5754 "third_party/icu/source/common/unisetspan.cpp",
5755 "third_party/icu/source/common/unistr.cpp",
5756 "third_party/icu/source/common/unistr_case.cpp",
5757 "third_party/icu/source/common/unistr_case_locale.cpp",
5758 "third_party/icu/source/common/unistr_cnv.cpp",
5759 "third_party/icu/source/common/unistr_props.cpp",
5760 "third_party/icu/source/common/unistr_titlecase_brkiter.cpp",
5761 "third_party/icu/source/common/unorm.cpp",
5762 "third_party/icu/source/common/unormcmp.cpp",
5763 "third_party/icu/source/common/uobject.cpp",
5764 "third_party/icu/source/common/uprops.cpp",
5765 "third_party/icu/source/common/ures_cnv.cpp",
5766 "third_party/icu/source/common/uresbund.cpp",
5767 "third_party/icu/source/common/uresdata.cpp",
5768 "third_party/icu/source/common/usc_impl.cpp",
5769 "third_party/icu/source/common/uscript.cpp",
5770 "third_party/icu/source/common/uscript_props.cpp",
5771 "third_party/icu/source/common/uset.cpp",
5772 "third_party/icu/source/common/uset_props.cpp",
5773 "third_party/icu/source/common/usetiter.cpp",
5774 "third_party/icu/source/common/ushape.cpp",
5775 "third_party/icu/source/common/usprep.cpp",
5776 "third_party/icu/source/common/ustack.cpp",
5777 "third_party/icu/source/common/ustr_cnv.cpp",
5778 "third_party/icu/source/common/ustr_titlecase_brkiter.cpp",
5779 "third_party/icu/source/common/ustr_wcs.cpp",
5780 "third_party/icu/source/common/ustrcase.cpp",
5781 "third_party/icu/source/common/ustrcase_locale.cpp",
5782 "third_party/icu/source/common/ustrenum.cpp",
5783 "third_party/icu/source/common/ustrfmt.cpp",
5784 "third_party/icu/source/common/ustring.cpp",
5785 "third_party/icu/source/common/ustrtrns.cpp",
5786 "third_party/icu/source/common/utext.cpp",
5787 "third_party/icu/source/common/utf_impl.cpp",
5788 "third_party/icu/source/common/util.cpp",
5789 "third_party/icu/source/common/util_props.cpp",
5790 "third_party/icu/source/common/utrace.cpp",
5791 "third_party/icu/source/common/utrie.cpp",
5792 "third_party/icu/source/common/utrie2.cpp",
5793 "third_party/icu/source/common/utrie2_builder.cpp",
5794 "third_party/icu/source/common/utrie_swap.cpp",
5795 "third_party/icu/source/common/uts46.cpp",
5796 "third_party/icu/source/common/utypes.cpp",
5797 "third_party/icu/source/common/uvector.cpp",
5798 "third_party/icu/source/common/uvectr32.cpp",
5799 "third_party/icu/source/common/uvectr64.cpp",
5800 "third_party/icu/source/common/wintz.cpp",
5801 "third_party/icu/source/stubdata/stubdata.cpp",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005802 ],
5803 defaults: [
5804 "cronet_aml_defaults",
5805 ],
5806 cflags: [
5807 "-DANDROID",
5808 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5809 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5810 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5811 "-DDCHECK_ALWAYS_ON=1",
5812 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5813 "-DHAVE_DLOPEN=0",
5814 "-DHAVE_SYS_UIO_H",
5815 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
5816 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
5817 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
5818 "-DUSE_CHROMIUM_ICU=1",
5819 "-DU_CHARSET_IS_UTF8=1",
5820 "-DU_COMMON_IMPLEMENTATION",
5821 "-DU_ENABLE_DYLOAD=0",
5822 "-DU_ENABLE_RESOURCE_TRACING=0",
5823 "-DU_ENABLE_TRACING=1",
5824 "-DU_ICUDATAENTRY_IN_COMMON",
5825 "-DU_STATIC_IMPLEMENTATION",
5826 "-DU_USING_ICU_NAMESPACE=0",
5827 "-D_DEBUG",
5828 "-D_GNU_SOURCE",
5829 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5830 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5831 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5832 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5833 "-D__STDC_CONSTANT_MACROS",
5834 "-D__STDC_FORMAT_MACROS",
5835 ],
5836 local_include_dirs: [
5837 "./",
5838 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005839 "buildtools/third_party/libc++/trunk/include",
5840 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005841 "third_party/icu/source/common/",
5842 "third_party/icu/source/i18n/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09005843 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005844 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005845 cpp_std: "c++20",
Patrick Rohr5fae90f2022-11-11 08:22:52 -08005846 rtti: true,
Patrick Rohrcc377df2022-10-28 09:27:15 -07005847}
5848
5849// GN: //third_party/icu:icuuc_public
5850filegroup {
5851 name: "cronet_aml_third_party_icu_icuuc_public",
5852}
5853
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005854// GN: //third_party/libevent:libevent
5855cc_library_static {
5856 name: "cronet_aml_third_party_libevent_libevent",
5857 srcs: [
5858 "third_party/libevent/buffer.c",
5859 "third_party/libevent/epoll.c",
5860 "third_party/libevent/evbuffer.c",
5861 "third_party/libevent/evdns.c",
5862 "third_party/libevent/event.c",
5863 "third_party/libevent/event_tagging.c",
5864 "third_party/libevent/evrpc.c",
5865 "third_party/libevent/evutil.c",
5866 "third_party/libevent/http.c",
5867 "third_party/libevent/log.c",
5868 "third_party/libevent/poll.c",
5869 "third_party/libevent/select.c",
5870 "third_party/libevent/signal.c",
5871 "third_party/libevent/strlcpy.c",
5872 ],
5873 defaults: [
5874 "cronet_aml_defaults",
5875 ],
5876 cflags: [
5877 "-DANDROID",
5878 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005879 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5880 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005881 "-DDCHECK_ALWAYS_ON=1",
5882 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5883 "-DHAVE_CONFIG_H",
5884 "-DHAVE_SYS_UIO_H",
5885 "-D_DEBUG",
5886 "-D_GNU_SOURCE",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005887 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005888 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09005889 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005890 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5891 ],
5892 local_include_dirs: [
5893 "./",
5894 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005895 "buildtools/third_party/libc++/trunk/include",
5896 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005897 "third_party/libevent/android/",
Motomu Utsumi97fb1812022-11-01 13:08:10 +09005898 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005899 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07005900 cpp_std: "c++20",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09005901}
5902
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005903// GN: //third_party/metrics_proto:metrics_proto
5904genrule {
5905 name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen",
5906 srcs: [
5907 "third_party/metrics_proto/call_stack_profile.proto",
5908 "third_party/metrics_proto/cast_logs.proto",
5909 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
5910 "third_party/metrics_proto/chrome_searchbox_stats.proto",
5911 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
5912 "third_party/metrics_proto/custom_tab_session.proto",
5913 "third_party/metrics_proto/execution_context.proto",
5914 "third_party/metrics_proto/extension_install.proto",
5915 "third_party/metrics_proto/histogram_event.proto",
5916 "third_party/metrics_proto/omnibox_event.proto",
5917 "third_party/metrics_proto/omnibox_focus_type.proto",
5918 "third_party/metrics_proto/omnibox_input_type.proto",
5919 "third_party/metrics_proto/perf_data.proto",
5920 "third_party/metrics_proto/perf_stat.proto",
5921 "third_party/metrics_proto/printer_event.proto",
5922 "third_party/metrics_proto/reporting_info.proto",
5923 "third_party/metrics_proto/sampled_profile.proto",
5924 "third_party/metrics_proto/structured_data.proto",
5925 "third_party/metrics_proto/system_profile.proto",
5926 "third_party/metrics_proto/trace_log.proto",
5927 "third_party/metrics_proto/translate_event.proto",
5928 "third_party/metrics_proto/ukm/aggregate.proto",
5929 "third_party/metrics_proto/ukm/entry.proto",
5930 "third_party/metrics_proto/ukm/report.proto",
5931 "third_party/metrics_proto/ukm/source.proto",
5932 "third_party/metrics_proto/user_action_event.proto",
5933 "third_party/metrics_proto/user_demographics.proto",
5934 ],
5935 tools: [
5936 "aprotoc",
5937 ],
5938 cmd: "$(location aprotoc) --proto_path=external/chromium_org/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/chromium_org/third_party/metrics_proto/ $(in)",
5939 out: [
5940 "external/chromium_org/third_party/metrics_proto/call_stack_profile.pb.cc",
5941 "external/chromium_org/third_party/metrics_proto/cast_logs.pb.cc",
5942 "external/chromium_org/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc",
5943 "external/chromium_org/third_party/metrics_proto/chrome_searchbox_stats.pb.cc",
5944 "external/chromium_org/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc",
5945 "external/chromium_org/third_party/metrics_proto/custom_tab_session.pb.cc",
5946 "external/chromium_org/third_party/metrics_proto/execution_context.pb.cc",
5947 "external/chromium_org/third_party/metrics_proto/extension_install.pb.cc",
5948 "external/chromium_org/third_party/metrics_proto/histogram_event.pb.cc",
5949 "external/chromium_org/third_party/metrics_proto/omnibox_event.pb.cc",
5950 "external/chromium_org/third_party/metrics_proto/omnibox_focus_type.pb.cc",
5951 "external/chromium_org/third_party/metrics_proto/omnibox_input_type.pb.cc",
5952 "external/chromium_org/third_party/metrics_proto/perf_data.pb.cc",
5953 "external/chromium_org/third_party/metrics_proto/perf_stat.pb.cc",
5954 "external/chromium_org/third_party/metrics_proto/printer_event.pb.cc",
5955 "external/chromium_org/third_party/metrics_proto/reporting_info.pb.cc",
5956 "external/chromium_org/third_party/metrics_proto/sampled_profile.pb.cc",
5957 "external/chromium_org/third_party/metrics_proto/structured_data.pb.cc",
5958 "external/chromium_org/third_party/metrics_proto/system_profile.pb.cc",
5959 "external/chromium_org/third_party/metrics_proto/trace_log.pb.cc",
5960 "external/chromium_org/third_party/metrics_proto/translate_event.pb.cc",
5961 "external/chromium_org/third_party/metrics_proto/ukm/aggregate.pb.cc",
5962 "external/chromium_org/third_party/metrics_proto/ukm/entry.pb.cc",
5963 "external/chromium_org/third_party/metrics_proto/ukm/report.pb.cc",
5964 "external/chromium_org/third_party/metrics_proto/ukm/source.pb.cc",
5965 "external/chromium_org/third_party/metrics_proto/user_action_event.pb.cc",
5966 "external/chromium_org/third_party/metrics_proto/user_demographics.pb.cc",
5967 ],
5968}
5969
5970// GN: //third_party/metrics_proto:metrics_proto
5971genrule {
5972 name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
5973 srcs: [
5974 "third_party/metrics_proto/call_stack_profile.proto",
5975 "third_party/metrics_proto/cast_logs.proto",
5976 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
5977 "third_party/metrics_proto/chrome_searchbox_stats.proto",
5978 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
5979 "third_party/metrics_proto/custom_tab_session.proto",
5980 "third_party/metrics_proto/execution_context.proto",
5981 "third_party/metrics_proto/extension_install.proto",
5982 "third_party/metrics_proto/histogram_event.proto",
5983 "third_party/metrics_proto/omnibox_event.proto",
5984 "third_party/metrics_proto/omnibox_focus_type.proto",
5985 "third_party/metrics_proto/omnibox_input_type.proto",
5986 "third_party/metrics_proto/perf_data.proto",
5987 "third_party/metrics_proto/perf_stat.proto",
5988 "third_party/metrics_proto/printer_event.proto",
5989 "third_party/metrics_proto/reporting_info.proto",
5990 "third_party/metrics_proto/sampled_profile.proto",
5991 "third_party/metrics_proto/structured_data.proto",
5992 "third_party/metrics_proto/system_profile.proto",
5993 "third_party/metrics_proto/trace_log.proto",
5994 "third_party/metrics_proto/translate_event.proto",
5995 "third_party/metrics_proto/ukm/aggregate.proto",
5996 "third_party/metrics_proto/ukm/entry.proto",
5997 "third_party/metrics_proto/ukm/report.proto",
5998 "third_party/metrics_proto/ukm/source.proto",
5999 "third_party/metrics_proto/user_action_event.proto",
6000 "third_party/metrics_proto/user_demographics.proto",
6001 ],
6002 tools: [
6003 "aprotoc",
6004 ],
6005 cmd: "$(location aprotoc) --proto_path=external/chromium_org/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/chromium_org/third_party/metrics_proto/ $(in)",
6006 out: [
6007 "external/chromium_org/third_party/metrics_proto/call_stack_profile.pb.h",
6008 "external/chromium_org/third_party/metrics_proto/cast_logs.pb.h",
6009 "external/chromium_org/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h",
6010 "external/chromium_org/third_party/metrics_proto/chrome_searchbox_stats.pb.h",
6011 "external/chromium_org/third_party/metrics_proto/chrome_user_metrics_extension.pb.h",
6012 "external/chromium_org/third_party/metrics_proto/custom_tab_session.pb.h",
6013 "external/chromium_org/third_party/metrics_proto/execution_context.pb.h",
6014 "external/chromium_org/third_party/metrics_proto/extension_install.pb.h",
6015 "external/chromium_org/third_party/metrics_proto/histogram_event.pb.h",
6016 "external/chromium_org/third_party/metrics_proto/omnibox_event.pb.h",
6017 "external/chromium_org/third_party/metrics_proto/omnibox_focus_type.pb.h",
6018 "external/chromium_org/third_party/metrics_proto/omnibox_input_type.pb.h",
6019 "external/chromium_org/third_party/metrics_proto/perf_data.pb.h",
6020 "external/chromium_org/third_party/metrics_proto/perf_stat.pb.h",
6021 "external/chromium_org/third_party/metrics_proto/printer_event.pb.h",
6022 "external/chromium_org/third_party/metrics_proto/reporting_info.pb.h",
6023 "external/chromium_org/third_party/metrics_proto/sampled_profile.pb.h",
6024 "external/chromium_org/third_party/metrics_proto/structured_data.pb.h",
6025 "external/chromium_org/third_party/metrics_proto/system_profile.pb.h",
6026 "external/chromium_org/third_party/metrics_proto/trace_log.pb.h",
6027 "external/chromium_org/third_party/metrics_proto/translate_event.pb.h",
6028 "external/chromium_org/third_party/metrics_proto/ukm/aggregate.pb.h",
6029 "external/chromium_org/third_party/metrics_proto/ukm/entry.pb.h",
6030 "external/chromium_org/third_party/metrics_proto/ukm/report.pb.h",
6031 "external/chromium_org/third_party/metrics_proto/ukm/source.pb.h",
6032 "external/chromium_org/third_party/metrics_proto/user_action_event.pb.h",
6033 "external/chromium_org/third_party/metrics_proto/user_demographics.pb.h",
6034 ],
6035 export_include_dirs: [
6036 ".",
6037 "protos",
6038 "third_party/metrics_proto",
6039 ],
6040}
6041
Patrick Rohrcc377df2022-10-28 09:27:15 -07006042// GN: //third_party/modp_b64:modp_b64
Motomu Utsumifcac4852022-10-26 19:28:31 +09006043cc_library_static {
Patrick Rohrcc377df2022-10-28 09:27:15 -07006044 name: "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumifcac4852022-10-26 19:28:31 +09006045 srcs: [
Patrick Rohrcc377df2022-10-28 09:27:15 -07006046 "third_party/modp_b64/modp_b64.cc",
Motomu Utsumifcac4852022-10-26 19:28:31 +09006047 ],
6048 defaults: [
6049 "cronet_aml_defaults",
6050 ],
6051 cflags: [
Motomu Utsumifa7e9262022-10-26 19:43:02 +09006052 "-DANDROID",
6053 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09006054 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
6055 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09006056 "-DDCHECK_ALWAYS_ON=1",
6057 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
6058 "-DHAVE_SYS_UIO_H",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09006059 "-D_DEBUG",
6060 "-D_GNU_SOURCE",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09006061 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09006062 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiefde2d22022-10-28 12:20:46 +09006063 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +09006064 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07006065 "-D__STDC_CONSTANT_MACROS",
6066 "-D__STDC_FORMAT_MACROS",
Motomu Utsumifcac4852022-10-26 19:28:31 +09006067 ],
6068 local_include_dirs: [
6069 "./",
6070 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07006071 "buildtools/third_party/libc++/trunk/include",
6072 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumid30ceed2022-11-01 13:06:18 +09006073 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Motomu Utsumifcac4852022-10-26 19:28:31 +09006074 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07006075 cpp_std: "c++20",
Motomu Utsumifcac4852022-10-26 19:28:31 +09006076}
6077
Patrick Rohrcb035942022-11-01 12:12:52 -07006078// GN: //third_party/zlib:zlib
6079cc_library_static {
6080 name: "cronet_aml_third_party_zlib_zlib",
6081 srcs: [
Patrick Rohr84b16402022-11-08 19:01:01 -08006082 ":cronet_aml_third_party_android_ndk_cpu_features",
Patrick Rohrcb035942022-11-01 12:12:52 -07006083 ":cronet_aml_third_party_zlib_zlib_adler32_simd",
6084 ":cronet_aml_third_party_zlib_zlib_common_headers",
6085 ":cronet_aml_third_party_zlib_zlib_crc32_simd",
6086 ":cronet_aml_third_party_zlib_zlib_inflate_chunk_simd",
6087 ":cronet_aml_third_party_zlib_zlib_slide_hash_simd",
6088 "third_party/zlib/adler32.c",
6089 "third_party/zlib/compress.c",
6090 "third_party/zlib/cpu_features.c",
6091 "third_party/zlib/crc32.c",
6092 "third_party/zlib/deflate.c",
6093 "third_party/zlib/gzclose.c",
6094 "third_party/zlib/gzlib.c",
6095 "third_party/zlib/gzread.c",
6096 "third_party/zlib/gzwrite.c",
6097 "third_party/zlib/infback.c",
6098 "third_party/zlib/inffast.c",
6099 "third_party/zlib/inftrees.c",
6100 "third_party/zlib/trees.c",
6101 "third_party/zlib/uncompr.c",
6102 "third_party/zlib/zutil.c",
6103 ],
6104 defaults: [
6105 "cronet_aml_defaults",
6106 ],
6107 cflags: [
6108 "-DADLER32_SIMD_SSSE3",
Patrick Rohr84b16402022-11-08 19:01:01 -08006109 "-DANDROID",
6110 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcb035942022-11-01 12:12:52 -07006111 "-DCRC32_SIMD_SSE42_PCLMUL",
6112 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
6113 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Patrick Rohrcb035942022-11-01 12:12:52 -07006114 "-DDCHECK_ALWAYS_ON=1",
6115 "-DDEFLATE_SLIDE_HASH_SSE2",
6116 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr84b16402022-11-08 19:01:01 -08006117 "-DHAVE_SYS_UIO_H",
Patrick Rohrcb035942022-11-01 12:12:52 -07006118 "-DINFLATE_CHUNK_READ_64LE",
6119 "-DINFLATE_CHUNK_SIMD_SSE2",
Patrick Rohrcb035942022-11-01 12:12:52 -07006120 "-DX86_NOT_WINDOWS",
6121 "-DZLIB_DEBUG",
6122 "-DZLIB_IMPLEMENTATION",
6123 "-D_DEBUG",
Patrick Rohrcb035942022-11-01 12:12:52 -07006124 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -07006125 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
6126 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6127 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
6128 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6129 "-D__STDC_CONSTANT_MACROS",
6130 "-D__STDC_FORMAT_MACROS",
6131 ],
6132 local_include_dirs: [
6133 "./",
6134 "buildtools/third_party/libc++/",
6135 "buildtools/third_party/libc++/trunk/include",
6136 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohr84b16402022-11-08 19:01:01 -08006137 "third_party/android_ndk/sources/android/cpufeatures/",
Patrick Rohrcb035942022-11-01 12:12:52 -07006138 "third_party/zlib/",
Patrick Rohr84b16402022-11-08 19:01:01 -08006139 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
Patrick Rohrcb035942022-11-01 12:12:52 -07006140 ],
6141 cpp_std: "c++20",
6142}
6143
6144// GN: //third_party/zlib:zlib_adler32_simd
6145filegroup {
6146 name: "cronet_aml_third_party_zlib_zlib_adler32_simd",
6147 srcs: [
6148 "third_party/zlib/adler32_simd.c",
6149 ],
6150}
6151
6152// GN: //third_party/zlib:zlib_common_headers
6153filegroup {
6154 name: "cronet_aml_third_party_zlib_zlib_common_headers",
6155}
6156
6157// GN: //third_party/zlib:zlib_crc32_simd
6158filegroup {
6159 name: "cronet_aml_third_party_zlib_zlib_crc32_simd",
6160 srcs: [
6161 "third_party/zlib/crc32_simd.c",
6162 "third_party/zlib/crc_folding.c",
6163 ],
6164}
6165
6166// GN: //third_party/zlib:zlib_inflate_chunk_simd
6167filegroup {
6168 name: "cronet_aml_third_party_zlib_zlib_inflate_chunk_simd",
6169 srcs: [
6170 "third_party/zlib/contrib/optimizations/inffast_chunk.c",
6171 "third_party/zlib/contrib/optimizations/inflate.c",
6172 ],
6173}
6174
6175// GN: //third_party/zlib:zlib_slide_hash_simd
6176filegroup {
6177 name: "cronet_aml_third_party_zlib_zlib_slide_hash_simd",
6178}
6179
Patrick Rohrcb035942022-11-01 12:12:52 -07006180// GN: //url:buildflags
6181genrule {
6182 name: "cronet_aml_url_buildflags",
6183 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
6184 "$(location build/write_buildflag_header.py) --output " +
6185 "$(out) " +
6186 "--rulename " +
6187 "//url:buildflags " +
6188 "--gen-dir " +
6189 ". " +
6190 "--definitions " +
6191 "/dev/stdin",
6192 out: [
6193 "url/buildflags.h",
6194 ],
6195 tool_files: [
6196 "build/write_buildflag_header.py",
6197 ],
6198}
6199
6200// GN: //url:url
6201cc_library_static {
6202 name: "cronet_aml_url_url",
6203 srcs: [
6204 ":cronet_aml_ipc_param_traits",
6205 "url/gurl.cc",
6206 "url/origin.cc",
6207 "url/scheme_host_port.cc",
6208 "url/third_party/mozilla/url_parse.cc",
6209 "url/url_canon.cc",
6210 "url/url_canon_etc.cc",
6211 "url/url_canon_filesystemurl.cc",
6212 "url/url_canon_fileurl.cc",
6213 "url/url_canon_host.cc",
6214 "url/url_canon_internal.cc",
6215 "url/url_canon_ip.cc",
6216 "url/url_canon_mailtourl.cc",
6217 "url/url_canon_path.cc",
6218 "url/url_canon_pathurl.cc",
6219 "url/url_canon_query.cc",
6220 "url/url_canon_relative.cc",
6221 "url/url_canon_stdstring.cc",
6222 "url/url_canon_stdurl.cc",
6223 "url/url_constants.cc",
6224 "url/url_idna_icu_alternatives_android.cc",
6225 "url/url_parse_file.cc",
6226 "url/url_util.cc",
6227 ],
6228 shared_libs: [
6229 "libandroid",
6230 "liblog",
6231 ],
6232 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006233 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -07006234 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006235 "cronet_aml_base_base_static",
6236 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -07006237 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006238 "cronet_aml_third_party_icu_icui18n",
6239 "cronet_aml_third_party_icu_icuuc_private",
6240 "cronet_aml_third_party_libevent_libevent",
6241 "cronet_aml_third_party_modp_b64_modp_b64",
6242 "libssl",
Patrick Rohrcb035942022-11-01 12:12:52 -07006243 ],
6244 generated_headers: [
6245 "cronet_aml_base_debugging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07006246 "cronet_aml_base_logging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07006247 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07006248 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07006249 "cronet_aml_url_url_jni_headers",
6250 ],
6251 export_generated_headers: [
6252 "cronet_aml_base_debugging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07006253 "cronet_aml_base_logging_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07006254 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07006255 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -07006256 "cronet_aml_url_url_jni_headers",
6257 ],
6258 defaults: [
6259 "cronet_aml_defaults",
6260 ],
6261 cflags: [
6262 "-DANDROID",
6263 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6264 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
6265 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
6266 "-DDCHECK_ALWAYS_ON=1",
6267 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
6268 "-DHAVE_SYS_UIO_H",
6269 "-DIS_URL_IMPL",
6270 "-D_DEBUG",
6271 "-D_GNU_SOURCE",
6272 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
6273 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6274 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
6275 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6276 "-D__STDC_CONSTANT_MACROS",
6277 "-D__STDC_FORMAT_MACROS",
6278 ],
6279 local_include_dirs: [
6280 "./",
6281 "buildtools/third_party/libc++/",
6282 "buildtools/third_party/libc++/trunk/include",
6283 "buildtools/third_party/libc++abi/trunk/include",
6284 "third_party/abseil-cpp/",
6285 "third_party/boringssl/src/include/",
6286 "third_party/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include",
6287 ],
6288 header_libs: [
6289 "jni_headers",
6290 ],
6291 cpp_std: "c++20",
6292}
6293
Patrick Rohrcb035942022-11-01 12:12:52 -07006294// GN: //url:url_jni_headers
6295genrule {
6296 name: "cronet_aml_url_url_jni_headers",
6297 srcs: [
6298 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
6299 "url/android/java/src/org/chromium/url/Origin.java",
6300 ],
6301 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
6302 "long " +
6303 " " +
6304 " " +
6305 "--output_dir " +
6306 "$(genDir)/url/url_jni_headers " +
6307 "--includes " +
6308 "base/android/jni_generator/jni_generator_helper.h " +
6309 "--use_proxy_hash " +
6310 "--output_name " +
6311 "IDNStringUtil_jni.h " +
6312 "--output_name " +
6313 "Origin_jni.h " +
6314 "--input_file " +
6315 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
6316 "--input_file " +
6317 "$(location url/android/java/src/org/chromium/url/Origin.java)",
6318 out: [
6319 "url/url_jni_headers/IDNStringUtil_jni.h",
6320 "url/url_jni_headers/Origin_jni.h",
6321 ],
6322 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00006323 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -07006324 "base/android/jni_generator/jni_generator.py",
6325 "build/android/gyp/util/__init__.py",
6326 "build/android/gyp/util/build_utils.py",
6327 "build/gn_helpers.py",
6328 ],
6329}
6330