blob: 09e6b426de03b331909a322a5a3ee65e6695d21d [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
Mohannad Farrag97499112023-02-20 17:27:45 +000017build = ["Android.extras.bp"]
18
Mohannad Farragce711af2022-12-28 18:18:33 +000019// GN: PACKAGE
20package {
21 default_applicable_licenses: [
22 "external_cronet_license",
23 ],
24}
25
Motomu Utsumia0a3dbe2022-12-23 17:23:34 +090026// GN: //components/cronet/android:cronet_api_java
Motomu Utsumi46ec15c2022-12-23 19:41:02 +090027java_library {
28 name: "cronet_aml_api_java",
29 srcs: [
30 ":cronet_aml_api_sources",
31 ],
32 libs: [
33 "androidx.annotation_annotation",
Motomu Utsumiffba2872023-01-23 12:15:11 +090034 "framework-annotations-lib",
Motomu Utsumi46ec15c2022-12-23 19:41:02 +090035 ],
36 sdk_version: "module_current",
37}
38
39// GN: //components/cronet/android:cronet_api_java
Motomu Utsumi0fa31272023-01-23 12:24:23 +090040// TODO(danstahr): add the API helpers separately after the main API is checked in and thoroughly reviewed
Motomu Utsumia0a3dbe2022-12-23 17:23:34 +090041filegroup {
42 name: "cronet_aml_api_sources",
43 srcs: [
44 ":cronet_aml_components_cronet_android_interface_api_version",
Motomu Utsumid6015fb2023-01-12 15:16:26 +090045 "components/cronet/android/api/src/android/net/http/BidirectionalStream.java",
46 "components/cronet/android/api/src/android/net/http/CallbackException.java",
Motomu Utsumi3fb45662023-01-16 15:09:56 +090047 "components/cronet/android/api/src/android/net/http/ConnectionMigrationOptions.java",
48 "components/cronet/android/api/src/android/net/http/DnsOptions.java",
Motomu Utsumid6015fb2023-01-12 15:16:26 +090049 "components/cronet/android/api/src/android/net/http/ExperimentalBidirectionalStream.java",
Motomu Utsumi3fb45662023-01-16 15:09:56 +090050 "components/cronet/android/api/src/android/net/http/ExperimentalHttpEngine.java",
Motomu Utsumid6015fb2023-01-12 15:16:26 +090051 "components/cronet/android/api/src/android/net/http/ExperimentalUrlRequest.java",
Motomu Utsumi3fb45662023-01-16 15:09:56 +090052 "components/cronet/android/api/src/android/net/http/HttpEngine.java",
53 "components/cronet/android/api/src/android/net/http/HttpException.java",
54 "components/cronet/android/api/src/android/net/http/IHttpEngineBuilder.java",
Motomu Utsumid6015fb2023-01-12 15:16:26 +090055 "components/cronet/android/api/src/android/net/http/InlineExecutionProhibitedException.java",
56 "components/cronet/android/api/src/android/net/http/NetworkException.java",
57 "components/cronet/android/api/src/android/net/http/NetworkQualityRttListener.java",
58 "components/cronet/android/api/src/android/net/http/NetworkQualityThroughputListener.java",
59 "components/cronet/android/api/src/android/net/http/QuicException.java",
Motomu Utsumi3fb45662023-01-16 15:09:56 +090060 "components/cronet/android/api/src/android/net/http/QuicOptions.java",
Motomu Utsumid6015fb2023-01-12 15:16:26 +090061 "components/cronet/android/api/src/android/net/http/RequestFinishedInfo.java",
62 "components/cronet/android/api/src/android/net/http/UploadDataProvider.java",
63 "components/cronet/android/api/src/android/net/http/UploadDataSink.java",
64 "components/cronet/android/api/src/android/net/http/UrlRequest.java",
65 "components/cronet/android/api/src/android/net/http/UrlResponseInfo.java",
Motomu Utsumia0a3dbe2022-12-23 17:23:34 +090066 ],
67}
68
Motomu Utsumie74bab82022-12-16 18:00:12 +090069// GN: //base/allocator:buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000070cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090071 name: "cronet_aml_base_allocator_buildflags",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090072 cmd: "echo '--flags USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC=\"false\" 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\"' | " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090073 "$(location build/write_buildflag_header.py) --output " +
74 "$(out) " +
75 "--rulename " +
76 "//base/allocator:buildflags " +
77 "--gen-dir " +
78 ". " +
79 "--definitions " +
80 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000081 out: [
82 "base/allocator/buildflags.h",
83 ],
84 tool_files: [
85 "build/write_buildflag_header.py",
86 ],
87 apex_available: [
88 "com.android.tethering",
89 ],
90}
91
92// GN: //base/allocator:buildflags__testing
93cc_genrule {
94 name: "cronet_aml_base_allocator_buildflags__testing",
95 cmd: "echo '--flags USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC=\"false\" 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\"' | " +
96 "$(location build/write_buildflag_header.py) --output " +
97 "$(out) " +
98 "--rulename " +
99 "//base/allocator:buildflags " +
100 "--gen-dir " +
101 ". " +
102 "--definitions " +
103 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000104 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900105 out: [
106 "base/allocator/buildflags.h",
107 ],
108 tool_files: [
109 "build/write_buildflag_header.py",
110 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900111 apex_available: [
112 "com.android.tethering",
113 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900114}
115
Motomu Utsumie74bab82022-12-16 18:00:12 +0900116// GN: //base/allocator/partition_allocator:chromecast_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000117cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +0900118 name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900119 cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
120 "$(location build/write_buildflag_header.py) --output " +
121 "$(out) " +
122 "--rulename " +
123 "//base/allocator/partition_allocator:chromecast_buildflags " +
124 "--gen-dir " +
125 ". " +
126 "--definitions " +
127 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000128 out: [
129 "base/allocator/partition_allocator/chromecast_buildflags.h",
130 ],
131 tool_files: [
132 "build/write_buildflag_header.py",
133 ],
134 apex_available: [
135 "com.android.tethering",
136 ],
137}
138
139// GN: //base/allocator/partition_allocator:chromecast_buildflags__testing
140cc_genrule {
141 name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__testing",
142 cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
143 "$(location build/write_buildflag_header.py) --output " +
144 "$(out) " +
145 "--rulename " +
146 "//base/allocator/partition_allocator:chromecast_buildflags " +
147 "--gen-dir " +
148 ". " +
149 "--definitions " +
150 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000151 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900152 out: [
153 "base/allocator/partition_allocator/chromecast_buildflags.h",
154 ],
155 tool_files: [
156 "build/write_buildflag_header.py",
157 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900158 apex_available: [
159 "com.android.tethering",
160 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900161}
162
Motomu Utsumie74bab82022-12-16 18:00:12 +0900163// GN: //base/allocator/partition_allocator:chromeos_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000164cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +0900165 name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900166 cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
167 "$(location build/write_buildflag_header.py) --output " +
168 "$(out) " +
169 "--rulename " +
170 "//base/allocator/partition_allocator:chromeos_buildflags " +
171 "--gen-dir " +
172 ". " +
173 "--definitions " +
174 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000175 out: [
176 "base/allocator/partition_allocator/chromeos_buildflags.h",
177 ],
178 tool_files: [
179 "build/write_buildflag_header.py",
180 ],
181 apex_available: [
182 "com.android.tethering",
183 ],
184}
185
186// GN: //base/allocator/partition_allocator:chromeos_buildflags__testing
187cc_genrule {
188 name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__testing",
189 cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
190 "$(location build/write_buildflag_header.py) --output " +
191 "$(out) " +
192 "--rulename " +
193 "//base/allocator/partition_allocator:chromeos_buildflags " +
194 "--gen-dir " +
195 ". " +
196 "--definitions " +
197 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000198 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900199 out: [
200 "base/allocator/partition_allocator/chromeos_buildflags.h",
201 ],
202 tool_files: [
203 "build/write_buildflag_header.py",
204 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900205 apex_available: [
206 "com.android.tethering",
207 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900208}
209
Motomu Utsumie74bab82022-12-16 18:00:12 +0900210// GN: //base/allocator/partition_allocator:debugging_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000211cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +0900212 name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
Motomu Utsumic525cb72023-01-27 13:25:41 +0900213 cmd: "echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900214 "$(location build/write_buildflag_header.py) --output " +
215 "$(out) " +
216 "--rulename " +
217 "//base/allocator/partition_allocator:debugging_buildflags " +
218 "--gen-dir " +
219 ". " +
220 "--definitions " +
221 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000222 out: [
223 "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h",
224 ],
225 tool_files: [
226 "build/write_buildflag_header.py",
227 ],
228 apex_available: [
229 "com.android.tethering",
230 ],
231}
232
233// GN: //base/allocator/partition_allocator:debugging_buildflags__testing
234cc_genrule {
235 name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__testing",
236 cmd: "echo '--flags PA_DCHECK_IS_ON=\"false\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"false\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " +
237 "$(location build/write_buildflag_header.py) --output " +
238 "$(out) " +
239 "--rulename " +
240 "//base/allocator/partition_allocator:debugging_buildflags " +
241 "--gen-dir " +
242 ". " +
243 "--definitions " +
244 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000245 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900246 out: [
247 "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h",
248 ],
249 tool_files: [
250 "build/write_buildflag_header.py",
251 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900252 apex_available: [
253 "com.android.tethering",
254 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900255}
256
Motomu Utsumie74bab82022-12-16 18:00:12 +0900257// GN: //base/allocator/partition_allocator:logging_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000258cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +0900259 name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
Patrick Rohr98600682022-11-18 18:29:15 -0800260 cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
261 "$(location build/write_buildflag_header.py) --output " +
262 "$(out) " +
263 "--rulename " +
264 "//base/allocator/partition_allocator:logging_buildflags " +
265 "--gen-dir " +
266 ". " +
267 "--definitions " +
268 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000269 out: [
270 "base/allocator/partition_allocator/logging_buildflags.h",
271 ],
272 tool_files: [
273 "build/write_buildflag_header.py",
274 ],
275 apex_available: [
276 "com.android.tethering",
277 ],
278}
279
280// GN: //base/allocator/partition_allocator:logging_buildflags__testing
281cc_genrule {
282 name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags__testing",
283 cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
284 "$(location build/write_buildflag_header.py) --output " +
285 "$(out) " +
286 "--rulename " +
287 "//base/allocator/partition_allocator:logging_buildflags " +
288 "--gen-dir " +
289 ". " +
290 "--definitions " +
291 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000292 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -0800293 out: [
294 "base/allocator/partition_allocator/logging_buildflags.h",
295 ],
296 tool_files: [
297 "build/write_buildflag_header.py",
298 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900299 apex_available: [
300 "com.android.tethering",
301 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800302}
303
Patrick Rohrcc377df2022-10-28 09:27:15 -0700304// GN: //base/allocator/partition_allocator:partition_alloc
305cc_library_static {
306 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900307 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000308 ":cronet_aml_third_party_android_ndk_cpu_features",
309 "base/allocator/partition_allocator/address_pool_manager.cc",
310 "base/allocator/partition_allocator/address_pool_manager_bitmap.cc",
311 "base/allocator/partition_allocator/address_space_randomization.cc",
312 "base/allocator/partition_allocator/allocation_guard.cc",
313 "base/allocator/partition_allocator/dangling_raw_ptr_checks.cc",
314 "base/allocator/partition_allocator/gwp_asan_support.cc",
315 "base/allocator/partition_allocator/memory_reclaimer.cc",
316 "base/allocator/partition_allocator/oom.cc",
317 "base/allocator/partition_allocator/oom_callback.cc",
318 "base/allocator/partition_allocator/page_allocator.cc",
319 "base/allocator/partition_allocator/page_allocator_internals_posix.cc",
320 "base/allocator/partition_allocator/partition_address_space.cc",
321 "base/allocator/partition_allocator/partition_alloc.cc",
322 "base/allocator/partition_allocator/partition_alloc_base/check.cc",
323 "base/allocator/partition_allocator/partition_alloc_base/cpu.cc",
324 "base/allocator/partition_allocator/partition_alloc_base/debug/alias.cc",
325 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
326 "base/allocator/partition_allocator/partition_alloc_base/files/file_util_posix.cc",
327 "base/allocator/partition_allocator/partition_alloc_base/logging.cc",
328 "base/allocator/partition_allocator/partition_alloc_base/memory/ref_counted.cc",
329 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
330 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
331 "base/allocator/partition_allocator/partition_alloc_base/posix/safe_strerror.cc",
332 "base/allocator/partition_allocator/partition_alloc_base/rand_util.cc",
333 "base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc",
334 "base/allocator/partition_allocator/partition_alloc_base/strings/stringprintf.cc",
335 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread.cc",
336 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc",
337 "base/allocator/partition_allocator/partition_alloc_base/time/time.cc",
338 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
339 "base/allocator/partition_allocator/partition_alloc_base/time/time_conversion_posix.cc",
340 "base/allocator/partition_allocator/partition_alloc_base/time/time_now_posix.cc",
341 "base/allocator/partition_allocator/partition_alloc_base/time/time_override.cc",
342 "base/allocator/partition_allocator/partition_alloc_hooks.cc",
343 "base/allocator/partition_allocator/partition_bucket.cc",
344 "base/allocator/partition_allocator/partition_oom.cc",
345 "base/allocator/partition_allocator/partition_page.cc",
346 "base/allocator/partition_allocator/partition_root.cc",
347 "base/allocator/partition_allocator/partition_stats.cc",
348 "base/allocator/partition_allocator/random.cc",
349 "base/allocator/partition_allocator/reservation_offset_table.cc",
350 "base/allocator/partition_allocator/spinning_mutex.cc",
351 "base/allocator/partition_allocator/starscan/metadata_allocator.cc",
352 "base/allocator/partition_allocator/starscan/pcscan.cc",
353 "base/allocator/partition_allocator/starscan/pcscan_internal.cc",
354 "base/allocator/partition_allocator/starscan/pcscan_scheduling.cc",
355 "base/allocator/partition_allocator/starscan/snapshot.cc",
356 "base/allocator/partition_allocator/starscan/stack/stack.cc",
357 "base/allocator/partition_allocator/starscan/stats_collector.cc",
358 "base/allocator/partition_allocator/starscan/write_protector.cc",
359 "base/allocator/partition_allocator/tagging.cc",
360 "base/allocator/partition_allocator/thread_cache.cc",
361 ],
362 generated_headers: [
363 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
364 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
365 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
366 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
367 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
368 ],
369 export_generated_headers: [
370 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags",
371 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags",
372 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags",
373 "cronet_aml_base_allocator_partition_allocator_logging_buildflags",
374 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
375 ],
376 defaults: [
377 "cronet_aml_defaults",
378 ],
379 cflags: [
380 "-DANDROID",
381 "-DANDROID_NDK_VERSION_ROLL=r23_1",
382 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
383 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
384 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
385 "-DHAVE_SYS_UIO_H",
386 "-DIS_PARTITION_ALLOC_IMPL",
387 "-DNDEBUG",
388 "-DNO_UNWIND_TABLES",
389 "-DNVALGRIND",
390 "-DOFFICIAL_BUILD",
391 "-DPA_PCSCAN_STACK_SUPPORTED",
392 "-D_FORTIFY_SOURCE=2",
393 "-D_GNU_SOURCE",
394 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
395 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
396 "-D__STDC_CONSTANT_MACROS",
397 "-D__STDC_FORMAT_MACROS",
398 "-O3",
399 "-fdata-sections",
400 "-ffunction-sections",
401 "-fno-asynchronous-unwind-tables",
402 "-fno-unwind-tables",
403 "-fvisibility-inlines-hidden",
404 "-fvisibility=hidden",
405 "-g1",
406 ],
407 local_include_dirs: [
408 "./",
409 "buildtools/third_party/libc++/",
410 "buildtools/third_party/libc++/trunk/include",
411 "buildtools/third_party/libc++abi/trunk/include",
412 "third_party/android_ndk/sources/android/cpufeatures/",
413 ],
414 header_libs: [
415 "libgtest_prod_headers",
416 ],
417 cpp_std: "c++17",
418 ldflags: [
419 "-Wl,--as-needed",
420 "-Wl,--gc-sections",
421 "-Wl,--icf=all",
422 ],
423 target: {
424 android_arm: {
425 srcs: [
426 "base/allocator/partition_allocator/starscan/stack/asm/arm/push_registers_asm.cc",
427 ],
428 cflags: [
429 "-fstack-protector",
430 ],
431 },
432 android_arm64: {
433 srcs: [
434 "base/allocator/partition_allocator/starscan/stack/asm/arm64/push_registers_asm.cc",
435 ],
436 cflags: [
437 "-fstack-protector",
438 "-march=armv8-a+memtag",
439 "-mno-outline",
440 "-mno-outline-atomics",
441 ],
442 },
443 android_x86: {
444 srcs: [
445 "base/allocator/partition_allocator/starscan/stack/asm/x86/push_registers_asm.cc",
446 ],
447 cflags: [
448 "-msse3",
449 ],
450 },
451 android_x86_64: {
452 srcs: [
453 "base/allocator/partition_allocator/starscan/stack/asm/x64/push_registers_asm.cc",
454 ],
455 cflags: [
456 "-fstack-protector",
457 "-msse3",
458 ],
459 },
460 },
461}
462
463// GN: //base/allocator/partition_allocator:partition_alloc__testing
464cc_library_static {
465 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
466 srcs: [
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900467 "base/allocator/partition_allocator/address_pool_manager.cc",
468 "base/allocator/partition_allocator/address_pool_manager_bitmap.cc",
469 "base/allocator/partition_allocator/address_space_randomization.cc",
470 "base/allocator/partition_allocator/allocation_guard.cc",
471 "base/allocator/partition_allocator/dangling_raw_ptr_checks.cc",
472 "base/allocator/partition_allocator/gwp_asan_support.cc",
473 "base/allocator/partition_allocator/memory_reclaimer.cc",
474 "base/allocator/partition_allocator/oom.cc",
475 "base/allocator/partition_allocator/oom_callback.cc",
476 "base/allocator/partition_allocator/page_allocator.cc",
477 "base/allocator/partition_allocator/page_allocator_internals_posix.cc",
478 "base/allocator/partition_allocator/partition_address_space.cc",
479 "base/allocator/partition_allocator/partition_alloc.cc",
480 "base/allocator/partition_allocator/partition_alloc_base/check.cc",
481 "base/allocator/partition_allocator/partition_alloc_base/cpu.cc",
482 "base/allocator/partition_allocator/partition_alloc_base/debug/alias.cc",
483 "base/allocator/partition_allocator/partition_alloc_base/files/file_util_posix.cc",
484 "base/allocator/partition_allocator/partition_alloc_base/logging.cc",
485 "base/allocator/partition_allocator/partition_alloc_base/memory/ref_counted.cc",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900486 "base/allocator/partition_allocator/partition_alloc_base/posix/safe_strerror.cc",
487 "base/allocator/partition_allocator/partition_alloc_base/rand_util.cc",
488 "base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc",
489 "base/allocator/partition_allocator/partition_alloc_base/strings/stringprintf.cc",
490 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread.cc",
491 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc",
492 "base/allocator/partition_allocator/partition_alloc_base/time/time.cc",
493 "base/allocator/partition_allocator/partition_alloc_base/time/time_conversion_posix.cc",
494 "base/allocator/partition_allocator/partition_alloc_base/time/time_now_posix.cc",
495 "base/allocator/partition_allocator/partition_alloc_base/time/time_override.cc",
496 "base/allocator/partition_allocator/partition_alloc_hooks.cc",
497 "base/allocator/partition_allocator/partition_bucket.cc",
498 "base/allocator/partition_allocator/partition_oom.cc",
499 "base/allocator/partition_allocator/partition_page.cc",
500 "base/allocator/partition_allocator/partition_root.cc",
501 "base/allocator/partition_allocator/partition_stats.cc",
502 "base/allocator/partition_allocator/random.cc",
503 "base/allocator/partition_allocator/reservation_offset_table.cc",
504 "base/allocator/partition_allocator/spinning_mutex.cc",
505 "base/allocator/partition_allocator/starscan/metadata_allocator.cc",
506 "base/allocator/partition_allocator/starscan/pcscan.cc",
507 "base/allocator/partition_allocator/starscan/pcscan_internal.cc",
508 "base/allocator/partition_allocator/starscan/pcscan_scheduling.cc",
509 "base/allocator/partition_allocator/starscan/snapshot.cc",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900510 "base/allocator/partition_allocator/starscan/stack/stack.cc",
511 "base/allocator/partition_allocator/starscan/stats_collector.cc",
512 "base/allocator/partition_allocator/starscan/write_protector.cc",
513 "base/allocator/partition_allocator/tagging.cc",
514 "base/allocator/partition_allocator/thread_cache.cc",
515 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000516 host_supported: true,
Motomu Utsumie74bab82022-12-16 18:00:12 +0900517 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000518 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__testing",
519 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__testing",
520 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__testing",
521 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__testing",
522 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__testing",
Motomu Utsumie74bab82022-12-16 18:00:12 +0900523 ],
524 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000525 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__testing",
526 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__testing",
527 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__testing",
528 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__testing",
529 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__testing",
Motomu Utsumie74bab82022-12-16 18:00:12 +0900530 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700531 defaults: [
532 "cronet_aml_defaults",
533 ],
534 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +0900535 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
536 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +0900537 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700538 "-DIS_PARTITION_ALLOC_IMPL",
Motomu Utsumic525cb72023-01-27 13:25:41 +0900539 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +0900540 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +0900541 "-DNVALGRIND",
542 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700543 "-DPA_PCSCAN_STACK_SUPPORTED",
Motomu Utsumic525cb72023-01-27 13:25:41 +0900544 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700545 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700546 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700547 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
548 "-D__STDC_CONSTANT_MACROS",
549 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +0900550 "-O3",
551 "-fdata-sections",
552 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +0900553 "-fno-asynchronous-unwind-tables",
554 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +0900555 "-fvisibility-inlines-hidden",
556 "-fvisibility=hidden",
557 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700558 ],
559 local_include_dirs: [
560 "./",
561 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -0700562 "buildtools/third_party/libc++/trunk/include",
563 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700564 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +0900565 ldflags: [
566 "-Wl,--as-needed",
567 "-Wl,--gc-sections",
568 "-Wl,--icf=all",
569 ],
Patrick Rohr3b5ff762022-11-16 10:22:16 -0800570 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900571 android_arm: {
572 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000573 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000574 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
575 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
576 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
577 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900578 "base/allocator/partition_allocator/starscan/stack/asm/arm/push_registers_asm.cc",
579 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +0900580 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000581 "-DANDROID",
582 "-DANDROID_NDK_VERSION_ROLL=r23_1",
583 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +0900584 "-fstack-protector",
585 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000586 local_include_dirs: [
587 "third_party/android_ndk/sources/android/cpufeatures/",
588 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900589 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900590 android_arm64: {
591 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000592 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000593 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
594 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
595 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
596 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900597 "base/allocator/partition_allocator/starscan/stack/asm/arm64/push_registers_asm.cc",
598 ],
599 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000600 "-DANDROID",
601 "-DANDROID_NDK_VERSION_ROLL=r23_1",
602 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +0900603 "-fstack-protector",
Motomu Utsumi3371d682022-11-28 16:56:52 +0900604 "-march=armv8-a+memtag",
Motomu Utsumicac340f2023-02-09 16:11:34 +0900605 "-mno-outline",
606 "-mno-outline-atomics",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900607 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000608 local_include_dirs: [
609 "third_party/android_ndk/sources/android/cpufeatures/",
610 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900611 },
Motomu Utsumi65501182022-11-18 15:26:35 +0900612 android_x86: {
613 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000614 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000615 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
616 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
617 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
618 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
Motomu Utsumi65501182022-11-18 15:26:35 +0900619 "base/allocator/partition_allocator/starscan/stack/asm/x86/push_registers_asm.cc",
620 ],
621 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000622 "-DANDROID",
623 "-DANDROID_NDK_VERSION_ROLL=r23_1",
624 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900625 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +0900626 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000627 local_include_dirs: [
628 "third_party/android_ndk/sources/android/cpufeatures/",
629 ],
Motomu Utsumi65501182022-11-18 15:26:35 +0900630 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -0800631 android_x86_64: {
632 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000633 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000634 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
635 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
636 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
637 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
Motomu Utsumi65501182022-11-18 15:26:35 +0900638 "base/allocator/partition_allocator/starscan/stack/asm/x64/push_registers_asm.cc",
Patrick Rohr3b5ff762022-11-16 10:22:16 -0800639 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +0900640 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000641 "-DANDROID",
642 "-DANDROID_NDK_VERSION_ROLL=r23_1",
643 "-DHAVE_SYS_UIO_H",
644 "-fstack-protector",
645 "-msse3",
646 ],
647 local_include_dirs: [
648 "third_party/android_ndk/sources/android/cpufeatures/",
649 ],
650 },
651 host: {
652 srcs: [
653 "base/allocator/partition_allocator/starscan/stack/asm/x64/push_registers_asm.cc",
654 ],
655 cflags: [
656 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
657 "-DUSE_AURA=1",
658 "-DUSE_OZONE=1",
659 "-DUSE_UDEV",
660 "-D_FILE_OFFSET_BITS=64",
661 "-D_LARGEFILE64_SOURCE",
662 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +0900663 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900664 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +0900665 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +0900666 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -0800667 },
Patrick Rohrcc377df2022-10-28 09:27:15 -0700668}
669
Motomu Utsumie74bab82022-12-16 18:00:12 +0900670// GN: //base/allocator/partition_allocator:partition_alloc_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000671cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +0900672 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000673 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\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
674 "$(location build/write_buildflag_header.py) --output " +
675 "$(out) " +
676 "--rulename " +
677 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
678 "--gen-dir " +
679 ". " +
680 "--definitions " +
681 "/dev/stdin",
682 out: [
683 "base/allocator/partition_allocator/partition_alloc_buildflags.h",
684 ],
685 tool_files: [
686 "build/write_buildflag_header.py",
687 ],
688 apex_available: [
689 "com.android.tethering",
690 ],
691}
692
693// GN: //base/allocator/partition_allocator:partition_alloc_buildflags__testing
694cc_genrule {
695 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000696 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
697 "then " +
698 "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\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900699 "$(location build/write_buildflag_header.py) --output " +
700 "$(out) " +
701 "--rulename " +
702 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
703 "--gen-dir " +
704 ". " +
705 "--definitions " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000706 "/dev/stdin; " +
707 "fi; " +
708 "if [[ $$CC_OS != 'android' ]]; " +
709 "then " +
710 "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\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"true\"' | " +
711 "$(location build/write_buildflag_header.py) --output " +
712 "$(out) " +
713 "--rulename " +
714 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
715 "--gen-dir " +
716 ". " +
717 "--definitions " +
718 "/dev/stdin; " +
719 "fi; " +
720 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
721 "then " +
722 "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\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
723 "$(location build/write_buildflag_header.py) --output " +
724 "$(out) " +
725 "--rulename " +
726 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
727 "--gen-dir " +
728 ". " +
729 "--definitions " +
730 "/dev/stdin; " +
731 "fi; " +
732 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
733 "then " +
734 "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\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
735 "$(location build/write_buildflag_header.py) --output " +
736 "$(out) " +
737 "--rulename " +
738 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
739 "--gen-dir " +
740 ". " +
741 "--definitions " +
742 "/dev/stdin; " +
743 "fi; " +
744 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
745 "then " +
746 "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\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
747 "$(location build/write_buildflag_header.py) --output " +
748 "$(out) " +
749 "--rulename " +
750 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
751 "--gen-dir " +
752 ". " +
753 "--definitions " +
754 "/dev/stdin; " +
755 "fi;",
756 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900757 out: [
758 "base/allocator/partition_allocator/partition_alloc_buildflags.h",
759 ],
760 tool_files: [
761 "build/write_buildflag_header.py",
762 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900763 apex_available: [
764 "com.android.tethering",
765 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900766}
767
Motomu Utsumie74bab82022-12-16 18:00:12 +0900768// GN: //base:anchor_functions_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000769cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +0900770 name: "cronet_aml_base_anchor_functions_buildflags",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000771 cmd: "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
772 "$(location build/write_buildflag_header.py) --output " +
773 "$(out) " +
774 "--rulename " +
775 "//base:anchor_functions_buildflags " +
776 "--gen-dir " +
777 ". " +
778 "--definitions " +
779 "/dev/stdin",
780 out: [
781 "base/android/library_loader/anchor_functions_buildflags.h",
782 ],
783 tool_files: [
784 "build/write_buildflag_header.py",
785 ],
786 apex_available: [
787 "com.android.tethering",
788 ],
789}
790
791// GN: //base:anchor_functions_buildflags__testing
792cc_genrule {
793 name: "cronet_aml_base_anchor_functions_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000794 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
795 "then " +
796 "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900797 "$(location build/write_buildflag_header.py) --output " +
798 "$(out) " +
799 "--rulename " +
800 "//base:anchor_functions_buildflags " +
801 "--gen-dir " +
802 ". " +
803 "--definitions " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +0000804 "/dev/stdin; " +
805 "fi; " +
806 "if [[ $$CC_OS != 'android' ]]; " +
807 "then " +
808 "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"false\"' | " +
809 "$(location build/write_buildflag_header.py) --output " +
810 "$(out) " +
811 "--rulename " +
812 "//base:anchor_functions_buildflags " +
813 "--gen-dir " +
814 ". " +
815 "--definitions " +
816 "/dev/stdin; " +
817 "fi; " +
818 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
819 "then " +
820 "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
821 "$(location build/write_buildflag_header.py) --output " +
822 "$(out) " +
823 "--rulename " +
824 "//base:anchor_functions_buildflags " +
825 "--gen-dir " +
826 ". " +
827 "--definitions " +
828 "/dev/stdin; " +
829 "fi; " +
830 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
831 "then " +
832 "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
833 "$(location build/write_buildflag_header.py) --output " +
834 "$(out) " +
835 "--rulename " +
836 "//base:anchor_functions_buildflags " +
837 "--gen-dir " +
838 ". " +
839 "--definitions " +
840 "/dev/stdin; " +
841 "fi; " +
842 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
843 "then " +
844 "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
845 "$(location build/write_buildflag_header.py) --output " +
846 "$(out) " +
847 "--rulename " +
848 "//base:anchor_functions_buildflags " +
849 "--gen-dir " +
850 ". " +
851 "--definitions " +
852 "/dev/stdin; " +
853 "fi;",
854 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900855 out: [
856 "base/android/library_loader/anchor_functions_buildflags.h",
857 ],
858 tool_files: [
859 "build/write_buildflag_header.py",
860 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900861 apex_available: [
862 "com.android.tethering",
863 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900864}
865
Motomu Utsumie74bab82022-12-16 18:00:12 +0900866// GN: //base:android_runtime_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000867cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +0900868 name: "cronet_aml_base_android_runtime_jni_headers",
Patrick Rohr9b99a982022-10-28 11:00:57 -0700869 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
870 "long " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700871 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -0700872 "$(genDir)/base/android_runtime_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700873 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -0700874 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700875 "--jar_file " +
Patrick Rohr7d2cdf42022-12-22 11:39:35 -0800876 "$(location :current_android_jar) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700877 "--output_name " +
878 "Runnable_jni.h " +
879 "--output_name " +
880 "Runtime_jni.h " +
881 "--input_file " +
882 "java/lang/Runnable.class " +
883 "--input_file " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700884 "java/lang/Runtime.class " +
885 "--javap " +
Motomu Utsumiad0df0c2023-01-27 11:57:33 +0900886 "$$(find $${OUT_DIR:-out}/.path -name javap) " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +0000887 "--package_prefix " +
888 "android.net.http.internal",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700889 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -0700890 "base/android_runtime_jni_headers/Runnable_jni.h",
891 "base/android_runtime_jni_headers/Runtime_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700892 ],
893 tool_files: [
Patrick Rohr7d2cdf42022-12-22 11:39:35 -0800894 ":current_android_jar",
Mohannad Farrag18d7b512022-11-07 13:26:30 +0000895 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700896 "base/android/jni_generator/jni_generator.py",
897 "build/android/gyp/util/__init__.py",
898 "build/android/gyp/util/build_utils.py",
899 "build/gn_helpers.py",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700900 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900901 apex_available: [
902 "com.android.tethering",
903 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700904}
905
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000906// GN: //base:android_runtime_jni_headers__testing
907cc_genrule {
908 name: "cronet_aml_base_android_runtime_jni_headers__testing",
909 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
910 "long " +
911 "--output_dir " +
912 "$(genDir)/base/android_runtime_jni_headers " +
913 "--includes " +
914 "base/android/jni_generator/jni_generator_helper.h " +
915 "--jar_file " +
916 "$(location :current_android_jar) " +
917 "--output_name " +
918 "Runnable_jni.h " +
919 "--output_name " +
920 "Runtime_jni.h " +
921 "--input_file " +
922 "java/lang/Runnable.class " +
923 "--input_file " +
924 "java/lang/Runtime.class " +
925 "--javap " +
926 "$$(find $${OUT_DIR:-out}/.path -name javap) " +
927 "--package_prefix " +
928 "android.net.http.internal",
929 out: [
930 "base/android_runtime_jni_headers/Runnable_jni.h",
931 "base/android_runtime_jni_headers/Runtime_jni.h",
932 ],
933 tool_files: [
934 ":current_android_jar",
935 "base/android/jni_generator/android_jar.classes",
936 "base/android/jni_generator/jni_generator.py",
937 "build/android/gyp/util/__init__.py",
938 "build/android/gyp/util/build_utils.py",
939 "build/gn_helpers.py",
940 ],
941 apex_available: [
942 "com.android.tethering",
943 ],
944}
945
Patrick Rohrcc377df2022-10-28 09:27:15 -0700946// GN: //base:base
947cc_library_static {
948 name: "cronet_aml_base_base",
949 srcs: [
Motomu Utsumic525cb72023-01-27 13:25:41 +0900950 ":cronet_aml_base_nodebug_assertion",
Mohannad Farrag7f29d832022-11-23 19:52:41 +0000951 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
952 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
953 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
954 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
955 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
956 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
957 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
958 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
959 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
960 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
961 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
962 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
963 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
964 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
965 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
966 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
967 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
968 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
969 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
970 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
971 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
972 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
973 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
974 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
975 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
976 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
977 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
978 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
979 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
980 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
981 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
982 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
983 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
984 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
985 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
986 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
987 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
988 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
989 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
990 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
991 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
992 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
993 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
994 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
995 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
996 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
997 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000998 ":cronet_aml_third_party_android_ndk_cpu_features",
999 ":cronet_aml_third_party_ashmem_ashmem",
1000 "base/allocator/allocator_check.cc",
1001 "base/allocator/allocator_extension.cc",
1002 "base/allocator/dispatcher/dispatcher.cc",
1003 "base/allocator/dispatcher/internal/dispatch_data.cc",
1004 "base/allocator/dispatcher/reentry_guard.cc",
1005 "base/allocator/partition_allocator/shim/allocator_shim.cc",
1006 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
1007 "base/android/android_hardware_buffer_compat.cc",
1008 "base/android/android_image_reader_compat.cc",
1009 "base/android/apk_assets.cc",
1010 "base/android/application_status_listener.cc",
1011 "base/android/base_feature_list.cc",
1012 "base/android/base_features.cc",
1013 "base/android/base_jni_onload.cc",
1014 "base/android/build_info.cc",
1015 "base/android/bundle_utils.cc",
1016 "base/android/callback_android.cc",
1017 "base/android/child_process_service.cc",
1018 "base/android/command_line_android.cc",
1019 "base/android/content_uri_utils.cc",
1020 "base/android/cpu_features.cc",
1021 "base/android/early_trace_event_binding.cc",
1022 "base/android/event_log.cc",
1023 "base/android/feature_list_jni.cc",
1024 "base/android/features_jni.cc",
1025 "base/android/field_trial_list.cc",
1026 "base/android/important_file_writer_android.cc",
1027 "base/android/int_string_callback.cc",
1028 "base/android/jank_metric_uma_recorder.cc",
1029 "base/android/java_exception_reporter.cc",
1030 "base/android/java_handler_thread.cc",
1031 "base/android/java_heap_dump_generator.cc",
1032 "base/android/java_runtime.cc",
1033 "base/android/jni_android.cc",
1034 "base/android/jni_array.cc",
1035 "base/android/jni_registrar.cc",
1036 "base/android/jni_string.cc",
1037 "base/android/jni_utils.cc",
1038 "base/android/jni_weak_ref.cc",
1039 "base/android/library_loader/anchor_functions.cc",
1040 "base/android/library_loader/library_loader_hooks.cc",
1041 "base/android/library_loader/library_prefetcher.cc",
1042 "base/android/library_loader/library_prefetcher_hooks.cc",
1043 "base/android/locale_utils.cc",
1044 "base/android/memory_pressure_listener_android.cc",
1045 "base/android/native_uma_recorder.cc",
1046 "base/android/path_service_android.cc",
1047 "base/android/path_utils.cc",
1048 "base/android/radio_utils.cc",
1049 "base/android/reached_addresses_bitset.cc",
1050 "base/android/remove_stale_data.cc",
1051 "base/android/scoped_hardware_buffer_fence_sync.cc",
1052 "base/android/scoped_hardware_buffer_handle.cc",
1053 "base/android/scoped_java_ref.cc",
1054 "base/android/statistics_recorder_android.cc",
1055 "base/android/sys_utils.cc",
1056 "base/android/task_scheduler/post_task_android.cc",
1057 "base/android/task_scheduler/task_runner_android.cc",
1058 "base/android/thread_instruction_count.cc",
1059 "base/android/timezone_utils.cc",
1060 "base/android/trace_event_binding.cc",
1061 "base/android/unguessable_token_android.cc",
1062 "base/at_exit.cc",
1063 "base/barrier_closure.cc",
1064 "base/base64.cc",
1065 "base/base64url.cc",
1066 "base/base_paths.cc",
1067 "base/base_paths_android.cc",
1068 "base/big_endian.cc",
1069 "base/build_time.cc",
1070 "base/callback_list.cc",
1071 "base/check.cc",
1072 "base/check_is_test.cc",
1073 "base/check_op.cc",
1074 "base/command_line.cc",
1075 "base/containers/flat_tree.cc",
1076 "base/containers/intrusive_heap.cc",
1077 "base/containers/linked_list.cc",
1078 "base/cpu.cc",
1079 "base/cpu_reduction_experiment.cc",
1080 "base/debug/activity_analyzer.cc",
1081 "base/debug/activity_tracker.cc",
1082 "base/debug/alias.cc",
1083 "base/debug/asan_invalid_access.cc",
1084 "base/debug/buffered_dwarf_reader.cc",
1085 "base/debug/crash_logging.cc",
1086 "base/debug/debugger.cc",
1087 "base/debug/debugger_posix.cc",
1088 "base/debug/dump_without_crashing.cc",
1089 "base/debug/dwarf_line_no.cc",
1090 "base/debug/elf_reader.cc",
1091 "base/debug/proc_maps_linux.cc",
1092 "base/debug/profiler.cc",
1093 "base/debug/stack_trace.cc",
1094 "base/debug/stack_trace_android.cc",
1095 "base/debug/task_trace.cc",
1096 "base/environment.cc",
1097 "base/feature_list.cc",
1098 "base/features.cc",
1099 "base/file_descriptor_posix.cc",
1100 "base/file_descriptor_store.cc",
1101 "base/files/file.cc",
1102 "base/files/file_descriptor_watcher_posix.cc",
1103 "base/files/file_enumerator.cc",
1104 "base/files/file_enumerator_posix.cc",
1105 "base/files/file_path.cc",
1106 "base/files/file_path_watcher.cc",
1107 "base/files/file_path_watcher_inotify.cc",
1108 "base/files/file_posix.cc",
1109 "base/files/file_proxy.cc",
1110 "base/files/file_tracing.cc",
1111 "base/files/file_util.cc",
1112 "base/files/file_util_android.cc",
1113 "base/files/file_util_posix.cc",
1114 "base/files/important_file_writer.cc",
1115 "base/files/important_file_writer_cleaner.cc",
1116 "base/files/memory_mapped_file.cc",
1117 "base/files/memory_mapped_file_posix.cc",
1118 "base/files/safe_base_name.cc",
1119 "base/files/scoped_file.cc",
1120 "base/files/scoped_file_android.cc",
1121 "base/files/scoped_temp_dir.cc",
1122 "base/functional/callback_helpers.cc",
1123 "base/functional/callback_internal.cc",
1124 "base/guid.cc",
1125 "base/hash/hash.cc",
1126 "base/hash/legacy_hash.cc",
1127 "base/hash/md5_boringssl.cc",
1128 "base/hash/sha1_boringssl.cc",
1129 "base/json/json_file_value_serializer.cc",
1130 "base/json/json_parser.cc",
1131 "base/json/json_reader.cc",
1132 "base/json/json_string_value_serializer.cc",
1133 "base/json/json_value_converter.cc",
1134 "base/json/json_writer.cc",
1135 "base/json/string_escape.cc",
1136 "base/json/values_util.cc",
1137 "base/lazy_instance_helpers.cc",
1138 "base/linux_util.cc",
1139 "base/location.cc",
1140 "base/logging.cc",
1141 "base/memory/aligned_memory.cc",
1142 "base/memory/discardable_memory.cc",
1143 "base/memory/discardable_memory_allocator.cc",
1144 "base/memory/discardable_shared_memory.cc",
1145 "base/memory/madv_free_discardable_memory_allocator_posix.cc",
1146 "base/memory/madv_free_discardable_memory_posix.cc",
1147 "base/memory/memory_pressure_listener.cc",
1148 "base/memory/memory_pressure_monitor.cc",
1149 "base/memory/nonscannable_memory.cc",
1150 "base/memory/page_size_posix.cc",
1151 "base/memory/platform_shared_memory_handle.cc",
1152 "base/memory/platform_shared_memory_mapper_android.cc",
1153 "base/memory/platform_shared_memory_region.cc",
1154 "base/memory/platform_shared_memory_region_android.cc",
1155 "base/memory/raw_ptr.cc",
1156 "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
1157 "base/memory/raw_ptr_asan_service.cc",
1158 "base/memory/read_only_shared_memory_region.cc",
1159 "base/memory/ref_counted.cc",
1160 "base/memory/ref_counted_memory.cc",
1161 "base/memory/shared_memory_mapper.cc",
1162 "base/memory/shared_memory_mapping.cc",
1163 "base/memory/shared_memory_security_policy.cc",
1164 "base/memory/shared_memory_tracker.cc",
1165 "base/memory/unsafe_shared_memory_pool.cc",
1166 "base/memory/unsafe_shared_memory_region.cc",
1167 "base/memory/weak_ptr.cc",
1168 "base/memory/writable_shared_memory_region.cc",
1169 "base/message_loop/message_pump.cc",
1170 "base/message_loop/message_pump_android.cc",
1171 "base/message_loop/message_pump_default.cc",
1172 "base/message_loop/message_pump_epoll.cc",
1173 "base/message_loop/message_pump_libevent.cc",
1174 "base/message_loop/watchable_io_message_pump_posix.cc",
1175 "base/message_loop/work_id_provider.cc",
1176 "base/metrics/bucket_ranges.cc",
1177 "base/metrics/crc32.cc",
1178 "base/metrics/dummy_histogram.cc",
1179 "base/metrics/field_trial.cc",
1180 "base/metrics/field_trial_param_associator.cc",
1181 "base/metrics/field_trial_params.cc",
1182 "base/metrics/histogram.cc",
1183 "base/metrics/histogram_base.cc",
1184 "base/metrics/histogram_delta_serialization.cc",
1185 "base/metrics/histogram_functions.cc",
1186 "base/metrics/histogram_samples.cc",
1187 "base/metrics/histogram_snapshot_manager.cc",
1188 "base/metrics/metrics_hashes.cc",
1189 "base/metrics/persistent_histogram_allocator.cc",
1190 "base/metrics/persistent_histogram_storage.cc",
1191 "base/metrics/persistent_memory_allocator.cc",
1192 "base/metrics/persistent_sample_map.cc",
1193 "base/metrics/ranges_manager.cc",
1194 "base/metrics/sample_map.cc",
1195 "base/metrics/sample_vector.cc",
1196 "base/metrics/single_sample_metrics.cc",
1197 "base/metrics/sparse_histogram.cc",
1198 "base/metrics/statistics_recorder.cc",
1199 "base/metrics/user_metrics.cc",
1200 "base/native_library.cc",
1201 "base/native_library_posix.cc",
1202 "base/observer_list_internal.cc",
1203 "base/observer_list_threadsafe.cc",
1204 "base/observer_list_types.cc",
1205 "base/one_shot_event.cc",
1206 "base/os_compat_android.cc",
1207 "base/path_service.cc",
1208 "base/pending_task.cc",
1209 "base/pickle.cc",
1210 "base/posix/can_lower_nice_to.cc",
1211 "base/posix/file_descriptor_shuffle.cc",
1212 "base/posix/global_descriptors.cc",
1213 "base/posix/safe_strerror.cc",
1214 "base/posix/unix_domain_socket.cc",
1215 "base/power_monitor/battery_level_provider.cc",
1216 "base/power_monitor/battery_state_sampler.cc",
1217 "base/power_monitor/moving_average.cc",
1218 "base/power_monitor/power_monitor.cc",
1219 "base/power_monitor/power_monitor_device_source.cc",
1220 "base/power_monitor/power_monitor_device_source_android.cc",
1221 "base/power_monitor/power_monitor_features.cc",
1222 "base/power_monitor/power_monitor_source.cc",
1223 "base/power_monitor/sampling_event_source.cc",
1224 "base/power_monitor/timer_sampling_event_source.cc",
1225 "base/process/environment_internal.cc",
1226 "base/process/internal_linux.cc",
1227 "base/process/kill.cc",
1228 "base/process/kill_posix.cc",
1229 "base/process/launch.cc",
1230 "base/process/launch_posix.cc",
1231 "base/process/memory.cc",
1232 "base/process/memory_linux.cc",
1233 "base/process/process_android.cc",
1234 "base/process/process_handle.cc",
1235 "base/process/process_handle_linux.cc",
1236 "base/process/process_handle_posix.cc",
1237 "base/process/process_iterator.cc",
1238 "base/process/process_iterator_linux.cc",
1239 "base/process/process_metrics.cc",
1240 "base/process/process_metrics_linux.cc",
1241 "base/process/process_metrics_posix.cc",
1242 "base/process/process_posix.cc",
1243 "base/profiler/arm_cfi_table.cc",
1244 "base/profiler/frame.cc",
1245 "base/profiler/metadata_recorder.cc",
1246 "base/profiler/module_cache.cc",
1247 "base/profiler/module_cache_posix.cc",
1248 "base/profiler/sample_metadata.cc",
1249 "base/profiler/sampling_profiler_thread_token.cc",
1250 "base/profiler/stack_base_address_posix.cc",
1251 "base/profiler/stack_buffer.cc",
1252 "base/profiler/stack_copier.cc",
1253 "base/profiler/stack_copier_signal.cc",
1254 "base/profiler/stack_copier_suspend.cc",
1255 "base/profiler/stack_sampler.cc",
1256 "base/profiler/stack_sampler_android.cc",
1257 "base/profiler/stack_sampler_impl.cc",
1258 "base/profiler/stack_sampling_profiler.cc",
1259 "base/profiler/thread_delegate_posix.cc",
1260 "base/profiler/unwinder.cc",
1261 "base/rand_util.cc",
1262 "base/rand_util_posix.cc",
1263 "base/run_loop.cc",
1264 "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
1265 "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
1266 "base/sampling_heap_profiler/sampling_heap_profiler.cc",
1267 "base/scoped_add_feature_flags.cc",
1268 "base/scoped_environment_variable_override.cc",
1269 "base/scoped_native_library.cc",
1270 "base/sequence_checker.cc",
1271 "base/sequence_checker_impl.cc",
1272 "base/sequence_token.cc",
1273 "base/strings/abseil_string_conversions.cc",
1274 "base/strings/abseil_string_number_conversions.cc",
1275 "base/strings/escape.cc",
1276 "base/strings/latin1_string_conversions.cc",
1277 "base/strings/pattern.cc",
1278 "base/strings/safe_sprintf.cc",
1279 "base/strings/strcat.cc",
1280 "base/strings/string_number_conversions.cc",
1281 "base/strings/string_piece.cc",
1282 "base/strings/string_split.cc",
1283 "base/strings/string_util.cc",
1284 "base/strings/string_util_constants.cc",
1285 "base/strings/stringprintf.cc",
1286 "base/strings/sys_string_conversions_posix.cc",
1287 "base/strings/utf_offset_string_conversions.cc",
1288 "base/strings/utf_string_conversion_utils.cc",
1289 "base/strings/utf_string_conversions.cc",
1290 "base/substring_set_matcher/matcher_string_pattern.cc",
1291 "base/substring_set_matcher/substring_set_matcher.cc",
1292 "base/supports_user_data.cc",
1293 "base/sync_socket.cc",
1294 "base/sync_socket_posix.cc",
1295 "base/synchronization/atomic_flag.cc",
1296 "base/synchronization/condition_variable_posix.cc",
1297 "base/synchronization/lock.cc",
1298 "base/synchronization/lock_impl_posix.cc",
1299 "base/synchronization/waitable_event_posix.cc",
1300 "base/synchronization/waitable_event_watcher_posix.cc",
1301 "base/syslog_logging.cc",
1302 "base/system/sys_info.cc",
1303 "base/system/sys_info_android.cc",
1304 "base/system/sys_info_linux.cc",
1305 "base/system/sys_info_posix.cc",
1306 "base/system/system_monitor.cc",
1307 "base/task/cancelable_task_tracker.cc",
1308 "base/task/common/checked_lock_impl.cc",
1309 "base/task/common/lazy_now.cc",
1310 "base/task/common/operations_controller.cc",
1311 "base/task/common/scoped_defer_task_posting.cc",
1312 "base/task/common/task_annotator.cc",
1313 "base/task/current_thread.cc",
1314 "base/task/default_delayed_task_handle_delegate.cc",
1315 "base/task/deferred_sequenced_task_runner.cc",
1316 "base/task/delayed_task_handle.cc",
1317 "base/task/lazy_thread_pool_task_runner.cc",
1318 "base/task/post_job.cc",
1319 "base/task/scoped_set_task_priority_for_current_thread.cc",
1320 "base/task/sequence_manager/associated_thread_id.cc",
1321 "base/task/sequence_manager/atomic_flag_set.cc",
1322 "base/task/sequence_manager/delayed_task_handle_delegate.cc",
1323 "base/task/sequence_manager/enqueue_order_generator.cc",
1324 "base/task/sequence_manager/fence.cc",
1325 "base/task/sequence_manager/hierarchical_timing_wheel.cc",
1326 "base/task/sequence_manager/sequence_manager.cc",
1327 "base/task/sequence_manager/sequence_manager_impl.cc",
1328 "base/task/sequence_manager/sequenced_task_source.cc",
1329 "base/task/sequence_manager/task_order.cc",
1330 "base/task/sequence_manager/task_queue.cc",
1331 "base/task/sequence_manager/task_queue_impl.cc",
1332 "base/task/sequence_manager/task_queue_selector.cc",
1333 "base/task/sequence_manager/tasks.cc",
1334 "base/task/sequence_manager/thread_controller.cc",
1335 "base/task/sequence_manager/thread_controller_impl.cc",
1336 "base/task/sequence_manager/thread_controller_power_monitor.cc",
1337 "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
1338 "base/task/sequence_manager/time_domain.cc",
1339 "base/task/sequence_manager/timing_wheel.cc",
1340 "base/task/sequence_manager/wake_up_queue.cc",
1341 "base/task/sequence_manager/work_deduplicator.cc",
1342 "base/task/sequence_manager/work_queue.cc",
1343 "base/task/sequence_manager/work_queue_sets.cc",
1344 "base/task/sequenced_task_runner.cc",
1345 "base/task/simple_task_executor.cc",
1346 "base/task/single_thread_task_executor.cc",
1347 "base/task/single_thread_task_runner.cc",
1348 "base/task/task_executor.cc",
1349 "base/task/task_features.cc",
1350 "base/task/task_runner.cc",
1351 "base/task/task_traits.cc",
1352 "base/task/thread_pool.cc",
1353 "base/task/thread_pool/delayed_priority_queue.cc",
1354 "base/task/thread_pool/delayed_task_manager.cc",
1355 "base/task/thread_pool/environment_config.cc",
1356 "base/task/thread_pool/initialization_util.cc",
1357 "base/task/thread_pool/job_task_source.cc",
1358 "base/task/thread_pool/pooled_parallel_task_runner.cc",
1359 "base/task/thread_pool/pooled_sequenced_task_runner.cc",
1360 "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
1361 "base/task/thread_pool/pooled_task_runner_delegate.cc",
1362 "base/task/thread_pool/priority_queue.cc",
1363 "base/task/thread_pool/sequence.cc",
1364 "base/task/thread_pool/service_thread.cc",
1365 "base/task/thread_pool/task.cc",
1366 "base/task/thread_pool/task_source.cc",
1367 "base/task/thread_pool/task_source_sort_key.cc",
1368 "base/task/thread_pool/task_tracker.cc",
1369 "base/task/thread_pool/thread_group.cc",
1370 "base/task/thread_pool/thread_group_impl.cc",
1371 "base/task/thread_pool/thread_group_native.cc",
1372 "base/task/thread_pool/thread_pool_impl.cc",
1373 "base/task/thread_pool/thread_pool_instance.cc",
1374 "base/task/thread_pool/worker_thread.cc",
1375 "base/task/thread_pool/worker_thread_stack.cc",
1376 "base/third_party/cityhash/city.cc",
1377 "base/third_party/cityhash_v103/src/city_v103.cc",
1378 "base/third_party/nspr/prtime.cc",
1379 "base/third_party/superfasthash/superfasthash.c",
1380 "base/threading/hang_watcher.cc",
1381 "base/threading/platform_thread.cc",
1382 "base/threading/platform_thread_android.cc",
1383 "base/threading/platform_thread_internal_posix.cc",
1384 "base/threading/platform_thread_posix.cc",
1385 "base/threading/platform_thread_ref.cc",
1386 "base/threading/post_task_and_reply_impl.cc",
1387 "base/threading/scoped_blocking_call.cc",
1388 "base/threading/scoped_blocking_call_internal.cc",
1389 "base/threading/scoped_thread_priority.cc",
1390 "base/threading/sequence_local_storage_map.cc",
1391 "base/threading/sequence_local_storage_slot.cc",
1392 "base/threading/sequenced_task_runner_handle.cc",
1393 "base/threading/simple_thread.cc",
1394 "base/threading/thread.cc",
1395 "base/threading/thread_checker.cc",
1396 "base/threading/thread_checker_impl.cc",
1397 "base/threading/thread_collision_warner.cc",
1398 "base/threading/thread_id_name_manager.cc",
1399 "base/threading/thread_local_storage.cc",
1400 "base/threading/thread_local_storage_posix.cc",
1401 "base/threading/thread_restrictions.cc",
1402 "base/threading/thread_task_runner_handle.cc",
1403 "base/threading/watchdog.cc",
1404 "base/time/clock.cc",
1405 "base/time/default_clock.cc",
1406 "base/time/default_tick_clock.cc",
1407 "base/time/tick_clock.cc",
1408 "base/time/time.cc",
1409 "base/time/time_android.cc",
1410 "base/time/time_conversion_posix.cc",
1411 "base/time/time_delta_from_string.cc",
1412 "base/time/time_exploded_icu.cc",
1413 "base/time/time_exploded_posix.cc",
1414 "base/time/time_now_posix.cc",
1415 "base/time/time_override.cc",
1416 "base/time/time_to_iso8601.cc",
1417 "base/timer/elapsed_timer.cc",
1418 "base/timer/hi_res_timer_manager_posix.cc",
1419 "base/timer/lap_timer.cc",
1420 "base/timer/timer.cc",
1421 "base/timer/wall_clock_timer.cc",
1422 "base/token.cc",
1423 "base/trace_event/heap_profiler_allocation_context.cc",
1424 "base/trace_event/heap_profiler_allocation_context_tracker.cc",
1425 "base/trace_event/memory_allocator_dump_guid.cc",
1426 "base/trace_event/trace_event_stub.cc",
1427 "base/trace_event/trace_id_helper.cc",
1428 "base/unguessable_token.cc",
1429 "base/value_iterators.cc",
1430 "base/values.cc",
1431 "base/version.cc",
1432 "base/vlog.cc",
1433 ],
1434 shared_libs: [
1435 "libandroid",
1436 "liblog",
1437 ],
1438 static_libs: [
1439 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
1440 "cronet_aml_base_base_static",
1441 "cronet_aml_base_third_party_double_conversion_double_conversion",
1442 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
1443 "cronet_aml_third_party_boringssl_boringssl",
1444 "cronet_aml_third_party_icu_icui18n",
1445 "cronet_aml_third_party_icu_icuuc_private",
1446 "cronet_aml_third_party_libevent_libevent",
1447 "cronet_aml_third_party_modp_b64_modp_b64",
1448 ],
1449 generated_headers: [
1450 "cronet_aml_base_allocator_buildflags",
1451 "cronet_aml_base_anchor_functions_buildflags",
1452 "cronet_aml_base_android_runtime_jni_headers",
1453 "cronet_aml_base_base_jni_headers",
1454 "cronet_aml_base_build_date",
1455 "cronet_aml_base_cfi_buildflags",
1456 "cronet_aml_base_clang_profiling_buildflags",
1457 "cronet_aml_base_debugging_buildflags",
1458 "cronet_aml_base_feature_list_buildflags",
1459 "cronet_aml_base_ios_cronet_buildflags",
1460 "cronet_aml_base_logging_buildflags",
1461 "cronet_aml_base_message_pump_buildflags",
1462 "cronet_aml_base_orderfile_buildflags",
1463 "cronet_aml_base_parsing_buildflags",
1464 "cronet_aml_base_power_monitor_buildflags",
1465 "cronet_aml_base_profiler_buildflags",
1466 "cronet_aml_base_sanitizer_buildflags",
1467 "cronet_aml_base_synchronization_buildflags",
1468 "cronet_aml_base_tracing_buildflags",
1469 "cronet_aml_build_branding_buildflags",
1470 "cronet_aml_build_chromecast_buildflags",
1471 "cronet_aml_build_chromeos_buildflags",
1472 "cronet_aml_build_config_compiler_compiler_buildflags",
1473 ],
1474 export_generated_headers: [
1475 "cronet_aml_base_allocator_buildflags",
1476 "cronet_aml_base_anchor_functions_buildflags",
1477 "cronet_aml_base_android_runtime_jni_headers",
1478 "cronet_aml_base_base_jni_headers",
1479 "cronet_aml_base_build_date",
1480 "cronet_aml_base_cfi_buildflags",
1481 "cronet_aml_base_clang_profiling_buildflags",
1482 "cronet_aml_base_debugging_buildflags",
1483 "cronet_aml_base_feature_list_buildflags",
1484 "cronet_aml_base_ios_cronet_buildflags",
1485 "cronet_aml_base_logging_buildflags",
1486 "cronet_aml_base_message_pump_buildflags",
1487 "cronet_aml_base_orderfile_buildflags",
1488 "cronet_aml_base_parsing_buildflags",
1489 "cronet_aml_base_power_monitor_buildflags",
1490 "cronet_aml_base_profiler_buildflags",
1491 "cronet_aml_base_sanitizer_buildflags",
1492 "cronet_aml_base_synchronization_buildflags",
1493 "cronet_aml_base_tracing_buildflags",
1494 "cronet_aml_build_branding_buildflags",
1495 "cronet_aml_build_chromecast_buildflags",
1496 "cronet_aml_build_chromeos_buildflags",
1497 "cronet_aml_build_config_compiler_compiler_buildflags",
1498 ],
1499 export_header_lib_headers: [
1500 "libgtest_prod_headers",
1501 ],
1502 defaults: [
1503 "cronet_aml_defaults",
1504 ],
1505 cflags: [
1506 "-DANDROID",
1507 "-DANDROID_NDK_VERSION_ROLL=r23_1",
1508 "-DBASE_IMPLEMENTATION",
1509 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
1510 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
1511 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1512 "-DHAVE_SYS_UIO_H",
1513 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
1514 "-DNDEBUG",
1515 "-DNO_UNWIND_TABLES",
1516 "-DNVALGRIND",
1517 "-DOFFICIAL_BUILD",
1518 "-DUSE_CHROMIUM_ICU=1",
1519 "-DU_ENABLE_DYLOAD=0",
1520 "-DU_ENABLE_RESOURCE_TRACING=0",
1521 "-DU_ENABLE_TRACING=1",
1522 "-DU_STATIC_IMPLEMENTATION",
1523 "-DU_USING_ICU_NAMESPACE=0",
1524 "-D_FORTIFY_SOURCE=2",
1525 "-D_GNU_SOURCE",
1526 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1527 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1528 "-D__STDC_CONSTANT_MACROS",
1529 "-D__STDC_FORMAT_MACROS",
1530 "-O2",
1531 "-fdata-sections",
1532 "-ffunction-sections",
1533 "-fno-asynchronous-unwind-tables",
1534 "-fno-unwind-tables",
1535 "-fvisibility-inlines-hidden",
1536 "-fvisibility=hidden",
1537 "-g1",
1538 ],
1539 local_include_dirs: [
1540 "./",
1541 "buildtools/third_party/libc++/",
1542 "buildtools/third_party/libc++/trunk/include",
1543 "buildtools/third_party/libc++abi/trunk/include",
1544 "third_party/abseil-cpp/",
1545 "third_party/android_ndk/sources/android/cpufeatures/",
1546 "third_party/boringssl/src/include/",
1547 "third_party/icu/source/common/",
1548 "third_party/icu/source/i18n/",
1549 ],
1550 header_libs: [
1551 "libgtest_prod_headers",
1552 ],
1553 cpp_std: "c++17",
1554 ldflags: [
1555 "-Wl,--as-needed",
1556 "-Wl,--gc-sections",
1557 "-Wl,--icf=all",
1558 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
1559 "-Wl,-wrap,asprintf",
1560 "-Wl,-wrap,calloc",
1561 "-Wl,-wrap,free",
1562 "-Wl,-wrap,getcwd",
1563 "-Wl,-wrap,malloc",
1564 "-Wl,-wrap,malloc_usable_size",
1565 "-Wl,-wrap,memalign",
1566 "-Wl,-wrap,posix_memalign",
1567 "-Wl,-wrap,pvalloc",
1568 "-Wl,-wrap,realloc",
1569 "-Wl,-wrap,realpath",
1570 "-Wl,-wrap,strdup",
1571 "-Wl,-wrap,strndup",
1572 "-Wl,-wrap,valloc",
1573 "-Wl,-wrap,vasprintf",
1574 ],
1575 target: {
1576 android_arm: {
1577 srcs: [
1578 "base/android/reached_code_profiler.cc",
1579 "base/profiler/chrome_unwind_info_android.cc",
1580 "base/profiler/chrome_unwinder_android.cc",
1581 "base/profiler/chrome_unwinder_android_v2.cc",
1582 "base/trace_event/cfi_backtrace_android.cc",
1583 ],
1584 cflags: [
1585 "-fstack-protector",
1586 ],
1587 },
1588 android_arm64: {
1589 srcs: [
1590 "base/android/reached_code_profiler.cc",
1591 ],
1592 cflags: [
1593 "-fstack-protector",
1594 "-mno-outline",
1595 "-mno-outline-atomics",
1596 ],
1597 },
1598 android_x86: {
1599 srcs: [
1600 "base/android/reached_code_profiler_stub.cc",
1601 ],
1602 cflags: [
1603 "-msse3",
1604 ],
1605 },
1606 android_x86_64: {
1607 srcs: [
1608 "base/android/reached_code_profiler_stub.cc",
1609 ],
1610 cflags: [
1611 "-fstack-protector",
1612 "-msse3",
1613 ],
1614 },
1615 },
1616}
1617
1618// GN: //base:base__testing
1619cc_library_static {
1620 name: "cronet_aml_base_base__testing",
1621 srcs: [
1622 ":cronet_aml_base_nodebug_assertion__testing",
1623 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
1624 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
1625 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
1626 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
1627 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
1628 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
1629 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
1630 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
1631 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
1632 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
1633 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
1634 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
1635 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
1636 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
1637 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
1638 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
1639 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
1640 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
1641 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
1642 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
1643 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
1644 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
1645 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
1646 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
1647 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
1648 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
1649 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
1650 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
1651 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
1652 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
1653 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
1654 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
1655 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
1656 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
1657 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
1658 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
1659 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
1660 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
1661 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
1662 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
1663 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
1664 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
1665 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
1666 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
1667 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
1668 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
1669 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001670 "base/allocator/allocator_check.cc",
1671 "base/allocator/allocator_extension.cc",
1672 "base/allocator/dispatcher/dispatcher.cc",
1673 "base/allocator/dispatcher/internal/dispatch_data.cc",
1674 "base/allocator/dispatcher/reentry_guard.cc",
1675 "base/allocator/partition_allocator/shim/allocator_shim.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001676 "base/at_exit.cc",
1677 "base/barrier_closure.cc",
1678 "base/base64.cc",
1679 "base/base64url.cc",
1680 "base/base_paths.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001681 "base/big_endian.cc",
1682 "base/build_time.cc",
1683 "base/callback_list.cc",
1684 "base/check.cc",
1685 "base/check_is_test.cc",
1686 "base/check_op.cc",
1687 "base/command_line.cc",
1688 "base/containers/flat_tree.cc",
1689 "base/containers/intrusive_heap.cc",
1690 "base/containers/linked_list.cc",
1691 "base/cpu.cc",
1692 "base/cpu_reduction_experiment.cc",
1693 "base/debug/activity_analyzer.cc",
1694 "base/debug/activity_tracker.cc",
1695 "base/debug/alias.cc",
1696 "base/debug/asan_invalid_access.cc",
1697 "base/debug/buffered_dwarf_reader.cc",
1698 "base/debug/crash_logging.cc",
1699 "base/debug/debugger.cc",
1700 "base/debug/debugger_posix.cc",
1701 "base/debug/dump_without_crashing.cc",
1702 "base/debug/dwarf_line_no.cc",
1703 "base/debug/elf_reader.cc",
1704 "base/debug/proc_maps_linux.cc",
1705 "base/debug/profiler.cc",
1706 "base/debug/stack_trace.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001707 "base/debug/task_trace.cc",
1708 "base/environment.cc",
1709 "base/feature_list.cc",
1710 "base/features.cc",
1711 "base/file_descriptor_posix.cc",
1712 "base/file_descriptor_store.cc",
1713 "base/files/file.cc",
1714 "base/files/file_descriptor_watcher_posix.cc",
1715 "base/files/file_enumerator.cc",
1716 "base/files/file_enumerator_posix.cc",
1717 "base/files/file_path.cc",
1718 "base/files/file_path_watcher.cc",
1719 "base/files/file_path_watcher_inotify.cc",
1720 "base/files/file_posix.cc",
1721 "base/files/file_proxy.cc",
1722 "base/files/file_tracing.cc",
1723 "base/files/file_util.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001724 "base/files/file_util_posix.cc",
1725 "base/files/important_file_writer.cc",
1726 "base/files/important_file_writer_cleaner.cc",
1727 "base/files/memory_mapped_file.cc",
1728 "base/files/memory_mapped_file_posix.cc",
1729 "base/files/safe_base_name.cc",
1730 "base/files/scoped_file.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001731 "base/files/scoped_temp_dir.cc",
1732 "base/functional/callback_helpers.cc",
1733 "base/functional/callback_internal.cc",
1734 "base/guid.cc",
1735 "base/hash/hash.cc",
1736 "base/hash/legacy_hash.cc",
1737 "base/hash/md5_boringssl.cc",
1738 "base/hash/sha1_boringssl.cc",
1739 "base/json/json_file_value_serializer.cc",
1740 "base/json/json_parser.cc",
1741 "base/json/json_reader.cc",
1742 "base/json/json_string_value_serializer.cc",
1743 "base/json/json_value_converter.cc",
1744 "base/json/json_writer.cc",
1745 "base/json/string_escape.cc",
1746 "base/json/values_util.cc",
1747 "base/lazy_instance_helpers.cc",
1748 "base/linux_util.cc",
1749 "base/location.cc",
1750 "base/logging.cc",
1751 "base/memory/aligned_memory.cc",
1752 "base/memory/discardable_memory.cc",
1753 "base/memory/discardable_memory_allocator.cc",
1754 "base/memory/discardable_shared_memory.cc",
1755 "base/memory/madv_free_discardable_memory_allocator_posix.cc",
1756 "base/memory/madv_free_discardable_memory_posix.cc",
1757 "base/memory/memory_pressure_listener.cc",
1758 "base/memory/memory_pressure_monitor.cc",
1759 "base/memory/nonscannable_memory.cc",
1760 "base/memory/page_size_posix.cc",
1761 "base/memory/platform_shared_memory_handle.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001762 "base/memory/platform_shared_memory_region.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001763 "base/memory/raw_ptr.cc",
1764 "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
1765 "base/memory/raw_ptr_asan_service.cc",
1766 "base/memory/read_only_shared_memory_region.cc",
1767 "base/memory/ref_counted.cc",
1768 "base/memory/ref_counted_memory.cc",
1769 "base/memory/shared_memory_mapper.cc",
1770 "base/memory/shared_memory_mapping.cc",
1771 "base/memory/shared_memory_security_policy.cc",
1772 "base/memory/shared_memory_tracker.cc",
1773 "base/memory/unsafe_shared_memory_pool.cc",
1774 "base/memory/unsafe_shared_memory_region.cc",
1775 "base/memory/weak_ptr.cc",
1776 "base/memory/writable_shared_memory_region.cc",
1777 "base/message_loop/message_pump.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001778 "base/message_loop/message_pump_default.cc",
1779 "base/message_loop/message_pump_epoll.cc",
1780 "base/message_loop/message_pump_libevent.cc",
1781 "base/message_loop/watchable_io_message_pump_posix.cc",
1782 "base/message_loop/work_id_provider.cc",
1783 "base/metrics/bucket_ranges.cc",
1784 "base/metrics/crc32.cc",
1785 "base/metrics/dummy_histogram.cc",
1786 "base/metrics/field_trial.cc",
1787 "base/metrics/field_trial_param_associator.cc",
1788 "base/metrics/field_trial_params.cc",
1789 "base/metrics/histogram.cc",
1790 "base/metrics/histogram_base.cc",
1791 "base/metrics/histogram_delta_serialization.cc",
1792 "base/metrics/histogram_functions.cc",
1793 "base/metrics/histogram_samples.cc",
1794 "base/metrics/histogram_snapshot_manager.cc",
1795 "base/metrics/metrics_hashes.cc",
1796 "base/metrics/persistent_histogram_allocator.cc",
1797 "base/metrics/persistent_histogram_storage.cc",
1798 "base/metrics/persistent_memory_allocator.cc",
1799 "base/metrics/persistent_sample_map.cc",
1800 "base/metrics/ranges_manager.cc",
1801 "base/metrics/sample_map.cc",
1802 "base/metrics/sample_vector.cc",
1803 "base/metrics/single_sample_metrics.cc",
1804 "base/metrics/sparse_histogram.cc",
1805 "base/metrics/statistics_recorder.cc",
1806 "base/metrics/user_metrics.cc",
1807 "base/native_library.cc",
1808 "base/native_library_posix.cc",
1809 "base/observer_list_internal.cc",
1810 "base/observer_list_threadsafe.cc",
1811 "base/observer_list_types.cc",
1812 "base/one_shot_event.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001813 "base/path_service.cc",
1814 "base/pending_task.cc",
1815 "base/pickle.cc",
1816 "base/posix/can_lower_nice_to.cc",
1817 "base/posix/file_descriptor_shuffle.cc",
1818 "base/posix/global_descriptors.cc",
1819 "base/posix/safe_strerror.cc",
1820 "base/posix/unix_domain_socket.cc",
1821 "base/power_monitor/battery_level_provider.cc",
1822 "base/power_monitor/battery_state_sampler.cc",
1823 "base/power_monitor/moving_average.cc",
1824 "base/power_monitor/power_monitor.cc",
1825 "base/power_monitor/power_monitor_device_source.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001826 "base/power_monitor/power_monitor_features.cc",
1827 "base/power_monitor/power_monitor_source.cc",
1828 "base/power_monitor/sampling_event_source.cc",
1829 "base/power_monitor/timer_sampling_event_source.cc",
1830 "base/process/environment_internal.cc",
1831 "base/process/internal_linux.cc",
1832 "base/process/kill.cc",
1833 "base/process/kill_posix.cc",
1834 "base/process/launch.cc",
1835 "base/process/launch_posix.cc",
1836 "base/process/memory.cc",
1837 "base/process/memory_linux.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001838 "base/process/process_handle.cc",
1839 "base/process/process_handle_linux.cc",
1840 "base/process/process_handle_posix.cc",
1841 "base/process/process_iterator.cc",
1842 "base/process/process_iterator_linux.cc",
1843 "base/process/process_metrics.cc",
1844 "base/process/process_metrics_linux.cc",
1845 "base/process/process_metrics_posix.cc",
1846 "base/process/process_posix.cc",
1847 "base/profiler/arm_cfi_table.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001848 "base/profiler/frame.cc",
1849 "base/profiler/metadata_recorder.cc",
1850 "base/profiler/module_cache.cc",
1851 "base/profiler/module_cache_posix.cc",
1852 "base/profiler/sample_metadata.cc",
1853 "base/profiler/sampling_profiler_thread_token.cc",
1854 "base/profiler/stack_base_address_posix.cc",
1855 "base/profiler/stack_buffer.cc",
1856 "base/profiler/stack_copier.cc",
1857 "base/profiler/stack_copier_signal.cc",
1858 "base/profiler/stack_copier_suspend.cc",
1859 "base/profiler/stack_sampler.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001860 "base/profiler/stack_sampler_impl.cc",
1861 "base/profiler/stack_sampling_profiler.cc",
1862 "base/profiler/thread_delegate_posix.cc",
1863 "base/profiler/unwinder.cc",
1864 "base/rand_util.cc",
1865 "base/rand_util_posix.cc",
1866 "base/run_loop.cc",
1867 "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
1868 "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
1869 "base/sampling_heap_profiler/sampling_heap_profiler.cc",
1870 "base/scoped_add_feature_flags.cc",
1871 "base/scoped_environment_variable_override.cc",
1872 "base/scoped_native_library.cc",
1873 "base/sequence_checker.cc",
1874 "base/sequence_checker_impl.cc",
1875 "base/sequence_token.cc",
1876 "base/strings/abseil_string_conversions.cc",
1877 "base/strings/abseil_string_number_conversions.cc",
1878 "base/strings/escape.cc",
1879 "base/strings/latin1_string_conversions.cc",
1880 "base/strings/pattern.cc",
1881 "base/strings/safe_sprintf.cc",
1882 "base/strings/strcat.cc",
1883 "base/strings/string_number_conversions.cc",
1884 "base/strings/string_piece.cc",
1885 "base/strings/string_split.cc",
1886 "base/strings/string_util.cc",
1887 "base/strings/string_util_constants.cc",
1888 "base/strings/stringprintf.cc",
1889 "base/strings/sys_string_conversions_posix.cc",
1890 "base/strings/utf_offset_string_conversions.cc",
1891 "base/strings/utf_string_conversion_utils.cc",
1892 "base/strings/utf_string_conversions.cc",
1893 "base/substring_set_matcher/matcher_string_pattern.cc",
1894 "base/substring_set_matcher/substring_set_matcher.cc",
1895 "base/supports_user_data.cc",
1896 "base/sync_socket.cc",
1897 "base/sync_socket_posix.cc",
1898 "base/synchronization/atomic_flag.cc",
1899 "base/synchronization/condition_variable_posix.cc",
1900 "base/synchronization/lock.cc",
1901 "base/synchronization/lock_impl_posix.cc",
1902 "base/synchronization/waitable_event_posix.cc",
1903 "base/synchronization/waitable_event_watcher_posix.cc",
1904 "base/syslog_logging.cc",
1905 "base/system/sys_info.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001906 "base/system/sys_info_linux.cc",
1907 "base/system/sys_info_posix.cc",
1908 "base/system/system_monitor.cc",
1909 "base/task/cancelable_task_tracker.cc",
1910 "base/task/common/checked_lock_impl.cc",
1911 "base/task/common/lazy_now.cc",
1912 "base/task/common/operations_controller.cc",
1913 "base/task/common/scoped_defer_task_posting.cc",
1914 "base/task/common/task_annotator.cc",
1915 "base/task/current_thread.cc",
1916 "base/task/default_delayed_task_handle_delegate.cc",
1917 "base/task/deferred_sequenced_task_runner.cc",
1918 "base/task/delayed_task_handle.cc",
1919 "base/task/lazy_thread_pool_task_runner.cc",
1920 "base/task/post_job.cc",
1921 "base/task/scoped_set_task_priority_for_current_thread.cc",
1922 "base/task/sequence_manager/associated_thread_id.cc",
1923 "base/task/sequence_manager/atomic_flag_set.cc",
1924 "base/task/sequence_manager/delayed_task_handle_delegate.cc",
1925 "base/task/sequence_manager/enqueue_order_generator.cc",
1926 "base/task/sequence_manager/fence.cc",
1927 "base/task/sequence_manager/hierarchical_timing_wheel.cc",
1928 "base/task/sequence_manager/sequence_manager.cc",
1929 "base/task/sequence_manager/sequence_manager_impl.cc",
1930 "base/task/sequence_manager/sequenced_task_source.cc",
1931 "base/task/sequence_manager/task_order.cc",
1932 "base/task/sequence_manager/task_queue.cc",
1933 "base/task/sequence_manager/task_queue_impl.cc",
1934 "base/task/sequence_manager/task_queue_selector.cc",
1935 "base/task/sequence_manager/tasks.cc",
1936 "base/task/sequence_manager/thread_controller.cc",
1937 "base/task/sequence_manager/thread_controller_impl.cc",
1938 "base/task/sequence_manager/thread_controller_power_monitor.cc",
1939 "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
1940 "base/task/sequence_manager/time_domain.cc",
1941 "base/task/sequence_manager/timing_wheel.cc",
1942 "base/task/sequence_manager/wake_up_queue.cc",
1943 "base/task/sequence_manager/work_deduplicator.cc",
1944 "base/task/sequence_manager/work_queue.cc",
1945 "base/task/sequence_manager/work_queue_sets.cc",
1946 "base/task/sequenced_task_runner.cc",
1947 "base/task/simple_task_executor.cc",
1948 "base/task/single_thread_task_executor.cc",
1949 "base/task/single_thread_task_runner.cc",
1950 "base/task/task_executor.cc",
1951 "base/task/task_features.cc",
1952 "base/task/task_runner.cc",
1953 "base/task/task_traits.cc",
1954 "base/task/thread_pool.cc",
1955 "base/task/thread_pool/delayed_priority_queue.cc",
1956 "base/task/thread_pool/delayed_task_manager.cc",
1957 "base/task/thread_pool/environment_config.cc",
1958 "base/task/thread_pool/initialization_util.cc",
1959 "base/task/thread_pool/job_task_source.cc",
1960 "base/task/thread_pool/pooled_parallel_task_runner.cc",
1961 "base/task/thread_pool/pooled_sequenced_task_runner.cc",
1962 "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
1963 "base/task/thread_pool/pooled_task_runner_delegate.cc",
1964 "base/task/thread_pool/priority_queue.cc",
1965 "base/task/thread_pool/sequence.cc",
1966 "base/task/thread_pool/service_thread.cc",
1967 "base/task/thread_pool/task.cc",
1968 "base/task/thread_pool/task_source.cc",
1969 "base/task/thread_pool/task_source_sort_key.cc",
1970 "base/task/thread_pool/task_tracker.cc",
1971 "base/task/thread_pool/thread_group.cc",
1972 "base/task/thread_pool/thread_group_impl.cc",
1973 "base/task/thread_pool/thread_group_native.cc",
1974 "base/task/thread_pool/thread_pool_impl.cc",
1975 "base/task/thread_pool/thread_pool_instance.cc",
1976 "base/task/thread_pool/worker_thread.cc",
1977 "base/task/thread_pool/worker_thread_stack.cc",
1978 "base/third_party/cityhash/city.cc",
1979 "base/third_party/cityhash_v103/src/city_v103.cc",
1980 "base/third_party/nspr/prtime.cc",
1981 "base/third_party/superfasthash/superfasthash.c",
1982 "base/threading/hang_watcher.cc",
1983 "base/threading/platform_thread.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001984 "base/threading/platform_thread_internal_posix.cc",
1985 "base/threading/platform_thread_posix.cc",
1986 "base/threading/platform_thread_ref.cc",
1987 "base/threading/post_task_and_reply_impl.cc",
1988 "base/threading/scoped_blocking_call.cc",
1989 "base/threading/scoped_blocking_call_internal.cc",
1990 "base/threading/scoped_thread_priority.cc",
1991 "base/threading/sequence_local_storage_map.cc",
1992 "base/threading/sequence_local_storage_slot.cc",
1993 "base/threading/sequenced_task_runner_handle.cc",
1994 "base/threading/simple_thread.cc",
1995 "base/threading/thread.cc",
1996 "base/threading/thread_checker.cc",
1997 "base/threading/thread_checker_impl.cc",
1998 "base/threading/thread_collision_warner.cc",
1999 "base/threading/thread_id_name_manager.cc",
2000 "base/threading/thread_local_storage.cc",
2001 "base/threading/thread_local_storage_posix.cc",
2002 "base/threading/thread_restrictions.cc",
2003 "base/threading/thread_task_runner_handle.cc",
2004 "base/threading/watchdog.cc",
2005 "base/time/clock.cc",
2006 "base/time/default_clock.cc",
2007 "base/time/default_tick_clock.cc",
2008 "base/time/tick_clock.cc",
2009 "base/time/time.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002010 "base/time/time_conversion_posix.cc",
2011 "base/time/time_delta_from_string.cc",
2012 "base/time/time_exploded_icu.cc",
2013 "base/time/time_exploded_posix.cc",
2014 "base/time/time_now_posix.cc",
2015 "base/time/time_override.cc",
2016 "base/time/time_to_iso8601.cc",
2017 "base/timer/elapsed_timer.cc",
2018 "base/timer/hi_res_timer_manager_posix.cc",
2019 "base/timer/lap_timer.cc",
2020 "base/timer/timer.cc",
2021 "base/timer/wall_clock_timer.cc",
2022 "base/token.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002023 "base/trace_event/heap_profiler_allocation_context.cc",
2024 "base/trace_event/heap_profiler_allocation_context_tracker.cc",
2025 "base/trace_event/memory_allocator_dump_guid.cc",
2026 "base/trace_event/trace_event_stub.cc",
2027 "base/trace_event/trace_id_helper.cc",
2028 "base/unguessable_token.cc",
2029 "base/value_iterators.cc",
2030 "base/values.cc",
2031 "base/version.cc",
2032 "base/vlog.cc",
2033 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07002034 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002035 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
2036 "cronet_aml_base_base_static__testing",
2037 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
2038 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
2039 "cronet_aml_third_party_boringssl_boringssl__testing",
2040 "cronet_aml_third_party_icu_icui18n__testing",
2041 "cronet_aml_third_party_icu_icuuc_private__testing",
2042 "cronet_aml_third_party_libevent_libevent__testing",
2043 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002044 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002045 host_supported: true,
Motomu Utsumie74bab82022-12-16 18:00:12 +09002046 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002047 "cronet_aml_base_allocator_buildflags__testing",
2048 "cronet_aml_base_anchor_functions_buildflags__testing",
2049 "cronet_aml_base_build_date__testing",
2050 "cronet_aml_base_cfi_buildflags__testing",
2051 "cronet_aml_base_clang_profiling_buildflags__testing",
2052 "cronet_aml_base_debugging_buildflags__testing",
2053 "cronet_aml_base_feature_list_buildflags__testing",
2054 "cronet_aml_base_ios_cronet_buildflags__testing",
2055 "cronet_aml_base_logging_buildflags__testing",
2056 "cronet_aml_base_message_pump_buildflags__testing",
2057 "cronet_aml_base_orderfile_buildflags__testing",
2058 "cronet_aml_base_parsing_buildflags__testing",
2059 "cronet_aml_base_power_monitor_buildflags__testing",
2060 "cronet_aml_base_profiler_buildflags__testing",
2061 "cronet_aml_base_sanitizer_buildflags__testing",
2062 "cronet_aml_base_synchronization_buildflags__testing",
2063 "cronet_aml_base_tracing_buildflags__testing",
2064 "cronet_aml_build_branding_buildflags__testing",
2065 "cronet_aml_build_chromecast_buildflags__testing",
2066 "cronet_aml_build_chromeos_buildflags__testing",
2067 "cronet_aml_build_config_compiler_compiler_buildflags__testing",
Motomu Utsumie74bab82022-12-16 18:00:12 +09002068 ],
2069 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002070 "cronet_aml_base_allocator_buildflags__testing",
2071 "cronet_aml_base_anchor_functions_buildflags__testing",
2072 "cronet_aml_base_build_date__testing",
2073 "cronet_aml_base_cfi_buildflags__testing",
2074 "cronet_aml_base_clang_profiling_buildflags__testing",
2075 "cronet_aml_base_debugging_buildflags__testing",
2076 "cronet_aml_base_feature_list_buildflags__testing",
2077 "cronet_aml_base_ios_cronet_buildflags__testing",
2078 "cronet_aml_base_logging_buildflags__testing",
2079 "cronet_aml_base_message_pump_buildflags__testing",
2080 "cronet_aml_base_orderfile_buildflags__testing",
2081 "cronet_aml_base_parsing_buildflags__testing",
2082 "cronet_aml_base_power_monitor_buildflags__testing",
2083 "cronet_aml_base_profiler_buildflags__testing",
2084 "cronet_aml_base_sanitizer_buildflags__testing",
2085 "cronet_aml_base_synchronization_buildflags__testing",
2086 "cronet_aml_base_tracing_buildflags__testing",
2087 "cronet_aml_build_branding_buildflags__testing",
2088 "cronet_aml_build_chromecast_buildflags__testing",
2089 "cronet_aml_build_chromeos_buildflags__testing",
2090 "cronet_aml_build_config_compiler_compiler_buildflags__testing",
Patrick Rohrbaaf1602022-12-22 14:02:48 -08002091 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07002092 defaults: [
2093 "cronet_aml_defaults",
2094 ],
2095 cflags: [
Patrick Rohrcc377df2022-10-28 09:27:15 -07002096 "-DBASE_IMPLEMENTATION",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09002097 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
2098 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09002099 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002100 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +09002101 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09002102 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09002103 "-DNVALGRIND",
2104 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002105 "-DUSE_CHROMIUM_ICU=1",
2106 "-DU_ENABLE_DYLOAD=0",
2107 "-DU_ENABLE_RESOURCE_TRACING=0",
2108 "-DU_ENABLE_TRACING=1",
2109 "-DU_STATIC_IMPLEMENTATION",
2110 "-DU_USING_ICU_NAMESPACE=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09002111 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002112 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002113 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002114 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2115 "-D__STDC_CONSTANT_MACROS",
2116 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002117 "-O2",
2118 "-fdata-sections",
2119 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09002120 "-fno-asynchronous-unwind-tables",
2121 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002122 "-fvisibility-inlines-hidden",
2123 "-fvisibility=hidden",
2124 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002125 ],
2126 local_include_dirs: [
2127 "./",
2128 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07002129 "buildtools/third_party/libc++/trunk/include",
2130 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002131 "third_party/abseil-cpp/",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002132 "third_party/boringssl/src/include/",
2133 "third_party/icu/source/common/",
2134 "third_party/icu/source/i18n/",
2135 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09002136 ldflags: [
2137 "-Wl,--as-needed",
2138 "-Wl,--gc-sections",
2139 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +00002140 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09002141 ],
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08002142 target: {
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002143 android: {
2144 shared_libs: [
2145 "libandroid",
2146 "liblog",
2147 ],
2148 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002149 android_arm: {
2150 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002151 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
2152 ":cronet_aml_third_party_ashmem_ashmem__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002153 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
2154 "base/android/android_hardware_buffer_compat.cc",
2155 "base/android/android_image_reader_compat.cc",
2156 "base/android/apk_assets.cc",
2157 "base/android/application_status_listener.cc",
2158 "base/android/base_feature_list.cc",
2159 "base/android/base_features.cc",
2160 "base/android/base_jni_onload.cc",
2161 "base/android/build_info.cc",
2162 "base/android/bundle_utils.cc",
2163 "base/android/callback_android.cc",
2164 "base/android/child_process_service.cc",
2165 "base/android/command_line_android.cc",
2166 "base/android/content_uri_utils.cc",
2167 "base/android/cpu_features.cc",
2168 "base/android/early_trace_event_binding.cc",
2169 "base/android/event_log.cc",
2170 "base/android/feature_list_jni.cc",
2171 "base/android/features_jni.cc",
2172 "base/android/field_trial_list.cc",
2173 "base/android/important_file_writer_android.cc",
2174 "base/android/int_string_callback.cc",
2175 "base/android/jank_metric_uma_recorder.cc",
2176 "base/android/java_exception_reporter.cc",
2177 "base/android/java_handler_thread.cc",
2178 "base/android/java_heap_dump_generator.cc",
2179 "base/android/java_runtime.cc",
2180 "base/android/jni_android.cc",
2181 "base/android/jni_array.cc",
2182 "base/android/jni_registrar.cc",
2183 "base/android/jni_string.cc",
2184 "base/android/jni_utils.cc",
2185 "base/android/jni_weak_ref.cc",
2186 "base/android/library_loader/anchor_functions.cc",
2187 "base/android/library_loader/library_loader_hooks.cc",
2188 "base/android/library_loader/library_prefetcher.cc",
2189 "base/android/library_loader/library_prefetcher_hooks.cc",
2190 "base/android/locale_utils.cc",
2191 "base/android/memory_pressure_listener_android.cc",
2192 "base/android/native_uma_recorder.cc",
2193 "base/android/path_service_android.cc",
2194 "base/android/path_utils.cc",
2195 "base/android/radio_utils.cc",
2196 "base/android/reached_addresses_bitset.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002197 "base/android/reached_code_profiler.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002198 "base/android/remove_stale_data.cc",
2199 "base/android/scoped_hardware_buffer_fence_sync.cc",
2200 "base/android/scoped_hardware_buffer_handle.cc",
2201 "base/android/scoped_java_ref.cc",
2202 "base/android/statistics_recorder_android.cc",
2203 "base/android/sys_utils.cc",
2204 "base/android/task_scheduler/post_task_android.cc",
2205 "base/android/task_scheduler/task_runner_android.cc",
2206 "base/android/thread_instruction_count.cc",
2207 "base/android/timezone_utils.cc",
2208 "base/android/trace_event_binding.cc",
2209 "base/android/unguessable_token_android.cc",
2210 "base/base_paths_android.cc",
2211 "base/debug/stack_trace_android.cc",
2212 "base/files/file_util_android.cc",
2213 "base/files/scoped_file_android.cc",
2214 "base/memory/platform_shared_memory_mapper_android.cc",
2215 "base/memory/platform_shared_memory_region_android.cc",
2216 "base/message_loop/message_pump_android.cc",
2217 "base/os_compat_android.cc",
2218 "base/power_monitor/power_monitor_device_source_android.cc",
2219 "base/process/process_android.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002220 "base/profiler/chrome_unwind_info_android.cc",
2221 "base/profiler/chrome_unwinder_android.cc",
2222 "base/profiler/chrome_unwinder_android_v2.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002223 "base/profiler/stack_sampler_android.cc",
2224 "base/system/sys_info_android.cc",
2225 "base/threading/platform_thread_android.cc",
2226 "base/time/time_android.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002227 "base/trace_event/cfi_backtrace_android.cc",
2228 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +09002229 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002230 "-DANDROID",
2231 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2232 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002233 "-fstack-protector",
2234 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002235 local_include_dirs: [
2236 "third_party/android_ndk/sources/android/cpufeatures/",
2237 ],
2238 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002239 "cronet_aml_base_android_runtime_jni_headers__testing",
2240 "cronet_aml_base_base_jni_headers__testing",
2241 "cronet_aml_base_debugging_buildflags__testing",
2242 "cronet_aml_base_logging_buildflags__testing",
2243 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002244 ],
2245 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002246 "cronet_aml_base_android_runtime_jni_headers__testing",
2247 "cronet_aml_base_base_jni_headers__testing",
2248 "cronet_aml_base_debugging_buildflags__testing",
2249 "cronet_aml_base_logging_buildflags__testing",
2250 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002251 ],
2252 ldflags: [
2253 "-Wl,-wrap,asprintf",
2254 "-Wl,-wrap,calloc",
2255 "-Wl,-wrap,free",
2256 "-Wl,-wrap,getcwd",
2257 "-Wl,-wrap,malloc",
2258 "-Wl,-wrap,malloc_usable_size",
2259 "-Wl,-wrap,memalign",
2260 "-Wl,-wrap,posix_memalign",
2261 "-Wl,-wrap,pvalloc",
2262 "-Wl,-wrap,realloc",
2263 "-Wl,-wrap,realpath",
2264 "-Wl,-wrap,strdup",
2265 "-Wl,-wrap,strndup",
2266 "-Wl,-wrap,valloc",
2267 "-Wl,-wrap,vasprintf",
2268 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002269 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002270 android_arm64: {
2271 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002272 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
2273 ":cronet_aml_third_party_ashmem_ashmem__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002274 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
2275 "base/android/android_hardware_buffer_compat.cc",
2276 "base/android/android_image_reader_compat.cc",
2277 "base/android/apk_assets.cc",
2278 "base/android/application_status_listener.cc",
2279 "base/android/base_feature_list.cc",
2280 "base/android/base_features.cc",
2281 "base/android/base_jni_onload.cc",
2282 "base/android/build_info.cc",
2283 "base/android/bundle_utils.cc",
2284 "base/android/callback_android.cc",
2285 "base/android/child_process_service.cc",
2286 "base/android/command_line_android.cc",
2287 "base/android/content_uri_utils.cc",
2288 "base/android/cpu_features.cc",
2289 "base/android/early_trace_event_binding.cc",
2290 "base/android/event_log.cc",
2291 "base/android/feature_list_jni.cc",
2292 "base/android/features_jni.cc",
2293 "base/android/field_trial_list.cc",
2294 "base/android/important_file_writer_android.cc",
2295 "base/android/int_string_callback.cc",
2296 "base/android/jank_metric_uma_recorder.cc",
2297 "base/android/java_exception_reporter.cc",
2298 "base/android/java_handler_thread.cc",
2299 "base/android/java_heap_dump_generator.cc",
2300 "base/android/java_runtime.cc",
2301 "base/android/jni_android.cc",
2302 "base/android/jni_array.cc",
2303 "base/android/jni_registrar.cc",
2304 "base/android/jni_string.cc",
2305 "base/android/jni_utils.cc",
2306 "base/android/jni_weak_ref.cc",
2307 "base/android/library_loader/anchor_functions.cc",
2308 "base/android/library_loader/library_loader_hooks.cc",
2309 "base/android/library_loader/library_prefetcher.cc",
2310 "base/android/library_loader/library_prefetcher_hooks.cc",
2311 "base/android/locale_utils.cc",
2312 "base/android/memory_pressure_listener_android.cc",
2313 "base/android/native_uma_recorder.cc",
2314 "base/android/path_service_android.cc",
2315 "base/android/path_utils.cc",
2316 "base/android/radio_utils.cc",
2317 "base/android/reached_addresses_bitset.cc",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002318 "base/android/reached_code_profiler.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002319 "base/android/remove_stale_data.cc",
2320 "base/android/scoped_hardware_buffer_fence_sync.cc",
2321 "base/android/scoped_hardware_buffer_handle.cc",
2322 "base/android/scoped_java_ref.cc",
2323 "base/android/statistics_recorder_android.cc",
2324 "base/android/sys_utils.cc",
2325 "base/android/task_scheduler/post_task_android.cc",
2326 "base/android/task_scheduler/task_runner_android.cc",
2327 "base/android/thread_instruction_count.cc",
2328 "base/android/timezone_utils.cc",
2329 "base/android/trace_event_binding.cc",
2330 "base/android/unguessable_token_android.cc",
2331 "base/base_paths_android.cc",
2332 "base/debug/stack_trace_android.cc",
2333 "base/files/file_util_android.cc",
2334 "base/files/scoped_file_android.cc",
2335 "base/memory/platform_shared_memory_mapper_android.cc",
2336 "base/memory/platform_shared_memory_region_android.cc",
2337 "base/message_loop/message_pump_android.cc",
2338 "base/os_compat_android.cc",
2339 "base/power_monitor/power_monitor_device_source_android.cc",
2340 "base/process/process_android.cc",
2341 "base/profiler/stack_sampler_android.cc",
2342 "base/system/sys_info_android.cc",
2343 "base/threading/platform_thread_android.cc",
2344 "base/time/time_android.cc",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002345 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +09002346 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002347 "-DANDROID",
2348 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2349 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002350 "-fstack-protector",
2351 "-mno-outline",
2352 "-mno-outline-atomics",
2353 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002354 local_include_dirs: [
2355 "third_party/android_ndk/sources/android/cpufeatures/",
2356 ],
2357 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002358 "cronet_aml_base_android_runtime_jni_headers__testing",
2359 "cronet_aml_base_base_jni_headers__testing",
2360 "cronet_aml_base_debugging_buildflags__testing",
2361 "cronet_aml_base_logging_buildflags__testing",
2362 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002363 ],
2364 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002365 "cronet_aml_base_android_runtime_jni_headers__testing",
2366 "cronet_aml_base_base_jni_headers__testing",
2367 "cronet_aml_base_debugging_buildflags__testing",
2368 "cronet_aml_base_logging_buildflags__testing",
2369 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002370 ],
2371 ldflags: [
2372 "-Wl,-wrap,asprintf",
2373 "-Wl,-wrap,calloc",
2374 "-Wl,-wrap,free",
2375 "-Wl,-wrap,getcwd",
2376 "-Wl,-wrap,malloc",
2377 "-Wl,-wrap,malloc_usable_size",
2378 "-Wl,-wrap,memalign",
2379 "-Wl,-wrap,posix_memalign",
2380 "-Wl,-wrap,pvalloc",
2381 "-Wl,-wrap,realloc",
2382 "-Wl,-wrap,realpath",
2383 "-Wl,-wrap,strdup",
2384 "-Wl,-wrap,strndup",
2385 "-Wl,-wrap,valloc",
2386 "-Wl,-wrap,vasprintf",
2387 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002388 },
Motomu Utsumi65501182022-11-18 15:26:35 +09002389 android_x86: {
2390 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002391 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
2392 ":cronet_aml_third_party_ashmem_ashmem__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002393 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
2394 "base/android/android_hardware_buffer_compat.cc",
2395 "base/android/android_image_reader_compat.cc",
2396 "base/android/apk_assets.cc",
2397 "base/android/application_status_listener.cc",
2398 "base/android/base_feature_list.cc",
2399 "base/android/base_features.cc",
2400 "base/android/base_jni_onload.cc",
2401 "base/android/build_info.cc",
2402 "base/android/bundle_utils.cc",
2403 "base/android/callback_android.cc",
2404 "base/android/child_process_service.cc",
2405 "base/android/command_line_android.cc",
2406 "base/android/content_uri_utils.cc",
2407 "base/android/cpu_features.cc",
2408 "base/android/early_trace_event_binding.cc",
2409 "base/android/event_log.cc",
2410 "base/android/feature_list_jni.cc",
2411 "base/android/features_jni.cc",
2412 "base/android/field_trial_list.cc",
2413 "base/android/important_file_writer_android.cc",
2414 "base/android/int_string_callback.cc",
2415 "base/android/jank_metric_uma_recorder.cc",
2416 "base/android/java_exception_reporter.cc",
2417 "base/android/java_handler_thread.cc",
2418 "base/android/java_heap_dump_generator.cc",
2419 "base/android/java_runtime.cc",
2420 "base/android/jni_android.cc",
2421 "base/android/jni_array.cc",
2422 "base/android/jni_registrar.cc",
2423 "base/android/jni_string.cc",
2424 "base/android/jni_utils.cc",
2425 "base/android/jni_weak_ref.cc",
2426 "base/android/library_loader/anchor_functions.cc",
2427 "base/android/library_loader/library_loader_hooks.cc",
2428 "base/android/library_loader/library_prefetcher.cc",
2429 "base/android/library_loader/library_prefetcher_hooks.cc",
2430 "base/android/locale_utils.cc",
2431 "base/android/memory_pressure_listener_android.cc",
2432 "base/android/native_uma_recorder.cc",
2433 "base/android/path_service_android.cc",
2434 "base/android/path_utils.cc",
2435 "base/android/radio_utils.cc",
2436 "base/android/reached_addresses_bitset.cc",
Motomu Utsumi65501182022-11-18 15:26:35 +09002437 "base/android/reached_code_profiler_stub.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002438 "base/android/remove_stale_data.cc",
2439 "base/android/scoped_hardware_buffer_fence_sync.cc",
2440 "base/android/scoped_hardware_buffer_handle.cc",
2441 "base/android/scoped_java_ref.cc",
2442 "base/android/statistics_recorder_android.cc",
2443 "base/android/sys_utils.cc",
2444 "base/android/task_scheduler/post_task_android.cc",
2445 "base/android/task_scheduler/task_runner_android.cc",
2446 "base/android/thread_instruction_count.cc",
2447 "base/android/timezone_utils.cc",
2448 "base/android/trace_event_binding.cc",
2449 "base/android/unguessable_token_android.cc",
2450 "base/base_paths_android.cc",
2451 "base/debug/stack_trace_android.cc",
2452 "base/files/file_util_android.cc",
2453 "base/files/scoped_file_android.cc",
2454 "base/memory/platform_shared_memory_mapper_android.cc",
2455 "base/memory/platform_shared_memory_region_android.cc",
2456 "base/message_loop/message_pump_android.cc",
2457 "base/os_compat_android.cc",
2458 "base/power_monitor/power_monitor_device_source_android.cc",
2459 "base/process/process_android.cc",
2460 "base/profiler/stack_sampler_android.cc",
2461 "base/system/sys_info_android.cc",
2462 "base/threading/platform_thread_android.cc",
2463 "base/time/time_android.cc",
Motomu Utsumi65501182022-11-18 15:26:35 +09002464 ],
2465 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002466 "-DANDROID",
2467 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2468 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002469 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09002470 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002471 local_include_dirs: [
2472 "third_party/android_ndk/sources/android/cpufeatures/",
2473 ],
2474 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002475 "cronet_aml_base_android_runtime_jni_headers__testing",
2476 "cronet_aml_base_base_jni_headers__testing",
2477 "cronet_aml_base_debugging_buildflags__testing",
2478 "cronet_aml_base_logging_buildflags__testing",
2479 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002480 ],
2481 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002482 "cronet_aml_base_android_runtime_jni_headers__testing",
2483 "cronet_aml_base_base_jni_headers__testing",
2484 "cronet_aml_base_debugging_buildflags__testing",
2485 "cronet_aml_base_logging_buildflags__testing",
2486 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002487 ],
2488 ldflags: [
2489 "-Wl,-wrap,asprintf",
2490 "-Wl,-wrap,calloc",
2491 "-Wl,-wrap,free",
2492 "-Wl,-wrap,getcwd",
2493 "-Wl,-wrap,malloc",
2494 "-Wl,-wrap,malloc_usable_size",
2495 "-Wl,-wrap,memalign",
2496 "-Wl,-wrap,posix_memalign",
2497 "-Wl,-wrap,pvalloc",
2498 "-Wl,-wrap,realloc",
2499 "-Wl,-wrap,realpath",
2500 "-Wl,-wrap,strdup",
2501 "-Wl,-wrap,strndup",
2502 "-Wl,-wrap,valloc",
2503 "-Wl,-wrap,vasprintf",
2504 ],
Motomu Utsumi65501182022-11-18 15:26:35 +09002505 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08002506 android_x86_64: {
2507 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002508 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
2509 ":cronet_aml_third_party_ashmem_ashmem__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002510 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
2511 "base/android/android_hardware_buffer_compat.cc",
2512 "base/android/android_image_reader_compat.cc",
2513 "base/android/apk_assets.cc",
2514 "base/android/application_status_listener.cc",
2515 "base/android/base_feature_list.cc",
2516 "base/android/base_features.cc",
2517 "base/android/base_jni_onload.cc",
2518 "base/android/build_info.cc",
2519 "base/android/bundle_utils.cc",
2520 "base/android/callback_android.cc",
2521 "base/android/child_process_service.cc",
2522 "base/android/command_line_android.cc",
2523 "base/android/content_uri_utils.cc",
2524 "base/android/cpu_features.cc",
2525 "base/android/early_trace_event_binding.cc",
2526 "base/android/event_log.cc",
2527 "base/android/feature_list_jni.cc",
2528 "base/android/features_jni.cc",
2529 "base/android/field_trial_list.cc",
2530 "base/android/important_file_writer_android.cc",
2531 "base/android/int_string_callback.cc",
2532 "base/android/jank_metric_uma_recorder.cc",
2533 "base/android/java_exception_reporter.cc",
2534 "base/android/java_handler_thread.cc",
2535 "base/android/java_heap_dump_generator.cc",
2536 "base/android/java_runtime.cc",
2537 "base/android/jni_android.cc",
2538 "base/android/jni_array.cc",
2539 "base/android/jni_registrar.cc",
2540 "base/android/jni_string.cc",
2541 "base/android/jni_utils.cc",
2542 "base/android/jni_weak_ref.cc",
2543 "base/android/library_loader/anchor_functions.cc",
2544 "base/android/library_loader/library_loader_hooks.cc",
2545 "base/android/library_loader/library_prefetcher.cc",
2546 "base/android/library_loader/library_prefetcher_hooks.cc",
2547 "base/android/locale_utils.cc",
2548 "base/android/memory_pressure_listener_android.cc",
2549 "base/android/native_uma_recorder.cc",
2550 "base/android/path_service_android.cc",
2551 "base/android/path_utils.cc",
2552 "base/android/radio_utils.cc",
2553 "base/android/reached_addresses_bitset.cc",
Patrick Rohr3b5ff762022-11-16 10:22:16 -08002554 "base/android/reached_code_profiler_stub.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002555 "base/android/remove_stale_data.cc",
2556 "base/android/scoped_hardware_buffer_fence_sync.cc",
2557 "base/android/scoped_hardware_buffer_handle.cc",
2558 "base/android/scoped_java_ref.cc",
2559 "base/android/statistics_recorder_android.cc",
2560 "base/android/sys_utils.cc",
2561 "base/android/task_scheduler/post_task_android.cc",
2562 "base/android/task_scheduler/task_runner_android.cc",
2563 "base/android/thread_instruction_count.cc",
2564 "base/android/timezone_utils.cc",
2565 "base/android/trace_event_binding.cc",
2566 "base/android/unguessable_token_android.cc",
2567 "base/base_paths_android.cc",
2568 "base/debug/stack_trace_android.cc",
2569 "base/files/file_util_android.cc",
2570 "base/files/scoped_file_android.cc",
2571 "base/memory/platform_shared_memory_mapper_android.cc",
2572 "base/memory/platform_shared_memory_region_android.cc",
2573 "base/message_loop/message_pump_android.cc",
2574 "base/os_compat_android.cc",
2575 "base/power_monitor/power_monitor_device_source_android.cc",
2576 "base/process/process_android.cc",
2577 "base/profiler/stack_sampler_android.cc",
2578 "base/system/sys_info_android.cc",
2579 "base/threading/platform_thread_android.cc",
2580 "base/time/time_android.cc",
Patrick Rohr3b5ff762022-11-16 10:22:16 -08002581 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09002582 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002583 "-DANDROID",
2584 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2585 "-DHAVE_SYS_UIO_H",
2586 "-fstack-protector",
2587 "-msse3",
2588 ],
2589 local_include_dirs: [
2590 "third_party/android_ndk/sources/android/cpufeatures/",
2591 ],
2592 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002593 "cronet_aml_base_android_runtime_jni_headers__testing",
2594 "cronet_aml_base_base_jni_headers__testing",
2595 "cronet_aml_base_debugging_buildflags__testing",
2596 "cronet_aml_base_logging_buildflags__testing",
2597 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002598 ],
2599 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002600 "cronet_aml_base_android_runtime_jni_headers__testing",
2601 "cronet_aml_base_base_jni_headers__testing",
2602 "cronet_aml_base_debugging_buildflags__testing",
2603 "cronet_aml_base_logging_buildflags__testing",
2604 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002605 ],
2606 ldflags: [
2607 "-Wl,-wrap,asprintf",
2608 "-Wl,-wrap,calloc",
2609 "-Wl,-wrap,free",
2610 "-Wl,-wrap,getcwd",
2611 "-Wl,-wrap,malloc",
2612 "-Wl,-wrap,malloc_usable_size",
2613 "-Wl,-wrap,memalign",
2614 "-Wl,-wrap,posix_memalign",
2615 "-Wl,-wrap,pvalloc",
2616 "-Wl,-wrap,realloc",
2617 "-Wl,-wrap,realpath",
2618 "-Wl,-wrap,strdup",
2619 "-Wl,-wrap,strndup",
2620 "-Wl,-wrap,valloc",
2621 "-Wl,-wrap,vasprintf",
2622 ],
2623 },
2624 host: {
2625 srcs: [
2626 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_glibc.cc",
2627 "base/base_paths_posix.cc",
2628 "base/debug/stack_trace_posix.cc",
2629 "base/files/file_util_linux.cc",
2630 "base/files/scoped_file_linux.cc",
2631 "base/memory/platform_shared_memory_mapper_posix.cc",
2632 "base/memory/platform_shared_memory_region_posix.cc",
2633 "base/nix/mime_util_xdg.cc",
2634 "base/nix/xdg_util.cc",
2635 "base/power_monitor/power_monitor_device_source_stub.cc",
2636 "base/process/process_linux.cc",
2637 "base/profiler/stack_sampler_posix.cc",
2638 "base/stack_canary_linux.cc",
2639 "base/threading/platform_thread_linux.cc",
2640 ],
2641 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002642 "cronet_aml_base_third_party_symbolize_symbolize__testing",
2643 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
2644 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002645 ],
2646 cflags: [
2647 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
2648 "-DGLOG_EXPORT=",
2649 "-DUSE_AURA=1",
2650 "-DUSE_OZONE=1",
2651 "-DUSE_SYMBOLIZE",
2652 "-DUSE_UDEV",
2653 "-D_FILE_OFFSET_BITS=64",
2654 "-D_LARGEFILE64_SOURCE",
2655 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002656 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002657 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09002658 ],
Patrick Rohr3b5ff762022-11-16 10:22:16 -08002659 },
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08002660 },
Patrick Rohrcc377df2022-10-28 09:27:15 -07002661}
2662
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002663// GN: //base:base_android_java_enums_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00002664java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002665 name: "cronet_aml_base_base_android_java_enums_srcjar",
2666 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00002667 "$(out) " +
2668 "$(location base/android/application_status_listener.h) " +
2669 "$(location base/android/child_process_binding_types.h) " +
2670 "$(location base/android/library_loader/library_loader_hooks.h) " +
2671 "$(location base/android/linker/modern_linker_jni.h) " +
2672 "$(location base/android/task_scheduler/task_runner_android.h) " +
2673 "$(location base/memory/memory_pressure_listener.h) " +
2674 "$(location base/metrics/histogram_base.h) " +
2675 "$(location base/task/task_traits.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002676 out: [
2677 "base/base_android_java_enums_srcjar.srcjar",
2678 ],
2679 tool_files: [
2680 "base/android/application_status_listener.h",
2681 "base/android/child_process_binding_types.h",
2682 "base/android/library_loader/library_loader_hooks.h",
2683 "base/android/linker/modern_linker_jni.h",
2684 "base/android/task_scheduler/task_runner_android.h",
2685 "base/memory/memory_pressure_listener.h",
2686 "base/metrics/histogram_base.h",
2687 "base/task/task_traits.h",
2688 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09002689 "build/android/gyp/util/__init__.py",
2690 "build/android/gyp/util/build_utils.py",
2691 "build/android/gyp/util/java_cpp_utils.py",
2692 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002693 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002694}
2695
Motomu Utsumie74bab82022-12-16 18:00:12 +09002696// GN: //base:base_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002697cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09002698 name: "cronet_aml_base_base_jni_headers",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002699 srcs: [
2700 "base/android/java/src/org/chromium/base/ApkAssets.java",
2701 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
2702 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
2703 "base/android/java/src/org/chromium/base/BuildInfo.java",
2704 "base/android/java/src/org/chromium/base/BundleUtils.java",
2705 "base/android/java/src/org/chromium/base/Callback.java",
2706 "base/android/java/src/org/chromium/base/CommandLine.java",
2707 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
2708 "base/android/java/src/org/chromium/base/CpuFeatures.java",
2709 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
2710 "base/android/java/src/org/chromium/base/EventLog.java",
2711 "base/android/java/src/org/chromium/base/FeatureList.java",
2712 "base/android/java/src/org/chromium/base/Features.java",
2713 "base/android/java/src/org/chromium/base/FieldTrialList.java",
2714 "base/android/java/src/org/chromium/base/FileUtils.java",
2715 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
2716 "base/android/java/src/org/chromium/base/IntStringCallback.java",
2717 "base/android/java/src/org/chromium/base/JNIUtils.java",
2718 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
2719 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
2720 "base/android/java/src/org/chromium/base/LocaleUtils.java",
2721 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
2722 "base/android/java/src/org/chromium/base/PathService.java",
2723 "base/android/java/src/org/chromium/base/PathUtils.java",
Motomu Utsumi3fb45662023-01-16 15:09:56 +09002724 "base/android/java/src/org/chromium/base/PiiElider.java",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002725 "base/android/java/src/org/chromium/base/PowerMonitor.java",
2726 "base/android/java/src/org/chromium/base/RadioUtils.java",
2727 "base/android/java/src/org/chromium/base/SysUtils.java",
2728 "base/android/java/src/org/chromium/base/ThreadUtils.java",
2729 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
2730 "base/android/java/src/org/chromium/base/TraceEvent.java",
2731 "base/android/java/src/org/chromium/base/UnguessableToken.java",
2732 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
2733 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
2734 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
2735 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
2736 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
2737 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
2738 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
2739 "base/android/java/src/org/chromium/base/task/PostTask.java",
2740 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
2741 ],
Patrick Rohr9b99a982022-10-28 11:00:57 -07002742 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2743 "long " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002744 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -07002745 "$(genDir)/base/base_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002746 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -07002747 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002748 "--use_proxy_hash " +
2749 "--output_name " +
2750 "ApkAssets_jni.h " +
2751 "--output_name " +
2752 "ApplicationStatus_jni.h " +
2753 "--output_name " +
2754 "BaseFeatureList_jni.h " +
2755 "--output_name " +
2756 "BuildInfo_jni.h " +
2757 "--output_name " +
2758 "BundleUtils_jni.h " +
2759 "--output_name " +
2760 "Callback_jni.h " +
2761 "--output_name " +
2762 "CommandLine_jni.h " +
2763 "--output_name " +
2764 "ContentUriUtils_jni.h " +
2765 "--output_name " +
2766 "CpuFeatures_jni.h " +
2767 "--output_name " +
2768 "EarlyTraceEvent_jni.h " +
2769 "--output_name " +
2770 "EventLog_jni.h " +
2771 "--output_name " +
2772 "FeatureList_jni.h " +
2773 "--output_name " +
2774 "Features_jni.h " +
2775 "--output_name " +
2776 "FieldTrialList_jni.h " +
2777 "--output_name " +
2778 "FileUtils_jni.h " +
2779 "--output_name " +
2780 "ImportantFileWriterAndroid_jni.h " +
2781 "--output_name " +
2782 "IntStringCallback_jni.h " +
2783 "--output_name " +
2784 "JNIUtils_jni.h " +
2785 "--output_name " +
2786 "JavaExceptionReporter_jni.h " +
2787 "--output_name " +
2788 "JavaHandlerThread_jni.h " +
2789 "--output_name " +
2790 "LocaleUtils_jni.h " +
2791 "--output_name " +
2792 "MemoryPressureListener_jni.h " +
2793 "--output_name " +
2794 "PathService_jni.h " +
2795 "--output_name " +
2796 "PathUtils_jni.h " +
2797 "--output_name " +
Motomu Utsumi3fb45662023-01-16 15:09:56 +09002798 "PiiElider_jni.h " +
2799 "--output_name " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002800 "PowerMonitor_jni.h " +
2801 "--output_name " +
2802 "RadioUtils_jni.h " +
2803 "--output_name " +
2804 "SysUtils_jni.h " +
2805 "--output_name " +
2806 "ThreadUtils_jni.h " +
2807 "--output_name " +
2808 "TimezoneUtils_jni.h " +
2809 "--output_name " +
2810 "TraceEvent_jni.h " +
2811 "--output_name " +
2812 "UnguessableToken_jni.h " +
2813 "--output_name " +
2814 "JankMetricUMARecorder_jni.h " +
2815 "--output_name " +
2816 "LibraryLoader_jni.h " +
2817 "--output_name " +
2818 "LibraryPrefetcher_jni.h " +
2819 "--output_name " +
2820 "JavaHeapDumpGenerator_jni.h " +
2821 "--output_name " +
2822 "NativeUmaRecorder_jni.h " +
2823 "--output_name " +
2824 "StatisticsRecorderAndroid_jni.h " +
2825 "--output_name " +
2826 "ChildProcessService_jni.h " +
2827 "--output_name " +
2828 "PostTask_jni.h " +
2829 "--output_name " +
2830 "TaskRunnerImpl_jni.h " +
2831 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002832 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002833 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002834 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002835 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002836 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002837 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002838 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002839 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002840 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002841 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002842 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002843 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002844 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002845 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002846 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002847 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002848 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002849 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002850 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002851 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002852 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002853 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002854 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002855 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002856 "$(location base/android/java/src/org/chromium/base/Features.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002857 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002858 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002859 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002860 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002861 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002862 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002863 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002864 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002865 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002866 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002867 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002868 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002869 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002870 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002871 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002872 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002873 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002874 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002875 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002876 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002877 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002878 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002879 "--input_file " +
Motomu Utsumi3fb45662023-01-16 15:09:56 +09002880 "$(location base/android/java/src/org/chromium/base/PiiElider.java) " +
2881 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002882 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002883 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002884 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002885 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002886 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002887 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002888 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002889 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002890 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002891 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002892 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002893 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002894 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002895 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002896 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002897 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002898 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002899 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002900 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002901 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002902 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002903 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002904 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002905 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002906 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002907 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002908 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002909 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002910 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002911 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00002912 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java) " +
2913 "--package_prefix " +
2914 "android.net.http.internal",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002915 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -07002916 "base/base_jni_headers/ApkAssets_jni.h",
2917 "base/base_jni_headers/ApplicationStatus_jni.h",
2918 "base/base_jni_headers/BaseFeatureList_jni.h",
2919 "base/base_jni_headers/BuildInfo_jni.h",
2920 "base/base_jni_headers/BundleUtils_jni.h",
2921 "base/base_jni_headers/Callback_jni.h",
2922 "base/base_jni_headers/ChildProcessService_jni.h",
2923 "base/base_jni_headers/CommandLine_jni.h",
2924 "base/base_jni_headers/ContentUriUtils_jni.h",
2925 "base/base_jni_headers/CpuFeatures_jni.h",
2926 "base/base_jni_headers/EarlyTraceEvent_jni.h",
2927 "base/base_jni_headers/EventLog_jni.h",
2928 "base/base_jni_headers/FeatureList_jni.h",
2929 "base/base_jni_headers/Features_jni.h",
2930 "base/base_jni_headers/FieldTrialList_jni.h",
2931 "base/base_jni_headers/FileUtils_jni.h",
2932 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
2933 "base/base_jni_headers/IntStringCallback_jni.h",
2934 "base/base_jni_headers/JNIUtils_jni.h",
2935 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
2936 "base/base_jni_headers/JavaExceptionReporter_jni.h",
2937 "base/base_jni_headers/JavaHandlerThread_jni.h",
2938 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
2939 "base/base_jni_headers/LibraryLoader_jni.h",
2940 "base/base_jni_headers/LibraryPrefetcher_jni.h",
2941 "base/base_jni_headers/LocaleUtils_jni.h",
2942 "base/base_jni_headers/MemoryPressureListener_jni.h",
2943 "base/base_jni_headers/NativeUmaRecorder_jni.h",
2944 "base/base_jni_headers/PathService_jni.h",
2945 "base/base_jni_headers/PathUtils_jni.h",
Motomu Utsumi3fb45662023-01-16 15:09:56 +09002946 "base/base_jni_headers/PiiElider_jni.h",
Patrick Rohrf1d08f82022-10-31 14:43:59 -07002947 "base/base_jni_headers/PostTask_jni.h",
2948 "base/base_jni_headers/PowerMonitor_jni.h",
2949 "base/base_jni_headers/RadioUtils_jni.h",
2950 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
2951 "base/base_jni_headers/SysUtils_jni.h",
2952 "base/base_jni_headers/TaskRunnerImpl_jni.h",
2953 "base/base_jni_headers/ThreadUtils_jni.h",
2954 "base/base_jni_headers/TimezoneUtils_jni.h",
2955 "base/base_jni_headers/TraceEvent_jni.h",
2956 "base/base_jni_headers/UnguessableToken_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002957 ],
2958 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00002959 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002960 "base/android/jni_generator/jni_generator.py",
2961 "build/android/gyp/util/__init__.py",
2962 "build/android/gyp/util/build_utils.py",
2963 "build/gn_helpers.py",
2964 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002965 apex_available: [
2966 "com.android.tethering",
2967 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07002968}
2969
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002970// GN: //base:base_jni_headers__testing
2971cc_genrule {
2972 name: "cronet_aml_base_base_jni_headers__testing",
2973 srcs: [
2974 "base/android/java/src/org/chromium/base/ApkAssets.java",
2975 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
2976 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
2977 "base/android/java/src/org/chromium/base/BuildInfo.java",
2978 "base/android/java/src/org/chromium/base/BundleUtils.java",
2979 "base/android/java/src/org/chromium/base/Callback.java",
2980 "base/android/java/src/org/chromium/base/CommandLine.java",
2981 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
2982 "base/android/java/src/org/chromium/base/CpuFeatures.java",
2983 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
2984 "base/android/java/src/org/chromium/base/EventLog.java",
2985 "base/android/java/src/org/chromium/base/FeatureList.java",
2986 "base/android/java/src/org/chromium/base/Features.java",
2987 "base/android/java/src/org/chromium/base/FieldTrialList.java",
2988 "base/android/java/src/org/chromium/base/FileUtils.java",
2989 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
2990 "base/android/java/src/org/chromium/base/IntStringCallback.java",
2991 "base/android/java/src/org/chromium/base/JNIUtils.java",
2992 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
2993 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
2994 "base/android/java/src/org/chromium/base/LocaleUtils.java",
2995 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
2996 "base/android/java/src/org/chromium/base/PathService.java",
2997 "base/android/java/src/org/chromium/base/PathUtils.java",
2998 "base/android/java/src/org/chromium/base/PiiElider.java",
2999 "base/android/java/src/org/chromium/base/PowerMonitor.java",
3000 "base/android/java/src/org/chromium/base/RadioUtils.java",
3001 "base/android/java/src/org/chromium/base/SysUtils.java",
3002 "base/android/java/src/org/chromium/base/ThreadUtils.java",
3003 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
3004 "base/android/java/src/org/chromium/base/TraceEvent.java",
3005 "base/android/java/src/org/chromium/base/UnguessableToken.java",
3006 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
3007 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
3008 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
3009 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
3010 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
3011 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
3012 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
3013 "base/android/java/src/org/chromium/base/task/PostTask.java",
3014 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
3015 ],
3016 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
3017 "long " +
3018 "--output_dir " +
3019 "$(genDir)/base/base_jni_headers " +
3020 "--includes " +
3021 "base/android/jni_generator/jni_generator_helper.h " +
3022 "--use_proxy_hash " +
3023 "--output_name " +
3024 "ApkAssets_jni.h " +
3025 "--output_name " +
3026 "ApplicationStatus_jni.h " +
3027 "--output_name " +
3028 "BaseFeatureList_jni.h " +
3029 "--output_name " +
3030 "BuildInfo_jni.h " +
3031 "--output_name " +
3032 "BundleUtils_jni.h " +
3033 "--output_name " +
3034 "Callback_jni.h " +
3035 "--output_name " +
3036 "CommandLine_jni.h " +
3037 "--output_name " +
3038 "ContentUriUtils_jni.h " +
3039 "--output_name " +
3040 "CpuFeatures_jni.h " +
3041 "--output_name " +
3042 "EarlyTraceEvent_jni.h " +
3043 "--output_name " +
3044 "EventLog_jni.h " +
3045 "--output_name " +
3046 "FeatureList_jni.h " +
3047 "--output_name " +
3048 "Features_jni.h " +
3049 "--output_name " +
3050 "FieldTrialList_jni.h " +
3051 "--output_name " +
3052 "FileUtils_jni.h " +
3053 "--output_name " +
3054 "ImportantFileWriterAndroid_jni.h " +
3055 "--output_name " +
3056 "IntStringCallback_jni.h " +
3057 "--output_name " +
3058 "JNIUtils_jni.h " +
3059 "--output_name " +
3060 "JavaExceptionReporter_jni.h " +
3061 "--output_name " +
3062 "JavaHandlerThread_jni.h " +
3063 "--output_name " +
3064 "LocaleUtils_jni.h " +
3065 "--output_name " +
3066 "MemoryPressureListener_jni.h " +
3067 "--output_name " +
3068 "PathService_jni.h " +
3069 "--output_name " +
3070 "PathUtils_jni.h " +
3071 "--output_name " +
3072 "PiiElider_jni.h " +
3073 "--output_name " +
3074 "PowerMonitor_jni.h " +
3075 "--output_name " +
3076 "RadioUtils_jni.h " +
3077 "--output_name " +
3078 "SysUtils_jni.h " +
3079 "--output_name " +
3080 "ThreadUtils_jni.h " +
3081 "--output_name " +
3082 "TimezoneUtils_jni.h " +
3083 "--output_name " +
3084 "TraceEvent_jni.h " +
3085 "--output_name " +
3086 "UnguessableToken_jni.h " +
3087 "--output_name " +
3088 "JankMetricUMARecorder_jni.h " +
3089 "--output_name " +
3090 "LibraryLoader_jni.h " +
3091 "--output_name " +
3092 "LibraryPrefetcher_jni.h " +
3093 "--output_name " +
3094 "JavaHeapDumpGenerator_jni.h " +
3095 "--output_name " +
3096 "NativeUmaRecorder_jni.h " +
3097 "--output_name " +
3098 "StatisticsRecorderAndroid_jni.h " +
3099 "--output_name " +
3100 "ChildProcessService_jni.h " +
3101 "--output_name " +
3102 "PostTask_jni.h " +
3103 "--output_name " +
3104 "TaskRunnerImpl_jni.h " +
3105 "--input_file " +
3106 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
3107 "--input_file " +
3108 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
3109 "--input_file " +
3110 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
3111 "--input_file " +
3112 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
3113 "--input_file " +
3114 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
3115 "--input_file " +
3116 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
3117 "--input_file " +
3118 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
3119 "--input_file " +
3120 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
3121 "--input_file " +
3122 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
3123 "--input_file " +
3124 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
3125 "--input_file " +
3126 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
3127 "--input_file " +
3128 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
3129 "--input_file " +
3130 "$(location base/android/java/src/org/chromium/base/Features.java) " +
3131 "--input_file " +
3132 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
3133 "--input_file " +
3134 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
3135 "--input_file " +
3136 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
3137 "--input_file " +
3138 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
3139 "--input_file " +
3140 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
3141 "--input_file " +
3142 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
3143 "--input_file " +
3144 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
3145 "--input_file " +
3146 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
3147 "--input_file " +
3148 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
3149 "--input_file " +
3150 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
3151 "--input_file " +
3152 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
3153 "--input_file " +
3154 "$(location base/android/java/src/org/chromium/base/PiiElider.java) " +
3155 "--input_file " +
3156 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
3157 "--input_file " +
3158 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
3159 "--input_file " +
3160 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
3161 "--input_file " +
3162 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
3163 "--input_file " +
3164 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
3165 "--input_file " +
3166 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
3167 "--input_file " +
3168 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
3169 "--input_file " +
3170 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
3171 "--input_file " +
3172 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
3173 "--input_file " +
3174 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
3175 "--input_file " +
3176 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
3177 "--input_file " +
3178 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
3179 "--input_file " +
3180 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
3181 "--input_file " +
3182 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
3183 "--input_file " +
3184 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
3185 "--input_file " +
3186 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java) " +
3187 "--package_prefix " +
3188 "android.net.http.internal",
3189 out: [
3190 "base/base_jni_headers/ApkAssets_jni.h",
3191 "base/base_jni_headers/ApplicationStatus_jni.h",
3192 "base/base_jni_headers/BaseFeatureList_jni.h",
3193 "base/base_jni_headers/BuildInfo_jni.h",
3194 "base/base_jni_headers/BundleUtils_jni.h",
3195 "base/base_jni_headers/Callback_jni.h",
3196 "base/base_jni_headers/ChildProcessService_jni.h",
3197 "base/base_jni_headers/CommandLine_jni.h",
3198 "base/base_jni_headers/ContentUriUtils_jni.h",
3199 "base/base_jni_headers/CpuFeatures_jni.h",
3200 "base/base_jni_headers/EarlyTraceEvent_jni.h",
3201 "base/base_jni_headers/EventLog_jni.h",
3202 "base/base_jni_headers/FeatureList_jni.h",
3203 "base/base_jni_headers/Features_jni.h",
3204 "base/base_jni_headers/FieldTrialList_jni.h",
3205 "base/base_jni_headers/FileUtils_jni.h",
3206 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
3207 "base/base_jni_headers/IntStringCallback_jni.h",
3208 "base/base_jni_headers/JNIUtils_jni.h",
3209 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
3210 "base/base_jni_headers/JavaExceptionReporter_jni.h",
3211 "base/base_jni_headers/JavaHandlerThread_jni.h",
3212 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
3213 "base/base_jni_headers/LibraryLoader_jni.h",
3214 "base/base_jni_headers/LibraryPrefetcher_jni.h",
3215 "base/base_jni_headers/LocaleUtils_jni.h",
3216 "base/base_jni_headers/MemoryPressureListener_jni.h",
3217 "base/base_jni_headers/NativeUmaRecorder_jni.h",
3218 "base/base_jni_headers/PathService_jni.h",
3219 "base/base_jni_headers/PathUtils_jni.h",
3220 "base/base_jni_headers/PiiElider_jni.h",
3221 "base/base_jni_headers/PostTask_jni.h",
3222 "base/base_jni_headers/PowerMonitor_jni.h",
3223 "base/base_jni_headers/RadioUtils_jni.h",
3224 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
3225 "base/base_jni_headers/SysUtils_jni.h",
3226 "base/base_jni_headers/TaskRunnerImpl_jni.h",
3227 "base/base_jni_headers/ThreadUtils_jni.h",
3228 "base/base_jni_headers/TimezoneUtils_jni.h",
3229 "base/base_jni_headers/TraceEvent_jni.h",
3230 "base/base_jni_headers/UnguessableToken_jni.h",
3231 ],
3232 tool_files: [
3233 "base/android/jni_generator/android_jar.classes",
3234 "base/android/jni_generator/jni_generator.py",
3235 "build/android/gyp/util/__init__.py",
3236 "build/android/gyp/util/build_utils.py",
3237 "build/gn_helpers.py",
3238 ],
3239 apex_available: [
3240 "com.android.tethering",
3241 ],
3242}
3243
Motomu Utsumibf569d42022-10-28 16:47:34 +09003244// GN: //base:base_static
3245cc_library_static {
3246 name: "cronet_aml_base_base_static",
3247 srcs: [
3248 "base/base_switches.cc",
3249 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +09003250 generated_headers: [
3251 "cronet_aml_build_chromeos_buildflags",
3252 ],
3253 export_generated_headers: [
3254 "cronet_aml_build_chromeos_buildflags",
3255 ],
Motomu Utsumibf569d42022-10-28 16:47:34 +09003256 defaults: [
3257 "cronet_aml_defaults",
3258 ],
3259 cflags: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003260 "-DANDROID",
3261 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3262 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
3263 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
3264 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
3265 "-DHAVE_SYS_UIO_H",
3266 "-DNDEBUG",
3267 "-DNO_UNWIND_TABLES",
3268 "-DNVALGRIND",
3269 "-DOFFICIAL_BUILD",
3270 "-D_FORTIFY_SOURCE=2",
3271 "-D_GNU_SOURCE",
3272 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3273 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3274 "-D__STDC_CONSTANT_MACROS",
3275 "-D__STDC_FORMAT_MACROS",
3276 "-O2",
3277 "-fdata-sections",
3278 "-ffunction-sections",
3279 "-fno-asynchronous-unwind-tables",
3280 "-fno-unwind-tables",
3281 "-fvisibility-inlines-hidden",
3282 "-fvisibility=hidden",
3283 "-g1",
3284 ],
3285 local_include_dirs: [
3286 "./",
3287 "buildtools/third_party/libc++/",
3288 "buildtools/third_party/libc++/trunk/include",
3289 "buildtools/third_party/libc++abi/trunk/include",
3290 ],
3291 cpp_std: "c++17",
3292 ldflags: [
3293 "-Wl,--as-needed",
3294 "-Wl,--gc-sections",
3295 "-Wl,--icf=all",
3296 ],
3297 target: {
3298 android_arm: {
3299 cflags: [
3300 "-fstack-protector",
3301 ],
3302 },
3303 android_arm64: {
3304 cflags: [
3305 "-fstack-protector",
3306 "-mno-outline",
3307 "-mno-outline-atomics",
3308 ],
3309 },
3310 android_x86: {
3311 cflags: [
3312 "-msse3",
3313 ],
3314 },
3315 android_x86_64: {
3316 cflags: [
3317 "-fstack-protector",
3318 "-msse3",
3319 ],
3320 },
3321 },
3322}
3323
3324// GN: //base:base_static__testing
3325cc_library_static {
3326 name: "cronet_aml_base_base_static__testing",
3327 srcs: [
3328 "base/base_switches.cc",
3329 ],
3330 host_supported: true,
3331 generated_headers: [
3332 "cronet_aml_build_chromeos_buildflags__testing",
3333 ],
3334 export_generated_headers: [
3335 "cronet_aml_build_chromeos_buildflags__testing",
3336 ],
3337 defaults: [
3338 "cronet_aml_defaults",
3339 ],
3340 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +09003341 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
3342 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09003343 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09003344 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003345 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09003346 "-DNVALGRIND",
3347 "-DOFFICIAL_BUILD",
3348 "-D_FORTIFY_SOURCE=2",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003349 "-D_GNU_SOURCE",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003350 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003351 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3352 "-D__STDC_CONSTANT_MACROS",
3353 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003354 "-O2",
3355 "-fdata-sections",
3356 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09003357 "-fno-asynchronous-unwind-tables",
3358 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003359 "-fvisibility-inlines-hidden",
3360 "-fvisibility=hidden",
3361 "-g1",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003362 ],
3363 local_include_dirs: [
3364 "./",
3365 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07003366 "buildtools/third_party/libc++/trunk/include",
3367 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003368 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09003369 ldflags: [
3370 "-Wl,--as-needed",
3371 "-Wl,--gc-sections",
3372 "-Wl,--icf=all",
3373 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09003374 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09003375 android_arm: {
3376 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003377 "-DANDROID",
3378 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3379 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003380 "-fstack-protector",
3381 ],
3382 },
3383 android_arm64: {
3384 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003385 "-DANDROID",
3386 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3387 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003388 "-fstack-protector",
3389 "-mno-outline",
3390 "-mno-outline-atomics",
3391 ],
3392 },
Motomu Utsumi65501182022-11-18 15:26:35 +09003393 android_x86: {
3394 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003395 "-DANDROID",
3396 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3397 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003398 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09003399 ],
3400 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09003401 android_x86_64: {
3402 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003403 "-DANDROID",
3404 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3405 "-DHAVE_SYS_UIO_H",
3406 "-fstack-protector",
3407 "-msse3",
3408 ],
3409 },
3410 host: {
3411 cflags: [
3412 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
3413 "-DUSE_AURA=1",
3414 "-DUSE_OZONE=1",
3415 "-DUSE_UDEV",
3416 "-D_FILE_OFFSET_BITS=64",
3417 "-D_LARGEFILE64_SOURCE",
3418 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003419 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003420 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09003421 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09003422 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09003423 },
Motomu Utsumibf569d42022-10-28 16:47:34 +09003424}
3425
Motomu Utsumie74bab82022-12-16 18:00:12 +09003426// GN: //base:build_date
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003427cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003428 name: "cronet_aml_base_build_date",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003429 cmd: "$(location build/write_build_date_header.py) $(out) " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003430 "1676008584",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003431 out: [
3432 "base/generated_build_date.h",
3433 ],
3434 tool_files: [
3435 "build/write_build_date_header.py",
3436 ],
3437 apex_available: [
3438 "com.android.tethering",
3439 ],
3440}
3441
3442// GN: //base:build_date__testing
3443cc_genrule {
3444 name: "cronet_aml_base_build_date__testing",
3445 cmd: "$(location build/write_build_date_header.py) $(out) " +
3446 "1676008584",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003447 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003448 out: [
3449 "base/generated_build_date.h",
3450 ],
3451 tool_files: [
3452 "build/write_build_date_header.py",
3453 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003454 apex_available: [
3455 "com.android.tethering",
3456 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003457}
3458
Motomu Utsumie74bab82022-12-16 18:00:12 +09003459// GN: //base:cfi_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003460cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003461 name: "cronet_aml_base_cfi_buildflags",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09003462 cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003463 "$(location build/write_buildflag_header.py) --output " +
3464 "$(out) " +
3465 "--rulename " +
3466 "//base:cfi_buildflags " +
3467 "--gen-dir " +
3468 ". " +
3469 "--definitions " +
3470 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003471 out: [
3472 "base/cfi_buildflags.h",
3473 ],
3474 tool_files: [
3475 "build/write_buildflag_header.py",
3476 ],
3477 apex_available: [
3478 "com.android.tethering",
3479 ],
3480}
3481
3482// GN: //base:cfi_buildflags__testing
3483cc_genrule {
3484 name: "cronet_aml_base_cfi_buildflags__testing",
3485 cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
3486 "$(location build/write_buildflag_header.py) --output " +
3487 "$(out) " +
3488 "--rulename " +
3489 "//base:cfi_buildflags " +
3490 "--gen-dir " +
3491 ". " +
3492 "--definitions " +
3493 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003494 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003495 out: [
3496 "base/cfi_buildflags.h",
3497 ],
3498 tool_files: [
3499 "build/write_buildflag_header.py",
3500 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003501 apex_available: [
3502 "com.android.tethering",
3503 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003504}
3505
Motomu Utsumie74bab82022-12-16 18:00:12 +09003506// GN: //base:clang_profiling_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003507cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003508 name: "cronet_aml_base_clang_profiling_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003509 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
3510 "$(location build/write_buildflag_header.py) --output " +
3511 "$(out) " +
3512 "--rulename " +
3513 "//base:clang_profiling_buildflags " +
3514 "--gen-dir " +
3515 ". " +
3516 "--definitions " +
3517 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003518 out: [
3519 "base/clang_profiling_buildflags.h",
3520 ],
3521 tool_files: [
3522 "build/write_buildflag_header.py",
3523 ],
3524 apex_available: [
3525 "com.android.tethering",
3526 ],
3527}
3528
3529// GN: //base:clang_profiling_buildflags__testing
3530cc_genrule {
3531 name: "cronet_aml_base_clang_profiling_buildflags__testing",
3532 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
3533 "$(location build/write_buildflag_header.py) --output " +
3534 "$(out) " +
3535 "--rulename " +
3536 "//base:clang_profiling_buildflags " +
3537 "--gen-dir " +
3538 ". " +
3539 "--definitions " +
3540 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003541 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003542 out: [
3543 "base/clang_profiling_buildflags.h",
3544 ],
3545 tool_files: [
3546 "build/write_buildflag_header.py",
3547 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003548 apex_available: [
3549 "com.android.tethering",
3550 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003551}
3552
Motomu Utsumie74bab82022-12-16 18:00:12 +09003553// GN: //base:debugging_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003554cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003555 name: "cronet_aml_base_debugging_buildflags",
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003556 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
3557 "then " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003558 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003559 "$(location build/write_buildflag_header.py) --output " +
3560 "$(out) " +
3561 "--rulename " +
3562 "//base:debugging_buildflags " +
3563 "--gen-dir " +
3564 ". " +
3565 "--definitions " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003566 "/dev/stdin; " +
3567 "fi; " +
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003568 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
3569 "then " +
3570 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
3571 "$(location build/write_buildflag_header.py) --output " +
3572 "$(out) " +
3573 "--rulename " +
3574 "//base:debugging_buildflags " +
3575 "--gen-dir " +
3576 ". " +
3577 "--definitions " +
3578 "/dev/stdin; " +
3579 "fi; " +
3580 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
3581 "then " +
3582 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"true\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
3583 "$(location build/write_buildflag_header.py) --output " +
3584 "$(out) " +
3585 "--rulename " +
3586 "//base:debugging_buildflags " +
3587 "--gen-dir " +
3588 ". " +
3589 "--definitions " +
3590 "/dev/stdin; " +
3591 "fi; " +
3592 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
3593 "then " +
3594 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
3595 "$(location build/write_buildflag_header.py) --output " +
3596 "$(out) " +
3597 "--rulename " +
3598 "//base:debugging_buildflags " +
3599 "--gen-dir " +
3600 ". " +
3601 "--definitions " +
3602 "/dev/stdin; " +
3603 "fi;",
3604 out: [
3605 "base/debug/debugging_buildflags.h",
3606 ],
3607 tool_files: [
3608 "build/write_buildflag_header.py",
3609 ],
3610 apex_available: [
3611 "com.android.tethering",
3612 ],
3613}
3614
3615// GN: //base:debugging_buildflags__testing
3616cc_genrule {
3617 name: "cronet_aml_base_debugging_buildflags__testing",
3618 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
3619 "then " +
3620 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
3621 "$(location build/write_buildflag_header.py) --output " +
3622 "$(out) " +
3623 "--rulename " +
3624 "//base:debugging_buildflags " +
3625 "--gen-dir " +
3626 ". " +
3627 "--definitions " +
3628 "/dev/stdin; " +
3629 "fi; " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003630 "if [[ $$CC_OS != 'android' ]]; " +
3631 "then " +
3632 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
3633 "$(location build/write_buildflag_header.py) --output " +
3634 "$(out) " +
3635 "--rulename " +
3636 "//base:debugging_buildflags " +
3637 "--gen-dir " +
3638 ". " +
3639 "--definitions " +
3640 "/dev/stdin; " +
3641 "fi; " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003642 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
3643 "then " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003644 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003645 "$(location build/write_buildflag_header.py) --output " +
3646 "$(out) " +
3647 "--rulename " +
3648 "//base:debugging_buildflags " +
3649 "--gen-dir " +
3650 ". " +
3651 "--definitions " +
3652 "/dev/stdin; " +
3653 "fi; " +
3654 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
3655 "then " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003656 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"true\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003657 "$(location build/write_buildflag_header.py) --output " +
3658 "$(out) " +
3659 "--rulename " +
3660 "//base:debugging_buildflags " +
3661 "--gen-dir " +
3662 ". " +
3663 "--definitions " +
3664 "/dev/stdin; " +
3665 "fi; " +
3666 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
3667 "then " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003668 "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" FROM_HERE_USES_LOCATION_BUILTINS=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"false\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"true\" ENABLE_GDBINIT_WARNING=\"false\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"false\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003669 "$(location build/write_buildflag_header.py) --output " +
3670 "$(out) " +
3671 "--rulename " +
3672 "//base:debugging_buildflags " +
3673 "--gen-dir " +
3674 ". " +
3675 "--definitions " +
3676 "/dev/stdin; " +
3677 "fi;",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003678 host_supported: true,
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003679 out: [
3680 "base/debug/debugging_buildflags.h",
3681 ],
3682 tool_files: [
3683 "build/write_buildflag_header.py",
3684 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003685 apex_available: [
3686 "com.android.tethering",
3687 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003688}
3689
Motomu Utsumie74bab82022-12-16 18:00:12 +09003690// GN: //base:feature_list_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003691cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003692 name: "cronet_aml_base_feature_list_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003693 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
3694 "$(location build/write_buildflag_header.py) --output " +
3695 "$(out) " +
3696 "--rulename " +
3697 "//base:feature_list_buildflags " +
3698 "--gen-dir " +
3699 ". " +
3700 "--definitions " +
3701 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003702 out: [
3703 "base/feature_list_buildflags.h",
3704 ],
3705 tool_files: [
3706 "build/write_buildflag_header.py",
3707 ],
3708 apex_available: [
3709 "com.android.tethering",
3710 ],
3711}
3712
3713// GN: //base:feature_list_buildflags__testing
3714cc_genrule {
3715 name: "cronet_aml_base_feature_list_buildflags__testing",
3716 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
3717 "$(location build/write_buildflag_header.py) --output " +
3718 "$(out) " +
3719 "--rulename " +
3720 "//base:feature_list_buildflags " +
3721 "--gen-dir " +
3722 ". " +
3723 "--definitions " +
3724 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003725 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003726 out: [
3727 "base/feature_list_buildflags.h",
3728 ],
3729 tool_files: [
3730 "build/write_buildflag_header.py",
3731 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003732 apex_available: [
3733 "com.android.tethering",
3734 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003735}
3736
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003737// GN: //base:i18n__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003738cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003739 name: "cronet_aml_base_i18n__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003740 srcs: [
3741 "base/i18n/base_i18n_switches.cc",
3742 "base/i18n/break_iterator.cc",
3743 "base/i18n/case_conversion.cc",
3744 "base/i18n/char_iterator.cc",
3745 "base/i18n/character_encoding.cc",
3746 "base/i18n/encoding_detection.cc",
3747 "base/i18n/file_util_icu.cc",
3748 "base/i18n/i18n_constants.cc",
3749 "base/i18n/icu_string_conversions.cc",
3750 "base/i18n/icu_util.cc",
3751 "base/i18n/message_formatter.cc",
3752 "base/i18n/number_formatting.cc",
3753 "base/i18n/rtl.cc",
3754 "base/i18n/streaming_utf8_validator.cc",
3755 "base/i18n/string_compare.cc",
3756 "base/i18n/string_search.cc",
3757 "base/i18n/time_formatting.cc",
3758 "base/i18n/timezone.cc",
3759 "base/i18n/utf8_validator_tables.cc",
3760 ],
3761 shared_libs: [
3762 "libandroid",
3763 "liblog",
3764 ],
3765 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003766 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
3767 "cronet_aml_base_base__testing",
3768 "cronet_aml_base_base_static__testing",
3769 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
3770 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
3771 "cronet_aml_third_party_boringssl_boringssl__testing",
3772 "cronet_aml_third_party_ced_ced__testing",
3773 "cronet_aml_third_party_icu_icui18n__testing",
3774 "cronet_aml_third_party_icu_icuuc_private__testing",
3775 "cronet_aml_third_party_libevent_libevent__testing",
3776 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003777 ],
3778 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003779 "cronet_aml_build_chromecast_buildflags__testing",
3780 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003781 ],
3782 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003783 "cronet_aml_build_chromecast_buildflags__testing",
3784 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003785 ],
3786 defaults: [
3787 "cronet_aml_defaults",
3788 ],
3789 cflags: [
3790 "-DANDROID",
3791 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3792 "-DBASE_I18N_IMPLEMENTATION",
3793 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
3794 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
3795 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
3796 "-DHAVE_SYS_UIO_H",
3797 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
3798 "-DNDEBUG",
3799 "-DNO_UNWIND_TABLES",
3800 "-DNVALGRIND",
3801 "-DOFFICIAL_BUILD",
3802 "-DUSE_CHROMIUM_ICU=1",
3803 "-DU_ENABLE_DYLOAD=0",
3804 "-DU_ENABLE_RESOURCE_TRACING=0",
3805 "-DU_ENABLE_TRACING=1",
3806 "-DU_STATIC_IMPLEMENTATION",
3807 "-DU_USING_ICU_NAMESPACE=0",
3808 "-D_FORTIFY_SOURCE=2",
3809 "-D_GNU_SOURCE",
3810 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3811 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3812 "-D__STDC_CONSTANT_MACROS",
3813 "-D__STDC_FORMAT_MACROS",
3814 "-O2",
3815 "-fdata-sections",
3816 "-ffunction-sections",
3817 "-fno-asynchronous-unwind-tables",
3818 "-fno-unwind-tables",
3819 "-fvisibility-inlines-hidden",
3820 "-fvisibility=hidden",
3821 "-g1",
3822 ],
3823 local_include_dirs: [
3824 "./",
3825 "buildtools/third_party/libc++/",
3826 "buildtools/third_party/libc++/trunk/include",
3827 "buildtools/third_party/libc++abi/trunk/include",
3828 "third_party/abseil-cpp/",
3829 "third_party/boringssl/src/include/",
3830 "third_party/ced/src/",
3831 "third_party/icu/source/common/",
3832 "third_party/icu/source/i18n/",
3833 ],
3834 cpp_std: "c++17",
3835 ldflags: [
3836 "-Wl,--as-needed",
3837 "-Wl,--gc-sections",
3838 "-Wl,--icf=all",
3839 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
3840 "-Wl,-wrap,asprintf",
3841 "-Wl,-wrap,calloc",
3842 "-Wl,-wrap,free",
3843 "-Wl,-wrap,getcwd",
3844 "-Wl,-wrap,malloc",
3845 "-Wl,-wrap,malloc_usable_size",
3846 "-Wl,-wrap,memalign",
3847 "-Wl,-wrap,posix_memalign",
3848 "-Wl,-wrap,pvalloc",
3849 "-Wl,-wrap,realloc",
3850 "-Wl,-wrap,realpath",
3851 "-Wl,-wrap,strdup",
3852 "-Wl,-wrap,strndup",
3853 "-Wl,-wrap,valloc",
3854 "-Wl,-wrap,vasprintf",
3855 ],
3856 target: {
3857 android_arm: {
3858 cflags: [
3859 "-fstack-protector",
3860 ],
3861 },
3862 android_arm64: {
3863 cflags: [
3864 "-fstack-protector",
3865 "-mno-outline",
3866 "-mno-outline-atomics",
3867 ],
3868 },
3869 android_x86: {
3870 cflags: [
3871 "-msse3",
3872 ],
3873 },
3874 android_x86_64: {
3875 cflags: [
3876 "-fstack-protector",
3877 "-msse3",
3878 ],
3879 },
3880 },
3881}
3882
Motomu Utsumie74bab82022-12-16 18:00:12 +09003883// GN: //base:ios_cronet_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003884cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003885 name: "cronet_aml_base_ios_cronet_buildflags",
Motomu Utsumiedf300c2023-01-12 17:52:21 +09003886 cmd: "echo '--flags CRONET_BUILD=\"true\"' | " +
Patrick Rohr98600682022-11-18 18:29:15 -08003887 "$(location build/write_buildflag_header.py) --output " +
3888 "$(out) " +
3889 "--rulename " +
3890 "//base:ios_cronet_buildflags " +
3891 "--gen-dir " +
3892 ". " +
3893 "--definitions " +
3894 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003895 out: [
3896 "base/message_loop/ios_cronet_buildflags.h",
3897 ],
3898 tool_files: [
3899 "build/write_buildflag_header.py",
3900 ],
3901 apex_available: [
3902 "com.android.tethering",
3903 ],
3904}
3905
3906// GN: //base:ios_cronet_buildflags__testing
3907cc_genrule {
3908 name: "cronet_aml_base_ios_cronet_buildflags__testing",
3909 cmd: "echo '--flags CRONET_BUILD=\"true\"' | " +
3910 "$(location build/write_buildflag_header.py) --output " +
3911 "$(out) " +
3912 "--rulename " +
3913 "//base:ios_cronet_buildflags " +
3914 "--gen-dir " +
3915 ". " +
3916 "--definitions " +
3917 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003918 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08003919 out: [
3920 "base/message_loop/ios_cronet_buildflags.h",
3921 ],
3922 tool_files: [
3923 "build/write_buildflag_header.py",
3924 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003925 apex_available: [
3926 "com.android.tethering",
3927 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003928}
3929
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003930// GN: //base:java_features_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00003931java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003932 name: "cronet_aml_base_java_features_srcjar",
3933 srcs: [
3934 "base/android/base_features.cc",
3935 "base/features.cc",
3936 "base/task/task_features.cc",
3937 ],
3938 cmd: "$(location build/android/gyp/java_cpp_features.py) --srcjar " +
Motomu Utsumid7c36772022-12-05 16:04:37 +09003939 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003940 "--template " +
Motomu Utsumid7c36772022-12-05 16:04:37 +09003941 "$(location base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl) " +
3942 "$(location base/android/base_features.cc) " +
3943 "$(location base/features.cc) " +
3944 "$(location base/task/task_features.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003945 out: [
3946 "base/java_features_srcjar.srcjar",
3947 ],
3948 tool_files: [
3949 "base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl",
3950 "build/android/gyp/java_cpp_features.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09003951 "build/android/gyp/util/__init__.py",
3952 "build/android/gyp/util/build_utils.py",
3953 "build/android/gyp/util/java_cpp_utils.py",
3954 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003955 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003956}
3957
3958// GN: //base:java_switches_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00003959java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003960 name: "cronet_aml_base_java_switches_srcjar",
3961 srcs: [
3962 "base/base_switches.cc",
3963 ],
3964 cmd: "$(location build/android/gyp/java_cpp_strings.py) --srcjar " +
Motomu Utsumi3f7ab312022-12-05 16:12:21 +09003965 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003966 "--template " +
Motomu Utsumi3f7ab312022-12-05 16:12:21 +09003967 "$(location base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl) " +
3968 "$(location base/base_switches.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003969 out: [
3970 "base/java_switches_srcjar.srcjar",
3971 ],
3972 tool_files: [
3973 "base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl",
3974 "build/android/gyp/java_cpp_strings.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09003975 "build/android/gyp/util/__init__.py",
3976 "build/android/gyp/util/build_utils.py",
3977 "build/android/gyp/util/java_cpp_utils.py",
3978 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003979 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003980}
3981
Motomu Utsumie74bab82022-12-16 18:00:12 +09003982// GN: //base:logging_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003983cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003984 name: "cronet_aml_base_logging_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003985 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
3986 "$(location build/write_buildflag_header.py) --output " +
3987 "$(out) " +
3988 "--rulename " +
3989 "//base:logging_buildflags " +
3990 "--gen-dir " +
3991 ". " +
3992 "--definitions " +
3993 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003994 out: [
3995 "base/logging_buildflags.h",
3996 ],
3997 tool_files: [
3998 "build/write_buildflag_header.py",
3999 ],
4000 apex_available: [
4001 "com.android.tethering",
4002 ],
4003}
4004
4005// GN: //base:logging_buildflags__testing
4006cc_genrule {
4007 name: "cronet_aml_base_logging_buildflags__testing",
4008 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
4009 "$(location build/write_buildflag_header.py) --output " +
4010 "$(out) " +
4011 "--rulename " +
4012 "//base:logging_buildflags " +
4013 "--gen-dir " +
4014 ". " +
4015 "--definitions " +
4016 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004017 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004018 out: [
4019 "base/logging_buildflags.h",
4020 ],
4021 tool_files: [
4022 "build/write_buildflag_header.py",
4023 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004024 apex_available: [
4025 "com.android.tethering",
4026 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004027}
4028
Motomu Utsumie74bab82022-12-16 18:00:12 +09004029// GN: //base:message_pump_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004030cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004031 name: "cronet_aml_base_message_pump_buildflags",
Patrick Rohr98600682022-11-18 18:29:15 -08004032 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
4033 "$(location build/write_buildflag_header.py) --output " +
4034 "$(out) " +
4035 "--rulename " +
4036 "//base:message_pump_buildflags " +
4037 "--gen-dir " +
4038 ". " +
4039 "--definitions " +
4040 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004041 out: [
4042 "base/message_loop/message_pump_buildflags.h",
4043 ],
4044 tool_files: [
4045 "build/write_buildflag_header.py",
4046 ],
4047 apex_available: [
4048 "com.android.tethering",
4049 ],
4050}
4051
4052// GN: //base:message_pump_buildflags__testing
4053cc_genrule {
4054 name: "cronet_aml_base_message_pump_buildflags__testing",
4055 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
4056 "$(location build/write_buildflag_header.py) --output " +
4057 "$(out) " +
4058 "--rulename " +
4059 "//base:message_pump_buildflags " +
4060 "--gen-dir " +
4061 ". " +
4062 "--definitions " +
4063 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004064 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08004065 out: [
4066 "base/message_loop/message_pump_buildflags.h",
4067 ],
4068 tool_files: [
4069 "build/write_buildflag_header.py",
4070 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004071 apex_available: [
4072 "com.android.tethering",
4073 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004074}
4075
Motomu Utsumic525cb72023-01-27 13:25:41 +09004076// GN: //base:nodebug_assertion
4077cc_object {
4078 name: "cronet_aml_base_nodebug_assertion",
4079 srcs: [
4080 "base/nodebug_assertion.cc",
4081 ],
4082 static_libs: [
4083 "cronet_aml_base_base_static",
4084 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004085 defaults: [
4086 "cronet_aml_defaults",
4087 ],
4088 cflags: [
4089 "-DANDROID",
4090 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4091 "-DBASE_IMPLEMENTATION",
4092 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
4093 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
4094 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
4095 "-DHAVE_SYS_UIO_H",
4096 "-DNDEBUG",
4097 "-DNO_UNWIND_TABLES",
4098 "-DNVALGRIND",
4099 "-DOFFICIAL_BUILD",
4100 "-D_FORTIFY_SOURCE=2",
4101 "-D_GNU_SOURCE",
4102 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4103 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4104 "-D__STDC_CONSTANT_MACROS",
4105 "-D__STDC_FORMAT_MACROS",
4106 "-Oz",
4107 "-fdata-sections",
4108 "-ffunction-sections",
4109 "-fno-asynchronous-unwind-tables",
4110 "-fno-unwind-tables",
4111 "-fvisibility-inlines-hidden",
4112 "-fvisibility=hidden",
4113 "-g1",
4114 ],
4115 local_include_dirs: [
4116 "./",
4117 "buildtools/third_party/libc++/",
4118 "buildtools/third_party/libc++/trunk/include",
4119 "buildtools/third_party/libc++abi/trunk/include",
4120 ],
4121 cpp_std: "c++17",
4122 target: {
4123 android_arm: {
4124 cflags: [
4125 "-fstack-protector",
4126 ],
4127 },
4128 android_arm64: {
4129 cflags: [
4130 "-fstack-protector",
4131 "-mno-outline",
4132 "-mno-outline-atomics",
4133 ],
4134 },
4135 android_x86: {
4136 cflags: [
4137 "-msse3",
4138 ],
4139 },
4140 android_x86_64: {
4141 cflags: [
4142 "-fstack-protector",
4143 "-msse3",
4144 ],
4145 },
4146 },
4147}
4148
4149// GN: //base:nodebug_assertion__testing
4150cc_object {
4151 name: "cronet_aml_base_nodebug_assertion__testing",
4152 srcs: [
4153 "base/nodebug_assertion.cc",
4154 ],
4155 static_libs: [
4156 "cronet_aml_base_base_static__testing",
4157 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004158 host_supported: true,
Motomu Utsumic525cb72023-01-27 13:25:41 +09004159 defaults: [
4160 "cronet_aml_defaults",
4161 ],
4162 cflags: [
Motomu Utsumic525cb72023-01-27 13:25:41 +09004163 "-DBASE_IMPLEMENTATION",
4164 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
4165 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
4166 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004167 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09004168 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004169 "-DNVALGRIND",
4170 "-DOFFICIAL_BUILD",
4171 "-D_FORTIFY_SOURCE=2",
4172 "-D_GNU_SOURCE",
4173 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4174 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4175 "-D__STDC_CONSTANT_MACROS",
4176 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004177 "-fdata-sections",
4178 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09004179 "-fno-asynchronous-unwind-tables",
4180 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004181 "-fvisibility-inlines-hidden",
4182 "-fvisibility=hidden",
4183 "-g1",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004184 ],
4185 local_include_dirs: [
4186 "./",
4187 "buildtools/third_party/libc++/",
4188 "buildtools/third_party/libc++/trunk/include",
4189 "buildtools/third_party/libc++abi/trunk/include",
4190 ],
Motomu Utsumic525cb72023-01-27 13:25:41 +09004191 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09004192 android_arm: {
4193 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004194 "-DANDROID",
4195 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4196 "-DHAVE_SYS_UIO_H",
4197 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004198 "-fstack-protector",
4199 ],
4200 },
4201 android_arm64: {
4202 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004203 "-DANDROID",
4204 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4205 "-DHAVE_SYS_UIO_H",
4206 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004207 "-fstack-protector",
4208 "-mno-outline",
4209 "-mno-outline-atomics",
4210 ],
4211 },
Motomu Utsumic525cb72023-01-27 13:25:41 +09004212 android_x86: {
4213 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004214 "-DANDROID",
4215 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4216 "-DHAVE_SYS_UIO_H",
4217 "-Oz",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004218 "-msse3",
4219 ],
4220 },
4221 android_x86_64: {
4222 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004223 "-DANDROID",
4224 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4225 "-DHAVE_SYS_UIO_H",
4226 "-Oz",
4227 "-fstack-protector",
4228 "-msse3",
4229 ],
4230 },
4231 host: {
4232 cflags: [
4233 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
4234 "-DUSE_AURA=1",
4235 "-DUSE_OZONE=1",
4236 "-DUSE_UDEV",
4237 "-D_FILE_OFFSET_BITS=64",
4238 "-D_LARGEFILE64_SOURCE",
4239 "-D_LARGEFILE_SOURCE",
4240 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004241 "-fstack-protector",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004242 "-msse3",
4243 ],
4244 },
4245 },
4246}
4247
Motomu Utsumie74bab82022-12-16 18:00:12 +09004248// GN: //base:orderfile_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004249cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004250 name: "cronet_aml_base_orderfile_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004251 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
4252 "$(location build/write_buildflag_header.py) --output " +
4253 "$(out) " +
4254 "--rulename " +
4255 "//base:orderfile_buildflags " +
4256 "--gen-dir " +
4257 ". " +
4258 "--definitions " +
4259 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004260 out: [
4261 "base/android/orderfile/orderfile_buildflags.h",
4262 ],
4263 tool_files: [
4264 "build/write_buildflag_header.py",
4265 ],
4266 apex_available: [
4267 "com.android.tethering",
4268 ],
4269}
4270
4271// GN: //base:orderfile_buildflags__testing
4272cc_genrule {
4273 name: "cronet_aml_base_orderfile_buildflags__testing",
4274 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
4275 "$(location build/write_buildflag_header.py) --output " +
4276 "$(out) " +
4277 "--rulename " +
4278 "//base:orderfile_buildflags " +
4279 "--gen-dir " +
4280 ". " +
4281 "--definitions " +
4282 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004283 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004284 out: [
4285 "base/android/orderfile/orderfile_buildflags.h",
4286 ],
4287 tool_files: [
4288 "build/write_buildflag_header.py",
4289 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004290 apex_available: [
4291 "com.android.tethering",
4292 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004293}
4294
Motomu Utsumie74bab82022-12-16 18:00:12 +09004295// GN: //base:parsing_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004296cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004297 name: "cronet_aml_base_parsing_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004298 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
4299 "$(location build/write_buildflag_header.py) --output " +
4300 "$(out) " +
4301 "--rulename " +
4302 "//base:parsing_buildflags " +
4303 "--gen-dir " +
4304 ". " +
4305 "--definitions " +
4306 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004307 out: [
4308 "base/parsing_buildflags.h",
4309 ],
4310 tool_files: [
4311 "build/write_buildflag_header.py",
4312 ],
4313 apex_available: [
4314 "com.android.tethering",
4315 ],
4316}
4317
4318// GN: //base:parsing_buildflags__testing
4319cc_genrule {
4320 name: "cronet_aml_base_parsing_buildflags__testing",
4321 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
4322 "$(location build/write_buildflag_header.py) --output " +
4323 "$(out) " +
4324 "--rulename " +
4325 "//base:parsing_buildflags " +
4326 "--gen-dir " +
4327 ". " +
4328 "--definitions " +
4329 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004330 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004331 out: [
4332 "base/parsing_buildflags.h",
4333 ],
4334 tool_files: [
4335 "build/write_buildflag_header.py",
4336 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004337 apex_available: [
4338 "com.android.tethering",
4339 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004340}
4341
Motomu Utsumie74bab82022-12-16 18:00:12 +09004342// GN: //base:power_monitor_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004343cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004344 name: "cronet_aml_base_power_monitor_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004345 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
4346 "$(location build/write_buildflag_header.py) --output " +
4347 "$(out) " +
4348 "--rulename " +
4349 "//base:power_monitor_buildflags " +
4350 "--gen-dir " +
4351 ". " +
4352 "--definitions " +
4353 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004354 out: [
4355 "base/power_monitor/power_monitor_buildflags.h",
4356 ],
4357 tool_files: [
4358 "build/write_buildflag_header.py",
4359 ],
4360 apex_available: [
4361 "com.android.tethering",
4362 ],
4363}
4364
4365// GN: //base:power_monitor_buildflags__testing
4366cc_genrule {
4367 name: "cronet_aml_base_power_monitor_buildflags__testing",
4368 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
4369 "$(location build/write_buildflag_header.py) --output " +
4370 "$(out) " +
4371 "--rulename " +
4372 "//base:power_monitor_buildflags " +
4373 "--gen-dir " +
4374 ". " +
4375 "--definitions " +
4376 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004377 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004378 out: [
4379 "base/power_monitor/power_monitor_buildflags.h",
4380 ],
4381 tool_files: [
4382 "build/write_buildflag_header.py",
4383 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004384 apex_available: [
4385 "com.android.tethering",
4386 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004387}
4388
Motomu Utsumie74bab82022-12-16 18:00:12 +09004389// GN: //base:profiler_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004390cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004391 name: "cronet_aml_base_profiler_buildflags",
Motomu Utsumi3029ac92022-12-16 18:04:57 +09004392 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
4393 "then " +
4394 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004395 "$(location build/write_buildflag_header.py) --output " +
4396 "$(out) " +
4397 "--rulename " +
4398 "//base:profiler_buildflags " +
4399 "--gen-dir " +
4400 ". " +
4401 "--definitions " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09004402 "/dev/stdin; " +
4403 "fi; " +
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004404 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
4405 "then " +
4406 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4407 "$(location build/write_buildflag_header.py) --output " +
4408 "$(out) " +
4409 "--rulename " +
4410 "//base:profiler_buildflags " +
4411 "--gen-dir " +
4412 ". " +
4413 "--definitions " +
4414 "/dev/stdin; " +
4415 "fi; " +
4416 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
4417 "then " +
4418 "echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4419 "$(location build/write_buildflag_header.py) --output " +
4420 "$(out) " +
4421 "--rulename " +
4422 "//base:profiler_buildflags " +
4423 "--gen-dir " +
4424 ". " +
4425 "--definitions " +
4426 "/dev/stdin; " +
4427 "fi; " +
4428 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
4429 "then " +
4430 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4431 "$(location build/write_buildflag_header.py) --output " +
4432 "$(out) " +
4433 "--rulename " +
4434 "//base:profiler_buildflags " +
4435 "--gen-dir " +
4436 ". " +
4437 "--definitions " +
4438 "/dev/stdin; " +
4439 "fi;",
4440 out: [
4441 "base/profiler/profiler_buildflags.h",
4442 ],
4443 tool_files: [
4444 "build/write_buildflag_header.py",
4445 ],
4446 apex_available: [
4447 "com.android.tethering",
4448 ],
4449}
4450
4451// GN: //base:profiler_buildflags__testing
4452cc_genrule {
4453 name: "cronet_aml_base_profiler_buildflags__testing",
4454 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
4455 "then " +
4456 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4457 "$(location build/write_buildflag_header.py) --output " +
4458 "$(out) " +
4459 "--rulename " +
4460 "//base:profiler_buildflags " +
4461 "--gen-dir " +
4462 ". " +
4463 "--definitions " +
4464 "/dev/stdin; " +
4465 "fi; " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004466 "if [[ $$CC_OS != 'android' ]]; " +
4467 "then " +
4468 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4469 "$(location build/write_buildflag_header.py) --output " +
4470 "$(out) " +
4471 "--rulename " +
4472 "//base:profiler_buildflags " +
4473 "--gen-dir " +
4474 ". " +
4475 "--definitions " +
4476 "/dev/stdin; " +
4477 "fi; " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09004478 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
4479 "then " +
4480 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4481 "$(location build/write_buildflag_header.py) --output " +
4482 "$(out) " +
4483 "--rulename " +
4484 "//base:profiler_buildflags " +
4485 "--gen-dir " +
4486 ". " +
4487 "--definitions " +
4488 "/dev/stdin; " +
4489 "fi; " +
4490 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
4491 "then " +
4492 "echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4493 "$(location build/write_buildflag_header.py) --output " +
4494 "$(out) " +
4495 "--rulename " +
4496 "//base:profiler_buildflags " +
4497 "--gen-dir " +
4498 ". " +
4499 "--definitions " +
4500 "/dev/stdin; " +
4501 "fi; " +
4502 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
4503 "then " +
4504 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4505 "$(location build/write_buildflag_header.py) --output " +
4506 "$(out) " +
4507 "--rulename " +
4508 "//base:profiler_buildflags " +
4509 "--gen-dir " +
4510 ". " +
4511 "--definitions " +
4512 "/dev/stdin; " +
4513 "fi;",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004514 host_supported: true,
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004515 out: [
4516 "base/profiler/profiler_buildflags.h",
4517 ],
4518 tool_files: [
4519 "build/write_buildflag_header.py",
4520 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004521 apex_available: [
4522 "com.android.tethering",
4523 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004524}
4525
Motomu Utsumie74bab82022-12-16 18:00:12 +09004526// GN: //base:sanitizer_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004527cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004528 name: "cronet_aml_base_sanitizer_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004529 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
4530 "$(location build/write_buildflag_header.py) --output " +
4531 "$(out) " +
4532 "--rulename " +
4533 "//base:sanitizer_buildflags " +
4534 "--gen-dir " +
4535 ". " +
4536 "--definitions " +
4537 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004538 out: [
4539 "base/sanitizer_buildflags.h",
4540 ],
4541 tool_files: [
4542 "build/write_buildflag_header.py",
4543 ],
4544 apex_available: [
4545 "com.android.tethering",
4546 ],
4547}
4548
4549// GN: //base:sanitizer_buildflags__testing
4550cc_genrule {
4551 name: "cronet_aml_base_sanitizer_buildflags__testing",
4552 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
4553 "$(location build/write_buildflag_header.py) --output " +
4554 "$(out) " +
4555 "--rulename " +
4556 "//base:sanitizer_buildflags " +
4557 "--gen-dir " +
4558 ". " +
4559 "--definitions " +
4560 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004561 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004562 out: [
4563 "base/sanitizer_buildflags.h",
4564 ],
4565 tool_files: [
4566 "build/write_buildflag_header.py",
4567 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004568 apex_available: [
4569 "com.android.tethering",
4570 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004571}
4572
Motomu Utsumie74bab82022-12-16 18:00:12 +09004573// GN: //base:synchronization_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004574cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004575 name: "cronet_aml_base_synchronization_buildflags",
Patrick Rohr98600682022-11-18 18:29:15 -08004576 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
4577 "$(location build/write_buildflag_header.py) --output " +
4578 "$(out) " +
4579 "--rulename " +
4580 "//base:synchronization_buildflags " +
4581 "--gen-dir " +
4582 ". " +
4583 "--definitions " +
4584 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004585 out: [
4586 "base/synchronization/synchronization_buildflags.h",
4587 ],
4588 tool_files: [
4589 "build/write_buildflag_header.py",
4590 ],
4591 apex_available: [
4592 "com.android.tethering",
4593 ],
4594}
4595
4596// GN: //base:synchronization_buildflags__testing
4597cc_genrule {
4598 name: "cronet_aml_base_synchronization_buildflags__testing",
4599 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
4600 "$(location build/write_buildflag_header.py) --output " +
4601 "$(out) " +
4602 "--rulename " +
4603 "//base:synchronization_buildflags " +
4604 "--gen-dir " +
4605 ". " +
4606 "--definitions " +
4607 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004608 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08004609 out: [
4610 "base/synchronization/synchronization_buildflags.h",
4611 ],
4612 tool_files: [
4613 "build/write_buildflag_header.py",
4614 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004615 apex_available: [
4616 "com.android.tethering",
4617 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004618}
4619
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004620// GN: //base/test:base_unittests_jni_headers__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004621cc_genrule {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004622 name: "cronet_aml_base_test_base_unittests_jni_headers__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004623 srcs: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004624 "base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java",
4625 "base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java",
4626 ],
4627 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
4628 "long " +
4629 "--output_dir " +
4630 "$(genDir)/base/test/base_unittests_jni_headers " +
4631 "--includes " +
4632 "base/android/jni_generator/jni_generator_helper.h " +
4633 "--use_proxy_hash " +
4634 "--output_name " +
4635 "ContentUriTestUtils_jni.h " +
4636 "--output_name " +
4637 "JavaHandlerThreadHelpers_jni.h " +
4638 "--input_file " +
4639 "$(location base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java) " +
4640 "--input_file " +
4641 "$(location base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java) " +
4642 "--package_prefix " +
4643 "android.net.http.internal",
4644 out: [
4645 "base/test/base_unittests_jni_headers/ContentUriTestUtils_jni.h",
4646 "base/test/base_unittests_jni_headers/JavaHandlerThreadHelpers_jni.h",
4647 ],
4648 tool_files: [
4649 "base/android/jni_generator/android_jar.classes",
4650 "base/android/jni_generator/jni_generator.py",
4651 "build/android/gyp/util/__init__.py",
4652 "build/android/gyp/util/build_utils.py",
4653 "build/gn_helpers.py",
4654 ],
4655 apex_available: [
4656 "com.android.tethering",
4657 ],
4658}
4659
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004660// GN: //base/test:test_config__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004661cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004662 name: "cronet_aml_base_test_test_config__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004663 srcs: [
4664 "base/test/test_switches.cc",
4665 "base/test/test_timeouts.cc",
4666 ],
4667 shared_libs: [
4668 "libandroid",
4669 "liblog",
4670 ],
4671 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004672 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
4673 "cronet_aml_base_base__testing",
4674 "cronet_aml_base_base_static__testing",
4675 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
4676 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
4677 "cronet_aml_third_party_boringssl_boringssl__testing",
4678 "cronet_aml_third_party_icu_icui18n__testing",
4679 "cronet_aml_third_party_icu_icuuc_private__testing",
4680 "cronet_aml_third_party_libevent_libevent__testing",
4681 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004682 ],
4683 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004684 "cronet_aml_base_clang_profiling_buildflags__testing",
4685 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004686 ],
4687 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004688 "cronet_aml_base_clang_profiling_buildflags__testing",
4689 "cronet_aml_build_chromeos_buildflags__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004690 ],
4691 defaults: [
4692 "cronet_aml_defaults",
4693 ],
4694 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004695 "-DANDROID",
4696 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09004697 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
4698 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004699 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004700 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004701 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09004702 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004703 "-DNVALGRIND",
4704 "-DOFFICIAL_BUILD",
4705 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004706 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004707 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004708 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4709 "-D__STDC_CONSTANT_MACROS",
4710 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004711 "-Oz",
4712 "-fdata-sections",
4713 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09004714 "-fno-asynchronous-unwind-tables",
4715 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004716 "-fvisibility-inlines-hidden",
4717 "-fvisibility=hidden",
4718 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004719 ],
4720 local_include_dirs: [
4721 "./",
4722 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07004723 "buildtools/third_party/libc++/trunk/include",
4724 "buildtools/third_party/libc++abi/trunk/include",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004725 "third_party/abseil-cpp/",
4726 "third_party/boringssl/src/include/",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004727 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09004728 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09004729 ldflags: [
4730 "-Wl,--as-needed",
4731 "-Wl,--gc-sections",
4732 "-Wl,--icf=all",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004733 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
4734 "-Wl,-wrap,asprintf",
4735 "-Wl,-wrap,calloc",
4736 "-Wl,-wrap,free",
4737 "-Wl,-wrap,getcwd",
4738 "-Wl,-wrap,malloc",
4739 "-Wl,-wrap,malloc_usable_size",
4740 "-Wl,-wrap,memalign",
4741 "-Wl,-wrap,posix_memalign",
4742 "-Wl,-wrap,pvalloc",
4743 "-Wl,-wrap,realloc",
4744 "-Wl,-wrap,realpath",
4745 "-Wl,-wrap,strdup",
4746 "-Wl,-wrap,strndup",
4747 "-Wl,-wrap,valloc",
4748 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09004749 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09004750 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09004751 android_arm: {
4752 cflags: [
4753 "-fstack-protector",
4754 ],
4755 },
4756 android_arm64: {
4757 cflags: [
4758 "-fstack-protector",
4759 "-mno-outline",
4760 "-mno-outline-atomics",
4761 ],
4762 },
Motomu Utsumi65501182022-11-18 15:26:35 +09004763 android_x86: {
4764 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004765 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09004766 ],
4767 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09004768 android_x86_64: {
4769 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09004770 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004771 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09004772 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09004773 },
4774 },
Patrick Rohrcc377df2022-10-28 09:27:15 -07004775}
4776
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004777// GN: //base/test:test_support__testing
Patrick Rohrcc377df2022-10-28 09:27:15 -07004778cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004779 name: "cronet_aml_base_test_test_support__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004780 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004781 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
4782 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
4783 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
4784 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
4785 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
4786 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
4787 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
4788 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
4789 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
4790 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
4791 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
4792 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
4793 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
4794 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
4795 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
4796 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
4797 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
4798 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
4799 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
4800 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
4801 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
4802 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
4803 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
4804 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
4805 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
4806 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
4807 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
4808 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
4809 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
4810 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
4811 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
4812 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
4813 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
4814 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
4815 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
4816 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
4817 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
4818 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
4819 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
4820 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
4821 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
4822 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
4823 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
4824 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
4825 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
4826 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
4827 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
4828 ":cronet_aml_third_party_googletest_gmock__testing",
4829 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004830 "base/task/sequence_manager/test/fake_task.cc",
4831 "base/task/sequence_manager/test/mock_time_domain.cc",
4832 "base/task/sequence_manager/test/mock_time_message_pump.cc",
4833 "base/task/sequence_manager/test/sequence_manager_for_test.cc",
4834 "base/task/sequence_manager/test/test_task_queue.cc",
4835 "base/test/android/java_handler_thread_helpers.cc",
4836 "base/test/android/url_utils.cc",
4837 "base/test/bind.cc",
4838 "base/test/copy_only_int.cc",
4839 "base/test/gtest_links.cc",
4840 "base/test/gtest_util.cc",
4841 "base/test/gtest_xml_unittest_result_printer.cc",
4842 "base/test/gtest_xml_util.cc",
4843 "base/test/icu_test_util.cc",
4844 "base/test/launcher/test_launcher.cc",
4845 "base/test/launcher/test_launcher_test_utils.cc",
4846 "base/test/launcher/test_launcher_tracer.cc",
4847 "base/test/launcher/test_result.cc",
4848 "base/test/launcher/test_results_tracker.cc",
4849 "base/test/launcher/unit_test_launcher.cc",
4850 "base/test/metrics/histogram_enum_reader.cc",
4851 "base/test/metrics/histogram_tester.cc",
4852 "base/test/metrics/user_action_tester.cc",
4853 "base/test/mock_devices_changed_observer.cc",
4854 "base/test/mock_entropy_provider.cc",
4855 "base/test/mock_log.cc",
4856 "base/test/multiprocess_test.cc",
4857 "base/test/multiprocess_test_android.cc",
4858 "base/test/null_task_runner.cc",
4859 "base/test/perf_log.cc",
4860 "base/test/perf_test_suite.cc",
4861 "base/test/perf_time_logger.cc",
4862 "base/test/power_monitor_test.cc",
4863 "base/test/power_monitor_test_utils.cc",
4864 "base/test/reached_code_profiler_android.cc",
4865 "base/test/scoped_command_line.cc",
4866 "base/test/scoped_feature_list.cc",
4867 "base/test/scoped_locale.cc",
4868 "base/test/scoped_mock_clock_override.cc",
4869 "base/test/scoped_mock_time_message_loop_task_runner.cc",
4870 "base/test/scoped_path_override.cc",
4871 "base/test/scoped_run_loop_timeout.cc",
4872 "base/test/sequenced_task_runner_test_template.cc",
4873 "base/test/simple_test_clock.cc",
4874 "base/test/simple_test_tick_clock.cc",
4875 "base/test/task_environment.cc",
4876 "base/test/task_runner_test_template.cc",
4877 "base/test/test_discardable_memory_allocator.cc",
4878 "base/test/test_file_util.cc",
4879 "base/test/test_file_util_android.cc",
4880 "base/test/test_file_util_linux.cc",
4881 "base/test/test_file_util_posix.cc",
4882 "base/test/test_io_thread.cc",
4883 "base/test/test_message_loop.cc",
4884 "base/test/test_mock_time_task_runner.cc",
4885 "base/test/test_pending_task.cc",
4886 "base/test/test_shared_memory_util.cc",
4887 "base/test/test_simple_task_runner.cc",
4888 "base/test/test_suite.cc",
4889 "base/test/test_support_android.cc",
4890 "base/test/test_waitable_event.cc",
4891 "base/test/thread_pool_test_helpers_android.cc",
4892 "base/test/thread_test_helper.cc",
4893 "base/test/values_test_util.cc",
4894 "base/test/with_feature_override.cc",
4895 "base/timer/mock_timer.cc",
4896 ],
4897 shared_libs: [
4898 "libandroid",
4899 "liblog",
4900 "libz",
4901 ],
4902 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004903 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
4904 "cronet_aml_base_base__testing",
4905 "cronet_aml_base_base_static__testing",
4906 "cronet_aml_base_i18n__testing",
4907 "cronet_aml_base_test_test_config__testing",
4908 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
4909 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
4910 "cronet_aml_testing_gtest_gtest__testing",
4911 "cronet_aml_third_party_boringssl_boringssl__testing",
4912 "cronet_aml_third_party_ced_ced__testing",
4913 "cronet_aml_third_party_icu_icui18n__testing",
4914 "cronet_aml_third_party_icu_icuuc_private__testing",
4915 "cronet_aml_third_party_libevent_libevent__testing",
4916 "cronet_aml_third_party_libxml_libxml__testing",
4917 "cronet_aml_third_party_libxml_libxml_utils__testing",
4918 "cronet_aml_third_party_libxml_xml_reader__testing",
4919 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004920 ],
4921 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004922 "cronet_aml_base_debugging_buildflags__testing",
4923 "cronet_aml_base_logging_buildflags__testing",
4924 "cronet_aml_base_test_base_unittests_jni_headers__testing",
4925 "cronet_aml_base_test_test_support_jni_headers__testing",
4926 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004927 ],
4928 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004929 "cronet_aml_base_debugging_buildflags__testing",
4930 "cronet_aml_base_logging_buildflags__testing",
4931 "cronet_aml_base_test_base_unittests_jni_headers__testing",
4932 "cronet_aml_base_test_test_support_jni_headers__testing",
4933 "cronet_aml_build_chromeos_buildflags__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004934 ],
4935 defaults: [
4936 "cronet_aml_defaults",
4937 ],
4938 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004939 "-DANDROID",
4940 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09004941 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
4942 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004943 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004944 "-DGTEST_API_=",
4945 "-DGTEST_HAS_ABSL=1",
4946 "-DGTEST_HAS_POSIX_RE=0",
4947 "-DGTEST_HAS_TR1_TUPLE=0",
4948 "-DGTEST_LANG_CXX11=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004949 "-DHAVE_SYS_UIO_H",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004950 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
4951 "-DNDEBUG",
4952 "-DNO_UNWIND_TABLES",
4953 "-DNVALGRIND",
4954 "-DOFFICIAL_BUILD",
4955 "-DUNIT_TEST",
4956 "-DUSE_CHROMIUM_ICU=1",
4957 "-DU_ENABLE_DYLOAD=0",
4958 "-DU_ENABLE_RESOURCE_TRACING=0",
4959 "-DU_ENABLE_TRACING=1",
4960 "-DU_STATIC_IMPLEMENTATION",
4961 "-DU_USING_ICU_NAMESPACE=0",
4962 "-D_FORTIFY_SOURCE=2",
4963 "-D_GNU_SOURCE",
4964 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4965 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4966 "-D__STDC_CONSTANT_MACROS",
4967 "-D__STDC_FORMAT_MACROS",
4968 "-Oz",
4969 "-fdata-sections",
4970 "-ffunction-sections",
4971 "-fno-asynchronous-unwind-tables",
4972 "-fno-unwind-tables",
4973 "-fvisibility-inlines-hidden",
4974 "-fvisibility=hidden",
4975 "-g1",
4976 ],
4977 local_include_dirs: [
4978 "./",
4979 "buildtools/third_party/libc++/",
4980 "buildtools/third_party/libc++/trunk/include",
4981 "buildtools/third_party/libc++abi/trunk/include",
4982 "third_party/abseil-cpp/",
4983 "third_party/boringssl/src/include/",
4984 "third_party/ced/src/",
4985 "third_party/googletest/custom/",
4986 "third_party/googletest/src/googlemock/include/",
4987 "third_party/googletest/src/googletest/include/",
4988 "third_party/icu/source/common/",
4989 "third_party/icu/source/i18n/",
4990 "third_party/libxml/linux/include/",
4991 "third_party/libxml/src/include/",
4992 ],
4993 cpp_std: "c++17",
4994 ldflags: [
4995 "-Wl,--as-needed",
4996 "-Wl,--gc-sections",
4997 "-Wl,--icf=all",
4998 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
4999 "-Wl,-wrap,asprintf",
5000 "-Wl,-wrap,calloc",
5001 "-Wl,-wrap,free",
5002 "-Wl,-wrap,getcwd",
5003 "-Wl,-wrap,malloc",
5004 "-Wl,-wrap,malloc_usable_size",
5005 "-Wl,-wrap,memalign",
5006 "-Wl,-wrap,posix_memalign",
5007 "-Wl,-wrap,pvalloc",
5008 "-Wl,-wrap,realloc",
5009 "-Wl,-wrap,realpath",
5010 "-Wl,-wrap,strdup",
5011 "-Wl,-wrap,strndup",
5012 "-Wl,-wrap,valloc",
5013 "-Wl,-wrap,vasprintf",
5014 ],
5015 target: {
5016 android_arm: {
5017 cflags: [
5018 "-fstack-protector",
5019 ],
5020 },
5021 android_arm64: {
5022 cflags: [
5023 "-fstack-protector",
5024 "-mno-outline",
5025 "-mno-outline-atomics",
5026 ],
5027 },
5028 android_x86: {
5029 cflags: [
5030 "-msse3",
5031 ],
5032 },
5033 android_x86_64: {
5034 cflags: [
5035 "-fstack-protector",
5036 "-msse3",
5037 ],
5038 },
5039 },
5040}
5041
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005042// GN: //base/test:test_support_jni_headers__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005043cc_genrule {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005044 name: "cronet_aml_base_test_test_support_jni_headers__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005045 srcs: [
5046 "base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java",
5047 "base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java",
5048 "base/test/android/javatests/src/org/chromium/base/test/ReachedCodeProfiler.java",
5049 "base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java",
5050 "base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java",
5051 ],
5052 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
5053 "long " +
5054 "--output_dir " +
5055 "$(genDir)/base/test/test_support_jni_headers " +
5056 "--includes " +
5057 "base/android/jni_generator/jni_generator_helper.h " +
5058 "--use_proxy_hash " +
5059 "--output_name " +
5060 "MainReturnCodeResult_jni.h " +
5061 "--output_name " +
5062 "MultiprocessTestClientLauncher_jni.h " +
5063 "--output_name " +
5064 "ReachedCodeProfiler_jni.h " +
5065 "--output_name " +
5066 "ThreadPoolTestHelpers_jni.h " +
5067 "--output_name " +
5068 "UrlUtils_jni.h " +
5069 "--input_file " +
5070 "$(location base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java) " +
5071 "--input_file " +
5072 "$(location base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java) " +
5073 "--input_file " +
5074 "$(location base/test/android/javatests/src/org/chromium/base/test/ReachedCodeProfiler.java) " +
5075 "--input_file " +
5076 "$(location base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java) " +
5077 "--input_file " +
5078 "$(location base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java) " +
5079 "--package_prefix " +
5080 "android.net.http.internal",
5081 out: [
5082 "base/test/test_support_jni_headers/MainReturnCodeResult_jni.h",
5083 "base/test/test_support_jni_headers/MultiprocessTestClientLauncher_jni.h",
5084 "base/test/test_support_jni_headers/ReachedCodeProfiler_jni.h",
5085 "base/test/test_support_jni_headers/ThreadPoolTestHelpers_jni.h",
5086 "base/test/test_support_jni_headers/UrlUtils_jni.h",
5087 ],
5088 tool_files: [
5089 "base/android/jni_generator/android_jar.classes",
5090 "base/android/jni_generator/jni_generator.py",
5091 "build/android/gyp/util/__init__.py",
5092 "build/android/gyp/util/build_utils.py",
5093 "build/gn_helpers.py",
5094 ],
5095 apex_available: [
5096 "com.android.tethering",
5097 ],
5098}
5099
5100// GN: //base/third_party/double_conversion:double_conversion
5101cc_library_static {
5102 name: "cronet_aml_base_third_party_double_conversion_double_conversion",
5103 srcs: [
5104 "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
5105 "base/third_party/double_conversion/double-conversion/bignum.cc",
5106 "base/third_party/double_conversion/double-conversion/cached-powers.cc",
5107 "base/third_party/double_conversion/double-conversion/double-to-string.cc",
5108 "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
5109 "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
5110 "base/third_party/double_conversion/double-conversion/string-to-double.cc",
5111 "base/third_party/double_conversion/double-conversion/strtod.cc",
5112 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005113 defaults: [
5114 "cronet_aml_defaults",
5115 ],
5116 cflags: [
5117 "-DANDROID",
5118 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5119 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5120 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5121 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5122 "-DHAVE_SYS_UIO_H",
5123 "-DNDEBUG",
5124 "-DNO_UNWIND_TABLES",
5125 "-DNVALGRIND",
5126 "-DOFFICIAL_BUILD",
5127 "-D_FORTIFY_SOURCE=2",
5128 "-D_GNU_SOURCE",
5129 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5130 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5131 "-D__STDC_CONSTANT_MACROS",
5132 "-D__STDC_FORMAT_MACROS",
5133 "-Oz",
5134 "-fdata-sections",
5135 "-ffunction-sections",
5136 "-fno-asynchronous-unwind-tables",
5137 "-fno-unwind-tables",
5138 "-fvisibility-inlines-hidden",
5139 "-fvisibility=hidden",
5140 "-g1",
5141 ],
5142 local_include_dirs: [
5143 "./",
5144 "buildtools/third_party/libc++/",
5145 "buildtools/third_party/libc++/trunk/include",
5146 "buildtools/third_party/libc++abi/trunk/include",
5147 ],
5148 cpp_std: "c++17",
5149 ldflags: [
5150 "-Wl,--as-needed",
5151 "-Wl,--gc-sections",
5152 "-Wl,--icf=all",
5153 ],
5154 target: {
5155 android_arm: {
5156 cflags: [
5157 "-fstack-protector",
5158 ],
5159 },
5160 android_arm64: {
5161 cflags: [
5162 "-fstack-protector",
5163 "-mno-outline",
5164 "-mno-outline-atomics",
5165 ],
5166 },
5167 android_x86: {
5168 cflags: [
5169 "-msse3",
5170 ],
5171 },
5172 android_x86_64: {
5173 cflags: [
5174 "-fstack-protector",
5175 "-msse3",
5176 ],
5177 },
5178 },
5179}
5180
5181// GN: //base/third_party/double_conversion:double_conversion__testing
5182cc_library_static {
5183 name: "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
5184 srcs: [
5185 "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
5186 "base/third_party/double_conversion/double-conversion/bignum.cc",
5187 "base/third_party/double_conversion/double-conversion/cached-powers.cc",
5188 "base/third_party/double_conversion/double-conversion/double-to-string.cc",
5189 "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
5190 "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
5191 "base/third_party/double_conversion/double-conversion/string-to-double.cc",
5192 "base/third_party/double_conversion/double-conversion/strtod.cc",
5193 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005194 host_supported: true,
5195 defaults: [
5196 "cronet_aml_defaults",
5197 ],
5198 cflags: [
5199 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5200 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5201 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5202 "-DNDEBUG",
5203 "-DNO_UNWIND_TABLES",
5204 "-DNVALGRIND",
5205 "-DOFFICIAL_BUILD",
5206 "-D_FORTIFY_SOURCE=2",
5207 "-D_GNU_SOURCE",
5208 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5209 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5210 "-D__STDC_CONSTANT_MACROS",
5211 "-D__STDC_FORMAT_MACROS",
5212 "-fdata-sections",
5213 "-ffunction-sections",
5214 "-fno-asynchronous-unwind-tables",
5215 "-fno-unwind-tables",
5216 "-fvisibility-inlines-hidden",
5217 "-fvisibility=hidden",
5218 "-g1",
5219 ],
5220 local_include_dirs: [
5221 "./",
5222 "buildtools/third_party/libc++/",
5223 "buildtools/third_party/libc++/trunk/include",
5224 "buildtools/third_party/libc++abi/trunk/include",
5225 ],
5226 ldflags: [
5227 "-Wl,--as-needed",
5228 "-Wl,--gc-sections",
5229 "-Wl,--icf=all",
5230 ],
5231 target: {
5232 android_arm: {
5233 cflags: [
5234 "-DANDROID",
5235 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5236 "-DHAVE_SYS_UIO_H",
5237 "-Oz",
5238 "-fstack-protector",
5239 ],
5240 },
5241 android_arm64: {
5242 cflags: [
5243 "-DANDROID",
5244 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5245 "-DHAVE_SYS_UIO_H",
5246 "-Oz",
5247 "-fstack-protector",
5248 "-mno-outline",
5249 "-mno-outline-atomics",
5250 ],
5251 },
5252 android_x86: {
5253 cflags: [
5254 "-DANDROID",
5255 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5256 "-DHAVE_SYS_UIO_H",
5257 "-Oz",
5258 "-msse3",
5259 ],
5260 },
5261 android_x86_64: {
5262 cflags: [
5263 "-DANDROID",
5264 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5265 "-DHAVE_SYS_UIO_H",
5266 "-Oz",
5267 "-fstack-protector",
5268 "-msse3",
5269 ],
5270 },
5271 host: {
5272 cflags: [
5273 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5274 "-DUSE_AURA=1",
5275 "-DUSE_OZONE=1",
5276 "-DUSE_UDEV",
5277 "-D_FILE_OFFSET_BITS=64",
5278 "-D_LARGEFILE64_SOURCE",
5279 "-D_LARGEFILE_SOURCE",
5280 "-O2",
5281 "-fstack-protector",
5282 "-msse3",
5283 ],
5284 },
5285 },
5286}
5287
5288// GN: //base/third_party/dynamic_annotations:dynamic_annotations
5289cc_library_static {
5290 name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
5291 srcs: [
5292 "base/third_party/dynamic_annotations/dynamic_annotations.c",
5293 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005294 defaults: [
5295 "cronet_aml_defaults",
5296 ],
5297 cflags: [
5298 "-DANDROID",
5299 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5300 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5301 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5302 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5303 "-DHAVE_SYS_UIO_H",
5304 "-DNDEBUG",
5305 "-DNO_UNWIND_TABLES",
5306 "-DNVALGRIND",
5307 "-DOFFICIAL_BUILD",
5308 "-D_GNU_SOURCE",
5309 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5310 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5311 "-O2",
5312 "-fdata-sections",
5313 "-ffunction-sections",
5314 "-fno-asynchronous-unwind-tables",
5315 "-fno-unwind-tables",
5316 "-fvisibility-inlines-hidden",
5317 "-fvisibility=hidden",
5318 "-g1",
5319 ],
5320 local_include_dirs: [
5321 "./",
5322 "buildtools/third_party/libc++/",
5323 "buildtools/third_party/libc++/trunk/include",
5324 "buildtools/third_party/libc++abi/trunk/include",
5325 ],
5326 cpp_std: "c++17",
5327 ldflags: [
5328 "-Wl,--as-needed",
5329 "-Wl,--gc-sections",
5330 "-Wl,--icf=all",
5331 ],
5332 target: {
5333 android_arm: {
5334 cflags: [
5335 "-fstack-protector",
5336 ],
5337 },
5338 android_arm64: {
5339 cflags: [
5340 "-fstack-protector",
5341 "-mno-outline",
5342 "-mno-outline-atomics",
5343 ],
5344 },
5345 android_x86: {
5346 cflags: [
5347 "-msse3",
5348 ],
5349 },
5350 android_x86_64: {
5351 cflags: [
5352 "-fstack-protector",
5353 "-msse3",
5354 ],
5355 },
5356 },
5357}
5358
5359// GN: //base/third_party/dynamic_annotations:dynamic_annotations__testing
5360cc_library_static {
5361 name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
5362 srcs: [
5363 "base/third_party/dynamic_annotations/dynamic_annotations.c",
5364 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005365 host_supported: true,
5366 defaults: [
5367 "cronet_aml_defaults",
5368 ],
5369 cflags: [
5370 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5371 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5372 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09005373 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09005374 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09005375 "-DNVALGRIND",
5376 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005377 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005378 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005379 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005380 "-O2",
5381 "-fdata-sections",
5382 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09005383 "-fno-asynchronous-unwind-tables",
5384 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005385 "-fvisibility-inlines-hidden",
5386 "-fvisibility=hidden",
5387 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005388 ],
5389 local_include_dirs: [
5390 "./",
5391 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005392 "buildtools/third_party/libc++/trunk/include",
5393 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohr81a4ac32022-11-15 14:38:21 -08005394 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09005395 ldflags: [
5396 "-Wl,--as-needed",
5397 "-Wl,--gc-sections",
5398 "-Wl,--icf=all",
5399 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09005400 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09005401 android_arm: {
5402 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005403 "-DANDROID",
5404 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5405 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005406 "-fstack-protector",
5407 ],
5408 },
5409 android_arm64: {
5410 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005411 "-DANDROID",
5412 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5413 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005414 "-fstack-protector",
5415 "-mno-outline",
5416 "-mno-outline-atomics",
5417 ],
5418 },
Motomu Utsumi65501182022-11-18 15:26:35 +09005419 android_x86: {
5420 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005421 "-DANDROID",
5422 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5423 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005424 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09005425 ],
5426 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09005427 android_x86_64: {
5428 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005429 "-DANDROID",
5430 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5431 "-DHAVE_SYS_UIO_H",
5432 "-fstack-protector",
5433 "-msse3",
5434 ],
5435 },
5436 host: {
5437 cflags: [
5438 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5439 "-DUSE_AURA=1",
5440 "-DUSE_OZONE=1",
5441 "-DUSE_UDEV",
5442 "-D_FILE_OFFSET_BITS=64",
5443 "-D_LARGEFILE64_SOURCE",
5444 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005445 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005446 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09005447 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09005448 },
5449 },
Patrick Rohr81a4ac32022-11-15 14:38:21 -08005450}
5451
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005452// GN: //base/third_party/symbolize:symbolize__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005453cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005454 name: "cronet_aml_base_third_party_symbolize_symbolize__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005455 srcs: [
5456 "base/third_party/symbolize/demangle.cc",
5457 "base/third_party/symbolize/symbolize.cc",
5458 ],
5459 host_supported: true,
5460 device_supported: false,
5461 defaults: [
5462 "cronet_aml_defaults",
5463 ],
5464 cflags: [
5465 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5466 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5467 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5468 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5469 "-DGLOG_EXPORT=",
5470 "-DNDEBUG",
5471 "-DNO_UNWIND_TABLES",
5472 "-DNVALGRIND",
5473 "-DOFFICIAL_BUILD",
5474 "-DUSE_AURA=1",
5475 "-DUSE_OZONE=1",
5476 "-DUSE_UDEV",
5477 "-D_FILE_OFFSET_BITS=64",
5478 "-D_GNU_SOURCE",
5479 "-D_LARGEFILE64_SOURCE",
5480 "-D_LARGEFILE_SOURCE",
5481 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5482 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5483 "-O2",
5484 "-fdata-sections",
5485 "-ffunction-sections",
5486 "-fno-asynchronous-unwind-tables",
5487 "-fno-unwind-tables",
5488 "-fstack-protector",
5489 "-fvisibility-inlines-hidden",
5490 "-fvisibility=hidden",
5491 "-g1",
5492 "-msse3",
5493 ],
5494 local_include_dirs: [
5495 "./",
5496 "buildtools/third_party/libc++/",
5497 "buildtools/third_party/libc++/trunk/include",
5498 "buildtools/third_party/libc++abi/trunk/include",
5499 ],
5500 cpp_std: "c++20",
5501 ldflags: [
5502 "-Wl,--as-needed",
5503 "-Wl,--gc-sections",
5504 "-Wl,--icf=all",
5505 ],
5506}
5507
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005508// GN: //base/third_party/xdg_mime:xdg_mime__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005509cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005510 name: "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005511 srcs: [
5512 "base/third_party/xdg_mime/xdgmime.c",
5513 "base/third_party/xdg_mime/xdgmimealias.c",
5514 "base/third_party/xdg_mime/xdgmimecache.c",
5515 "base/third_party/xdg_mime/xdgmimeglob.c",
5516 "base/third_party/xdg_mime/xdgmimeicon.c",
5517 "base/third_party/xdg_mime/xdgmimeint.c",
5518 "base/third_party/xdg_mime/xdgmimemagic.c",
5519 "base/third_party/xdg_mime/xdgmimeparent.c",
5520 ],
5521 host_supported: true,
5522 device_supported: false,
5523 defaults: [
5524 "cronet_aml_defaults",
5525 ],
5526 cflags: [
5527 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5528 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5529 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5530 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5531 "-DNDEBUG",
5532 "-DNO_UNWIND_TABLES",
5533 "-DNVALGRIND",
5534 "-DOFFICIAL_BUILD",
5535 "-DUSE_AURA=1",
5536 "-DUSE_OZONE=1",
5537 "-DUSE_UDEV",
5538 "-D_FILE_OFFSET_BITS=64",
5539 "-D_GNU_SOURCE",
5540 "-D_LARGEFILE64_SOURCE",
5541 "-D_LARGEFILE_SOURCE",
5542 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5543 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5544 "-O2",
5545 "-fdata-sections",
5546 "-ffunction-sections",
5547 "-fno-asynchronous-unwind-tables",
5548 "-fno-unwind-tables",
5549 "-fstack-protector",
5550 "-fvisibility-inlines-hidden",
5551 "-fvisibility=hidden",
5552 "-g1",
5553 "-msse3",
5554 ],
5555 local_include_dirs: [
5556 "./",
5557 "buildtools/third_party/libc++/",
5558 "buildtools/third_party/libc++/trunk/include",
5559 "buildtools/third_party/libc++abi/trunk/include",
5560 ],
5561 cpp_std: "c++20",
5562 ldflags: [
5563 "-Wl,--as-needed",
5564 "-Wl,--gc-sections",
5565 "-Wl,--icf=all",
5566 ],
5567}
5568
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005569// GN: //base/third_party/xdg_user_dirs:xdg_user_dirs__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005570cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005571 name: "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005572 srcs: [
5573 "base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc",
5574 ],
5575 host_supported: true,
5576 device_supported: false,
5577 defaults: [
5578 "cronet_aml_defaults",
5579 ],
5580 cflags: [
5581 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5582 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5583 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5584 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5585 "-DNDEBUG",
5586 "-DNO_UNWIND_TABLES",
5587 "-DNVALGRIND",
5588 "-DOFFICIAL_BUILD",
5589 "-DUSE_AURA=1",
5590 "-DUSE_OZONE=1",
5591 "-DUSE_UDEV",
5592 "-D_FILE_OFFSET_BITS=64",
5593 "-D_FORTIFY_SOURCE=2",
5594 "-D_GNU_SOURCE",
5595 "-D_LARGEFILE64_SOURCE",
5596 "-D_LARGEFILE_SOURCE",
5597 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5598 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5599 "-D__STDC_CONSTANT_MACROS",
5600 "-D__STDC_FORMAT_MACROS",
5601 "-O2",
5602 "-fdata-sections",
5603 "-ffunction-sections",
5604 "-fno-asynchronous-unwind-tables",
5605 "-fno-unwind-tables",
5606 "-fstack-protector",
5607 "-fvisibility-inlines-hidden",
5608 "-fvisibility=hidden",
5609 "-g1",
5610 "-msse3",
5611 ],
5612 local_include_dirs: [
5613 "./",
5614 "buildtools/third_party/libc++/",
5615 "buildtools/third_party/libc++/trunk/include",
5616 "buildtools/third_party/libc++abi/trunk/include",
5617 ],
5618 cpp_std: "c++20",
5619 ldflags: [
5620 "-Wl,--as-needed",
5621 "-Wl,--gc-sections",
5622 "-Wl,--icf=all",
5623 ],
5624}
5625
Motomu Utsumie74bab82022-12-16 18:00:12 +09005626// GN: //base:tracing_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005627cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005628 name: "cronet_aml_base_tracing_buildflags",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005629 cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
5630 "$(location build/write_buildflag_header.py) --output " +
5631 "$(out) " +
5632 "--rulename " +
5633 "//base:tracing_buildflags " +
5634 "--gen-dir " +
5635 ". " +
5636 "--definitions " +
5637 "/dev/stdin",
5638 out: [
5639 "base/tracing_buildflags.h",
5640 ],
5641 tool_files: [
5642 "build/write_buildflag_header.py",
5643 ],
5644 apex_available: [
5645 "com.android.tethering",
5646 ],
5647}
5648
5649// GN: //base:tracing_buildflags__testing
5650cc_genrule {
5651 name: "cronet_aml_base_tracing_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005652 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
5653 "then " +
5654 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
Patrick Rohr98600682022-11-18 18:29:15 -08005655 "$(location build/write_buildflag_header.py) --output " +
5656 "$(out) " +
5657 "--rulename " +
5658 "//base:tracing_buildflags " +
5659 "--gen-dir " +
5660 ". " +
5661 "--definitions " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005662 "/dev/stdin; " +
5663 "fi; " +
5664 "if [[ $$CC_OS != 'android' ]]; " +
5665 "then " +
5666 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"true\"' | " +
5667 "$(location build/write_buildflag_header.py) --output " +
5668 "$(out) " +
5669 "--rulename " +
5670 "//base:tracing_buildflags " +
5671 "--gen-dir " +
5672 ". " +
5673 "--definitions " +
5674 "/dev/stdin; " +
5675 "fi; " +
5676 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
5677 "then " +
5678 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
5679 "$(location build/write_buildflag_header.py) --output " +
5680 "$(out) " +
5681 "--rulename " +
5682 "//base:tracing_buildflags " +
5683 "--gen-dir " +
5684 ". " +
5685 "--definitions " +
5686 "/dev/stdin; " +
5687 "fi; " +
5688 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
5689 "then " +
5690 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
5691 "$(location build/write_buildflag_header.py) --output " +
5692 "$(out) " +
5693 "--rulename " +
5694 "//base:tracing_buildflags " +
5695 "--gen-dir " +
5696 ". " +
5697 "--definitions " +
5698 "/dev/stdin; " +
5699 "fi; " +
5700 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
5701 "then " +
5702 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
5703 "$(location build/write_buildflag_header.py) --output " +
5704 "$(out) " +
5705 "--rulename " +
5706 "//base:tracing_buildflags " +
5707 "--gen-dir " +
5708 ". " +
5709 "--definitions " +
5710 "/dev/stdin; " +
5711 "fi;",
5712 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08005713 out: [
5714 "base/tracing_buildflags.h",
5715 ],
5716 tool_files: [
5717 "build/write_buildflag_header.py",
5718 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005719 apex_available: [
5720 "com.android.tethering",
5721 ],
Patrick Rohr98600682022-11-18 18:29:15 -08005722}
5723
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005724// GN: //build/android:build_config_gen
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005725genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005726 name: "cronet_aml_build_android_build_config_gen",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005727 srcs: [
5728 ":cronet_aml_build_android_build_config_gen_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005729 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005730 tools: [
5731 "soong_zip",
5732 ],
5733 cmd: "cp $(in) $(genDir)/BuildConfig.java && " +
Motomu Utsumidfb67ba2023-01-27 12:02:18 +09005734 "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/BuildConfig.java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005735 out: [
5736 "BuildConfig.srcjar",
5737 ],
5738}
5739
5740// GN: //build/android:build_config_gen
5741cc_object {
5742 name: "cronet_aml_build_android_build_config_gen_preprocess",
5743 srcs: [
5744 ":cronet_aml_build_android_build_config_gen_rename",
5745 ],
5746 cflags: [
5747 "-DANDROID",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005748 "-E",
5749 "-P",
5750 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09005751 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005752}
5753
5754// GN: //build/android:build_config_gen
5755genrule {
5756 name: "cronet_aml_build_android_build_config_gen_rename",
5757 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005758 "build/android/java/templates/BuildConfig.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005759 ],
5760 cmd: "cp $(in) $(out)",
5761 out: [
5762 "BuildConfig.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005763 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005764}
5765
5766// GN: //build/android:native_libraries_gen
Mohannad Farrag7ff99912022-11-29 17:16:00 +00005767java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005768 name: "cronet_aml_build_android_native_libraries_gen",
5769 cmd: "$(location build/android/gyp/write_native_libraries_java.py) --output " +
Motomu Utsumi3dbc2762022-12-05 16:20:21 +09005770 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005771 "--cpu-family " +
5772 "CPU_FAMILY_ARM",
5773 out: [
5774 "build/android/native_libraries_gen.srcjar",
5775 ],
5776 tool_files: [
5777 "build/android/gyp/util/__init__.py",
5778 "build/android/gyp/util/build_utils.py",
5779 "build/android/gyp/write_native_libraries_java.py",
5780 "build/gn_helpers.py",
5781 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005782}
5783
Motomu Utsumie74bab82022-12-16 18:00:12 +09005784// GN: //build:branding_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005785cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005786 name: "cronet_aml_build_branding_buildflags",
Patrick Rohr98600682022-11-18 18:29:15 -08005787 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
5788 "$(location build/write_buildflag_header.py) --output " +
5789 "$(out) " +
5790 "--rulename " +
5791 "//build:branding_buildflags " +
5792 "--gen-dir " +
5793 ". " +
5794 "--definitions " +
5795 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005796 out: [
5797 "build/branding_buildflags.h",
5798 ],
5799 tool_files: [
5800 "build/write_buildflag_header.py",
5801 ],
5802 apex_available: [
5803 "com.android.tethering",
5804 ],
5805}
5806
5807// GN: //build:branding_buildflags__testing
5808cc_genrule {
5809 name: "cronet_aml_build_branding_buildflags__testing",
5810 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
5811 "$(location build/write_buildflag_header.py) --output " +
5812 "$(out) " +
5813 "--rulename " +
5814 "//build:branding_buildflags " +
5815 "--gen-dir " +
5816 ". " +
5817 "--definitions " +
5818 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005819 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08005820 out: [
5821 "build/branding_buildflags.h",
5822 ],
5823 tool_files: [
5824 "build/write_buildflag_header.py",
5825 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005826 apex_available: [
5827 "com.android.tethering",
5828 ],
Patrick Rohr98600682022-11-18 18:29:15 -08005829}
5830
Motomu Utsumie74bab82022-12-16 18:00:12 +09005831// GN: //build:chromecast_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005832cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005833 name: "cronet_aml_build_chromecast_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005834 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
5835 "$(location build/write_buildflag_header.py) --output " +
5836 "$(out) " +
5837 "--rulename " +
5838 "//build:chromecast_buildflags " +
5839 "--gen-dir " +
5840 ". " +
5841 "--definitions " +
5842 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005843 out: [
5844 "build/chromecast_buildflags.h",
5845 ],
5846 tool_files: [
5847 "build/write_buildflag_header.py",
5848 ],
5849 apex_available: [
5850 "com.android.tethering",
5851 ],
5852}
5853
5854// GN: //build:chromecast_buildflags__testing
5855cc_genrule {
5856 name: "cronet_aml_build_chromecast_buildflags__testing",
5857 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
5858 "$(location build/write_buildflag_header.py) --output " +
5859 "$(out) " +
5860 "--rulename " +
5861 "//build:chromecast_buildflags " +
5862 "--gen-dir " +
5863 ". " +
5864 "--definitions " +
5865 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005866 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005867 out: [
5868 "build/chromecast_buildflags.h",
5869 ],
5870 tool_files: [
5871 "build/write_buildflag_header.py",
5872 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005873 apex_available: [
5874 "com.android.tethering",
5875 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005876}
5877
Motomu Utsumie74bab82022-12-16 18:00:12 +09005878// GN: //build:chromeos_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005879cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005880 name: "cronet_aml_build_chromeos_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005881 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
5882 "$(location build/write_buildflag_header.py) --output " +
5883 "$(out) " +
5884 "--rulename " +
5885 "//build:chromeos_buildflags " +
5886 "--gen-dir " +
5887 ". " +
5888 "--definitions " +
5889 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005890 out: [
5891 "build/chromeos_buildflags.h",
5892 ],
5893 tool_files: [
5894 "build/write_buildflag_header.py",
5895 ],
5896 apex_available: [
5897 "com.android.tethering",
5898 ],
5899}
5900
5901// GN: //build:chromeos_buildflags__testing
5902cc_genrule {
5903 name: "cronet_aml_build_chromeos_buildflags__testing",
5904 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
5905 "$(location build/write_buildflag_header.py) --output " +
5906 "$(out) " +
5907 "--rulename " +
5908 "//build:chromeos_buildflags " +
5909 "--gen-dir " +
5910 ". " +
5911 "--definitions " +
5912 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005913 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005914 out: [
5915 "build/chromeos_buildflags.h",
5916 ],
5917 tool_files: [
5918 "build/write_buildflag_header.py",
5919 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005920 apex_available: [
5921 "com.android.tethering",
5922 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005923}
5924
Motomu Utsumie74bab82022-12-16 18:00:12 +09005925// GN: //build/config/compiler:compiler_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005926cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005927 name: "cronet_aml_build_config_compiler_compiler_buildflags",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005928 cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
5929 "$(location build/write_buildflag_header.py) --output " +
5930 "$(out) " +
5931 "--rulename " +
5932 "//build/config/compiler:compiler_buildflags " +
5933 "--gen-dir " +
5934 ". " +
5935 "--definitions " +
5936 "/dev/stdin",
5937 out: [
5938 "build/config/compiler/compiler_buildflags.h",
5939 ],
5940 tool_files: [
5941 "build/write_buildflag_header.py",
5942 ],
5943 apex_available: [
5944 "com.android.tethering",
5945 ],
5946}
5947
5948// GN: //build/config/compiler:compiler_buildflags__testing
5949cc_genrule {
5950 name: "cronet_aml_build_config_compiler_compiler_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005951 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
5952 "then " +
5953 "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
Patrick Rohr98600682022-11-18 18:29:15 -08005954 "$(location build/write_buildflag_header.py) --output " +
5955 "$(out) " +
5956 "--rulename " +
5957 "//build/config/compiler:compiler_buildflags " +
5958 "--gen-dir " +
5959 ". " +
5960 "--definitions " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005961 "/dev/stdin; " +
5962 "fi; " +
5963 "if [[ $$CC_OS != 'android' ]]; " +
5964 "then " +
5965 "echo '--flags CLANG_PGO=\"2\" SYMBOL_LEVEL=\"1\"' | " +
5966 "$(location build/write_buildflag_header.py) --output " +
5967 "$(out) " +
5968 "--rulename " +
5969 "//build/config/compiler:compiler_buildflags " +
5970 "--gen-dir " +
5971 ". " +
5972 "--definitions " +
5973 "/dev/stdin; " +
5974 "fi; " +
5975 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
5976 "then " +
5977 "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
5978 "$(location build/write_buildflag_header.py) --output " +
5979 "$(out) " +
5980 "--rulename " +
5981 "//build/config/compiler:compiler_buildflags " +
5982 "--gen-dir " +
5983 ". " +
5984 "--definitions " +
5985 "/dev/stdin; " +
5986 "fi; " +
5987 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
5988 "then " +
5989 "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
5990 "$(location build/write_buildflag_header.py) --output " +
5991 "$(out) " +
5992 "--rulename " +
5993 "//build/config/compiler:compiler_buildflags " +
5994 "--gen-dir " +
5995 ". " +
5996 "--definitions " +
5997 "/dev/stdin; " +
5998 "fi; " +
5999 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
6000 "then " +
6001 "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
6002 "$(location build/write_buildflag_header.py) --output " +
6003 "$(out) " +
6004 "--rulename " +
6005 "//build/config/compiler:compiler_buildflags " +
6006 "--gen-dir " +
6007 ". " +
6008 "--definitions " +
6009 "/dev/stdin; " +
6010 "fi;",
6011 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08006012 out: [
6013 "build/config/compiler/compiler_buildflags.h",
6014 ],
6015 tool_files: [
6016 "build/write_buildflag_header.py",
6017 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09006018 apex_available: [
6019 "com.android.tethering",
6020 ],
Patrick Rohr98600682022-11-18 18:29:15 -08006021}
6022
Patrick Rohrcb035942022-11-01 12:12:52 -07006023// GN: //buildtools/third_party/libc++:libc++
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006024cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07006025 name: "cronet_aml_buildtools_third_party_libc___libc__",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006026 srcs: [
6027 "buildtools/third_party/libc++/trunk/src/algorithm.cpp",
6028 "buildtools/third_party/libc++/trunk/src/any.cpp",
6029 "buildtools/third_party/libc++/trunk/src/atomic.cpp",
6030 "buildtools/third_party/libc++/trunk/src/barrier.cpp",
6031 "buildtools/third_party/libc++/trunk/src/bind.cpp",
6032 "buildtools/third_party/libc++/trunk/src/charconv.cpp",
6033 "buildtools/third_party/libc++/trunk/src/chrono.cpp",
6034 "buildtools/third_party/libc++/trunk/src/condition_variable.cpp",
6035 "buildtools/third_party/libc++/trunk/src/condition_variable_destructor.cpp",
6036 "buildtools/third_party/libc++/trunk/src/exception.cpp",
6037 "buildtools/third_party/libc++/trunk/src/format.cpp",
6038 "buildtools/third_party/libc++/trunk/src/functional.cpp",
6039 "buildtools/third_party/libc++/trunk/src/future.cpp",
6040 "buildtools/third_party/libc++/trunk/src/hash.cpp",
6041 "buildtools/third_party/libc++/trunk/src/ios.cpp",
6042 "buildtools/third_party/libc++/trunk/src/ios.instantiations.cpp",
6043 "buildtools/third_party/libc++/trunk/src/iostream.cpp",
6044 "buildtools/third_party/libc++/trunk/src/legacy_pointer_safety.cpp",
6045 "buildtools/third_party/libc++/trunk/src/locale.cpp",
6046 "buildtools/third_party/libc++/trunk/src/memory.cpp",
6047 "buildtools/third_party/libc++/trunk/src/mutex.cpp",
6048 "buildtools/third_party/libc++/trunk/src/mutex_destructor.cpp",
6049 "buildtools/third_party/libc++/trunk/src/new.cpp",
6050 "buildtools/third_party/libc++/trunk/src/optional.cpp",
6051 "buildtools/third_party/libc++/trunk/src/random.cpp",
6052 "buildtools/third_party/libc++/trunk/src/random_shuffle.cpp",
6053 "buildtools/third_party/libc++/trunk/src/regex.cpp",
6054 "buildtools/third_party/libc++/trunk/src/ryu/d2fixed.cpp",
6055 "buildtools/third_party/libc++/trunk/src/ryu/d2s.cpp",
6056 "buildtools/third_party/libc++/trunk/src/ryu/f2s.cpp",
6057 "buildtools/third_party/libc++/trunk/src/shared_mutex.cpp",
6058 "buildtools/third_party/libc++/trunk/src/stdexcept.cpp",
6059 "buildtools/third_party/libc++/trunk/src/string.cpp",
6060 "buildtools/third_party/libc++/trunk/src/strstream.cpp",
6061 "buildtools/third_party/libc++/trunk/src/system_error.cpp",
6062 "buildtools/third_party/libc++/trunk/src/thread.cpp",
6063 "buildtools/third_party/libc++/trunk/src/typeinfo.cpp",
6064 "buildtools/third_party/libc++/trunk/src/utility.cpp",
6065 "buildtools/third_party/libc++/trunk/src/valarray.cpp",
6066 "buildtools/third_party/libc++/trunk/src/variant.cpp",
6067 "buildtools/third_party/libc++/trunk/src/vector.cpp",
6068 "buildtools/third_party/libc++/trunk/src/verbose_abort.cpp",
6069 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006070 host_supported: true,
6071 defaults: [
6072 "cronet_aml_defaults",
6073 ],
6074 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006075 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6076 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006077 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006078 "-DLIBCXX_BUILDING_LIBCXXABI",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006079 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006080 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006081 "-DNVALGRIND",
6082 "-DOFFICIAL_BUILD",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006083 "-D_GNU_SOURCE",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006084 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006085 "-D_LIBCPP_BUILDING_LIBRARY",
6086 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006087 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
6088 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006089 "-fdata-sections",
6090 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09006091 "-fno-asynchronous-unwind-tables",
6092 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006093 "-fvisibility-inlines-hidden",
6094 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006095 "-g1",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006096 ],
6097 local_include_dirs: [
6098 "./",
6099 "buildtools/third_party/libc++/",
6100 "buildtools/third_party/libc++/trunk/include",
6101 "buildtools/third_party/libc++/trunk/src/",
6102 "buildtools/third_party/libc++abi/trunk/include",
6103 ],
6104 cpp_std: "c++20",
6105 cppflags: [
6106 "-fexceptions",
6107 ],
6108 rtti: true,
Motomu Utsumi55394632022-11-18 17:44:28 +09006109 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006110 android_arm: {
6111 cflags: [
6112 "-DANDROID",
6113 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6114 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006115 "-Oz",
6116 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006117 ],
6118 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09006119 android_arm64: {
6120 cflags: [
6121 "-DANDROID",
6122 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6123 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006124 "-Oz",
6125 "-fstack-protector",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006126 "-mno-outline",
6127 "-mno-outline-atomics",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09006128 ],
6129 },
Motomu Utsumi55394632022-11-18 17:44:28 +09006130 android_x86: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006131 cflags: [
6132 "-DANDROID",
6133 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6134 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006135 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006136 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09006137 ],
6138 },
6139 android_x86_64: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006140 cflags: [
6141 "-DANDROID",
6142 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6143 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006144 "-Oz",
6145 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006146 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09006147 ],
6148 },
6149 host: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006150 cflags: [
6151 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
6152 "-DUSE_AURA=1",
6153 "-DUSE_OZONE=1",
6154 "-DUSE_UDEV",
6155 "-D_FILE_OFFSET_BITS=64",
6156 "-D_LARGEFILE64_SOURCE",
6157 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006158 "-O2",
6159 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006160 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09006161 ],
6162 },
6163 },
Patrick Rohrcb035942022-11-01 12:12:52 -07006164}
6165
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006166// GN: //buildtools/third_party/libc++:libc++__testing
6167cc_object {
6168 name: "cronet_aml_buildtools_third_party_libc___libc____testing",
6169 srcs: [
6170 "buildtools/third_party/libc++/trunk/src/algorithm.cpp",
6171 "buildtools/third_party/libc++/trunk/src/any.cpp",
6172 "buildtools/third_party/libc++/trunk/src/atomic.cpp",
6173 "buildtools/third_party/libc++/trunk/src/barrier.cpp",
6174 "buildtools/third_party/libc++/trunk/src/bind.cpp",
6175 "buildtools/third_party/libc++/trunk/src/charconv.cpp",
6176 "buildtools/third_party/libc++/trunk/src/chrono.cpp",
6177 "buildtools/third_party/libc++/trunk/src/condition_variable.cpp",
6178 "buildtools/third_party/libc++/trunk/src/condition_variable_destructor.cpp",
6179 "buildtools/third_party/libc++/trunk/src/exception.cpp",
6180 "buildtools/third_party/libc++/trunk/src/format.cpp",
6181 "buildtools/third_party/libc++/trunk/src/functional.cpp",
6182 "buildtools/third_party/libc++/trunk/src/future.cpp",
6183 "buildtools/third_party/libc++/trunk/src/hash.cpp",
6184 "buildtools/third_party/libc++/trunk/src/ios.cpp",
6185 "buildtools/third_party/libc++/trunk/src/ios.instantiations.cpp",
6186 "buildtools/third_party/libc++/trunk/src/iostream.cpp",
6187 "buildtools/third_party/libc++/trunk/src/legacy_pointer_safety.cpp",
6188 "buildtools/third_party/libc++/trunk/src/locale.cpp",
6189 "buildtools/third_party/libc++/trunk/src/memory.cpp",
6190 "buildtools/third_party/libc++/trunk/src/mutex.cpp",
6191 "buildtools/third_party/libc++/trunk/src/mutex_destructor.cpp",
6192 "buildtools/third_party/libc++/trunk/src/new.cpp",
6193 "buildtools/third_party/libc++/trunk/src/optional.cpp",
6194 "buildtools/third_party/libc++/trunk/src/random.cpp",
6195 "buildtools/third_party/libc++/trunk/src/random_shuffle.cpp",
6196 "buildtools/third_party/libc++/trunk/src/regex.cpp",
6197 "buildtools/third_party/libc++/trunk/src/ryu/d2fixed.cpp",
6198 "buildtools/third_party/libc++/trunk/src/ryu/d2s.cpp",
6199 "buildtools/third_party/libc++/trunk/src/ryu/f2s.cpp",
6200 "buildtools/third_party/libc++/trunk/src/shared_mutex.cpp",
6201 "buildtools/third_party/libc++/trunk/src/stdexcept.cpp",
6202 "buildtools/third_party/libc++/trunk/src/string.cpp",
6203 "buildtools/third_party/libc++/trunk/src/strstream.cpp",
6204 "buildtools/third_party/libc++/trunk/src/system_error.cpp",
6205 "buildtools/third_party/libc++/trunk/src/thread.cpp",
6206 "buildtools/third_party/libc++/trunk/src/typeinfo.cpp",
6207 "buildtools/third_party/libc++/trunk/src/utility.cpp",
6208 "buildtools/third_party/libc++/trunk/src/valarray.cpp",
6209 "buildtools/third_party/libc++/trunk/src/variant.cpp",
6210 "buildtools/third_party/libc++/trunk/src/vector.cpp",
6211 "buildtools/third_party/libc++/trunk/src/verbose_abort.cpp",
6212 ],
6213 host_supported: true,
6214 defaults: [
6215 "cronet_aml_defaults",
6216 ],
6217 cflags: [
6218 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6219 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
6220 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
6221 "-DLIBCXX_BUILDING_LIBCXXABI",
6222 "-DNDEBUG",
6223 "-DNO_UNWIND_TABLES",
6224 "-DNVALGRIND",
6225 "-DOFFICIAL_BUILD",
6226 "-D_GNU_SOURCE",
6227 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
6228 "-D_LIBCPP_BUILDING_LIBRARY",
6229 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6230 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
6231 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6232 "-fdata-sections",
6233 "-ffunction-sections",
6234 "-fno-asynchronous-unwind-tables",
6235 "-fno-unwind-tables",
6236 "-fvisibility-inlines-hidden",
6237 "-fvisibility=hidden",
6238 "-g1",
6239 ],
6240 local_include_dirs: [
6241 "./",
6242 "buildtools/third_party/libc++/",
6243 "buildtools/third_party/libc++/trunk/include",
6244 "buildtools/third_party/libc++/trunk/src/",
6245 "buildtools/third_party/libc++abi/trunk/include",
6246 ],
6247 cpp_std: "c++20",
6248 cppflags: [
6249 "-fexceptions",
6250 ],
6251 rtti: true,
6252 target: {
6253 android_arm: {
6254 cflags: [
6255 "-DANDROID",
6256 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6257 "-DHAVE_SYS_UIO_H",
6258 "-Oz",
6259 "-fstack-protector",
6260 ],
6261 },
6262 android_arm64: {
6263 cflags: [
6264 "-DANDROID",
6265 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6266 "-DHAVE_SYS_UIO_H",
6267 "-Oz",
6268 "-fstack-protector",
6269 "-mno-outline",
6270 "-mno-outline-atomics",
6271 ],
6272 },
6273 android_x86: {
6274 cflags: [
6275 "-DANDROID",
6276 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6277 "-DHAVE_SYS_UIO_H",
6278 "-Oz",
6279 "-msse3",
6280 ],
6281 },
6282 android_x86_64: {
6283 cflags: [
6284 "-DANDROID",
6285 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6286 "-DHAVE_SYS_UIO_H",
6287 "-Oz",
6288 "-fstack-protector",
6289 "-msse3",
6290 ],
6291 },
6292 host: {
6293 cflags: [
6294 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
6295 "-DUSE_AURA=1",
6296 "-DUSE_OZONE=1",
6297 "-DUSE_UDEV",
6298 "-D_FILE_OFFSET_BITS=64",
6299 "-D_LARGEFILE64_SOURCE",
6300 "-D_LARGEFILE_SOURCE",
6301 "-O2",
6302 "-fstack-protector",
6303 "-msse3",
6304 ],
6305 },
6306 },
6307}
6308
Patrick Rohrcb035942022-11-01 12:12:52 -07006309// GN: //buildtools/third_party/libc++abi:libc++abi
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006310cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07006311 name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006312 srcs: [
6313 "buildtools/third_party/libc++abi/trunk/src/abort_message.cpp",
6314 "buildtools/third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp",
6315 "buildtools/third_party/libc++abi/trunk/src/cxa_default_handlers.cpp",
6316 "buildtools/third_party/libc++abi/trunk/src/cxa_exception.cpp",
6317 "buildtools/third_party/libc++abi/trunk/src/cxa_exception_storage.cpp",
6318 "buildtools/third_party/libc++abi/trunk/src/cxa_guard.cpp",
6319 "buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp",
6320 "buildtools/third_party/libc++abi/trunk/src/cxa_personality.cpp",
6321 "buildtools/third_party/libc++abi/trunk/src/cxa_thread_atexit.cpp",
6322 "buildtools/third_party/libc++abi/trunk/src/cxa_vector.cpp",
6323 "buildtools/third_party/libc++abi/trunk/src/cxa_virtual.cpp",
6324 "buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp",
6325 "buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp",
6326 "buildtools/third_party/libc++abi/trunk/src/stdlib_exception.cpp",
6327 "buildtools/third_party/libc++abi/trunk/src/stdlib_stdexcept.cpp",
6328 "buildtools/third_party/libc++abi/trunk/src/stdlib_typeinfo.cpp",
6329 ],
6330 host_supported: true,
6331 defaults: [
6332 "cronet_aml_defaults",
6333 ],
6334 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006335 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6336 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006337 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006338 "-DLIBCXXABI_SILENT_TERMINATE",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006339 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006340 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006341 "-DNVALGRIND",
6342 "-DOFFICIAL_BUILD",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006343 "-D_GNU_SOURCE",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006344 "-D_LIBCPP_BUILDING_LIBRARY",
6345 "-D_LIBCPP_CONSTINIT=constinit",
6346 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006347 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006348 "-fdata-sections",
6349 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09006350 "-fno-asynchronous-unwind-tables",
6351 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006352 "-fvisibility-inlines-hidden",
6353 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006354 "-g1",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006355 ],
6356 local_include_dirs: [
6357 "./",
6358 "buildtools/third_party/libc++/",
6359 "buildtools/third_party/libc++/trunk/include",
6360 "buildtools/third_party/libc++/trunk/src/",
6361 "buildtools/third_party/libc++abi/trunk/include",
6362 ],
6363 cpp_std: "c++20",
6364 cppflags: [
6365 "-fexceptions",
6366 ],
6367 rtti: true,
Patrick Rohr3b5ff762022-11-16 10:22:16 -08006368 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006369 android_arm: {
6370 srcs: [
6371 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6372 ],
6373 cflags: [
6374 "-DANDROID",
6375 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6376 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006377 "-Oz",
6378 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006379 ],
6380 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09006381 android_arm64: {
6382 srcs: [
6383 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6384 ],
6385 cflags: [
6386 "-DANDROID",
6387 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6388 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006389 "-Oz",
6390 "-fstack-protector",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006391 "-mno-outline",
6392 "-mno-outline-atomics",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09006393 ],
6394 },
Motomu Utsumi65501182022-11-18 15:26:35 +09006395 android_x86: {
6396 srcs: [
6397 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006398 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006399 cflags: [
6400 "-DANDROID",
6401 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6402 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006403 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006404 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09006405 ],
6406 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08006407 android_x86_64: {
6408 srcs: [
6409 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006410 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006411 cflags: [
6412 "-DANDROID",
6413 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6414 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006415 "-Oz",
6416 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006417 "-msse3",
Patrick Rohr3b5ff762022-11-16 10:22:16 -08006418 ],
6419 },
Patrick Rohr09ee70e2022-11-16 15:20:03 -08006420 host: {
6421 srcs: [
6422 "buildtools/third_party/libc++abi/trunk/src/cxa_demangle.cpp",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006423 ],
6424 cflags: [
6425 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
6426 "-DUSE_AURA=1",
6427 "-DUSE_OZONE=1",
6428 "-DUSE_UDEV",
6429 "-D_FILE_OFFSET_BITS=64",
6430 "-D_LARGEFILE64_SOURCE",
6431 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006432 "-O2",
6433 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006434 "-msse3",
Patrick Rohr09ee70e2022-11-16 15:20:03 -08006435 ],
6436 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08006437 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006438}
6439
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006440// GN: //buildtools/third_party/libc++abi:libc++abi__testing
6441cc_object {
6442 name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
6443 srcs: [
6444 "buildtools/third_party/libc++abi/trunk/src/abort_message.cpp",
6445 "buildtools/third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp",
6446 "buildtools/third_party/libc++abi/trunk/src/cxa_default_handlers.cpp",
6447 "buildtools/third_party/libc++abi/trunk/src/cxa_exception.cpp",
6448 "buildtools/third_party/libc++abi/trunk/src/cxa_exception_storage.cpp",
6449 "buildtools/third_party/libc++abi/trunk/src/cxa_guard.cpp",
6450 "buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp",
6451 "buildtools/third_party/libc++abi/trunk/src/cxa_personality.cpp",
6452 "buildtools/third_party/libc++abi/trunk/src/cxa_thread_atexit.cpp",
6453 "buildtools/third_party/libc++abi/trunk/src/cxa_vector.cpp",
6454 "buildtools/third_party/libc++abi/trunk/src/cxa_virtual.cpp",
6455 "buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp",
6456 "buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp",
6457 "buildtools/third_party/libc++abi/trunk/src/stdlib_exception.cpp",
6458 "buildtools/third_party/libc++abi/trunk/src/stdlib_stdexcept.cpp",
6459 "buildtools/third_party/libc++abi/trunk/src/stdlib_typeinfo.cpp",
6460 ],
6461 host_supported: true,
6462 defaults: [
6463 "cronet_aml_defaults",
6464 ],
6465 cflags: [
6466 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6467 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
6468 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
6469 "-DLIBCXXABI_SILENT_TERMINATE",
6470 "-DNDEBUG",
6471 "-DNO_UNWIND_TABLES",
6472 "-DNVALGRIND",
6473 "-DOFFICIAL_BUILD",
6474 "-D_GNU_SOURCE",
6475 "-D_LIBCPP_BUILDING_LIBRARY",
6476 "-D_LIBCPP_CONSTINIT=constinit",
6477 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6478 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6479 "-fdata-sections",
6480 "-ffunction-sections",
6481 "-fno-asynchronous-unwind-tables",
6482 "-fno-unwind-tables",
6483 "-fvisibility-inlines-hidden",
6484 "-fvisibility=hidden",
6485 "-g1",
6486 ],
6487 local_include_dirs: [
6488 "./",
6489 "buildtools/third_party/libc++/",
6490 "buildtools/third_party/libc++/trunk/include",
6491 "buildtools/third_party/libc++/trunk/src/",
6492 "buildtools/third_party/libc++abi/trunk/include",
6493 ],
6494 cpp_std: "c++20",
6495 cppflags: [
6496 "-fexceptions",
6497 ],
6498 rtti: true,
6499 target: {
6500 android_arm: {
6501 srcs: [
6502 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6503 ],
6504 cflags: [
6505 "-DANDROID",
6506 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6507 "-DHAVE_SYS_UIO_H",
6508 "-Oz",
6509 "-fstack-protector",
6510 ],
6511 },
6512 android_arm64: {
6513 srcs: [
6514 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6515 ],
6516 cflags: [
6517 "-DANDROID",
6518 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6519 "-DHAVE_SYS_UIO_H",
6520 "-Oz",
6521 "-fstack-protector",
6522 "-mno-outline",
6523 "-mno-outline-atomics",
6524 ],
6525 },
6526 android_x86: {
6527 srcs: [
6528 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6529 ],
6530 cflags: [
6531 "-DANDROID",
6532 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6533 "-DHAVE_SYS_UIO_H",
6534 "-Oz",
6535 "-msse3",
6536 ],
6537 },
6538 android_x86_64: {
6539 srcs: [
6540 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6541 ],
6542 cflags: [
6543 "-DANDROID",
6544 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6545 "-DHAVE_SYS_UIO_H",
6546 "-Oz",
6547 "-fstack-protector",
6548 "-msse3",
6549 ],
6550 },
6551 host: {
6552 srcs: [
6553 "buildtools/third_party/libc++abi/trunk/src/cxa_demangle.cpp",
6554 ],
6555 cflags: [
6556 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
6557 "-DUSE_AURA=1",
6558 "-DUSE_OZONE=1",
6559 "-DUSE_UDEV",
6560 "-D_FILE_OFFSET_BITS=64",
6561 "-D_LARGEFILE64_SOURCE",
6562 "-D_LARGEFILE_SOURCE",
6563 "-O2",
6564 "-fstack-protector",
6565 "-msse3",
6566 ],
6567 },
6568 },
6569}
6570
Motomu Utsumie74bab82022-12-16 18:00:12 +09006571// GN: //components/cronet/android:buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00006572cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09006573 name: "cronet_aml_components_cronet_android_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006574 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
6575 "$(location build/write_buildflag_header.py) --output " +
6576 "$(out) " +
6577 "--rulename " +
6578 "//components/cronet/android:buildflags " +
6579 "--gen-dir " +
6580 ". " +
6581 "--definitions " +
6582 "/dev/stdin",
6583 out: [
6584 "components/cronet/android/buildflags.h",
6585 ],
6586 tool_files: [
6587 "build/write_buildflag_header.py",
6588 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09006589 apex_available: [
6590 "com.android.tethering",
6591 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006592}
6593
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006594// GN: //components/cronet/android:buildflags__testing
6595cc_genrule {
6596 name: "cronet_aml_components_cronet_android_buildflags__testing",
6597 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
6598 "$(location build/write_buildflag_header.py) --output " +
6599 "$(out) " +
6600 "--rulename " +
6601 "//components/cronet/android:buildflags " +
6602 "--gen-dir " +
6603 ". " +
6604 "--definitions " +
6605 "/dev/stdin",
6606 out: [
6607 "components/cronet/android/buildflags.h",
6608 ],
6609 tool_files: [
6610 "build/write_buildflag_header.py",
6611 ],
6612 apex_available: [
6613 "com.android.tethering",
6614 ],
6615}
6616
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006617// GN: //components/cronet/android:cronet
6618cc_library_shared {
6619 name: "cronet_aml_components_cronet_android_cronet",
6620 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006621 ":cronet_aml_buildtools_third_party_libc___libc__",
6622 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006623 ":cronet_aml_components_cronet_android_cronet_static",
6624 ":cronet_aml_components_cronet_cronet_common",
6625 ":cronet_aml_components_cronet_metrics_util",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006626 ":cronet_aml_components_metrics_library_support",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006627 "components/cronet/android/cronet_jni.cc",
6628 ],
6629 shared_libs: [
6630 "libandroid",
6631 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -08006632 "libz",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006633 ],
6634 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006635 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006636 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006637 "cronet_aml_base_base_static",
6638 "cronet_aml_base_third_party_double_conversion_double_conversion",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006639 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
6640 "cronet_aml_components_prefs_prefs",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08006641 "cronet_aml_crypto_crypto",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006642 "cronet_aml_net_net",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08006643 "cronet_aml_net_preload_decoder",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006644 "cronet_aml_net_third_party_quiche_quiche",
6645 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +09006646 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08006647 "cronet_aml_third_party_brotli_common",
6648 "cronet_aml_third_party_brotli_dec",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006649 "cronet_aml_third_party_icu_icui18n",
6650 "cronet_aml_third_party_icu_icuuc_private",
6651 "cronet_aml_third_party_libevent_libevent",
6652 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumi6ccc9d82022-11-16 18:05:45 +09006653 "cronet_aml_third_party_protobuf_protobuf_lite",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006654 "cronet_aml_url_url",
6655 ],
6656 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +09006657 "cronet_aml_base_debugging_buildflags",
6658 "cronet_aml_base_logging_buildflags",
6659 "cronet_aml_build_chromeos_buildflags",
6660 "cronet_aml_components_cronet_android_buildflags",
6661 "cronet_aml_components_cronet_android_cronet_jni_headers",
6662 "cronet_aml_components_cronet_android_cronet_jni_registration",
6663 "cronet_aml_components_cronet_cronet_buildflags",
6664 "cronet_aml_components_cronet_cronet_version_header_action",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006665 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +09006666 "cronet_aml_url_buildflags",
Mohannad Farrag631443e2022-11-21 16:17:01 +00006667 ],
6668 export_generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +09006669 "cronet_aml_base_debugging_buildflags",
6670 "cronet_aml_base_logging_buildflags",
6671 "cronet_aml_build_chromeos_buildflags",
6672 "cronet_aml_components_cronet_android_buildflags",
6673 "cronet_aml_components_cronet_android_cronet_jni_headers",
6674 "cronet_aml_components_cronet_android_cronet_jni_registration",
6675 "cronet_aml_components_cronet_cronet_buildflags",
6676 "cronet_aml_components_cronet_cronet_version_header_action",
Mohannad Farrag631443e2022-11-21 16:17:01 +00006677 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +09006678 "cronet_aml_url_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006679 ],
6680 defaults: [
6681 "cronet_aml_defaults",
6682 ],
6683 cflags: [
6684 "-DANDROID",
6685 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006686 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6687 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006688 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006689 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
6690 "-DGOOGLE_PROTOBUF_NO_RTTI",
6691 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
6692 "-DHAVE_PTHREAD",
6693 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006694 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006695 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006696 "-DNVALGRIND",
6697 "-DOFFICIAL_BUILD",
6698 "-D_FORTIFY_SOURCE=2",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006699 "-D_GNU_SOURCE",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006700 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006701 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006702 "-D__STDC_CONSTANT_MACROS",
6703 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006704 "-Oz",
6705 "-fdata-sections",
6706 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09006707 "-fno-asynchronous-unwind-tables",
6708 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006709 "-fvisibility-inlines-hidden",
6710 "-fvisibility=hidden",
6711 "-g1",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006712 ],
6713 local_include_dirs: [
6714 "./",
6715 "buildtools/third_party/libc++/",
6716 "buildtools/third_party/libc++/trunk/include",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006717 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006718 "net/third_party/quiche/overrides/",
6719 "net/third_party/quiche/src/",
6720 "net/third_party/quiche/src/quiche/common/platform/default/",
6721 "third_party/abseil-cpp/",
6722 "third_party/boringssl/src/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +09006723 "third_party/protobuf/src/",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006724 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006725 cpp_std: "c++17",
Motomu Utsumiab76aac2023-01-23 12:01:00 +09006726 ldflags: [
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09006727 "-Wl,--as-needed",
6728 "-Wl,--gc-sections",
6729 "-Wl,--icf=all",
Motomu Utsumiab76aac2023-01-23 12:01:00 +09006730 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +00006731 "-Wl,-wrap,asprintf",
6732 "-Wl,-wrap,calloc",
6733 "-Wl,-wrap,free",
6734 "-Wl,-wrap,getcwd",
6735 "-Wl,-wrap,malloc",
6736 "-Wl,-wrap,malloc_usable_size",
6737 "-Wl,-wrap,memalign",
6738 "-Wl,-wrap,posix_memalign",
6739 "-Wl,-wrap,pvalloc",
6740 "-Wl,-wrap,realloc",
6741 "-Wl,-wrap,realpath",
6742 "-Wl,-wrap,strdup",
6743 "-Wl,-wrap,strndup",
6744 "-Wl,-wrap,valloc",
6745 "-Wl,-wrap,vasprintf",
Patrick Rohrd90025f2022-11-11 14:18:35 -08006746 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006747 stem: "libcronet.108.0.5359.128",
Mohannad Farrag631443e2022-11-21 16:17:01 +00006748 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09006749 android_arm: {
6750 cflags: [
6751 "-fstack-protector",
6752 ],
6753 },
6754 android_arm64: {
6755 cflags: [
6756 "-fstack-protector",
6757 "-mno-outline",
6758 "-mno-outline-atomics",
6759 ],
6760 },
Mohannad Farrag631443e2022-11-21 16:17:01 +00006761 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006762 cflags: [
6763 "-msse3",
6764 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00006765 },
6766 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006767 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09006768 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006769 "-msse3",
6770 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00006771 },
6772 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006773}
6774
Motomu Utsumie74bab82022-12-16 18:00:12 +09006775// GN: //components/cronet/android:cronet_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00006776cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09006777 name: "cronet_aml_components_cronet_android_cronet_jni_headers",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006778 srcs: [
6779 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
6780 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
6781 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
6782 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
6783 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
6784 ],
6785 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
6786 "long " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006787 "--output_dir " +
6788 "$(genDir)/components/cronet/android/cronet_jni_headers " +
6789 "--includes " +
6790 "base/android/jni_generator/jni_generator_helper.h " +
6791 "--use_proxy_hash " +
6792 "--output_name " +
6793 "CronetBidirectionalStream_jni.h " +
6794 "--output_name " +
6795 "CronetLibraryLoader_jni.h " +
6796 "--output_name " +
6797 "CronetUploadDataStream_jni.h " +
6798 "--output_name " +
6799 "CronetUrlRequest_jni.h " +
6800 "--output_name " +
6801 "CronetUrlRequestContext_jni.h " +
6802 "--input_file " +
6803 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
6804 "--input_file " +
6805 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
6806 "--input_file " +
6807 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
6808 "--input_file " +
6809 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
6810 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00006811 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java) " +
6812 "--package_prefix " +
6813 "android.net.http.internal",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006814 out: [
6815 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
6816 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
6817 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
6818 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
6819 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
6820 ],
6821 tool_files: [
6822 "base/android/jni_generator/android_jar.classes",
6823 "base/android/jni_generator/jni_generator.py",
6824 "build/android/gyp/util/__init__.py",
6825 "build/android/gyp/util/build_utils.py",
6826 "build/gn_helpers.py",
6827 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09006828 apex_available: [
6829 "com.android.tethering",
6830 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006831}
6832
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006833// GN: //components/cronet/android:cronet_jni_headers__testing
6834cc_genrule {
6835 name: "cronet_aml_components_cronet_android_cronet_jni_headers__testing",
6836 srcs: [
6837 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
6838 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
6839 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
6840 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
6841 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
6842 ],
6843 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
6844 "long " +
6845 "--output_dir " +
6846 "$(genDir)/components/cronet/android/cronet_jni_headers " +
6847 "--includes " +
6848 "base/android/jni_generator/jni_generator_helper.h " +
6849 "--use_proxy_hash " +
6850 "--output_name " +
6851 "CronetBidirectionalStream_jni.h " +
6852 "--output_name " +
6853 "CronetLibraryLoader_jni.h " +
6854 "--output_name " +
6855 "CronetUploadDataStream_jni.h " +
6856 "--output_name " +
6857 "CronetUrlRequest_jni.h " +
6858 "--output_name " +
6859 "CronetUrlRequestContext_jni.h " +
6860 "--input_file " +
6861 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
6862 "--input_file " +
6863 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
6864 "--input_file " +
6865 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
6866 "--input_file " +
6867 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
6868 "--input_file " +
6869 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java) " +
6870 "--package_prefix " +
6871 "android.net.http.internal",
6872 out: [
6873 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
6874 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
6875 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
6876 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
6877 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
6878 ],
6879 tool_files: [
6880 "base/android/jni_generator/android_jar.classes",
6881 "base/android/jni_generator/jni_generator.py",
6882 "build/android/gyp/util/__init__.py",
6883 "build/android/gyp/util/build_utils.py",
6884 "build/gn_helpers.py",
6885 ],
6886 apex_available: [
6887 "com.android.tethering",
6888 ],
6889}
6890
Motomu Utsumie74bab82022-12-16 18:00:12 +09006891// GN: //components/cronet/android:cronet_jni_registration
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00006892cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09006893 name: "cronet_aml_components_cronet_android_cronet_jni_registration",
Patrick Rohr98600682022-11-18 18:29:15 -08006894 srcs: [
Mohannad Farraga23114a2022-11-22 17:47:51 +00006895 "base/android/java/src/org/chromium/base/ActivityState.java",
6896 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
6897 "base/android/java/src/org/chromium/base/ApkAssets.java",
6898 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
6899 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
6900 "base/android/java/src/org/chromium/base/BuildInfo.java",
6901 "base/android/java/src/org/chromium/base/BundleUtils.java",
6902 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
6903 "base/android/java/src/org/chromium/base/Callback.java",
6904 "base/android/java/src/org/chromium/base/CallbackController.java",
6905 "base/android/java/src/org/chromium/base/CollectionUtil.java",
6906 "base/android/java/src/org/chromium/base/CommandLine.java",
6907 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
6908 "base/android/java/src/org/chromium/base/Consumer.java",
6909 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
6910 "base/android/java/src/org/chromium/base/ContextUtils.java",
6911 "base/android/java/src/org/chromium/base/CpuFeatures.java",
6912 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
6913 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
6914 "base/android/java/src/org/chromium/base/EventLog.java",
6915 "base/android/java/src/org/chromium/base/FeatureList.java",
6916 "base/android/java/src/org/chromium/base/Features.java",
6917 "base/android/java/src/org/chromium/base/FieldTrialList.java",
6918 "base/android/java/src/org/chromium/base/FileUtils.java",
6919 "base/android/java/src/org/chromium/base/Function.java",
6920 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
6921 "base/android/java/src/org/chromium/base/IntStringCallback.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006922 "base/android/java/src/org/chromium/base/JNIUtils.java",
6923 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
6924 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006925 "base/android/java/src/org/chromium/base/JniException.java",
6926 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006927 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
6928 "base/android/java/src/org/chromium/base/LocaleUtils.java",
6929 "base/android/java/src/org/chromium/base/Log.java",
6930 "base/android/java/src/org/chromium/base/MathUtils.java",
6931 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006932 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006933 "base/android/java/src/org/chromium/base/ObserverList.java",
6934 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
6935 "base/android/java/src/org/chromium/base/PackageUtils.java",
6936 "base/android/java/src/org/chromium/base/PathService.java",
6937 "base/android/java/src/org/chromium/base/PathUtils.java",
6938 "base/android/java/src/org/chromium/base/PiiElider.java",
6939 "base/android/java/src/org/chromium/base/PowerMonitor.java",
6940 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
6941 "base/android/java/src/org/chromium/base/Predicate.java",
6942 "base/android/java/src/org/chromium/base/Promise.java",
6943 "base/android/java/src/org/chromium/base/RadioUtils.java",
6944 "base/android/java/src/org/chromium/base/StreamUtil.java",
6945 "base/android/java/src/org/chromium/base/StrictModeContext.java",
Patrick Rohrf20b5ed2022-12-22 14:57:50 -08006946 "base/android/java/src/org/chromium/base/SysUtils.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006947 "base/android/java/src/org/chromium/base/ThreadUtils.java",
6948 "base/android/java/src/org/chromium/base/TimeUtils.java",
6949 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
6950 "base/android/java/src/org/chromium/base/TraceEvent.java",
6951 "base/android/java/src/org/chromium/base/UnguessableToken.java",
6952 "base/android/java/src/org/chromium/base/UnownedUserData.java",
6953 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
6954 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
6955 "base/android/java/src/org/chromium/base/UserData.java",
6956 "base/android/java/src/org/chromium/base/UserDataHost.java",
6957 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006958 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
6959 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
6960 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
6961 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
6962 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
6963 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
6964 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
6965 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
6966 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006967 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
6968 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
6969 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
6970 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
6971 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
6972 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
6973 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
6974 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
6975 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
6976 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
6977 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
6978 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
6979 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
6980 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
6981 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
6982 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
6983 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
6984 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
6985 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
6986 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
6987 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
6988 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
Patrick Rohrf20b5ed2022-12-22 14:57:50 -08006989 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
6990 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006991 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
6992 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
6993 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
6994 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
6995 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
6996 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
6997 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
6998 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
6999 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
7000 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
7001 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
7002 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
7003 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
7004 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
7005 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
7006 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
7007 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
7008 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
7009 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
7010 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
7011 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
7012 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
7013 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
7014 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007015 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
7016 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
7017 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
7018 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
7019 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
7020 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
7021 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
7022 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
7023 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
7024 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
7025 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
7026 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
7027 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
7028 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
7029 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
7030 "base/android/java/src/org/chromium/base/task/PostTask.java",
7031 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
7032 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
7033 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
7034 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
7035 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
7036 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
7037 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
7038 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7039 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
7040 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00007041 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
7042 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
7043 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
7044 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
7045 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
7046 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
7047 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
7048 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007049 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
7050 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
7051 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
7052 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
7053 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
7054 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
7055 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
7056 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
7057 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
7058 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
7059 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
7060 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
7061 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
Patrick Rohr98600682022-11-18 18:29:15 -08007062 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007063 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007064 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007065 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
7066 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
7067 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
7068 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
7069 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
7070 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
7071 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
7072 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
7073 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
7074 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
7075 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
7076 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
7077 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
7078 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
7079 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
7080 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
7081 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
7082 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
7083 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
7084 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
7085 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
7086 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
7087 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
7088 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
7089 "net/android/java/src/org/chromium/net/DnsStatus.java",
7090 "net/android/java/src/org/chromium/net/GURLUtils.java",
7091 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
7092 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
7093 "net/android/java/src/org/chromium/net/HttpUtil.java",
7094 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
7095 "net/android/java/src/org/chromium/net/NetStringUtil.java",
7096 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
7097 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
7098 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
7099 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
7100 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
7101 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
7102 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
7103 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
7104 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
7105 "net/android/java/src/org/chromium/net/X509Util.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00007106 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
Motomu Utsumie3ce7702022-11-10 16:22:11 +09007107 ],
Motomu Utsumi7bc2fcc2022-11-10 17:09:54 +09007108 cmd: "current_dir=`basename \\`pwd\\``; " +
7109 "for f in $(in); " +
7110 "do " +
7111 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
7112 "done; " +
Motomu Utsumi9ca466b2022-11-10 17:12:29 +09007113 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09007114 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007115 "--depfile " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09007116 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007117 "--sources-files " +
Motomu Utsumi7bc2fcc2022-11-10 17:09:54 +09007118 "$(genDir)/java.sources " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007119 "--include_test_only " +
7120 "--use_proxy_hash " +
7121 "--header-path " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09007122 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007123 "--manual_jni_registration " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00007124 "--package_prefix " +
7125 "android.net.http.internal " +
Mohannad Farrag7c0f0982022-11-10 14:39:49 +00007126 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
Motomu Utsumi2a892d22022-11-10 18:03:20 +09007127 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007128 out: [
7129 "components/cronet/android/cronet_jni_registration.h",
7130 "components/cronet/android/cronet_jni_registration.srcjar",
7131 ],
7132 tool_files: [
7133 "base/android/jni_generator/jni_generator.py",
7134 "base/android/jni_generator/jni_registration_generator.py",
7135 "build/android/gyp/util/__init__.py",
7136 "build/android/gyp/util/build_utils.py",
7137 "build/gn_helpers.py",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007138 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007139 apex_available: [
7140 "com.android.tethering",
7141 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007142}
7143
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007144// GN: //components/cronet/android:cronet_jni_registration
7145java_genrule {
7146 name: "cronet_aml_components_cronet_android_cronet_jni_registration__java",
7147 srcs: [
7148 "base/android/java/src/org/chromium/base/ActivityState.java",
7149 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
7150 "base/android/java/src/org/chromium/base/ApkAssets.java",
7151 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
7152 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
7153 "base/android/java/src/org/chromium/base/BuildInfo.java",
7154 "base/android/java/src/org/chromium/base/BundleUtils.java",
7155 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
7156 "base/android/java/src/org/chromium/base/Callback.java",
7157 "base/android/java/src/org/chromium/base/CallbackController.java",
7158 "base/android/java/src/org/chromium/base/CollectionUtil.java",
7159 "base/android/java/src/org/chromium/base/CommandLine.java",
7160 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
7161 "base/android/java/src/org/chromium/base/Consumer.java",
7162 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
7163 "base/android/java/src/org/chromium/base/ContextUtils.java",
7164 "base/android/java/src/org/chromium/base/CpuFeatures.java",
7165 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
7166 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
7167 "base/android/java/src/org/chromium/base/EventLog.java",
7168 "base/android/java/src/org/chromium/base/FeatureList.java",
7169 "base/android/java/src/org/chromium/base/Features.java",
7170 "base/android/java/src/org/chromium/base/FieldTrialList.java",
7171 "base/android/java/src/org/chromium/base/FileUtils.java",
7172 "base/android/java/src/org/chromium/base/Function.java",
7173 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
7174 "base/android/java/src/org/chromium/base/IntStringCallback.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007175 "base/android/java/src/org/chromium/base/JNIUtils.java",
7176 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
7177 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
7178 "base/android/java/src/org/chromium/base/JniException.java",
7179 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
7180 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
7181 "base/android/java/src/org/chromium/base/LocaleUtils.java",
7182 "base/android/java/src/org/chromium/base/Log.java",
7183 "base/android/java/src/org/chromium/base/MathUtils.java",
7184 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
7185 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
7186 "base/android/java/src/org/chromium/base/ObserverList.java",
7187 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
7188 "base/android/java/src/org/chromium/base/PackageUtils.java",
7189 "base/android/java/src/org/chromium/base/PathService.java",
7190 "base/android/java/src/org/chromium/base/PathUtils.java",
7191 "base/android/java/src/org/chromium/base/PiiElider.java",
7192 "base/android/java/src/org/chromium/base/PowerMonitor.java",
7193 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
7194 "base/android/java/src/org/chromium/base/Predicate.java",
7195 "base/android/java/src/org/chromium/base/Promise.java",
7196 "base/android/java/src/org/chromium/base/RadioUtils.java",
7197 "base/android/java/src/org/chromium/base/StreamUtil.java",
7198 "base/android/java/src/org/chromium/base/StrictModeContext.java",
Patrick Rohrf20b5ed2022-12-22 14:57:50 -08007199 "base/android/java/src/org/chromium/base/SysUtils.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007200 "base/android/java/src/org/chromium/base/ThreadUtils.java",
7201 "base/android/java/src/org/chromium/base/TimeUtils.java",
7202 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
7203 "base/android/java/src/org/chromium/base/TraceEvent.java",
7204 "base/android/java/src/org/chromium/base/UnguessableToken.java",
7205 "base/android/java/src/org/chromium/base/UnownedUserData.java",
7206 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
7207 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
7208 "base/android/java/src/org/chromium/base/UserData.java",
7209 "base/android/java/src/org/chromium/base/UserDataHost.java",
7210 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
7211 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
7212 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
7213 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
7214 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
7215 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
7216 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
7217 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
7218 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
7219 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
7220 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
7221 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
7222 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
7223 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
7224 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
7225 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
7226 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
7227 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
7228 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
7229 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
7230 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
7231 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
7232 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
7233 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
7234 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
7235 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
7236 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
7237 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
7238 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
7239 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
7240 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
7241 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
Patrick Rohrf20b5ed2022-12-22 14:57:50 -08007242 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
7243 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007244 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
7245 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
7246 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
7247 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
7248 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
7249 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
7250 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
7251 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
7252 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
7253 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
7254 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
7255 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
7256 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
7257 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
7258 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
7259 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
7260 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
7261 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
7262 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
7263 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
7264 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
7265 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
7266 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
7267 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007268 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
7269 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
7270 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
7271 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
7272 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
7273 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
7274 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
7275 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
7276 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
7277 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
7278 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
7279 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
7280 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
7281 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
7282 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
7283 "base/android/java/src/org/chromium/base/task/PostTask.java",
7284 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
7285 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
7286 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
7287 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
7288 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
7289 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
7290 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
7291 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7292 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
7293 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
7294 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
7295 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
7296 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
7297 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
7298 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
7299 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
7300 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
7301 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007302 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
7303 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
7304 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
7305 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
7306 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
7307 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
7308 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
7309 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
7310 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
7311 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
7312 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
7313 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
7314 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
7315 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
7316 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007317 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007318 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
7319 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
7320 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
7321 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
7322 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
7323 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
7324 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
7325 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
7326 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
7327 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
7328 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
7329 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
7330 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
7331 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
7332 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
7333 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
7334 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
7335 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
7336 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
7337 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
7338 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
7339 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
7340 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
7341 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
7342 "net/android/java/src/org/chromium/net/DnsStatus.java",
7343 "net/android/java/src/org/chromium/net/GURLUtils.java",
7344 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
7345 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
7346 "net/android/java/src/org/chromium/net/HttpUtil.java",
7347 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
7348 "net/android/java/src/org/chromium/net/NetStringUtil.java",
7349 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
7350 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
7351 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
7352 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
7353 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
7354 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
7355 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
7356 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
7357 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
7358 "net/android/java/src/org/chromium/net/X509Util.java",
7359 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
7360 ],
7361 cmd: "current_dir=`basename \\`pwd\\``; " +
7362 "for f in $(in); " +
7363 "do " +
7364 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
7365 "done; " +
7366 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
7367 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
7368 "--depfile " +
7369 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
7370 "--sources-files " +
7371 "$(genDir)/java.sources " +
7372 "--include_test_only " +
7373 "--use_proxy_hash " +
7374 "--header-path " +
7375 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
7376 "--manual_jni_registration " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00007377 "--package_prefix " +
7378 "android.net.http.internal " +
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007379 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
7380 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
7381 out: [
7382 "components/cronet/android/cronet_jni_registration.srcjar",
7383 ],
7384 tool_files: [
7385 "base/android/jni_generator/jni_generator.py",
7386 "base/android/jni_generator/jni_registration_generator.py",
7387 "build/android/gyp/util/__init__.py",
7388 "build/android/gyp/util/build_utils.py",
7389 "build/gn_helpers.py",
7390 ],
7391}
7392
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007393// GN: //components/cronet/android:cronet_jni_registration__testing
7394cc_genrule {
7395 name: "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
7396 srcs: [
7397 "base/android/java/src/org/chromium/base/ActivityState.java",
7398 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
7399 "base/android/java/src/org/chromium/base/ApkAssets.java",
7400 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
7401 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
7402 "base/android/java/src/org/chromium/base/BuildInfo.java",
7403 "base/android/java/src/org/chromium/base/BundleUtils.java",
7404 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
7405 "base/android/java/src/org/chromium/base/Callback.java",
7406 "base/android/java/src/org/chromium/base/CallbackController.java",
7407 "base/android/java/src/org/chromium/base/CollectionUtil.java",
7408 "base/android/java/src/org/chromium/base/CommandLine.java",
7409 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
7410 "base/android/java/src/org/chromium/base/Consumer.java",
7411 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
7412 "base/android/java/src/org/chromium/base/ContextUtils.java",
7413 "base/android/java/src/org/chromium/base/CpuFeatures.java",
7414 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
7415 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
7416 "base/android/java/src/org/chromium/base/EventLog.java",
7417 "base/android/java/src/org/chromium/base/FeatureList.java",
7418 "base/android/java/src/org/chromium/base/Features.java",
7419 "base/android/java/src/org/chromium/base/FieldTrialList.java",
7420 "base/android/java/src/org/chromium/base/FileUtils.java",
7421 "base/android/java/src/org/chromium/base/Function.java",
7422 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
7423 "base/android/java/src/org/chromium/base/IntStringCallback.java",
7424 "base/android/java/src/org/chromium/base/JNIUtils.java",
7425 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
7426 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
7427 "base/android/java/src/org/chromium/base/JniException.java",
7428 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
7429 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
7430 "base/android/java/src/org/chromium/base/LocaleUtils.java",
7431 "base/android/java/src/org/chromium/base/Log.java",
7432 "base/android/java/src/org/chromium/base/MathUtils.java",
7433 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
7434 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
7435 "base/android/java/src/org/chromium/base/ObserverList.java",
7436 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
7437 "base/android/java/src/org/chromium/base/PackageUtils.java",
7438 "base/android/java/src/org/chromium/base/PathService.java",
7439 "base/android/java/src/org/chromium/base/PathUtils.java",
7440 "base/android/java/src/org/chromium/base/PiiElider.java",
7441 "base/android/java/src/org/chromium/base/PowerMonitor.java",
7442 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
7443 "base/android/java/src/org/chromium/base/Predicate.java",
7444 "base/android/java/src/org/chromium/base/Promise.java",
7445 "base/android/java/src/org/chromium/base/RadioUtils.java",
7446 "base/android/java/src/org/chromium/base/StreamUtil.java",
7447 "base/android/java/src/org/chromium/base/StrictModeContext.java",
7448 "base/android/java/src/org/chromium/base/SysUtils.java",
7449 "base/android/java/src/org/chromium/base/ThreadUtils.java",
7450 "base/android/java/src/org/chromium/base/TimeUtils.java",
7451 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
7452 "base/android/java/src/org/chromium/base/TraceEvent.java",
7453 "base/android/java/src/org/chromium/base/UnguessableToken.java",
7454 "base/android/java/src/org/chromium/base/UnownedUserData.java",
7455 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
7456 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
7457 "base/android/java/src/org/chromium/base/UserData.java",
7458 "base/android/java/src/org/chromium/base/UserDataHost.java",
7459 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
7460 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
7461 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
7462 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
7463 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
7464 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
7465 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
7466 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
7467 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
7468 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
7469 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
7470 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
7471 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
7472 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
7473 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
7474 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
7475 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
7476 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
7477 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
7478 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
7479 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
7480 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
7481 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
7482 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
7483 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
7484 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
7485 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
7486 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
7487 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
7488 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
7489 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
7490 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
7491 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
7492 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
7493 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
7494 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
7495 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
7496 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
7497 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
7498 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
7499 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
7500 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
7501 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
7502 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
7503 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
7504 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
7505 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
7506 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
7507 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
7508 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
7509 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
7510 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
7511 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
7512 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
7513 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
7514 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
7515 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
7516 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
7517 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
7518 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
7519 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
7520 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
7521 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
7522 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
7523 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
7524 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
7525 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
7526 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
7527 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
7528 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
7529 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
7530 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
7531 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
7532 "base/android/java/src/org/chromium/base/task/PostTask.java",
7533 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
7534 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
7535 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
7536 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
7537 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
7538 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
7539 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
7540 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7541 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
7542 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
7543 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
7544 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
7545 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
7546 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
7547 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
7548 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
7549 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
7550 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
7551 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
7552 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
7553 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
7554 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
7555 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
7556 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
7557 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
7558 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
7559 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
7560 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
7561 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
7562 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
7563 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
7564 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
7565 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
7566 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
7567 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
7568 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
7569 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
7570 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
7571 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
7572 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
7573 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
7574 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
7575 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
7576 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
7577 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
7578 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
7579 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
7580 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
7581 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
7582 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
7583 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
7584 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
7585 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
7586 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
7587 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
7588 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
7589 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
7590 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
7591 "net/android/java/src/org/chromium/net/DnsStatus.java",
7592 "net/android/java/src/org/chromium/net/GURLUtils.java",
7593 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
7594 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
7595 "net/android/java/src/org/chromium/net/HttpUtil.java",
7596 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
7597 "net/android/java/src/org/chromium/net/NetStringUtil.java",
7598 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
7599 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
7600 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
7601 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
7602 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
7603 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
7604 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
7605 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
7606 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
7607 "net/android/java/src/org/chromium/net/X509Util.java",
7608 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
7609 ],
7610 cmd: "current_dir=`basename \\`pwd\\``; " +
7611 "for f in $(in); " +
7612 "do " +
7613 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
7614 "done; " +
7615 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
7616 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
7617 "--depfile " +
7618 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
7619 "--sources-files " +
7620 "$(genDir)/java.sources " +
7621 "--include_test_only " +
7622 "--use_proxy_hash " +
7623 "--header-path " +
7624 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
7625 "--manual_jni_registration " +
7626 "--package_prefix " +
7627 "android.net.http.internal " +
7628 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
7629 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
7630 out: [
7631 "components/cronet/android/cronet_jni_registration.h",
7632 "components/cronet/android/cronet_jni_registration.srcjar",
7633 ],
7634 tool_files: [
7635 "base/android/jni_generator/jni_generator.py",
7636 "base/android/jni_generator/jni_registration_generator.py",
7637 "build/android/gyp/util/__init__.py",
7638 "build/android/gyp/util/build_utils.py",
7639 "build/gn_helpers.py",
7640 ],
7641 apex_available: [
7642 "com.android.tethering",
7643 ],
7644}
7645
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007646// GN: //components/cronet/android:cronet_static
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007647cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007648 name: "cronet_aml_components_cronet_android_cronet_static",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007649 srcs: [
7650 "components/cronet/android/cronet_bidirectional_stream_adapter.cc",
7651 "components/cronet/android/cronet_context_adapter.cc",
7652 "components/cronet/android/cronet_library_loader.cc",
7653 "components/cronet/android/cronet_upload_data_stream_adapter.cc",
7654 "components/cronet/android/cronet_url_request_adapter.cc",
7655 "components/cronet/android/io_buffer_with_byte_buffer.cc",
7656 "components/cronet/android/url_request_error.cc",
7657 ],
7658 shared_libs: [
7659 "libandroid",
7660 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -08007661 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007662 ],
7663 static_libs: [
7664 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
7665 "cronet_aml_base_base",
7666 "cronet_aml_base_base_static",
7667 "cronet_aml_base_third_party_double_conversion_double_conversion",
7668 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
7669 "cronet_aml_components_prefs_prefs",
7670 "cronet_aml_crypto_crypto",
7671 "cronet_aml_net_net",
7672 "cronet_aml_net_preload_decoder",
7673 "cronet_aml_net_third_party_quiche_quiche",
7674 "cronet_aml_net_uri_template",
7675 "cronet_aml_third_party_boringssl_boringssl",
7676 "cronet_aml_third_party_brotli_common",
7677 "cronet_aml_third_party_brotli_dec",
7678 "cronet_aml_third_party_icu_icui18n",
7679 "cronet_aml_third_party_icu_icuuc_private",
7680 "cronet_aml_third_party_libevent_libevent",
7681 "cronet_aml_third_party_modp_b64_modp_b64",
7682 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007683 "cronet_aml_url_url",
7684 ],
7685 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +09007686 "cronet_aml_base_debugging_buildflags",
7687 "cronet_aml_base_logging_buildflags",
7688 "cronet_aml_build_chromeos_buildflags",
7689 "cronet_aml_components_cronet_android_buildflags",
7690 "cronet_aml_components_cronet_android_cronet_jni_headers",
7691 "cronet_aml_components_cronet_android_cronet_jni_registration",
7692 "cronet_aml_components_cronet_cronet_buildflags",
7693 "cronet_aml_components_cronet_cronet_version_header_action",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007694 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +09007695 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007696 ],
7697 defaults: [
7698 "cronet_aml_defaults",
7699 ],
7700 cflags: [
7701 "-DANDROID",
7702 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09007703 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
7704 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09007705 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007706 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7707 "-DGOOGLE_PROTOBUF_NO_RTTI",
7708 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7709 "-DHAVE_PTHREAD",
7710 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09007711 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09007712 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09007713 "-DNVALGRIND",
7714 "-DOFFICIAL_BUILD",
7715 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007716 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007717 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007718 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7719 "-D__STDC_CONSTANT_MACROS",
7720 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09007721 "-Oz",
7722 "-fdata-sections",
7723 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09007724 "-fno-asynchronous-unwind-tables",
7725 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09007726 "-fvisibility-inlines-hidden",
7727 "-fvisibility=hidden",
7728 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007729 ],
7730 local_include_dirs: [
7731 "./",
7732 "buildtools/third_party/libc++/",
7733 "buildtools/third_party/libc++/trunk/include",
7734 "buildtools/third_party/libc++abi/trunk/include",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007735 "net/third_party/quiche/overrides/",
7736 "net/third_party/quiche/src/",
7737 "net/third_party/quiche/src/quiche/common/platform/default/",
7738 "third_party/abseil-cpp/",
7739 "third_party/boringssl/src/include/",
7740 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007741 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09007742 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +09007743 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09007744 android_arm: {
7745 cflags: [
7746 "-fstack-protector",
7747 ],
7748 },
7749 android_arm64: {
7750 cflags: [
7751 "-fstack-protector",
7752 "-mno-outline",
7753 "-mno-outline-atomics",
7754 ],
7755 },
Motomu Utsumi55394632022-11-18 17:44:28 +09007756 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007757 cflags: [
7758 "-msse3",
7759 ],
Motomu Utsumi55394632022-11-18 17:44:28 +09007760 },
7761 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007762 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09007763 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007764 "-msse3",
7765 ],
Motomu Utsumi55394632022-11-18 17:44:28 +09007766 },
7767 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007768}
7769
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007770// GN: //components/cronet/android:cronet_static__testing
7771cc_object {
7772 name: "cronet_aml_components_cronet_android_cronet_static__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007773 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007774 "components/cronet/android/cronet_bidirectional_stream_adapter.cc",
7775 "components/cronet/android/cronet_context_adapter.cc",
7776 "components/cronet/android/cronet_library_loader.cc",
7777 "components/cronet/android/cronet_upload_data_stream_adapter.cc",
7778 "components/cronet/android/cronet_url_request_adapter.cc",
7779 "components/cronet/android/io_buffer_with_byte_buffer.cc",
7780 "components/cronet/android/url_request_error.cc",
7781 ],
7782 shared_libs: [
7783 "libandroid",
7784 "liblog",
7785 "libz",
7786 ],
7787 static_libs: [
7788 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
7789 "cronet_aml_base_base__testing",
7790 "cronet_aml_base_base_static__testing",
7791 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
7792 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
7793 "cronet_aml_components_prefs_prefs__testing",
7794 "cronet_aml_crypto_crypto__testing",
7795 "cronet_aml_net_net__testing",
7796 "cronet_aml_net_preload_decoder__testing",
7797 "cronet_aml_net_third_party_quiche_quiche__testing",
7798 "cronet_aml_net_uri_template__testing",
7799 "cronet_aml_third_party_boringssl_boringssl__testing",
7800 "cronet_aml_third_party_brotli_common__testing",
7801 "cronet_aml_third_party_brotli_dec__testing",
7802 "cronet_aml_third_party_icu_icui18n__testing",
7803 "cronet_aml_third_party_icu_icuuc_private__testing",
7804 "cronet_aml_third_party_libevent_libevent__testing",
7805 "cronet_aml_third_party_modp_b64_modp_b64__testing",
7806 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
7807 "cronet_aml_url_url__testing",
7808 ],
7809 generated_headers: [
7810 "cronet_aml_base_debugging_buildflags__testing",
7811 "cronet_aml_base_logging_buildflags__testing",
7812 "cronet_aml_build_chromeos_buildflags__testing",
7813 "cronet_aml_components_cronet_android_buildflags__testing",
7814 "cronet_aml_components_cronet_android_cronet_jni_headers__testing",
7815 "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
7816 "cronet_aml_components_cronet_cronet_buildflags__testing",
7817 "cronet_aml_components_cronet_cronet_version_header_action__testing",
7818 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
7819 "cronet_aml_url_buildflags__testing",
7820 ],
7821 defaults: [
7822 "cronet_aml_defaults",
7823 ],
7824 cflags: [
7825 "-DANDROID",
7826 "-DANDROID_NDK_VERSION_ROLL=r23_1",
7827 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
7828 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
7829 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
7830 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7831 "-DGOOGLE_PROTOBUF_NO_RTTI",
7832 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7833 "-DHAVE_PTHREAD",
7834 "-DHAVE_SYS_UIO_H",
7835 "-DNDEBUG",
7836 "-DNO_UNWIND_TABLES",
7837 "-DNVALGRIND",
7838 "-DOFFICIAL_BUILD",
7839 "-D_FORTIFY_SOURCE=2",
7840 "-D_GNU_SOURCE",
7841 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7842 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7843 "-D__STDC_CONSTANT_MACROS",
7844 "-D__STDC_FORMAT_MACROS",
7845 "-Oz",
7846 "-fdata-sections",
7847 "-ffunction-sections",
7848 "-fno-asynchronous-unwind-tables",
7849 "-fno-unwind-tables",
7850 "-fvisibility-inlines-hidden",
7851 "-fvisibility=hidden",
7852 "-g1",
7853 ],
7854 local_include_dirs: [
7855 "./",
7856 "buildtools/third_party/libc++/",
7857 "buildtools/third_party/libc++/trunk/include",
7858 "buildtools/third_party/libc++abi/trunk/include",
7859 "net/third_party/quiche/overrides/",
7860 "net/third_party/quiche/src/",
7861 "net/third_party/quiche/src/quiche/common/platform/default/",
7862 "third_party/abseil-cpp/",
7863 "third_party/boringssl/src/include/",
7864 "third_party/protobuf/src/",
7865 ],
7866 cpp_std: "c++17",
7867 target: {
7868 android_arm: {
7869 cflags: [
7870 "-fstack-protector",
7871 ],
7872 },
7873 android_arm64: {
7874 cflags: [
7875 "-fstack-protector",
7876 "-mno-outline",
7877 "-mno-outline-atomics",
7878 ],
7879 },
7880 android_x86: {
7881 cflags: [
7882 "-msse3",
7883 ],
7884 },
7885 android_x86_64: {
7886 cflags: [
7887 "-fstack-protector",
7888 "-msse3",
7889 ],
7890 },
7891 },
7892}
7893
7894// GN: //components/cronet/android:cronet_unittests_android__library__testing
7895cc_library_shared {
7896 name: "cronet_aml_components_cronet_android_cronet_unittests_android__library__testing",
7897 srcs: [
7898 ":cronet_aml_buildtools_third_party_libc___libc____testing",
7899 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
7900 ":cronet_aml_components_cronet_android_cronet_static__testing",
7901 ":cronet_aml_components_cronet_cronet_common__testing",
7902 ":cronet_aml_components_cronet_cronet_common_unittests__testing",
7903 ":cronet_aml_components_cronet_metrics_util__testing",
7904 ":cronet_aml_components_metrics_library_support__testing",
7905 ":cronet_aml_testing_android_native_test_native_test_native_code__testing",
7906 ":cronet_aml_testing_android_native_test_native_test_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007907 "components/cronet/run_all_unittests.cc",
7908 ],
7909 shared_libs: [
7910 "libandroid",
7911 "liblog",
7912 "libz",
7913 ],
7914 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007915 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
7916 "cronet_aml_base_base__testing",
7917 "cronet_aml_base_base_static__testing",
7918 "cronet_aml_base_i18n__testing",
7919 "cronet_aml_base_test_test_config__testing",
7920 "cronet_aml_base_test_test_support__testing",
7921 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
7922 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
7923 "cronet_aml_components_prefs_prefs__testing",
7924 "cronet_aml_components_prefs_test_support__testing",
7925 "cronet_aml_crypto_crypto__testing",
7926 "cronet_aml_net_gtest_util__testing",
7927 "cronet_aml_net_net__testing",
7928 "cronet_aml_net_preload_decoder__testing",
7929 "cronet_aml_net_test_support__testing",
7930 "cronet_aml_net_third_party_quiche_quiche__testing",
7931 "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
7932 "cronet_aml_net_uri_template__testing",
7933 "cronet_aml_testing_gtest_gtest__testing",
7934 "cronet_aml_third_party_boringssl_boringssl__testing",
7935 "cronet_aml_third_party_brotli_common__testing",
7936 "cronet_aml_third_party_brotli_dec__testing",
7937 "cronet_aml_third_party_ced_ced__testing",
7938 "cronet_aml_third_party_icu_icui18n__testing",
7939 "cronet_aml_third_party_icu_icuuc_private__testing",
7940 "cronet_aml_third_party_libevent_libevent__testing",
7941 "cronet_aml_third_party_libxml_libxml__testing",
7942 "cronet_aml_third_party_libxml_libxml_utils__testing",
7943 "cronet_aml_third_party_libxml_xml_reader__testing",
7944 "cronet_aml_third_party_modp_b64_modp_b64__testing",
7945 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
7946 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007947 ],
7948 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007949 "cronet_aml_base_debugging_buildflags__testing",
7950 "cronet_aml_base_logging_buildflags__testing",
7951 "cronet_aml_build_chromeos_buildflags__testing",
7952 "cronet_aml_components_cronet_android_buildflags__testing",
7953 "cronet_aml_components_cronet_android_cronet_jni_headers__testing",
7954 "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
7955 "cronet_aml_components_cronet_cronet_buildflags__testing",
7956 "cronet_aml_components_cronet_cronet_version_header_action__testing",
7957 "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
7958 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
7959 "cronet_aml_url_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007960 ],
7961 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007962 "cronet_aml_base_debugging_buildflags__testing",
7963 "cronet_aml_base_logging_buildflags__testing",
7964 "cronet_aml_build_chromeos_buildflags__testing",
7965 "cronet_aml_components_cronet_android_buildflags__testing",
7966 "cronet_aml_components_cronet_android_cronet_jni_headers__testing",
7967 "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
7968 "cronet_aml_components_cronet_cronet_buildflags__testing",
7969 "cronet_aml_components_cronet_cronet_version_header_action__testing",
7970 "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
7971 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
7972 "cronet_aml_url_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007973 ],
7974 defaults: [
7975 "cronet_aml_defaults",
7976 ],
7977 cflags: [
7978 "-DANDROID",
7979 "-DANDROID_NDK_VERSION_ROLL=r23_1",
7980 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
7981 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
7982 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
7983 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7984 "-DGOOGLE_PROTOBUF_NO_RTTI",
7985 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7986 "-DGTEST_API_=",
7987 "-DGTEST_HAS_ABSL=1",
7988 "-DGTEST_HAS_POSIX_RE=0",
7989 "-DGTEST_HAS_TR1_TUPLE=0",
7990 "-DGTEST_LANG_CXX11=1",
7991 "-DHAVE_PTHREAD",
7992 "-DHAVE_SYS_UIO_H",
7993 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
7994 "-DNDEBUG",
7995 "-DNO_UNWIND_TABLES",
7996 "-DNVALGRIND",
7997 "-DOFFICIAL_BUILD",
7998 "-DUNIT_TEST",
7999 "-DUSE_CHROMIUM_ICU=1",
8000 "-DUSE_REMOTE_TEST_SERVER",
8001 "-DU_ENABLE_DYLOAD=0",
8002 "-DU_ENABLE_RESOURCE_TRACING=0",
8003 "-DU_ENABLE_TRACING=1",
8004 "-DU_STATIC_IMPLEMENTATION",
8005 "-DU_USING_ICU_NAMESPACE=0",
8006 "-D_FORTIFY_SOURCE=2",
8007 "-D_GNU_SOURCE",
8008 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8009 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8010 "-D__STDC_CONSTANT_MACROS",
8011 "-D__STDC_FORMAT_MACROS",
8012 "-Oz",
8013 "-fdata-sections",
8014 "-ffunction-sections",
8015 "-fno-asynchronous-unwind-tables",
8016 "-fno-unwind-tables",
8017 "-fvisibility-inlines-hidden",
8018 "-fvisibility=hidden",
8019 "-g1",
8020 ],
8021 local_include_dirs: [
8022 "./",
8023 "buildtools/third_party/libc++/",
8024 "buildtools/third_party/libc++/trunk/include",
8025 "buildtools/third_party/libc++abi/trunk/include",
8026 "net/third_party/quiche/overrides/",
8027 "net/third_party/quiche/src/",
8028 "net/third_party/quiche/src/quiche/common/platform/default/",
8029 "third_party/abseil-cpp/",
8030 "third_party/boringssl/src/include/",
8031 "third_party/ced/src/",
8032 "third_party/googletest/custom/",
8033 "third_party/googletest/src/googlemock/include/",
8034 "third_party/googletest/src/googletest/include/",
8035 "third_party/icu/source/common/",
8036 "third_party/icu/source/i18n/",
8037 "third_party/protobuf/src/",
8038 ],
8039 cpp_std: "c++17",
8040 ldflags: [
8041 "-Wl,--as-needed",
8042 "-Wl,--gc-sections",
8043 "-Wl,--icf=all",
8044 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
8045 "-Wl,-wrap,asprintf",
8046 "-Wl,-wrap,calloc",
8047 "-Wl,-wrap,free",
8048 "-Wl,-wrap,getcwd",
8049 "-Wl,-wrap,malloc",
8050 "-Wl,-wrap,malloc_usable_size",
8051 "-Wl,-wrap,memalign",
8052 "-Wl,-wrap,posix_memalign",
8053 "-Wl,-wrap,pvalloc",
8054 "-Wl,-wrap,realloc",
8055 "-Wl,-wrap,realpath",
8056 "-Wl,-wrap,strdup",
8057 "-Wl,-wrap,strndup",
8058 "-Wl,-wrap,valloc",
8059 "-Wl,-wrap,vasprintf",
8060 ],
8061 target: {
8062 android_arm: {
8063 cflags: [
8064 "-fstack-protector",
8065 ],
8066 },
8067 android_arm64: {
8068 cflags: [
8069 "-fstack-protector",
8070 "-mno-outline",
8071 "-mno-outline-atomics",
8072 ],
8073 },
8074 android_x86: {
8075 cflags: [
8076 "-msse3",
8077 ],
8078 },
8079 android_x86_64: {
8080 cflags: [
8081 "-fstack-protector",
8082 "-msse3",
8083 ],
8084 },
8085 },
8086}
8087
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008088// GN: //components/cronet/android:http_cache_type_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008089java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008090 name: "cronet_aml_components_cronet_android_http_cache_type_java",
8091 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008092 "$(out) " +
8093 "$(location components/cronet/url_request_context_config.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008094 out: [
8095 "components/cronet/android/http_cache_type_java.srcjar",
8096 ],
8097 tool_files: [
8098 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008099 "build/android/gyp/util/__init__.py",
8100 "build/android/gyp/util/build_utils.py",
8101 "build/android/gyp/util/java_cpp_utils.py",
8102 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008103 "components/cronet/url_request_context_config.h",
8104 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008105}
8106
8107// GN: //components/cronet/android:implementation_api_version
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008108java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008109 name: "cronet_aml_components_cronet_android_implementation_api_version",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008110 cmd: "$(location build/util/version.py) --official " +
8111 "-f " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008112 "$(location chrome/VERSION) " +
8113 "-f " +
8114 "$(location build/util/LASTCHANGE) " +
8115 "-e " +
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008116 "'API_LEVEL=19' " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008117 "-o " +
8118 "$(out) " +
8119 "$(location components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template)",
8120 out: [
8121 "components/cronet/android/templates/org/chromium/net/impl/ImplVersion.java",
8122 ],
8123 tool_files: [
8124 "build/util/LASTCHANGE",
8125 "build/util/android_chrome_version.py",
8126 "build/util/version.py",
8127 "chrome/VERSION",
8128 "components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template",
8129 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008130}
8131
8132// GN: //components/cronet/android:integrated_mode_state
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008133genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008134 name: "cronet_aml_components_cronet_android_integrated_mode_state",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008135 srcs: [
8136 ":cronet_aml_components_cronet_android_integrated_mode_state_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008137 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008138 tools: [
8139 "soong_zip",
8140 ],
8141 cmd: "cp $(in) $(genDir)/IntegratedModeState.java && " +
Motomu Utsumidfb67ba2023-01-27 12:02:18 +09008142 "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/IntegratedModeState.java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008143 out: [
8144 "IntegratedModeState.srcjar",
8145 ],
8146}
8147
8148// GN: //components/cronet/android:integrated_mode_state
8149cc_object {
8150 name: "cronet_aml_components_cronet_android_integrated_mode_state_preprocess",
8151 srcs: [
8152 ":cronet_aml_components_cronet_android_integrated_mode_state_rename",
8153 ],
8154 cflags: [
8155 "-DANDROID",
8156 "-E",
8157 "-P",
8158 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09008159 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008160}
8161
8162// GN: //components/cronet/android:integrated_mode_state
8163genrule {
8164 name: "cronet_aml_components_cronet_android_integrated_mode_state_rename",
8165 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008166 "components/cronet/android/java/src/org/chromium/net/impl/IntegratedModeState.template",
8167 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008168 cmd: "cp $(in) $(out)",
8169 out: [
8170 "IntegratedModeState.cc",
8171 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008172}
8173
8174// GN: //components/cronet/android:interface_api_version
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008175java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008176 name: "cronet_aml_components_cronet_android_interface_api_version",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008177 cmd: "$(location build/util/version.py) --official " +
8178 "-f " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008179 "$(location chrome/VERSION) " +
8180 "-f " +
8181 "$(location build/util/LASTCHANGE) " +
8182 "-e " +
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008183 "'API_LEVEL=19' " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008184 "-o " +
8185 "$(out) " +
Motomu Utsumid6015fb2023-01-12 15:16:26 +09008186 "$(location components/cronet/android/api/src/android/net/http/ApiVersion.template)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008187 out: [
8188 "components/cronet/android/templates/org/chromium/net/ApiVersion.java",
8189 ],
8190 tool_files: [
8191 "build/util/LASTCHANGE",
8192 "build/util/android_chrome_version.py",
8193 "build/util/version.py",
8194 "chrome/VERSION",
Motomu Utsumid6015fb2023-01-12 15:16:26 +09008195 "components/cronet/android/api/src/android/net/http/ApiVersion.template",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008196 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008197}
8198
8199// GN: //components/cronet/android:load_states_list
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008200genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008201 name: "cronet_aml_components_cronet_android_load_states_list",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008202 srcs: [
8203 ":cronet_aml_components_cronet_android_load_states_list_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008204 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008205 tools: [
8206 "soong_zip",
8207 ],
8208 cmd: "cp $(in) $(genDir)/LoadState.java && " +
Motomu Utsumidfb67ba2023-01-27 12:02:18 +09008209 "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/LoadState.java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008210 out: [
8211 "LoadState.srcjar",
8212 ],
8213}
8214
8215// GN: //components/cronet/android:load_states_list
8216cc_object {
8217 name: "cronet_aml_components_cronet_android_load_states_list_preprocess",
8218 srcs: [
8219 ":cronet_aml_components_cronet_android_load_states_list_rename",
8220 ],
8221 cflags: [
8222 "-DANDROID",
8223 "-E",
8224 "-P",
8225 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09008226 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008227}
8228
8229// GN: //components/cronet/android:load_states_list
8230genrule {
8231 name: "cronet_aml_components_cronet_android_load_states_list_rename",
8232 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008233 "components/cronet/android/java/src/org/chromium/net/impl/LoadState.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008234 ],
8235 cmd: "cp $(in) $(out)",
8236 out: [
8237 "LoadState.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008238 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008239}
8240
8241// GN: //components/cronet/android:net_idempotency_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008242java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008243 name: "cronet_aml_components_cronet_android_net_idempotency_java",
8244 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008245 "$(out) " +
8246 "$(location net/base/idempotency.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008247 out: [
8248 "components/cronet/android/net_idempotency_java.srcjar",
8249 ],
8250 tool_files: [
8251 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008252 "build/android/gyp/util/__init__.py",
8253 "build/android/gyp/util/build_utils.py",
8254 "build/android/gyp/util/java_cpp_utils.py",
8255 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008256 "net/base/idempotency.h",
8257 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008258}
8259
8260// GN: //components/cronet/android:net_request_priority_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008261java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008262 name: "cronet_aml_components_cronet_android_net_request_priority_java",
8263 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008264 "$(out) " +
8265 "$(location net/base/request_priority.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008266 out: [
8267 "components/cronet/android/net_request_priority_java.srcjar",
8268 ],
8269 tool_files: [
8270 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008271 "build/android/gyp/util/__init__.py",
8272 "build/android/gyp/util/build_utils.py",
8273 "build/android/gyp/util/java_cpp_utils.py",
8274 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008275 "net/base/request_priority.h",
8276 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008277}
8278
8279// GN: //components/cronet/android:network_quality_observation_source_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008280java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008281 name: "cronet_aml_components_cronet_android_network_quality_observation_source_java",
8282 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008283 "$(out) " +
8284 "$(location net/nqe/network_quality_observation_source.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008285 out: [
8286 "components/cronet/android/network_quality_observation_source_java.srcjar",
8287 ],
8288 tool_files: [
8289 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008290 "build/android/gyp/util/__init__.py",
8291 "build/android/gyp/util/build_utils.py",
8292 "build/android/gyp/util/java_cpp_utils.py",
8293 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008294 "net/nqe/network_quality_observation_source.h",
8295 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008296}
8297
8298// GN: //components/cronet/android:rtt_throughput_values_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008299java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008300 name: "cronet_aml_components_cronet_android_rtt_throughput_values_java",
8301 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008302 "$(out) " +
8303 "$(location net/nqe/network_quality.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008304 out: [
8305 "components/cronet/android/rtt_throughput_values_java.srcjar",
8306 ],
8307 tool_files: [
8308 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008309 "build/android/gyp/util/__init__.py",
8310 "build/android/gyp/util/build_utils.py",
8311 "build/android/gyp/util/java_cpp_utils.py",
8312 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008313 "net/nqe/network_quality.h",
8314 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008315}
8316
8317// GN: //components/cronet/android:url_request_error_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008318java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008319 name: "cronet_aml_components_cronet_android_url_request_error_java",
8320 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008321 "$(out) " +
8322 "$(location components/cronet/android/url_request_error.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008323 out: [
8324 "components/cronet/android/url_request_error_java.srcjar",
8325 ],
8326 tool_files: [
8327 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008328 "build/android/gyp/util/__init__.py",
8329 "build/android/gyp/util/build_utils.py",
8330 "build/android/gyp/util/java_cpp_utils.py",
8331 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008332 "components/cronet/android/url_request_error.h",
8333 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008334}
8335
Motomu Utsumie74bab82022-12-16 18:00:12 +09008336// GN: //components/cronet:cronet_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008337cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09008338 name: "cronet_aml_components_cronet_cronet_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008339 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
8340 "$(location build/write_buildflag_header.py) --output " +
8341 "$(out) " +
8342 "--rulename " +
8343 "//components/cronet:cronet_buildflags " +
8344 "--gen-dir " +
8345 ". " +
8346 "--definitions " +
8347 "/dev/stdin",
8348 out: [
8349 "components/cronet/cronet_buildflags.h",
8350 ],
8351 tool_files: [
8352 "build/write_buildflag_header.py",
8353 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008354 apex_available: [
8355 "com.android.tethering",
8356 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008357}
8358
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008359// GN: //components/cronet:cronet_buildflags__testing
8360cc_genrule {
8361 name: "cronet_aml_components_cronet_cronet_buildflags__testing",
8362 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
8363 "$(location build/write_buildflag_header.py) --output " +
8364 "$(out) " +
8365 "--rulename " +
8366 "//components/cronet:cronet_buildflags " +
8367 "--gen-dir " +
8368 ". " +
8369 "--definitions " +
8370 "/dev/stdin",
8371 out: [
8372 "components/cronet/cronet_buildflags.h",
8373 ],
8374 tool_files: [
8375 "build/write_buildflag_header.py",
8376 ],
8377 apex_available: [
8378 "com.android.tethering",
8379 ],
8380}
8381
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008382// GN: //components/cronet:cronet_common
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008383cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008384 name: "cronet_aml_components_cronet_cronet_common",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008385 srcs: [
8386 "components/cronet/cronet_context.cc",
8387 "components/cronet/cronet_prefs_manager.cc",
8388 "components/cronet/cronet_upload_data_stream.cc",
8389 "components/cronet/cronet_url_request.cc",
8390 "components/cronet/host_cache_persistence_manager.cc",
8391 "components/cronet/stale_host_resolver.cc",
8392 "components/cronet/url_request_context_config.cc",
8393 ],
8394 shared_libs: [
8395 "libandroid",
8396 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -08008397 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008398 ],
8399 static_libs: [
8400 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8401 "cronet_aml_base_base",
8402 "cronet_aml_base_base_static",
8403 "cronet_aml_base_third_party_double_conversion_double_conversion",
8404 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8405 "cronet_aml_components_prefs_prefs",
8406 "cronet_aml_crypto_crypto",
8407 "cronet_aml_net_net",
8408 "cronet_aml_net_preload_decoder",
8409 "cronet_aml_net_third_party_quiche_quiche",
8410 "cronet_aml_net_uri_template",
8411 "cronet_aml_third_party_boringssl_boringssl",
8412 "cronet_aml_third_party_brotli_common",
8413 "cronet_aml_third_party_brotli_dec",
8414 "cronet_aml_third_party_icu_icui18n",
8415 "cronet_aml_third_party_icu_icuuc_private",
8416 "cronet_aml_third_party_libevent_libevent",
8417 "cronet_aml_third_party_modp_b64_modp_b64",
8418 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008419 "cronet_aml_url_url",
8420 ],
8421 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +09008422 "cronet_aml_components_cronet_cronet_buildflags",
8423 "cronet_aml_components_cronet_cronet_version_header_action",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008424 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
8425 ],
8426 defaults: [
8427 "cronet_aml_defaults",
8428 ],
8429 cflags: [
8430 "-DANDROID",
8431 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008432 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8433 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008434 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008435 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8436 "-DGOOGLE_PROTOBUF_NO_RTTI",
8437 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8438 "-DHAVE_PTHREAD",
8439 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008440 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09008441 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008442 "-DNVALGRIND",
8443 "-DOFFICIAL_BUILD",
8444 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008445 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008446 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008447 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8448 "-D__STDC_CONSTANT_MACROS",
8449 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09008450 "-Oz",
8451 "-fdata-sections",
8452 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09008453 "-fno-asynchronous-unwind-tables",
8454 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09008455 "-fvisibility-inlines-hidden",
8456 "-fvisibility=hidden",
8457 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008458 ],
8459 local_include_dirs: [
8460 "./",
8461 "buildtools/third_party/libc++/",
8462 "buildtools/third_party/libc++/trunk/include",
8463 "buildtools/third_party/libc++abi/trunk/include",
8464 "net/third_party/quiche/overrides/",
8465 "net/third_party/quiche/src/",
8466 "net/third_party/quiche/src/quiche/common/platform/default/",
8467 "third_party/abseil-cpp/",
8468 "third_party/boringssl/src/include/",
8469 "third_party/protobuf/src/",
8470 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008471 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +09008472 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09008473 android_arm: {
8474 cflags: [
8475 "-fstack-protector",
8476 ],
8477 },
8478 android_arm64: {
8479 cflags: [
8480 "-fstack-protector",
8481 "-mno-outline",
8482 "-mno-outline-atomics",
8483 ],
8484 },
Motomu Utsumi55394632022-11-18 17:44:28 +09008485 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008486 cflags: [
8487 "-msse3",
8488 ],
Motomu Utsumi55394632022-11-18 17:44:28 +09008489 },
8490 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008491 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09008492 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008493 "-msse3",
8494 ],
Motomu Utsumi55394632022-11-18 17:44:28 +09008495 },
8496 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008497}
8498
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008499// GN: //components/cronet:cronet_common__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00008500cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008501 name: "cronet_aml_components_cronet_cronet_common__testing",
8502 srcs: [
8503 "components/cronet/cronet_context.cc",
8504 "components/cronet/cronet_prefs_manager.cc",
8505 "components/cronet/cronet_upload_data_stream.cc",
8506 "components/cronet/cronet_url_request.cc",
8507 "components/cronet/host_cache_persistence_manager.cc",
8508 "components/cronet/stale_host_resolver.cc",
8509 "components/cronet/url_request_context_config.cc",
8510 ],
8511 shared_libs: [
8512 "libandroid",
8513 "liblog",
8514 "libz",
8515 ],
8516 static_libs: [
8517 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
8518 "cronet_aml_base_base__testing",
8519 "cronet_aml_base_base_static__testing",
8520 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
8521 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
8522 "cronet_aml_components_prefs_prefs__testing",
8523 "cronet_aml_crypto_crypto__testing",
8524 "cronet_aml_net_net__testing",
8525 "cronet_aml_net_preload_decoder__testing",
8526 "cronet_aml_net_third_party_quiche_quiche__testing",
8527 "cronet_aml_net_uri_template__testing",
8528 "cronet_aml_third_party_boringssl_boringssl__testing",
8529 "cronet_aml_third_party_brotli_common__testing",
8530 "cronet_aml_third_party_brotli_dec__testing",
8531 "cronet_aml_third_party_icu_icui18n__testing",
8532 "cronet_aml_third_party_icu_icuuc_private__testing",
8533 "cronet_aml_third_party_libevent_libevent__testing",
8534 "cronet_aml_third_party_modp_b64_modp_b64__testing",
8535 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
8536 "cronet_aml_url_url__testing",
8537 ],
8538 generated_headers: [
8539 "cronet_aml_components_cronet_cronet_buildflags__testing",
8540 "cronet_aml_components_cronet_cronet_version_header_action__testing",
8541 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
8542 ],
8543 defaults: [
8544 "cronet_aml_defaults",
8545 ],
8546 cflags: [
8547 "-DANDROID",
8548 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8549 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8550 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
8551 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8552 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8553 "-DGOOGLE_PROTOBUF_NO_RTTI",
8554 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8555 "-DHAVE_PTHREAD",
8556 "-DHAVE_SYS_UIO_H",
8557 "-DNDEBUG",
8558 "-DNO_UNWIND_TABLES",
8559 "-DNVALGRIND",
8560 "-DOFFICIAL_BUILD",
8561 "-D_FORTIFY_SOURCE=2",
8562 "-D_GNU_SOURCE",
8563 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8564 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8565 "-D__STDC_CONSTANT_MACROS",
8566 "-D__STDC_FORMAT_MACROS",
8567 "-Oz",
8568 "-fdata-sections",
8569 "-ffunction-sections",
8570 "-fno-asynchronous-unwind-tables",
8571 "-fno-unwind-tables",
8572 "-fvisibility-inlines-hidden",
8573 "-fvisibility=hidden",
8574 "-g1",
8575 ],
8576 local_include_dirs: [
8577 "./",
8578 "buildtools/third_party/libc++/",
8579 "buildtools/third_party/libc++/trunk/include",
8580 "buildtools/third_party/libc++abi/trunk/include",
8581 "net/third_party/quiche/overrides/",
8582 "net/third_party/quiche/src/",
8583 "net/third_party/quiche/src/quiche/common/platform/default/",
8584 "third_party/abseil-cpp/",
8585 "third_party/boringssl/src/include/",
8586 "third_party/protobuf/src/",
8587 ],
8588 cpp_std: "c++17",
8589 target: {
8590 android_arm: {
8591 cflags: [
8592 "-fstack-protector",
8593 ],
8594 },
8595 android_arm64: {
8596 cflags: [
8597 "-fstack-protector",
8598 "-mno-outline",
8599 "-mno-outline-atomics",
8600 ],
8601 },
8602 android_x86: {
8603 cflags: [
8604 "-msse3",
8605 ],
8606 },
8607 android_x86_64: {
8608 cflags: [
8609 "-fstack-protector",
8610 "-msse3",
8611 ],
8612 },
8613 },
8614}
8615
8616// GN: //components/cronet:cronet_common_unittests__testing
8617cc_object {
8618 name: "cronet_aml_components_cronet_cronet_common_unittests__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00008619 srcs: [
8620 "components/cronet/host_cache_persistence_manager_unittest.cc",
8621 "components/cronet/network_tasks_unittest.cc",
8622 "components/cronet/stale_host_resolver_unittest.cc",
8623 "components/cronet/url_request_context_config_unittest.cc",
8624 ],
8625 shared_libs: [
8626 "libandroid",
8627 "liblog",
8628 "libz",
8629 ],
8630 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008631 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
8632 "cronet_aml_base_base__testing",
8633 "cronet_aml_base_base_static__testing",
8634 "cronet_aml_base_i18n__testing",
8635 "cronet_aml_base_test_test_config__testing",
8636 "cronet_aml_base_test_test_support__testing",
8637 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
8638 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
8639 "cronet_aml_components_prefs_prefs__testing",
8640 "cronet_aml_components_prefs_test_support__testing",
8641 "cronet_aml_crypto_crypto__testing",
8642 "cronet_aml_net_gtest_util__testing",
8643 "cronet_aml_net_net__testing",
8644 "cronet_aml_net_preload_decoder__testing",
8645 "cronet_aml_net_test_support__testing",
8646 "cronet_aml_net_third_party_quiche_quiche__testing",
8647 "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
8648 "cronet_aml_net_uri_template__testing",
8649 "cronet_aml_testing_gtest_gtest__testing",
8650 "cronet_aml_third_party_boringssl_boringssl__testing",
8651 "cronet_aml_third_party_brotli_common__testing",
8652 "cronet_aml_third_party_brotli_dec__testing",
8653 "cronet_aml_third_party_ced_ced__testing",
8654 "cronet_aml_third_party_icu_icui18n__testing",
8655 "cronet_aml_third_party_icu_icuuc_private__testing",
8656 "cronet_aml_third_party_libevent_libevent__testing",
8657 "cronet_aml_third_party_libxml_libxml__testing",
8658 "cronet_aml_third_party_libxml_libxml_utils__testing",
8659 "cronet_aml_third_party_libxml_xml_reader__testing",
8660 "cronet_aml_third_party_modp_b64_modp_b64__testing",
8661 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
8662 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00008663 ],
8664 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008665 "cronet_aml_components_cronet_cronet_buildflags__testing",
8666 "cronet_aml_components_cronet_cronet_version_header_action__testing",
8667 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00008668 ],
8669 defaults: [
8670 "cronet_aml_defaults",
8671 ],
8672 cflags: [
8673 "-DANDROID",
8674 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8675 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8676 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
8677 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8678 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8679 "-DGOOGLE_PROTOBUF_NO_RTTI",
8680 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8681 "-DGTEST_API_=",
8682 "-DGTEST_HAS_ABSL=1",
8683 "-DGTEST_HAS_POSIX_RE=0",
8684 "-DGTEST_HAS_TR1_TUPLE=0",
8685 "-DGTEST_LANG_CXX11=1",
8686 "-DHAVE_PTHREAD",
8687 "-DHAVE_SYS_UIO_H",
8688 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
8689 "-DNDEBUG",
8690 "-DNO_UNWIND_TABLES",
8691 "-DNVALGRIND",
8692 "-DOFFICIAL_BUILD",
8693 "-DUNIT_TEST",
8694 "-DUSE_CHROMIUM_ICU=1",
8695 "-DUSE_REMOTE_TEST_SERVER",
8696 "-DU_ENABLE_DYLOAD=0",
8697 "-DU_ENABLE_RESOURCE_TRACING=0",
8698 "-DU_ENABLE_TRACING=1",
8699 "-DU_STATIC_IMPLEMENTATION",
8700 "-DU_USING_ICU_NAMESPACE=0",
8701 "-D_FORTIFY_SOURCE=2",
8702 "-D_GNU_SOURCE",
8703 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8704 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8705 "-D__STDC_CONSTANT_MACROS",
8706 "-D__STDC_FORMAT_MACROS",
8707 "-Oz",
8708 "-fdata-sections",
8709 "-ffunction-sections",
8710 "-fno-asynchronous-unwind-tables",
8711 "-fno-unwind-tables",
8712 "-fvisibility-inlines-hidden",
8713 "-fvisibility=hidden",
8714 "-g1",
8715 ],
8716 local_include_dirs: [
8717 "./",
8718 "buildtools/third_party/libc++/",
8719 "buildtools/third_party/libc++/trunk/include",
8720 "buildtools/third_party/libc++abi/trunk/include",
8721 "net/third_party/quiche/overrides/",
8722 "net/third_party/quiche/src/",
8723 "net/third_party/quiche/src/quiche/common/platform/default/",
8724 "third_party/abseil-cpp/",
8725 "third_party/boringssl/src/include/",
8726 "third_party/ced/src/",
8727 "third_party/googletest/custom/",
8728 "third_party/googletest/src/googlemock/include/",
8729 "third_party/googletest/src/googletest/include/",
8730 "third_party/icu/source/common/",
8731 "third_party/icu/source/i18n/",
8732 "third_party/protobuf/src/",
8733 ],
8734 cpp_std: "c++17",
8735 target: {
8736 android_arm: {
8737 cflags: [
8738 "-fstack-protector",
8739 ],
8740 },
8741 android_arm64: {
8742 cflags: [
8743 "-fstack-protector",
8744 "-mno-outline",
8745 "-mno-outline-atomics",
8746 ],
8747 },
8748 android_x86: {
8749 cflags: [
8750 "-msse3",
8751 ],
8752 },
8753 android_x86_64: {
8754 cflags: [
8755 "-fstack-protector",
8756 "-msse3",
8757 ],
8758 },
8759 },
8760}
8761
Motomu Utsumie74bab82022-12-16 18:00:12 +09008762// GN: //components/cronet:cronet_version_header_action
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008763cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09008764 name: "cronet_aml_components_cronet_cronet_version_header_action",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008765 cmd: "$(location build/util/version.py) --official " +
8766 "-f " +
Motomu Utsumi847a6d32022-11-09 17:32:06 +09008767 "$(location chrome/VERSION) " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008768 "-e " +
Mohannad Farrag25697342022-12-02 18:01:48 +00008769 "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008770 "-o " +
Motomu Utsumi438f2c22022-11-09 18:16:40 +09008771 "$(out) " +
Motomu Utsumi847a6d32022-11-09 17:32:06 +09008772 "$(location components/cronet/version.h.in)",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008773 out: [
8774 "components/cronet/version.h",
8775 ],
8776 tool_files: [
8777 "build/util/LASTCHANGE",
Motomu Utsumib0a49e42022-11-09 18:12:27 +09008778 "build/util/android_chrome_version.py",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008779 "build/util/version.py",
8780 "chrome/VERSION",
8781 "components/cronet/version.h.in",
8782 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008783 apex_available: [
8784 "com.android.tethering",
8785 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008786}
8787
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008788// GN: //components/cronet:cronet_version_header_action__testing
8789cc_genrule {
8790 name: "cronet_aml_components_cronet_cronet_version_header_action__testing",
8791 cmd: "$(location build/util/version.py) --official " +
8792 "-f " +
8793 "$(location chrome/VERSION) " +
8794 "-e " +
8795 "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
8796 "-o " +
8797 "$(out) " +
8798 "$(location components/cronet/version.h.in)",
8799 out: [
8800 "components/cronet/version.h",
8801 ],
8802 tool_files: [
8803 "build/util/LASTCHANGE",
8804 "build/util/android_chrome_version.py",
8805 "build/util/version.py",
8806 "chrome/VERSION",
8807 "components/cronet/version.h.in",
8808 ],
8809 apex_available: [
8810 "com.android.tethering",
8811 ],
8812}
8813
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008814// GN: //components/cronet:metrics_util
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008815cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008816 name: "cronet_aml_components_cronet_metrics_util",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008817 srcs: [
8818 "components/cronet/metrics_util.cc",
8819 ],
8820 shared_libs: [
8821 "libandroid",
8822 "liblog",
8823 ],
8824 static_libs: [
8825 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8826 "cronet_aml_base_base",
8827 "cronet_aml_base_base_static",
8828 "cronet_aml_base_third_party_double_conversion_double_conversion",
8829 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8830 "cronet_aml_third_party_boringssl_boringssl",
8831 "cronet_aml_third_party_icu_icui18n",
8832 "cronet_aml_third_party_icu_icuuc_private",
8833 "cronet_aml_third_party_libevent_libevent",
8834 "cronet_aml_third_party_modp_b64_modp_b64",
8835 ],
8836 defaults: [
8837 "cronet_aml_defaults",
8838 ],
8839 cflags: [
8840 "-DANDROID",
8841 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008842 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8843 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008844 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008845 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008846 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09008847 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008848 "-DNVALGRIND",
8849 "-DOFFICIAL_BUILD",
8850 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008851 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008852 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008853 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8854 "-D__STDC_CONSTANT_MACROS",
8855 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09008856 "-Oz",
8857 "-fdata-sections",
8858 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09008859 "-fno-asynchronous-unwind-tables",
8860 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09008861 "-fvisibility-inlines-hidden",
8862 "-fvisibility=hidden",
8863 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008864 ],
8865 local_include_dirs: [
8866 "./",
8867 "buildtools/third_party/libc++/",
8868 "buildtools/third_party/libc++/trunk/include",
8869 "buildtools/third_party/libc++abi/trunk/include",
8870 "third_party/abseil-cpp/",
8871 "third_party/boringssl/src/include/",
8872 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008873 cpp_std: "c++17",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008874 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09008875 android_arm: {
8876 cflags: [
8877 "-fstack-protector",
8878 ],
8879 },
8880 android_arm64: {
8881 cflags: [
8882 "-fstack-protector",
8883 "-mno-outline",
8884 "-mno-outline-atomics",
8885 ],
8886 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008887 android_x86: {
8888 cflags: [
8889 "-msse3",
8890 ],
8891 },
8892 android_x86_64: {
8893 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09008894 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008895 "-msse3",
8896 ],
8897 },
8898 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008899}
8900
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008901// GN: //components/cronet:metrics_util__testing
8902cc_object {
8903 name: "cronet_aml_components_cronet_metrics_util__testing",
8904 srcs: [
8905 "components/cronet/metrics_util.cc",
8906 ],
8907 shared_libs: [
8908 "libandroid",
8909 "liblog",
8910 ],
8911 static_libs: [
8912 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
8913 "cronet_aml_base_base__testing",
8914 "cronet_aml_base_base_static__testing",
8915 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
8916 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
8917 "cronet_aml_third_party_boringssl_boringssl__testing",
8918 "cronet_aml_third_party_icu_icui18n__testing",
8919 "cronet_aml_third_party_icu_icuuc_private__testing",
8920 "cronet_aml_third_party_libevent_libevent__testing",
8921 "cronet_aml_third_party_modp_b64_modp_b64__testing",
8922 ],
8923 defaults: [
8924 "cronet_aml_defaults",
8925 ],
8926 cflags: [
8927 "-DANDROID",
8928 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8929 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8930 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
8931 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8932 "-DHAVE_SYS_UIO_H",
8933 "-DNDEBUG",
8934 "-DNO_UNWIND_TABLES",
8935 "-DNVALGRIND",
8936 "-DOFFICIAL_BUILD",
8937 "-D_FORTIFY_SOURCE=2",
8938 "-D_GNU_SOURCE",
8939 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8940 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8941 "-D__STDC_CONSTANT_MACROS",
8942 "-D__STDC_FORMAT_MACROS",
8943 "-Oz",
8944 "-fdata-sections",
8945 "-ffunction-sections",
8946 "-fno-asynchronous-unwind-tables",
8947 "-fno-unwind-tables",
8948 "-fvisibility-inlines-hidden",
8949 "-fvisibility=hidden",
8950 "-g1",
8951 ],
8952 local_include_dirs: [
8953 "./",
8954 "buildtools/third_party/libc++/",
8955 "buildtools/third_party/libc++/trunk/include",
8956 "buildtools/third_party/libc++abi/trunk/include",
8957 "third_party/abseil-cpp/",
8958 "third_party/boringssl/src/include/",
8959 ],
8960 cpp_std: "c++17",
8961 target: {
8962 android_arm: {
8963 cflags: [
8964 "-fstack-protector",
8965 ],
8966 },
8967 android_arm64: {
8968 cflags: [
8969 "-fstack-protector",
8970 "-mno-outline",
8971 "-mno-outline-atomics",
8972 ],
8973 },
8974 android_x86: {
8975 cflags: [
8976 "-msse3",
8977 ],
8978 },
8979 android_x86_64: {
8980 cflags: [
8981 "-fstack-protector",
8982 "-msse3",
8983 ],
8984 },
8985 },
8986}
8987
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008988// GN: //components/metrics:library_support
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008989cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008990 name: "cronet_aml_components_metrics_library_support",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008991 srcs: [
8992 ":cronet_aml_third_party_metrics_proto_metrics_proto_gen",
8993 "components/metrics/histogram_encoder.cc",
8994 "components/metrics/library_support/histogram_manager.cc",
8995 ],
8996 shared_libs: [
8997 "libandroid",
8998 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008999 "libprotobuf-cpp-lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009000 ],
9001 static_libs: [
9002 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
9003 "cronet_aml_base_base",
9004 "cronet_aml_base_base_static",
9005 "cronet_aml_base_third_party_double_conversion_double_conversion",
9006 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
9007 "cronet_aml_third_party_boringssl_boringssl",
9008 "cronet_aml_third_party_icu_icui18n",
9009 "cronet_aml_third_party_icu_icuuc_private",
9010 "cronet_aml_third_party_libevent_libevent",
9011 "cronet_aml_third_party_modp_b64_modp_b64",
9012 "cronet_aml_third_party_protobuf_protobuf_lite",
9013 ],
9014 generated_headers: [
9015 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
9016 ],
9017 defaults: [
9018 "cronet_aml_defaults",
9019 ],
9020 cflags: [
9021 "-DANDROID",
9022 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009023 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9024 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009025 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009026 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
9027 "-DGOOGLE_PROTOBUF_NO_RTTI",
9028 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
9029 "-DHAVE_PTHREAD",
9030 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009031 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09009032 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009033 "-DNVALGRIND",
9034 "-DOFFICIAL_BUILD",
9035 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009036 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009037 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009038 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9039 "-D__STDC_CONSTANT_MACROS",
9040 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009041 "-Oz",
9042 "-fdata-sections",
9043 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09009044 "-fno-asynchronous-unwind-tables",
9045 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009046 "-fvisibility-inlines-hidden",
9047 "-fvisibility=hidden",
9048 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009049 ],
9050 local_include_dirs: [
9051 "./",
9052 "buildtools/third_party/libc++/",
9053 "buildtools/third_party/libc++/trunk/include",
9054 "buildtools/third_party/libc++abi/trunk/include",
9055 "third_party/abseil-cpp/",
9056 "third_party/boringssl/src/include/",
9057 "third_party/protobuf/src/",
9058 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009059 cpp_std: "c++17",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009060 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09009061 android_arm: {
9062 cflags: [
9063 "-fstack-protector",
9064 ],
9065 },
9066 android_arm64: {
9067 cflags: [
9068 "-fstack-protector",
9069 "-mno-outline",
9070 "-mno-outline-atomics",
9071 ],
9072 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009073 android_x86: {
9074 cflags: [
9075 "-msse3",
9076 ],
9077 },
9078 android_x86_64: {
9079 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09009080 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009081 "-msse3",
9082 ],
9083 },
9084 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009085}
9086
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009087// GN: //components/metrics:library_support__testing
9088cc_object {
9089 name: "cronet_aml_components_metrics_library_support__testing",
9090 srcs: [
9091 ":cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen",
9092 "components/metrics/histogram_encoder.cc",
9093 "components/metrics/library_support/histogram_manager.cc",
9094 ],
9095 shared_libs: [
9096 "libandroid",
9097 "liblog",
9098 "libprotobuf-cpp-lite",
9099 ],
9100 static_libs: [
9101 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
9102 "cronet_aml_base_base__testing",
9103 "cronet_aml_base_base_static__testing",
9104 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
9105 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
9106 "cronet_aml_third_party_boringssl_boringssl__testing",
9107 "cronet_aml_third_party_icu_icui18n__testing",
9108 "cronet_aml_third_party_icu_icuuc_private__testing",
9109 "cronet_aml_third_party_libevent_libevent__testing",
9110 "cronet_aml_third_party_modp_b64_modp_b64__testing",
9111 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
9112 ],
9113 generated_headers: [
9114 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
9115 ],
9116 defaults: [
9117 "cronet_aml_defaults",
9118 ],
9119 cflags: [
9120 "-DANDROID",
9121 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9122 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9123 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
9124 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9125 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
9126 "-DGOOGLE_PROTOBUF_NO_RTTI",
9127 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
9128 "-DHAVE_PTHREAD",
9129 "-DHAVE_SYS_UIO_H",
9130 "-DNDEBUG",
9131 "-DNO_UNWIND_TABLES",
9132 "-DNVALGRIND",
9133 "-DOFFICIAL_BUILD",
9134 "-D_FORTIFY_SOURCE=2",
9135 "-D_GNU_SOURCE",
9136 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9137 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9138 "-D__STDC_CONSTANT_MACROS",
9139 "-D__STDC_FORMAT_MACROS",
9140 "-Oz",
9141 "-fdata-sections",
9142 "-ffunction-sections",
9143 "-fno-asynchronous-unwind-tables",
9144 "-fno-unwind-tables",
9145 "-fvisibility-inlines-hidden",
9146 "-fvisibility=hidden",
9147 "-g1",
9148 ],
9149 local_include_dirs: [
9150 "./",
9151 "buildtools/third_party/libc++/",
9152 "buildtools/third_party/libc++/trunk/include",
9153 "buildtools/third_party/libc++abi/trunk/include",
9154 "third_party/abseil-cpp/",
9155 "third_party/boringssl/src/include/",
9156 "third_party/protobuf/src/",
9157 ],
9158 cpp_std: "c++17",
9159 target: {
9160 android_arm: {
9161 cflags: [
9162 "-fstack-protector",
9163 ],
9164 },
9165 android_arm64: {
9166 cflags: [
9167 "-fstack-protector",
9168 "-mno-outline",
9169 "-mno-outline-atomics",
9170 ],
9171 },
9172 android_x86: {
9173 cflags: [
9174 "-msse3",
9175 ],
9176 },
9177 android_x86_64: {
9178 cflags: [
9179 "-fstack-protector",
9180 "-msse3",
9181 ],
9182 },
9183 },
9184}
9185
Motomu Utsumie74bab82022-12-16 18:00:12 +09009186// GN: //components/prefs/android:jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009187cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09009188 name: "cronet_aml_components_prefs_android_jni_headers",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009189 srcs: [
9190 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
9191 ],
9192 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
9193 "long " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009194 "--output_dir " +
9195 "$(genDir)/components/prefs/android/jni_headers " +
9196 "--includes " +
9197 "base/android/jni_generator/jni_generator_helper.h " +
9198 "--use_proxy_hash " +
9199 "--output_name " +
9200 "PrefService_jni.h " +
9201 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00009202 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java) " +
9203 "--package_prefix " +
9204 "android.net.http.internal",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009205 out: [
9206 "components/prefs/android/jni_headers/PrefService_jni.h",
9207 ],
9208 tool_files: [
9209 "base/android/jni_generator/android_jar.classes",
9210 "base/android/jni_generator/jni_generator.py",
9211 "build/android/gyp/util/__init__.py",
9212 "build/android/gyp/util/build_utils.py",
9213 "build/gn_helpers.py",
9214 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009215 apex_available: [
9216 "com.android.tethering",
9217 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009218}
9219
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009220// GN: //components/prefs/android:jni_headers__testing
9221cc_genrule {
9222 name: "cronet_aml_components_prefs_android_jni_headers__testing",
9223 srcs: [
9224 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
9225 ],
9226 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
9227 "long " +
9228 "--output_dir " +
9229 "$(genDir)/components/prefs/android/jni_headers " +
9230 "--includes " +
9231 "base/android/jni_generator/jni_generator_helper.h " +
9232 "--use_proxy_hash " +
9233 "--output_name " +
9234 "PrefService_jni.h " +
9235 "--input_file " +
9236 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java) " +
9237 "--package_prefix " +
9238 "android.net.http.internal",
9239 out: [
9240 "components/prefs/android/jni_headers/PrefService_jni.h",
9241 ],
9242 tool_files: [
9243 "base/android/jni_generator/android_jar.classes",
9244 "base/android/jni_generator/jni_generator.py",
9245 "build/android/gyp/util/__init__.py",
9246 "build/android/gyp/util/build_utils.py",
9247 "build/gn_helpers.py",
9248 ],
9249 apex_available: [
9250 "com.android.tethering",
9251 ],
9252}
9253
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009254// GN: //components/prefs:prefs
9255cc_library_static {
9256 name: "cronet_aml_components_prefs_prefs",
9257 srcs: [
9258 "components/prefs/android/pref_service_android.cc",
9259 "components/prefs/command_line_pref_store.cc",
9260 "components/prefs/default_pref_store.cc",
9261 "components/prefs/in_memory_pref_store.cc",
9262 "components/prefs/json_pref_store.cc",
9263 "components/prefs/overlay_user_pref_store.cc",
9264 "components/prefs/persistent_pref_store.cc",
9265 "components/prefs/pref_change_registrar.cc",
9266 "components/prefs/pref_member.cc",
9267 "components/prefs/pref_notifier_impl.cc",
9268 "components/prefs/pref_registry.cc",
9269 "components/prefs/pref_registry_simple.cc",
9270 "components/prefs/pref_service.cc",
9271 "components/prefs/pref_service_factory.cc",
9272 "components/prefs/pref_store.cc",
9273 "components/prefs/pref_value_map.cc",
9274 "components/prefs/pref_value_store.cc",
9275 "components/prefs/scoped_user_pref_update.cc",
9276 "components/prefs/segregated_pref_store.cc",
9277 "components/prefs/value_map_pref_store.cc",
9278 "components/prefs/writeable_pref_store.cc",
9279 ],
9280 shared_libs: [
9281 "libandroid",
9282 "liblog",
9283 ],
9284 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08009285 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009286 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08009287 "cronet_aml_base_base_static",
9288 "cronet_aml_base_third_party_double_conversion_double_conversion",
9289 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +09009290 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08009291 "cronet_aml_third_party_icu_icui18n",
9292 "cronet_aml_third_party_icu_icuuc_private",
9293 "cronet_aml_third_party_libevent_libevent",
9294 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009295 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +09009296 generated_headers: [
9297 "cronet_aml_base_debugging_buildflags",
9298 "cronet_aml_base_logging_buildflags",
9299 "cronet_aml_build_chromeos_buildflags",
9300 "cronet_aml_components_prefs_android_jni_headers",
9301 ],
9302 export_generated_headers: [
9303 "cronet_aml_base_debugging_buildflags",
9304 "cronet_aml_base_logging_buildflags",
9305 "cronet_aml_build_chromeos_buildflags",
9306 "cronet_aml_components_prefs_android_jni_headers",
9307 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009308 defaults: [
9309 "cronet_aml_defaults",
9310 ],
9311 cflags: [
9312 "-DANDROID",
9313 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9314 "-DCOMPONENTS_PREFS_IMPLEMENTATION",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009315 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9316 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009317 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009318 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009319 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09009320 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009321 "-DNVALGRIND",
9322 "-DOFFICIAL_BUILD",
9323 "-D_FORTIFY_SOURCE=2",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009324 "-D_GNU_SOURCE",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009325 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009326 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9327 "-D__STDC_CONSTANT_MACROS",
9328 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009329 "-Oz",
9330 "-fdata-sections",
9331 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09009332 "-fno-asynchronous-unwind-tables",
9333 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009334 "-fvisibility-inlines-hidden",
9335 "-fvisibility=hidden",
9336 "-g1",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009337 ],
9338 local_include_dirs: [
9339 "./",
9340 "buildtools/third_party/libc++/",
9341 "buildtools/third_party/libc++/trunk/include",
9342 "buildtools/third_party/libc++abi/trunk/include",
9343 "third_party/abseil-cpp/",
9344 "third_party/boringssl/src/include/",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009345 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009346 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09009347 ldflags: [
9348 "-Wl,--as-needed",
9349 "-Wl,--gc-sections",
9350 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +00009351 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +00009352 "-Wl,-wrap,asprintf",
9353 "-Wl,-wrap,calloc",
9354 "-Wl,-wrap,free",
9355 "-Wl,-wrap,getcwd",
9356 "-Wl,-wrap,malloc",
9357 "-Wl,-wrap,malloc_usable_size",
9358 "-Wl,-wrap,memalign",
9359 "-Wl,-wrap,posix_memalign",
9360 "-Wl,-wrap,pvalloc",
9361 "-Wl,-wrap,realloc",
9362 "-Wl,-wrap,realpath",
9363 "-Wl,-wrap,strdup",
9364 "-Wl,-wrap,strndup",
9365 "-Wl,-wrap,valloc",
9366 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09009367 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00009368 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09009369 android_arm: {
9370 cflags: [
9371 "-fstack-protector",
9372 ],
9373 },
9374 android_arm64: {
9375 cflags: [
9376 "-fstack-protector",
9377 "-mno-outline",
9378 "-mno-outline-atomics",
9379 ],
9380 },
Mohannad Farrag631443e2022-11-21 16:17:01 +00009381 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009382 cflags: [
9383 "-msse3",
9384 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00009385 },
9386 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009387 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09009388 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009389 "-msse3",
9390 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00009391 },
9392 },
Patrick Rohrcb035942022-11-01 12:12:52 -07009393}
9394
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009395// GN: //components/prefs:prefs__testing
Patrick Rohrcb035942022-11-01 12:12:52 -07009396cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009397 name: "cronet_aml_components_prefs_prefs__testing",
Patrick Rohrcb035942022-11-01 12:12:52 -07009398 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009399 "components/prefs/android/pref_service_android.cc",
9400 "components/prefs/command_line_pref_store.cc",
9401 "components/prefs/default_pref_store.cc",
9402 "components/prefs/in_memory_pref_store.cc",
9403 "components/prefs/json_pref_store.cc",
9404 "components/prefs/overlay_user_pref_store.cc",
9405 "components/prefs/persistent_pref_store.cc",
9406 "components/prefs/pref_change_registrar.cc",
9407 "components/prefs/pref_member.cc",
9408 "components/prefs/pref_notifier_impl.cc",
9409 "components/prefs/pref_registry.cc",
9410 "components/prefs/pref_registry_simple.cc",
9411 "components/prefs/pref_service.cc",
9412 "components/prefs/pref_service_factory.cc",
9413 "components/prefs/pref_store.cc",
9414 "components/prefs/pref_value_map.cc",
9415 "components/prefs/pref_value_store.cc",
9416 "components/prefs/scoped_user_pref_update.cc",
9417 "components/prefs/segregated_pref_store.cc",
9418 "components/prefs/value_map_pref_store.cc",
9419 "components/prefs/writeable_pref_store.cc",
9420 ],
9421 shared_libs: [
9422 "libandroid",
9423 "liblog",
9424 ],
9425 static_libs: [
9426 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
9427 "cronet_aml_base_base__testing",
9428 "cronet_aml_base_base_static__testing",
9429 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
9430 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
9431 "cronet_aml_third_party_boringssl_boringssl__testing",
9432 "cronet_aml_third_party_icu_icui18n__testing",
9433 "cronet_aml_third_party_icu_icuuc_private__testing",
9434 "cronet_aml_third_party_libevent_libevent__testing",
9435 "cronet_aml_third_party_modp_b64_modp_b64__testing",
9436 ],
9437 generated_headers: [
9438 "cronet_aml_base_debugging_buildflags__testing",
9439 "cronet_aml_base_logging_buildflags__testing",
9440 "cronet_aml_build_chromeos_buildflags__testing",
9441 "cronet_aml_components_prefs_android_jni_headers__testing",
9442 ],
9443 export_generated_headers: [
9444 "cronet_aml_base_debugging_buildflags__testing",
9445 "cronet_aml_base_logging_buildflags__testing",
9446 "cronet_aml_build_chromeos_buildflags__testing",
9447 "cronet_aml_components_prefs_android_jni_headers__testing",
9448 ],
9449 defaults: [
9450 "cronet_aml_defaults",
9451 ],
9452 cflags: [
9453 "-DANDROID",
9454 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9455 "-DCOMPONENTS_PREFS_IMPLEMENTATION",
9456 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9457 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
9458 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9459 "-DHAVE_SYS_UIO_H",
9460 "-DNDEBUG",
9461 "-DNO_UNWIND_TABLES",
9462 "-DNVALGRIND",
9463 "-DOFFICIAL_BUILD",
9464 "-D_FORTIFY_SOURCE=2",
9465 "-D_GNU_SOURCE",
9466 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9467 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9468 "-D__STDC_CONSTANT_MACROS",
9469 "-D__STDC_FORMAT_MACROS",
9470 "-Oz",
9471 "-fdata-sections",
9472 "-ffunction-sections",
9473 "-fno-asynchronous-unwind-tables",
9474 "-fno-unwind-tables",
9475 "-fvisibility-inlines-hidden",
9476 "-fvisibility=hidden",
9477 "-g1",
9478 ],
9479 local_include_dirs: [
9480 "./",
9481 "buildtools/third_party/libc++/",
9482 "buildtools/third_party/libc++/trunk/include",
9483 "buildtools/third_party/libc++abi/trunk/include",
9484 "third_party/abseil-cpp/",
9485 "third_party/boringssl/src/include/",
9486 ],
9487 cpp_std: "c++17",
9488 ldflags: [
9489 "-Wl,--as-needed",
9490 "-Wl,--gc-sections",
9491 "-Wl,--icf=all",
9492 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
9493 "-Wl,-wrap,asprintf",
9494 "-Wl,-wrap,calloc",
9495 "-Wl,-wrap,free",
9496 "-Wl,-wrap,getcwd",
9497 "-Wl,-wrap,malloc",
9498 "-Wl,-wrap,malloc_usable_size",
9499 "-Wl,-wrap,memalign",
9500 "-Wl,-wrap,posix_memalign",
9501 "-Wl,-wrap,pvalloc",
9502 "-Wl,-wrap,realloc",
9503 "-Wl,-wrap,realpath",
9504 "-Wl,-wrap,strdup",
9505 "-Wl,-wrap,strndup",
9506 "-Wl,-wrap,valloc",
9507 "-Wl,-wrap,vasprintf",
9508 ],
9509 target: {
9510 android_arm: {
9511 cflags: [
9512 "-fstack-protector",
9513 ],
9514 },
9515 android_arm64: {
9516 cflags: [
9517 "-fstack-protector",
9518 "-mno-outline",
9519 "-mno-outline-atomics",
9520 ],
9521 },
9522 android_x86: {
9523 cflags: [
9524 "-msse3",
9525 ],
9526 },
9527 android_x86_64: {
9528 cflags: [
9529 "-fstack-protector",
9530 "-msse3",
9531 ],
9532 },
9533 },
9534}
9535
9536// GN: //components/prefs:test_support__testing
9537cc_library_static {
9538 name: "cronet_aml_components_prefs_test_support__testing",
9539 srcs: [
9540 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
9541 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
9542 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
9543 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
9544 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
9545 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
9546 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
9547 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
9548 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
9549 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
9550 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
9551 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
9552 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
9553 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
9554 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
9555 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
9556 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
9557 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
9558 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
9559 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
9560 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
9561 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
9562 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
9563 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
9564 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
9565 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
9566 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
9567 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
9568 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
9569 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
9570 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
9571 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
9572 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
9573 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
9574 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
9575 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
9576 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
9577 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
9578 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
9579 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
9580 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
9581 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
9582 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
9583 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
9584 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
9585 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
9586 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
9587 ":cronet_aml_third_party_googletest_gmock__testing",
9588 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009589 "components/prefs/mock_pref_change_callback.cc",
9590 "components/prefs/pref_store_observer_mock.cc",
9591 "components/prefs/pref_test_utils.cc",
9592 "components/prefs/testing_pref_service.cc",
9593 "components/prefs/testing_pref_store.cc",
Patrick Rohrcb035942022-11-01 12:12:52 -07009594 ],
Patrick Rohr0913f0b2022-12-13 09:13:20 -08009595 shared_libs: [
9596 "libandroid",
9597 "liblog",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009598 "libz",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08009599 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07009600 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009601 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
9602 "cronet_aml_base_base__testing",
9603 "cronet_aml_base_base_static__testing",
9604 "cronet_aml_base_i18n__testing",
9605 "cronet_aml_base_test_test_config__testing",
9606 "cronet_aml_base_test_test_support__testing",
9607 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
9608 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
9609 "cronet_aml_components_prefs_prefs__testing",
9610 "cronet_aml_testing_gtest_gtest__testing",
9611 "cronet_aml_third_party_boringssl_boringssl__testing",
9612 "cronet_aml_third_party_ced_ced__testing",
9613 "cronet_aml_third_party_icu_icui18n__testing",
9614 "cronet_aml_third_party_icu_icuuc_private__testing",
9615 "cronet_aml_third_party_libevent_libevent__testing",
9616 "cronet_aml_third_party_libxml_libxml__testing",
9617 "cronet_aml_third_party_libxml_libxml_utils__testing",
9618 "cronet_aml_third_party_libxml_xml_reader__testing",
9619 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Patrick Rohrcb035942022-11-01 12:12:52 -07009620 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +09009621 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009622 "cronet_aml_build_chromeos_buildflags__testing",
Motomu Utsumie74bab82022-12-16 18:00:12 +09009623 ],
9624 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009625 "cronet_aml_build_chromeos_buildflags__testing",
Motomu Utsumie74bab82022-12-16 18:00:12 +09009626 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07009627 defaults: [
9628 "cronet_aml_defaults",
9629 ],
9630 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08009631 "-DANDROID",
9632 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009633 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9634 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009635 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009636 "-DGTEST_API_=",
9637 "-DGTEST_HAS_ABSL=1",
9638 "-DGTEST_HAS_POSIX_RE=0",
9639 "-DGTEST_HAS_TR1_TUPLE=0",
9640 "-DGTEST_LANG_CXX11=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08009641 "-DHAVE_SYS_UIO_H",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009642 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009643 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09009644 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009645 "-DNVALGRIND",
9646 "-DOFFICIAL_BUILD",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009647 "-DUNIT_TEST",
9648 "-DUSE_CHROMIUM_ICU=1",
9649 "-DU_ENABLE_DYLOAD=0",
9650 "-DU_ENABLE_RESOURCE_TRACING=0",
9651 "-DU_ENABLE_TRACING=1",
9652 "-DU_STATIC_IMPLEMENTATION",
9653 "-DU_USING_ICU_NAMESPACE=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009654 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -07009655 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -07009656 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -07009657 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9658 "-D__STDC_CONSTANT_MACROS",
9659 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009660 "-Oz",
9661 "-fdata-sections",
9662 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09009663 "-fno-asynchronous-unwind-tables",
9664 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009665 "-fvisibility-inlines-hidden",
9666 "-fvisibility=hidden",
9667 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -07009668 ],
9669 local_include_dirs: [
9670 "./",
9671 "buildtools/third_party/libc++/",
9672 "buildtools/third_party/libc++/trunk/include",
9673 "buildtools/third_party/libc++abi/trunk/include",
9674 "third_party/abseil-cpp/",
9675 "third_party/boringssl/src/include/",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009676 "third_party/ced/src/",
9677 "third_party/googletest/custom/",
9678 "third_party/googletest/src/googlemock/include/",
9679 "third_party/googletest/src/googletest/include/",
9680 "third_party/icu/source/common/",
9681 "third_party/icu/source/i18n/",
Patrick Rohrcb035942022-11-01 12:12:52 -07009682 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009683 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09009684 ldflags: [
9685 "-Wl,--as-needed",
9686 "-Wl,--gc-sections",
9687 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +00009688 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +00009689 "-Wl,-wrap,asprintf",
9690 "-Wl,-wrap,calloc",
9691 "-Wl,-wrap,free",
9692 "-Wl,-wrap,getcwd",
9693 "-Wl,-wrap,malloc",
9694 "-Wl,-wrap,malloc_usable_size",
9695 "-Wl,-wrap,memalign",
9696 "-Wl,-wrap,posix_memalign",
9697 "-Wl,-wrap,pvalloc",
9698 "-Wl,-wrap,realloc",
9699 "-Wl,-wrap,realpath",
9700 "-Wl,-wrap,strdup",
9701 "-Wl,-wrap,strndup",
9702 "-Wl,-wrap,valloc",
9703 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09009704 ],
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08009705 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09009706 android_arm: {
9707 cflags: [
9708 "-fstack-protector",
9709 ],
9710 },
9711 android_arm64: {
9712 cflags: [
9713 "-fstack-protector",
9714 "-mno-outline",
9715 "-mno-outline-atomics",
9716 ],
9717 },
Motomu Utsumi65501182022-11-18 15:26:35 +09009718 android_x86: {
9719 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009720 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09009721 ],
9722 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09009723 android_x86_64: {
9724 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09009725 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009726 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09009727 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09009728 },
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08009729 },
Patrick Rohrcb035942022-11-01 12:12:52 -07009730}
9731
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009732// GN: //crypto:buildflags
9733cc_genrule {
9734 name: "cronet_aml_crypto_buildflags",
9735 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
9736 "$(location build/write_buildflag_header.py) --output " +
9737 "$(out) " +
9738 "--rulename " +
9739 "//crypto:buildflags " +
9740 "--gen-dir " +
9741 ". " +
9742 "--definitions " +
9743 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009744 out: [
9745 "crypto/crypto_buildflags.h",
9746 ],
9747 tool_files: [
9748 "build/write_buildflag_header.py",
9749 ],
9750 apex_available: [
9751 "com.android.tethering",
9752 ],
9753}
9754
9755// GN: //crypto:buildflags__testing
9756cc_genrule {
9757 name: "cronet_aml_crypto_buildflags__testing",
9758 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
9759 "$(location build/write_buildflag_header.py) --output " +
9760 "$(out) " +
9761 "--rulename " +
9762 "//crypto:buildflags " +
9763 "--gen-dir " +
9764 ". " +
9765 "--definitions " +
9766 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009767 host_supported: true,
9768 out: [
9769 "crypto/crypto_buildflags.h",
9770 ],
9771 tool_files: [
9772 "build/write_buildflag_header.py",
9773 ],
9774 apex_available: [
9775 "com.android.tethering",
9776 ],
9777}
9778
9779// GN: //crypto:crypto
9780cc_library_static {
9781 name: "cronet_aml_crypto_crypto",
9782 srcs: [
9783 "crypto/aead.cc",
9784 "crypto/ec_private_key.cc",
9785 "crypto/ec_signature_creator.cc",
9786 "crypto/ec_signature_creator_impl.cc",
9787 "crypto/encryptor.cc",
9788 "crypto/hkdf.cc",
9789 "crypto/hmac.cc",
9790 "crypto/openssl_util.cc",
9791 "crypto/p224_spake.cc",
9792 "crypto/random.cc",
9793 "crypto/rsa_private_key.cc",
9794 "crypto/secure_hash.cc",
9795 "crypto/secure_util.cc",
9796 "crypto/sha2.cc",
9797 "crypto/signature_creator.cc",
9798 "crypto/signature_verifier.cc",
9799 "crypto/symmetric_key.cc",
9800 "crypto/unexportable_key.cc",
9801 "crypto/unexportable_key_metrics.cc",
9802 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009803 shared_libs: [
9804 "libandroid",
9805 "liblog",
9806 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009807 static_libs: [
9808 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
9809 "cronet_aml_base_base",
9810 "cronet_aml_base_base_static",
9811 "cronet_aml_base_third_party_double_conversion_double_conversion",
9812 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
9813 "cronet_aml_third_party_boringssl_boringssl",
9814 "cronet_aml_third_party_icu_icui18n",
9815 "cronet_aml_third_party_icu_icuuc_private",
9816 "cronet_aml_third_party_libevent_libevent",
9817 "cronet_aml_third_party_modp_b64_modp_b64",
9818 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009819 generated_headers: [
9820 "cronet_aml_crypto_buildflags",
9821 ],
9822 export_generated_headers: [
9823 "cronet_aml_crypto_buildflags",
9824 ],
9825 defaults: [
9826 "cronet_aml_defaults",
9827 ],
9828 cflags: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009829 "-DANDROID",
9830 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9831 "-DCRYPTO_IMPLEMENTATION",
9832 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9833 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
9834 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9835 "-DHAVE_SYS_UIO_H",
9836 "-DNDEBUG",
9837 "-DNO_UNWIND_TABLES",
9838 "-DNVALGRIND",
9839 "-DOFFICIAL_BUILD",
9840 "-D_FORTIFY_SOURCE=2",
9841 "-D_GNU_SOURCE",
9842 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9843 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9844 "-D__STDC_CONSTANT_MACROS",
9845 "-D__STDC_FORMAT_MACROS",
9846 "-Oz",
9847 "-fdata-sections",
9848 "-ffunction-sections",
9849 "-fno-asynchronous-unwind-tables",
9850 "-fno-unwind-tables",
9851 "-fvisibility-inlines-hidden",
9852 "-fvisibility=hidden",
9853 "-g1",
9854 ],
9855 local_include_dirs: [
9856 "./",
9857 "buildtools/third_party/libc++/",
9858 "buildtools/third_party/libc++/trunk/include",
9859 "buildtools/third_party/libc++abi/trunk/include",
9860 "third_party/abseil-cpp/",
9861 "third_party/boringssl/src/include/",
9862 ],
9863 cpp_std: "c++17",
9864 ldflags: [
9865 "-Wl,--as-needed",
9866 "-Wl,--gc-sections",
9867 "-Wl,--icf=all",
9868 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
9869 "-Wl,-wrap,asprintf",
9870 "-Wl,-wrap,calloc",
9871 "-Wl,-wrap,free",
9872 "-Wl,-wrap,getcwd",
9873 "-Wl,-wrap,malloc",
9874 "-Wl,-wrap,malloc_usable_size",
9875 "-Wl,-wrap,memalign",
9876 "-Wl,-wrap,posix_memalign",
9877 "-Wl,-wrap,pvalloc",
9878 "-Wl,-wrap,realloc",
9879 "-Wl,-wrap,realpath",
9880 "-Wl,-wrap,strdup",
9881 "-Wl,-wrap,strndup",
9882 "-Wl,-wrap,valloc",
9883 "-Wl,-wrap,vasprintf",
9884 ],
9885 target: {
9886 android_arm: {
9887 cflags: [
9888 "-fstack-protector",
9889 ],
9890 },
9891 android_arm64: {
9892 cflags: [
9893 "-fstack-protector",
9894 "-mno-outline",
9895 "-mno-outline-atomics",
9896 ],
9897 },
9898 android_x86: {
9899 cflags: [
9900 "-msse3",
9901 ],
9902 },
9903 android_x86_64: {
9904 cflags: [
9905 "-fstack-protector",
9906 "-msse3",
9907 ],
9908 },
9909 },
9910}
9911
9912// GN: //crypto:crypto__testing
9913cc_library_static {
9914 name: "cronet_aml_crypto_crypto__testing",
9915 srcs: [
9916 "crypto/aead.cc",
9917 "crypto/ec_private_key.cc",
9918 "crypto/ec_signature_creator.cc",
9919 "crypto/ec_signature_creator_impl.cc",
9920 "crypto/encryptor.cc",
9921 "crypto/hkdf.cc",
9922 "crypto/hmac.cc",
9923 "crypto/openssl_util.cc",
9924 "crypto/p224_spake.cc",
9925 "crypto/random.cc",
9926 "crypto/rsa_private_key.cc",
9927 "crypto/secure_hash.cc",
9928 "crypto/secure_util.cc",
9929 "crypto/sha2.cc",
9930 "crypto/signature_creator.cc",
9931 "crypto/signature_verifier.cc",
9932 "crypto/symmetric_key.cc",
9933 "crypto/unexportable_key.cc",
9934 "crypto/unexportable_key_metrics.cc",
9935 ],
9936 static_libs: [
9937 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
9938 "cronet_aml_base_base__testing",
9939 "cronet_aml_base_base_static__testing",
9940 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
9941 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
9942 "cronet_aml_third_party_boringssl_boringssl__testing",
9943 "cronet_aml_third_party_icu_icui18n__testing",
9944 "cronet_aml_third_party_icu_icuuc_private__testing",
9945 "cronet_aml_third_party_libevent_libevent__testing",
9946 "cronet_aml_third_party_modp_b64_modp_b64__testing",
9947 ],
9948 host_supported: true,
9949 generated_headers: [
9950 "cronet_aml_crypto_buildflags__testing",
9951 ],
9952 export_generated_headers: [
9953 "cronet_aml_crypto_buildflags__testing",
9954 ],
9955 defaults: [
9956 "cronet_aml_defaults",
9957 ],
9958 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009959 "-DCRYPTO_IMPLEMENTATION",
9960 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9961 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
9962 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9963 "-DNDEBUG",
9964 "-DNO_UNWIND_TABLES",
9965 "-DNVALGRIND",
9966 "-DOFFICIAL_BUILD",
9967 "-D_FORTIFY_SOURCE=2",
9968 "-D_GNU_SOURCE",
9969 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9970 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9971 "-D__STDC_CONSTANT_MACROS",
9972 "-D__STDC_FORMAT_MACROS",
9973 "-fdata-sections",
9974 "-ffunction-sections",
9975 "-fno-asynchronous-unwind-tables",
9976 "-fno-unwind-tables",
9977 "-fvisibility-inlines-hidden",
9978 "-fvisibility=hidden",
9979 "-g1",
9980 ],
9981 local_include_dirs: [
9982 "./",
9983 "buildtools/third_party/libc++/",
9984 "buildtools/third_party/libc++/trunk/include",
9985 "buildtools/third_party/libc++abi/trunk/include",
9986 "third_party/abseil-cpp/",
9987 "third_party/boringssl/src/include/",
9988 ],
9989 ldflags: [
9990 "-Wl,--as-needed",
9991 "-Wl,--gc-sections",
9992 "-Wl,--icf=all",
9993 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
9994 ],
9995 target: {
9996 android: {
9997 shared_libs: [
9998 "libandroid",
9999 "liblog",
10000 ],
10001 },
10002 android_arm: {
10003 cflags: [
10004 "-DANDROID",
10005 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10006 "-DHAVE_SYS_UIO_H",
10007 "-Oz",
10008 "-fstack-protector",
10009 ],
10010 ldflags: [
10011 "-Wl,-wrap,asprintf",
10012 "-Wl,-wrap,calloc",
10013 "-Wl,-wrap,free",
10014 "-Wl,-wrap,getcwd",
10015 "-Wl,-wrap,malloc",
10016 "-Wl,-wrap,malloc_usable_size",
10017 "-Wl,-wrap,memalign",
10018 "-Wl,-wrap,posix_memalign",
10019 "-Wl,-wrap,pvalloc",
10020 "-Wl,-wrap,realloc",
10021 "-Wl,-wrap,realpath",
10022 "-Wl,-wrap,strdup",
10023 "-Wl,-wrap,strndup",
10024 "-Wl,-wrap,valloc",
10025 "-Wl,-wrap,vasprintf",
10026 ],
10027 },
10028 android_arm64: {
10029 cflags: [
10030 "-DANDROID",
10031 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10032 "-DHAVE_SYS_UIO_H",
10033 "-Oz",
10034 "-fstack-protector",
10035 "-mno-outline",
10036 "-mno-outline-atomics",
10037 ],
10038 ldflags: [
10039 "-Wl,-wrap,asprintf",
10040 "-Wl,-wrap,calloc",
10041 "-Wl,-wrap,free",
10042 "-Wl,-wrap,getcwd",
10043 "-Wl,-wrap,malloc",
10044 "-Wl,-wrap,malloc_usable_size",
10045 "-Wl,-wrap,memalign",
10046 "-Wl,-wrap,posix_memalign",
10047 "-Wl,-wrap,pvalloc",
10048 "-Wl,-wrap,realloc",
10049 "-Wl,-wrap,realpath",
10050 "-Wl,-wrap,strdup",
10051 "-Wl,-wrap,strndup",
10052 "-Wl,-wrap,valloc",
10053 "-Wl,-wrap,vasprintf",
10054 ],
10055 },
10056 android_x86: {
10057 cflags: [
10058 "-DANDROID",
10059 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10060 "-DHAVE_SYS_UIO_H",
10061 "-Oz",
10062 "-msse3",
10063 ],
10064 ldflags: [
10065 "-Wl,-wrap,asprintf",
10066 "-Wl,-wrap,calloc",
10067 "-Wl,-wrap,free",
10068 "-Wl,-wrap,getcwd",
10069 "-Wl,-wrap,malloc",
10070 "-Wl,-wrap,malloc_usable_size",
10071 "-Wl,-wrap,memalign",
10072 "-Wl,-wrap,posix_memalign",
10073 "-Wl,-wrap,pvalloc",
10074 "-Wl,-wrap,realloc",
10075 "-Wl,-wrap,realpath",
10076 "-Wl,-wrap,strdup",
10077 "-Wl,-wrap,strndup",
10078 "-Wl,-wrap,valloc",
10079 "-Wl,-wrap,vasprintf",
10080 ],
10081 },
10082 android_x86_64: {
10083 cflags: [
10084 "-DANDROID",
10085 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10086 "-DHAVE_SYS_UIO_H",
10087 "-Oz",
10088 "-fstack-protector",
10089 "-msse3",
10090 ],
10091 ldflags: [
10092 "-Wl,-wrap,asprintf",
10093 "-Wl,-wrap,calloc",
10094 "-Wl,-wrap,free",
10095 "-Wl,-wrap,getcwd",
10096 "-Wl,-wrap,malloc",
10097 "-Wl,-wrap,malloc_usable_size",
10098 "-Wl,-wrap,memalign",
10099 "-Wl,-wrap,posix_memalign",
10100 "-Wl,-wrap,pvalloc",
10101 "-Wl,-wrap,realloc",
10102 "-Wl,-wrap,realpath",
10103 "-Wl,-wrap,strdup",
10104 "-Wl,-wrap,strndup",
10105 "-Wl,-wrap,valloc",
10106 "-Wl,-wrap,vasprintf",
10107 ],
10108 },
10109 host: {
10110 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000010111 "cronet_aml_base_third_party_symbolize_symbolize__testing",
10112 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
10113 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010114 ],
10115 cflags: [
10116 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
10117 "-DUSE_AURA=1",
10118 "-DUSE_OZONE=1",
10119 "-DUSE_UDEV",
10120 "-D_FILE_OFFSET_BITS=64",
10121 "-D_LARGEFILE64_SOURCE",
10122 "-D_LARGEFILE_SOURCE",
10123 "-O2",
10124 "-fstack-protector",
10125 "-msse3",
10126 ],
10127 },
10128 },
10129}
10130
Motomu Utsumifcac4852022-10-26 19:28:31 +090010131// GN: //gn:default_deps
10132cc_defaults {
10133 name: "cronet_aml_defaults",
10134 cflags: [
Patrick Rohr3ce74772022-11-11 14:19:58 -080010135 "-DGOOGLE_PROTOBUF_NO_RTTI",
Motomu Utsumiba020942022-11-14 15:15:41 +090010136 "-Wno-ambiguous-reversed-operator",
Mohannad Farrag6f592242023-01-16 15:45:24 +000010137 "-Wno-c++11-narrowing",
Motomu Utsumifcac4852022-10-26 19:28:31 +090010138 "-Wno-error=return-type",
Patrick Rohr5c700022022-11-08 19:33:07 -080010139 "-Wno-macro-redefined",
Patrick Rohr98065152022-10-31 14:49:58 -070010140 "-Wno-missing-field-initializers",
Patrick Rohr3a1ec1d2022-10-31 13:30:17 -070010141 "-Wno-non-virtual-dtor",
Mohannad Farrag54d52442022-11-21 16:27:02 +000010142 "-Wno-null-pointer-subtraction",
Motomu Utsumifcac4852022-10-26 19:28:31 +090010143 "-Wno-sign-compare",
10144 "-Wno-sign-promo",
Motomu Utsumib1ec8782022-11-14 15:25:57 +090010145 "-Wno-unreachable-code-loop-increment",
Motomu Utsumifcac4852022-10-26 19:28:31 +090010146 "-Wno-unused-parameter",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010147 "-fPIC",
Motomu Utsumifcac4852022-10-26 19:28:31 +090010148 ],
Patrick Rohr61f2acb2022-10-31 14:08:18 -070010149 stl: "none",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010150 cpp_std: "c++17",
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010151 apex_available: [
10152 "com.android.tethering",
10153 ],
10154 min_sdk_version: "29",
Patrick Rohr5446df82022-11-18 14:54:55 -080010155 target: {
Patrick Rohrc03f1bb2022-11-18 16:13:17 -080010156 android: {
Motomu Utsumidbf28632022-12-23 21:03:21 +090010157 shared_libs: [
10158 "libmediandk",
10159 ],
Patrick Rohrc03f1bb2022-11-18 16:13:17 -080010160 header_libs: [
10161 "jni_headers",
Patrick Rohrc03f1bb2022-11-18 16:13:17 -080010162 ],
10163 },
Patrick Rohr5446df82022-11-18 14:54:55 -080010164 host: {
10165 cflags: [
10166 "-UANDROID",
10167 ],
10168 },
10169 },
Motomu Utsumifcac4852022-10-26 19:28:31 +090010170}
10171
Patrick Rohrb18aca22022-11-04 15:07:32 -070010172// GN: //gn:java
10173java_library {
10174 name: "cronet_aml_java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010175 srcs: [
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010176 ":cronet_aml_base_base_android_java_enums_srcjar",
10177 ":cronet_aml_base_java_features_srcjar",
10178 ":cronet_aml_base_java_switches_srcjar",
10179 ":cronet_aml_build_android_build_config_gen",
10180 ":cronet_aml_build_android_native_libraries_gen",
10181 ":cronet_aml_components_cronet_android_cronet_jni_registration__java",
10182 ":cronet_aml_components_cronet_android_http_cache_type_java",
10183 ":cronet_aml_components_cronet_android_implementation_api_version",
10184 ":cronet_aml_components_cronet_android_integrated_mode_state",
10185 ":cronet_aml_components_cronet_android_interface_api_version",
10186 ":cronet_aml_components_cronet_android_load_states_list",
10187 ":cronet_aml_components_cronet_android_net_idempotency_java",
10188 ":cronet_aml_components_cronet_android_net_request_priority_java",
10189 ":cronet_aml_components_cronet_android_network_quality_observation_source_java",
10190 ":cronet_aml_components_cronet_android_rtt_throughput_values_java",
10191 ":cronet_aml_components_cronet_android_url_request_error_java",
10192 ":cronet_aml_net_android_net_android_java_enums_srcjar",
10193 ":cronet_aml_net_android_net_errors_java",
10194 ":cronet_aml_net_effective_connection_type_java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010195 "base/android/java/src/org/chromium/base/ActivityState.java",
10196 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
10197 "base/android/java/src/org/chromium/base/ApkAssets.java",
10198 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
10199 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
10200 "base/android/java/src/org/chromium/base/BuildInfo.java",
10201 "base/android/java/src/org/chromium/base/BundleUtils.java",
10202 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
10203 "base/android/java/src/org/chromium/base/Callback.java",
10204 "base/android/java/src/org/chromium/base/CallbackController.java",
10205 "base/android/java/src/org/chromium/base/CollectionUtil.java",
10206 "base/android/java/src/org/chromium/base/CommandLine.java",
10207 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
10208 "base/android/java/src/org/chromium/base/Consumer.java",
10209 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
10210 "base/android/java/src/org/chromium/base/ContextUtils.java",
10211 "base/android/java/src/org/chromium/base/CpuFeatures.java",
10212 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
10213 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
10214 "base/android/java/src/org/chromium/base/EventLog.java",
10215 "base/android/java/src/org/chromium/base/FeatureList.java",
10216 "base/android/java/src/org/chromium/base/Features.java",
10217 "base/android/java/src/org/chromium/base/FieldTrialList.java",
10218 "base/android/java/src/org/chromium/base/FileUtils.java",
10219 "base/android/java/src/org/chromium/base/Function.java",
10220 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
10221 "base/android/java/src/org/chromium/base/IntStringCallback.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010222 "base/android/java/src/org/chromium/base/JNIUtils.java",
10223 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
10224 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010225 "base/android/java/src/org/chromium/base/JniException.java",
10226 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010227 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
10228 "base/android/java/src/org/chromium/base/LocaleUtils.java",
10229 "base/android/java/src/org/chromium/base/Log.java",
10230 "base/android/java/src/org/chromium/base/MathUtils.java",
10231 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010232 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010233 "base/android/java/src/org/chromium/base/ObserverList.java",
10234 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
10235 "base/android/java/src/org/chromium/base/PackageUtils.java",
10236 "base/android/java/src/org/chromium/base/PathService.java",
10237 "base/android/java/src/org/chromium/base/PathUtils.java",
10238 "base/android/java/src/org/chromium/base/PiiElider.java",
10239 "base/android/java/src/org/chromium/base/PowerMonitor.java",
10240 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
10241 "base/android/java/src/org/chromium/base/Predicate.java",
10242 "base/android/java/src/org/chromium/base/Promise.java",
10243 "base/android/java/src/org/chromium/base/RadioUtils.java",
10244 "base/android/java/src/org/chromium/base/StreamUtil.java",
10245 "base/android/java/src/org/chromium/base/StrictModeContext.java",
10246 "base/android/java/src/org/chromium/base/SysUtils.java",
10247 "base/android/java/src/org/chromium/base/ThreadUtils.java",
10248 "base/android/java/src/org/chromium/base/TimeUtils.java",
10249 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
10250 "base/android/java/src/org/chromium/base/TraceEvent.java",
10251 "base/android/java/src/org/chromium/base/UnguessableToken.java",
10252 "base/android/java/src/org/chromium/base/UnownedUserData.java",
10253 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
10254 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
10255 "base/android/java/src/org/chromium/base/UserData.java",
10256 "base/android/java/src/org/chromium/base/UserDataHost.java",
10257 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010258 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
10259 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
10260 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
10261 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
10262 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
10263 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
10264 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
10265 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
10266 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010267 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
10268 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
10269 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
10270 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
10271 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
10272 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
10273 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
10274 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
10275 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
10276 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
10277 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
10278 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
10279 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
10280 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
10281 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
10282 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
10283 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
10284 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
10285 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
10286 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
10287 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
10288 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
10289 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
10290 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
10291 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
10292 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
10293 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
10294 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
10295 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
10296 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
10297 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
10298 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
10299 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
10300 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
10301 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
10302 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
10303 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
10304 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
10305 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
10306 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
10307 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
10308 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
10309 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
10310 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
10311 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
10312 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
10313 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
10314 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010315 "base/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl",
10316 "base/android/java/src/org/chromium/base/process_launcher/IParentProcess.aidl",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010317 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
10318 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
10319 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
10320 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
10321 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
10322 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
10323 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
10324 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
10325 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
10326 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
10327 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
10328 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
10329 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
10330 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
10331 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
10332 "base/android/java/src/org/chromium/base/task/PostTask.java",
10333 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
10334 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
10335 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
10336 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
10337 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
10338 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
10339 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
10340 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
10341 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
10342 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010343 "base/test/android/java/src/org/chromium/base/ITestCallback.aidl",
10344 "base/test/android/java/src/org/chromium/base/ITestController.aidl",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010345 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
10346 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
10347 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
10348 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
10349 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
10350 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
10351 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
10352 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010353 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
10354 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
10355 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
10356 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
10357 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
10358 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
10359 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
10360 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
10361 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
10362 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
10363 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
10364 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
10365 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
10366 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
10367 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010368 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010369 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
10370 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
10371 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
10372 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
10373 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
10374 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
10375 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
10376 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
10377 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
10378 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
10379 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
10380 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
10381 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
10382 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
10383 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
10384 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
10385 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
10386 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
10387 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
10388 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
10389 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
10390 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
10391 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
10392 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
10393 "net/android/java/src/org/chromium/net/DnsStatus.java",
10394 "net/android/java/src/org/chromium/net/GURLUtils.java",
10395 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
10396 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
10397 "net/android/java/src/org/chromium/net/HttpUtil.java",
10398 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
10399 "net/android/java/src/org/chromium/net/NetStringUtil.java",
10400 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
10401 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
10402 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
10403 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
10404 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
10405 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
10406 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
10407 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
10408 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
10409 "net/android/java/src/org/chromium/net/X509Util.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010410 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
10411 ],
Stefano Duo0978c072023-01-09 14:22:29 +000010412 static_libs: [
10413 "modules-utils-build_system",
10414 ],
Motomu Utsumi42acf6d2022-12-09 16:04:10 +090010415 apex_available: [
Motomu Utsumi42acf6d2022-12-09 16:04:10 +090010416 "com.android.tethering",
10417 ],
Motomu Utsumi00bebb62023-01-16 15:12:38 +090010418 min_sdk_version: "30",
Mohannad Farrage815d862022-12-06 17:51:43 +000010419 libs: [
10420 "androidx.annotation_annotation",
Motomu Utsumi05a49a52022-12-09 18:21:13 +090010421 "androidx.annotation_annotation-experimental-nodeps",
Motomu Utsumi46ec15c2022-12-23 19:41:02 +090010422 "cronet_aml_api_java",
Motomu Utsumif985e032022-12-09 15:53:39 +090010423 "framework-connectivity-t.stubs.module_lib",
10424 "framework-connectivity.stubs.module_lib",
10425 "framework-mediaprovider.stubs.module_lib",
10426 "framework-tethering.stubs.module_lib",
10427 "framework-wifi.stubs.module_lib",
Mohannad Farrage815d862022-12-06 17:51:43 +000010428 "jsr305",
10429 ],
Mohannad Farragb30d3712022-12-06 17:27:04 +000010430 aidl: {
10431 include_dirs: [
10432 "frameworks/base/core/java/",
10433 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010434 local_include_dirs: [
10435 "base/android/java/src",
10436 "base/test/android/java/src",
10437 ],
Mohannad Farragb30d3712022-12-06 17:27:04 +000010438 },
Mohannad Farrag3d3d6132022-12-06 18:11:48 +000010439 plugins: [
10440 "cronet_aml_java_jni_annotation_preprocessor",
10441 ],
Motomu Utsumif985e032022-12-09 15:53:39 +090010442 sdk_version: "module_current",
Patrick Rohr8d393192022-12-22 14:50:20 -080010443 javacflags: [
10444 "-Aorg.chromium.chrome.skipGenJni",
Mohannad Farraga4191eb2023-01-04 14:41:17 +000010445 "-Apackage_prefix=android.net.http.internal",
Patrick Rohr8d393192022-12-22 14:50:20 -080010446 ],
Mohannad Farrag3d3d6132022-12-06 18:11:48 +000010447}
10448
10449// GN: //base/android/jni_generator:jni_processor
10450java_plugin {
10451 name: "cronet_aml_java_jni_annotation_preprocessor",
10452 srcs: [
Mohannad Farrag89f38e42022-12-06 18:54:46 +000010453 ":cronet_aml_build_android_build_config_gen",
10454 "base/android/java/src/org/chromium/base/JniException.java",
10455 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
10456 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
10457 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farrag3d3d6132022-12-06 18:11:48 +000010458 "base/android/jni_generator/java/src/org/chromium/jni_generator/JniProcessor.java",
10459 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
10460 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
10461 ],
Mohannad Farrag89f38e42022-12-06 18:54:46 +000010462 static_libs: [
10463 "auto_service_annotations",
10464 "guava",
10465 "javapoet",
10466 ],
10467 processor_class: "org.chromium.jni_generator.JniProcessor",
Patrick Rohrb18aca22022-11-04 15:07:32 -070010468}
10469
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010470// GN: //net/android:net_android_java_enums_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +000010471java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010472 name: "cronet_aml_net_android_net_android_java_enums_srcjar",
10473 srcs: [
10474 "net/android/network_change_notifier_android.cc",
10475 "net/android/traffic_stats.cc",
10476 "net/socket/socket_tag.cc",
10477 ],
10478 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +000010479 "$(out) " +
10480 "$(location net/base/network_change_notifier.h) " +
10481 "$(location net/socket/socket_tag.cc) " +
10482 "$(location net/android/cert_verify_result_android.h) " +
10483 "$(location net/android/keystore.h) " +
10484 "$(location net/android/network_change_notifier_android.cc) " +
10485 "$(location net/android/traffic_stats.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010486 out: [
10487 "net/android/net_android_java_enums_srcjar.srcjar",
10488 ],
10489 tool_files: [
10490 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +090010491 "build/android/gyp/util/__init__.py",
10492 "build/android/gyp/util/build_utils.py",
10493 "build/android/gyp/util/java_cpp_utils.py",
10494 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010495 "net/android/cert_verify_result_android.h",
10496 "net/android/keystore.h",
10497 "net/base/network_change_notifier.h",
10498 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010499}
10500
10501// GN: //net/android:net_errors_java
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010502genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010503 name: "cronet_aml_net_android_net_errors_java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010504 srcs: [
10505 ":cronet_aml_net_android_net_errors_java_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010506 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010507 tools: [
10508 "soong_zip",
10509 ],
10510 cmd: "cp $(in) $(genDir)/NetError.java && " +
Motomu Utsumidfb67ba2023-01-27 12:02:18 +090010511 "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/NetError.java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010512 out: [
10513 "NetError.srcjar",
10514 ],
10515}
10516
10517// GN: //net/android:net_errors_java
10518cc_object {
10519 name: "cronet_aml_net_android_net_errors_java_preprocess",
10520 srcs: [
10521 ":cronet_aml_net_android_net_errors_java_rename",
10522 ],
10523 cflags: [
10524 "-DANDROID",
10525 "-E",
10526 "-P",
10527 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +090010528 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010529}
10530
10531// GN: //net/android:net_errors_java
10532genrule {
10533 name: "cronet_aml_net_android_net_errors_java_rename",
10534 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010535 "net/android/java/NetError.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010536 ],
10537 cmd: "cp $(in) $(out)",
10538 out: [
10539 "NetError.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010540 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010541}
10542
Motomu Utsumie74bab82022-12-16 18:00:12 +090010543// GN: //net/base/registry_controlled_domains:registry_controlled_domains
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010544cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090010545 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010546 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
10547 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
10548 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
10549 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10550 "--reverse " +
10551 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
10552 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
10553 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10554 "--reverse " +
10555 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
10556 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
10557 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10558 "--reverse " +
10559 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
10560 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
10561 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10562 "--reverse " +
10563 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
10564 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
10565 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10566 "--reverse " +
10567 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
10568 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
10569 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10570 "--reverse " +
10571 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
10572 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
10573 out: [
10574 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
10575 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
10576 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
10577 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
10578 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
10579 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
10580 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
10581 ],
10582 tool_files: [
10583 "net/base/registry_controlled_domains/effective_tld_names.gperf",
10584 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
10585 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
10586 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
10587 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
10588 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
10589 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
10590 "net/tools/dafsa/make_dafsa.py",
10591 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010592 apex_available: [
10593 "com.android.tethering",
10594 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010595}
10596
Mohannad Farragedb2fd02023-02-10 14:53:41 +000010597// GN: //net/base/registry_controlled_domains:registry_controlled_domains__testing
10598cc_genrule {
10599 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
10600 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
10601 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
10602 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
10603 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10604 "--reverse " +
10605 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
10606 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
10607 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10608 "--reverse " +
10609 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
10610 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
10611 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10612 "--reverse " +
10613 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
10614 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
10615 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10616 "--reverse " +
10617 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
10618 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
10619 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10620 "--reverse " +
10621 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
10622 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
10623 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10624 "--reverse " +
10625 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
10626 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
10627 out: [
10628 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
10629 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
10630 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
10631 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
10632 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
10633 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
10634 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
10635 ],
10636 tool_files: [
10637 "net/base/registry_controlled_domains/effective_tld_names.gperf",
10638 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
10639 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
10640 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
10641 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
10642 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
10643 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
10644 "net/tools/dafsa/make_dafsa.py",
10645 ],
10646 apex_available: [
10647 "com.android.tethering",
10648 ],
10649}
10650
Motomu Utsumie74bab82022-12-16 18:00:12 +090010651// GN: //net:buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010652cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090010653 name: "cronet_aml_net_buildflags",
Motomu Utsumi3029ac92022-12-16 18:04:57 +090010654 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
10655 "then " +
10656 "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\"' | " +
Patrick Rohr98600682022-11-18 18:29:15 -080010657 "$(location build/write_buildflag_header.py) --output " +
10658 "$(out) " +
10659 "--rulename " +
10660 "//net:buildflags " +
10661 "--gen-dir " +
10662 ". " +
10663 "--definitions " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +090010664 "/dev/stdin; " +
10665 "fi; " +
10666 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
10667 "then " +
10668 "echo '--flags POSIX_BYPASS_MMAP=\"false\" 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\"' | " +
10669 "$(location build/write_buildflag_header.py) --output " +
10670 "$(out) " +
10671 "--rulename " +
10672 "//net:buildflags " +
10673 "--gen-dir " +
10674 ". " +
10675 "--definitions " +
10676 "/dev/stdin; " +
10677 "fi; " +
10678 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
10679 "then " +
10680 "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\"' | " +
10681 "$(location build/write_buildflag_header.py) --output " +
10682 "$(out) " +
10683 "--rulename " +
10684 "//net:buildflags " +
10685 "--gen-dir " +
10686 ". " +
10687 "--definitions " +
10688 "/dev/stdin; " +
10689 "fi; " +
10690 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
10691 "then " +
10692 "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\"' | " +
10693 "$(location build/write_buildflag_header.py) --output " +
10694 "$(out) " +
10695 "--rulename " +
10696 "//net:buildflags " +
10697 "--gen-dir " +
10698 ". " +
10699 "--definitions " +
10700 "/dev/stdin; " +
10701 "fi;",
Patrick Rohr98600682022-11-18 18:29:15 -080010702 out: [
10703 "net/net_buildflags.h",
10704 ],
10705 tool_files: [
10706 "build/write_buildflag_header.py",
10707 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010708 apex_available: [
10709 "com.android.tethering",
10710 ],
Patrick Rohr98600682022-11-18 18:29:15 -080010711}
10712
Mohannad Farragedb2fd02023-02-10 14:53:41 +000010713// GN: //net:buildflags__testing
10714cc_genrule {
10715 name: "cronet_aml_net_buildflags__testing",
10716 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
10717 "then " +
10718 "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\"' | " +
10719 "$(location build/write_buildflag_header.py) --output " +
10720 "$(out) " +
10721 "--rulename " +
10722 "//net:buildflags " +
10723 "--gen-dir " +
10724 ". " +
10725 "--definitions " +
10726 "/dev/stdin; " +
10727 "fi; " +
10728 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
10729 "then " +
10730 "echo '--flags POSIX_BYPASS_MMAP=\"false\" 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\"' | " +
10731 "$(location build/write_buildflag_header.py) --output " +
10732 "$(out) " +
10733 "--rulename " +
10734 "//net:buildflags " +
10735 "--gen-dir " +
10736 ". " +
10737 "--definitions " +
10738 "/dev/stdin; " +
10739 "fi; " +
10740 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
10741 "then " +
10742 "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\"' | " +
10743 "$(location build/write_buildflag_header.py) --output " +
10744 "$(out) " +
10745 "--rulename " +
10746 "//net:buildflags " +
10747 "--gen-dir " +
10748 ". " +
10749 "--definitions " +
10750 "/dev/stdin; " +
10751 "fi; " +
10752 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
10753 "then " +
10754 "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\"' | " +
10755 "$(location build/write_buildflag_header.py) --output " +
10756 "$(out) " +
10757 "--rulename " +
10758 "//net:buildflags " +
10759 "--gen-dir " +
10760 ". " +
10761 "--definitions " +
10762 "/dev/stdin; " +
10763 "fi;",
10764 out: [
10765 "net/net_buildflags.h",
10766 ],
10767 tool_files: [
10768 "build/write_buildflag_header.py",
10769 ],
10770 apex_available: [
10771 "com.android.tethering",
10772 ],
10773}
10774
Patrick Rohrcb035942022-11-01 12:12:52 -070010775// GN: //net/dns:dns
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010776cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070010777 name: "cronet_aml_net_dns_dns",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010778 srcs: [
10779 "net/dns/address_info.cc",
10780 "net/dns/address_sorter_posix.cc",
10781 "net/dns/context_host_resolver.cc",
10782 "net/dns/dns_alias_utility.cc",
10783 "net/dns/dns_client.cc",
10784 "net/dns/dns_config.cc",
10785 "net/dns/dns_config_service.cc",
10786 "net/dns/dns_config_service_android.cc",
10787 "net/dns/dns_hosts.cc",
10788 "net/dns/dns_query.cc",
10789 "net/dns/dns_reloader.cc",
10790 "net/dns/dns_response.cc",
10791 "net/dns/dns_response_result_extractor.cc",
10792 "net/dns/dns_server_iterator.cc",
10793 "net/dns/dns_session.cc",
10794 "net/dns/dns_transaction.cc",
10795 "net/dns/dns_udp_tracker.cc",
10796 "net/dns/dns_util.cc",
10797 "net/dns/host_cache.cc",
10798 "net/dns/host_resolver.cc",
10799 "net/dns/host_resolver_manager.cc",
10800 "net/dns/host_resolver_mdns_listener_impl.cc",
10801 "net/dns/host_resolver_mdns_task.cc",
10802 "net/dns/host_resolver_nat64_task.cc",
10803 "net/dns/host_resolver_proc.cc",
10804 "net/dns/host_resolver_system_task.cc",
10805 "net/dns/https_record_rdata.cc",
10806 "net/dns/httpssvc_metrics.cc",
10807 "net/dns/mapped_host_resolver.cc",
10808 "net/dns/nsswitch_reader.cc",
10809 "net/dns/opt_record_rdata.cc",
10810 "net/dns/record_parsed.cc",
10811 "net/dns/record_rdata.cc",
10812 "net/dns/resolve_context.cc",
10813 "net/dns/serial_worker.cc",
10814 "net/dns/system_dns_config_change_notifier.cc",
10815 "net/dns/test_dns_config_service.cc",
10816 ],
10817 shared_libs: [
10818 "libandroid",
10819 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080010820 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010821 ],
10822 static_libs: [
10823 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
10824 "cronet_aml_base_base",
10825 "cronet_aml_base_base_static",
10826 "cronet_aml_base_third_party_double_conversion_double_conversion",
10827 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
10828 "cronet_aml_crypto_crypto",
10829 "cronet_aml_net_preload_decoder",
10830 "cronet_aml_net_third_party_quiche_quiche",
10831 "cronet_aml_net_uri_template",
10832 "cronet_aml_third_party_boringssl_boringssl",
10833 "cronet_aml_third_party_brotli_common",
10834 "cronet_aml_third_party_brotli_dec",
10835 "cronet_aml_third_party_icu_icui18n",
10836 "cronet_aml_third_party_icu_icuuc_private",
10837 "cronet_aml_third_party_libevent_libevent",
10838 "cronet_aml_third_party_modp_b64_modp_b64",
10839 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010840 "cronet_aml_url_url",
10841 ],
10842 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090010843 "cronet_aml_base_debugging_buildflags",
10844 "cronet_aml_base_logging_buildflags",
10845 "cronet_aml_build_chromeos_buildflags",
10846 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
10847 "cronet_aml_net_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010848 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090010849 "cronet_aml_net_net_jni_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010850 "cronet_aml_net_net_nqe_proto_gen_headers",
10851 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090010852 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010853 ],
10854 defaults: [
10855 "cronet_aml_defaults",
10856 ],
10857 cflags: [
10858 "-DANDROID",
10859 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090010860 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
10861 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090010862 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010863 "-DENABLE_BUILT_IN_DNS",
10864 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10865 "-DGOOGLE_PROTOBUF_NO_RTTI",
10866 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10867 "-DHAVE_PTHREAD",
10868 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090010869 "-DNDEBUG",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010870 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090010871 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090010872 "-DNVALGRIND",
10873 "-DOFFICIAL_BUILD",
10874 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010875 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010876 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010877 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10878 "-D__STDC_CONSTANT_MACROS",
10879 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090010880 "-Oz",
10881 "-fdata-sections",
10882 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090010883 "-fno-asynchronous-unwind-tables",
10884 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090010885 "-fvisibility-inlines-hidden",
10886 "-fvisibility=hidden",
10887 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010888 ],
10889 local_include_dirs: [
10890 "./",
10891 "buildtools/third_party/libc++/",
10892 "buildtools/third_party/libc++/trunk/include",
10893 "buildtools/third_party/libc++abi/trunk/include",
10894 "net/third_party/quiche/overrides/",
10895 "net/third_party/quiche/src/",
10896 "net/third_party/quiche/src/quiche/common/platform/default/",
10897 "third_party/abseil-cpp/",
10898 "third_party/boringssl/src/include/",
10899 "third_party/brotli/include/",
10900 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010901 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090010902 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090010903 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090010904 android_arm: {
10905 cflags: [
10906 "-fstack-protector",
10907 ],
10908 },
10909 android_arm64: {
10910 cflags: [
10911 "-fstack-protector",
10912 "-mno-outline",
10913 "-mno-outline-atomics",
10914 ],
10915 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010916 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010917 cflags: [
10918 "-msse3",
10919 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090010920 },
10921 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010922 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090010923 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010924 "-msse3",
10925 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090010926 },
10927 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010928}
10929
Mohannad Farragedb2fd02023-02-10 14:53:41 +000010930// GN: //net/dns:dns__testing
10931cc_object {
10932 name: "cronet_aml_net_dns_dns__testing",
10933 srcs: [
10934 "net/dns/address_info.cc",
10935 "net/dns/address_sorter_posix.cc",
10936 "net/dns/context_host_resolver.cc",
10937 "net/dns/dns_alias_utility.cc",
10938 "net/dns/dns_client.cc",
10939 "net/dns/dns_config.cc",
10940 "net/dns/dns_config_service.cc",
10941 "net/dns/dns_config_service_android.cc",
10942 "net/dns/dns_hosts.cc",
10943 "net/dns/dns_query.cc",
10944 "net/dns/dns_reloader.cc",
10945 "net/dns/dns_response.cc",
10946 "net/dns/dns_response_result_extractor.cc",
10947 "net/dns/dns_server_iterator.cc",
10948 "net/dns/dns_session.cc",
10949 "net/dns/dns_transaction.cc",
10950 "net/dns/dns_udp_tracker.cc",
10951 "net/dns/dns_util.cc",
10952 "net/dns/host_cache.cc",
10953 "net/dns/host_resolver.cc",
10954 "net/dns/host_resolver_manager.cc",
10955 "net/dns/host_resolver_mdns_listener_impl.cc",
10956 "net/dns/host_resolver_mdns_task.cc",
10957 "net/dns/host_resolver_nat64_task.cc",
10958 "net/dns/host_resolver_proc.cc",
10959 "net/dns/host_resolver_system_task.cc",
10960 "net/dns/https_record_rdata.cc",
10961 "net/dns/httpssvc_metrics.cc",
10962 "net/dns/mapped_host_resolver.cc",
10963 "net/dns/nsswitch_reader.cc",
10964 "net/dns/opt_record_rdata.cc",
10965 "net/dns/record_parsed.cc",
10966 "net/dns/record_rdata.cc",
10967 "net/dns/resolve_context.cc",
10968 "net/dns/serial_worker.cc",
10969 "net/dns/system_dns_config_change_notifier.cc",
10970 "net/dns/test_dns_config_service.cc",
10971 ],
10972 shared_libs: [
10973 "libandroid",
10974 "liblog",
10975 "libz",
10976 ],
10977 static_libs: [
10978 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
10979 "cronet_aml_base_base__testing",
10980 "cronet_aml_base_base_static__testing",
10981 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
10982 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
10983 "cronet_aml_crypto_crypto__testing",
10984 "cronet_aml_net_preload_decoder__testing",
10985 "cronet_aml_net_third_party_quiche_quiche__testing",
10986 "cronet_aml_net_uri_template__testing",
10987 "cronet_aml_third_party_boringssl_boringssl__testing",
10988 "cronet_aml_third_party_brotli_common__testing",
10989 "cronet_aml_third_party_brotli_dec__testing",
10990 "cronet_aml_third_party_icu_icui18n__testing",
10991 "cronet_aml_third_party_icu_icuuc_private__testing",
10992 "cronet_aml_third_party_libevent_libevent__testing",
10993 "cronet_aml_third_party_modp_b64_modp_b64__testing",
10994 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
10995 "cronet_aml_url_url__testing",
10996 ],
10997 generated_headers: [
10998 "cronet_aml_base_debugging_buildflags__testing",
10999 "cronet_aml_base_logging_buildflags__testing",
11000 "cronet_aml_build_chromeos_buildflags__testing",
11001 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
11002 "cronet_aml_net_buildflags__testing",
11003 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
11004 "cronet_aml_net_net_jni_headers__testing",
11005 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
11006 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
11007 "cronet_aml_url_buildflags__testing",
11008 ],
11009 defaults: [
11010 "cronet_aml_defaults",
11011 ],
11012 cflags: [
11013 "-DANDROID",
11014 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11015 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11016 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11017 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11018 "-DENABLE_BUILT_IN_DNS",
11019 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11020 "-DGOOGLE_PROTOBUF_NO_RTTI",
11021 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11022 "-DHAVE_PTHREAD",
11023 "-DHAVE_SYS_UIO_H",
11024 "-DNDEBUG",
11025 "-DNET_IMPLEMENTATION",
11026 "-DNO_UNWIND_TABLES",
11027 "-DNVALGRIND",
11028 "-DOFFICIAL_BUILD",
11029 "-D_FORTIFY_SOURCE=2",
11030 "-D_GNU_SOURCE",
11031 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11032 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11033 "-D__STDC_CONSTANT_MACROS",
11034 "-D__STDC_FORMAT_MACROS",
11035 "-Oz",
11036 "-fdata-sections",
11037 "-ffunction-sections",
11038 "-fno-asynchronous-unwind-tables",
11039 "-fno-unwind-tables",
11040 "-fvisibility-inlines-hidden",
11041 "-fvisibility=hidden",
11042 "-g1",
11043 ],
11044 local_include_dirs: [
11045 "./",
11046 "buildtools/third_party/libc++/",
11047 "buildtools/third_party/libc++/trunk/include",
11048 "buildtools/third_party/libc++abi/trunk/include",
11049 "net/third_party/quiche/overrides/",
11050 "net/third_party/quiche/src/",
11051 "net/third_party/quiche/src/quiche/common/platform/default/",
11052 "third_party/abseil-cpp/",
11053 "third_party/boringssl/src/include/",
11054 "third_party/brotli/include/",
11055 "third_party/protobuf/src/",
11056 ],
11057 cpp_std: "c++17",
11058 target: {
11059 android_arm: {
11060 cflags: [
11061 "-fstack-protector",
11062 ],
11063 },
11064 android_arm64: {
11065 cflags: [
11066 "-fstack-protector",
11067 "-mno-outline",
11068 "-mno-outline-atomics",
11069 ],
11070 },
11071 android_x86: {
11072 cflags: [
11073 "-msse3",
11074 ],
11075 },
11076 android_x86_64: {
11077 cflags: [
11078 "-fstack-protector",
11079 "-msse3",
11080 ],
11081 },
11082 },
11083}
11084
Patrick Rohrcb035942022-11-01 12:12:52 -070011085// GN: //net/dns/public:public
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011086cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070011087 name: "cronet_aml_net_dns_public_public",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011088 srcs: [
11089 "net/dns/public/dns_config_overrides.cc",
11090 "net/dns/public/dns_over_https_config.cc",
11091 "net/dns/public/dns_over_https_server_config.cc",
11092 "net/dns/public/dns_query_type.cc",
11093 "net/dns/public/doh_provider_entry.cc",
11094 "net/dns/public/host_resolver_results.cc",
11095 "net/dns/public/resolve_error_info.cc",
11096 "net/dns/public/util.cc",
11097 ],
11098 shared_libs: [
11099 "libandroid",
11100 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080011101 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011102 ],
11103 static_libs: [
11104 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
11105 "cronet_aml_base_base",
11106 "cronet_aml_base_base_static",
11107 "cronet_aml_base_third_party_double_conversion_double_conversion",
11108 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
11109 "cronet_aml_crypto_crypto",
11110 "cronet_aml_net_preload_decoder",
11111 "cronet_aml_net_third_party_quiche_quiche",
11112 "cronet_aml_net_uri_template",
11113 "cronet_aml_third_party_boringssl_boringssl",
11114 "cronet_aml_third_party_brotli_common",
11115 "cronet_aml_third_party_brotli_dec",
11116 "cronet_aml_third_party_icu_icui18n",
11117 "cronet_aml_third_party_icu_icuuc_private",
11118 "cronet_aml_third_party_libevent_libevent",
11119 "cronet_aml_third_party_modp_b64_modp_b64",
11120 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011121 "cronet_aml_url_url",
11122 ],
11123 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090011124 "cronet_aml_base_debugging_buildflags",
11125 "cronet_aml_base_logging_buildflags",
11126 "cronet_aml_build_chromeos_buildflags",
11127 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
11128 "cronet_aml_net_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011129 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090011130 "cronet_aml_net_net_jni_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011131 "cronet_aml_net_net_nqe_proto_gen_headers",
11132 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090011133 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011134 ],
11135 defaults: [
11136 "cronet_aml_defaults",
11137 ],
11138 cflags: [
11139 "-DANDROID",
11140 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090011141 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11142 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011143 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011144 "-DENABLE_BUILT_IN_DNS",
11145 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11146 "-DGOOGLE_PROTOBUF_NO_RTTI",
11147 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11148 "-DHAVE_PTHREAD",
11149 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011150 "-DNDEBUG",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011151 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090011152 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011153 "-DNVALGRIND",
11154 "-DOFFICIAL_BUILD",
11155 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011156 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011157 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011158 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11159 "-D__STDC_CONSTANT_MACROS",
11160 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090011161 "-Oz",
11162 "-fdata-sections",
11163 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090011164 "-fno-asynchronous-unwind-tables",
11165 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090011166 "-fvisibility-inlines-hidden",
11167 "-fvisibility=hidden",
11168 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011169 ],
11170 local_include_dirs: [
11171 "./",
11172 "buildtools/third_party/libc++/",
11173 "buildtools/third_party/libc++/trunk/include",
11174 "buildtools/third_party/libc++abi/trunk/include",
11175 "net/third_party/quiche/overrides/",
11176 "net/third_party/quiche/src/",
11177 "net/third_party/quiche/src/quiche/common/platform/default/",
11178 "third_party/abseil-cpp/",
11179 "third_party/boringssl/src/include/",
11180 "third_party/brotli/include/",
11181 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011182 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090011183 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090011184 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090011185 android_arm: {
11186 cflags: [
11187 "-fstack-protector",
11188 ],
11189 },
11190 android_arm64: {
11191 cflags: [
11192 "-fstack-protector",
11193 "-mno-outline",
11194 "-mno-outline-atomics",
11195 ],
11196 },
Motomu Utsumi55394632022-11-18 17:44:28 +090011197 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011198 cflags: [
11199 "-msse3",
11200 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090011201 },
11202 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011203 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090011204 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011205 "-msse3",
11206 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090011207 },
11208 },
Patrick Rohrcb035942022-11-01 12:12:52 -070011209}
11210
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011211// GN: //net/dns/public:public__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011212cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011213 name: "cronet_aml_net_dns_public_public__testing",
11214 srcs: [
11215 "net/dns/public/dns_config_overrides.cc",
11216 "net/dns/public/dns_over_https_config.cc",
11217 "net/dns/public/dns_over_https_server_config.cc",
11218 "net/dns/public/dns_query_type.cc",
11219 "net/dns/public/doh_provider_entry.cc",
11220 "net/dns/public/host_resolver_results.cc",
11221 "net/dns/public/resolve_error_info.cc",
11222 "net/dns/public/util.cc",
11223 ],
11224 shared_libs: [
11225 "libandroid",
11226 "liblog",
11227 "libz",
11228 ],
11229 static_libs: [
11230 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
11231 "cronet_aml_base_base__testing",
11232 "cronet_aml_base_base_static__testing",
11233 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
11234 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
11235 "cronet_aml_crypto_crypto__testing",
11236 "cronet_aml_net_preload_decoder__testing",
11237 "cronet_aml_net_third_party_quiche_quiche__testing",
11238 "cronet_aml_net_uri_template__testing",
11239 "cronet_aml_third_party_boringssl_boringssl__testing",
11240 "cronet_aml_third_party_brotli_common__testing",
11241 "cronet_aml_third_party_brotli_dec__testing",
11242 "cronet_aml_third_party_icu_icui18n__testing",
11243 "cronet_aml_third_party_icu_icuuc_private__testing",
11244 "cronet_aml_third_party_libevent_libevent__testing",
11245 "cronet_aml_third_party_modp_b64_modp_b64__testing",
11246 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
11247 "cronet_aml_url_url__testing",
11248 ],
11249 generated_headers: [
11250 "cronet_aml_base_debugging_buildflags__testing",
11251 "cronet_aml_base_logging_buildflags__testing",
11252 "cronet_aml_build_chromeos_buildflags__testing",
11253 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
11254 "cronet_aml_net_buildflags__testing",
11255 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
11256 "cronet_aml_net_net_jni_headers__testing",
11257 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
11258 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
11259 "cronet_aml_url_buildflags__testing",
11260 ],
11261 defaults: [
11262 "cronet_aml_defaults",
11263 ],
11264 cflags: [
11265 "-DANDROID",
11266 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11267 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11268 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11269 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11270 "-DENABLE_BUILT_IN_DNS",
11271 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11272 "-DGOOGLE_PROTOBUF_NO_RTTI",
11273 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11274 "-DHAVE_PTHREAD",
11275 "-DHAVE_SYS_UIO_H",
11276 "-DNDEBUG",
11277 "-DNET_IMPLEMENTATION",
11278 "-DNO_UNWIND_TABLES",
11279 "-DNVALGRIND",
11280 "-DOFFICIAL_BUILD",
11281 "-D_FORTIFY_SOURCE=2",
11282 "-D_GNU_SOURCE",
11283 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11284 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11285 "-D__STDC_CONSTANT_MACROS",
11286 "-D__STDC_FORMAT_MACROS",
11287 "-Oz",
11288 "-fdata-sections",
11289 "-ffunction-sections",
11290 "-fno-asynchronous-unwind-tables",
11291 "-fno-unwind-tables",
11292 "-fvisibility-inlines-hidden",
11293 "-fvisibility=hidden",
11294 "-g1",
11295 ],
11296 local_include_dirs: [
11297 "./",
11298 "buildtools/third_party/libc++/",
11299 "buildtools/third_party/libc++/trunk/include",
11300 "buildtools/third_party/libc++abi/trunk/include",
11301 "net/third_party/quiche/overrides/",
11302 "net/third_party/quiche/src/",
11303 "net/third_party/quiche/src/quiche/common/platform/default/",
11304 "third_party/abseil-cpp/",
11305 "third_party/boringssl/src/include/",
11306 "third_party/brotli/include/",
11307 "third_party/protobuf/src/",
11308 ],
11309 cpp_std: "c++17",
11310 target: {
11311 android_arm: {
11312 cflags: [
11313 "-fstack-protector",
11314 ],
11315 },
11316 android_arm64: {
11317 cflags: [
11318 "-fstack-protector",
11319 "-mno-outline",
11320 "-mno-outline-atomics",
11321 ],
11322 },
11323 android_x86: {
11324 cflags: [
11325 "-msse3",
11326 ],
11327 },
11328 android_x86_64: {
11329 cflags: [
11330 "-fstack-protector",
11331 "-msse3",
11332 ],
11333 },
11334 },
11335}
11336
11337// GN: //net/dns:test_support__testing
11338cc_object {
11339 name: "cronet_aml_net_dns_test_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011340 srcs: [
11341 "net/dns/dns_test_util.cc",
11342 "net/dns/host_resolver_results_test_util.cc",
11343 "net/dns/mock_host_resolver.cc",
11344 ],
11345 shared_libs: [
11346 "libandroid",
11347 "liblog",
11348 "libz",
11349 ],
11350 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011351 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
11352 "cronet_aml_base_base__testing",
11353 "cronet_aml_base_base_static__testing",
11354 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
11355 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
11356 "cronet_aml_crypto_crypto__testing",
11357 "cronet_aml_net_net__testing",
11358 "cronet_aml_net_preload_decoder__testing",
11359 "cronet_aml_net_third_party_quiche_quiche__testing",
11360 "cronet_aml_net_uri_template__testing",
11361 "cronet_aml_testing_gtest_gtest__testing",
11362 "cronet_aml_third_party_boringssl_boringssl__testing",
11363 "cronet_aml_third_party_brotli_common__testing",
11364 "cronet_aml_third_party_brotli_dec__testing",
11365 "cronet_aml_third_party_icu_icui18n__testing",
11366 "cronet_aml_third_party_icu_icuuc_private__testing",
11367 "cronet_aml_third_party_libevent_libevent__testing",
11368 "cronet_aml_third_party_modp_b64_modp_b64__testing",
11369 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
11370 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011371 ],
11372 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011373 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011374 ],
11375 defaults: [
11376 "cronet_aml_defaults",
11377 ],
11378 cflags: [
11379 "-DANDROID",
11380 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11381 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11382 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11383 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11384 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11385 "-DGOOGLE_PROTOBUF_NO_RTTI",
11386 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11387 "-DGTEST_API_=",
11388 "-DGTEST_HAS_ABSL=1",
11389 "-DGTEST_HAS_POSIX_RE=0",
11390 "-DGTEST_HAS_TR1_TUPLE=0",
11391 "-DGTEST_LANG_CXX11=1",
11392 "-DHAVE_PTHREAD",
11393 "-DHAVE_SYS_UIO_H",
11394 "-DNDEBUG",
11395 "-DNO_UNWIND_TABLES",
11396 "-DNVALGRIND",
11397 "-DOFFICIAL_BUILD",
11398 "-DUNIT_TEST",
11399 "-D_FORTIFY_SOURCE=2",
11400 "-D_GNU_SOURCE",
11401 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11402 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11403 "-D__STDC_CONSTANT_MACROS",
11404 "-D__STDC_FORMAT_MACROS",
11405 "-Oz",
11406 "-fdata-sections",
11407 "-ffunction-sections",
11408 "-fno-asynchronous-unwind-tables",
11409 "-fno-unwind-tables",
11410 "-fvisibility-inlines-hidden",
11411 "-fvisibility=hidden",
11412 "-g1",
11413 ],
11414 local_include_dirs: [
11415 "./",
11416 "buildtools/third_party/libc++/",
11417 "buildtools/third_party/libc++/trunk/include",
11418 "buildtools/third_party/libc++abi/trunk/include",
11419 "net/third_party/quiche/overrides/",
11420 "net/third_party/quiche/src/",
11421 "net/third_party/quiche/src/quiche/common/platform/default/",
11422 "third_party/abseil-cpp/",
11423 "third_party/boringssl/src/include/",
11424 "third_party/googletest/custom/",
11425 "third_party/googletest/src/googlemock/include/",
11426 "third_party/googletest/src/googletest/include/",
11427 "third_party/protobuf/src/",
11428 ],
11429 cpp_std: "c++17",
11430 target: {
11431 android_arm: {
11432 cflags: [
11433 "-fstack-protector",
11434 ],
11435 },
11436 android_arm64: {
11437 cflags: [
11438 "-fstack-protector",
11439 "-mno-outline",
11440 "-mno-outline-atomics",
11441 ],
11442 },
11443 android_x86: {
11444 cflags: [
11445 "-msse3",
11446 ],
11447 },
11448 android_x86_64: {
11449 cflags: [
11450 "-fstack-protector",
11451 "-msse3",
11452 ],
11453 },
11454 },
11455}
11456
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011457// GN: //net:effective_connection_type_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +000011458java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011459 name: "cronet_aml_net_effective_connection_type_java",
11460 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +000011461 "$(out) " +
11462 "$(location net/nqe/effective_connection_type.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011463 out: [
11464 "net/effective_connection_type_java.srcjar",
11465 ],
11466 tool_files: [
11467 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +090011468 "build/android/gyp/util/__init__.py",
11469 "build/android/gyp/util/build_utils.py",
11470 "build/android/gyp/util/java_cpp_utils.py",
11471 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011472 "net/nqe/effective_connection_type.h",
11473 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011474}
11475
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011476// GN: //net:gtest_util__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011477cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011478 name: "cronet_aml_net_gtest_util__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011479 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011480 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
11481 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
11482 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
11483 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
11484 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
11485 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
11486 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
11487 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
11488 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
11489 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
11490 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
11491 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
11492 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
11493 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
11494 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
11495 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
11496 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
11497 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
11498 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
11499 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
11500 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
11501 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
11502 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
11503 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
11504 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
11505 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
11506 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
11507 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
11508 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
11509 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
11510 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
11511 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
11512 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
11513 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
11514 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
11515 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
11516 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
11517 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
11518 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
11519 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
11520 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
11521 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
11522 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
11523 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
11524 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
11525 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
11526 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
11527 ":cronet_aml_third_party_googletest_gmock__testing",
11528 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011529 "net/test/scoped_disable_exit_on_dfatal.cc",
11530 ],
11531 shared_libs: [
11532 "libandroid",
11533 "liblog",
11534 "libz",
11535 ],
11536 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011537 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
11538 "cronet_aml_base_base__testing",
11539 "cronet_aml_base_base_static__testing",
11540 "cronet_aml_base_i18n__testing",
11541 "cronet_aml_base_test_test_config__testing",
11542 "cronet_aml_base_test_test_support__testing",
11543 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
11544 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
11545 "cronet_aml_crypto_crypto__testing",
11546 "cronet_aml_net_net__testing",
11547 "cronet_aml_net_preload_decoder__testing",
11548 "cronet_aml_net_third_party_quiche_quiche__testing",
11549 "cronet_aml_net_uri_template__testing",
11550 "cronet_aml_testing_gtest_gtest__testing",
11551 "cronet_aml_third_party_boringssl_boringssl__testing",
11552 "cronet_aml_third_party_brotli_common__testing",
11553 "cronet_aml_third_party_brotli_dec__testing",
11554 "cronet_aml_third_party_ced_ced__testing",
11555 "cronet_aml_third_party_icu_icui18n__testing",
11556 "cronet_aml_third_party_icu_icuuc_private__testing",
11557 "cronet_aml_third_party_libevent_libevent__testing",
11558 "cronet_aml_third_party_libxml_libxml__testing",
11559 "cronet_aml_third_party_libxml_libxml_utils__testing",
11560 "cronet_aml_third_party_libxml_xml_reader__testing",
11561 "cronet_aml_third_party_modp_b64_modp_b64__testing",
11562 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
11563 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011564 ],
11565 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011566 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011567 ],
11568 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011569 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011570 ],
11571 defaults: [
11572 "cronet_aml_defaults",
11573 ],
11574 cflags: [
11575 "-DANDROID",
11576 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11577 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11578 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11579 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11580 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11581 "-DGOOGLE_PROTOBUF_NO_RTTI",
11582 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11583 "-DGTEST_API_=",
11584 "-DGTEST_HAS_ABSL=1",
11585 "-DGTEST_HAS_POSIX_RE=0",
11586 "-DGTEST_HAS_TR1_TUPLE=0",
11587 "-DGTEST_LANG_CXX11=1",
11588 "-DHAVE_PTHREAD",
11589 "-DHAVE_SYS_UIO_H",
11590 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
11591 "-DNDEBUG",
11592 "-DNO_UNWIND_TABLES",
11593 "-DNVALGRIND",
11594 "-DOFFICIAL_BUILD",
11595 "-DUNIT_TEST",
11596 "-DUSE_CHROMIUM_ICU=1",
11597 "-DU_ENABLE_DYLOAD=0",
11598 "-DU_ENABLE_RESOURCE_TRACING=0",
11599 "-DU_ENABLE_TRACING=1",
11600 "-DU_STATIC_IMPLEMENTATION",
11601 "-DU_USING_ICU_NAMESPACE=0",
11602 "-D_FORTIFY_SOURCE=2",
11603 "-D_GNU_SOURCE",
11604 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11605 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11606 "-D__STDC_CONSTANT_MACROS",
11607 "-D__STDC_FORMAT_MACROS",
11608 "-Oz",
11609 "-fdata-sections",
11610 "-ffunction-sections",
11611 "-fno-asynchronous-unwind-tables",
11612 "-fno-unwind-tables",
11613 "-fvisibility-inlines-hidden",
11614 "-fvisibility=hidden",
11615 "-g1",
11616 ],
11617 local_include_dirs: [
11618 "./",
11619 "buildtools/third_party/libc++/",
11620 "buildtools/third_party/libc++/trunk/include",
11621 "buildtools/third_party/libc++abi/trunk/include",
11622 "net/third_party/quiche/overrides/",
11623 "net/third_party/quiche/src/",
11624 "net/third_party/quiche/src/quiche/common/platform/default/",
11625 "third_party/abseil-cpp/",
11626 "third_party/boringssl/src/include/",
11627 "third_party/ced/src/",
11628 "third_party/googletest/custom/",
11629 "third_party/googletest/src/googlemock/include/",
11630 "third_party/googletest/src/googletest/include/",
11631 "third_party/icu/source/common/",
11632 "third_party/icu/source/i18n/",
11633 "third_party/protobuf/src/",
11634 ],
11635 cpp_std: "c++17",
11636 ldflags: [
11637 "-Wl,--as-needed",
11638 "-Wl,--gc-sections",
11639 "-Wl,--icf=all",
11640 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
11641 "-Wl,-wrap,asprintf",
11642 "-Wl,-wrap,calloc",
11643 "-Wl,-wrap,free",
11644 "-Wl,-wrap,getcwd",
11645 "-Wl,-wrap,malloc",
11646 "-Wl,-wrap,malloc_usable_size",
11647 "-Wl,-wrap,memalign",
11648 "-Wl,-wrap,posix_memalign",
11649 "-Wl,-wrap,pvalloc",
11650 "-Wl,-wrap,realloc",
11651 "-Wl,-wrap,realpath",
11652 "-Wl,-wrap,strdup",
11653 "-Wl,-wrap,strndup",
11654 "-Wl,-wrap,valloc",
11655 "-Wl,-wrap,vasprintf",
11656 ],
11657 target: {
11658 android_arm: {
11659 cflags: [
11660 "-fstack-protector",
11661 ],
11662 },
11663 android_arm64: {
11664 cflags: [
11665 "-fstack-protector",
11666 "-mno-outline",
11667 "-mno-outline-atomics",
11668 ],
11669 },
11670 android_x86: {
11671 cflags: [
11672 "-msse3",
11673 ],
11674 },
11675 android_x86_64: {
11676 cflags: [
11677 "-fstack-protector",
11678 "-msse3",
11679 ],
11680 },
11681 },
11682}
11683
Patrick Rohrcb035942022-11-01 12:12:52 -070011684// GN: //net/http:transport_security_state_generated_files
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011685cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070011686 name: "cronet_aml_net_http_transport_security_state_generated_files",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011687 srcs: [
11688 "net/http/transport_security_state.cc",
11689 ],
11690 shared_libs: [
11691 "libandroid",
11692 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080011693 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011694 ],
11695 static_libs: [
11696 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
11697 "cronet_aml_base_base",
11698 "cronet_aml_base_base_static",
11699 "cronet_aml_base_third_party_double_conversion_double_conversion",
11700 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
11701 "cronet_aml_crypto_crypto",
11702 "cronet_aml_net_preload_decoder",
11703 "cronet_aml_net_third_party_quiche_quiche",
11704 "cronet_aml_net_uri_template",
11705 "cronet_aml_third_party_boringssl_boringssl",
11706 "cronet_aml_third_party_brotli_common",
11707 "cronet_aml_third_party_brotli_dec",
11708 "cronet_aml_third_party_icu_icui18n",
11709 "cronet_aml_third_party_icu_icuuc_private",
11710 "cronet_aml_third_party_libevent_libevent",
11711 "cronet_aml_third_party_modp_b64_modp_b64",
11712 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011713 "cronet_aml_url_url",
11714 ],
11715 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090011716 "cronet_aml_base_debugging_buildflags",
11717 "cronet_aml_base_logging_buildflags",
11718 "cronet_aml_build_branding_buildflags",
11719 "cronet_aml_build_chromeos_buildflags",
11720 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
11721 "cronet_aml_net_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011722 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090011723 "cronet_aml_net_net_jni_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011724 "cronet_aml_net_net_nqe_proto_gen_headers",
11725 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090011726 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011727 ],
11728 defaults: [
11729 "cronet_aml_defaults",
11730 ],
11731 cflags: [
11732 "-DANDROID",
11733 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090011734 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11735 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011736 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011737 "-DENABLE_BUILT_IN_DNS",
11738 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11739 "-DGOOGLE_PROTOBUF_NO_RTTI",
11740 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11741 "-DHAVE_PTHREAD",
11742 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011743 "-DNDEBUG",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011744 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090011745 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011746 "-DNVALGRIND",
11747 "-DOFFICIAL_BUILD",
11748 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011749 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011750 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011751 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11752 "-D__STDC_CONSTANT_MACROS",
11753 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090011754 "-Oz",
11755 "-fdata-sections",
11756 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090011757 "-fno-asynchronous-unwind-tables",
11758 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090011759 "-fvisibility-inlines-hidden",
11760 "-fvisibility=hidden",
11761 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011762 ],
11763 local_include_dirs: [
11764 "./",
11765 "buildtools/third_party/libc++/",
11766 "buildtools/third_party/libc++/trunk/include",
11767 "buildtools/third_party/libc++abi/trunk/include",
11768 "net/third_party/quiche/overrides/",
11769 "net/third_party/quiche/src/",
11770 "net/third_party/quiche/src/quiche/common/platform/default/",
11771 "third_party/abseil-cpp/",
11772 "third_party/boringssl/src/include/",
11773 "third_party/brotli/include/",
11774 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011775 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090011776 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090011777 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090011778 android_arm: {
11779 cflags: [
11780 "-fstack-protector",
11781 ],
11782 },
11783 android_arm64: {
11784 cflags: [
11785 "-fstack-protector",
11786 "-mno-outline",
11787 "-mno-outline-atomics",
11788 ],
11789 },
Motomu Utsumi55394632022-11-18 17:44:28 +090011790 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011791 cflags: [
11792 "-msse3",
11793 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090011794 },
11795 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011796 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090011797 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011798 "-msse3",
11799 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090011800 },
11801 },
Patrick Rohrcb035942022-11-01 12:12:52 -070011802}
11803
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011804// GN: //net/http:transport_security_state_generated_files__testing
11805cc_object {
11806 name: "cronet_aml_net_http_transport_security_state_generated_files__testing",
11807 srcs: [
11808 "net/http/transport_security_state.cc",
11809 ],
11810 shared_libs: [
11811 "libandroid",
11812 "liblog",
11813 "libz",
11814 ],
11815 static_libs: [
11816 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
11817 "cronet_aml_base_base__testing",
11818 "cronet_aml_base_base_static__testing",
11819 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
11820 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
11821 "cronet_aml_crypto_crypto__testing",
11822 "cronet_aml_net_preload_decoder__testing",
11823 "cronet_aml_net_third_party_quiche_quiche__testing",
11824 "cronet_aml_net_uri_template__testing",
11825 "cronet_aml_third_party_boringssl_boringssl__testing",
11826 "cronet_aml_third_party_brotli_common__testing",
11827 "cronet_aml_third_party_brotli_dec__testing",
11828 "cronet_aml_third_party_icu_icui18n__testing",
11829 "cronet_aml_third_party_icu_icuuc_private__testing",
11830 "cronet_aml_third_party_libevent_libevent__testing",
11831 "cronet_aml_third_party_modp_b64_modp_b64__testing",
11832 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
11833 "cronet_aml_url_url__testing",
11834 ],
11835 generated_headers: [
11836 "cronet_aml_base_debugging_buildflags__testing",
11837 "cronet_aml_base_logging_buildflags__testing",
11838 "cronet_aml_build_branding_buildflags__testing",
11839 "cronet_aml_build_chromeos_buildflags__testing",
11840 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
11841 "cronet_aml_net_buildflags__testing",
11842 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
11843 "cronet_aml_net_net_jni_headers__testing",
11844 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
11845 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
11846 "cronet_aml_url_buildflags__testing",
11847 ],
11848 defaults: [
11849 "cronet_aml_defaults",
11850 ],
11851 cflags: [
11852 "-DANDROID",
11853 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11854 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11855 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11856 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11857 "-DENABLE_BUILT_IN_DNS",
11858 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11859 "-DGOOGLE_PROTOBUF_NO_RTTI",
11860 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11861 "-DHAVE_PTHREAD",
11862 "-DHAVE_SYS_UIO_H",
11863 "-DNDEBUG",
11864 "-DNET_IMPLEMENTATION",
11865 "-DNO_UNWIND_TABLES",
11866 "-DNVALGRIND",
11867 "-DOFFICIAL_BUILD",
11868 "-D_FORTIFY_SOURCE=2",
11869 "-D_GNU_SOURCE",
11870 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11871 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11872 "-D__STDC_CONSTANT_MACROS",
11873 "-D__STDC_FORMAT_MACROS",
11874 "-Oz",
11875 "-fdata-sections",
11876 "-ffunction-sections",
11877 "-fno-asynchronous-unwind-tables",
11878 "-fno-unwind-tables",
11879 "-fvisibility-inlines-hidden",
11880 "-fvisibility=hidden",
11881 "-g1",
11882 ],
11883 local_include_dirs: [
11884 "./",
11885 "buildtools/third_party/libc++/",
11886 "buildtools/third_party/libc++/trunk/include",
11887 "buildtools/third_party/libc++abi/trunk/include",
11888 "net/third_party/quiche/overrides/",
11889 "net/third_party/quiche/src/",
11890 "net/third_party/quiche/src/quiche/common/platform/default/",
11891 "third_party/abseil-cpp/",
11892 "third_party/boringssl/src/include/",
11893 "third_party/brotli/include/",
11894 "third_party/protobuf/src/",
11895 ],
11896 cpp_std: "c++17",
11897 target: {
11898 android_arm: {
11899 cflags: [
11900 "-fstack-protector",
11901 ],
11902 },
11903 android_arm64: {
11904 cflags: [
11905 "-fstack-protector",
11906 "-mno-outline",
11907 "-mno-outline-atomics",
11908 ],
11909 },
11910 android_x86: {
11911 cflags: [
11912 "-msse3",
11913 ],
11914 },
11915 android_x86_64: {
11916 cflags: [
11917 "-fstack-protector",
11918 "-msse3",
11919 ],
11920 },
11921 },
11922}
11923
11924// GN: //net/http:transport_security_state_unittest_data_default__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011925cc_genrule {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011926 name: "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011927 tools: [
11928 "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing",
11929 ],
11930 cmd: "$(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " +
11931 "$(location net/http/transport_security_state_static_unittest_default.json) " +
11932 "$(location net/http/transport_security_state_static_unittest_default.pins) " +
11933 "$(location net/http/transport_security_state_static_unittest.template) " +
11934 "$(location net/http/transport_security_state_static_unittest_default.h)",
11935 out: [
11936 "net/http/transport_security_state_static_unittest_default.h",
11937 ],
11938 tool_files: [
11939 "build/gn_run_binary.py",
11940 "net/http/transport_security_state_static_unittest.template",
11941 "net/http/transport_security_state_static_unittest_default.json",
11942 "net/http/transport_security_state_static_unittest_default.pins",
11943 ],
11944 apex_available: [
11945 "com.android.tethering",
11946 ],
11947}
11948
Motomu Utsumie74bab82022-12-16 18:00:12 +090011949// GN: //net:ios_cronet_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000011950cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090011951 name: "cronet_aml_net_ios_cronet_buildflags",
Motomu Utsumiedf300c2023-01-12 17:52:21 +090011952 cmd: "echo '--flags CRONET_BUILD=\"true\"' | " +
Patrick Rohrcb035942022-11-01 12:12:52 -070011953 "$(location build/write_buildflag_header.py) --output " +
11954 "$(out) " +
11955 "--rulename " +
11956 "//net:ios_cronet_buildflags " +
11957 "--gen-dir " +
11958 ". " +
11959 "--definitions " +
11960 "/dev/stdin",
11961 out: [
11962 "net/socket/ios_cronet_buildflags.h",
11963 ],
11964 tool_files: [
11965 "build/write_buildflag_header.py",
11966 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090011967 apex_available: [
11968 "com.android.tethering",
11969 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070011970}
11971
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011972// GN: //net:ios_cronet_buildflags__testing
11973cc_genrule {
11974 name: "cronet_aml_net_ios_cronet_buildflags__testing",
11975 cmd: "echo '--flags CRONET_BUILD=\"true\"' | " +
11976 "$(location build/write_buildflag_header.py) --output " +
11977 "$(out) " +
11978 "--rulename " +
11979 "//net:ios_cronet_buildflags " +
11980 "--gen-dir " +
11981 ". " +
11982 "--definitions " +
11983 "/dev/stdin",
11984 out: [
11985 "net/socket/ios_cronet_buildflags.h",
11986 ],
11987 tool_files: [
11988 "build/write_buildflag_header.py",
11989 ],
11990 apex_available: [
11991 "com.android.tethering",
11992 ],
11993}
11994
11995// GN: //net:isolation_info_proto__testing
11996cc_genrule {
11997 name: "cronet_aml_net_isolation_info_proto__testing_gen",
11998 srcs: [
11999 "net/base/isolation_info.proto",
12000 ],
12001 tools: [
12002 "cronet_aml_third_party_protobuf_protoc",
12003 ],
12004 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
12005 out: [
12006 "external/cronet/net/base/isolation_info.pb.cc",
12007 ],
12008 apex_available: [
12009 "com.android.tethering",
12010 ],
12011}
12012
12013// GN: //net:isolation_info_proto__testing
12014cc_genrule {
12015 name: "cronet_aml_net_isolation_info_proto__testing_gen_headers",
12016 srcs: [
12017 "net/base/isolation_info.proto",
12018 ],
12019 tools: [
12020 "cronet_aml_third_party_protobuf_protoc",
12021 ],
12022 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
12023 out: [
12024 "external/cronet/net/base/isolation_info.pb.h",
12025 ],
12026 export_include_dirs: [
12027 ".",
12028 "net/base",
12029 "protos",
12030 ],
12031 apex_available: [
12032 "com.android.tethering",
12033 ],
12034}
12035
Patrick Rohrcb035942022-11-01 12:12:52 -070012036// GN: //net:isolation_info_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012037cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070012038 name: "cronet_aml_net_isolation_info_proto_gen",
12039 srcs: [
12040 "net/base/isolation_info.proto",
12041 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012042 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012043 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012044 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090012045 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -070012046 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090012047 "external/cronet/net/base/isolation_info.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012048 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012049 apex_available: [
12050 "com.android.tethering",
12051 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090012052}
12053
Patrick Rohrc5980782022-11-07 16:34:03 -080012054// GN: //net:isolation_info_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012055cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090012056 name: "cronet_aml_net_isolation_info_proto_gen_headers",
12057 srcs: [
12058 "net/base/isolation_info.proto",
12059 ],
12060 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012061 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012062 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090012063 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012064 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090012065 "external/cronet/net/base/isolation_info.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070012066 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080012067 export_include_dirs: [
12068 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080012069 "net/base",
Patrick Rohrc5980782022-11-07 16:34:03 -080012070 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070012071 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012072 apex_available: [
12073 "com.android.tethering",
12074 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070012075}
12076
12077// GN: //net:net
12078cc_library_static {
12079 name: "cronet_aml_net_net",
12080 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012081 ":cronet_aml_net_dns_dns",
12082 ":cronet_aml_net_dns_public_public",
12083 ":cronet_aml_net_http_transport_security_state_generated_files",
12084 ":cronet_aml_net_net_deps",
12085 ":cronet_aml_net_net_public_deps",
12086 ":cronet_aml_net_traffic_annotation_traffic_annotation",
Patrick Rohrcb035942022-11-01 12:12:52 -070012087 "net/android/android_http_util.cc",
12088 "net/android/cert_verify_result_android.cc",
12089 "net/android/gurl_utils.cc",
12090 "net/android/http_auth_negotiate_android.cc",
12091 "net/android/keystore.cc",
12092 "net/android/network_change_notifier_android.cc",
12093 "net/android/network_change_notifier_delegate_android.cc",
12094 "net/android/network_change_notifier_factory_android.cc",
12095 "net/android/network_library.cc",
12096 "net/android/radio_activity_tracker.cc",
12097 "net/android/traffic_stats.cc",
12098 "net/base/address_family.cc",
12099 "net/base/address_list.cc",
12100 "net/base/address_tracker_linux.cc",
12101 "net/base/auth.cc",
12102 "net/base/backoff_entry.cc",
12103 "net/base/backoff_entry_serializer.cc",
12104 "net/base/cache_metrics.cc",
12105 "net/base/chunked_upload_data_stream.cc",
12106 "net/base/connection_endpoint_metadata.cc",
12107 "net/base/data_url.cc",
12108 "net/base/datagram_buffer.cc",
12109 "net/base/elements_upload_data_stream.cc",
12110 "net/base/features.cc",
12111 "net/base/file_stream.cc",
12112 "net/base/file_stream_context.cc",
12113 "net/base/file_stream_context_posix.cc",
12114 "net/base/filename_util.cc",
12115 "net/base/filename_util_internal.cc",
12116 "net/base/hash_value.cc",
12117 "net/base/hex_utils.cc",
12118 "net/base/host_mapping_rules.cc",
12119 "net/base/host_port_pair.cc",
12120 "net/base/io_buffer.cc",
12121 "net/base/ip_address.cc",
12122 "net/base/ip_endpoint.cc",
12123 "net/base/isolation_info.cc",
12124 "net/base/load_timing_info.cc",
12125 "net/base/logging_network_change_observer.cc",
12126 "net/base/lookup_string_in_fixed_set.cc",
12127 "net/base/mime_sniffer.cc",
12128 "net/base/mime_util.cc",
12129 "net/base/net_errors.cc",
12130 "net/base/net_errors_posix.cc",
12131 "net/base/net_module.cc",
12132 "net/base/net_string_util_icu_alternatives_android.cc",
12133 "net/base/network_activity_monitor.cc",
12134 "net/base/network_anonymization_key.cc",
12135 "net/base/network_change_notifier.cc",
12136 "net/base/network_change_notifier_posix.cc",
12137 "net/base/network_delegate.cc",
12138 "net/base/network_delegate_impl.cc",
12139 "net/base/network_interfaces.cc",
12140 "net/base/network_interfaces_getifaddrs.cc",
12141 "net/base/network_interfaces_getifaddrs_android.cc",
12142 "net/base/network_interfaces_linux.cc",
12143 "net/base/network_interfaces_posix.cc",
12144 "net/base/network_isolation_key.cc",
12145 "net/base/parse_number.cc",
12146 "net/base/platform_mime_util_linux.cc",
12147 "net/base/port_util.cc",
12148 "net/base/prioritized_dispatcher.cc",
12149 "net/base/prioritized_task_runner.cc",
12150 "net/base/privacy_mode.cc",
12151 "net/base/proxy_server.cc",
12152 "net/base/proxy_string_util.cc",
12153 "net/base/registry_controlled_domains/registry_controlled_domain.cc",
12154 "net/base/request_priority.cc",
12155 "net/base/scheme_host_port_matcher.cc",
12156 "net/base/scheme_host_port_matcher_rule.cc",
12157 "net/base/schemeful_site.cc",
12158 "net/base/sockaddr_storage.cc",
12159 "net/base/sockaddr_util_posix.cc",
12160 "net/base/transport_info.cc",
12161 "net/base/upload_bytes_element_reader.cc",
12162 "net/base/upload_data_stream.cc",
12163 "net/base/upload_element_reader.cc",
12164 "net/base/upload_file_element_reader.cc",
12165 "net/base/url_util.cc",
12166 "net/cert/asn1_util.cc",
12167 "net/cert/caching_cert_verifier.cc",
12168 "net/cert/cert_and_ct_verifier.cc",
12169 "net/cert/cert_database.cc",
12170 "net/cert/cert_status_flags.cc",
12171 "net/cert/cert_verifier.cc",
12172 "net/cert/cert_verify_proc.cc",
12173 "net/cert/cert_verify_proc_android.cc",
12174 "net/cert/cert_verify_proc_builtin.cc",
12175 "net/cert/cert_verify_result.cc",
12176 "net/cert/coalescing_cert_verifier.cc",
12177 "net/cert/crl_set.cc",
12178 "net/cert/ct_log_response_parser.cc",
12179 "net/cert/ct_log_verifier.cc",
12180 "net/cert/ct_log_verifier_util.cc",
12181 "net/cert/ct_objects_extractor.cc",
12182 "net/cert/ct_policy_enforcer.cc",
12183 "net/cert/ct_sct_to_string.cc",
12184 "net/cert/ct_serialization.cc",
12185 "net/cert/ct_signed_certificate_timestamp_log_param.cc",
12186 "net/cert/do_nothing_ct_verifier.cc",
12187 "net/cert/ev_root_ca_metadata.cc",
12188 "net/cert/internal/cert_issuer_source_aia.cc",
12189 "net/cert/internal/revocation_checker.cc",
12190 "net/cert/internal/system_trust_store.cc",
12191 "net/cert/known_roots.cc",
12192 "net/cert/merkle_audit_proof.cc",
12193 "net/cert/merkle_consistency_proof.cc",
12194 "net/cert/merkle_tree_leaf.cc",
12195 "net/cert/multi_log_ct_verifier.cc",
12196 "net/cert/multi_threaded_cert_verifier.cc",
12197 "net/cert/ocsp_verify_result.cc",
12198 "net/cert/pem.cc",
12199 "net/cert/pki/cert_error_id.cc",
12200 "net/cert/pki/cert_error_params.cc",
12201 "net/cert/pki/cert_errors.cc",
12202 "net/cert/pki/cert_issuer_source_static.cc",
12203 "net/cert/pki/certificate_policies.cc",
12204 "net/cert/pki/common_cert_errors.cc",
12205 "net/cert/pki/crl.cc",
12206 "net/cert/pki/extended_key_usage.cc",
12207 "net/cert/pki/general_names.cc",
12208 "net/cert/pki/name_constraints.cc",
12209 "net/cert/pki/ocsp.cc",
12210 "net/cert/pki/parse_certificate.cc",
12211 "net/cert/pki/parse_name.cc",
12212 "net/cert/pki/parsed_certificate.cc",
12213 "net/cert/pki/path_builder.cc",
12214 "net/cert/pki/revocation_util.cc",
12215 "net/cert/pki/signature_algorithm.cc",
12216 "net/cert/pki/simple_path_builder_delegate.cc",
12217 "net/cert/pki/string_util.cc",
12218 "net/cert/pki/trust_store.cc",
12219 "net/cert/pki/trust_store_collection.cc",
12220 "net/cert/pki/trust_store_in_memory.cc",
12221 "net/cert/pki/verify_certificate_chain.cc",
12222 "net/cert/pki/verify_name_match.cc",
12223 "net/cert/pki/verify_signed_data.cc",
12224 "net/cert/sct_status_flags.cc",
12225 "net/cert/signed_certificate_timestamp.cc",
12226 "net/cert/signed_certificate_timestamp_and_status.cc",
12227 "net/cert/signed_tree_head.cc",
12228 "net/cert/symantec_certs.cc",
12229 "net/cert/test_root_certs.cc",
12230 "net/cert/test_root_certs_android.cc",
12231 "net/cert/trial_comparison_cert_verifier_util.cc",
12232 "net/cert/x509_cert_types.cc",
12233 "net/cert/x509_certificate.cc",
12234 "net/cert/x509_certificate_net_log_param.cc",
12235 "net/cert/x509_util.cc",
12236 "net/cert/x509_util_android.cc",
12237 "net/cert_net/cert_net_fetcher_url_request.cc",
12238 "net/cookies/canonical_cookie.cc",
12239 "net/cookies/cookie_access_delegate.cc",
12240 "net/cookies/cookie_access_result.cc",
12241 "net/cookies/cookie_change_dispatcher.cc",
12242 "net/cookies/cookie_constants.cc",
12243 "net/cookies/cookie_deletion_info.cc",
12244 "net/cookies/cookie_inclusion_status.cc",
12245 "net/cookies/cookie_monster.cc",
12246 "net/cookies/cookie_monster_change_dispatcher.cc",
12247 "net/cookies/cookie_monster_netlog_params.cc",
12248 "net/cookies/cookie_options.cc",
12249 "net/cookies/cookie_partition_key.cc",
12250 "net/cookies/cookie_partition_key_collection.cc",
12251 "net/cookies/cookie_store.cc",
12252 "net/cookies/cookie_util.cc",
12253 "net/cookies/parsed_cookie.cc",
12254 "net/cookies/site_for_cookies.cc",
12255 "net/cookies/static_cookie_policy.cc",
12256 "net/der/encode_values.cc",
12257 "net/der/input.cc",
12258 "net/der/parse_values.cc",
12259 "net/der/parser.cc",
12260 "net/der/tag.cc",
12261 "net/disk_cache/backend_cleanup_tracker.cc",
12262 "net/disk_cache/blockfile/addr.cc",
12263 "net/disk_cache/blockfile/backend_impl.cc",
12264 "net/disk_cache/blockfile/bitmap.cc",
12265 "net/disk_cache/blockfile/block_files.cc",
12266 "net/disk_cache/blockfile/disk_format.cc",
12267 "net/disk_cache/blockfile/entry_impl.cc",
12268 "net/disk_cache/blockfile/eviction.cc",
12269 "net/disk_cache/blockfile/file.cc",
12270 "net/disk_cache/blockfile/file_lock.cc",
12271 "net/disk_cache/blockfile/file_posix.cc",
12272 "net/disk_cache/blockfile/in_flight_backend_io.cc",
12273 "net/disk_cache/blockfile/in_flight_io.cc",
12274 "net/disk_cache/blockfile/mapped_file.cc",
Patrick Rohrcb035942022-11-01 12:12:52 -070012275 "net/disk_cache/blockfile/rankings.cc",
12276 "net/disk_cache/blockfile/sparse_control.cc",
12277 "net/disk_cache/blockfile/stats.cc",
12278 "net/disk_cache/cache_util.cc",
12279 "net/disk_cache/cache_util_posix.cc",
12280 "net/disk_cache/disk_cache.cc",
12281 "net/disk_cache/memory/mem_backend_impl.cc",
12282 "net/disk_cache/memory/mem_entry_impl.cc",
12283 "net/disk_cache/net_log_parameters.cc",
12284 "net/disk_cache/simple/post_doom_waiter.cc",
12285 "net/disk_cache/simple/simple_backend_impl.cc",
12286 "net/disk_cache/simple/simple_entry_format.cc",
12287 "net/disk_cache/simple/simple_entry_impl.cc",
12288 "net/disk_cache/simple/simple_entry_operation.cc",
12289 "net/disk_cache/simple/simple_file_enumerator.cc",
12290 "net/disk_cache/simple/simple_file_tracker.cc",
12291 "net/disk_cache/simple/simple_index.cc",
12292 "net/disk_cache/simple/simple_index_file.cc",
12293 "net/disk_cache/simple/simple_net_log_parameters.cc",
12294 "net/disk_cache/simple/simple_synchronous_entry.cc",
12295 "net/disk_cache/simple/simple_util.cc",
12296 "net/disk_cache/simple/simple_util_posix.cc",
12297 "net/disk_cache/simple/simple_version_upgrade.cc",
12298 "net/filter/brotli_source_stream.cc",
12299 "net/filter/filter_source_stream.cc",
12300 "net/filter/gzip_header.cc",
12301 "net/filter/gzip_source_stream.cc",
12302 "net/filter/source_stream.cc",
12303 "net/first_party_sets/addition_overlaps_union_find.cc",
12304 "net/first_party_sets/first_party_set_entry.cc",
12305 "net/first_party_sets/first_party_set_metadata.cc",
12306 "net/first_party_sets/first_party_sets_cache_filter.cc",
12307 "net/first_party_sets/first_party_sets_context_config.cc",
12308 "net/first_party_sets/global_first_party_sets.cc",
12309 "net/first_party_sets/same_party_context.cc",
12310 "net/http/alternative_service.cc",
12311 "net/http/bidirectional_stream.cc",
12312 "net/http/bidirectional_stream_impl.cc",
12313 "net/http/bidirectional_stream_request_info.cc",
12314 "net/http/broken_alternative_services.cc",
12315 "net/http/http_auth.cc",
12316 "net/http/http_auth_cache.cc",
12317 "net/http/http_auth_challenge_tokenizer.cc",
12318 "net/http/http_auth_controller.cc",
12319 "net/http/http_auth_filter.cc",
12320 "net/http/http_auth_handler.cc",
12321 "net/http/http_auth_handler_basic.cc",
12322 "net/http/http_auth_handler_digest.cc",
12323 "net/http/http_auth_handler_factory.cc",
12324 "net/http/http_auth_handler_negotiate.cc",
12325 "net/http/http_auth_handler_ntlm.cc",
12326 "net/http/http_auth_handler_ntlm_portable.cc",
12327 "net/http/http_auth_multi_round_parse.cc",
12328 "net/http/http_auth_ntlm_mechanism.cc",
12329 "net/http/http_auth_preferences.cc",
12330 "net/http/http_auth_scheme.cc",
12331 "net/http/http_basic_state.cc",
12332 "net/http/http_basic_stream.cc",
12333 "net/http/http_byte_range.cc",
12334 "net/http/http_cache.cc",
12335 "net/http/http_cache_lookup_manager.cc",
12336 "net/http/http_cache_transaction.cc",
12337 "net/http/http_cache_writers.cc",
12338 "net/http/http_chunked_decoder.cc",
12339 "net/http/http_content_disposition.cc",
12340 "net/http/http_log_util.cc",
12341 "net/http/http_network_layer.cc",
12342 "net/http/http_network_session.cc",
12343 "net/http/http_network_session_peer.cc",
12344 "net/http/http_network_transaction.cc",
12345 "net/http/http_proxy_client_socket.cc",
12346 "net/http/http_proxy_connect_job.cc",
12347 "net/http/http_raw_request_headers.cc",
12348 "net/http/http_request_headers.cc",
12349 "net/http/http_request_info.cc",
12350 "net/http/http_response_body_drainer.cc",
12351 "net/http/http_response_headers.cc",
12352 "net/http/http_response_info.cc",
12353 "net/http/http_security_headers.cc",
12354 "net/http/http_server_properties.cc",
12355 "net/http/http_server_properties_manager.cc",
12356 "net/http/http_status_code.cc",
12357 "net/http/http_stream_factory.cc",
12358 "net/http/http_stream_factory_job.cc",
12359 "net/http/http_stream_factory_job_controller.cc",
12360 "net/http/http_stream_parser.cc",
12361 "net/http/http_stream_request.cc",
12362 "net/http/http_util.cc",
12363 "net/http/http_vary_data.cc",
12364 "net/http/partial_data.cc",
12365 "net/http/proxy_client_socket.cc",
12366 "net/http/proxy_fallback.cc",
12367 "net/http/transport_security_persister.cc",
12368 "net/http/transport_security_state_source.cc",
12369 "net/http/url_security_manager.cc",
12370 "net/http/url_security_manager_posix.cc",
12371 "net/http/webfonts_histogram.cc",
12372 "net/log/file_net_log_observer.cc",
12373 "net/log/net_log.cc",
12374 "net/log/net_log_capture_mode.cc",
12375 "net/log/net_log_entry.cc",
12376 "net/log/net_log_event_type.cc",
12377 "net/log/net_log_source.cc",
12378 "net/log/net_log_util.cc",
12379 "net/log/net_log_values.cc",
12380 "net/log/net_log_with_source.cc",
12381 "net/log/trace_net_log_observer.cc",
12382 "net/network_error_logging/network_error_logging_service.cc",
12383 "net/nqe/cached_network_quality.cc",
12384 "net/nqe/effective_connection_type.cc",
12385 "net/nqe/event_creator.cc",
12386 "net/nqe/network_id.cc",
12387 "net/nqe/network_qualities_prefs_manager.cc",
12388 "net/nqe/network_quality.cc",
12389 "net/nqe/network_quality_estimator.cc",
12390 "net/nqe/network_quality_estimator_params.cc",
12391 "net/nqe/network_quality_estimator_util.cc",
12392 "net/nqe/network_quality_observation.cc",
12393 "net/nqe/network_quality_store.cc",
12394 "net/nqe/observation_buffer.cc",
12395 "net/nqe/pref_names.cc",
12396 "net/nqe/socket_watcher.cc",
12397 "net/nqe/socket_watcher_factory.cc",
12398 "net/nqe/throughput_analyzer.cc",
12399 "net/ntlm/ntlm.cc",
12400 "net/ntlm/ntlm_buffer_reader.cc",
12401 "net/ntlm/ntlm_buffer_writer.cc",
12402 "net/ntlm/ntlm_client.cc",
12403 "net/ntlm/ntlm_constants.cc",
12404 "net/proxy_resolution/configured_proxy_resolution_request.cc",
12405 "net/proxy_resolution/configured_proxy_resolution_service.cc",
12406 "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
12407 "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
12408 "net/proxy_resolution/network_delegate_error_observer.cc",
12409 "net/proxy_resolution/pac_file_data.cc",
12410 "net/proxy_resolution/pac_file_decider.cc",
12411 "net/proxy_resolution/pac_file_fetcher.cc",
12412 "net/proxy_resolution/pac_file_fetcher_impl.cc",
12413 "net/proxy_resolution/polling_proxy_config_service.cc",
12414 "net/proxy_resolution/proxy_bypass_rules.cc",
12415 "net/proxy_resolution/proxy_config.cc",
12416 "net/proxy_resolution/proxy_config_service.cc",
12417 "net/proxy_resolution/proxy_config_service_android.cc",
12418 "net/proxy_resolution/proxy_config_service_fixed.cc",
12419 "net/proxy_resolution/proxy_config_with_annotation.cc",
12420 "net/proxy_resolution/proxy_info.cc",
12421 "net/proxy_resolution/proxy_list.cc",
12422 "net/proxy_resolution/proxy_resolver_factory.cc",
12423 "net/quic/bidirectional_stream_quic_impl.cc",
12424 "net/quic/crypto/proof_source_chromium.cc",
12425 "net/quic/crypto/proof_verifier_chromium.cc",
12426 "net/quic/dedicated_web_transport_http3_client.cc",
12427 "net/quic/network_connection.cc",
12428 "net/quic/platform/impl/quic_chromium_clock.cc",
12429 "net/quic/properties_based_quic_server_info.cc",
12430 "net/quic/quic_address_mismatch.cc",
12431 "net/quic/quic_chromium_alarm_factory.cc",
12432 "net/quic/quic_chromium_client_session.cc",
12433 "net/quic/quic_chromium_client_stream.cc",
12434 "net/quic/quic_chromium_connection_helper.cc",
12435 "net/quic/quic_chromium_packet_reader.cc",
12436 "net/quic/quic_chromium_packet_writer.cc",
12437 "net/quic/quic_clock_skew_detector.cc",
12438 "net/quic/quic_connection_logger.cc",
12439 "net/quic/quic_connectivity_monitor.cc",
12440 "net/quic/quic_context.cc",
12441 "net/quic/quic_crypto_client_config_handle.cc",
12442 "net/quic/quic_crypto_client_stream_factory.cc",
12443 "net/quic/quic_event_logger.cc",
12444 "net/quic/quic_http3_logger.cc",
12445 "net/quic/quic_http_stream.cc",
12446 "net/quic/quic_http_utils.cc",
12447 "net/quic/quic_proxy_client_socket.cc",
12448 "net/quic/quic_server_info.cc",
12449 "net/quic/quic_session_key.cc",
12450 "net/quic/quic_stream_factory.cc",
12451 "net/quic/set_quic_flag.cc",
12452 "net/quic/web_transport_client.cc",
12453 "net/quic/web_transport_error.cc",
12454 "net/reporting/reporting_browsing_data_remover.cc",
12455 "net/reporting/reporting_cache.cc",
12456 "net/reporting/reporting_cache_impl.cc",
12457 "net/reporting/reporting_cache_observer.cc",
12458 "net/reporting/reporting_context.cc",
12459 "net/reporting/reporting_delegate.cc",
12460 "net/reporting/reporting_delivery_agent.cc",
12461 "net/reporting/reporting_endpoint.cc",
12462 "net/reporting/reporting_endpoint_manager.cc",
12463 "net/reporting/reporting_garbage_collector.cc",
12464 "net/reporting/reporting_header_parser.cc",
12465 "net/reporting/reporting_network_change_observer.cc",
12466 "net/reporting/reporting_policy.cc",
12467 "net/reporting/reporting_report.cc",
12468 "net/reporting/reporting_service.cc",
12469 "net/reporting/reporting_uploader.cc",
12470 "net/socket/client_socket_factory.cc",
12471 "net/socket/client_socket_handle.cc",
12472 "net/socket/client_socket_pool.cc",
12473 "net/socket/client_socket_pool_manager.cc",
12474 "net/socket/client_socket_pool_manager_impl.cc",
12475 "net/socket/connect_job.cc",
12476 "net/socket/connect_job_factory.cc",
12477 "net/socket/network_binding_client_socket_factory.cc",
12478 "net/socket/next_proto.cc",
12479 "net/socket/server_socket.cc",
12480 "net/socket/socket.cc",
12481 "net/socket/socket_bio_adapter.cc",
12482 "net/socket/socket_descriptor.cc",
12483 "net/socket/socket_net_log_params.cc",
12484 "net/socket/socket_options.cc",
12485 "net/socket/socket_posix.cc",
12486 "net/socket/socket_tag.cc",
12487 "net/socket/socks5_client_socket.cc",
12488 "net/socket/socks_client_socket.cc",
12489 "net/socket/socks_connect_job.cc",
12490 "net/socket/ssl_client_socket.cc",
12491 "net/socket/ssl_client_socket_impl.cc",
12492 "net/socket/ssl_connect_job.cc",
12493 "net/socket/ssl_server_socket_impl.cc",
12494 "net/socket/stream_socket.cc",
12495 "net/socket/tcp_client_socket.cc",
12496 "net/socket/tcp_server_socket.cc",
12497 "net/socket/tcp_socket_posix.cc",
12498 "net/socket/transport_client_socket.cc",
12499 "net/socket/transport_client_socket_pool.cc",
12500 "net/socket/transport_connect_job.cc",
12501 "net/socket/transport_connect_sub_job.cc",
12502 "net/socket/udp_client_socket.cc",
12503 "net/socket/udp_net_log_parameters.cc",
12504 "net/socket/udp_server_socket.cc",
12505 "net/socket/udp_socket_global_limits.cc",
12506 "net/socket/udp_socket_posix.cc",
12507 "net/socket/unix_domain_client_socket_posix.cc",
12508 "net/socket/unix_domain_server_socket_posix.cc",
12509 "net/socket/websocket_endpoint_lock_manager.cc",
12510 "net/socket/websocket_transport_client_socket_pool.cc",
12511 "net/spdy/alps_decoder.cc",
12512 "net/spdy/bidirectional_stream_spdy_impl.cc",
12513 "net/spdy/buffered_spdy_framer.cc",
12514 "net/spdy/header_coalescer.cc",
12515 "net/spdy/http2_priority_dependencies.cc",
12516 "net/spdy/http2_push_promise_index.cc",
12517 "net/spdy/multiplexed_http_stream.cc",
12518 "net/spdy/multiplexed_session.cc",
12519 "net/spdy/spdy_buffer.cc",
12520 "net/spdy/spdy_buffer_producer.cc",
12521 "net/spdy/spdy_http_stream.cc",
12522 "net/spdy/spdy_http_utils.cc",
12523 "net/spdy/spdy_log_util.cc",
12524 "net/spdy/spdy_proxy_client_socket.cc",
12525 "net/spdy/spdy_read_queue.cc",
12526 "net/spdy/spdy_session.cc",
12527 "net/spdy/spdy_session_key.cc",
12528 "net/spdy/spdy_session_pool.cc",
12529 "net/spdy/spdy_stream.cc",
12530 "net/spdy/spdy_write_queue.cc",
12531 "net/ssl/cert_compression.cc",
12532 "net/ssl/client_cert_identity.cc",
12533 "net/ssl/openssl_ssl_util.cc",
12534 "net/ssl/ssl_cert_request_info.cc",
12535 "net/ssl/ssl_cipher_suite_names.cc",
12536 "net/ssl/ssl_client_auth_cache.cc",
12537 "net/ssl/ssl_client_session_cache.cc",
12538 "net/ssl/ssl_config.cc",
12539 "net/ssl/ssl_config_service.cc",
12540 "net/ssl/ssl_config_service_defaults.cc",
12541 "net/ssl/ssl_info.cc",
12542 "net/ssl/ssl_key_logger.cc",
12543 "net/ssl/ssl_key_logger_impl.cc",
12544 "net/ssl/ssl_platform_key_android.cc",
12545 "net/ssl/ssl_platform_key_util.cc",
12546 "net/ssl/ssl_private_key.cc",
12547 "net/ssl/ssl_server_config.cc",
12548 "net/ssl/threaded_ssl_private_key.cc",
12549 "net/url_request/redirect_info.cc",
12550 "net/url_request/redirect_util.cc",
12551 "net/url_request/report_sender.cc",
12552 "net/url_request/static_http_user_agent_settings.cc",
12553 "net/url_request/url_request.cc",
12554 "net/url_request/url_request_context.cc",
12555 "net/url_request/url_request_context_builder.cc",
12556 "net/url_request/url_request_context_getter.cc",
12557 "net/url_request/url_request_error_job.cc",
12558 "net/url_request/url_request_filter.cc",
12559 "net/url_request/url_request_http_job.cc",
12560 "net/url_request/url_request_interceptor.cc",
12561 "net/url_request/url_request_job.cc",
12562 "net/url_request/url_request_job_factory.cc",
12563 "net/url_request/url_request_netlog_params.cc",
12564 "net/url_request/url_request_redirect_job.cc",
12565 "net/url_request/url_request_throttler_entry.cc",
12566 "net/url_request/url_request_throttler_manager.cc",
12567 "net/url_request/view_cache_helper.cc",
12568 "net/url_request/websocket_handshake_userdata_key.cc",
12569 ],
12570 shared_libs: [
12571 "libandroid",
12572 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080012573 "libz",
Patrick Rohrcb035942022-11-01 12:12:52 -070012574 ],
12575 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012576 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070012577 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012578 "cronet_aml_base_base_static",
12579 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -070012580 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
12581 "cronet_aml_crypto_crypto",
Patrick Rohrcb035942022-11-01 12:12:52 -070012582 "cronet_aml_net_preload_decoder",
Patrick Rohrcb035942022-11-01 12:12:52 -070012583 "cronet_aml_net_third_party_quiche_quiche",
12584 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090012585 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012586 "cronet_aml_third_party_brotli_common",
Patrick Rohrcb035942022-11-01 12:12:52 -070012587 "cronet_aml_third_party_brotli_dec",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012588 "cronet_aml_third_party_icu_icui18n",
12589 "cronet_aml_third_party_icu_icuuc_private",
12590 "cronet_aml_third_party_libevent_libevent",
12591 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090012592 "cronet_aml_third_party_protobuf_protobuf_lite",
Patrick Rohrcb035942022-11-01 12:12:52 -070012593 "cronet_aml_url_url",
12594 ],
12595 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090012596 "cronet_aml_base_debugging_buildflags",
12597 "cronet_aml_base_logging_buildflags",
12598 "cronet_aml_build_branding_buildflags",
12599 "cronet_aml_build_chromeos_buildflags",
12600 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
12601 "cronet_aml_net_buildflags",
12602 "cronet_aml_net_ios_cronet_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -080012603 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090012604 "cronet_aml_net_net_jni_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -080012605 "cronet_aml_net_net_nqe_proto_gen_headers",
12606 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090012607 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -070012608 ],
12609 export_generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090012610 "cronet_aml_base_debugging_buildflags",
12611 "cronet_aml_base_logging_buildflags",
12612 "cronet_aml_build_branding_buildflags",
12613 "cronet_aml_build_chromeos_buildflags",
12614 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
12615 "cronet_aml_net_buildflags",
12616 "cronet_aml_net_ios_cronet_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -080012617 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090012618 "cronet_aml_net_net_jni_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -080012619 "cronet_aml_net_net_nqe_proto_gen_headers",
12620 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090012621 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -070012622 ],
Patrick Rohrbb0956e2022-11-09 15:37:16 -080012623 export_static_lib_headers: [
Motomu Utsumi2f66bb32022-11-10 11:21:14 +090012624 "cronet_aml_crypto_crypto",
Patrick Rohrbb0956e2022-11-09 15:37:16 -080012625 "cronet_aml_net_third_party_quiche_quiche",
12626 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070012627 defaults: [
12628 "cronet_aml_defaults",
12629 ],
12630 cflags: [
12631 "-DANDROID",
12632 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090012633 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
12634 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090012635 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070012636 "-DENABLE_BUILT_IN_DNS",
12637 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
12638 "-DGOOGLE_PROTOBUF_NO_RTTI",
12639 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
12640 "-DHAVE_PTHREAD",
12641 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090012642 "-DNDEBUG",
Patrick Rohrcb035942022-11-01 12:12:52 -070012643 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090012644 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090012645 "-DNVALGRIND",
12646 "-DOFFICIAL_BUILD",
12647 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070012648 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070012649 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070012650 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
12651 "-D__STDC_CONSTANT_MACROS",
12652 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090012653 "-Oz",
12654 "-fdata-sections",
12655 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090012656 "-fno-asynchronous-unwind-tables",
12657 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090012658 "-fvisibility-inlines-hidden",
12659 "-fvisibility=hidden",
12660 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070012661 ],
12662 local_include_dirs: [
12663 "./",
12664 "buildtools/third_party/libc++/",
12665 "buildtools/third_party/libc++/trunk/include",
12666 "buildtools/third_party/libc++abi/trunk/include",
12667 "net/third_party/quiche/overrides/",
12668 "net/third_party/quiche/src/",
12669 "net/third_party/quiche/src/quiche/common/platform/default/",
12670 "third_party/abseil-cpp/",
12671 "third_party/boringssl/src/include/",
12672 "third_party/brotli/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090012673 "third_party/protobuf/src/",
Patrick Rohrcb035942022-11-01 12:12:52 -070012674 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090012675 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090012676 ldflags: [
12677 "-Wl,--as-needed",
12678 "-Wl,--gc-sections",
12679 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000012680 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000012681 "-Wl,-wrap,asprintf",
12682 "-Wl,-wrap,calloc",
12683 "-Wl,-wrap,free",
12684 "-Wl,-wrap,getcwd",
12685 "-Wl,-wrap,malloc",
12686 "-Wl,-wrap,malloc_usable_size",
12687 "-Wl,-wrap,memalign",
12688 "-Wl,-wrap,posix_memalign",
12689 "-Wl,-wrap,pvalloc",
12690 "-Wl,-wrap,realloc",
12691 "-Wl,-wrap,realpath",
12692 "-Wl,-wrap,strdup",
12693 "-Wl,-wrap,strndup",
12694 "-Wl,-wrap,valloc",
12695 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090012696 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090012697 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012698 android_arm: {
12699 srcs: [
12700 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
12701 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +090012702 cflags: [
12703 "-fstack-protector",
12704 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012705 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090012706 android_arm64: {
12707 srcs: [
12708 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
12709 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +090012710 cflags: [
12711 "-fstack-protector",
12712 "-mno-outline",
12713 "-mno-outline-atomics",
12714 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090012715 },
Motomu Utsumi65501182022-11-18 15:26:35 +090012716 android_x86: {
12717 srcs: [
12718 "net/disk_cache/blockfile/mapped_file_posix.cc",
12719 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012720 cflags: [
12721 "-msse3",
12722 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090012723 },
12724 android_x86_64: {
12725 srcs: [
12726 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
12727 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012728 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090012729 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012730 "-msse3",
12731 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090012732 },
12733 },
Patrick Rohrcb035942022-11-01 12:12:52 -070012734}
12735
Mohannad Farragedb2fd02023-02-10 14:53:41 +000012736// GN: //net:net__testing
12737cc_library_static {
12738 name: "cronet_aml_net_net__testing",
12739 srcs: [
12740 ":cronet_aml_net_dns_dns__testing",
12741 ":cronet_aml_net_dns_public_public__testing",
12742 ":cronet_aml_net_http_transport_security_state_generated_files__testing",
12743 ":cronet_aml_net_net_deps__testing",
12744 ":cronet_aml_net_net_public_deps__testing",
12745 ":cronet_aml_net_traffic_annotation_traffic_annotation__testing",
12746 "net/android/android_http_util.cc",
12747 "net/android/cert_verify_result_android.cc",
12748 "net/android/gurl_utils.cc",
12749 "net/android/http_auth_negotiate_android.cc",
12750 "net/android/keystore.cc",
12751 "net/android/network_change_notifier_android.cc",
12752 "net/android/network_change_notifier_delegate_android.cc",
12753 "net/android/network_change_notifier_factory_android.cc",
12754 "net/android/network_library.cc",
12755 "net/android/radio_activity_tracker.cc",
12756 "net/android/traffic_stats.cc",
12757 "net/base/address_family.cc",
12758 "net/base/address_list.cc",
12759 "net/base/address_tracker_linux.cc",
12760 "net/base/auth.cc",
12761 "net/base/backoff_entry.cc",
12762 "net/base/backoff_entry_serializer.cc",
12763 "net/base/cache_metrics.cc",
12764 "net/base/chunked_upload_data_stream.cc",
12765 "net/base/connection_endpoint_metadata.cc",
12766 "net/base/data_url.cc",
12767 "net/base/datagram_buffer.cc",
12768 "net/base/elements_upload_data_stream.cc",
12769 "net/base/features.cc",
12770 "net/base/file_stream.cc",
12771 "net/base/file_stream_context.cc",
12772 "net/base/file_stream_context_posix.cc",
12773 "net/base/filename_util.cc",
12774 "net/base/filename_util_internal.cc",
12775 "net/base/hash_value.cc",
12776 "net/base/hex_utils.cc",
12777 "net/base/host_mapping_rules.cc",
12778 "net/base/host_port_pair.cc",
12779 "net/base/io_buffer.cc",
12780 "net/base/ip_address.cc",
12781 "net/base/ip_endpoint.cc",
12782 "net/base/isolation_info.cc",
12783 "net/base/load_timing_info.cc",
12784 "net/base/logging_network_change_observer.cc",
12785 "net/base/lookup_string_in_fixed_set.cc",
12786 "net/base/mime_sniffer.cc",
12787 "net/base/mime_util.cc",
12788 "net/base/net_errors.cc",
12789 "net/base/net_errors_posix.cc",
12790 "net/base/net_module.cc",
12791 "net/base/net_string_util_icu_alternatives_android.cc",
12792 "net/base/network_activity_monitor.cc",
12793 "net/base/network_anonymization_key.cc",
12794 "net/base/network_change_notifier.cc",
12795 "net/base/network_change_notifier_posix.cc",
12796 "net/base/network_delegate.cc",
12797 "net/base/network_delegate_impl.cc",
12798 "net/base/network_interfaces.cc",
12799 "net/base/network_interfaces_getifaddrs.cc",
12800 "net/base/network_interfaces_getifaddrs_android.cc",
12801 "net/base/network_interfaces_linux.cc",
12802 "net/base/network_interfaces_posix.cc",
12803 "net/base/network_isolation_key.cc",
12804 "net/base/parse_number.cc",
12805 "net/base/platform_mime_util_linux.cc",
12806 "net/base/port_util.cc",
12807 "net/base/prioritized_dispatcher.cc",
12808 "net/base/prioritized_task_runner.cc",
12809 "net/base/privacy_mode.cc",
12810 "net/base/proxy_server.cc",
12811 "net/base/proxy_string_util.cc",
12812 "net/base/registry_controlled_domains/registry_controlled_domain.cc",
12813 "net/base/request_priority.cc",
12814 "net/base/scheme_host_port_matcher.cc",
12815 "net/base/scheme_host_port_matcher_rule.cc",
12816 "net/base/schemeful_site.cc",
12817 "net/base/sockaddr_storage.cc",
12818 "net/base/sockaddr_util_posix.cc",
12819 "net/base/transport_info.cc",
12820 "net/base/upload_bytes_element_reader.cc",
12821 "net/base/upload_data_stream.cc",
12822 "net/base/upload_element_reader.cc",
12823 "net/base/upload_file_element_reader.cc",
12824 "net/base/url_util.cc",
12825 "net/cert/asn1_util.cc",
12826 "net/cert/caching_cert_verifier.cc",
12827 "net/cert/cert_and_ct_verifier.cc",
12828 "net/cert/cert_database.cc",
12829 "net/cert/cert_status_flags.cc",
12830 "net/cert/cert_verifier.cc",
12831 "net/cert/cert_verify_proc.cc",
12832 "net/cert/cert_verify_proc_android.cc",
12833 "net/cert/cert_verify_proc_builtin.cc",
12834 "net/cert/cert_verify_result.cc",
12835 "net/cert/coalescing_cert_verifier.cc",
12836 "net/cert/crl_set.cc",
12837 "net/cert/ct_log_response_parser.cc",
12838 "net/cert/ct_log_verifier.cc",
12839 "net/cert/ct_log_verifier_util.cc",
12840 "net/cert/ct_objects_extractor.cc",
12841 "net/cert/ct_policy_enforcer.cc",
12842 "net/cert/ct_sct_to_string.cc",
12843 "net/cert/ct_serialization.cc",
12844 "net/cert/ct_signed_certificate_timestamp_log_param.cc",
12845 "net/cert/do_nothing_ct_verifier.cc",
12846 "net/cert/ev_root_ca_metadata.cc",
12847 "net/cert/internal/cert_issuer_source_aia.cc",
12848 "net/cert/internal/revocation_checker.cc",
12849 "net/cert/internal/system_trust_store.cc",
12850 "net/cert/known_roots.cc",
12851 "net/cert/merkle_audit_proof.cc",
12852 "net/cert/merkle_consistency_proof.cc",
12853 "net/cert/merkle_tree_leaf.cc",
12854 "net/cert/multi_log_ct_verifier.cc",
12855 "net/cert/multi_threaded_cert_verifier.cc",
12856 "net/cert/ocsp_verify_result.cc",
12857 "net/cert/pem.cc",
12858 "net/cert/pki/cert_error_id.cc",
12859 "net/cert/pki/cert_error_params.cc",
12860 "net/cert/pki/cert_errors.cc",
12861 "net/cert/pki/cert_issuer_source_static.cc",
12862 "net/cert/pki/certificate_policies.cc",
12863 "net/cert/pki/common_cert_errors.cc",
12864 "net/cert/pki/crl.cc",
12865 "net/cert/pki/extended_key_usage.cc",
12866 "net/cert/pki/general_names.cc",
12867 "net/cert/pki/name_constraints.cc",
12868 "net/cert/pki/ocsp.cc",
12869 "net/cert/pki/parse_certificate.cc",
12870 "net/cert/pki/parse_name.cc",
12871 "net/cert/pki/parsed_certificate.cc",
12872 "net/cert/pki/path_builder.cc",
12873 "net/cert/pki/revocation_util.cc",
12874 "net/cert/pki/signature_algorithm.cc",
12875 "net/cert/pki/simple_path_builder_delegate.cc",
12876 "net/cert/pki/string_util.cc",
12877 "net/cert/pki/trust_store.cc",
12878 "net/cert/pki/trust_store_collection.cc",
12879 "net/cert/pki/trust_store_in_memory.cc",
12880 "net/cert/pki/verify_certificate_chain.cc",
12881 "net/cert/pki/verify_name_match.cc",
12882 "net/cert/pki/verify_signed_data.cc",
12883 "net/cert/sct_status_flags.cc",
12884 "net/cert/signed_certificate_timestamp.cc",
12885 "net/cert/signed_certificate_timestamp_and_status.cc",
12886 "net/cert/signed_tree_head.cc",
12887 "net/cert/symantec_certs.cc",
12888 "net/cert/test_root_certs.cc",
12889 "net/cert/test_root_certs_android.cc",
12890 "net/cert/trial_comparison_cert_verifier_util.cc",
12891 "net/cert/x509_cert_types.cc",
12892 "net/cert/x509_certificate.cc",
12893 "net/cert/x509_certificate_net_log_param.cc",
12894 "net/cert/x509_util.cc",
12895 "net/cert/x509_util_android.cc",
12896 "net/cert_net/cert_net_fetcher_url_request.cc",
12897 "net/cookies/canonical_cookie.cc",
12898 "net/cookies/cookie_access_delegate.cc",
12899 "net/cookies/cookie_access_result.cc",
12900 "net/cookies/cookie_change_dispatcher.cc",
12901 "net/cookies/cookie_constants.cc",
12902 "net/cookies/cookie_deletion_info.cc",
12903 "net/cookies/cookie_inclusion_status.cc",
12904 "net/cookies/cookie_monster.cc",
12905 "net/cookies/cookie_monster_change_dispatcher.cc",
12906 "net/cookies/cookie_monster_netlog_params.cc",
12907 "net/cookies/cookie_options.cc",
12908 "net/cookies/cookie_partition_key.cc",
12909 "net/cookies/cookie_partition_key_collection.cc",
12910 "net/cookies/cookie_store.cc",
12911 "net/cookies/cookie_util.cc",
12912 "net/cookies/parsed_cookie.cc",
12913 "net/cookies/site_for_cookies.cc",
12914 "net/cookies/static_cookie_policy.cc",
12915 "net/der/encode_values.cc",
12916 "net/der/input.cc",
12917 "net/der/parse_values.cc",
12918 "net/der/parser.cc",
12919 "net/der/tag.cc",
12920 "net/disk_cache/backend_cleanup_tracker.cc",
12921 "net/disk_cache/blockfile/addr.cc",
12922 "net/disk_cache/blockfile/backend_impl.cc",
12923 "net/disk_cache/blockfile/bitmap.cc",
12924 "net/disk_cache/blockfile/block_files.cc",
12925 "net/disk_cache/blockfile/disk_format.cc",
12926 "net/disk_cache/blockfile/entry_impl.cc",
12927 "net/disk_cache/blockfile/eviction.cc",
12928 "net/disk_cache/blockfile/file.cc",
12929 "net/disk_cache/blockfile/file_lock.cc",
12930 "net/disk_cache/blockfile/file_posix.cc",
12931 "net/disk_cache/blockfile/in_flight_backend_io.cc",
12932 "net/disk_cache/blockfile/in_flight_io.cc",
12933 "net/disk_cache/blockfile/mapped_file.cc",
12934 "net/disk_cache/blockfile/rankings.cc",
12935 "net/disk_cache/blockfile/sparse_control.cc",
12936 "net/disk_cache/blockfile/stats.cc",
12937 "net/disk_cache/cache_util.cc",
12938 "net/disk_cache/cache_util_posix.cc",
12939 "net/disk_cache/disk_cache.cc",
12940 "net/disk_cache/memory/mem_backend_impl.cc",
12941 "net/disk_cache/memory/mem_entry_impl.cc",
12942 "net/disk_cache/net_log_parameters.cc",
12943 "net/disk_cache/simple/post_doom_waiter.cc",
12944 "net/disk_cache/simple/simple_backend_impl.cc",
12945 "net/disk_cache/simple/simple_entry_format.cc",
12946 "net/disk_cache/simple/simple_entry_impl.cc",
12947 "net/disk_cache/simple/simple_entry_operation.cc",
12948 "net/disk_cache/simple/simple_file_enumerator.cc",
12949 "net/disk_cache/simple/simple_file_tracker.cc",
12950 "net/disk_cache/simple/simple_index.cc",
12951 "net/disk_cache/simple/simple_index_file.cc",
12952 "net/disk_cache/simple/simple_net_log_parameters.cc",
12953 "net/disk_cache/simple/simple_synchronous_entry.cc",
12954 "net/disk_cache/simple/simple_util.cc",
12955 "net/disk_cache/simple/simple_util_posix.cc",
12956 "net/disk_cache/simple/simple_version_upgrade.cc",
12957 "net/filter/brotli_source_stream.cc",
12958 "net/filter/filter_source_stream.cc",
12959 "net/filter/gzip_header.cc",
12960 "net/filter/gzip_source_stream.cc",
12961 "net/filter/source_stream.cc",
12962 "net/first_party_sets/addition_overlaps_union_find.cc",
12963 "net/first_party_sets/first_party_set_entry.cc",
12964 "net/first_party_sets/first_party_set_metadata.cc",
12965 "net/first_party_sets/first_party_sets_cache_filter.cc",
12966 "net/first_party_sets/first_party_sets_context_config.cc",
12967 "net/first_party_sets/global_first_party_sets.cc",
12968 "net/first_party_sets/same_party_context.cc",
12969 "net/http/alternative_service.cc",
12970 "net/http/bidirectional_stream.cc",
12971 "net/http/bidirectional_stream_impl.cc",
12972 "net/http/bidirectional_stream_request_info.cc",
12973 "net/http/broken_alternative_services.cc",
12974 "net/http/http_auth.cc",
12975 "net/http/http_auth_cache.cc",
12976 "net/http/http_auth_challenge_tokenizer.cc",
12977 "net/http/http_auth_controller.cc",
12978 "net/http/http_auth_filter.cc",
12979 "net/http/http_auth_handler.cc",
12980 "net/http/http_auth_handler_basic.cc",
12981 "net/http/http_auth_handler_digest.cc",
12982 "net/http/http_auth_handler_factory.cc",
12983 "net/http/http_auth_handler_negotiate.cc",
12984 "net/http/http_auth_handler_ntlm.cc",
12985 "net/http/http_auth_handler_ntlm_portable.cc",
12986 "net/http/http_auth_multi_round_parse.cc",
12987 "net/http/http_auth_ntlm_mechanism.cc",
12988 "net/http/http_auth_preferences.cc",
12989 "net/http/http_auth_scheme.cc",
12990 "net/http/http_basic_state.cc",
12991 "net/http/http_basic_stream.cc",
12992 "net/http/http_byte_range.cc",
12993 "net/http/http_cache.cc",
12994 "net/http/http_cache_lookup_manager.cc",
12995 "net/http/http_cache_transaction.cc",
12996 "net/http/http_cache_writers.cc",
12997 "net/http/http_chunked_decoder.cc",
12998 "net/http/http_content_disposition.cc",
12999 "net/http/http_log_util.cc",
13000 "net/http/http_network_layer.cc",
13001 "net/http/http_network_session.cc",
13002 "net/http/http_network_session_peer.cc",
13003 "net/http/http_network_transaction.cc",
13004 "net/http/http_proxy_client_socket.cc",
13005 "net/http/http_proxy_connect_job.cc",
13006 "net/http/http_raw_request_headers.cc",
13007 "net/http/http_request_headers.cc",
13008 "net/http/http_request_info.cc",
13009 "net/http/http_response_body_drainer.cc",
13010 "net/http/http_response_headers.cc",
13011 "net/http/http_response_info.cc",
13012 "net/http/http_security_headers.cc",
13013 "net/http/http_server_properties.cc",
13014 "net/http/http_server_properties_manager.cc",
13015 "net/http/http_status_code.cc",
13016 "net/http/http_stream_factory.cc",
13017 "net/http/http_stream_factory_job.cc",
13018 "net/http/http_stream_factory_job_controller.cc",
13019 "net/http/http_stream_parser.cc",
13020 "net/http/http_stream_request.cc",
13021 "net/http/http_util.cc",
13022 "net/http/http_vary_data.cc",
13023 "net/http/partial_data.cc",
13024 "net/http/proxy_client_socket.cc",
13025 "net/http/proxy_fallback.cc",
13026 "net/http/transport_security_persister.cc",
13027 "net/http/transport_security_state_source.cc",
13028 "net/http/url_security_manager.cc",
13029 "net/http/url_security_manager_posix.cc",
13030 "net/http/webfonts_histogram.cc",
13031 "net/log/file_net_log_observer.cc",
13032 "net/log/net_log.cc",
13033 "net/log/net_log_capture_mode.cc",
13034 "net/log/net_log_entry.cc",
13035 "net/log/net_log_event_type.cc",
13036 "net/log/net_log_source.cc",
13037 "net/log/net_log_util.cc",
13038 "net/log/net_log_values.cc",
13039 "net/log/net_log_with_source.cc",
13040 "net/log/trace_net_log_observer.cc",
13041 "net/network_error_logging/network_error_logging_service.cc",
13042 "net/nqe/cached_network_quality.cc",
13043 "net/nqe/effective_connection_type.cc",
13044 "net/nqe/event_creator.cc",
13045 "net/nqe/network_id.cc",
13046 "net/nqe/network_qualities_prefs_manager.cc",
13047 "net/nqe/network_quality.cc",
13048 "net/nqe/network_quality_estimator.cc",
13049 "net/nqe/network_quality_estimator_params.cc",
13050 "net/nqe/network_quality_estimator_util.cc",
13051 "net/nqe/network_quality_observation.cc",
13052 "net/nqe/network_quality_store.cc",
13053 "net/nqe/observation_buffer.cc",
13054 "net/nqe/pref_names.cc",
13055 "net/nqe/socket_watcher.cc",
13056 "net/nqe/socket_watcher_factory.cc",
13057 "net/nqe/throughput_analyzer.cc",
13058 "net/ntlm/ntlm.cc",
13059 "net/ntlm/ntlm_buffer_reader.cc",
13060 "net/ntlm/ntlm_buffer_writer.cc",
13061 "net/ntlm/ntlm_client.cc",
13062 "net/ntlm/ntlm_constants.cc",
13063 "net/proxy_resolution/configured_proxy_resolution_request.cc",
13064 "net/proxy_resolution/configured_proxy_resolution_service.cc",
13065 "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
13066 "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
13067 "net/proxy_resolution/network_delegate_error_observer.cc",
13068 "net/proxy_resolution/pac_file_data.cc",
13069 "net/proxy_resolution/pac_file_decider.cc",
13070 "net/proxy_resolution/pac_file_fetcher.cc",
13071 "net/proxy_resolution/pac_file_fetcher_impl.cc",
13072 "net/proxy_resolution/polling_proxy_config_service.cc",
13073 "net/proxy_resolution/proxy_bypass_rules.cc",
13074 "net/proxy_resolution/proxy_config.cc",
13075 "net/proxy_resolution/proxy_config_service.cc",
13076 "net/proxy_resolution/proxy_config_service_android.cc",
13077 "net/proxy_resolution/proxy_config_service_fixed.cc",
13078 "net/proxy_resolution/proxy_config_with_annotation.cc",
13079 "net/proxy_resolution/proxy_info.cc",
13080 "net/proxy_resolution/proxy_list.cc",
13081 "net/proxy_resolution/proxy_resolver_factory.cc",
13082 "net/quic/bidirectional_stream_quic_impl.cc",
13083 "net/quic/crypto/proof_source_chromium.cc",
13084 "net/quic/crypto/proof_verifier_chromium.cc",
13085 "net/quic/dedicated_web_transport_http3_client.cc",
13086 "net/quic/network_connection.cc",
13087 "net/quic/platform/impl/quic_chromium_clock.cc",
13088 "net/quic/properties_based_quic_server_info.cc",
13089 "net/quic/quic_address_mismatch.cc",
13090 "net/quic/quic_chromium_alarm_factory.cc",
13091 "net/quic/quic_chromium_client_session.cc",
13092 "net/quic/quic_chromium_client_stream.cc",
13093 "net/quic/quic_chromium_connection_helper.cc",
13094 "net/quic/quic_chromium_packet_reader.cc",
13095 "net/quic/quic_chromium_packet_writer.cc",
13096 "net/quic/quic_clock_skew_detector.cc",
13097 "net/quic/quic_connection_logger.cc",
13098 "net/quic/quic_connectivity_monitor.cc",
13099 "net/quic/quic_context.cc",
13100 "net/quic/quic_crypto_client_config_handle.cc",
13101 "net/quic/quic_crypto_client_stream_factory.cc",
13102 "net/quic/quic_event_logger.cc",
13103 "net/quic/quic_http3_logger.cc",
13104 "net/quic/quic_http_stream.cc",
13105 "net/quic/quic_http_utils.cc",
13106 "net/quic/quic_proxy_client_socket.cc",
13107 "net/quic/quic_server_info.cc",
13108 "net/quic/quic_session_key.cc",
13109 "net/quic/quic_stream_factory.cc",
13110 "net/quic/set_quic_flag.cc",
13111 "net/quic/web_transport_client.cc",
13112 "net/quic/web_transport_error.cc",
13113 "net/reporting/reporting_browsing_data_remover.cc",
13114 "net/reporting/reporting_cache.cc",
13115 "net/reporting/reporting_cache_impl.cc",
13116 "net/reporting/reporting_cache_observer.cc",
13117 "net/reporting/reporting_context.cc",
13118 "net/reporting/reporting_delegate.cc",
13119 "net/reporting/reporting_delivery_agent.cc",
13120 "net/reporting/reporting_endpoint.cc",
13121 "net/reporting/reporting_endpoint_manager.cc",
13122 "net/reporting/reporting_garbage_collector.cc",
13123 "net/reporting/reporting_header_parser.cc",
13124 "net/reporting/reporting_network_change_observer.cc",
13125 "net/reporting/reporting_policy.cc",
13126 "net/reporting/reporting_report.cc",
13127 "net/reporting/reporting_service.cc",
13128 "net/reporting/reporting_uploader.cc",
13129 "net/socket/client_socket_factory.cc",
13130 "net/socket/client_socket_handle.cc",
13131 "net/socket/client_socket_pool.cc",
13132 "net/socket/client_socket_pool_manager.cc",
13133 "net/socket/client_socket_pool_manager_impl.cc",
13134 "net/socket/connect_job.cc",
13135 "net/socket/connect_job_factory.cc",
13136 "net/socket/network_binding_client_socket_factory.cc",
13137 "net/socket/next_proto.cc",
13138 "net/socket/server_socket.cc",
13139 "net/socket/socket.cc",
13140 "net/socket/socket_bio_adapter.cc",
13141 "net/socket/socket_descriptor.cc",
13142 "net/socket/socket_net_log_params.cc",
13143 "net/socket/socket_options.cc",
13144 "net/socket/socket_posix.cc",
13145 "net/socket/socket_tag.cc",
13146 "net/socket/socks5_client_socket.cc",
13147 "net/socket/socks_client_socket.cc",
13148 "net/socket/socks_connect_job.cc",
13149 "net/socket/ssl_client_socket.cc",
13150 "net/socket/ssl_client_socket_impl.cc",
13151 "net/socket/ssl_connect_job.cc",
13152 "net/socket/ssl_server_socket_impl.cc",
13153 "net/socket/stream_socket.cc",
13154 "net/socket/tcp_client_socket.cc",
13155 "net/socket/tcp_server_socket.cc",
13156 "net/socket/tcp_socket_posix.cc",
13157 "net/socket/transport_client_socket.cc",
13158 "net/socket/transport_client_socket_pool.cc",
13159 "net/socket/transport_connect_job.cc",
13160 "net/socket/transport_connect_sub_job.cc",
13161 "net/socket/udp_client_socket.cc",
13162 "net/socket/udp_net_log_parameters.cc",
13163 "net/socket/udp_server_socket.cc",
13164 "net/socket/udp_socket_global_limits.cc",
13165 "net/socket/udp_socket_posix.cc",
13166 "net/socket/unix_domain_client_socket_posix.cc",
13167 "net/socket/unix_domain_server_socket_posix.cc",
13168 "net/socket/websocket_endpoint_lock_manager.cc",
13169 "net/socket/websocket_transport_client_socket_pool.cc",
13170 "net/spdy/alps_decoder.cc",
13171 "net/spdy/bidirectional_stream_spdy_impl.cc",
13172 "net/spdy/buffered_spdy_framer.cc",
13173 "net/spdy/header_coalescer.cc",
13174 "net/spdy/http2_priority_dependencies.cc",
13175 "net/spdy/http2_push_promise_index.cc",
13176 "net/spdy/multiplexed_http_stream.cc",
13177 "net/spdy/multiplexed_session.cc",
13178 "net/spdy/spdy_buffer.cc",
13179 "net/spdy/spdy_buffer_producer.cc",
13180 "net/spdy/spdy_http_stream.cc",
13181 "net/spdy/spdy_http_utils.cc",
13182 "net/spdy/spdy_log_util.cc",
13183 "net/spdy/spdy_proxy_client_socket.cc",
13184 "net/spdy/spdy_read_queue.cc",
13185 "net/spdy/spdy_session.cc",
13186 "net/spdy/spdy_session_key.cc",
13187 "net/spdy/spdy_session_pool.cc",
13188 "net/spdy/spdy_stream.cc",
13189 "net/spdy/spdy_write_queue.cc",
13190 "net/ssl/cert_compression.cc",
13191 "net/ssl/client_cert_identity.cc",
13192 "net/ssl/openssl_ssl_util.cc",
13193 "net/ssl/ssl_cert_request_info.cc",
13194 "net/ssl/ssl_cipher_suite_names.cc",
13195 "net/ssl/ssl_client_auth_cache.cc",
13196 "net/ssl/ssl_client_session_cache.cc",
13197 "net/ssl/ssl_config.cc",
13198 "net/ssl/ssl_config_service.cc",
13199 "net/ssl/ssl_config_service_defaults.cc",
13200 "net/ssl/ssl_info.cc",
13201 "net/ssl/ssl_key_logger.cc",
13202 "net/ssl/ssl_key_logger_impl.cc",
13203 "net/ssl/ssl_platform_key_android.cc",
13204 "net/ssl/ssl_platform_key_util.cc",
13205 "net/ssl/ssl_private_key.cc",
13206 "net/ssl/ssl_server_config.cc",
13207 "net/ssl/threaded_ssl_private_key.cc",
13208 "net/url_request/redirect_info.cc",
13209 "net/url_request/redirect_util.cc",
13210 "net/url_request/report_sender.cc",
13211 "net/url_request/static_http_user_agent_settings.cc",
13212 "net/url_request/url_request.cc",
13213 "net/url_request/url_request_context.cc",
13214 "net/url_request/url_request_context_builder.cc",
13215 "net/url_request/url_request_context_getter.cc",
13216 "net/url_request/url_request_error_job.cc",
13217 "net/url_request/url_request_filter.cc",
13218 "net/url_request/url_request_http_job.cc",
13219 "net/url_request/url_request_interceptor.cc",
13220 "net/url_request/url_request_job.cc",
13221 "net/url_request/url_request_job_factory.cc",
13222 "net/url_request/url_request_netlog_params.cc",
13223 "net/url_request/url_request_redirect_job.cc",
13224 "net/url_request/url_request_throttler_entry.cc",
13225 "net/url_request/url_request_throttler_manager.cc",
13226 "net/url_request/view_cache_helper.cc",
13227 "net/url_request/websocket_handshake_userdata_key.cc",
13228 ],
13229 shared_libs: [
13230 "libandroid",
13231 "liblog",
13232 "libz",
13233 ],
13234 static_libs: [
13235 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
13236 "cronet_aml_base_base__testing",
13237 "cronet_aml_base_base_static__testing",
13238 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
13239 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
13240 "cronet_aml_crypto_crypto__testing",
13241 "cronet_aml_net_preload_decoder__testing",
13242 "cronet_aml_net_third_party_quiche_quiche__testing",
13243 "cronet_aml_net_uri_template__testing",
13244 "cronet_aml_third_party_boringssl_boringssl__testing",
13245 "cronet_aml_third_party_brotli_common__testing",
13246 "cronet_aml_third_party_brotli_dec__testing",
13247 "cronet_aml_third_party_icu_icui18n__testing",
13248 "cronet_aml_third_party_icu_icuuc_private__testing",
13249 "cronet_aml_third_party_libevent_libevent__testing",
13250 "cronet_aml_third_party_modp_b64_modp_b64__testing",
13251 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
13252 "cronet_aml_url_url__testing",
13253 ],
13254 generated_headers: [
13255 "cronet_aml_base_debugging_buildflags__testing",
13256 "cronet_aml_base_logging_buildflags__testing",
13257 "cronet_aml_build_branding_buildflags__testing",
13258 "cronet_aml_build_chromeos_buildflags__testing",
13259 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
13260 "cronet_aml_net_buildflags__testing",
13261 "cronet_aml_net_ios_cronet_buildflags__testing",
13262 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
13263 "cronet_aml_net_net_jni_headers__testing",
13264 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
13265 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
13266 "cronet_aml_url_buildflags__testing",
13267 ],
13268 export_generated_headers: [
13269 "cronet_aml_base_debugging_buildflags__testing",
13270 "cronet_aml_base_logging_buildflags__testing",
13271 "cronet_aml_build_branding_buildflags__testing",
13272 "cronet_aml_build_chromeos_buildflags__testing",
13273 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
13274 "cronet_aml_net_buildflags__testing",
13275 "cronet_aml_net_ios_cronet_buildflags__testing",
13276 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
13277 "cronet_aml_net_net_jni_headers__testing",
13278 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
13279 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
13280 "cronet_aml_url_buildflags__testing",
13281 ],
13282 defaults: [
13283 "cronet_aml_defaults",
13284 ],
13285 cflags: [
13286 "-DANDROID",
13287 "-DANDROID_NDK_VERSION_ROLL=r23_1",
13288 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
13289 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
13290 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
13291 "-DENABLE_BUILT_IN_DNS",
13292 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13293 "-DGOOGLE_PROTOBUF_NO_RTTI",
13294 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13295 "-DHAVE_PTHREAD",
13296 "-DHAVE_SYS_UIO_H",
13297 "-DNDEBUG",
13298 "-DNET_IMPLEMENTATION",
13299 "-DNO_UNWIND_TABLES",
13300 "-DNVALGRIND",
13301 "-DOFFICIAL_BUILD",
13302 "-D_FORTIFY_SOURCE=2",
13303 "-D_GNU_SOURCE",
13304 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13305 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13306 "-D__STDC_CONSTANT_MACROS",
13307 "-D__STDC_FORMAT_MACROS",
13308 "-Oz",
13309 "-fdata-sections",
13310 "-ffunction-sections",
13311 "-fno-asynchronous-unwind-tables",
13312 "-fno-unwind-tables",
13313 "-fvisibility-inlines-hidden",
13314 "-fvisibility=hidden",
13315 "-g1",
13316 ],
13317 local_include_dirs: [
13318 "./",
13319 "buildtools/third_party/libc++/",
13320 "buildtools/third_party/libc++/trunk/include",
13321 "buildtools/third_party/libc++abi/trunk/include",
13322 "net/third_party/quiche/overrides/",
13323 "net/third_party/quiche/src/",
13324 "net/third_party/quiche/src/quiche/common/platform/default/",
13325 "third_party/abseil-cpp/",
13326 "third_party/boringssl/src/include/",
13327 "third_party/brotli/include/",
13328 "third_party/protobuf/src/",
13329 ],
13330 cpp_std: "c++17",
13331 ldflags: [
13332 "-Wl,--as-needed",
13333 "-Wl,--gc-sections",
13334 "-Wl,--icf=all",
13335 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
13336 "-Wl,-wrap,asprintf",
13337 "-Wl,-wrap,calloc",
13338 "-Wl,-wrap,free",
13339 "-Wl,-wrap,getcwd",
13340 "-Wl,-wrap,malloc",
13341 "-Wl,-wrap,malloc_usable_size",
13342 "-Wl,-wrap,memalign",
13343 "-Wl,-wrap,posix_memalign",
13344 "-Wl,-wrap,pvalloc",
13345 "-Wl,-wrap,realloc",
13346 "-Wl,-wrap,realpath",
13347 "-Wl,-wrap,strdup",
13348 "-Wl,-wrap,strndup",
13349 "-Wl,-wrap,valloc",
13350 "-Wl,-wrap,vasprintf",
13351 ],
13352 target: {
13353 android_arm: {
13354 srcs: [
13355 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
13356 ],
13357 cflags: [
13358 "-fstack-protector",
13359 ],
13360 },
13361 android_arm64: {
13362 srcs: [
13363 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
13364 ],
13365 cflags: [
13366 "-fstack-protector",
13367 "-mno-outline",
13368 "-mno-outline-atomics",
13369 ],
13370 },
13371 android_x86: {
13372 srcs: [
13373 "net/disk_cache/blockfile/mapped_file_posix.cc",
13374 ],
13375 cflags: [
13376 "-msse3",
13377 ],
13378 },
13379 android_x86_64: {
13380 srcs: [
13381 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
13382 ],
13383 cflags: [
13384 "-fstack-protector",
13385 "-msse3",
13386 ],
13387 },
13388 },
13389}
13390
Patrick Rohrcb035942022-11-01 12:12:52 -070013391// GN: //net:net_deps
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013392cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070013393 name: "cronet_aml_net_net_deps",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013394 srcs: [
13395 ":cronet_aml_net_isolation_info_proto_gen",
13396 ],
13397 shared_libs: [
13398 "libandroid",
13399 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013400 "libprotobuf-cpp-lite",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080013401 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013402 ],
13403 static_libs: [
13404 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
13405 "cronet_aml_base_base",
13406 "cronet_aml_base_base_static",
13407 "cronet_aml_base_third_party_double_conversion_double_conversion",
13408 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
13409 "cronet_aml_net_preload_decoder",
13410 "cronet_aml_third_party_boringssl_boringssl",
13411 "cronet_aml_third_party_brotli_common",
13412 "cronet_aml_third_party_brotli_dec",
13413 "cronet_aml_third_party_icu_icui18n",
13414 "cronet_aml_third_party_icu_icuuc_private",
13415 "cronet_aml_third_party_libevent_libevent",
13416 "cronet_aml_third_party_modp_b64_modp_b64",
13417 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013418 ],
13419 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090013420 "cronet_aml_base_debugging_buildflags",
13421 "cronet_aml_base_logging_buildflags",
13422 "cronet_aml_build_chromeos_buildflags",
13423 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013424 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090013425 "cronet_aml_net_net_jni_headers",
13426 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013427 ],
13428 defaults: [
13429 "cronet_aml_defaults",
13430 ],
13431 cflags: [
13432 "-DANDROID",
13433 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090013434 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
13435 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013436 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013437 "-DENABLE_BUILT_IN_DNS",
13438 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13439 "-DGOOGLE_PROTOBUF_NO_RTTI",
13440 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13441 "-DHAVE_PTHREAD",
13442 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013443 "-DNDEBUG",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013444 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090013445 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013446 "-DNVALGRIND",
13447 "-DOFFICIAL_BUILD",
13448 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013449 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013450 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013451 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13452 "-D__STDC_CONSTANT_MACROS",
13453 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090013454 "-Oz",
13455 "-fdata-sections",
13456 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090013457 "-fno-asynchronous-unwind-tables",
13458 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090013459 "-fvisibility-inlines-hidden",
13460 "-fvisibility=hidden",
13461 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013462 ],
13463 local_include_dirs: [
13464 "./",
13465 "buildtools/third_party/libc++/",
13466 "buildtools/third_party/libc++/trunk/include",
13467 "buildtools/third_party/libc++abi/trunk/include",
13468 "third_party/abseil-cpp/",
13469 "third_party/boringssl/src/include/",
13470 "third_party/brotli/include/",
13471 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013472 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090013473 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090013474 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090013475 android_arm: {
13476 cflags: [
13477 "-fstack-protector",
13478 ],
13479 },
13480 android_arm64: {
13481 cflags: [
13482 "-fstack-protector",
13483 "-mno-outline",
13484 "-mno-outline-atomics",
13485 ],
13486 },
Motomu Utsumi55394632022-11-18 17:44:28 +090013487 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013488 cflags: [
13489 "-msse3",
13490 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090013491 },
13492 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013493 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090013494 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013495 "-msse3",
13496 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090013497 },
13498 },
Patrick Rohrcb035942022-11-01 12:12:52 -070013499}
13500
Mohannad Farragedb2fd02023-02-10 14:53:41 +000013501// GN: //net:net_deps__testing
13502cc_object {
13503 name: "cronet_aml_net_net_deps__testing",
13504 srcs: [
13505 ":cronet_aml_net_isolation_info_proto__testing_gen",
13506 ],
13507 shared_libs: [
13508 "libandroid",
13509 "liblog",
13510 "libprotobuf-cpp-lite",
13511 "libz",
13512 ],
13513 static_libs: [
13514 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
13515 "cronet_aml_base_base__testing",
13516 "cronet_aml_base_base_static__testing",
13517 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
13518 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
13519 "cronet_aml_net_preload_decoder__testing",
13520 "cronet_aml_third_party_boringssl_boringssl__testing",
13521 "cronet_aml_third_party_brotli_common__testing",
13522 "cronet_aml_third_party_brotli_dec__testing",
13523 "cronet_aml_third_party_icu_icui18n__testing",
13524 "cronet_aml_third_party_icu_icuuc_private__testing",
13525 "cronet_aml_third_party_libevent_libevent__testing",
13526 "cronet_aml_third_party_modp_b64_modp_b64__testing",
13527 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
13528 ],
13529 generated_headers: [
13530 "cronet_aml_base_debugging_buildflags__testing",
13531 "cronet_aml_base_logging_buildflags__testing",
13532 "cronet_aml_build_chromeos_buildflags__testing",
13533 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
13534 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
13535 "cronet_aml_net_net_jni_headers__testing",
13536 "cronet_aml_url_buildflags__testing",
13537 ],
13538 defaults: [
13539 "cronet_aml_defaults",
13540 ],
13541 cflags: [
13542 "-DANDROID",
13543 "-DANDROID_NDK_VERSION_ROLL=r23_1",
13544 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
13545 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
13546 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
13547 "-DENABLE_BUILT_IN_DNS",
13548 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13549 "-DGOOGLE_PROTOBUF_NO_RTTI",
13550 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13551 "-DHAVE_PTHREAD",
13552 "-DHAVE_SYS_UIO_H",
13553 "-DNDEBUG",
13554 "-DNET_IMPLEMENTATION",
13555 "-DNO_UNWIND_TABLES",
13556 "-DNVALGRIND",
13557 "-DOFFICIAL_BUILD",
13558 "-D_FORTIFY_SOURCE=2",
13559 "-D_GNU_SOURCE",
13560 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13561 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13562 "-D__STDC_CONSTANT_MACROS",
13563 "-D__STDC_FORMAT_MACROS",
13564 "-Oz",
13565 "-fdata-sections",
13566 "-ffunction-sections",
13567 "-fno-asynchronous-unwind-tables",
13568 "-fno-unwind-tables",
13569 "-fvisibility-inlines-hidden",
13570 "-fvisibility=hidden",
13571 "-g1",
13572 ],
13573 local_include_dirs: [
13574 "./",
13575 "buildtools/third_party/libc++/",
13576 "buildtools/third_party/libc++/trunk/include",
13577 "buildtools/third_party/libc++abi/trunk/include",
13578 "third_party/abseil-cpp/",
13579 "third_party/boringssl/src/include/",
13580 "third_party/brotli/include/",
13581 "third_party/protobuf/src/",
13582 ],
13583 cpp_std: "c++17",
13584 target: {
13585 android_arm: {
13586 cflags: [
13587 "-fstack-protector",
13588 ],
13589 },
13590 android_arm64: {
13591 cflags: [
13592 "-fstack-protector",
13593 "-mno-outline",
13594 "-mno-outline-atomics",
13595 ],
13596 },
13597 android_x86: {
13598 cflags: [
13599 "-msse3",
13600 ],
13601 },
13602 android_x86_64: {
13603 cflags: [
13604 "-fstack-protector",
13605 "-msse3",
13606 ],
13607 },
13608 },
13609}
13610
Motomu Utsumie74bab82022-12-16 18:00:12 +090013611// GN: //net:net_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013612cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090013613 name: "cronet_aml_net_net_jni_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070013614 srcs: [
13615 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
13616 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
13617 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
13618 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
13619 "net/android/java/src/org/chromium/net/DnsStatus.java",
13620 "net/android/java/src/org/chromium/net/GURLUtils.java",
13621 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
13622 "net/android/java/src/org/chromium/net/HttpUtil.java",
13623 "net/android/java/src/org/chromium/net/NetStringUtil.java",
13624 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
13625 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
13626 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
13627 "net/android/java/src/org/chromium/net/X509Util.java",
13628 ],
13629 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
13630 "long " +
Patrick Rohrcb035942022-11-01 12:12:52 -070013631 "--output_dir " +
13632 "$(genDir)/net/net_jni_headers " +
13633 "--includes " +
13634 "base/android/jni_generator/jni_generator_helper.h " +
13635 "--use_proxy_hash " +
13636 "--output_name " +
13637 "AndroidCertVerifyResult_jni.h " +
13638 "--output_name " +
13639 "AndroidKeyStore_jni.h " +
13640 "--output_name " +
13641 "AndroidNetworkLibrary_jni.h " +
13642 "--output_name " +
13643 "AndroidTrafficStats_jni.h " +
13644 "--output_name " +
13645 "DnsStatus_jni.h " +
13646 "--output_name " +
13647 "GURLUtils_jni.h " +
13648 "--output_name " +
13649 "HttpNegotiateAuthenticator_jni.h " +
13650 "--output_name " +
13651 "HttpUtil_jni.h " +
13652 "--output_name " +
13653 "NetStringUtil_jni.h " +
13654 "--output_name " +
13655 "NetworkActiveNotifier_jni.h " +
13656 "--output_name " +
13657 "NetworkChangeNotifier_jni.h " +
13658 "--output_name " +
13659 "ProxyChangeListener_jni.h " +
13660 "--output_name " +
13661 "X509Util_jni.h " +
13662 "--input_file " +
13663 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
13664 "--input_file " +
13665 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
13666 "--input_file " +
13667 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
13668 "--input_file " +
13669 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
13670 "--input_file " +
13671 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
13672 "--input_file " +
13673 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
13674 "--input_file " +
13675 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
13676 "--input_file " +
13677 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
13678 "--input_file " +
13679 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
13680 "--input_file " +
13681 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
13682 "--input_file " +
13683 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
13684 "--input_file " +
13685 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
13686 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +000013687 "$(location net/android/java/src/org/chromium/net/X509Util.java) " +
13688 "--package_prefix " +
13689 "android.net.http.internal",
Patrick Rohrcb035942022-11-01 12:12:52 -070013690 out: [
13691 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
13692 "net/net_jni_headers/AndroidKeyStore_jni.h",
13693 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
13694 "net/net_jni_headers/AndroidTrafficStats_jni.h",
13695 "net/net_jni_headers/DnsStatus_jni.h",
13696 "net/net_jni_headers/GURLUtils_jni.h",
13697 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
13698 "net/net_jni_headers/HttpUtil_jni.h",
13699 "net/net_jni_headers/NetStringUtil_jni.h",
13700 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
13701 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
13702 "net/net_jni_headers/ProxyChangeListener_jni.h",
13703 "net/net_jni_headers/X509Util_jni.h",
13704 ],
13705 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +000013706 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -070013707 "base/android/jni_generator/jni_generator.py",
13708 "build/android/gyp/util/__init__.py",
13709 "build/android/gyp/util/build_utils.py",
13710 "build/gn_helpers.py",
13711 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090013712 apex_available: [
13713 "com.android.tethering",
13714 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070013715}
13716
Mohannad Farragedb2fd02023-02-10 14:53:41 +000013717// GN: //net:net_jni_headers__testing
13718cc_genrule {
13719 name: "cronet_aml_net_net_jni_headers__testing",
13720 srcs: [
13721 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
13722 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
13723 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
13724 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
13725 "net/android/java/src/org/chromium/net/DnsStatus.java",
13726 "net/android/java/src/org/chromium/net/GURLUtils.java",
13727 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
13728 "net/android/java/src/org/chromium/net/HttpUtil.java",
13729 "net/android/java/src/org/chromium/net/NetStringUtil.java",
13730 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
13731 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
13732 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
13733 "net/android/java/src/org/chromium/net/X509Util.java",
13734 ],
13735 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
13736 "long " +
13737 "--output_dir " +
13738 "$(genDir)/net/net_jni_headers " +
13739 "--includes " +
13740 "base/android/jni_generator/jni_generator_helper.h " +
13741 "--use_proxy_hash " +
13742 "--output_name " +
13743 "AndroidCertVerifyResult_jni.h " +
13744 "--output_name " +
13745 "AndroidKeyStore_jni.h " +
13746 "--output_name " +
13747 "AndroidNetworkLibrary_jni.h " +
13748 "--output_name " +
13749 "AndroidTrafficStats_jni.h " +
13750 "--output_name " +
13751 "DnsStatus_jni.h " +
13752 "--output_name " +
13753 "GURLUtils_jni.h " +
13754 "--output_name " +
13755 "HttpNegotiateAuthenticator_jni.h " +
13756 "--output_name " +
13757 "HttpUtil_jni.h " +
13758 "--output_name " +
13759 "NetStringUtil_jni.h " +
13760 "--output_name " +
13761 "NetworkActiveNotifier_jni.h " +
13762 "--output_name " +
13763 "NetworkChangeNotifier_jni.h " +
13764 "--output_name " +
13765 "ProxyChangeListener_jni.h " +
13766 "--output_name " +
13767 "X509Util_jni.h " +
13768 "--input_file " +
13769 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
13770 "--input_file " +
13771 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
13772 "--input_file " +
13773 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
13774 "--input_file " +
13775 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
13776 "--input_file " +
13777 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
13778 "--input_file " +
13779 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
13780 "--input_file " +
13781 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
13782 "--input_file " +
13783 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
13784 "--input_file " +
13785 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
13786 "--input_file " +
13787 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
13788 "--input_file " +
13789 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
13790 "--input_file " +
13791 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
13792 "--input_file " +
13793 "$(location net/android/java/src/org/chromium/net/X509Util.java) " +
13794 "--package_prefix " +
13795 "android.net.http.internal",
13796 out: [
13797 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
13798 "net/net_jni_headers/AndroidKeyStore_jni.h",
13799 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
13800 "net/net_jni_headers/AndroidTrafficStats_jni.h",
13801 "net/net_jni_headers/DnsStatus_jni.h",
13802 "net/net_jni_headers/GURLUtils_jni.h",
13803 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
13804 "net/net_jni_headers/HttpUtil_jni.h",
13805 "net/net_jni_headers/NetStringUtil_jni.h",
13806 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
13807 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
13808 "net/net_jni_headers/ProxyChangeListener_jni.h",
13809 "net/net_jni_headers/X509Util_jni.h",
13810 ],
13811 tool_files: [
13812 "base/android/jni_generator/android_jar.classes",
13813 "base/android/jni_generator/jni_generator.py",
13814 "build/android/gyp/util/__init__.py",
13815 "build/android/gyp/util/build_utils.py",
13816 "build/gn_helpers.py",
13817 ],
13818 apex_available: [
13819 "com.android.tethering",
13820 ],
13821}
13822
13823// GN: //net:net_nqe_proto__testing
13824cc_genrule {
13825 name: "cronet_aml_net_net_nqe_proto__testing_gen",
13826 srcs: [
13827 "net/nqe/proto/network_id_proto.proto",
13828 ],
13829 tools: [
13830 "cronet_aml_third_party_protobuf_protoc",
13831 ],
13832 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)",
13833 out: [
13834 "external/cronet/net/nqe/proto/network_id_proto.pb.cc",
13835 ],
13836 apex_available: [
13837 "com.android.tethering",
13838 ],
13839}
13840
13841// GN: //net:net_nqe_proto__testing
13842cc_genrule {
13843 name: "cronet_aml_net_net_nqe_proto__testing_gen_headers",
13844 srcs: [
13845 "net/nqe/proto/network_id_proto.proto",
13846 ],
13847 tools: [
13848 "cronet_aml_third_party_protobuf_protoc",
13849 ],
13850 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)",
13851 out: [
13852 "external/cronet/net/nqe/proto/network_id_proto.pb.h",
13853 ],
13854 export_include_dirs: [
13855 ".",
13856 "net/nqe/proto",
13857 "protos",
13858 ],
13859 apex_available: [
13860 "com.android.tethering",
13861 ],
13862}
13863
Patrick Rohrcb035942022-11-01 12:12:52 -070013864// GN: //net:net_nqe_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013865cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070013866 name: "cronet_aml_net_net_nqe_proto_gen",
13867 srcs: [
13868 "net/nqe/proto/network_id_proto.proto",
13869 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090013870 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090013871 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090013872 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090013873 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -070013874 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090013875 "external/cronet/net/nqe/proto/network_id_proto.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090013876 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090013877 apex_available: [
13878 "com.android.tethering",
13879 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090013880}
13881
Patrick Rohrc5980782022-11-07 16:34:03 -080013882// GN: //net:net_nqe_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013883cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090013884 name: "cronet_aml_net_net_nqe_proto_gen_headers",
13885 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090013886 "net/nqe/proto/network_id_proto.proto",
13887 ],
13888 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090013889 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090013890 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090013891 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/cronet/net/nqe/proto/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +090013892 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090013893 "external/cronet/net/nqe/proto/network_id_proto.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070013894 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080013895 export_include_dirs: [
13896 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080013897 "net/nqe/proto",
Patrick Rohrc5980782022-11-07 16:34:03 -080013898 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070013899 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090013900 apex_available: [
13901 "com.android.tethering",
13902 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070013903}
13904
13905// GN: //net:net_public_deps
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013906cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070013907 name: "cronet_aml_net_net_public_deps",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013908 srcs: [
13909 ":cronet_aml_net_net_nqe_proto_gen",
13910 ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
13911 ],
13912 shared_libs: [
13913 "libandroid",
13914 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013915 "libprotobuf-cpp-lite",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080013916 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013917 ],
13918 static_libs: [
13919 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
13920 "cronet_aml_base_base",
13921 "cronet_aml_base_base_static",
13922 "cronet_aml_base_third_party_double_conversion_double_conversion",
13923 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
13924 "cronet_aml_crypto_crypto",
13925 "cronet_aml_net_third_party_quiche_quiche",
13926 "cronet_aml_net_uri_template",
13927 "cronet_aml_third_party_boringssl_boringssl",
13928 "cronet_aml_third_party_icu_icui18n",
13929 "cronet_aml_third_party_icu_icuuc_private",
13930 "cronet_aml_third_party_libevent_libevent",
13931 "cronet_aml_third_party_modp_b64_modp_b64",
13932 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013933 "cronet_aml_url_url",
13934 ],
13935 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090013936 "cronet_aml_build_chromeos_buildflags",
13937 "cronet_aml_net_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013938 "cronet_aml_net_net_nqe_proto_gen_headers",
13939 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
13940 ],
13941 defaults: [
13942 "cronet_aml_defaults",
13943 ],
13944 cflags: [
13945 "-DANDROID",
13946 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090013947 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
13948 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013949 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013950 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13951 "-DGOOGLE_PROTOBUF_NO_RTTI",
13952 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13953 "-DHAVE_PTHREAD",
13954 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013955 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090013956 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013957 "-DNVALGRIND",
13958 "-DOFFICIAL_BUILD",
13959 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013960 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013961 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013962 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13963 "-D__STDC_CONSTANT_MACROS",
13964 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090013965 "-Oz",
13966 "-fdata-sections",
13967 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090013968 "-fno-asynchronous-unwind-tables",
13969 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090013970 "-fvisibility-inlines-hidden",
13971 "-fvisibility=hidden",
13972 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013973 ],
13974 local_include_dirs: [
13975 "./",
13976 "buildtools/third_party/libc++/",
13977 "buildtools/third_party/libc++/trunk/include",
13978 "buildtools/third_party/libc++abi/trunk/include",
13979 "net/third_party/quiche/overrides/",
13980 "net/third_party/quiche/src/",
13981 "net/third_party/quiche/src/quiche/common/platform/default/",
13982 "third_party/abseil-cpp/",
13983 "third_party/boringssl/src/include/",
13984 "third_party/protobuf/src/",
13985 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090013986 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090013987 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090013988 android_arm: {
13989 cflags: [
13990 "-fstack-protector",
13991 ],
13992 },
13993 android_arm64: {
13994 cflags: [
13995 "-fstack-protector",
13996 "-mno-outline",
13997 "-mno-outline-atomics",
13998 ],
13999 },
Motomu Utsumi55394632022-11-18 17:44:28 +090014000 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014001 cflags: [
14002 "-msse3",
14003 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090014004 },
14005 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014006 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090014007 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014008 "-msse3",
14009 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090014010 },
14011 },
Patrick Rohrcb035942022-11-01 12:12:52 -070014012}
14013
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014014// GN: //net:net_public_deps__testing
14015cc_object {
14016 name: "cronet_aml_net_net_public_deps__testing",
14017 srcs: [
14018 ":cronet_aml_net_net_nqe_proto__testing_gen",
14019 ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen",
14020 ],
14021 shared_libs: [
14022 "libandroid",
14023 "liblog",
14024 "libprotobuf-cpp-lite",
14025 "libz",
14026 ],
14027 static_libs: [
14028 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14029 "cronet_aml_base_base__testing",
14030 "cronet_aml_base_base_static__testing",
14031 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14032 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14033 "cronet_aml_crypto_crypto__testing",
14034 "cronet_aml_net_third_party_quiche_quiche__testing",
14035 "cronet_aml_net_uri_template__testing",
14036 "cronet_aml_third_party_boringssl_boringssl__testing",
14037 "cronet_aml_third_party_icu_icui18n__testing",
14038 "cronet_aml_third_party_icu_icuuc_private__testing",
14039 "cronet_aml_third_party_libevent_libevent__testing",
14040 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14041 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14042 "cronet_aml_url_url__testing",
14043 ],
14044 generated_headers: [
14045 "cronet_aml_build_chromeos_buildflags__testing",
14046 "cronet_aml_net_buildflags__testing",
14047 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
14048 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
14049 ],
14050 defaults: [
14051 "cronet_aml_defaults",
14052 ],
14053 cflags: [
14054 "-DANDROID",
14055 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14056 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14057 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14058 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14059 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14060 "-DGOOGLE_PROTOBUF_NO_RTTI",
14061 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14062 "-DHAVE_PTHREAD",
14063 "-DHAVE_SYS_UIO_H",
14064 "-DNDEBUG",
14065 "-DNO_UNWIND_TABLES",
14066 "-DNVALGRIND",
14067 "-DOFFICIAL_BUILD",
14068 "-D_FORTIFY_SOURCE=2",
14069 "-D_GNU_SOURCE",
14070 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14071 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14072 "-D__STDC_CONSTANT_MACROS",
14073 "-D__STDC_FORMAT_MACROS",
14074 "-Oz",
14075 "-fdata-sections",
14076 "-ffunction-sections",
14077 "-fno-asynchronous-unwind-tables",
14078 "-fno-unwind-tables",
14079 "-fvisibility-inlines-hidden",
14080 "-fvisibility=hidden",
14081 "-g1",
14082 ],
14083 local_include_dirs: [
14084 "./",
14085 "buildtools/third_party/libc++/",
14086 "buildtools/third_party/libc++/trunk/include",
14087 "buildtools/third_party/libc++abi/trunk/include",
14088 "net/third_party/quiche/overrides/",
14089 "net/third_party/quiche/src/",
14090 "net/third_party/quiche/src/quiche/common/platform/default/",
14091 "third_party/abseil-cpp/",
14092 "third_party/boringssl/src/include/",
14093 "third_party/protobuf/src/",
14094 ],
14095 cpp_std: "c++17",
14096 target: {
14097 android_arm: {
14098 cflags: [
14099 "-fstack-protector",
14100 ],
14101 },
14102 android_arm64: {
14103 cflags: [
14104 "-fstack-protector",
14105 "-mno-outline",
14106 "-mno-outline-atomics",
14107 ],
14108 },
14109 android_x86: {
14110 cflags: [
14111 "-msse3",
14112 ],
14113 },
14114 android_x86_64: {
14115 cflags: [
14116 "-fstack-protector",
14117 "-msse3",
14118 ],
14119 },
14120 },
14121}
14122
Patrick Rohrcb035942022-11-01 12:12:52 -070014123// GN: //net:preload_decoder
14124cc_library_static {
14125 name: "cronet_aml_net_preload_decoder",
14126 srcs: [
14127 "net/extras/preload_data/decoder.cc",
14128 ],
14129 shared_libs: [
14130 "libandroid",
14131 "liblog",
14132 ],
14133 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080014134 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070014135 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080014136 "cronet_aml_base_base_static",
14137 "cronet_aml_base_third_party_double_conversion_double_conversion",
14138 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090014139 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080014140 "cronet_aml_third_party_icu_icui18n",
14141 "cronet_aml_third_party_icu_icuuc_private",
14142 "cronet_aml_third_party_libevent_libevent",
14143 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070014144 ],
14145 defaults: [
14146 "cronet_aml_defaults",
14147 ],
14148 cflags: [
14149 "-DANDROID",
14150 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090014151 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14152 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090014153 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070014154 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090014155 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090014156 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090014157 "-DNVALGRIND",
14158 "-DOFFICIAL_BUILD",
14159 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070014160 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070014161 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070014162 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14163 "-D__STDC_CONSTANT_MACROS",
14164 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090014165 "-Oz",
14166 "-fdata-sections",
14167 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090014168 "-fno-asynchronous-unwind-tables",
14169 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090014170 "-fvisibility-inlines-hidden",
14171 "-fvisibility=hidden",
14172 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070014173 ],
14174 local_include_dirs: [
14175 "./",
14176 "buildtools/third_party/libc++/",
14177 "buildtools/third_party/libc++/trunk/include",
14178 "buildtools/third_party/libc++abi/trunk/include",
14179 "third_party/abseil-cpp/",
14180 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070014181 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090014182 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090014183 ldflags: [
14184 "-Wl,--as-needed",
14185 "-Wl,--gc-sections",
14186 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000014187 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000014188 "-Wl,-wrap,asprintf",
14189 "-Wl,-wrap,calloc",
14190 "-Wl,-wrap,free",
14191 "-Wl,-wrap,getcwd",
14192 "-Wl,-wrap,malloc",
14193 "-Wl,-wrap,malloc_usable_size",
14194 "-Wl,-wrap,memalign",
14195 "-Wl,-wrap,posix_memalign",
14196 "-Wl,-wrap,pvalloc",
14197 "-Wl,-wrap,realloc",
14198 "-Wl,-wrap,realpath",
14199 "-Wl,-wrap,strdup",
14200 "-Wl,-wrap,strndup",
14201 "-Wl,-wrap,valloc",
14202 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090014203 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014204 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090014205 android_arm: {
14206 cflags: [
14207 "-fstack-protector",
14208 ],
14209 },
14210 android_arm64: {
14211 cflags: [
14212 "-fstack-protector",
14213 "-mno-outline",
14214 "-mno-outline-atomics",
14215 ],
14216 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014217 android_x86: {
14218 cflags: [
14219 "-msse3",
14220 ],
14221 },
14222 android_x86_64: {
14223 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090014224 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014225 "-msse3",
14226 ],
14227 },
14228 },
Patrick Rohrcb035942022-11-01 12:12:52 -070014229}
14230
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014231// GN: //net:preload_decoder__testing
14232cc_library_static {
14233 name: "cronet_aml_net_preload_decoder__testing",
14234 srcs: [
14235 "net/extras/preload_data/decoder.cc",
14236 ],
14237 shared_libs: [
14238 "libandroid",
14239 "liblog",
14240 ],
14241 static_libs: [
14242 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14243 "cronet_aml_base_base__testing",
14244 "cronet_aml_base_base_static__testing",
14245 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14246 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14247 "cronet_aml_third_party_boringssl_boringssl__testing",
14248 "cronet_aml_third_party_icu_icui18n__testing",
14249 "cronet_aml_third_party_icu_icuuc_private__testing",
14250 "cronet_aml_third_party_libevent_libevent__testing",
14251 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14252 ],
14253 defaults: [
14254 "cronet_aml_defaults",
14255 ],
14256 cflags: [
14257 "-DANDROID",
14258 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14259 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14260 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14261 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14262 "-DHAVE_SYS_UIO_H",
14263 "-DNDEBUG",
14264 "-DNO_UNWIND_TABLES",
14265 "-DNVALGRIND",
14266 "-DOFFICIAL_BUILD",
14267 "-D_FORTIFY_SOURCE=2",
14268 "-D_GNU_SOURCE",
14269 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14270 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14271 "-D__STDC_CONSTANT_MACROS",
14272 "-D__STDC_FORMAT_MACROS",
14273 "-Oz",
14274 "-fdata-sections",
14275 "-ffunction-sections",
14276 "-fno-asynchronous-unwind-tables",
14277 "-fno-unwind-tables",
14278 "-fvisibility-inlines-hidden",
14279 "-fvisibility=hidden",
14280 "-g1",
14281 ],
14282 local_include_dirs: [
14283 "./",
14284 "buildtools/third_party/libc++/",
14285 "buildtools/third_party/libc++/trunk/include",
14286 "buildtools/third_party/libc++abi/trunk/include",
14287 "third_party/abseil-cpp/",
14288 "third_party/boringssl/src/include/",
14289 ],
14290 cpp_std: "c++17",
14291 ldflags: [
14292 "-Wl,--as-needed",
14293 "-Wl,--gc-sections",
14294 "-Wl,--icf=all",
14295 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
14296 "-Wl,-wrap,asprintf",
14297 "-Wl,-wrap,calloc",
14298 "-Wl,-wrap,free",
14299 "-Wl,-wrap,getcwd",
14300 "-Wl,-wrap,malloc",
14301 "-Wl,-wrap,malloc_usable_size",
14302 "-Wl,-wrap,memalign",
14303 "-Wl,-wrap,posix_memalign",
14304 "-Wl,-wrap,pvalloc",
14305 "-Wl,-wrap,realloc",
14306 "-Wl,-wrap,realpath",
14307 "-Wl,-wrap,strdup",
14308 "-Wl,-wrap,strndup",
14309 "-Wl,-wrap,valloc",
14310 "-Wl,-wrap,vasprintf",
14311 ],
14312 target: {
14313 android_arm: {
14314 cflags: [
14315 "-fstack-protector",
14316 ],
14317 },
14318 android_arm64: {
14319 cflags: [
14320 "-fstack-protector",
14321 "-mno-outline",
14322 "-mno-outline-atomics",
14323 ],
14324 },
14325 android_x86: {
14326 cflags: [
14327 "-msse3",
14328 ],
14329 },
14330 android_x86_64: {
14331 cflags: [
14332 "-fstack-protector",
14333 "-msse3",
14334 ],
14335 },
14336 },
14337}
14338
14339// GN: //net:quic_test_flags_utils__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014340cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014341 name: "cronet_aml_net_quic_test_flags_utils__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014342 srcs: [
14343 "net/quic/platform/impl/quic_test_flags_utils.cc",
14344 ],
14345 shared_libs: [
14346 "libandroid",
14347 "liblog",
14348 "libz",
14349 ],
14350 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014351 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14352 "cronet_aml_base_base__testing",
14353 "cronet_aml_base_base_static__testing",
14354 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14355 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14356 "cronet_aml_crypto_crypto__testing",
14357 "cronet_aml_net_net__testing",
14358 "cronet_aml_net_preload_decoder__testing",
14359 "cronet_aml_net_third_party_quiche_quiche__testing",
14360 "cronet_aml_net_uri_template__testing",
14361 "cronet_aml_third_party_boringssl_boringssl__testing",
14362 "cronet_aml_third_party_brotli_common__testing",
14363 "cronet_aml_third_party_brotli_dec__testing",
14364 "cronet_aml_third_party_icu_icui18n__testing",
14365 "cronet_aml_third_party_icu_icuuc_private__testing",
14366 "cronet_aml_third_party_libevent_libevent__testing",
14367 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14368 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14369 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014370 ],
14371 defaults: [
14372 "cronet_aml_defaults",
14373 ],
14374 cflags: [
14375 "-DANDROID",
14376 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14377 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14378 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14379 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14380 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14381 "-DGOOGLE_PROTOBUF_NO_RTTI",
14382 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14383 "-DHAVE_PTHREAD",
14384 "-DHAVE_SYS_UIO_H",
14385 "-DNDEBUG",
14386 "-DNO_UNWIND_TABLES",
14387 "-DNVALGRIND",
14388 "-DOFFICIAL_BUILD",
14389 "-D_FORTIFY_SOURCE=2",
14390 "-D_GNU_SOURCE",
14391 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14392 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14393 "-D__STDC_CONSTANT_MACROS",
14394 "-D__STDC_FORMAT_MACROS",
14395 "-Oz",
14396 "-fdata-sections",
14397 "-ffunction-sections",
14398 "-fno-asynchronous-unwind-tables",
14399 "-fno-unwind-tables",
14400 "-fvisibility-inlines-hidden",
14401 "-fvisibility=hidden",
14402 "-g1",
14403 ],
14404 local_include_dirs: [
14405 "./",
14406 "buildtools/third_party/libc++/",
14407 "buildtools/third_party/libc++/trunk/include",
14408 "buildtools/third_party/libc++abi/trunk/include",
14409 "net/third_party/quiche/overrides/",
14410 "net/third_party/quiche/src/",
14411 "net/third_party/quiche/src/quiche/common/platform/default/",
14412 "third_party/abseil-cpp/",
14413 "third_party/boringssl/src/include/",
14414 "third_party/protobuf/src/",
14415 ],
14416 cpp_std: "c++17",
14417 target: {
14418 android_arm: {
14419 cflags: [
14420 "-fstack-protector",
14421 ],
14422 },
14423 android_arm64: {
14424 cflags: [
14425 "-fstack-protector",
14426 "-mno-outline",
14427 "-mno-outline-atomics",
14428 ],
14429 },
14430 android_x86: {
14431 cflags: [
14432 "-msse3",
14433 ],
14434 },
14435 android_x86_64: {
14436 cflags: [
14437 "-fstack-protector",
14438 "-msse3",
14439 ],
14440 },
14441 },
14442}
14443
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014444// GN: //net:simple_quic_tools__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014445cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014446 name: "cronet_aml_net_simple_quic_tools__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014447 srcs: [
14448 "net/tools/quic/quic_client_message_loop_network_helper.cc",
14449 "net/tools/quic/quic_simple_client.cc",
14450 "net/tools/quic/quic_simple_server.cc",
14451 "net/tools/quic/quic_simple_server_packet_writer.cc",
14452 "net/tools/quic/quic_simple_server_session_helper.cc",
14453 "net/tools/quic/quic_simple_server_socket.cc",
14454 "net/tools/quic/synchronous_host_resolver.cc",
14455 ],
14456 shared_libs: [
14457 "libandroid",
14458 "liblog",
14459 "libz",
14460 ],
14461 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014462 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14463 "cronet_aml_base_base__testing",
14464 "cronet_aml_base_base_static__testing",
14465 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14466 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14467 "cronet_aml_crypto_crypto__testing",
14468 "cronet_aml_net_net__testing",
14469 "cronet_aml_net_preload_decoder__testing",
14470 "cronet_aml_net_third_party_quiche_quiche__testing",
14471 "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
14472 "cronet_aml_net_uri_template__testing",
14473 "cronet_aml_third_party_boringssl_boringssl__testing",
14474 "cronet_aml_third_party_brotli_common__testing",
14475 "cronet_aml_third_party_brotli_dec__testing",
14476 "cronet_aml_third_party_icu_icui18n__testing",
14477 "cronet_aml_third_party_icu_icuuc_private__testing",
14478 "cronet_aml_third_party_libevent_libevent__testing",
14479 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14480 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14481 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014482 ],
14483 defaults: [
14484 "cronet_aml_defaults",
14485 ],
14486 cflags: [
14487 "-DANDROID",
14488 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14489 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14490 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14491 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14492 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14493 "-DGOOGLE_PROTOBUF_NO_RTTI",
14494 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14495 "-DHAVE_PTHREAD",
14496 "-DHAVE_SYS_UIO_H",
14497 "-DNDEBUG",
14498 "-DNO_UNWIND_TABLES",
14499 "-DNVALGRIND",
14500 "-DOFFICIAL_BUILD",
14501 "-D_FORTIFY_SOURCE=2",
14502 "-D_GNU_SOURCE",
14503 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14504 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14505 "-D__STDC_CONSTANT_MACROS",
14506 "-D__STDC_FORMAT_MACROS",
14507 "-Oz",
14508 "-fdata-sections",
14509 "-ffunction-sections",
14510 "-fno-asynchronous-unwind-tables",
14511 "-fno-unwind-tables",
14512 "-fvisibility-inlines-hidden",
14513 "-fvisibility=hidden",
14514 "-g1",
14515 ],
14516 local_include_dirs: [
14517 "./",
14518 "buildtools/third_party/libc++/",
14519 "buildtools/third_party/libc++/trunk/include",
14520 "buildtools/third_party/libc++abi/trunk/include",
14521 "net/third_party/quiche/overrides/",
14522 "net/third_party/quiche/src/",
14523 "net/third_party/quiche/src/quiche/common/platform/default/",
14524 "third_party/abseil-cpp/",
14525 "third_party/boringssl/src/include/",
14526 "third_party/protobuf/src/",
14527 ],
14528 cpp_std: "c++17",
14529 target: {
14530 android_arm: {
14531 cflags: [
14532 "-fstack-protector",
14533 ],
14534 },
14535 android_arm64: {
14536 cflags: [
14537 "-fstack-protector",
14538 "-mno-outline",
14539 "-mno-outline-atomics",
14540 ],
14541 },
14542 android_x86: {
14543 cflags: [
14544 "-msse3",
14545 ],
14546 },
14547 android_x86_64: {
14548 cflags: [
14549 "-fstack-protector",
14550 "-msse3",
14551 ],
14552 },
14553 },
14554}
14555
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014556// GN: //net:test_support__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014557cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014558 name: "cronet_aml_net_test_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014559 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014560 ":cronet_aml_net_dns_test_support__testing",
14561 ":cronet_aml_net_quic_test_flags_utils__testing",
14562 ":cronet_aml_net_simple_quic_tools__testing",
14563 ":cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing",
14564 ":cronet_aml_net_traffic_annotation_traffic_annotation__testing",
14565 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
14566 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
14567 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
14568 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
14569 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
14570 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
14571 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
14572 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
14573 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
14574 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
14575 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
14576 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
14577 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
14578 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
14579 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
14580 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
14581 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
14582 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
14583 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
14584 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
14585 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
14586 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
14587 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
14588 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
14589 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
14590 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
14591 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
14592 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
14593 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
14594 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
14595 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
14596 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
14597 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
14598 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
14599 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
14600 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
14601 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
14602 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
14603 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
14604 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
14605 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
14606 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
14607 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
14608 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
14609 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
14610 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
14611 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
14612 ":cronet_aml_third_party_googletest_gmock__testing",
14613 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014614 "net/base/connection_endpoint_metadata_test_util.cc",
14615 "net/base/load_timing_info_test_util.cc",
14616 "net/base/mock_file_stream.cc",
14617 "net/base/mock_network_change_notifier.cc",
14618 "net/base/test_completion_callback.cc",
14619 "net/base/test_data_stream.cc",
14620 "net/cert/mock_cert_net_fetcher.cc",
14621 "net/cert/mock_cert_verifier.cc",
14622 "net/cert/mock_client_cert_verifier.cc",
14623 "net/cookies/cookie_change_dispatcher_test_helpers.cc",
14624 "net/cookies/cookie_monster_store_test.cc",
14625 "net/cookies/cookie_store_test_callbacks.cc",
14626 "net/cookies/cookie_store_test_helpers.cc",
14627 "net/cookies/test_cookie_access_delegate.cc",
14628 "net/disk_cache/disk_cache_test_base.cc",
14629 "net/disk_cache/disk_cache_test_util.cc",
14630 "net/disk_cache/mock/mock_backend_impl.cc",
14631 "net/disk_cache/mock/mock_entry_impl.cc",
14632 "net/filter/filter_source_stream_test_util.cc",
14633 "net/filter/mock_source_stream.cc",
14634 "net/http/http_stream_factory_test_util.cc",
14635 "net/http/http_transaction_test_util.cc",
14636 "net/http/mock_http_cache.cc",
14637 "net/http/transport_security_state_test_util.cc",
14638 "net/log/test_net_log.cc",
14639 "net/log/test_net_log_util.cc",
14640 "net/network_error_logging/mock_persistent_nel_store.cc",
14641 "net/network_error_logging/network_error_logging_test_util.cc",
14642 "net/nqe/network_quality_estimator_test_util.cc",
14643 "net/proxy_resolution/mock_pac_file_fetcher.cc",
14644 "net/proxy_resolution/mock_proxy_resolver.cc",
14645 "net/proxy_resolution/proxy_config_service_common_unittest.cc",
14646 "net/quic/quic_test_packet_printer.cc",
14647 "net/reporting/mock_persistent_reporting_store.cc",
14648 "net/reporting/reporting_test_util.cc",
14649 "net/socket/read_buffering_stream_socket.cc",
14650 "net/socket/socket_test_util.cc",
14651 "net/socket/transport_client_socket_test_util.cc",
14652 "net/spdy/spdy_test_util_common.cc",
14653 "net/ssl/client_cert_identity_test_util.cc",
14654 "net/ssl/ssl_private_key_test_util.cc",
14655 "net/ssl/test_ssl_config_service.cc",
14656 "net/ssl/test_ssl_private_key.cc",
14657 "net/test/cert_builder.cc",
14658 "net/test/cert_test_util.cc",
14659 "net/test/ct_test_util.cc",
14660 "net/test/embedded_test_server/connection_tracker.cc",
14661 "net/test/embedded_test_server/controllable_http_response.cc",
14662 "net/test/embedded_test_server/default_handlers.cc",
14663 "net/test/embedded_test_server/embedded_test_server.cc",
14664 "net/test/embedded_test_server/embedded_test_server_connection_listener.cc",
14665 "net/test/embedded_test_server/http1_connection.cc",
14666 "net/test/embedded_test_server/http2_connection.cc",
14667 "net/test/embedded_test_server/http_connection.cc",
14668 "net/test/embedded_test_server/http_request.cc",
14669 "net/test/embedded_test_server/http_response.cc",
14670 "net/test/embedded_test_server/request_handler_util.cc",
14671 "net/test/embedded_test_server/simple_connection_listener.cc",
14672 "net/test/key_util.cc",
14673 "net/test/net_test_suite.cc",
14674 "net/test/quic_simple_test_server.cc",
14675 "net/test/revocation_builder.cc",
14676 "net/test/spawned_test_server/base_test_server.cc",
14677 "net/test/spawned_test_server/remote_test_server.cc",
14678 "net/test/spawned_test_server/remote_test_server_spawner_request.cc",
14679 "net/test/ssl_test_util.cc",
14680 "net/test/test_connection_cost_observer.cc",
14681 "net/test/test_data_directory.cc",
14682 "net/test/test_doh_server.cc",
14683 "net/test/url_request/ssl_certificate_error_job.cc",
14684 "net/test/url_request/url_request_failed_job.cc",
14685 "net/test/url_request/url_request_hanging_read_job.cc",
14686 "net/test/url_request/url_request_mock_data_job.cc",
14687 "net/url_request/url_request_test_job.cc",
14688 "net/url_request/url_request_test_util.cc",
14689 ],
14690 shared_libs: [
14691 "libandroid",
14692 "liblog",
14693 "libz",
14694 ],
14695 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014696 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14697 "cronet_aml_base_base__testing",
14698 "cronet_aml_base_base_static__testing",
14699 "cronet_aml_base_i18n__testing",
14700 "cronet_aml_base_test_test_config__testing",
14701 "cronet_aml_base_test_test_support__testing",
14702 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14703 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14704 "cronet_aml_crypto_crypto__testing",
14705 "cronet_aml_net_gtest_util__testing",
14706 "cronet_aml_net_net__testing",
14707 "cronet_aml_net_preload_decoder__testing",
14708 "cronet_aml_net_third_party_quiche_quiche__testing",
14709 "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
14710 "cronet_aml_net_uri_template__testing",
14711 "cronet_aml_testing_gtest_gtest__testing",
14712 "cronet_aml_third_party_boringssl_boringssl__testing",
14713 "cronet_aml_third_party_brotli_common__testing",
14714 "cronet_aml_third_party_brotli_dec__testing",
14715 "cronet_aml_third_party_ced_ced__testing",
14716 "cronet_aml_third_party_icu_icui18n__testing",
14717 "cronet_aml_third_party_icu_icuuc_private__testing",
14718 "cronet_aml_third_party_libevent_libevent__testing",
14719 "cronet_aml_third_party_libxml_libxml__testing",
14720 "cronet_aml_third_party_libxml_libxml_utils__testing",
14721 "cronet_aml_third_party_libxml_xml_reader__testing",
14722 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14723 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14724 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014725 ],
14726 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014727 "cronet_aml_build_chromeos_buildflags__testing",
14728 "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014729 ],
14730 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014731 "cronet_aml_build_chromeos_buildflags__testing",
14732 "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014733 ],
14734 defaults: [
14735 "cronet_aml_defaults",
14736 ],
14737 cflags: [
14738 "-DANDROID",
14739 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14740 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14741 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14742 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14743 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14744 "-DGOOGLE_PROTOBUF_NO_RTTI",
14745 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14746 "-DGTEST_API_=",
14747 "-DGTEST_HAS_ABSL=1",
14748 "-DGTEST_HAS_POSIX_RE=0",
14749 "-DGTEST_HAS_TR1_TUPLE=0",
14750 "-DGTEST_LANG_CXX11=1",
14751 "-DHAVE_PTHREAD",
14752 "-DHAVE_SYS_UIO_H",
14753 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
14754 "-DNDEBUG",
14755 "-DNO_UNWIND_TABLES",
14756 "-DNVALGRIND",
14757 "-DOFFICIAL_BUILD",
14758 "-DUNIT_TEST",
14759 "-DUSE_CHROMIUM_ICU=1",
14760 "-DUSE_REMOTE_TEST_SERVER",
14761 "-DU_ENABLE_DYLOAD=0",
14762 "-DU_ENABLE_RESOURCE_TRACING=0",
14763 "-DU_ENABLE_TRACING=1",
14764 "-DU_STATIC_IMPLEMENTATION",
14765 "-DU_USING_ICU_NAMESPACE=0",
14766 "-D_FORTIFY_SOURCE=2",
14767 "-D_GNU_SOURCE",
14768 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14769 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14770 "-D__STDC_CONSTANT_MACROS",
14771 "-D__STDC_FORMAT_MACROS",
14772 "-Oz",
14773 "-fdata-sections",
14774 "-ffunction-sections",
14775 "-fno-asynchronous-unwind-tables",
14776 "-fno-unwind-tables",
14777 "-fvisibility-inlines-hidden",
14778 "-fvisibility=hidden",
14779 "-g1",
14780 ],
14781 local_include_dirs: [
14782 "./",
14783 "buildtools/third_party/libc++/",
14784 "buildtools/third_party/libc++/trunk/include",
14785 "buildtools/third_party/libc++abi/trunk/include",
14786 "net/third_party/quiche/overrides/",
14787 "net/third_party/quiche/src/",
14788 "net/third_party/quiche/src/quiche/common/platform/default/",
14789 "third_party/abseil-cpp/",
14790 "third_party/boringssl/src/include/",
14791 "third_party/ced/src/",
14792 "third_party/googletest/custom/",
14793 "third_party/googletest/src/googlemock/include/",
14794 "third_party/googletest/src/googletest/include/",
14795 "third_party/icu/source/common/",
14796 "third_party/icu/source/i18n/",
14797 "third_party/protobuf/src/",
14798 ],
14799 cpp_std: "c++17",
14800 ldflags: [
14801 "-Wl,--as-needed",
14802 "-Wl,--gc-sections",
14803 "-Wl,--icf=all",
14804 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
14805 "-Wl,-wrap,asprintf",
14806 "-Wl,-wrap,calloc",
14807 "-Wl,-wrap,free",
14808 "-Wl,-wrap,getcwd",
14809 "-Wl,-wrap,malloc",
14810 "-Wl,-wrap,malloc_usable_size",
14811 "-Wl,-wrap,memalign",
14812 "-Wl,-wrap,posix_memalign",
14813 "-Wl,-wrap,pvalloc",
14814 "-Wl,-wrap,realloc",
14815 "-Wl,-wrap,realpath",
14816 "-Wl,-wrap,strdup",
14817 "-Wl,-wrap,strndup",
14818 "-Wl,-wrap,valloc",
14819 "-Wl,-wrap,vasprintf",
14820 ],
14821 target: {
14822 android_arm: {
14823 cflags: [
14824 "-fstack-protector",
14825 ],
14826 },
14827 android_arm64: {
14828 cflags: [
14829 "-fstack-protector",
14830 "-mno-outline",
14831 "-mno-outline-atomics",
14832 ],
14833 },
14834 android_x86: {
14835 cflags: [
14836 "-msse3",
14837 ],
14838 },
14839 android_x86_64: {
14840 cflags: [
14841 "-fstack-protector",
14842 "-msse3",
14843 ],
14844 },
14845 },
14846}
14847
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014848// GN: //net/third_party/quiche:net_quic_proto__testing
14849cc_genrule {
14850 name: "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen",
14851 srcs: [
14852 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
14853 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
14854 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
14855 ],
14856 tools: [
14857 "cronet_aml_third_party_protobuf_protoc",
14858 ],
14859 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
14860 out: [
14861 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
14862 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
14863 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
14864 ],
14865 apex_available: [
14866 "com.android.tethering",
14867 ],
14868}
14869
14870// GN: //net/third_party/quiche:net_quic_proto__testing
14871cc_genrule {
14872 name: "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers",
14873 srcs: [
14874 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
14875 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
14876 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
14877 ],
14878 tools: [
14879 "cronet_aml_third_party_protobuf_protoc",
14880 ],
14881 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
14882 out: [
14883 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
14884 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
14885 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
14886 ],
14887 export_include_dirs: [
14888 ".",
14889 "net/third_party/quiche/src",
14890 "protos",
14891 ],
14892 apex_available: [
14893 "com.android.tethering",
14894 ],
14895}
14896
Patrick Rohrcb035942022-11-01 12:12:52 -070014897// GN: //net/third_party/quiche:net_quic_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000014898cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070014899 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen",
14900 srcs: [
14901 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
14902 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
14903 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
14904 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090014905 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090014906 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090014907 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014908 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -070014909 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014910 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
14911 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
14912 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090014913 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090014914 apex_available: [
14915 "com.android.tethering",
14916 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090014917}
14918
Patrick Rohrc5980782022-11-07 16:34:03 -080014919// GN: //net/third_party/quiche:net_quic_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000014920cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090014921 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
14922 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090014923 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
14924 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
14925 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
14926 ],
14927 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090014928 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090014929 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014930 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +090014931 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014932 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
14933 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
14934 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070014935 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080014936 export_include_dirs: [
14937 ".",
Mohannad Farrage558ead2022-11-08 18:44:04 +000014938 "net/third_party/quiche/src",
Patrick Rohrc5980782022-11-07 16:34:03 -080014939 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070014940 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090014941 apex_available: [
14942 "com.android.tethering",
14943 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070014944}
14945
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014946// GN: //net/third_party/quiche:net_quic_test_tools_proto__testing
14947cc_genrule {
14948 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen",
14949 srcs: [
14950 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
14951 ],
14952 tools: [
14953 "cronet_aml_third_party_protobuf_protoc",
14954 ],
14955 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
14956 out: [
14957 "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc",
14958 ],
14959 apex_available: [
14960 "com.android.tethering",
14961 ],
14962}
14963
14964// GN: //net/third_party/quiche:net_quic_test_tools_proto__testing
14965cc_genrule {
14966 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
14967 srcs: [
14968 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
14969 ],
14970 tools: [
14971 "cronet_aml_third_party_protobuf_protoc",
14972 ],
14973 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
14974 out: [
14975 "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h",
14976 ],
14977 export_include_dirs: [
14978 ".",
14979 "net/third_party/quiche/src/quiche/quic/test_tools",
14980 "protos",
14981 ],
14982 apex_available: [
14983 "com.android.tethering",
14984 ],
14985}
14986
Patrick Rohrcb035942022-11-01 12:12:52 -070014987// GN: //net/third_party/quiche:net_quic_test_tools_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000014988cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070014989 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
14990 srcs: [
14991 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
14992 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090014993 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090014994 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090014995 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014996 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -070014997 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014998 "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090014999 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090015000 apex_available: [
15001 "com.android.tethering",
15002 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090015003}
15004
Patrick Rohrc5980782022-11-07 16:34:03 -080015005// GN: //net/third_party/quiche:net_quic_test_tools_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000015006cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090015007 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
15008 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090015009 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
15010 ],
15011 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090015012 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090015013 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090015014 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +090015015 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090015016 "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070015017 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080015018 export_include_dirs: [
15019 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080015020 "net/third_party/quiche/src/quiche/quic/test_tools",
Patrick Rohrc5980782022-11-07 16:34:03 -080015021 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070015022 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090015023 apex_available: [
15024 "com.android.tethering",
15025 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070015026}
15027
15028// GN: //net/third_party/quiche:quiche
15029cc_library_static {
15030 name: "cronet_aml_net_third_party_quiche_quiche",
15031 srcs: [
Patrick Rohrc5980782022-11-07 16:34:03 -080015032 ":cronet_aml_net_third_party_quiche_net_quic_proto_gen",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015033 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
15034 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
15035 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
15036 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
15037 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
15038 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
15039 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
15040 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
15041 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
15042 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
15043 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
15044 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
15045 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
15046 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
15047 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
15048 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
15049 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
15050 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
15051 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
15052 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
15053 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
15054 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
15055 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
15056 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
15057 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
15058 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
15059 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
15060 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
15061 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
15062 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
15063 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
15064 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
15065 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
15066 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
15067 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
15068 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
15069 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
15070 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
15071 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
15072 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
15073 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
15074 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
15075 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
15076 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
15077 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
15078 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
15079 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Patrick Rohrcb035942022-11-01 12:12:52 -070015080 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
15081 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
15082 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
15083 "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
15084 "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
15085 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
15086 "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
15087 "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
15088 "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
15089 "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
15090 "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
15091 "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
15092 "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
15093 "net/third_party/quiche/src/quiche/common/quiche_random.cc",
15094 "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
15095 "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
15096 "net/third_party/quiche/src/quiche/common/structured_headers.cc",
15097 "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
15098 "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
15099 "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
15100 "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
15101 "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
15102 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
15103 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
15104 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
15105 "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
15106 "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
15107 "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
15108 "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
15109 "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
15110 "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
15111 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
15112 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
15113 "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
15114 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
15115 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
15116 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
15117 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
15118 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
15119 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
15120 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
15121 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
15122 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
15123 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
15124 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
15125 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
15126 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
15127 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
15128 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
15129 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
15130 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
15131 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
15132 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
15133 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
15134 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
15135 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
15136 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
15137 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
15138 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
15139 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
15140 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
15141 "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
15142 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
15143 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
15144 "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
15145 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
15146 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
15147 "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
15148 "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
15149 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
15150 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
15151 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
15152 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
15153 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
15154 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
15155 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
15156 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
15157 "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
15158 "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
15159 "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
15160 "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
15161 "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
15162 "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
15163 "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
15164 "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
15165 "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
15166 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
15167 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
15168 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
15169 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
15170 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
15171 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
15172 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
15173 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
15174 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
15175 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
15176 "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
15177 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
15178 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
15179 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
15180 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
15181 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
15182 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
15183 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
15184 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
15185 "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
15186 "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
15187 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
15188 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
15189 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
15190 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
15191 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
15192 "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
15193 "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
15194 "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
15195 "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
15196 "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
15197 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
15198 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
15199 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
15200 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
15201 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
15202 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
15203 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
15204 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
15205 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
15206 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
15207 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
15208 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
15209 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
15210 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
15211 "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
15212 "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
15213 "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
15214 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
15215 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
15216 "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
15217 "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
15218 "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
15219 "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
15220 "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
15221 "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
15222 "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
15223 "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
15224 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
15225 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
15226 "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
15227 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
15228 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
15229 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
15230 "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
15231 "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
15232 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
15233 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
15234 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
15235 "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
15236 "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
15237 "net/third_party/quiche/src/quiche/quic/core/http/capsule.cc",
15238 "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
15239 "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
15240 "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
15241 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc",
15242 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc",
15243 "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
15244 "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
15245 "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
15246 "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
15247 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
15248 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
15249 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
15250 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
15251 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
15252 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
15253 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
15254 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
15255 "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc",
15256 "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
15257 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
15258 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
15259 "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
15260 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
15261 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
15262 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
15263 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
15264 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
15265 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
15266 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
15267 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
15268 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
15269 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
15270 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
15271 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
15272 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
15273 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
15274 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
15275 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
15276 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
15277 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
15278 "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
15279 "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
15280 "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
15281 "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
15282 "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
15283 "net/third_party/quiche/src/quiche/quic/core/quic_clock.cc",
15284 "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
15285 "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
15286 "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
15287 "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
15288 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
15289 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
15290 "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
15291 "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
15292 "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
15293 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
15294 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
15295 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
15296 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
15297 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
15298 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
15299 "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
15300 "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
15301 "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
15302 "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
15303 "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
15304 "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
15305 "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090015306 "net/third_party/quiche/src/quiche/quic/core/quic_legacy_version_encapsulator.cc",
Patrick Rohrcb035942022-11-01 12:12:52 -070015307 "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
15308 "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
15309 "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
15310 "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
15311 "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
15312 "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
15313 "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
15314 "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
15315 "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
15316 "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
15317 "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
15318 "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
15319 "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
15320 "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
15321 "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
15322 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
15323 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
15324 "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
15325 "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
15326 "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
15327 "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
15328 "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
15329 "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
15330 "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
15331 "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
15332 "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
15333 "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
15334 "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
15335 "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
15336 "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
15337 "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
15338 "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
15339 "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
15340 "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
15341 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
15342 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
15343 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
15344 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
15345 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
15346 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
15347 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
15348 "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
15349 "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc",
15350 "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc",
15351 "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
15352 "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
15353 "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
15354 "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
15355 "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
15356 "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc",
15357 "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc",
15358 "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
15359 "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc",
15360 ],
15361 shared_libs: [
15362 "libandroid",
15363 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000015364 "libprotobuf-cpp-lite",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080015365 "libz",
Patrick Rohrcb035942022-11-01 12:12:52 -070015366 ],
15367 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080015368 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070015369 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080015370 "cronet_aml_base_base_static",
15371 "cronet_aml_base_third_party_double_conversion_double_conversion",
15372 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Patrick Rohrcb035942022-11-01 12:12:52 -070015373 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090015374 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080015375 "cronet_aml_third_party_icu_icui18n",
15376 "cronet_aml_third_party_icu_icuuc_private",
15377 "cronet_aml_third_party_libevent_libevent",
15378 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090015379 "cronet_aml_third_party_protobuf_protobuf_lite",
Patrick Rohrcb035942022-11-01 12:12:52 -070015380 "cronet_aml_url_url",
15381 ],
15382 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090015383 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -080015384 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070015385 ],
15386 export_generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090015387 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -080015388 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070015389 ],
15390 defaults: [
15391 "cronet_aml_defaults",
15392 ],
15393 cflags: [
Patrick Rohrcb035942022-11-01 12:12:52 -070015394 "-DANDROID",
15395 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090015396 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
15397 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090015398 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070015399 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15400 "-DGOOGLE_PROTOBUF_NO_RTTI",
15401 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15402 "-DHAVE_PTHREAD",
15403 "-DHAVE_SYS_UIO_H",
15404 "-DIS_QUICHE_IMPL",
Motomu Utsumic525cb72023-01-27 13:25:41 +090015405 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090015406 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090015407 "-DNVALGRIND",
15408 "-DOFFICIAL_BUILD",
15409 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070015410 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070015411 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070015412 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
15413 "-D__STDC_CONSTANT_MACROS",
15414 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090015415 "-Oz",
15416 "-fdata-sections",
15417 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090015418 "-fno-asynchronous-unwind-tables",
15419 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090015420 "-fvisibility-inlines-hidden",
15421 "-fvisibility=hidden",
15422 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070015423 ],
15424 local_include_dirs: [
15425 "./",
15426 "buildtools/third_party/libc++/",
15427 "buildtools/third_party/libc++/trunk/include",
15428 "buildtools/third_party/libc++abi/trunk/include",
15429 "net/third_party/quiche/overrides/",
15430 "net/third_party/quiche/src/",
15431 "net/third_party/quiche/src/quiche/common/platform/default/",
15432 "third_party/abseil-cpp/",
15433 "third_party/boringssl/src/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090015434 "third_party/protobuf/src/",
Patrick Rohrcb035942022-11-01 12:12:52 -070015435 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090015436 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090015437 ldflags: [
15438 "-Wl,--as-needed",
15439 "-Wl,--gc-sections",
15440 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000015441 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000015442 "-Wl,-wrap,asprintf",
15443 "-Wl,-wrap,calloc",
15444 "-Wl,-wrap,free",
15445 "-Wl,-wrap,getcwd",
15446 "-Wl,-wrap,malloc",
15447 "-Wl,-wrap,malloc_usable_size",
15448 "-Wl,-wrap,memalign",
15449 "-Wl,-wrap,posix_memalign",
15450 "-Wl,-wrap,pvalloc",
15451 "-Wl,-wrap,realloc",
15452 "-Wl,-wrap,realpath",
15453 "-Wl,-wrap,strdup",
15454 "-Wl,-wrap,strndup",
15455 "-Wl,-wrap,valloc",
15456 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090015457 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000015458 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090015459 android_arm: {
15460 cflags: [
15461 "-fstack-protector",
15462 ],
15463 },
15464 android_arm64: {
15465 cflags: [
15466 "-fstack-protector",
15467 "-mno-outline",
15468 "-mno-outline-atomics",
15469 ],
15470 },
Mohannad Farrag631443e2022-11-21 16:17:01 +000015471 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015472 cflags: [
15473 "-msse3",
15474 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000015475 },
15476 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015477 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090015478 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015479 "-msse3",
15480 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000015481 },
15482 },
Patrick Rohrcb035942022-11-01 12:12:52 -070015483}
15484
Mohannad Farragedb2fd02023-02-10 14:53:41 +000015485// GN: //net/third_party/quiche:quiche__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000015486cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000015487 name: "cronet_aml_net_third_party_quiche_quiche__testing",
15488 srcs: [
15489 ":cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen",
15490 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
15491 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
15492 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
15493 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
15494 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
15495 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
15496 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
15497 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
15498 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
15499 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
15500 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
15501 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
15502 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
15503 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
15504 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
15505 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
15506 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
15507 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
15508 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
15509 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
15510 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
15511 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
15512 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
15513 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
15514 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
15515 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
15516 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
15517 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
15518 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
15519 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
15520 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
15521 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
15522 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
15523 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
15524 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
15525 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
15526 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
15527 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
15528 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
15529 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
15530 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
15531 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
15532 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
15533 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
15534 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
15535 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
15536 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
15537 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
15538 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
15539 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
15540 "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
15541 "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
15542 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
15543 "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
15544 "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
15545 "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
15546 "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
15547 "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
15548 "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
15549 "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
15550 "net/third_party/quiche/src/quiche/common/quiche_random.cc",
15551 "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
15552 "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
15553 "net/third_party/quiche/src/quiche/common/structured_headers.cc",
15554 "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
15555 "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
15556 "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
15557 "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
15558 "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
15559 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
15560 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
15561 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
15562 "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
15563 "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
15564 "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
15565 "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
15566 "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
15567 "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
15568 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
15569 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
15570 "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
15571 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
15572 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
15573 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
15574 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
15575 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
15576 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
15577 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
15578 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
15579 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
15580 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
15581 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
15582 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
15583 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
15584 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
15585 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
15586 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
15587 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
15588 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
15589 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
15590 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
15591 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
15592 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
15593 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
15594 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
15595 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
15596 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
15597 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
15598 "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
15599 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
15600 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
15601 "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
15602 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
15603 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
15604 "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
15605 "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
15606 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
15607 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
15608 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
15609 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
15610 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
15611 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
15612 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
15613 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
15614 "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
15615 "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
15616 "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
15617 "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
15618 "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
15619 "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
15620 "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
15621 "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
15622 "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
15623 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
15624 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
15625 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
15626 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
15627 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
15628 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
15629 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
15630 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
15631 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
15632 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
15633 "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
15634 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
15635 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
15636 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
15637 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
15638 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
15639 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
15640 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
15641 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
15642 "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
15643 "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
15644 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
15645 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
15646 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
15647 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
15648 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
15649 "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
15650 "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
15651 "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
15652 "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
15653 "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
15654 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
15655 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
15656 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
15657 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
15658 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
15659 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
15660 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
15661 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
15662 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
15663 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
15664 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
15665 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
15666 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
15667 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
15668 "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
15669 "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
15670 "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
15671 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
15672 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
15673 "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
15674 "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
15675 "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
15676 "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
15677 "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
15678 "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
15679 "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
15680 "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
15681 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
15682 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
15683 "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
15684 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
15685 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
15686 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
15687 "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
15688 "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
15689 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
15690 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
15691 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
15692 "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
15693 "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
15694 "net/third_party/quiche/src/quiche/quic/core/http/capsule.cc",
15695 "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
15696 "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
15697 "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
15698 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc",
15699 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc",
15700 "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
15701 "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
15702 "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
15703 "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
15704 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
15705 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
15706 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
15707 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
15708 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
15709 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
15710 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
15711 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
15712 "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc",
15713 "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
15714 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
15715 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
15716 "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
15717 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
15718 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
15719 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
15720 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
15721 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
15722 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
15723 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
15724 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
15725 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
15726 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
15727 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
15728 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
15729 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
15730 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
15731 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
15732 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
15733 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
15734 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
15735 "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
15736 "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
15737 "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
15738 "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
15739 "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
15740 "net/third_party/quiche/src/quiche/quic/core/quic_clock.cc",
15741 "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
15742 "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
15743 "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
15744 "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
15745 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
15746 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
15747 "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
15748 "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
15749 "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
15750 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
15751 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
15752 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
15753 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
15754 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
15755 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
15756 "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
15757 "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
15758 "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
15759 "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
15760 "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
15761 "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
15762 "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
15763 "net/third_party/quiche/src/quiche/quic/core/quic_legacy_version_encapsulator.cc",
15764 "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
15765 "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
15766 "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
15767 "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
15768 "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
15769 "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
15770 "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
15771 "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
15772 "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
15773 "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
15774 "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
15775 "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
15776 "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
15777 "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
15778 "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
15779 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
15780 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
15781 "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
15782 "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
15783 "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
15784 "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
15785 "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
15786 "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
15787 "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
15788 "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
15789 "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
15790 "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
15791 "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
15792 "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
15793 "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
15794 "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
15795 "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
15796 "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
15797 "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
15798 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
15799 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
15800 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
15801 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
15802 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
15803 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
15804 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
15805 "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
15806 "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc",
15807 "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc",
15808 "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
15809 "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
15810 "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
15811 "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
15812 "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
15813 "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc",
15814 "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc",
15815 "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
15816 "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc",
15817 ],
15818 shared_libs: [
15819 "libandroid",
15820 "liblog",
15821 "libprotobuf-cpp-lite",
15822 "libz",
15823 ],
15824 static_libs: [
15825 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
15826 "cronet_aml_base_base__testing",
15827 "cronet_aml_base_base_static__testing",
15828 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
15829 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
15830 "cronet_aml_net_uri_template__testing",
15831 "cronet_aml_third_party_boringssl_boringssl__testing",
15832 "cronet_aml_third_party_icu_icui18n__testing",
15833 "cronet_aml_third_party_icu_icuuc_private__testing",
15834 "cronet_aml_third_party_libevent_libevent__testing",
15835 "cronet_aml_third_party_modp_b64_modp_b64__testing",
15836 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
15837 "cronet_aml_url_url__testing",
15838 ],
15839 generated_headers: [
15840 "cronet_aml_build_chromeos_buildflags__testing",
15841 "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers",
15842 ],
15843 export_generated_headers: [
15844 "cronet_aml_build_chromeos_buildflags__testing",
15845 "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers",
15846 ],
15847 defaults: [
15848 "cronet_aml_defaults",
15849 ],
15850 cflags: [
15851 "-DANDROID",
15852 "-DANDROID_NDK_VERSION_ROLL=r23_1",
15853 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
15854 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
15855 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
15856 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15857 "-DGOOGLE_PROTOBUF_NO_RTTI",
15858 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15859 "-DHAVE_PTHREAD",
15860 "-DHAVE_SYS_UIO_H",
15861 "-DIS_QUICHE_IMPL",
15862 "-DNDEBUG",
15863 "-DNO_UNWIND_TABLES",
15864 "-DNVALGRIND",
15865 "-DOFFICIAL_BUILD",
15866 "-D_FORTIFY_SOURCE=2",
15867 "-D_GNU_SOURCE",
15868 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15869 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
15870 "-D__STDC_CONSTANT_MACROS",
15871 "-D__STDC_FORMAT_MACROS",
15872 "-Oz",
15873 "-fdata-sections",
15874 "-ffunction-sections",
15875 "-fno-asynchronous-unwind-tables",
15876 "-fno-unwind-tables",
15877 "-fvisibility-inlines-hidden",
15878 "-fvisibility=hidden",
15879 "-g1",
15880 ],
15881 local_include_dirs: [
15882 "./",
15883 "buildtools/third_party/libc++/",
15884 "buildtools/third_party/libc++/trunk/include",
15885 "buildtools/third_party/libc++abi/trunk/include",
15886 "net/third_party/quiche/overrides/",
15887 "net/third_party/quiche/src/",
15888 "net/third_party/quiche/src/quiche/common/platform/default/",
15889 "third_party/abseil-cpp/",
15890 "third_party/boringssl/src/include/",
15891 "third_party/protobuf/src/",
15892 ],
15893 cpp_std: "c++17",
15894 ldflags: [
15895 "-Wl,--as-needed",
15896 "-Wl,--gc-sections",
15897 "-Wl,--icf=all",
15898 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
15899 "-Wl,-wrap,asprintf",
15900 "-Wl,-wrap,calloc",
15901 "-Wl,-wrap,free",
15902 "-Wl,-wrap,getcwd",
15903 "-Wl,-wrap,malloc",
15904 "-Wl,-wrap,malloc_usable_size",
15905 "-Wl,-wrap,memalign",
15906 "-Wl,-wrap,posix_memalign",
15907 "-Wl,-wrap,pvalloc",
15908 "-Wl,-wrap,realloc",
15909 "-Wl,-wrap,realpath",
15910 "-Wl,-wrap,strdup",
15911 "-Wl,-wrap,strndup",
15912 "-Wl,-wrap,valloc",
15913 "-Wl,-wrap,vasprintf",
15914 ],
15915 target: {
15916 android_arm: {
15917 cflags: [
15918 "-fstack-protector",
15919 ],
15920 },
15921 android_arm64: {
15922 cflags: [
15923 "-fstack-protector",
15924 "-mno-outline",
15925 "-mno-outline-atomics",
15926 ],
15927 },
15928 android_x86: {
15929 cflags: [
15930 "-msse3",
15931 ],
15932 },
15933 android_x86_64: {
15934 cflags: [
15935 "-fstack-protector",
15936 "-msse3",
15937 ],
15938 },
15939 },
15940}
15941
15942// GN: //net/third_party/quiche:quiche_tool_support__testing
15943cc_library_static {
15944 name: "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000015945 srcs: [
15946 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_command_line_flags_impl.cc",
15947 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_default_proof_providers_impl.cc",
15948 "net/third_party/quiche/src/quiche/common/platform/api/quiche_file_utils.cc",
15949 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_file_utils_impl.cc",
15950 "net/third_party/quiche/src/quiche/quic/core/chlo_extractor.cc",
15951 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_server_stream_base.cc",
15952 "net/third_party/quiche/src/quiche/quic/core/quic_buffered_packet_store.cc",
15953 "net/third_party/quiche/src/quiche/quic/core/quic_dispatcher.cc",
15954 "net/third_party/quiche/src/quiche/quic/core/quic_packet_writer_wrapper.cc",
15955 "net/third_party/quiche/src/quiche/quic/core/quic_time_wait_list_manager.cc",
15956 "net/third_party/quiche/src/quiche/quic/core/tls_chlo_extractor.cc",
15957 "net/third_party/quiche/src/quiche/quic/tools/quic_backend_response.cc",
15958 "net/third_party/quiche/src/quiche/quic/tools/quic_client_base.cc",
15959 "net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend.cc",
15960 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_client_session.cc",
15961 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_client_stream.cc",
15962 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_crypto_server_stream_helper.cc",
15963 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_dispatcher.cc",
15964 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_session.cc",
15965 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_stream.cc",
15966 "net/third_party/quiche/src/quiche/quic/tools/quic_spdy_client_base.cc",
15967 "net/third_party/quiche/src/quiche/quic/tools/quic_tcp_like_trace_converter.cc",
15968 "net/third_party/quiche/src/quiche/quic/tools/quic_url.cc",
15969 "net/third_party/quiche/src/quiche/quic/tools/simple_ticket_crypter.cc",
15970 ],
15971 shared_libs: [
15972 "libandroid",
15973 "liblog",
15974 "libz",
15975 ],
15976 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000015977 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
15978 "cronet_aml_base_base__testing",
15979 "cronet_aml_base_base_static__testing",
15980 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
15981 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
15982 "cronet_aml_crypto_crypto__testing",
15983 "cronet_aml_net_net__testing",
15984 "cronet_aml_net_preload_decoder__testing",
15985 "cronet_aml_net_third_party_quiche_quiche__testing",
15986 "cronet_aml_net_uri_template__testing",
15987 "cronet_aml_third_party_boringssl_boringssl__testing",
15988 "cronet_aml_third_party_brotli_common__testing",
15989 "cronet_aml_third_party_brotli_dec__testing",
15990 "cronet_aml_third_party_icu_icui18n__testing",
15991 "cronet_aml_third_party_icu_icuuc_private__testing",
15992 "cronet_aml_third_party_libevent_libevent__testing",
15993 "cronet_aml_third_party_modp_b64_modp_b64__testing",
15994 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
15995 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000015996 ],
15997 defaults: [
15998 "cronet_aml_defaults",
15999 ],
16000 cflags: [
16001 "-DANDROID",
16002 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16003 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16004 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16005 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16006 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
16007 "-DGOOGLE_PROTOBUF_NO_RTTI",
16008 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
16009 "-DHAVE_PTHREAD",
16010 "-DHAVE_SYS_UIO_H",
16011 "-DNDEBUG",
16012 "-DNO_UNWIND_TABLES",
16013 "-DNVALGRIND",
16014 "-DOFFICIAL_BUILD",
16015 "-D_FORTIFY_SOURCE=2",
16016 "-D_GNU_SOURCE",
16017 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16018 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16019 "-D__STDC_CONSTANT_MACROS",
16020 "-D__STDC_FORMAT_MACROS",
16021 "-Oz",
16022 "-fdata-sections",
16023 "-ffunction-sections",
16024 "-fno-asynchronous-unwind-tables",
16025 "-fno-unwind-tables",
16026 "-fvisibility-inlines-hidden",
16027 "-fvisibility=hidden",
16028 "-g1",
16029 ],
16030 local_include_dirs: [
16031 "./",
16032 "buildtools/third_party/libc++/",
16033 "buildtools/third_party/libc++/trunk/include",
16034 "buildtools/third_party/libc++abi/trunk/include",
16035 "net/third_party/quiche/overrides/",
16036 "net/third_party/quiche/src/",
16037 "net/third_party/quiche/src/quiche/common/platform/default/",
16038 "third_party/abseil-cpp/",
16039 "third_party/boringssl/src/include/",
16040 "third_party/protobuf/src/",
16041 ],
16042 cpp_std: "c++17",
16043 ldflags: [
16044 "-Wl,--as-needed",
16045 "-Wl,--gc-sections",
16046 "-Wl,--icf=all",
16047 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
16048 "-Wl,-wrap,asprintf",
16049 "-Wl,-wrap,calloc",
16050 "-Wl,-wrap,free",
16051 "-Wl,-wrap,getcwd",
16052 "-Wl,-wrap,malloc",
16053 "-Wl,-wrap,malloc_usable_size",
16054 "-Wl,-wrap,memalign",
16055 "-Wl,-wrap,posix_memalign",
16056 "-Wl,-wrap,pvalloc",
16057 "-Wl,-wrap,realloc",
16058 "-Wl,-wrap,realpath",
16059 "-Wl,-wrap,strdup",
16060 "-Wl,-wrap,strndup",
16061 "-Wl,-wrap,valloc",
16062 "-Wl,-wrap,vasprintf",
16063 ],
16064 target: {
16065 android_arm: {
16066 cflags: [
16067 "-fstack-protector",
16068 ],
16069 },
16070 android_arm64: {
16071 cflags: [
16072 "-fstack-protector",
16073 "-mno-outline",
16074 "-mno-outline-atomics",
16075 ],
16076 },
16077 android_x86: {
16078 cflags: [
16079 "-msse3",
16080 ],
16081 },
16082 android_x86_64: {
16083 cflags: [
16084 "-fstack-protector",
16085 "-msse3",
16086 ],
16087 },
16088 },
16089}
16090
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016091// GN: //net/tools/huffman_trie:huffman_trie_generator_sources__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016092cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016093 name: "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016094 srcs: [
16095 "net/tools/huffman_trie/bit_writer.cc",
16096 "net/tools/huffman_trie/huffman/huffman_builder.cc",
16097 "net/tools/huffman_trie/trie/trie_bit_buffer.cc",
16098 "net/tools/huffman_trie/trie/trie_writer.cc",
16099 "net/tools/huffman_trie/trie_entry.cc",
16100 ],
16101 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016102 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16103 "cronet_aml_base_base__testing",
16104 "cronet_aml_base_base_static__testing",
16105 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16106 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16107 "cronet_aml_base_third_party_symbolize_symbolize__testing",
16108 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
16109 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
16110 "cronet_aml_third_party_boringssl_boringssl__testing",
16111 "cronet_aml_third_party_icu_icui18n__testing",
16112 "cronet_aml_third_party_icu_icuuc_private__testing",
16113 "cronet_aml_third_party_libevent_libevent__testing",
16114 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016115 ],
16116 host_supported: true,
16117 device_supported: false,
16118 defaults: [
16119 "cronet_aml_defaults",
16120 ],
16121 cflags: [
16122 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16123 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16124 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
16125 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16126 "-DNDEBUG",
16127 "-DNO_UNWIND_TABLES",
16128 "-DNVALGRIND",
16129 "-DOFFICIAL_BUILD",
16130 "-DUSE_AURA=1",
16131 "-DUSE_OZONE=1",
16132 "-DUSE_UDEV",
16133 "-D_FILE_OFFSET_BITS=64",
16134 "-D_FORTIFY_SOURCE=2",
16135 "-D_GNU_SOURCE",
16136 "-D_LARGEFILE64_SOURCE",
16137 "-D_LARGEFILE_SOURCE",
16138 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16139 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16140 "-D__STDC_CONSTANT_MACROS",
16141 "-D__STDC_FORMAT_MACROS",
16142 "-O2",
16143 "-fdata-sections",
16144 "-ffunction-sections",
16145 "-fno-asynchronous-unwind-tables",
16146 "-fno-unwind-tables",
16147 "-fstack-protector",
16148 "-fvisibility-inlines-hidden",
16149 "-fvisibility=hidden",
16150 "-g1",
16151 "-msse3",
16152 ],
16153 local_include_dirs: [
16154 "./",
16155 "buildtools/third_party/libc++/",
16156 "buildtools/third_party/libc++/trunk/include",
16157 "buildtools/third_party/libc++abi/trunk/include",
16158 "third_party/abseil-cpp/",
16159 "third_party/boringssl/src/include/",
16160 ],
16161 cpp_std: "c++20",
16162}
16163
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016164// GN: //net/tools/tld_cleanup:tld_cleanup__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016165cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016166 name: "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016167 srcs: [
16168 "net/tools/tld_cleanup/tld_cleanup_util.cc",
16169 ],
16170 shared_libs: [
16171 "libandroid",
16172 "liblog",
16173 ],
16174 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016175 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16176 "cronet_aml_base_base__testing",
16177 "cronet_aml_base_base_static__testing",
16178 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16179 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16180 "cronet_aml_third_party_boringssl_boringssl__testing",
16181 "cronet_aml_third_party_icu_icui18n__testing",
16182 "cronet_aml_third_party_icu_icuuc_private__testing",
16183 "cronet_aml_third_party_libevent_libevent__testing",
16184 "cronet_aml_third_party_modp_b64_modp_b64__testing",
16185 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016186 ],
16187 defaults: [
16188 "cronet_aml_defaults",
16189 ],
16190 cflags: [
16191 "-DANDROID",
16192 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16193 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16194 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16195 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16196 "-DHAVE_SYS_UIO_H",
16197 "-DNDEBUG",
16198 "-DNO_UNWIND_TABLES",
16199 "-DNVALGRIND",
16200 "-DOFFICIAL_BUILD",
16201 "-D_FORTIFY_SOURCE=2",
16202 "-D_GNU_SOURCE",
16203 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16204 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16205 "-D__STDC_CONSTANT_MACROS",
16206 "-D__STDC_FORMAT_MACROS",
16207 "-Oz",
16208 "-fdata-sections",
16209 "-ffunction-sections",
16210 "-fno-asynchronous-unwind-tables",
16211 "-fno-unwind-tables",
16212 "-fvisibility-inlines-hidden",
16213 "-fvisibility=hidden",
16214 "-g1",
16215 ],
16216 local_include_dirs: [
16217 "./",
16218 "buildtools/third_party/libc++/",
16219 "buildtools/third_party/libc++/trunk/include",
16220 "buildtools/third_party/libc++abi/trunk/include",
16221 "third_party/abseil-cpp/",
16222 "third_party/boringssl/src/include/",
16223 ],
16224 cpp_std: "c++17",
16225 target: {
16226 android_arm: {
16227 cflags: [
16228 "-fstack-protector",
16229 ],
16230 },
16231 android_arm64: {
16232 cflags: [
16233 "-fstack-protector",
16234 "-mno-outline",
16235 "-mno-outline-atomics",
16236 ],
16237 },
16238 android_x86: {
16239 cflags: [
16240 "-msse3",
16241 ],
16242 },
16243 android_x86_64: {
16244 cflags: [
16245 "-fstack-protector",
16246 "-msse3",
16247 ],
16248 },
16249 },
16250}
16251
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016252// GN: //net/tools/transport_security_state_generator:transport_security_state_generator__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016253cc_binary {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016254 name: "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016255 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016256 ":cronet_aml_buildtools_third_party_libc___libc____testing",
16257 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
16258 ":cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing",
16259 ":cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator_sources__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016260 "net/tools/transport_security_state_generator/transport_security_state_generator.cc",
16261 ],
16262 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016263 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16264 "cronet_aml_base_base__testing",
16265 "cronet_aml_base_base_static__testing",
16266 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16267 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16268 "cronet_aml_base_third_party_symbolize_symbolize__testing",
16269 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
16270 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
16271 "cronet_aml_crypto_crypto__testing",
16272 "cronet_aml_third_party_boringssl_boringssl__testing",
16273 "cronet_aml_third_party_icu_icui18n__testing",
16274 "cronet_aml_third_party_icu_icuuc_private__testing",
16275 "cronet_aml_third_party_libevent_libevent__testing",
16276 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016277 ],
16278 host_supported: true,
16279 device_supported: false,
16280 defaults: [
16281 "cronet_aml_defaults",
16282 ],
16283 cflags: [
16284 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16285 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16286 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
16287 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16288 "-DNDEBUG",
16289 "-DNO_UNWIND_TABLES",
16290 "-DNVALGRIND",
16291 "-DOFFICIAL_BUILD",
16292 "-DUSE_AURA=1",
16293 "-DUSE_OZONE=1",
16294 "-DUSE_UDEV",
16295 "-D_FILE_OFFSET_BITS=64",
16296 "-D_FORTIFY_SOURCE=2",
16297 "-D_GNU_SOURCE",
16298 "-D_LARGEFILE64_SOURCE",
16299 "-D_LARGEFILE_SOURCE",
16300 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16301 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16302 "-D__STDC_CONSTANT_MACROS",
16303 "-D__STDC_FORMAT_MACROS",
16304 "-O2",
16305 "-fdata-sections",
16306 "-ffunction-sections",
16307 "-fno-asynchronous-unwind-tables",
16308 "-fno-unwind-tables",
16309 "-fstack-protector",
16310 "-fvisibility-inlines-hidden",
16311 "-fvisibility=hidden",
16312 "-g1",
16313 "-msse3",
16314 ],
16315 local_include_dirs: [
16316 "./",
16317 "buildtools/third_party/libc++/",
16318 "buildtools/third_party/libc++/trunk/include",
16319 "buildtools/third_party/libc++abi/trunk/include",
16320 "third_party/abseil-cpp/",
16321 "third_party/boringssl/src/include/",
16322 ],
16323 cpp_std: "c++20",
16324 ldflags: [
16325 "-Wl,--as-needed",
16326 "-Wl,--gc-sections",
16327 "-Wl,--icf=all",
16328 ],
16329}
16330
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016331// GN: //net/tools/transport_security_state_generator:transport_security_state_generator_sources__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016332cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016333 name: "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator_sources__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016334 srcs: [
16335 "net/tools/transport_security_state_generator/cert_util.cc",
16336 "net/tools/transport_security_state_generator/input_file_parsers.cc",
16337 "net/tools/transport_security_state_generator/pinset.cc",
16338 "net/tools/transport_security_state_generator/pinsets.cc",
16339 "net/tools/transport_security_state_generator/preloaded_state_generator.cc",
16340 "net/tools/transport_security_state_generator/spki_hash.cc",
16341 "net/tools/transport_security_state_generator/transport_security_state_entry.cc",
16342 ],
16343 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016344 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16345 "cronet_aml_base_base__testing",
16346 "cronet_aml_base_base_static__testing",
16347 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16348 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16349 "cronet_aml_base_third_party_symbolize_symbolize__testing",
16350 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
16351 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
16352 "cronet_aml_third_party_boringssl_boringssl__testing",
16353 "cronet_aml_third_party_icu_icui18n__testing",
16354 "cronet_aml_third_party_icu_icuuc_private__testing",
16355 "cronet_aml_third_party_libevent_libevent__testing",
16356 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016357 ],
16358 host_supported: true,
16359 device_supported: false,
16360 defaults: [
16361 "cronet_aml_defaults",
16362 ],
16363 cflags: [
16364 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16365 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16366 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
16367 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16368 "-DNDEBUG",
16369 "-DNO_UNWIND_TABLES",
16370 "-DNVALGRIND",
16371 "-DOFFICIAL_BUILD",
16372 "-DUSE_AURA=1",
16373 "-DUSE_OZONE=1",
16374 "-DUSE_UDEV",
16375 "-D_FILE_OFFSET_BITS=64",
16376 "-D_FORTIFY_SOURCE=2",
16377 "-D_GNU_SOURCE",
16378 "-D_LARGEFILE64_SOURCE",
16379 "-D_LARGEFILE_SOURCE",
16380 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16381 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16382 "-D__STDC_CONSTANT_MACROS",
16383 "-D__STDC_FORMAT_MACROS",
16384 "-O2",
16385 "-fdata-sections",
16386 "-ffunction-sections",
16387 "-fno-asynchronous-unwind-tables",
16388 "-fno-unwind-tables",
16389 "-fstack-protector",
16390 "-fvisibility-inlines-hidden",
16391 "-fvisibility=hidden",
16392 "-g1",
16393 "-msse3",
16394 ],
16395 local_include_dirs: [
16396 "./",
16397 "buildtools/third_party/libc++/",
16398 "buildtools/third_party/libc++/trunk/include",
16399 "buildtools/third_party/libc++abi/trunk/include",
16400 "third_party/abseil-cpp/",
16401 "third_party/boringssl/src/include/",
16402 ],
16403 cpp_std: "c++20",
16404}
16405
Patrick Rohrcb035942022-11-01 12:12:52 -070016406// GN: //net/traffic_annotation:traffic_annotation
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016407cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070016408 name: "cronet_aml_net_traffic_annotation_traffic_annotation",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016409 srcs: [
16410 "net/traffic_annotation/network_traffic_annotation_android.cc",
16411 ],
16412 shared_libs: [
16413 "libandroid",
16414 "liblog",
16415 ],
16416 static_libs: [
16417 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
16418 "cronet_aml_base_base",
16419 "cronet_aml_base_base_static",
16420 "cronet_aml_base_third_party_double_conversion_double_conversion",
16421 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
16422 "cronet_aml_third_party_boringssl_boringssl",
16423 "cronet_aml_third_party_icu_icui18n",
16424 "cronet_aml_third_party_icu_icuuc_private",
16425 "cronet_aml_third_party_libevent_libevent",
16426 "cronet_aml_third_party_modp_b64_modp_b64",
16427 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090016428 generated_headers: [
16429 "cronet_aml_build_chromeos_buildflags",
16430 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016431 defaults: [
16432 "cronet_aml_defaults",
16433 ],
16434 cflags: [
16435 "-DANDROID",
16436 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016437 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16438 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016439 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016440 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016441 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090016442 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016443 "-DNVALGRIND",
16444 "-DOFFICIAL_BUILD",
16445 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016446 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016447 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016448 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16449 "-D__STDC_CONSTANT_MACROS",
16450 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016451 "-Oz",
16452 "-fdata-sections",
16453 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090016454 "-fno-asynchronous-unwind-tables",
16455 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016456 "-fvisibility-inlines-hidden",
16457 "-fvisibility=hidden",
16458 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016459 ],
16460 local_include_dirs: [
16461 "./",
16462 "buildtools/third_party/libc++/",
16463 "buildtools/third_party/libc++/trunk/include",
16464 "buildtools/third_party/libc++abi/trunk/include",
16465 "third_party/abseil-cpp/",
16466 "third_party/boringssl/src/include/",
16467 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016468 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090016469 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090016470 android_arm: {
16471 cflags: [
16472 "-fstack-protector",
16473 ],
16474 },
16475 android_arm64: {
16476 cflags: [
16477 "-fstack-protector",
16478 "-mno-outline",
16479 "-mno-outline-atomics",
16480 ],
16481 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016482 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016483 cflags: [
16484 "-msse3",
16485 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090016486 },
16487 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016488 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090016489 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016490 "-msse3",
16491 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090016492 },
16493 },
Patrick Rohrcb035942022-11-01 12:12:52 -070016494}
16495
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016496// GN: //net/traffic_annotation:traffic_annotation__testing
16497cc_object {
16498 name: "cronet_aml_net_traffic_annotation_traffic_annotation__testing",
16499 srcs: [
16500 "net/traffic_annotation/network_traffic_annotation_android.cc",
16501 ],
16502 shared_libs: [
16503 "libandroid",
16504 "liblog",
16505 ],
16506 static_libs: [
16507 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16508 "cronet_aml_base_base__testing",
16509 "cronet_aml_base_base_static__testing",
16510 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16511 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16512 "cronet_aml_third_party_boringssl_boringssl__testing",
16513 "cronet_aml_third_party_icu_icui18n__testing",
16514 "cronet_aml_third_party_icu_icuuc_private__testing",
16515 "cronet_aml_third_party_libevent_libevent__testing",
16516 "cronet_aml_third_party_modp_b64_modp_b64__testing",
16517 ],
16518 generated_headers: [
16519 "cronet_aml_build_chromeos_buildflags__testing",
16520 ],
16521 defaults: [
16522 "cronet_aml_defaults",
16523 ],
16524 cflags: [
16525 "-DANDROID",
16526 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16527 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16528 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16529 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16530 "-DHAVE_SYS_UIO_H",
16531 "-DNDEBUG",
16532 "-DNO_UNWIND_TABLES",
16533 "-DNVALGRIND",
16534 "-DOFFICIAL_BUILD",
16535 "-D_FORTIFY_SOURCE=2",
16536 "-D_GNU_SOURCE",
16537 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16538 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16539 "-D__STDC_CONSTANT_MACROS",
16540 "-D__STDC_FORMAT_MACROS",
16541 "-Oz",
16542 "-fdata-sections",
16543 "-ffunction-sections",
16544 "-fno-asynchronous-unwind-tables",
16545 "-fno-unwind-tables",
16546 "-fvisibility-inlines-hidden",
16547 "-fvisibility=hidden",
16548 "-g1",
16549 ],
16550 local_include_dirs: [
16551 "./",
16552 "buildtools/third_party/libc++/",
16553 "buildtools/third_party/libc++/trunk/include",
16554 "buildtools/third_party/libc++abi/trunk/include",
16555 "third_party/abseil-cpp/",
16556 "third_party/boringssl/src/include/",
16557 ],
16558 cpp_std: "c++17",
16559 target: {
16560 android_arm: {
16561 cflags: [
16562 "-fstack-protector",
16563 ],
16564 },
16565 android_arm64: {
16566 cflags: [
16567 "-fstack-protector",
16568 "-mno-outline",
16569 "-mno-outline-atomics",
16570 ],
16571 },
16572 android_x86: {
16573 cflags: [
16574 "-msse3",
16575 ],
16576 },
16577 android_x86_64: {
16578 cflags: [
16579 "-fstack-protector",
16580 "-msse3",
16581 ],
16582 },
16583 },
16584}
16585
Patrick Rohrcb035942022-11-01 12:12:52 -070016586// GN: //net:uri_template
16587cc_library_static {
16588 name: "cronet_aml_net_uri_template",
16589 srcs: [
16590 "net/third_party/uri_template/uri_template.cc",
16591 ],
16592 shared_libs: [
16593 "libandroid",
16594 "liblog",
16595 ],
16596 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080016597 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070016598 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080016599 "cronet_aml_base_base_static",
16600 "cronet_aml_base_third_party_double_conversion_double_conversion",
16601 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090016602 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080016603 "cronet_aml_third_party_icu_icui18n",
16604 "cronet_aml_third_party_icu_icuuc_private",
16605 "cronet_aml_third_party_libevent_libevent",
16606 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070016607 ],
16608 defaults: [
16609 "cronet_aml_defaults",
16610 ],
16611 cflags: [
16612 "-DANDROID",
16613 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016614 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16615 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016616 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070016617 "-DHAVE_SYS_UIO_H",
16618 "-DIS_URI_TEMPLATE_IMPL",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016619 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090016620 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016621 "-DNVALGRIND",
16622 "-DOFFICIAL_BUILD",
16623 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070016624 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070016625 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070016626 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16627 "-D__STDC_CONSTANT_MACROS",
16628 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016629 "-Oz",
16630 "-fdata-sections",
16631 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090016632 "-fno-asynchronous-unwind-tables",
16633 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016634 "-fvisibility-inlines-hidden",
16635 "-fvisibility=hidden",
16636 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070016637 ],
16638 local_include_dirs: [
16639 "./",
16640 "buildtools/third_party/libc++/",
16641 "buildtools/third_party/libc++/trunk/include",
16642 "buildtools/third_party/libc++abi/trunk/include",
16643 "third_party/abseil-cpp/",
16644 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070016645 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016646 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090016647 ldflags: [
16648 "-Wl,--as-needed",
16649 "-Wl,--gc-sections",
16650 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000016651 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000016652 "-Wl,-wrap,asprintf",
16653 "-Wl,-wrap,calloc",
16654 "-Wl,-wrap,free",
16655 "-Wl,-wrap,getcwd",
16656 "-Wl,-wrap,malloc",
16657 "-Wl,-wrap,malloc_usable_size",
16658 "-Wl,-wrap,memalign",
16659 "-Wl,-wrap,posix_memalign",
16660 "-Wl,-wrap,pvalloc",
16661 "-Wl,-wrap,realloc",
16662 "-Wl,-wrap,realpath",
16663 "-Wl,-wrap,strdup",
16664 "-Wl,-wrap,strndup",
16665 "-Wl,-wrap,valloc",
16666 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090016667 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016668 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090016669 android_arm: {
16670 cflags: [
16671 "-fstack-protector",
16672 ],
16673 },
16674 android_arm64: {
16675 cflags: [
16676 "-fstack-protector",
16677 "-mno-outline",
16678 "-mno-outline-atomics",
16679 ],
16680 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016681 android_x86: {
16682 cflags: [
16683 "-msse3",
16684 ],
16685 },
16686 android_x86_64: {
16687 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090016688 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016689 "-msse3",
16690 ],
16691 },
16692 },
Patrick Rohrcb035942022-11-01 12:12:52 -070016693}
16694
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016695// GN: //net:uri_template__testing
16696cc_library_static {
16697 name: "cronet_aml_net_uri_template__testing",
16698 srcs: [
16699 "net/third_party/uri_template/uri_template.cc",
16700 ],
16701 shared_libs: [
16702 "libandroid",
16703 "liblog",
16704 ],
16705 static_libs: [
16706 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16707 "cronet_aml_base_base__testing",
16708 "cronet_aml_base_base_static__testing",
16709 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16710 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16711 "cronet_aml_third_party_boringssl_boringssl__testing",
16712 "cronet_aml_third_party_icu_icui18n__testing",
16713 "cronet_aml_third_party_icu_icuuc_private__testing",
16714 "cronet_aml_third_party_libevent_libevent__testing",
16715 "cronet_aml_third_party_modp_b64_modp_b64__testing",
16716 ],
16717 defaults: [
16718 "cronet_aml_defaults",
16719 ],
16720 cflags: [
16721 "-DANDROID",
16722 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16723 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16724 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16725 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16726 "-DHAVE_SYS_UIO_H",
16727 "-DIS_URI_TEMPLATE_IMPL",
16728 "-DNDEBUG",
16729 "-DNO_UNWIND_TABLES",
16730 "-DNVALGRIND",
16731 "-DOFFICIAL_BUILD",
16732 "-D_FORTIFY_SOURCE=2",
16733 "-D_GNU_SOURCE",
16734 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16735 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16736 "-D__STDC_CONSTANT_MACROS",
16737 "-D__STDC_FORMAT_MACROS",
16738 "-Oz",
16739 "-fdata-sections",
16740 "-ffunction-sections",
16741 "-fno-asynchronous-unwind-tables",
16742 "-fno-unwind-tables",
16743 "-fvisibility-inlines-hidden",
16744 "-fvisibility=hidden",
16745 "-g1",
16746 ],
16747 local_include_dirs: [
16748 "./",
16749 "buildtools/third_party/libc++/",
16750 "buildtools/third_party/libc++/trunk/include",
16751 "buildtools/third_party/libc++abi/trunk/include",
16752 "third_party/abseil-cpp/",
16753 "third_party/boringssl/src/include/",
16754 ],
16755 cpp_std: "c++17",
16756 ldflags: [
16757 "-Wl,--as-needed",
16758 "-Wl,--gc-sections",
16759 "-Wl,--icf=all",
16760 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
16761 "-Wl,-wrap,asprintf",
16762 "-Wl,-wrap,calloc",
16763 "-Wl,-wrap,free",
16764 "-Wl,-wrap,getcwd",
16765 "-Wl,-wrap,malloc",
16766 "-Wl,-wrap,malloc_usable_size",
16767 "-Wl,-wrap,memalign",
16768 "-Wl,-wrap,posix_memalign",
16769 "-Wl,-wrap,pvalloc",
16770 "-Wl,-wrap,realloc",
16771 "-Wl,-wrap,realpath",
16772 "-Wl,-wrap,strdup",
16773 "-Wl,-wrap,strndup",
16774 "-Wl,-wrap,valloc",
16775 "-Wl,-wrap,vasprintf",
16776 ],
16777 target: {
16778 android_arm: {
16779 cflags: [
16780 "-fstack-protector",
16781 ],
16782 },
16783 android_arm64: {
16784 cflags: [
16785 "-fstack-protector",
16786 "-mno-outline",
16787 "-mno-outline-atomics",
16788 ],
16789 },
16790 android_x86: {
16791 cflags: [
16792 "-msse3",
16793 ],
16794 },
16795 android_x86_64: {
16796 cflags: [
16797 "-fstack-protector",
16798 "-msse3",
16799 ],
16800 },
16801 },
16802}
16803
16804// GN: //testing/android/native_test:native_test_jni_headers__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016805cc_genrule {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016806 name: "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016807 srcs: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016808 "testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java",
16809 "testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java",
16810 ],
16811 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
16812 "long " +
16813 "--output_dir " +
16814 "$(genDir)/testing/android/native_test/native_test_jni_headers " +
16815 "--includes " +
16816 "base/android/jni_generator/jni_generator_helper.h " +
16817 "--use_proxy_hash " +
16818 "--output_name " +
16819 "MainRunner_jni.h " +
16820 "--output_name " +
16821 "NativeTest_jni.h " +
16822 "--input_file " +
16823 "$(location testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java) " +
16824 "--input_file " +
16825 "$(location testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java) " +
16826 "--package_prefix " +
16827 "android.net.http.internal",
16828 out: [
16829 "testing/android/native_test/native_test_jni_headers/MainRunner_jni.h",
16830 "testing/android/native_test/native_test_jni_headers/NativeTest_jni.h",
16831 ],
16832 tool_files: [
16833 "base/android/jni_generator/android_jar.classes",
16834 "base/android/jni_generator/jni_generator.py",
16835 "build/android/gyp/util/__init__.py",
16836 "build/android/gyp/util/build_utils.py",
16837 "build/gn_helpers.py",
16838 ],
16839 apex_available: [
16840 "com.android.tethering",
16841 ],
16842}
16843
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016844// GN: //testing/android/native_test:native_test_native_code__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016845cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016846 name: "cronet_aml_testing_android_native_test_native_test_native_code__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016847 srcs: [
16848 "testing/android/native_test/native_test_jni_onload.cc",
16849 ],
16850 shared_libs: [
16851 "libandroid",
16852 "liblog",
16853 "libz",
16854 ],
16855 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016856 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16857 "cronet_aml_base_base__testing",
16858 "cronet_aml_base_base_static__testing",
16859 "cronet_aml_base_i18n__testing",
16860 "cronet_aml_base_test_test_config__testing",
16861 "cronet_aml_base_test_test_support__testing",
16862 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16863 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16864 "cronet_aml_testing_gtest_gtest__testing",
16865 "cronet_aml_third_party_boringssl_boringssl__testing",
16866 "cronet_aml_third_party_ced_ced__testing",
16867 "cronet_aml_third_party_icu_icui18n__testing",
16868 "cronet_aml_third_party_icu_icuuc_private__testing",
16869 "cronet_aml_third_party_libevent_libevent__testing",
16870 "cronet_aml_third_party_libxml_libxml__testing",
16871 "cronet_aml_third_party_libxml_libxml_utils__testing",
16872 "cronet_aml_third_party_libxml_xml_reader__testing",
16873 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016874 ],
16875 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016876 "cronet_aml_base_debugging_buildflags__testing",
16877 "cronet_aml_base_logging_buildflags__testing",
16878 "cronet_aml_build_chromeos_buildflags__testing",
16879 "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016880 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016881 defaults: [
16882 "cronet_aml_defaults",
16883 ],
16884 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016885 "-DANDROID",
16886 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016887 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16888 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016889 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016890 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016891 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090016892 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016893 "-DNVALGRIND",
16894 "-DOFFICIAL_BUILD",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016895 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016896 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016897 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016898 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016899 "-D__STDC_CONSTANT_MACROS",
16900 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016901 "-Oz",
16902 "-fdata-sections",
16903 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090016904 "-fno-asynchronous-unwind-tables",
16905 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016906 "-fvisibility-inlines-hidden",
16907 "-fvisibility=hidden",
16908 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016909 ],
16910 local_include_dirs: [
16911 "./",
16912 "buildtools/third_party/libc++/",
16913 "buildtools/third_party/libc++/trunk/include",
16914 "buildtools/third_party/libc++abi/trunk/include",
16915 "third_party/abseil-cpp/",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016916 "third_party/boringssl/src/include/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016917 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016918 cpp_std: "c++17",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016919 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090016920 android_arm: {
16921 cflags: [
16922 "-fstack-protector",
16923 ],
16924 },
16925 android_arm64: {
16926 cflags: [
16927 "-fstack-protector",
16928 "-mno-outline",
16929 "-mno-outline-atomics",
16930 ],
16931 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016932 android_x86: {
16933 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016934 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016935 ],
16936 },
16937 android_x86_64: {
16938 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090016939 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016940 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090016941 ],
16942 },
16943 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016944}
16945
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016946// GN: //testing/android/native_test:native_test_support__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016947cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016948 name: "cronet_aml_testing_android_native_test_native_test_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016949 srcs: [
16950 "testing/android/native_test/main_runner.cc",
16951 "testing/android/native_test/native_test_launcher.cc",
16952 "testing/android/native_test/native_test_util.cc",
16953 ],
16954 shared_libs: [
16955 "libandroid",
16956 "liblog",
16957 "libz",
16958 ],
16959 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016960 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16961 "cronet_aml_base_base__testing",
16962 "cronet_aml_base_base_static__testing",
16963 "cronet_aml_base_i18n__testing",
16964 "cronet_aml_base_test_test_config__testing",
16965 "cronet_aml_base_test_test_support__testing",
16966 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16967 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16968 "cronet_aml_testing_gtest_gtest__testing",
16969 "cronet_aml_third_party_boringssl_boringssl__testing",
16970 "cronet_aml_third_party_ced_ced__testing",
16971 "cronet_aml_third_party_icu_icui18n__testing",
16972 "cronet_aml_third_party_icu_icuuc_private__testing",
16973 "cronet_aml_third_party_libevent_libevent__testing",
16974 "cronet_aml_third_party_libxml_libxml__testing",
16975 "cronet_aml_third_party_libxml_libxml_utils__testing",
16976 "cronet_aml_third_party_libxml_xml_reader__testing",
16977 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016978 ],
16979 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016980 "cronet_aml_base_debugging_buildflags__testing",
16981 "cronet_aml_base_logging_buildflags__testing",
16982 "cronet_aml_build_chromeos_buildflags__testing",
16983 "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016984 ],
16985 defaults: [
16986 "cronet_aml_defaults",
16987 ],
16988 cflags: [
16989 "-DANDROID",
16990 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16991 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16992 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16993 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16994 "-DGTEST_API_=",
16995 "-DGTEST_HAS_ABSL=1",
16996 "-DGTEST_HAS_POSIX_RE=0",
16997 "-DGTEST_HAS_TR1_TUPLE=0",
16998 "-DGTEST_LANG_CXX11=1",
16999 "-DHAVE_SYS_UIO_H",
17000 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
17001 "-DNDEBUG",
17002 "-DNO_UNWIND_TABLES",
17003 "-DNVALGRIND",
17004 "-DOFFICIAL_BUILD",
17005 "-DUNIT_TEST",
17006 "-DUSE_CHROMIUM_ICU=1",
17007 "-DU_ENABLE_DYLOAD=0",
17008 "-DU_ENABLE_RESOURCE_TRACING=0",
17009 "-DU_ENABLE_TRACING=1",
17010 "-DU_STATIC_IMPLEMENTATION",
17011 "-DU_USING_ICU_NAMESPACE=0",
17012 "-D_FORTIFY_SOURCE=2",
17013 "-D_GNU_SOURCE",
17014 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17015 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17016 "-D__STDC_CONSTANT_MACROS",
17017 "-D__STDC_FORMAT_MACROS",
17018 "-Oz",
17019 "-fdata-sections",
17020 "-ffunction-sections",
17021 "-fno-asynchronous-unwind-tables",
17022 "-fno-unwind-tables",
17023 "-fvisibility-inlines-hidden",
17024 "-fvisibility=hidden",
17025 "-g1",
17026 ],
17027 local_include_dirs: [
17028 "./",
17029 "buildtools/third_party/libc++/",
17030 "buildtools/third_party/libc++/trunk/include",
17031 "buildtools/third_party/libc++abi/trunk/include",
17032 "third_party/abseil-cpp/",
17033 "third_party/boringssl/src/include/",
17034 "third_party/ced/src/",
17035 "third_party/googletest/custom/",
17036 "third_party/googletest/src/googlemock/include/",
17037 "third_party/googletest/src/googletest/include/",
17038 "third_party/icu/source/common/",
17039 "third_party/icu/source/i18n/",
17040 ],
17041 cpp_std: "c++17",
17042 target: {
17043 android_arm: {
17044 cflags: [
17045 "-fstack-protector",
17046 ],
17047 },
17048 android_arm64: {
17049 cflags: [
17050 "-fstack-protector",
17051 "-mno-outline",
17052 "-mno-outline-atomics",
17053 ],
17054 },
17055 android_x86: {
17056 cflags: [
17057 "-msse3",
17058 ],
17059 },
17060 android_x86_64: {
17061 cflags: [
17062 "-fstack-protector",
17063 "-msse3",
17064 ],
17065 },
17066 },
17067}
17068
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017069// GN: //testing/gtest:gtest__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017070cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017071 name: "cronet_aml_testing_gtest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017072 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017073 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
17074 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
17075 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
17076 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
17077 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
17078 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
17079 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
17080 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
17081 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
17082 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
17083 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
17084 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
17085 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
17086 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
17087 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
17088 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
17089 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
17090 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
17091 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
17092 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
17093 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
17094 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
17095 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
17096 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
17097 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
17098 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
17099 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
17100 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
17101 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
17102 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
17103 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
17104 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
17105 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
17106 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
17107 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
17108 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
17109 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
17110 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
17111 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
17112 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
17113 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
17114 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
17115 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
17116 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
17117 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
17118 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
17119 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
17120 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017121 "testing/gtest/empty.cc",
17122 "testing/multiprocess_func_list.cc",
17123 ],
17124 shared_libs: [
17125 "libandroid",
17126 "liblog",
17127 ],
17128 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017129 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
17130 "cronet_aml_base_base__testing",
17131 "cronet_aml_base_base_static__testing",
17132 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
17133 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
17134 "cronet_aml_third_party_boringssl_boringssl__testing",
17135 "cronet_aml_third_party_icu_icui18n__testing",
17136 "cronet_aml_third_party_icu_icuuc_private__testing",
17137 "cronet_aml_third_party_libevent_libevent__testing",
17138 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017139 ],
17140 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017141 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017142 ],
17143 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017144 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017145 ],
17146 defaults: [
17147 "cronet_aml_defaults",
17148 ],
17149 cflags: [
17150 "-DANDROID",
17151 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17152 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17153 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17154 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17155 "-DGTEST_API_=",
17156 "-DGTEST_HAS_ABSL=1",
17157 "-DGTEST_HAS_POSIX_RE=0",
17158 "-DGTEST_HAS_TR1_TUPLE=0",
17159 "-DGTEST_LANG_CXX11=1",
17160 "-DHAVE_SYS_UIO_H",
17161 "-DNDEBUG",
17162 "-DNO_UNWIND_TABLES",
17163 "-DNVALGRIND",
17164 "-DOFFICIAL_BUILD",
17165 "-DUNIT_TEST",
17166 "-D_FORTIFY_SOURCE=2",
17167 "-D_GNU_SOURCE",
17168 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17169 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17170 "-D__STDC_CONSTANT_MACROS",
17171 "-D__STDC_FORMAT_MACROS",
17172 "-Oz",
17173 "-fdata-sections",
17174 "-ffunction-sections",
17175 "-fno-asynchronous-unwind-tables",
17176 "-fno-unwind-tables",
17177 "-fvisibility-inlines-hidden",
17178 "-fvisibility=hidden",
17179 "-g1",
17180 ],
17181 local_include_dirs: [
17182 "./",
17183 "buildtools/third_party/libc++/",
17184 "buildtools/third_party/libc++/trunk/include",
17185 "buildtools/third_party/libc++abi/trunk/include",
17186 "third_party/abseil-cpp/",
17187 "third_party/googletest/custom/",
17188 "third_party/googletest/src/googletest/include/",
17189 ],
17190 cpp_std: "c++17",
17191 ldflags: [
17192 "-Wl,--as-needed",
17193 "-Wl,--gc-sections",
17194 "-Wl,--icf=all",
17195 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
17196 "-Wl,-wrap,asprintf",
17197 "-Wl,-wrap,calloc",
17198 "-Wl,-wrap,free",
17199 "-Wl,-wrap,getcwd",
17200 "-Wl,-wrap,malloc",
17201 "-Wl,-wrap,malloc_usable_size",
17202 "-Wl,-wrap,memalign",
17203 "-Wl,-wrap,posix_memalign",
17204 "-Wl,-wrap,pvalloc",
17205 "-Wl,-wrap,realloc",
17206 "-Wl,-wrap,realpath",
17207 "-Wl,-wrap,strdup",
17208 "-Wl,-wrap,strndup",
17209 "-Wl,-wrap,valloc",
17210 "-Wl,-wrap,vasprintf",
17211 ],
17212 target: {
17213 android_arm: {
17214 cflags: [
17215 "-fstack-protector",
17216 ],
17217 },
17218 android_arm64: {
17219 cflags: [
17220 "-fstack-protector",
17221 "-mno-outline",
17222 "-mno-outline-atomics",
17223 ],
17224 },
17225 android_x86: {
17226 cflags: [
17227 "-msse3",
17228 ],
17229 },
17230 android_x86_64: {
17231 cflags: [
17232 "-fstack-protector",
17233 "-msse3",
17234 ],
17235 },
17236 },
17237}
17238
17239// GN: //third_party/abseil-cpp/absl/base:base
17240cc_object {
17241 name: "cronet_aml_third_party_abseil_cpp_absl_base_base",
17242 srcs: [
17243 "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
17244 "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
17245 "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
17246 "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
17247 "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
17248 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017249 defaults: [
17250 "cronet_aml_defaults",
17251 ],
17252 cflags: [
17253 "-DABSL_ALLOCATOR_NOTHROW=1",
17254 "-DANDROID",
17255 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17256 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17257 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17258 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17259 "-DHAVE_SYS_UIO_H",
17260 "-DNDEBUG",
17261 "-DNO_UNWIND_TABLES",
17262 "-DNVALGRIND",
17263 "-DOFFICIAL_BUILD",
17264 "-D_GNU_SOURCE",
17265 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17266 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17267 "-Oz",
17268 "-fdata-sections",
17269 "-ffunction-sections",
17270 "-fno-asynchronous-unwind-tables",
17271 "-fno-unwind-tables",
17272 "-fvisibility-inlines-hidden",
17273 "-fvisibility=hidden",
17274 "-g1",
17275 ],
17276 local_include_dirs: [
17277 "./",
17278 "buildtools/third_party/libc++/",
17279 "buildtools/third_party/libc++/trunk/include",
17280 "buildtools/third_party/libc++abi/trunk/include",
17281 "third_party/abseil-cpp/",
17282 ],
17283 cpp_std: "c++17",
17284 target: {
17285 android_arm: {
17286 cflags: [
17287 "-fstack-protector",
17288 ],
17289 },
17290 android_arm64: {
17291 cflags: [
17292 "-fstack-protector",
17293 "-mno-outline",
17294 "-mno-outline-atomics",
17295 ],
17296 },
17297 android_x86: {
17298 cflags: [
17299 "-msse3",
17300 ],
17301 },
17302 android_x86_64: {
17303 cflags: [
17304 "-fstack-protector",
17305 "-msse3",
17306 ],
17307 },
17308 },
17309}
17310
17311// GN: //third_party/abseil-cpp/absl/base:base__testing
17312cc_object {
17313 name: "cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
17314 srcs: [
17315 "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
17316 "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
17317 "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
17318 "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
17319 "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
17320 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017321 host_supported: true,
17322 defaults: [
17323 "cronet_aml_defaults",
17324 ],
17325 cflags: [
17326 "-DABSL_ALLOCATOR_NOTHROW=1",
17327 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17328 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17329 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17330 "-DNDEBUG",
17331 "-DNO_UNWIND_TABLES",
17332 "-DNVALGRIND",
17333 "-DOFFICIAL_BUILD",
17334 "-D_GNU_SOURCE",
17335 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17336 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17337 "-fdata-sections",
17338 "-ffunction-sections",
17339 "-fno-asynchronous-unwind-tables",
17340 "-fno-unwind-tables",
17341 "-fvisibility-inlines-hidden",
17342 "-fvisibility=hidden",
17343 "-g1",
17344 ],
17345 local_include_dirs: [
17346 "./",
17347 "buildtools/third_party/libc++/",
17348 "buildtools/third_party/libc++/trunk/include",
17349 "buildtools/third_party/libc++abi/trunk/include",
17350 "third_party/abseil-cpp/",
17351 ],
17352 target: {
17353 android_arm: {
17354 cflags: [
17355 "-DANDROID",
17356 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17357 "-DHAVE_SYS_UIO_H",
17358 "-Oz",
17359 "-fstack-protector",
17360 ],
17361 },
17362 android_arm64: {
17363 cflags: [
17364 "-DANDROID",
17365 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17366 "-DHAVE_SYS_UIO_H",
17367 "-Oz",
17368 "-fstack-protector",
17369 "-mno-outline",
17370 "-mno-outline-atomics",
17371 ],
17372 },
17373 android_x86: {
17374 cflags: [
17375 "-DANDROID",
17376 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17377 "-DHAVE_SYS_UIO_H",
17378 "-Oz",
17379 "-msse3",
17380 ],
17381 },
17382 android_x86_64: {
17383 cflags: [
17384 "-DANDROID",
17385 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17386 "-DHAVE_SYS_UIO_H",
17387 "-Oz",
17388 "-fstack-protector",
17389 "-msse3",
17390 ],
17391 },
17392 host: {
17393 cflags: [
17394 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
17395 "-DUSE_AURA=1",
17396 "-DUSE_OZONE=1",
17397 "-DUSE_UDEV",
17398 "-D_FILE_OFFSET_BITS=64",
17399 "-D_LARGEFILE64_SOURCE",
17400 "-D_LARGEFILE_SOURCE",
17401 "-O2",
17402 "-fstack-protector",
17403 "-msse3",
17404 ],
17405 },
17406 },
17407}
17408
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017409// GN: //third_party/abseil-cpp/absl/base:log_severity
17410cc_object {
17411 name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
17412 srcs: [
17413 "third_party/abseil-cpp/absl/base/log_severity.cc",
17414 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017415 defaults: [
17416 "cronet_aml_defaults",
17417 ],
17418 cflags: [
17419 "-DABSL_ALLOCATOR_NOTHROW=1",
17420 "-DANDROID",
17421 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17422 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17423 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17424 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17425 "-DHAVE_SYS_UIO_H",
17426 "-DNDEBUG",
17427 "-DNO_UNWIND_TABLES",
17428 "-DNVALGRIND",
17429 "-DOFFICIAL_BUILD",
17430 "-D_GNU_SOURCE",
17431 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17432 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17433 "-Oz",
17434 "-fdata-sections",
17435 "-ffunction-sections",
17436 "-fno-asynchronous-unwind-tables",
17437 "-fno-unwind-tables",
17438 "-fvisibility-inlines-hidden",
17439 "-fvisibility=hidden",
17440 "-g1",
17441 ],
17442 local_include_dirs: [
17443 "./",
17444 "buildtools/third_party/libc++/",
17445 "buildtools/third_party/libc++/trunk/include",
17446 "buildtools/third_party/libc++abi/trunk/include",
17447 "third_party/abseil-cpp/",
17448 ],
17449 cpp_std: "c++17",
17450 target: {
17451 android_arm: {
17452 cflags: [
17453 "-fstack-protector",
17454 ],
17455 },
17456 android_arm64: {
17457 cflags: [
17458 "-fstack-protector",
17459 "-mno-outline",
17460 "-mno-outline-atomics",
17461 ],
17462 },
17463 android_x86: {
17464 cflags: [
17465 "-msse3",
17466 ],
17467 },
17468 android_x86_64: {
17469 cflags: [
17470 "-fstack-protector",
17471 "-msse3",
17472 ],
17473 },
17474 },
17475}
17476
17477// GN: //third_party/abseil-cpp/absl/base:log_severity__testing
17478cc_object {
17479 name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
17480 srcs: [
17481 "third_party/abseil-cpp/absl/base/log_severity.cc",
17482 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017483 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017484 defaults: [
17485 "cronet_aml_defaults",
17486 ],
17487 cflags: [
17488 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090017489 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17490 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017491 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017492 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090017493 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017494 "-DNVALGRIND",
17495 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017496 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017497 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017498 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017499 "-fdata-sections",
17500 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090017501 "-fno-asynchronous-unwind-tables",
17502 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017503 "-fvisibility-inlines-hidden",
17504 "-fvisibility=hidden",
17505 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017506 ],
17507 local_include_dirs: [
17508 "./",
17509 "buildtools/third_party/libc++/",
17510 "buildtools/third_party/libc++/trunk/include",
17511 "buildtools/third_party/libc++abi/trunk/include",
17512 "third_party/abseil-cpp/",
17513 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017514 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090017515 android_arm: {
17516 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017517 "-DANDROID",
17518 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17519 "-DHAVE_SYS_UIO_H",
17520 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017521 "-fstack-protector",
17522 ],
17523 },
17524 android_arm64: {
17525 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017526 "-DANDROID",
17527 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17528 "-DHAVE_SYS_UIO_H",
17529 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017530 "-fstack-protector",
17531 "-mno-outline",
17532 "-mno-outline-atomics",
17533 ],
17534 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017535 android_x86: {
17536 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017537 "-DANDROID",
17538 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17539 "-DHAVE_SYS_UIO_H",
17540 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017541 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017542 ],
17543 },
17544 android_x86_64: {
17545 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017546 "-DANDROID",
17547 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17548 "-DHAVE_SYS_UIO_H",
17549 "-Oz",
17550 "-fstack-protector",
17551 "-msse3",
17552 ],
17553 },
17554 host: {
17555 cflags: [
17556 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
17557 "-DUSE_AURA=1",
17558 "-DUSE_OZONE=1",
17559 "-DUSE_UDEV",
17560 "-D_FILE_OFFSET_BITS=64",
17561 "-D_LARGEFILE64_SOURCE",
17562 "-D_LARGEFILE_SOURCE",
17563 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017564 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017565 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017566 ],
17567 },
17568 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017569}
17570
17571// GN: //third_party/abseil-cpp/absl/base:malloc_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017572cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017573 name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017574 srcs: [
17575 "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
17576 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017577 defaults: [
17578 "cronet_aml_defaults",
17579 ],
17580 cflags: [
17581 "-DABSL_ALLOCATOR_NOTHROW=1",
17582 "-DANDROID",
17583 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17584 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17585 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17586 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17587 "-DHAVE_SYS_UIO_H",
17588 "-DNDEBUG",
17589 "-DNO_UNWIND_TABLES",
17590 "-DNVALGRIND",
17591 "-DOFFICIAL_BUILD",
17592 "-D_GNU_SOURCE",
17593 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17594 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17595 "-Oz",
17596 "-fdata-sections",
17597 "-ffunction-sections",
17598 "-fno-asynchronous-unwind-tables",
17599 "-fno-unwind-tables",
17600 "-fvisibility-inlines-hidden",
17601 "-fvisibility=hidden",
17602 "-g1",
17603 ],
17604 local_include_dirs: [
17605 "./",
17606 "buildtools/third_party/libc++/",
17607 "buildtools/third_party/libc++/trunk/include",
17608 "buildtools/third_party/libc++abi/trunk/include",
17609 "third_party/abseil-cpp/",
17610 ],
17611 cpp_std: "c++17",
17612 target: {
17613 android_arm: {
17614 cflags: [
17615 "-fstack-protector",
17616 ],
17617 },
17618 android_arm64: {
17619 cflags: [
17620 "-fstack-protector",
17621 "-mno-outline",
17622 "-mno-outline-atomics",
17623 ],
17624 },
17625 android_x86: {
17626 cflags: [
17627 "-msse3",
17628 ],
17629 },
17630 android_x86_64: {
17631 cflags: [
17632 "-fstack-protector",
17633 "-msse3",
17634 ],
17635 },
17636 },
17637}
17638
17639// GN: //third_party/abseil-cpp/absl/base:malloc_internal__testing
17640cc_object {
17641 name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
17642 srcs: [
17643 "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
17644 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017645 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017646 defaults: [
17647 "cronet_aml_defaults",
17648 ],
17649 cflags: [
17650 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090017651 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17652 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017653 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017654 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090017655 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017656 "-DNVALGRIND",
17657 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017658 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017659 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017660 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017661 "-fdata-sections",
17662 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090017663 "-fno-asynchronous-unwind-tables",
17664 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017665 "-fvisibility-inlines-hidden",
17666 "-fvisibility=hidden",
17667 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017668 ],
17669 local_include_dirs: [
17670 "./",
17671 "buildtools/third_party/libc++/",
17672 "buildtools/third_party/libc++/trunk/include",
17673 "buildtools/third_party/libc++abi/trunk/include",
17674 "third_party/abseil-cpp/",
17675 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090017676 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090017677 android_arm: {
17678 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017679 "-DANDROID",
17680 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17681 "-DHAVE_SYS_UIO_H",
17682 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017683 "-fstack-protector",
17684 ],
17685 },
17686 android_arm64: {
17687 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017688 "-DANDROID",
17689 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17690 "-DHAVE_SYS_UIO_H",
17691 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017692 "-fstack-protector",
17693 "-mno-outline",
17694 "-mno-outline-atomics",
17695 ],
17696 },
Motomu Utsumi55394632022-11-18 17:44:28 +090017697 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017698 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017699 "-DANDROID",
17700 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17701 "-DHAVE_SYS_UIO_H",
17702 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017703 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017704 ],
17705 },
17706 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017707 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017708 "-DANDROID",
17709 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17710 "-DHAVE_SYS_UIO_H",
17711 "-Oz",
17712 "-fstack-protector",
17713 "-msse3",
17714 ],
17715 },
17716 host: {
17717 cflags: [
17718 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
17719 "-DUSE_AURA=1",
17720 "-DUSE_OZONE=1",
17721 "-DUSE_UDEV",
17722 "-D_FILE_OFFSET_BITS=64",
17723 "-D_LARGEFILE64_SOURCE",
17724 "-D_LARGEFILE_SOURCE",
17725 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017726 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017727 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017728 ],
17729 },
17730 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017731}
17732
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017733// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal
17734cc_object {
17735 name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
17736 srcs: [
17737 "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
17738 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017739 defaults: [
17740 "cronet_aml_defaults",
17741 ],
17742 cflags: [
17743 "-DABSL_ALLOCATOR_NOTHROW=1",
17744 "-DANDROID",
17745 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17746 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17747 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17748 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17749 "-DHAVE_SYS_UIO_H",
17750 "-DNDEBUG",
17751 "-DNO_UNWIND_TABLES",
17752 "-DNVALGRIND",
17753 "-DOFFICIAL_BUILD",
17754 "-D_GNU_SOURCE",
17755 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17756 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17757 "-Oz",
17758 "-fdata-sections",
17759 "-ffunction-sections",
17760 "-fno-asynchronous-unwind-tables",
17761 "-fno-unwind-tables",
17762 "-fvisibility-inlines-hidden",
17763 "-fvisibility=hidden",
17764 "-g1",
17765 ],
17766 local_include_dirs: [
17767 "./",
17768 "buildtools/third_party/libc++/",
17769 "buildtools/third_party/libc++/trunk/include",
17770 "buildtools/third_party/libc++abi/trunk/include",
17771 "third_party/abseil-cpp/",
17772 ],
17773 cpp_std: "c++17",
17774 target: {
17775 android_arm: {
17776 cflags: [
17777 "-fstack-protector",
17778 ],
17779 },
17780 android_arm64: {
17781 cflags: [
17782 "-fstack-protector",
17783 "-mno-outline",
17784 "-mno-outline-atomics",
17785 ],
17786 },
17787 android_x86: {
17788 cflags: [
17789 "-msse3",
17790 ],
17791 },
17792 android_x86_64: {
17793 cflags: [
17794 "-fstack-protector",
17795 "-msse3",
17796 ],
17797 },
17798 },
17799}
17800
17801// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal__testing
17802cc_object {
17803 name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
17804 srcs: [
17805 "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
17806 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017807 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017808 defaults: [
17809 "cronet_aml_defaults",
17810 ],
17811 cflags: [
17812 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090017813 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17814 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017815 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017816 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090017817 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017818 "-DNVALGRIND",
17819 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017820 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017821 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017822 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017823 "-fdata-sections",
17824 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090017825 "-fno-asynchronous-unwind-tables",
17826 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017827 "-fvisibility-inlines-hidden",
17828 "-fvisibility=hidden",
17829 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017830 ],
17831 local_include_dirs: [
17832 "./",
17833 "buildtools/third_party/libc++/",
17834 "buildtools/third_party/libc++/trunk/include",
17835 "buildtools/third_party/libc++abi/trunk/include",
17836 "third_party/abseil-cpp/",
17837 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017838 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090017839 android_arm: {
17840 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017841 "-DANDROID",
17842 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17843 "-DHAVE_SYS_UIO_H",
17844 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017845 "-fstack-protector",
17846 ],
17847 },
17848 android_arm64: {
17849 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017850 "-DANDROID",
17851 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17852 "-DHAVE_SYS_UIO_H",
17853 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017854 "-fstack-protector",
17855 "-mno-outline",
17856 "-mno-outline-atomics",
17857 ],
17858 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017859 android_x86: {
17860 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017861 "-DANDROID",
17862 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17863 "-DHAVE_SYS_UIO_H",
17864 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017865 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017866 ],
17867 },
17868 android_x86_64: {
17869 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017870 "-DANDROID",
17871 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17872 "-DHAVE_SYS_UIO_H",
17873 "-Oz",
17874 "-fstack-protector",
17875 "-msse3",
17876 ],
17877 },
17878 host: {
17879 cflags: [
17880 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
17881 "-DUSE_AURA=1",
17882 "-DUSE_OZONE=1",
17883 "-DUSE_UDEV",
17884 "-D_FILE_OFFSET_BITS=64",
17885 "-D_LARGEFILE64_SOURCE",
17886 "-D_LARGEFILE_SOURCE",
17887 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017888 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017889 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017890 ],
17891 },
17892 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017893}
17894
17895// GN: //third_party/abseil-cpp/absl/base:spinlock_wait
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017896cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017897 name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017898 srcs: [
17899 "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
17900 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017901 defaults: [
17902 "cronet_aml_defaults",
17903 ],
17904 cflags: [
17905 "-DABSL_ALLOCATOR_NOTHROW=1",
17906 "-DANDROID",
17907 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17908 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17909 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17910 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17911 "-DHAVE_SYS_UIO_H",
17912 "-DNDEBUG",
17913 "-DNO_UNWIND_TABLES",
17914 "-DNVALGRIND",
17915 "-DOFFICIAL_BUILD",
17916 "-D_GNU_SOURCE",
17917 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17918 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17919 "-Oz",
17920 "-fdata-sections",
17921 "-ffunction-sections",
17922 "-fno-asynchronous-unwind-tables",
17923 "-fno-unwind-tables",
17924 "-fvisibility-inlines-hidden",
17925 "-fvisibility=hidden",
17926 "-g1",
17927 ],
17928 local_include_dirs: [
17929 "./",
17930 "buildtools/third_party/libc++/",
17931 "buildtools/third_party/libc++/trunk/include",
17932 "buildtools/third_party/libc++abi/trunk/include",
17933 "third_party/abseil-cpp/",
17934 ],
17935 cpp_std: "c++17",
17936 target: {
17937 android_arm: {
17938 cflags: [
17939 "-fstack-protector",
17940 ],
17941 },
17942 android_arm64: {
17943 cflags: [
17944 "-fstack-protector",
17945 "-mno-outline",
17946 "-mno-outline-atomics",
17947 ],
17948 },
17949 android_x86: {
17950 cflags: [
17951 "-msse3",
17952 ],
17953 },
17954 android_x86_64: {
17955 cflags: [
17956 "-fstack-protector",
17957 "-msse3",
17958 ],
17959 },
17960 },
17961}
17962
17963// GN: //third_party/abseil-cpp/absl/base:spinlock_wait__testing
17964cc_object {
17965 name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
17966 srcs: [
17967 "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
17968 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017969 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017970 defaults: [
17971 "cronet_aml_defaults",
17972 ],
17973 cflags: [
17974 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090017975 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17976 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017977 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017978 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090017979 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017980 "-DNVALGRIND",
17981 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017982 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017983 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017984 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017985 "-fdata-sections",
17986 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090017987 "-fno-asynchronous-unwind-tables",
17988 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017989 "-fvisibility-inlines-hidden",
17990 "-fvisibility=hidden",
17991 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017992 ],
17993 local_include_dirs: [
17994 "./",
17995 "buildtools/third_party/libc++/",
17996 "buildtools/third_party/libc++/trunk/include",
17997 "buildtools/third_party/libc++abi/trunk/include",
17998 "third_party/abseil-cpp/",
17999 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018000 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018001 android_arm: {
18002 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018003 "-DANDROID",
18004 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18005 "-DHAVE_SYS_UIO_H",
18006 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018007 "-fstack-protector",
18008 ],
18009 },
18010 android_arm64: {
18011 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018012 "-DANDROID",
18013 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18014 "-DHAVE_SYS_UIO_H",
18015 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018016 "-fstack-protector",
18017 "-mno-outline",
18018 "-mno-outline-atomics",
18019 ],
18020 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018021 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018022 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018023 "-DANDROID",
18024 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18025 "-DHAVE_SYS_UIO_H",
18026 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018027 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018028 ],
18029 },
18030 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018031 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018032 "-DANDROID",
18033 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18034 "-DHAVE_SYS_UIO_H",
18035 "-Oz",
18036 "-fstack-protector",
18037 "-msse3",
18038 ],
18039 },
18040 host: {
18041 cflags: [
18042 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18043 "-DUSE_AURA=1",
18044 "-DUSE_OZONE=1",
18045 "-DUSE_UDEV",
18046 "-D_FILE_OFFSET_BITS=64",
18047 "-D_LARGEFILE64_SOURCE",
18048 "-D_LARGEFILE_SOURCE",
18049 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018050 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018051 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018052 ],
18053 },
18054 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018055}
18056
18057// GN: //third_party/abseil-cpp/absl/base:strerror
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018058cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018059 name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018060 srcs: [
18061 "third_party/abseil-cpp/absl/base/internal/strerror.cc",
18062 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018063 defaults: [
18064 "cronet_aml_defaults",
18065 ],
18066 cflags: [
18067 "-DABSL_ALLOCATOR_NOTHROW=1",
18068 "-DANDROID",
18069 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18070 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18071 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18072 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18073 "-DHAVE_SYS_UIO_H",
18074 "-DNDEBUG",
18075 "-DNO_UNWIND_TABLES",
18076 "-DNVALGRIND",
18077 "-DOFFICIAL_BUILD",
18078 "-D_GNU_SOURCE",
18079 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18080 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18081 "-Oz",
18082 "-fdata-sections",
18083 "-ffunction-sections",
18084 "-fno-asynchronous-unwind-tables",
18085 "-fno-unwind-tables",
18086 "-fvisibility-inlines-hidden",
18087 "-fvisibility=hidden",
18088 "-g1",
18089 ],
18090 local_include_dirs: [
18091 "./",
18092 "buildtools/third_party/libc++/",
18093 "buildtools/third_party/libc++/trunk/include",
18094 "buildtools/third_party/libc++abi/trunk/include",
18095 "third_party/abseil-cpp/",
18096 ],
18097 cpp_std: "c++17",
18098 target: {
18099 android_arm: {
18100 cflags: [
18101 "-fstack-protector",
18102 ],
18103 },
18104 android_arm64: {
18105 cflags: [
18106 "-fstack-protector",
18107 "-mno-outline",
18108 "-mno-outline-atomics",
18109 ],
18110 },
18111 android_x86: {
18112 cflags: [
18113 "-msse3",
18114 ],
18115 },
18116 android_x86_64: {
18117 cflags: [
18118 "-fstack-protector",
18119 "-msse3",
18120 ],
18121 },
18122 },
18123}
18124
18125// GN: //third_party/abseil-cpp/absl/base:strerror__testing
18126cc_object {
18127 name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
18128 srcs: [
18129 "third_party/abseil-cpp/absl/base/internal/strerror.cc",
18130 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018131 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018132 defaults: [
18133 "cronet_aml_defaults",
18134 ],
18135 cflags: [
18136 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018137 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18138 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018139 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018140 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018141 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018142 "-DNVALGRIND",
18143 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018144 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018145 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018146 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018147 "-fdata-sections",
18148 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018149 "-fno-asynchronous-unwind-tables",
18150 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018151 "-fvisibility-inlines-hidden",
18152 "-fvisibility=hidden",
18153 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018154 ],
18155 local_include_dirs: [
18156 "./",
18157 "buildtools/third_party/libc++/",
18158 "buildtools/third_party/libc++/trunk/include",
18159 "buildtools/third_party/libc++abi/trunk/include",
18160 "third_party/abseil-cpp/",
18161 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018162 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018163 android_arm: {
18164 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018165 "-DANDROID",
18166 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18167 "-DHAVE_SYS_UIO_H",
18168 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018169 "-fstack-protector",
18170 ],
18171 },
18172 android_arm64: {
18173 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018174 "-DANDROID",
18175 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18176 "-DHAVE_SYS_UIO_H",
18177 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018178 "-fstack-protector",
18179 "-mno-outline",
18180 "-mno-outline-atomics",
18181 ],
18182 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018183 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018184 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018185 "-DANDROID",
18186 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18187 "-DHAVE_SYS_UIO_H",
18188 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018189 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018190 ],
18191 },
18192 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018193 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018194 "-DANDROID",
18195 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18196 "-DHAVE_SYS_UIO_H",
18197 "-Oz",
18198 "-fstack-protector",
18199 "-msse3",
18200 ],
18201 },
18202 host: {
18203 cflags: [
18204 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18205 "-DUSE_AURA=1",
18206 "-DUSE_OZONE=1",
18207 "-DUSE_UDEV",
18208 "-D_FILE_OFFSET_BITS=64",
18209 "-D_LARGEFILE64_SOURCE",
18210 "-D_LARGEFILE_SOURCE",
18211 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018212 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018213 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018214 ],
18215 },
18216 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018217}
18218
18219// GN: //third_party/abseil-cpp/absl/base:throw_delegate
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018220cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018221 name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018222 srcs: [
18223 "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
18224 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018225 defaults: [
18226 "cronet_aml_defaults",
18227 ],
18228 cflags: [
18229 "-DABSL_ALLOCATOR_NOTHROW=1",
18230 "-DANDROID",
18231 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18232 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18233 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18234 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18235 "-DHAVE_SYS_UIO_H",
18236 "-DNDEBUG",
18237 "-DNO_UNWIND_TABLES",
18238 "-DNVALGRIND",
18239 "-DOFFICIAL_BUILD",
18240 "-D_GNU_SOURCE",
18241 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18242 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18243 "-Oz",
18244 "-fdata-sections",
18245 "-ffunction-sections",
18246 "-fno-asynchronous-unwind-tables",
18247 "-fno-unwind-tables",
18248 "-fvisibility-inlines-hidden",
18249 "-fvisibility=hidden",
18250 "-g1",
18251 ],
18252 local_include_dirs: [
18253 "./",
18254 "buildtools/third_party/libc++/",
18255 "buildtools/third_party/libc++/trunk/include",
18256 "buildtools/third_party/libc++abi/trunk/include",
18257 "third_party/abseil-cpp/",
18258 ],
18259 cpp_std: "c++17",
18260 target: {
18261 android_arm: {
18262 cflags: [
18263 "-fstack-protector",
18264 ],
18265 },
18266 android_arm64: {
18267 cflags: [
18268 "-fstack-protector",
18269 "-mno-outline",
18270 "-mno-outline-atomics",
18271 ],
18272 },
18273 android_x86: {
18274 cflags: [
18275 "-msse3",
18276 ],
18277 },
18278 android_x86_64: {
18279 cflags: [
18280 "-fstack-protector",
18281 "-msse3",
18282 ],
18283 },
18284 },
18285}
18286
18287// GN: //third_party/abseil-cpp/absl/base:throw_delegate__testing
18288cc_object {
18289 name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
18290 srcs: [
18291 "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
18292 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018293 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018294 defaults: [
18295 "cronet_aml_defaults",
18296 ],
18297 cflags: [
18298 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018299 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18300 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018301 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018302 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018303 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018304 "-DNVALGRIND",
18305 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018306 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018307 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018308 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018309 "-fdata-sections",
18310 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018311 "-fno-asynchronous-unwind-tables",
18312 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018313 "-fvisibility-inlines-hidden",
18314 "-fvisibility=hidden",
18315 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018316 ],
18317 local_include_dirs: [
18318 "./",
18319 "buildtools/third_party/libc++/",
18320 "buildtools/third_party/libc++/trunk/include",
18321 "buildtools/third_party/libc++abi/trunk/include",
18322 "third_party/abseil-cpp/",
18323 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018324 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018325 android_arm: {
18326 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018327 "-DANDROID",
18328 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18329 "-DHAVE_SYS_UIO_H",
18330 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018331 "-fstack-protector",
18332 ],
18333 },
18334 android_arm64: {
18335 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018336 "-DANDROID",
18337 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18338 "-DHAVE_SYS_UIO_H",
18339 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018340 "-fstack-protector",
18341 "-mno-outline",
18342 "-mno-outline-atomics",
18343 ],
18344 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018345 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018346 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018347 "-DANDROID",
18348 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18349 "-DHAVE_SYS_UIO_H",
18350 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018351 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018352 ],
18353 },
18354 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018355 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018356 "-DANDROID",
18357 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18358 "-DHAVE_SYS_UIO_H",
18359 "-Oz",
18360 "-fstack-protector",
18361 "-msse3",
18362 ],
18363 },
18364 host: {
18365 cflags: [
18366 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18367 "-DUSE_AURA=1",
18368 "-DUSE_OZONE=1",
18369 "-DUSE_UDEV",
18370 "-D_FILE_OFFSET_BITS=64",
18371 "-D_LARGEFILE64_SOURCE",
18372 "-D_LARGEFILE_SOURCE",
18373 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018374 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018375 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018376 ],
18377 },
18378 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018379}
18380
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018381// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler
18382cc_object {
18383 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
18384 srcs: [
18385 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
18386 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
18387 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018388 defaults: [
18389 "cronet_aml_defaults",
18390 ],
18391 cflags: [
18392 "-DABSL_ALLOCATOR_NOTHROW=1",
18393 "-DANDROID",
18394 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18395 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18396 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18397 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18398 "-DHAVE_SYS_UIO_H",
18399 "-DNDEBUG",
18400 "-DNO_UNWIND_TABLES",
18401 "-DNVALGRIND",
18402 "-DOFFICIAL_BUILD",
18403 "-D_GNU_SOURCE",
18404 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18405 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18406 "-Oz",
18407 "-fdata-sections",
18408 "-ffunction-sections",
18409 "-fno-asynchronous-unwind-tables",
18410 "-fno-unwind-tables",
18411 "-fvisibility-inlines-hidden",
18412 "-fvisibility=hidden",
18413 "-g1",
18414 ],
18415 local_include_dirs: [
18416 "./",
18417 "buildtools/third_party/libc++/",
18418 "buildtools/third_party/libc++/trunk/include",
18419 "buildtools/third_party/libc++abi/trunk/include",
18420 "third_party/abseil-cpp/",
18421 ],
18422 cpp_std: "c++17",
18423 target: {
18424 android_arm: {
18425 cflags: [
18426 "-fstack-protector",
18427 ],
18428 },
18429 android_arm64: {
18430 cflags: [
18431 "-fstack-protector",
18432 "-mno-outline",
18433 "-mno-outline-atomics",
18434 ],
18435 },
18436 android_x86: {
18437 cflags: [
18438 "-msse3",
18439 ],
18440 },
18441 android_x86_64: {
18442 cflags: [
18443 "-fstack-protector",
18444 "-msse3",
18445 ],
18446 },
18447 },
18448}
18449
18450// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler__testing
18451cc_object {
18452 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
18453 srcs: [
18454 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
18455 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
18456 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018457 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018458 defaults: [
18459 "cronet_aml_defaults",
18460 ],
18461 cflags: [
18462 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018463 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18464 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018465 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018466 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018467 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018468 "-DNVALGRIND",
18469 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018470 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018471 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018472 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018473 "-fdata-sections",
18474 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018475 "-fno-asynchronous-unwind-tables",
18476 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018477 "-fvisibility-inlines-hidden",
18478 "-fvisibility=hidden",
18479 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018480 ],
18481 local_include_dirs: [
18482 "./",
18483 "buildtools/third_party/libc++/",
18484 "buildtools/third_party/libc++/trunk/include",
18485 "buildtools/third_party/libc++abi/trunk/include",
18486 "third_party/abseil-cpp/",
18487 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018488 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018489 android_arm: {
18490 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018491 "-DANDROID",
18492 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18493 "-DHAVE_SYS_UIO_H",
18494 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018495 "-fstack-protector",
18496 ],
18497 },
18498 android_arm64: {
18499 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018500 "-DANDROID",
18501 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18502 "-DHAVE_SYS_UIO_H",
18503 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018504 "-fstack-protector",
18505 "-mno-outline",
18506 "-mno-outline-atomics",
18507 ],
18508 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018509 android_x86: {
18510 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018511 "-DANDROID",
18512 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18513 "-DHAVE_SYS_UIO_H",
18514 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018515 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018516 ],
18517 },
18518 android_x86_64: {
18519 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018520 "-DANDROID",
18521 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18522 "-DHAVE_SYS_UIO_H",
18523 "-Oz",
18524 "-fstack-protector",
18525 "-msse3",
18526 ],
18527 },
18528 host: {
18529 cflags: [
18530 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18531 "-DUSE_AURA=1",
18532 "-DUSE_OZONE=1",
18533 "-DUSE_UDEV",
18534 "-D_FILE_OFFSET_BITS=64",
18535 "-D_LARGEFILE64_SOURCE",
18536 "-D_LARGEFILE_SOURCE",
18537 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018538 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018539 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018540 ],
18541 },
18542 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018543}
18544
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018545// GN: //third_party/abseil-cpp/absl/container:raw_hash_set
18546cc_object {
18547 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
18548 srcs: [
18549 "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
18550 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018551 defaults: [
18552 "cronet_aml_defaults",
18553 ],
18554 cflags: [
18555 "-DABSL_ALLOCATOR_NOTHROW=1",
18556 "-DANDROID",
18557 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18558 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18559 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18560 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18561 "-DHAVE_SYS_UIO_H",
18562 "-DNDEBUG",
18563 "-DNO_UNWIND_TABLES",
18564 "-DNVALGRIND",
18565 "-DOFFICIAL_BUILD",
18566 "-D_GNU_SOURCE",
18567 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18568 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18569 "-Oz",
18570 "-fdata-sections",
18571 "-ffunction-sections",
18572 "-fno-asynchronous-unwind-tables",
18573 "-fno-unwind-tables",
18574 "-fvisibility-inlines-hidden",
18575 "-fvisibility=hidden",
18576 "-g1",
18577 ],
18578 local_include_dirs: [
18579 "./",
18580 "buildtools/third_party/libc++/",
18581 "buildtools/third_party/libc++/trunk/include",
18582 "buildtools/third_party/libc++abi/trunk/include",
18583 "third_party/abseil-cpp/",
18584 ],
18585 cpp_std: "c++17",
18586 target: {
18587 android_arm: {
18588 cflags: [
18589 "-fstack-protector",
18590 ],
18591 },
18592 android_arm64: {
18593 cflags: [
18594 "-fstack-protector",
18595 "-mno-outline",
18596 "-mno-outline-atomics",
18597 ],
18598 },
18599 android_x86: {
18600 cflags: [
18601 "-msse3",
18602 ],
18603 },
18604 android_x86_64: {
18605 cflags: [
18606 "-fstack-protector",
18607 "-msse3",
18608 ],
18609 },
18610 },
18611}
18612
18613// GN: //third_party/abseil-cpp/absl/container:raw_hash_set__testing
18614cc_object {
18615 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
18616 srcs: [
18617 "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
18618 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018619 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018620 defaults: [
18621 "cronet_aml_defaults",
18622 ],
18623 cflags: [
18624 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018625 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18626 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018627 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018628 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018629 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018630 "-DNVALGRIND",
18631 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018632 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018633 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018634 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018635 "-fdata-sections",
18636 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018637 "-fno-asynchronous-unwind-tables",
18638 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018639 "-fvisibility-inlines-hidden",
18640 "-fvisibility=hidden",
18641 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018642 ],
18643 local_include_dirs: [
18644 "./",
18645 "buildtools/third_party/libc++/",
18646 "buildtools/third_party/libc++/trunk/include",
18647 "buildtools/third_party/libc++abi/trunk/include",
18648 "third_party/abseil-cpp/",
18649 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018650 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018651 android_arm: {
18652 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018653 "-DANDROID",
18654 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18655 "-DHAVE_SYS_UIO_H",
18656 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018657 "-fstack-protector",
18658 ],
18659 },
18660 android_arm64: {
18661 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018662 "-DANDROID",
18663 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18664 "-DHAVE_SYS_UIO_H",
18665 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018666 "-fstack-protector",
18667 "-mno-outline",
18668 "-mno-outline-atomics",
18669 ],
18670 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018671 android_x86: {
18672 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018673 "-DANDROID",
18674 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18675 "-DHAVE_SYS_UIO_H",
18676 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018677 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018678 ],
18679 },
18680 android_x86_64: {
18681 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018682 "-DANDROID",
18683 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18684 "-DHAVE_SYS_UIO_H",
18685 "-Oz",
18686 "-fstack-protector",
18687 "-msse3",
18688 ],
18689 },
18690 host: {
18691 cflags: [
18692 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18693 "-DUSE_AURA=1",
18694 "-DUSE_OZONE=1",
18695 "-DUSE_UDEV",
18696 "-D_FILE_OFFSET_BITS=64",
18697 "-D_LARGEFILE64_SOURCE",
18698 "-D_LARGEFILE_SOURCE",
18699 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018700 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018701 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018702 ],
18703 },
18704 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018705}
18706
18707// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018708cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018709 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018710 srcs: [
18711 "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
18712 "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
18713 "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
18714 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018715 defaults: [
18716 "cronet_aml_defaults",
18717 ],
18718 cflags: [
18719 "-DABSL_ALLOCATOR_NOTHROW=1",
18720 "-DANDROID",
18721 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18722 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18723 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18724 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18725 "-DHAVE_SYS_UIO_H",
18726 "-DNDEBUG",
18727 "-DNO_UNWIND_TABLES",
18728 "-DNVALGRIND",
18729 "-DOFFICIAL_BUILD",
18730 "-D_GNU_SOURCE",
18731 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18732 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18733 "-Oz",
18734 "-fdata-sections",
18735 "-ffunction-sections",
18736 "-fno-asynchronous-unwind-tables",
18737 "-fno-unwind-tables",
18738 "-fvisibility-inlines-hidden",
18739 "-fvisibility=hidden",
18740 "-g1",
18741 ],
18742 local_include_dirs: [
18743 "./",
18744 "buildtools/third_party/libc++/",
18745 "buildtools/third_party/libc++/trunk/include",
18746 "buildtools/third_party/libc++abi/trunk/include",
18747 "third_party/abseil-cpp/",
18748 ],
18749 cpp_std: "c++17",
18750 target: {
18751 android_arm: {
18752 cflags: [
18753 "-fstack-protector",
18754 ],
18755 },
18756 android_arm64: {
18757 cflags: [
18758 "-fstack-protector",
18759 "-mno-outline",
18760 "-mno-outline-atomics",
18761 ],
18762 },
18763 android_x86: {
18764 cflags: [
18765 "-msse3",
18766 ],
18767 },
18768 android_x86_64: {
18769 cflags: [
18770 "-fstack-protector",
18771 "-msse3",
18772 ],
18773 },
18774 },
18775}
18776
18777// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal__testing
18778cc_object {
18779 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
18780 srcs: [
18781 "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
18782 "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
18783 "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
18784 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018785 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018786 defaults: [
18787 "cronet_aml_defaults",
18788 ],
18789 cflags: [
18790 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018791 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18792 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018793 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018794 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018795 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018796 "-DNVALGRIND",
18797 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018798 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018799 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018800 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018801 "-fdata-sections",
18802 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018803 "-fno-asynchronous-unwind-tables",
18804 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018805 "-fvisibility-inlines-hidden",
18806 "-fvisibility=hidden",
18807 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018808 ],
18809 local_include_dirs: [
18810 "./",
18811 "buildtools/third_party/libc++/",
18812 "buildtools/third_party/libc++/trunk/include",
18813 "buildtools/third_party/libc++abi/trunk/include",
18814 "third_party/abseil-cpp/",
18815 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018816 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018817 android_arm: {
18818 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018819 "-DANDROID",
18820 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18821 "-DHAVE_SYS_UIO_H",
18822 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018823 "-fstack-protector",
18824 ],
18825 },
18826 android_arm64: {
18827 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018828 "-DANDROID",
18829 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18830 "-DHAVE_SYS_UIO_H",
18831 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018832 "-fstack-protector",
18833 "-mno-outline",
18834 "-mno-outline-atomics",
18835 ],
18836 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018837 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018838 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018839 "-DANDROID",
18840 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18841 "-DHAVE_SYS_UIO_H",
18842 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018843 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018844 ],
18845 },
18846 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018847 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018848 "-DANDROID",
18849 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18850 "-DHAVE_SYS_UIO_H",
18851 "-Oz",
18852 "-fstack-protector",
18853 "-msse3",
18854 ],
18855 },
18856 host: {
18857 cflags: [
18858 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18859 "-DUSE_AURA=1",
18860 "-DUSE_OZONE=1",
18861 "-DUSE_UDEV",
18862 "-D_FILE_OFFSET_BITS=64",
18863 "-D_LARGEFILE64_SOURCE",
18864 "-D_LARGEFILE_SOURCE",
18865 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018866 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018867 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018868 ],
18869 },
18870 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018871}
18872
18873// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018874cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018875 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018876 srcs: [
18877 "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
18878 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018879 defaults: [
18880 "cronet_aml_defaults",
18881 ],
18882 cflags: [
18883 "-DABSL_ALLOCATOR_NOTHROW=1",
18884 "-DANDROID",
18885 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18886 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18887 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18888 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18889 "-DHAVE_SYS_UIO_H",
18890 "-DNDEBUG",
18891 "-DNO_UNWIND_TABLES",
18892 "-DNVALGRIND",
18893 "-DOFFICIAL_BUILD",
18894 "-D_GNU_SOURCE",
18895 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18896 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18897 "-Oz",
18898 "-fdata-sections",
18899 "-ffunction-sections",
18900 "-fno-asynchronous-unwind-tables",
18901 "-fno-unwind-tables",
18902 "-fvisibility-inlines-hidden",
18903 "-fvisibility=hidden",
18904 "-g1",
18905 ],
18906 local_include_dirs: [
18907 "./",
18908 "buildtools/third_party/libc++/",
18909 "buildtools/third_party/libc++/trunk/include",
18910 "buildtools/third_party/libc++abi/trunk/include",
18911 "third_party/abseil-cpp/",
18912 ],
18913 cpp_std: "c++17",
18914 target: {
18915 android_arm: {
18916 cflags: [
18917 "-fstack-protector",
18918 ],
18919 },
18920 android_arm64: {
18921 cflags: [
18922 "-fstack-protector",
18923 "-mno-outline",
18924 "-mno-outline-atomics",
18925 ],
18926 },
18927 android_x86: {
18928 cflags: [
18929 "-msse3",
18930 ],
18931 },
18932 android_x86_64: {
18933 cflags: [
18934 "-fstack-protector",
18935 "-msse3",
18936 ],
18937 },
18938 },
18939}
18940
18941// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal__testing
18942cc_object {
18943 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
18944 srcs: [
18945 "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
18946 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018947 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018948 defaults: [
18949 "cronet_aml_defaults",
18950 ],
18951 cflags: [
18952 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018953 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18954 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018955 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018956 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018957 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018958 "-DNVALGRIND",
18959 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018960 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018961 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018962 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018963 "-fdata-sections",
18964 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018965 "-fno-asynchronous-unwind-tables",
18966 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018967 "-fvisibility-inlines-hidden",
18968 "-fvisibility=hidden",
18969 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018970 ],
18971 local_include_dirs: [
18972 "./",
18973 "buildtools/third_party/libc++/",
18974 "buildtools/third_party/libc++/trunk/include",
18975 "buildtools/third_party/libc++abi/trunk/include",
18976 "third_party/abseil-cpp/",
18977 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018978 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018979 android_arm: {
18980 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018981 "-DANDROID",
18982 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18983 "-DHAVE_SYS_UIO_H",
18984 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018985 "-fstack-protector",
18986 ],
18987 },
18988 android_arm64: {
18989 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018990 "-DANDROID",
18991 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18992 "-DHAVE_SYS_UIO_H",
18993 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018994 "-fstack-protector",
18995 "-mno-outline",
18996 "-mno-outline-atomics",
18997 ],
18998 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018999 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019000 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019001 "-DANDROID",
19002 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19003 "-DHAVE_SYS_UIO_H",
19004 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019005 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019006 ],
19007 },
19008 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019009 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019010 "-DANDROID",
19011 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19012 "-DHAVE_SYS_UIO_H",
19013 "-Oz",
19014 "-fstack-protector",
19015 "-msse3",
19016 ],
19017 },
19018 host: {
19019 cflags: [
19020 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19021 "-DUSE_AURA=1",
19022 "-DUSE_OZONE=1",
19023 "-DUSE_UDEV",
19024 "-D_FILE_OFFSET_BITS=64",
19025 "-D_LARGEFILE64_SOURCE",
19026 "-D_LARGEFILE_SOURCE",
19027 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019028 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019029 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019030 ],
19031 },
19032 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019033}
19034
19035// GN: //third_party/abseil-cpp/absl/debugging:examine_stack
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019036cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019037 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019038 srcs: [
19039 "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
19040 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019041 defaults: [
19042 "cronet_aml_defaults",
19043 ],
19044 cflags: [
19045 "-DABSL_ALLOCATOR_NOTHROW=1",
19046 "-DANDROID",
19047 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19048 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19049 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19050 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19051 "-DHAVE_SYS_UIO_H",
19052 "-DNDEBUG",
19053 "-DNO_UNWIND_TABLES",
19054 "-DNVALGRIND",
19055 "-DOFFICIAL_BUILD",
19056 "-D_GNU_SOURCE",
19057 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19058 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19059 "-Oz",
19060 "-fdata-sections",
19061 "-ffunction-sections",
19062 "-fno-asynchronous-unwind-tables",
19063 "-fno-unwind-tables",
19064 "-fvisibility-inlines-hidden",
19065 "-fvisibility=hidden",
19066 "-g1",
19067 ],
19068 local_include_dirs: [
19069 "./",
19070 "buildtools/third_party/libc++/",
19071 "buildtools/third_party/libc++/trunk/include",
19072 "buildtools/third_party/libc++abi/trunk/include",
19073 "third_party/abseil-cpp/",
19074 ],
19075 cpp_std: "c++17",
19076 target: {
19077 android_arm: {
19078 cflags: [
19079 "-fstack-protector",
19080 ],
19081 },
19082 android_arm64: {
19083 cflags: [
19084 "-fstack-protector",
19085 "-mno-outline",
19086 "-mno-outline-atomics",
19087 ],
19088 },
19089 android_x86: {
19090 cflags: [
19091 "-msse3",
19092 ],
19093 },
19094 android_x86_64: {
19095 cflags: [
19096 "-fstack-protector",
19097 "-msse3",
19098 ],
19099 },
19100 },
19101}
19102
19103// GN: //third_party/abseil-cpp/absl/debugging:examine_stack__testing
19104cc_object {
19105 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
19106 srcs: [
19107 "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
19108 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019109 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019110 defaults: [
19111 "cronet_aml_defaults",
19112 ],
19113 cflags: [
19114 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019115 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19116 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019117 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019118 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019119 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019120 "-DNVALGRIND",
19121 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019122 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019123 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019124 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019125 "-fdata-sections",
19126 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019127 "-fno-asynchronous-unwind-tables",
19128 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019129 "-fvisibility-inlines-hidden",
19130 "-fvisibility=hidden",
19131 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019132 ],
19133 local_include_dirs: [
19134 "./",
19135 "buildtools/third_party/libc++/",
19136 "buildtools/third_party/libc++/trunk/include",
19137 "buildtools/third_party/libc++abi/trunk/include",
19138 "third_party/abseil-cpp/",
19139 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019140 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019141 android_arm: {
19142 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019143 "-DANDROID",
19144 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19145 "-DHAVE_SYS_UIO_H",
19146 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019147 "-fstack-protector",
19148 ],
19149 },
19150 android_arm64: {
19151 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019152 "-DANDROID",
19153 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19154 "-DHAVE_SYS_UIO_H",
19155 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019156 "-fstack-protector",
19157 "-mno-outline",
19158 "-mno-outline-atomics",
19159 ],
19160 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019161 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019162 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019163 "-DANDROID",
19164 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19165 "-DHAVE_SYS_UIO_H",
19166 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019167 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019168 ],
19169 },
19170 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019171 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019172 "-DANDROID",
19173 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19174 "-DHAVE_SYS_UIO_H",
19175 "-Oz",
19176 "-fstack-protector",
19177 "-msse3",
19178 ],
19179 },
19180 host: {
19181 cflags: [
19182 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19183 "-DUSE_AURA=1",
19184 "-DUSE_OZONE=1",
19185 "-DUSE_UDEV",
19186 "-D_FILE_OFFSET_BITS=64",
19187 "-D_LARGEFILE64_SOURCE",
19188 "-D_LARGEFILE_SOURCE",
19189 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019190 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019191 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019192 ],
19193 },
19194 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019195}
19196
19197// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019198cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019199 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019200 srcs: [
19201 "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
19202 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019203 defaults: [
19204 "cronet_aml_defaults",
19205 ],
19206 cflags: [
19207 "-DABSL_ALLOCATOR_NOTHROW=1",
19208 "-DANDROID",
19209 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19210 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19211 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19212 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19213 "-DHAVE_SYS_UIO_H",
19214 "-DNDEBUG",
19215 "-DNO_UNWIND_TABLES",
19216 "-DNVALGRIND",
19217 "-DOFFICIAL_BUILD",
19218 "-D_GNU_SOURCE",
19219 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19220 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19221 "-Oz",
19222 "-fdata-sections",
19223 "-ffunction-sections",
19224 "-fno-asynchronous-unwind-tables",
19225 "-fno-unwind-tables",
19226 "-fvisibility-inlines-hidden",
19227 "-fvisibility=hidden",
19228 "-g1",
19229 ],
19230 local_include_dirs: [
19231 "./",
19232 "buildtools/third_party/libc++/",
19233 "buildtools/third_party/libc++/trunk/include",
19234 "buildtools/third_party/libc++abi/trunk/include",
19235 "third_party/abseil-cpp/",
19236 ],
19237 cpp_std: "c++17",
19238 target: {
19239 android_arm: {
19240 cflags: [
19241 "-fstack-protector",
19242 ],
19243 },
19244 android_arm64: {
19245 cflags: [
19246 "-fstack-protector",
19247 "-mno-outline",
19248 "-mno-outline-atomics",
19249 ],
19250 },
19251 android_x86: {
19252 cflags: [
19253 "-msse3",
19254 ],
19255 },
19256 android_x86_64: {
19257 cflags: [
19258 "-fstack-protector",
19259 "-msse3",
19260 ],
19261 },
19262 },
19263}
19264
19265// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler__testing
19266cc_object {
19267 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
19268 srcs: [
19269 "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
19270 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019271 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019272 defaults: [
19273 "cronet_aml_defaults",
19274 ],
19275 cflags: [
19276 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019277 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19278 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019279 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019280 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019281 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019282 "-DNVALGRIND",
19283 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019284 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019285 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019286 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019287 "-fdata-sections",
19288 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019289 "-fno-asynchronous-unwind-tables",
19290 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019291 "-fvisibility-inlines-hidden",
19292 "-fvisibility=hidden",
19293 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019294 ],
19295 local_include_dirs: [
19296 "./",
19297 "buildtools/third_party/libc++/",
19298 "buildtools/third_party/libc++/trunk/include",
19299 "buildtools/third_party/libc++abi/trunk/include",
19300 "third_party/abseil-cpp/",
19301 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019302 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019303 android_arm: {
19304 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019305 "-DANDROID",
19306 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19307 "-DHAVE_SYS_UIO_H",
19308 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019309 "-fstack-protector",
19310 ],
19311 },
19312 android_arm64: {
19313 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019314 "-DANDROID",
19315 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19316 "-DHAVE_SYS_UIO_H",
19317 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019318 "-fstack-protector",
19319 "-mno-outline",
19320 "-mno-outline-atomics",
19321 ],
19322 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019323 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019324 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019325 "-DANDROID",
19326 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19327 "-DHAVE_SYS_UIO_H",
19328 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019329 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019330 ],
19331 },
19332 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019333 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019334 "-DANDROID",
19335 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19336 "-DHAVE_SYS_UIO_H",
19337 "-Oz",
19338 "-fstack-protector",
19339 "-msse3",
19340 ],
19341 },
19342 host: {
19343 cflags: [
19344 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19345 "-DUSE_AURA=1",
19346 "-DUSE_OZONE=1",
19347 "-DUSE_UDEV",
19348 "-D_FILE_OFFSET_BITS=64",
19349 "-D_LARGEFILE64_SOURCE",
19350 "-D_LARGEFILE_SOURCE",
19351 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019352 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019353 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019354 ],
19355 },
19356 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019357}
19358
19359// GN: //third_party/abseil-cpp/absl/debugging:stacktrace
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019360cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019361 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019362 srcs: [
19363 "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
19364 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019365 defaults: [
19366 "cronet_aml_defaults",
19367 ],
19368 cflags: [
19369 "-DABSL_ALLOCATOR_NOTHROW=1",
19370 "-DANDROID",
19371 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19372 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19373 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19374 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19375 "-DHAVE_SYS_UIO_H",
19376 "-DNDEBUG",
19377 "-DNO_UNWIND_TABLES",
19378 "-DNVALGRIND",
19379 "-DOFFICIAL_BUILD",
19380 "-D_GNU_SOURCE",
19381 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19382 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19383 "-Oz",
19384 "-fdata-sections",
19385 "-ffunction-sections",
19386 "-fno-asynchronous-unwind-tables",
19387 "-fno-unwind-tables",
19388 "-fvisibility-inlines-hidden",
19389 "-fvisibility=hidden",
19390 "-g1",
19391 ],
19392 local_include_dirs: [
19393 "./",
19394 "buildtools/third_party/libc++/",
19395 "buildtools/third_party/libc++/trunk/include",
19396 "buildtools/third_party/libc++abi/trunk/include",
19397 "third_party/abseil-cpp/",
19398 ],
19399 cpp_std: "c++17",
19400 target: {
19401 android_arm: {
19402 cflags: [
19403 "-fstack-protector",
19404 ],
19405 },
19406 android_arm64: {
19407 cflags: [
19408 "-fstack-protector",
19409 "-mno-outline",
19410 "-mno-outline-atomics",
19411 ],
19412 },
19413 android_x86: {
19414 cflags: [
19415 "-msse3",
19416 ],
19417 },
19418 android_x86_64: {
19419 cflags: [
19420 "-fstack-protector",
19421 "-msse3",
19422 ],
19423 },
19424 },
19425}
19426
19427// GN: //third_party/abseil-cpp/absl/debugging:stacktrace__testing
19428cc_object {
19429 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
19430 srcs: [
19431 "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
19432 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019433 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019434 defaults: [
19435 "cronet_aml_defaults",
19436 ],
19437 cflags: [
19438 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019439 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19440 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019441 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019442 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019443 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019444 "-DNVALGRIND",
19445 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019446 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019447 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019448 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019449 "-fdata-sections",
19450 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019451 "-fno-asynchronous-unwind-tables",
19452 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019453 "-fvisibility-inlines-hidden",
19454 "-fvisibility=hidden",
19455 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019456 ],
19457 local_include_dirs: [
19458 "./",
19459 "buildtools/third_party/libc++/",
19460 "buildtools/third_party/libc++/trunk/include",
19461 "buildtools/third_party/libc++abi/trunk/include",
19462 "third_party/abseil-cpp/",
19463 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019464 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019465 android_arm: {
19466 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019467 "-DANDROID",
19468 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19469 "-DHAVE_SYS_UIO_H",
19470 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019471 "-fstack-protector",
19472 ],
19473 },
19474 android_arm64: {
19475 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019476 "-DANDROID",
19477 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19478 "-DHAVE_SYS_UIO_H",
19479 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019480 "-fstack-protector",
19481 "-mno-outline",
19482 "-mno-outline-atomics",
19483 ],
19484 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019485 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019486 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019487 "-DANDROID",
19488 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19489 "-DHAVE_SYS_UIO_H",
19490 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019491 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019492 ],
19493 },
19494 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019495 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019496 "-DANDROID",
19497 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19498 "-DHAVE_SYS_UIO_H",
19499 "-Oz",
19500 "-fstack-protector",
19501 "-msse3",
19502 ],
19503 },
19504 host: {
19505 cflags: [
19506 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19507 "-DUSE_AURA=1",
19508 "-DUSE_OZONE=1",
19509 "-DUSE_UDEV",
19510 "-D_FILE_OFFSET_BITS=64",
19511 "-D_LARGEFILE64_SOURCE",
19512 "-D_LARGEFILE_SOURCE",
19513 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019514 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019515 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019516 ],
19517 },
19518 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019519}
19520
19521// GN: //third_party/abseil-cpp/absl/debugging:symbolize
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019522cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019523 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019524 srcs: [
19525 "third_party/abseil-cpp/absl/debugging/symbolize.cc",
19526 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019527 defaults: [
19528 "cronet_aml_defaults",
19529 ],
19530 cflags: [
19531 "-DABSL_ALLOCATOR_NOTHROW=1",
19532 "-DANDROID",
19533 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19534 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19535 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19536 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19537 "-DHAVE_SYS_UIO_H",
19538 "-DNDEBUG",
19539 "-DNO_UNWIND_TABLES",
19540 "-DNVALGRIND",
19541 "-DOFFICIAL_BUILD",
19542 "-D_GNU_SOURCE",
19543 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19544 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19545 "-Oz",
19546 "-fdata-sections",
19547 "-ffunction-sections",
19548 "-fno-asynchronous-unwind-tables",
19549 "-fno-unwind-tables",
19550 "-fvisibility-inlines-hidden",
19551 "-fvisibility=hidden",
19552 "-g1",
19553 ],
19554 local_include_dirs: [
19555 "./",
19556 "buildtools/third_party/libc++/",
19557 "buildtools/third_party/libc++/trunk/include",
19558 "buildtools/third_party/libc++abi/trunk/include",
19559 "third_party/abseil-cpp/",
19560 ],
19561 cpp_std: "c++17",
19562 target: {
19563 android_arm: {
19564 cflags: [
19565 "-fstack-protector",
19566 ],
19567 },
19568 android_arm64: {
19569 cflags: [
19570 "-fstack-protector",
19571 "-mno-outline",
19572 "-mno-outline-atomics",
19573 ],
19574 },
19575 android_x86: {
19576 cflags: [
19577 "-msse3",
19578 ],
19579 },
19580 android_x86_64: {
19581 cflags: [
19582 "-fstack-protector",
19583 "-msse3",
19584 ],
19585 },
19586 },
19587}
19588
19589// GN: //third_party/abseil-cpp/absl/debugging:symbolize__testing
19590cc_object {
19591 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
19592 srcs: [
19593 "third_party/abseil-cpp/absl/debugging/symbolize.cc",
19594 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019595 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019596 defaults: [
19597 "cronet_aml_defaults",
19598 ],
19599 cflags: [
19600 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019601 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19602 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019603 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019604 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019605 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019606 "-DNVALGRIND",
19607 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019608 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019609 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019610 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019611 "-fdata-sections",
19612 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019613 "-fno-asynchronous-unwind-tables",
19614 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019615 "-fvisibility-inlines-hidden",
19616 "-fvisibility=hidden",
19617 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019618 ],
19619 local_include_dirs: [
19620 "./",
19621 "buildtools/third_party/libc++/",
19622 "buildtools/third_party/libc++/trunk/include",
19623 "buildtools/third_party/libc++abi/trunk/include",
19624 "third_party/abseil-cpp/",
19625 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019626 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019627 android_arm: {
19628 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019629 "-DANDROID",
19630 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19631 "-DHAVE_SYS_UIO_H",
19632 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019633 "-fstack-protector",
19634 ],
19635 },
19636 android_arm64: {
19637 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019638 "-DANDROID",
19639 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19640 "-DHAVE_SYS_UIO_H",
19641 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019642 "-fstack-protector",
19643 "-mno-outline",
19644 "-mno-outline-atomics",
19645 ],
19646 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019647 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019648 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019649 "-DANDROID",
19650 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19651 "-DHAVE_SYS_UIO_H",
19652 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019653 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019654 ],
19655 },
19656 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019657 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019658 "-DANDROID",
19659 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19660 "-DHAVE_SYS_UIO_H",
19661 "-Oz",
19662 "-fstack-protector",
19663 "-msse3",
19664 ],
19665 },
19666 host: {
19667 cflags: [
19668 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19669 "-DUSE_AURA=1",
19670 "-DUSE_OZONE=1",
19671 "-DUSE_UDEV",
19672 "-D_FILE_OFFSET_BITS=64",
19673 "-D_LARGEFILE64_SOURCE",
19674 "-D_LARGEFILE_SOURCE",
19675 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019676 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019677 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019678 ],
19679 },
19680 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019681}
19682
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019683// GN: //third_party/abseil-cpp/absl/hash:city
19684cc_object {
19685 name: "cronet_aml_third_party_abseil_cpp_absl_hash_city",
19686 srcs: [
19687 "third_party/abseil-cpp/absl/hash/internal/city.cc",
19688 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019689 defaults: [
19690 "cronet_aml_defaults",
19691 ],
19692 cflags: [
19693 "-DABSL_ALLOCATOR_NOTHROW=1",
19694 "-DANDROID",
19695 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19696 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19697 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19698 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19699 "-DHAVE_SYS_UIO_H",
19700 "-DNDEBUG",
19701 "-DNO_UNWIND_TABLES",
19702 "-DNVALGRIND",
19703 "-DOFFICIAL_BUILD",
19704 "-D_GNU_SOURCE",
19705 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19706 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19707 "-Oz",
19708 "-fdata-sections",
19709 "-ffunction-sections",
19710 "-fno-asynchronous-unwind-tables",
19711 "-fno-unwind-tables",
19712 "-fvisibility-inlines-hidden",
19713 "-fvisibility=hidden",
19714 "-g1",
19715 ],
19716 local_include_dirs: [
19717 "./",
19718 "buildtools/third_party/libc++/",
19719 "buildtools/third_party/libc++/trunk/include",
19720 "buildtools/third_party/libc++abi/trunk/include",
19721 "third_party/abseil-cpp/",
19722 ],
19723 cpp_std: "c++17",
19724 target: {
19725 android_arm: {
19726 cflags: [
19727 "-fstack-protector",
19728 ],
19729 },
19730 android_arm64: {
19731 cflags: [
19732 "-fstack-protector",
19733 "-mno-outline",
19734 "-mno-outline-atomics",
19735 ],
19736 },
19737 android_x86: {
19738 cflags: [
19739 "-msse3",
19740 ],
19741 },
19742 android_x86_64: {
19743 cflags: [
19744 "-fstack-protector",
19745 "-msse3",
19746 ],
19747 },
19748 },
19749}
19750
19751// GN: //third_party/abseil-cpp/absl/hash:city__testing
19752cc_object {
19753 name: "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
19754 srcs: [
19755 "third_party/abseil-cpp/absl/hash/internal/city.cc",
19756 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019757 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019758 defaults: [
19759 "cronet_aml_defaults",
19760 ],
19761 cflags: [
19762 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019763 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19764 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019765 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019766 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019767 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019768 "-DNVALGRIND",
19769 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019770 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019771 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019772 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019773 "-fdata-sections",
19774 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019775 "-fno-asynchronous-unwind-tables",
19776 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019777 "-fvisibility-inlines-hidden",
19778 "-fvisibility=hidden",
19779 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019780 ],
19781 local_include_dirs: [
19782 "./",
19783 "buildtools/third_party/libc++/",
19784 "buildtools/third_party/libc++/trunk/include",
19785 "buildtools/third_party/libc++abi/trunk/include",
19786 "third_party/abseil-cpp/",
19787 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019788 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019789 android_arm: {
19790 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019791 "-DANDROID",
19792 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19793 "-DHAVE_SYS_UIO_H",
19794 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019795 "-fstack-protector",
19796 ],
19797 },
19798 android_arm64: {
19799 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019800 "-DANDROID",
19801 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19802 "-DHAVE_SYS_UIO_H",
19803 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019804 "-fstack-protector",
19805 "-mno-outline",
19806 "-mno-outline-atomics",
19807 ],
19808 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019809 android_x86: {
19810 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019811 "-DANDROID",
19812 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19813 "-DHAVE_SYS_UIO_H",
19814 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019815 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019816 ],
19817 },
19818 android_x86_64: {
19819 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019820 "-DANDROID",
19821 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19822 "-DHAVE_SYS_UIO_H",
19823 "-Oz",
19824 "-fstack-protector",
19825 "-msse3",
19826 ],
19827 },
19828 host: {
19829 cflags: [
19830 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19831 "-DUSE_AURA=1",
19832 "-DUSE_OZONE=1",
19833 "-DUSE_UDEV",
19834 "-D_FILE_OFFSET_BITS=64",
19835 "-D_LARGEFILE64_SOURCE",
19836 "-D_LARGEFILE_SOURCE",
19837 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019838 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019839 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019840 ],
19841 },
19842 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019843}
19844
19845// GN: //third_party/abseil-cpp/absl/hash:hash
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019846cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019847 name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019848 srcs: [
19849 "third_party/abseil-cpp/absl/hash/internal/hash.cc",
19850 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019851 defaults: [
19852 "cronet_aml_defaults",
19853 ],
19854 cflags: [
19855 "-DABSL_ALLOCATOR_NOTHROW=1",
19856 "-DANDROID",
19857 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19858 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19859 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19860 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19861 "-DHAVE_SYS_UIO_H",
19862 "-DNDEBUG",
19863 "-DNO_UNWIND_TABLES",
19864 "-DNVALGRIND",
19865 "-DOFFICIAL_BUILD",
19866 "-D_GNU_SOURCE",
19867 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19868 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19869 "-Oz",
19870 "-fdata-sections",
19871 "-ffunction-sections",
19872 "-fno-asynchronous-unwind-tables",
19873 "-fno-unwind-tables",
19874 "-fvisibility-inlines-hidden",
19875 "-fvisibility=hidden",
19876 "-g1",
19877 ],
19878 local_include_dirs: [
19879 "./",
19880 "buildtools/third_party/libc++/",
19881 "buildtools/third_party/libc++/trunk/include",
19882 "buildtools/third_party/libc++abi/trunk/include",
19883 "third_party/abseil-cpp/",
19884 ],
19885 cpp_std: "c++17",
19886 target: {
19887 android_arm: {
19888 cflags: [
19889 "-fstack-protector",
19890 ],
19891 },
19892 android_arm64: {
19893 cflags: [
19894 "-fstack-protector",
19895 "-mno-outline",
19896 "-mno-outline-atomics",
19897 ],
19898 },
19899 android_x86: {
19900 cflags: [
19901 "-msse3",
19902 ],
19903 },
19904 android_x86_64: {
19905 cflags: [
19906 "-fstack-protector",
19907 "-msse3",
19908 ],
19909 },
19910 },
19911}
19912
19913// GN: //third_party/abseil-cpp/absl/hash:hash__testing
19914cc_object {
19915 name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
19916 srcs: [
19917 "third_party/abseil-cpp/absl/hash/internal/hash.cc",
19918 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019919 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019920 defaults: [
19921 "cronet_aml_defaults",
19922 ],
19923 cflags: [
19924 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019925 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19926 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019927 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019928 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019929 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019930 "-DNVALGRIND",
19931 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019932 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019933 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019934 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019935 "-fdata-sections",
19936 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019937 "-fno-asynchronous-unwind-tables",
19938 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019939 "-fvisibility-inlines-hidden",
19940 "-fvisibility=hidden",
19941 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019942 ],
19943 local_include_dirs: [
19944 "./",
19945 "buildtools/third_party/libc++/",
19946 "buildtools/third_party/libc++/trunk/include",
19947 "buildtools/third_party/libc++abi/trunk/include",
19948 "third_party/abseil-cpp/",
19949 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019950 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019951 android_arm: {
19952 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019953 "-DANDROID",
19954 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19955 "-DHAVE_SYS_UIO_H",
19956 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019957 "-fstack-protector",
19958 ],
19959 },
19960 android_arm64: {
19961 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019962 "-DANDROID",
19963 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19964 "-DHAVE_SYS_UIO_H",
19965 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019966 "-fstack-protector",
19967 "-mno-outline",
19968 "-mno-outline-atomics",
19969 ],
19970 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019971 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019972 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019973 "-DANDROID",
19974 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19975 "-DHAVE_SYS_UIO_H",
19976 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019977 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019978 ],
19979 },
19980 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019981 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019982 "-DANDROID",
19983 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19984 "-DHAVE_SYS_UIO_H",
19985 "-Oz",
19986 "-fstack-protector",
19987 "-msse3",
19988 ],
19989 },
19990 host: {
19991 cflags: [
19992 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19993 "-DUSE_AURA=1",
19994 "-DUSE_OZONE=1",
19995 "-DUSE_UDEV",
19996 "-D_FILE_OFFSET_BITS=64",
19997 "-D_LARGEFILE64_SOURCE",
19998 "-D_LARGEFILE_SOURCE",
19999 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020000 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020001 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020002 ],
20003 },
20004 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020005}
20006
20007// GN: //third_party/abseil-cpp/absl/hash:low_level_hash
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020008cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070020009 name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020010 srcs: [
20011 "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
20012 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020013 defaults: [
20014 "cronet_aml_defaults",
20015 ],
20016 cflags: [
20017 "-DABSL_ALLOCATOR_NOTHROW=1",
20018 "-DANDROID",
20019 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20020 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20021 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20022 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20023 "-DHAVE_SYS_UIO_H",
20024 "-DNDEBUG",
20025 "-DNO_UNWIND_TABLES",
20026 "-DNVALGRIND",
20027 "-DOFFICIAL_BUILD",
20028 "-D_GNU_SOURCE",
20029 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20030 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20031 "-Oz",
20032 "-fdata-sections",
20033 "-ffunction-sections",
20034 "-fno-asynchronous-unwind-tables",
20035 "-fno-unwind-tables",
20036 "-fvisibility-inlines-hidden",
20037 "-fvisibility=hidden",
20038 "-g1",
20039 ],
20040 local_include_dirs: [
20041 "./",
20042 "buildtools/third_party/libc++/",
20043 "buildtools/third_party/libc++/trunk/include",
20044 "buildtools/third_party/libc++abi/trunk/include",
20045 "third_party/abseil-cpp/",
20046 ],
20047 cpp_std: "c++17",
20048 target: {
20049 android_arm: {
20050 cflags: [
20051 "-fstack-protector",
20052 ],
20053 },
20054 android_arm64: {
20055 cflags: [
20056 "-fstack-protector",
20057 "-mno-outline",
20058 "-mno-outline-atomics",
20059 ],
20060 },
20061 android_x86: {
20062 cflags: [
20063 "-msse3",
20064 ],
20065 },
20066 android_x86_64: {
20067 cflags: [
20068 "-fstack-protector",
20069 "-msse3",
20070 ],
20071 },
20072 },
20073}
20074
20075// GN: //third_party/abseil-cpp/absl/hash:low_level_hash__testing
20076cc_object {
20077 name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
20078 srcs: [
20079 "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
20080 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020081 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020082 defaults: [
20083 "cronet_aml_defaults",
20084 ],
20085 cflags: [
20086 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020087 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20088 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020089 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020090 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020091 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020092 "-DNVALGRIND",
20093 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020094 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020095 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020096 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020097 "-fdata-sections",
20098 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020099 "-fno-asynchronous-unwind-tables",
20100 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020101 "-fvisibility-inlines-hidden",
20102 "-fvisibility=hidden",
20103 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020104 ],
20105 local_include_dirs: [
20106 "./",
20107 "buildtools/third_party/libc++/",
20108 "buildtools/third_party/libc++/trunk/include",
20109 "buildtools/third_party/libc++abi/trunk/include",
20110 "third_party/abseil-cpp/",
20111 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090020112 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020113 android_arm: {
20114 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020115 "-DANDROID",
20116 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20117 "-DHAVE_SYS_UIO_H",
20118 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020119 "-fstack-protector",
20120 ],
20121 },
20122 android_arm64: {
20123 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020124 "-DANDROID",
20125 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20126 "-DHAVE_SYS_UIO_H",
20127 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020128 "-fstack-protector",
20129 "-mno-outline",
20130 "-mno-outline-atomics",
20131 ],
20132 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020133 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020134 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020135 "-DANDROID",
20136 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20137 "-DHAVE_SYS_UIO_H",
20138 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020139 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020140 ],
20141 },
20142 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020143 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020144 "-DANDROID",
20145 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20146 "-DHAVE_SYS_UIO_H",
20147 "-Oz",
20148 "-fstack-protector",
20149 "-msse3",
20150 ],
20151 },
20152 host: {
20153 cflags: [
20154 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20155 "-DUSE_AURA=1",
20156 "-DUSE_OZONE=1",
20157 "-DUSE_UDEV",
20158 "-D_FILE_OFFSET_BITS=64",
20159 "-D_LARGEFILE64_SOURCE",
20160 "-D_LARGEFILE_SOURCE",
20161 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020162 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020163 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020164 ],
20165 },
20166 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020167}
20168
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020169// GN: //third_party/abseil-cpp/absl/numeric:int128
20170cc_object {
20171 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
20172 srcs: [
20173 "third_party/abseil-cpp/absl/numeric/int128.cc",
20174 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020175 defaults: [
20176 "cronet_aml_defaults",
20177 ],
20178 cflags: [
20179 "-DABSL_ALLOCATOR_NOTHROW=1",
20180 "-DANDROID",
20181 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20182 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20183 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20184 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20185 "-DHAVE_SYS_UIO_H",
20186 "-DNDEBUG",
20187 "-DNO_UNWIND_TABLES",
20188 "-DNVALGRIND",
20189 "-DOFFICIAL_BUILD",
20190 "-D_GNU_SOURCE",
20191 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20192 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20193 "-Oz",
20194 "-fdata-sections",
20195 "-ffunction-sections",
20196 "-fno-asynchronous-unwind-tables",
20197 "-fno-unwind-tables",
20198 "-fvisibility-inlines-hidden",
20199 "-fvisibility=hidden",
20200 "-g1",
20201 ],
20202 local_include_dirs: [
20203 "./",
20204 "buildtools/third_party/libc++/",
20205 "buildtools/third_party/libc++/trunk/include",
20206 "buildtools/third_party/libc++abi/trunk/include",
20207 "third_party/abseil-cpp/",
20208 ],
20209 cpp_std: "c++17",
20210 target: {
20211 android_arm: {
20212 cflags: [
20213 "-fstack-protector",
20214 ],
20215 },
20216 android_arm64: {
20217 cflags: [
20218 "-fstack-protector",
20219 "-mno-outline",
20220 "-mno-outline-atomics",
20221 ],
20222 },
20223 android_x86: {
20224 cflags: [
20225 "-msse3",
20226 ],
20227 },
20228 android_x86_64: {
20229 cflags: [
20230 "-fstack-protector",
20231 "-msse3",
20232 ],
20233 },
20234 },
20235}
20236
20237// GN: //third_party/abseil-cpp/absl/numeric:int128__testing
20238cc_object {
20239 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
20240 srcs: [
20241 "third_party/abseil-cpp/absl/numeric/int128.cc",
20242 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020243 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020244 defaults: [
20245 "cronet_aml_defaults",
20246 ],
20247 cflags: [
20248 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020249 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20250 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020251 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020252 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020253 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020254 "-DNVALGRIND",
20255 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020256 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020257 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020258 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020259 "-fdata-sections",
20260 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020261 "-fno-asynchronous-unwind-tables",
20262 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020263 "-fvisibility-inlines-hidden",
20264 "-fvisibility=hidden",
20265 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020266 ],
20267 local_include_dirs: [
20268 "./",
20269 "buildtools/third_party/libc++/",
20270 "buildtools/third_party/libc++/trunk/include",
20271 "buildtools/third_party/libc++abi/trunk/include",
20272 "third_party/abseil-cpp/",
20273 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020274 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020275 android_arm: {
20276 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020277 "-DANDROID",
20278 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20279 "-DHAVE_SYS_UIO_H",
20280 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020281 "-fstack-protector",
20282 ],
20283 },
20284 android_arm64: {
20285 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020286 "-DANDROID",
20287 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20288 "-DHAVE_SYS_UIO_H",
20289 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020290 "-fstack-protector",
20291 "-mno-outline",
20292 "-mno-outline-atomics",
20293 ],
20294 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020295 android_x86: {
20296 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020297 "-DANDROID",
20298 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20299 "-DHAVE_SYS_UIO_H",
20300 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020301 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020302 ],
20303 },
20304 android_x86_64: {
20305 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020306 "-DANDROID",
20307 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20308 "-DHAVE_SYS_UIO_H",
20309 "-Oz",
20310 "-fstack-protector",
20311 "-msse3",
20312 ],
20313 },
20314 host: {
20315 cflags: [
20316 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20317 "-DUSE_AURA=1",
20318 "-DUSE_OZONE=1",
20319 "-DUSE_UDEV",
20320 "-D_FILE_OFFSET_BITS=64",
20321 "-D_LARGEFILE64_SOURCE",
20322 "-D_LARGEFILE_SOURCE",
20323 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020324 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020325 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020326 ],
20327 },
20328 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020329}
20330
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020331// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased
20332cc_object {
20333 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
20334 srcs: [
20335 "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
20336 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020337 defaults: [
20338 "cronet_aml_defaults",
20339 ],
20340 cflags: [
20341 "-DABSL_ALLOCATOR_NOTHROW=1",
20342 "-DANDROID",
20343 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20344 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20345 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20346 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20347 "-DHAVE_SYS_UIO_H",
20348 "-DNDEBUG",
20349 "-DNO_UNWIND_TABLES",
20350 "-DNVALGRIND",
20351 "-DOFFICIAL_BUILD",
20352 "-D_GNU_SOURCE",
20353 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20354 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20355 "-Oz",
20356 "-fdata-sections",
20357 "-ffunction-sections",
20358 "-fno-asynchronous-unwind-tables",
20359 "-fno-unwind-tables",
20360 "-fvisibility-inlines-hidden",
20361 "-fvisibility=hidden",
20362 "-g1",
20363 ],
20364 local_include_dirs: [
20365 "./",
20366 "buildtools/third_party/libc++/",
20367 "buildtools/third_party/libc++/trunk/include",
20368 "buildtools/third_party/libc++abi/trunk/include",
20369 "third_party/abseil-cpp/",
20370 ],
20371 cpp_std: "c++17",
20372 target: {
20373 android_arm: {
20374 cflags: [
20375 "-fstack-protector",
20376 ],
20377 },
20378 android_arm64: {
20379 cflags: [
20380 "-fstack-protector",
20381 "-mno-outline",
20382 "-mno-outline-atomics",
20383 ],
20384 },
20385 android_x86: {
20386 cflags: [
20387 "-msse3",
20388 ],
20389 },
20390 android_x86_64: {
20391 cflags: [
20392 "-fstack-protector",
20393 "-msse3",
20394 ],
20395 },
20396 },
20397}
20398
20399// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased__testing
20400cc_object {
20401 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
20402 srcs: [
20403 "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
20404 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020405 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020406 defaults: [
20407 "cronet_aml_defaults",
20408 ],
20409 cflags: [
20410 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020411 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20412 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020413 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020414 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020415 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020416 "-DNVALGRIND",
20417 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020418 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020419 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020420 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020421 "-fdata-sections",
20422 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020423 "-fno-asynchronous-unwind-tables",
20424 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020425 "-fvisibility-inlines-hidden",
20426 "-fvisibility=hidden",
20427 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020428 ],
20429 local_include_dirs: [
20430 "./",
20431 "buildtools/third_party/libc++/",
20432 "buildtools/third_party/libc++/trunk/include",
20433 "buildtools/third_party/libc++abi/trunk/include",
20434 "third_party/abseil-cpp/",
20435 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020436 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020437 android_arm: {
20438 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020439 "-DANDROID",
20440 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20441 "-DHAVE_SYS_UIO_H",
20442 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020443 "-fstack-protector",
20444 ],
20445 },
20446 android_arm64: {
20447 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020448 "-DANDROID",
20449 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20450 "-DHAVE_SYS_UIO_H",
20451 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020452 "-fstack-protector",
20453 "-mno-outline",
20454 "-mno-outline-atomics",
20455 ],
20456 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020457 android_x86: {
20458 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020459 "-DANDROID",
20460 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20461 "-DHAVE_SYS_UIO_H",
20462 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020463 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020464 ],
20465 },
20466 android_x86_64: {
20467 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020468 "-DANDROID",
20469 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20470 "-DHAVE_SYS_UIO_H",
20471 "-Oz",
20472 "-fstack-protector",
20473 "-msse3",
20474 ],
20475 },
20476 host: {
20477 cflags: [
20478 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20479 "-DUSE_AURA=1",
20480 "-DUSE_OZONE=1",
20481 "-DUSE_UDEV",
20482 "-D_FILE_OFFSET_BITS=64",
20483 "-D_LARGEFILE64_SOURCE",
20484 "-D_LARGEFILE_SOURCE",
20485 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020486 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020487 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020488 ],
20489 },
20490 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020491}
20492
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020493// GN: //third_party/abseil-cpp/absl/random:distributions
20494cc_object {
20495 name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions",
20496 srcs: [
20497 "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
20498 "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
20499 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020500 defaults: [
20501 "cronet_aml_defaults",
20502 ],
20503 cflags: [
20504 "-DABSL_ALLOCATOR_NOTHROW=1",
20505 "-DANDROID",
20506 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20507 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20508 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20509 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20510 "-DHAVE_SYS_UIO_H",
20511 "-DNDEBUG",
20512 "-DNO_UNWIND_TABLES",
20513 "-DNVALGRIND",
20514 "-DOFFICIAL_BUILD",
20515 "-D_GNU_SOURCE",
20516 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20517 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20518 "-Oz",
20519 "-fdata-sections",
20520 "-ffunction-sections",
20521 "-fno-asynchronous-unwind-tables",
20522 "-fno-unwind-tables",
20523 "-fvisibility-inlines-hidden",
20524 "-fvisibility=hidden",
20525 "-g1",
20526 ],
20527 local_include_dirs: [
20528 "./",
20529 "buildtools/third_party/libc++/",
20530 "buildtools/third_party/libc++/trunk/include",
20531 "buildtools/third_party/libc++abi/trunk/include",
20532 "third_party/abseil-cpp/",
20533 ],
20534 cpp_std: "c++17",
20535 target: {
20536 android_arm: {
20537 cflags: [
20538 "-fstack-protector",
20539 ],
20540 },
20541 android_arm64: {
20542 cflags: [
20543 "-fstack-protector",
20544 "-mno-outline",
20545 "-mno-outline-atomics",
20546 ],
20547 },
20548 android_x86: {
20549 cflags: [
20550 "-msse3",
20551 ],
20552 },
20553 android_x86_64: {
20554 cflags: [
20555 "-fstack-protector",
20556 "-msse3",
20557 ],
20558 },
20559 },
20560}
20561
20562// GN: //third_party/abseil-cpp/absl/random:distributions__testing
20563cc_object {
20564 name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
20565 srcs: [
20566 "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
20567 "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
20568 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020569 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020570 defaults: [
20571 "cronet_aml_defaults",
20572 ],
20573 cflags: [
20574 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020575 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20576 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020577 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020578 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020579 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020580 "-DNVALGRIND",
20581 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020582 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020583 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020584 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020585 "-fdata-sections",
20586 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020587 "-fno-asynchronous-unwind-tables",
20588 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020589 "-fvisibility-inlines-hidden",
20590 "-fvisibility=hidden",
20591 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020592 ],
20593 local_include_dirs: [
20594 "./",
20595 "buildtools/third_party/libc++/",
20596 "buildtools/third_party/libc++/trunk/include",
20597 "buildtools/third_party/libc++abi/trunk/include",
20598 "third_party/abseil-cpp/",
20599 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020600 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020601 android_arm: {
20602 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020603 "-DANDROID",
20604 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20605 "-DHAVE_SYS_UIO_H",
20606 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020607 "-fstack-protector",
20608 ],
20609 },
20610 android_arm64: {
20611 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020612 "-DANDROID",
20613 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20614 "-DHAVE_SYS_UIO_H",
20615 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020616 "-fstack-protector",
20617 "-mno-outline",
20618 "-mno-outline-atomics",
20619 ],
20620 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020621 android_x86: {
20622 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020623 "-DANDROID",
20624 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20625 "-DHAVE_SYS_UIO_H",
20626 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020627 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020628 ],
20629 },
20630 android_x86_64: {
20631 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020632 "-DANDROID",
20633 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20634 "-DHAVE_SYS_UIO_H",
20635 "-Oz",
20636 "-fstack-protector",
20637 "-msse3",
20638 ],
20639 },
20640 host: {
20641 cflags: [
20642 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20643 "-DUSE_AURA=1",
20644 "-DUSE_OZONE=1",
20645 "-DUSE_UDEV",
20646 "-D_FILE_OFFSET_BITS=64",
20647 "-D_LARGEFILE64_SOURCE",
20648 "-D_LARGEFILE_SOURCE",
20649 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020650 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020651 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020652 ],
20653 },
20654 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020655}
20656
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020657// GN: //third_party/abseil-cpp/absl/random/internal:platform
20658cc_object {
20659 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
20660 srcs: [
20661 "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
20662 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090020663 generated_headers: [
20664 "cronet_aml_build_chromeos_buildflags",
20665 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020666 defaults: [
20667 "cronet_aml_defaults",
20668 ],
20669 cflags: [
20670 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020671 "-DANDROID",
20672 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20673 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20674 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20675 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20676 "-DHAVE_SYS_UIO_H",
20677 "-DNDEBUG",
20678 "-DNO_UNWIND_TABLES",
20679 "-DNVALGRIND",
20680 "-DOFFICIAL_BUILD",
20681 "-D_GNU_SOURCE",
20682 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20683 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20684 "-Oz",
20685 "-fdata-sections",
20686 "-ffunction-sections",
20687 "-fno-asynchronous-unwind-tables",
20688 "-fno-unwind-tables",
20689 "-fvisibility-inlines-hidden",
20690 "-fvisibility=hidden",
20691 "-g1",
20692 ],
20693 local_include_dirs: [
20694 "./",
20695 "buildtools/third_party/libc++/",
20696 "buildtools/third_party/libc++/trunk/include",
20697 "buildtools/third_party/libc++abi/trunk/include",
20698 "third_party/abseil-cpp/",
20699 ],
20700 cpp_std: "c++17",
20701 target: {
20702 android_arm: {
20703 cflags: [
20704 "-fstack-protector",
20705 ],
20706 },
20707 android_arm64: {
20708 cflags: [
20709 "-fstack-protector",
20710 "-mno-outline",
20711 "-mno-outline-atomics",
20712 ],
20713 },
20714 android_x86: {
20715 cflags: [
20716 "-msse3",
20717 ],
20718 },
20719 android_x86_64: {
20720 cflags: [
20721 "-fstack-protector",
20722 "-msse3",
20723 ],
20724 },
20725 },
20726}
20727
20728// GN: //third_party/abseil-cpp/absl/random/internal:platform__testing
20729cc_object {
20730 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
20731 srcs: [
20732 "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
20733 ],
20734 host_supported: true,
20735 generated_headers: [
20736 "cronet_aml_build_chromeos_buildflags__testing",
20737 ],
20738 defaults: [
20739 "cronet_aml_defaults",
20740 ],
20741 cflags: [
20742 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020743 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20744 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020745 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020746 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020747 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020748 "-DNVALGRIND",
20749 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020750 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020751 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020752 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020753 "-fdata-sections",
20754 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020755 "-fno-asynchronous-unwind-tables",
20756 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020757 "-fvisibility-inlines-hidden",
20758 "-fvisibility=hidden",
20759 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020760 ],
20761 local_include_dirs: [
20762 "./",
20763 "buildtools/third_party/libc++/",
20764 "buildtools/third_party/libc++/trunk/include",
20765 "buildtools/third_party/libc++abi/trunk/include",
20766 "third_party/abseil-cpp/",
20767 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020768 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020769 android_arm: {
20770 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020771 "-DANDROID",
20772 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20773 "-DHAVE_SYS_UIO_H",
20774 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020775 "-fstack-protector",
20776 ],
20777 },
20778 android_arm64: {
20779 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020780 "-DANDROID",
20781 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20782 "-DHAVE_SYS_UIO_H",
20783 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020784 "-fstack-protector",
20785 "-mno-outline",
20786 "-mno-outline-atomics",
20787 ],
20788 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020789 android_x86: {
20790 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020791 "-DANDROID",
20792 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20793 "-DHAVE_SYS_UIO_H",
20794 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020795 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020796 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020797 },
20798 android_x86_64: {
20799 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020800 "-DANDROID",
20801 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20802 "-DHAVE_SYS_UIO_H",
20803 "-Oz",
20804 "-fstack-protector",
20805 "-msse3",
20806 ],
20807 },
20808 host: {
20809 cflags: [
20810 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20811 "-DUSE_AURA=1",
20812 "-DUSE_OZONE=1",
20813 "-DUSE_UDEV",
20814 "-D_FILE_OFFSET_BITS=64",
20815 "-D_LARGEFILE64_SOURCE",
20816 "-D_LARGEFILE_SOURCE",
20817 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020818 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020819 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020820 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020821 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020822 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020823}
20824
20825// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020826cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070020827 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020828 srcs: [
20829 "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
20830 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090020831 generated_headers: [
20832 "cronet_aml_build_chromeos_buildflags",
20833 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020834 defaults: [
20835 "cronet_aml_defaults",
20836 ],
20837 cflags: [
20838 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020839 "-DANDROID",
20840 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20841 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20842 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20843 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20844 "-DHAVE_SYS_UIO_H",
20845 "-DNDEBUG",
20846 "-DNO_UNWIND_TABLES",
20847 "-DNVALGRIND",
20848 "-DOFFICIAL_BUILD",
20849 "-D_GNU_SOURCE",
20850 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20851 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20852 "-Oz",
20853 "-fdata-sections",
20854 "-ffunction-sections",
20855 "-fno-asynchronous-unwind-tables",
20856 "-fno-unwind-tables",
20857 "-fvisibility-inlines-hidden",
20858 "-fvisibility=hidden",
20859 "-g1",
20860 ],
20861 local_include_dirs: [
20862 "./",
20863 "buildtools/third_party/libc++/",
20864 "buildtools/third_party/libc++/trunk/include",
20865 "buildtools/third_party/libc++abi/trunk/include",
20866 "third_party/abseil-cpp/",
20867 ],
20868 cpp_std: "c++17",
20869 target: {
20870 android_arm: {
20871 cflags: [
20872 "-fstack-protector",
20873 ],
20874 },
20875 android_arm64: {
20876 cflags: [
20877 "-fstack-protector",
20878 "-mno-outline",
20879 "-mno-outline-atomics",
20880 ],
20881 },
20882 android_x86: {
20883 cflags: [
20884 "-msse3",
20885 ],
20886 },
20887 android_x86_64: {
20888 cflags: [
20889 "-fstack-protector",
20890 "-msse3",
20891 ],
20892 },
20893 },
20894}
20895
20896// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg__testing
20897cc_object {
20898 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
20899 srcs: [
20900 "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
20901 ],
20902 host_supported: true,
20903 generated_headers: [
20904 "cronet_aml_build_chromeos_buildflags__testing",
20905 ],
20906 defaults: [
20907 "cronet_aml_defaults",
20908 ],
20909 cflags: [
20910 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020911 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20912 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020913 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020914 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020915 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020916 "-DNVALGRIND",
20917 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020918 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020919 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020920 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020921 "-fdata-sections",
20922 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020923 "-fno-asynchronous-unwind-tables",
20924 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020925 "-fvisibility-inlines-hidden",
20926 "-fvisibility=hidden",
20927 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020928 ],
20929 local_include_dirs: [
20930 "./",
20931 "buildtools/third_party/libc++/",
20932 "buildtools/third_party/libc++/trunk/include",
20933 "buildtools/third_party/libc++abi/trunk/include",
20934 "third_party/abseil-cpp/",
20935 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090020936 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020937 android_arm: {
20938 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020939 "-DANDROID",
20940 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20941 "-DHAVE_SYS_UIO_H",
20942 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020943 "-fstack-protector",
20944 ],
20945 },
20946 android_arm64: {
20947 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020948 "-DANDROID",
20949 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20950 "-DHAVE_SYS_UIO_H",
20951 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020952 "-fstack-protector",
20953 "-mno-outline",
20954 "-mno-outline-atomics",
20955 ],
20956 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020957 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020958 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020959 "-DANDROID",
20960 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20961 "-DHAVE_SYS_UIO_H",
20962 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020963 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020964 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090020965 },
20966 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020967 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020968 "-DANDROID",
20969 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20970 "-DHAVE_SYS_UIO_H",
20971 "-Oz",
20972 "-fstack-protector",
20973 "-msse3",
20974 ],
20975 },
20976 host: {
20977 cflags: [
20978 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20979 "-DUSE_AURA=1",
20980 "-DUSE_OZONE=1",
20981 "-DUSE_UDEV",
20982 "-D_FILE_OFFSET_BITS=64",
20983 "-D_LARGEFILE64_SOURCE",
20984 "-D_LARGEFILE_SOURCE",
20985 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020986 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020987 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020988 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090020989 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020990 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020991}
20992
20993// GN: //third_party/abseil-cpp/absl/random/internal:randen
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020994cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070020995 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020996 srcs: [
20997 "third_party/abseil-cpp/absl/random/internal/randen.cc",
20998 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090020999 generated_headers: [
21000 "cronet_aml_build_chromeos_buildflags",
21001 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021002 defaults: [
21003 "cronet_aml_defaults",
21004 ],
21005 cflags: [
21006 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021007 "-DANDROID",
21008 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21009 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21010 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21011 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21012 "-DHAVE_SYS_UIO_H",
21013 "-DNDEBUG",
21014 "-DNO_UNWIND_TABLES",
21015 "-DNVALGRIND",
21016 "-DOFFICIAL_BUILD",
21017 "-D_GNU_SOURCE",
21018 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21019 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21020 "-Oz",
21021 "-fdata-sections",
21022 "-ffunction-sections",
21023 "-fno-asynchronous-unwind-tables",
21024 "-fno-unwind-tables",
21025 "-fvisibility-inlines-hidden",
21026 "-fvisibility=hidden",
21027 "-g1",
21028 ],
21029 local_include_dirs: [
21030 "./",
21031 "buildtools/third_party/libc++/",
21032 "buildtools/third_party/libc++/trunk/include",
21033 "buildtools/third_party/libc++abi/trunk/include",
21034 "third_party/abseil-cpp/",
21035 ],
21036 cpp_std: "c++17",
21037 target: {
21038 android_arm: {
21039 cflags: [
21040 "-fstack-protector",
21041 ],
21042 },
21043 android_arm64: {
21044 cflags: [
21045 "-fstack-protector",
21046 "-mno-outline",
21047 "-mno-outline-atomics",
21048 ],
21049 },
21050 android_x86: {
21051 cflags: [
21052 "-msse3",
21053 ],
21054 },
21055 android_x86_64: {
21056 cflags: [
21057 "-fstack-protector",
21058 "-msse3",
21059 ],
21060 },
21061 },
21062}
21063
21064// GN: //third_party/abseil-cpp/absl/random/internal:randen__testing
21065cc_object {
21066 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
21067 srcs: [
21068 "third_party/abseil-cpp/absl/random/internal/randen.cc",
21069 ],
21070 host_supported: true,
21071 generated_headers: [
21072 "cronet_aml_build_chromeos_buildflags__testing",
21073 ],
21074 defaults: [
21075 "cronet_aml_defaults",
21076 ],
21077 cflags: [
21078 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021079 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21080 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021081 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021082 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021083 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021084 "-DNVALGRIND",
21085 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021086 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021087 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021088 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021089 "-fdata-sections",
21090 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021091 "-fno-asynchronous-unwind-tables",
21092 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021093 "-fvisibility-inlines-hidden",
21094 "-fvisibility=hidden",
21095 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021096 ],
21097 local_include_dirs: [
21098 "./",
21099 "buildtools/third_party/libc++/",
21100 "buildtools/third_party/libc++/trunk/include",
21101 "buildtools/third_party/libc++abi/trunk/include",
21102 "third_party/abseil-cpp/",
21103 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021104 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021105 android_arm: {
21106 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021107 "-DANDROID",
21108 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21109 "-DHAVE_SYS_UIO_H",
21110 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021111 "-fstack-protector",
21112 ],
21113 },
21114 android_arm64: {
21115 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021116 "-DANDROID",
21117 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21118 "-DHAVE_SYS_UIO_H",
21119 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021120 "-fstack-protector",
21121 "-mno-outline",
21122 "-mno-outline-atomics",
21123 ],
21124 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021125 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021126 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021127 "-DANDROID",
21128 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21129 "-DHAVE_SYS_UIO_H",
21130 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021131 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021132 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021133 },
21134 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021135 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021136 "-DANDROID",
21137 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21138 "-DHAVE_SYS_UIO_H",
21139 "-Oz",
21140 "-fstack-protector",
21141 "-msse3",
21142 ],
21143 },
21144 host: {
21145 cflags: [
21146 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21147 "-DUSE_AURA=1",
21148 "-DUSE_OZONE=1",
21149 "-DUSE_UDEV",
21150 "-D_FILE_OFFSET_BITS=64",
21151 "-D_LARGEFILE64_SOURCE",
21152 "-D_LARGEFILE_SOURCE",
21153 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021154 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021155 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021156 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021157 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021158 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021159}
21160
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021161// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes
21162cc_object {
21163 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
21164 srcs: [
21165 "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
21166 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090021167 generated_headers: [
21168 "cronet_aml_build_chromeos_buildflags",
21169 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021170 defaults: [
21171 "cronet_aml_defaults",
21172 ],
21173 cflags: [
21174 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021175 "-DANDROID",
21176 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21177 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21178 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21179 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21180 "-DHAVE_SYS_UIO_H",
21181 "-DNDEBUG",
21182 "-DNO_UNWIND_TABLES",
21183 "-DNVALGRIND",
21184 "-DOFFICIAL_BUILD",
21185 "-D_GNU_SOURCE",
21186 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21187 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21188 "-Oz",
21189 "-fdata-sections",
21190 "-ffunction-sections",
21191 "-fno-asynchronous-unwind-tables",
21192 "-fno-unwind-tables",
21193 "-fvisibility-inlines-hidden",
21194 "-fvisibility=hidden",
21195 "-g1",
21196 ],
21197 local_include_dirs: [
21198 "./",
21199 "buildtools/third_party/libc++/",
21200 "buildtools/third_party/libc++/trunk/include",
21201 "buildtools/third_party/libc++abi/trunk/include",
21202 "third_party/abseil-cpp/",
21203 ],
21204 cpp_std: "c++17",
21205 target: {
21206 android_arm: {
21207 cflags: [
21208 "-fstack-protector",
21209 ],
21210 },
21211 android_arm64: {
21212 cflags: [
21213 "-fstack-protector",
21214 "-mno-outline",
21215 "-mno-outline-atomics",
21216 ],
21217 },
21218 android_x86: {
21219 cflags: [
21220 "-msse3",
21221 ],
21222 },
21223 android_x86_64: {
21224 cflags: [
21225 "-fstack-protector",
21226 "-msse3",
21227 ],
21228 },
21229 },
21230}
21231
21232// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes__testing
21233cc_object {
21234 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
21235 srcs: [
21236 "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
21237 ],
21238 host_supported: true,
21239 generated_headers: [
21240 "cronet_aml_build_chromeos_buildflags__testing",
21241 ],
21242 defaults: [
21243 "cronet_aml_defaults",
21244 ],
21245 cflags: [
21246 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021247 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21248 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021249 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021250 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021251 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021252 "-DNVALGRIND",
21253 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021254 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021255 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021256 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021257 "-fdata-sections",
21258 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021259 "-fno-asynchronous-unwind-tables",
21260 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021261 "-fvisibility-inlines-hidden",
21262 "-fvisibility=hidden",
21263 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021264 ],
21265 local_include_dirs: [
21266 "./",
21267 "buildtools/third_party/libc++/",
21268 "buildtools/third_party/libc++/trunk/include",
21269 "buildtools/third_party/libc++abi/trunk/include",
21270 "third_party/abseil-cpp/",
21271 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021272 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021273 android_arm: {
21274 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021275 "-DANDROID",
21276 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21277 "-DHAVE_SYS_UIO_H",
21278 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021279 "-fstack-protector",
21280 ],
21281 },
21282 android_arm64: {
21283 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021284 "-DANDROID",
21285 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21286 "-DHAVE_SYS_UIO_H",
21287 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021288 "-fstack-protector",
21289 "-mno-outline",
21290 "-mno-outline-atomics",
21291 ],
21292 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021293 android_x86: {
21294 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021295 "-DANDROID",
21296 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21297 "-DHAVE_SYS_UIO_H",
21298 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021299 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021300 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021301 },
21302 android_x86_64: {
21303 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021304 "-DANDROID",
21305 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21306 "-DHAVE_SYS_UIO_H",
21307 "-Oz",
21308 "-fstack-protector",
21309 "-msse3",
21310 ],
21311 },
21312 host: {
21313 cflags: [
21314 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21315 "-DUSE_AURA=1",
21316 "-DUSE_OZONE=1",
21317 "-DUSE_UDEV",
21318 "-D_FILE_OFFSET_BITS=64",
21319 "-D_LARGEFILE64_SOURCE",
21320 "-D_LARGEFILE_SOURCE",
21321 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021322 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021323 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021324 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021325 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021326 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021327}
21328
21329// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021330cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070021331 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021332 srcs: [
21333 "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
21334 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090021335 generated_headers: [
21336 "cronet_aml_build_chromeos_buildflags",
21337 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021338 defaults: [
21339 "cronet_aml_defaults",
21340 ],
21341 cflags: [
21342 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021343 "-DANDROID",
21344 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21345 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21346 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21347 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21348 "-DHAVE_SYS_UIO_H",
21349 "-DNDEBUG",
21350 "-DNO_UNWIND_TABLES",
21351 "-DNVALGRIND",
21352 "-DOFFICIAL_BUILD",
21353 "-D_GNU_SOURCE",
21354 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21355 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21356 "-Oz",
21357 "-fdata-sections",
21358 "-ffunction-sections",
21359 "-fno-asynchronous-unwind-tables",
21360 "-fno-unwind-tables",
21361 "-fvisibility-inlines-hidden",
21362 "-fvisibility=hidden",
21363 "-g1",
21364 ],
21365 local_include_dirs: [
21366 "./",
21367 "buildtools/third_party/libc++/",
21368 "buildtools/third_party/libc++/trunk/include",
21369 "buildtools/third_party/libc++abi/trunk/include",
21370 "third_party/abseil-cpp/",
21371 ],
21372 cpp_std: "c++17",
21373 target: {
21374 android_arm: {
21375 cflags: [
21376 "-fstack-protector",
21377 ],
21378 },
21379 android_arm64: {
21380 cflags: [
21381 "-fstack-protector",
21382 "-mno-outline",
21383 "-mno-outline-atomics",
21384 ],
21385 },
21386 android_x86: {
21387 cflags: [
21388 "-msse3",
21389 ],
21390 },
21391 android_x86_64: {
21392 cflags: [
21393 "-fstack-protector",
21394 "-msse3",
21395 ],
21396 },
21397 },
21398}
21399
21400// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl__testing
21401cc_object {
21402 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
21403 srcs: [
21404 "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
21405 ],
21406 host_supported: true,
21407 generated_headers: [
21408 "cronet_aml_build_chromeos_buildflags__testing",
21409 ],
21410 defaults: [
21411 "cronet_aml_defaults",
21412 ],
21413 cflags: [
21414 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021415 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21416 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021417 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021418 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021419 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021420 "-DNVALGRIND",
21421 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021422 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021423 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021424 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021425 "-fdata-sections",
21426 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021427 "-fno-asynchronous-unwind-tables",
21428 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021429 "-fvisibility-inlines-hidden",
21430 "-fvisibility=hidden",
21431 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021432 ],
21433 local_include_dirs: [
21434 "./",
21435 "buildtools/third_party/libc++/",
21436 "buildtools/third_party/libc++/trunk/include",
21437 "buildtools/third_party/libc++abi/trunk/include",
21438 "third_party/abseil-cpp/",
21439 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021440 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021441 android_arm: {
21442 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021443 "-DANDROID",
21444 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21445 "-DHAVE_SYS_UIO_H",
21446 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021447 "-fstack-protector",
21448 ],
21449 },
21450 android_arm64: {
21451 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021452 "-DANDROID",
21453 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21454 "-DHAVE_SYS_UIO_H",
21455 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021456 "-fstack-protector",
21457 "-mno-outline",
21458 "-mno-outline-atomics",
21459 ],
21460 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021461 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021462 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021463 "-DANDROID",
21464 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21465 "-DHAVE_SYS_UIO_H",
21466 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021467 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021468 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021469 },
21470 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021471 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021472 "-DANDROID",
21473 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21474 "-DHAVE_SYS_UIO_H",
21475 "-Oz",
21476 "-fstack-protector",
21477 "-msse3",
21478 ],
21479 },
21480 host: {
21481 cflags: [
21482 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21483 "-DUSE_AURA=1",
21484 "-DUSE_OZONE=1",
21485 "-DUSE_UDEV",
21486 "-D_FILE_OFFSET_BITS=64",
21487 "-D_LARGEFILE64_SOURCE",
21488 "-D_LARGEFILE_SOURCE",
21489 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021490 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021491 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021492 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021493 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021494 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021495}
21496
21497// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021498cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070021499 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021500 srcs: [
21501 "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
21502 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090021503 generated_headers: [
21504 "cronet_aml_build_chromeos_buildflags",
21505 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021506 defaults: [
21507 "cronet_aml_defaults",
21508 ],
21509 cflags: [
21510 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021511 "-DANDROID",
21512 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21513 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21514 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21515 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21516 "-DHAVE_SYS_UIO_H",
21517 "-DNDEBUG",
21518 "-DNO_UNWIND_TABLES",
21519 "-DNVALGRIND",
21520 "-DOFFICIAL_BUILD",
21521 "-D_GNU_SOURCE",
21522 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21523 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21524 "-Oz",
21525 "-fdata-sections",
21526 "-ffunction-sections",
21527 "-fno-asynchronous-unwind-tables",
21528 "-fno-unwind-tables",
21529 "-fvisibility-inlines-hidden",
21530 "-fvisibility=hidden",
21531 "-g1",
21532 ],
21533 local_include_dirs: [
21534 "./",
21535 "buildtools/third_party/libc++/",
21536 "buildtools/third_party/libc++/trunk/include",
21537 "buildtools/third_party/libc++abi/trunk/include",
21538 "third_party/abseil-cpp/",
21539 ],
21540 cpp_std: "c++17",
21541 target: {
21542 android_arm: {
21543 cflags: [
21544 "-fstack-protector",
21545 ],
21546 },
21547 android_arm64: {
21548 cflags: [
21549 "-fstack-protector",
21550 "-mno-outline",
21551 "-mno-outline-atomics",
21552 ],
21553 },
21554 android_x86: {
21555 cflags: [
21556 "-msse3",
21557 ],
21558 },
21559 android_x86_64: {
21560 cflags: [
21561 "-fstack-protector",
21562 "-msse3",
21563 ],
21564 },
21565 },
21566}
21567
21568// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow__testing
21569cc_object {
21570 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
21571 srcs: [
21572 "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
21573 ],
21574 host_supported: true,
21575 generated_headers: [
21576 "cronet_aml_build_chromeos_buildflags__testing",
21577 ],
21578 defaults: [
21579 "cronet_aml_defaults",
21580 ],
21581 cflags: [
21582 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021583 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21584 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021585 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021586 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021587 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021588 "-DNVALGRIND",
21589 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021590 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021591 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021592 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021593 "-fdata-sections",
21594 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021595 "-fno-asynchronous-unwind-tables",
21596 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021597 "-fvisibility-inlines-hidden",
21598 "-fvisibility=hidden",
21599 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021600 ],
21601 local_include_dirs: [
21602 "./",
21603 "buildtools/third_party/libc++/",
21604 "buildtools/third_party/libc++/trunk/include",
21605 "buildtools/third_party/libc++abi/trunk/include",
21606 "third_party/abseil-cpp/",
21607 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021608 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021609 android_arm: {
21610 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021611 "-DANDROID",
21612 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21613 "-DHAVE_SYS_UIO_H",
21614 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021615 "-fstack-protector",
21616 ],
21617 },
21618 android_arm64: {
21619 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021620 "-DANDROID",
21621 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21622 "-DHAVE_SYS_UIO_H",
21623 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021624 "-fstack-protector",
21625 "-mno-outline",
21626 "-mno-outline-atomics",
21627 ],
21628 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021629 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021630 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021631 "-DANDROID",
21632 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21633 "-DHAVE_SYS_UIO_H",
21634 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021635 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021636 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021637 },
21638 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021639 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021640 "-DANDROID",
21641 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21642 "-DHAVE_SYS_UIO_H",
21643 "-Oz",
21644 "-fstack-protector",
21645 "-msse3",
21646 ],
21647 },
21648 host: {
21649 cflags: [
21650 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21651 "-DUSE_AURA=1",
21652 "-DUSE_OZONE=1",
21653 "-DUSE_UDEV",
21654 "-D_FILE_OFFSET_BITS=64",
21655 "-D_LARGEFILE64_SOURCE",
21656 "-D_LARGEFILE_SOURCE",
21657 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021658 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021659 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021660 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021661 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021662 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021663}
21664
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021665// GN: //third_party/abseil-cpp/absl/random/internal:seed_material
21666cc_object {
21667 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
21668 srcs: [
21669 "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
21670 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021671 defaults: [
21672 "cronet_aml_defaults",
21673 ],
21674 cflags: [
21675 "-DABSL_ALLOCATOR_NOTHROW=1",
21676 "-DANDROID",
21677 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21678 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21679 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21680 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21681 "-DHAVE_SYS_UIO_H",
21682 "-DNDEBUG",
21683 "-DNO_UNWIND_TABLES",
21684 "-DNVALGRIND",
21685 "-DOFFICIAL_BUILD",
21686 "-D_GNU_SOURCE",
21687 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21688 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21689 "-Oz",
21690 "-fdata-sections",
21691 "-ffunction-sections",
21692 "-fno-asynchronous-unwind-tables",
21693 "-fno-unwind-tables",
21694 "-fvisibility-inlines-hidden",
21695 "-fvisibility=hidden",
21696 "-g1",
21697 ],
21698 local_include_dirs: [
21699 "./",
21700 "buildtools/third_party/libc++/",
21701 "buildtools/third_party/libc++/trunk/include",
21702 "buildtools/third_party/libc++abi/trunk/include",
21703 "third_party/abseil-cpp/",
21704 ],
21705 cpp_std: "c++17",
21706 target: {
21707 android_arm: {
21708 cflags: [
21709 "-fstack-protector",
21710 ],
21711 },
21712 android_arm64: {
21713 cflags: [
21714 "-fstack-protector",
21715 "-mno-outline",
21716 "-mno-outline-atomics",
21717 ],
21718 },
21719 android_x86: {
21720 cflags: [
21721 "-msse3",
21722 ],
21723 },
21724 android_x86_64: {
21725 cflags: [
21726 "-fstack-protector",
21727 "-msse3",
21728 ],
21729 },
21730 },
21731}
21732
21733// GN: //third_party/abseil-cpp/absl/random/internal:seed_material__testing
21734cc_object {
21735 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
21736 srcs: [
21737 "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
21738 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021739 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021740 defaults: [
21741 "cronet_aml_defaults",
21742 ],
21743 cflags: [
21744 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021745 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21746 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021747 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021748 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021749 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021750 "-DNVALGRIND",
21751 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021752 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021753 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021754 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021755 "-fdata-sections",
21756 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021757 "-fno-asynchronous-unwind-tables",
21758 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021759 "-fvisibility-inlines-hidden",
21760 "-fvisibility=hidden",
21761 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021762 ],
21763 local_include_dirs: [
21764 "./",
21765 "buildtools/third_party/libc++/",
21766 "buildtools/third_party/libc++/trunk/include",
21767 "buildtools/third_party/libc++abi/trunk/include",
21768 "third_party/abseil-cpp/",
21769 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021770 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021771 android_arm: {
21772 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021773 "-DANDROID",
21774 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21775 "-DHAVE_SYS_UIO_H",
21776 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021777 "-fstack-protector",
21778 ],
21779 },
21780 android_arm64: {
21781 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021782 "-DANDROID",
21783 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21784 "-DHAVE_SYS_UIO_H",
21785 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021786 "-fstack-protector",
21787 "-mno-outline",
21788 "-mno-outline-atomics",
21789 ],
21790 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021791 android_x86: {
21792 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021793 "-DANDROID",
21794 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21795 "-DHAVE_SYS_UIO_H",
21796 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021797 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021798 ],
21799 },
21800 android_x86_64: {
21801 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021802 "-DANDROID",
21803 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21804 "-DHAVE_SYS_UIO_H",
21805 "-Oz",
21806 "-fstack-protector",
21807 "-msse3",
21808 ],
21809 },
21810 host: {
21811 cflags: [
21812 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21813 "-DUSE_AURA=1",
21814 "-DUSE_OZONE=1",
21815 "-DUSE_UDEV",
21816 "-D_FILE_OFFSET_BITS=64",
21817 "-D_LARGEFILE64_SOURCE",
21818 "-D_LARGEFILE_SOURCE",
21819 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021820 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021821 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090021822 ],
21823 },
21824 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021825}
21826
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021827// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception
21828cc_object {
21829 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
21830 srcs: [
21831 "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
21832 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021833 defaults: [
21834 "cronet_aml_defaults",
21835 ],
21836 cflags: [
21837 "-DABSL_ALLOCATOR_NOTHROW=1",
21838 "-DANDROID",
21839 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21840 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21841 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21842 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21843 "-DHAVE_SYS_UIO_H",
21844 "-DNDEBUG",
21845 "-DNO_UNWIND_TABLES",
21846 "-DNVALGRIND",
21847 "-DOFFICIAL_BUILD",
21848 "-D_GNU_SOURCE",
21849 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21850 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21851 "-Oz",
21852 "-fdata-sections",
21853 "-ffunction-sections",
21854 "-fno-asynchronous-unwind-tables",
21855 "-fno-unwind-tables",
21856 "-fvisibility-inlines-hidden",
21857 "-fvisibility=hidden",
21858 "-g1",
21859 ],
21860 local_include_dirs: [
21861 "./",
21862 "buildtools/third_party/libc++/",
21863 "buildtools/third_party/libc++/trunk/include",
21864 "buildtools/third_party/libc++abi/trunk/include",
21865 "third_party/abseil-cpp/",
21866 ],
21867 cpp_std: "c++17",
21868 target: {
21869 android_arm: {
21870 cflags: [
21871 "-fstack-protector",
21872 ],
21873 },
21874 android_arm64: {
21875 cflags: [
21876 "-fstack-protector",
21877 "-mno-outline",
21878 "-mno-outline-atomics",
21879 ],
21880 },
21881 android_x86: {
21882 cflags: [
21883 "-msse3",
21884 ],
21885 },
21886 android_x86_64: {
21887 cflags: [
21888 "-fstack-protector",
21889 "-msse3",
21890 ],
21891 },
21892 },
21893}
21894
21895// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception__testing
21896cc_object {
21897 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
21898 srcs: [
21899 "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
21900 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021901 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021902 defaults: [
21903 "cronet_aml_defaults",
21904 ],
21905 cflags: [
21906 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021907 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21908 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021909 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021910 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021911 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021912 "-DNVALGRIND",
21913 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021914 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021915 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021916 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021917 "-fdata-sections",
21918 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021919 "-fno-asynchronous-unwind-tables",
21920 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021921 "-fvisibility-inlines-hidden",
21922 "-fvisibility=hidden",
21923 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021924 ],
21925 local_include_dirs: [
21926 "./",
21927 "buildtools/third_party/libc++/",
21928 "buildtools/third_party/libc++/trunk/include",
21929 "buildtools/third_party/libc++abi/trunk/include",
21930 "third_party/abseil-cpp/",
21931 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021932 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021933 android_arm: {
21934 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021935 "-DANDROID",
21936 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21937 "-DHAVE_SYS_UIO_H",
21938 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021939 "-fstack-protector",
21940 ],
21941 },
21942 android_arm64: {
21943 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021944 "-DANDROID",
21945 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21946 "-DHAVE_SYS_UIO_H",
21947 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021948 "-fstack-protector",
21949 "-mno-outline",
21950 "-mno-outline-atomics",
21951 ],
21952 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021953 android_x86: {
21954 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021955 "-DANDROID",
21956 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21957 "-DHAVE_SYS_UIO_H",
21958 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021959 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021960 ],
21961 },
21962 android_x86_64: {
21963 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021964 "-DANDROID",
21965 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21966 "-DHAVE_SYS_UIO_H",
21967 "-Oz",
21968 "-fstack-protector",
21969 "-msse3",
21970 ],
21971 },
21972 host: {
21973 cflags: [
21974 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21975 "-DUSE_AURA=1",
21976 "-DUSE_OZONE=1",
21977 "-DUSE_UDEV",
21978 "-D_FILE_OFFSET_BITS=64",
21979 "-D_LARGEFILE64_SOURCE",
21980 "-D_LARGEFILE_SOURCE",
21981 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021982 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021983 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090021984 ],
21985 },
21986 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021987}
21988
21989// GN: //third_party/abseil-cpp/absl/random:seed_sequences
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021990cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070021991 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021992 srcs: [
21993 "third_party/abseil-cpp/absl/random/seed_sequences.cc",
21994 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090021995 generated_headers: [
21996 "cronet_aml_build_chromeos_buildflags",
21997 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021998 defaults: [
21999 "cronet_aml_defaults",
22000 ],
22001 cflags: [
22002 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022003 "-DANDROID",
22004 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22005 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22006 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22007 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22008 "-DHAVE_SYS_UIO_H",
22009 "-DNDEBUG",
22010 "-DNO_UNWIND_TABLES",
22011 "-DNVALGRIND",
22012 "-DOFFICIAL_BUILD",
22013 "-D_GNU_SOURCE",
22014 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22015 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22016 "-Oz",
22017 "-fdata-sections",
22018 "-ffunction-sections",
22019 "-fno-asynchronous-unwind-tables",
22020 "-fno-unwind-tables",
22021 "-fvisibility-inlines-hidden",
22022 "-fvisibility=hidden",
22023 "-g1",
22024 ],
22025 local_include_dirs: [
22026 "./",
22027 "buildtools/third_party/libc++/",
22028 "buildtools/third_party/libc++/trunk/include",
22029 "buildtools/third_party/libc++abi/trunk/include",
22030 "third_party/abseil-cpp/",
22031 ],
22032 cpp_std: "c++17",
22033 target: {
22034 android_arm: {
22035 cflags: [
22036 "-fstack-protector",
22037 ],
22038 },
22039 android_arm64: {
22040 cflags: [
22041 "-fstack-protector",
22042 "-mno-outline",
22043 "-mno-outline-atomics",
22044 ],
22045 },
22046 android_x86: {
22047 cflags: [
22048 "-msse3",
22049 ],
22050 },
22051 android_x86_64: {
22052 cflags: [
22053 "-fstack-protector",
22054 "-msse3",
22055 ],
22056 },
22057 },
22058}
22059
22060// GN: //third_party/abseil-cpp/absl/random:seed_sequences__testing
22061cc_object {
22062 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
22063 srcs: [
22064 "third_party/abseil-cpp/absl/random/seed_sequences.cc",
22065 ],
22066 host_supported: true,
22067 generated_headers: [
22068 "cronet_aml_build_chromeos_buildflags__testing",
22069 ],
22070 defaults: [
22071 "cronet_aml_defaults",
22072 ],
22073 cflags: [
22074 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022075 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22076 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022077 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022078 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022079 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022080 "-DNVALGRIND",
22081 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022082 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022083 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022084 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022085 "-fdata-sections",
22086 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022087 "-fno-asynchronous-unwind-tables",
22088 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022089 "-fvisibility-inlines-hidden",
22090 "-fvisibility=hidden",
22091 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022092 ],
22093 local_include_dirs: [
22094 "./",
22095 "buildtools/third_party/libc++/",
22096 "buildtools/third_party/libc++/trunk/include",
22097 "buildtools/third_party/libc++abi/trunk/include",
22098 "third_party/abseil-cpp/",
22099 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022100 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022101 android_arm: {
22102 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022103 "-DANDROID",
22104 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22105 "-DHAVE_SYS_UIO_H",
22106 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022107 "-fstack-protector",
22108 ],
22109 },
22110 android_arm64: {
22111 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022112 "-DANDROID",
22113 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22114 "-DHAVE_SYS_UIO_H",
22115 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022116 "-fstack-protector",
22117 "-mno-outline",
22118 "-mno-outline-atomics",
22119 ],
22120 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022121 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022122 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022123 "-DANDROID",
22124 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22125 "-DHAVE_SYS_UIO_H",
22126 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022127 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022128 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022129 },
22130 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022131 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022132 "-DANDROID",
22133 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22134 "-DHAVE_SYS_UIO_H",
22135 "-Oz",
22136 "-fstack-protector",
22137 "-msse3",
22138 ],
22139 },
22140 host: {
22141 cflags: [
22142 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22143 "-DUSE_AURA=1",
22144 "-DUSE_OZONE=1",
22145 "-DUSE_UDEV",
22146 "-D_FILE_OFFSET_BITS=64",
22147 "-D_LARGEFILE64_SOURCE",
22148 "-D_LARGEFILE_SOURCE",
22149 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022150 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022151 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022152 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022153 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022154 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022155}
22156
22157// GN: //third_party/abseil-cpp/absl/status:status
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022158cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022159 name: "cronet_aml_third_party_abseil_cpp_absl_status_status",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022160 srcs: [
22161 "third_party/abseil-cpp/absl/status/status.cc",
22162 "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
22163 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022164 defaults: [
22165 "cronet_aml_defaults",
22166 ],
22167 cflags: [
22168 "-DABSL_ALLOCATOR_NOTHROW=1",
22169 "-DANDROID",
22170 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22171 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22172 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22173 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22174 "-DHAVE_SYS_UIO_H",
22175 "-DNDEBUG",
22176 "-DNO_UNWIND_TABLES",
22177 "-DNVALGRIND",
22178 "-DOFFICIAL_BUILD",
22179 "-D_GNU_SOURCE",
22180 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22181 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22182 "-Oz",
22183 "-fdata-sections",
22184 "-ffunction-sections",
22185 "-fno-asynchronous-unwind-tables",
22186 "-fno-unwind-tables",
22187 "-fvisibility-inlines-hidden",
22188 "-fvisibility=hidden",
22189 "-g1",
22190 ],
22191 local_include_dirs: [
22192 "./",
22193 "buildtools/third_party/libc++/",
22194 "buildtools/third_party/libc++/trunk/include",
22195 "buildtools/third_party/libc++abi/trunk/include",
22196 "third_party/abseil-cpp/",
22197 ],
22198 cpp_std: "c++17",
22199 target: {
22200 android_arm: {
22201 cflags: [
22202 "-fstack-protector",
22203 ],
22204 },
22205 android_arm64: {
22206 cflags: [
22207 "-fstack-protector",
22208 "-mno-outline",
22209 "-mno-outline-atomics",
22210 ],
22211 },
22212 android_x86: {
22213 cflags: [
22214 "-msse3",
22215 ],
22216 },
22217 android_x86_64: {
22218 cflags: [
22219 "-fstack-protector",
22220 "-msse3",
22221 ],
22222 },
22223 },
22224}
22225
22226// GN: //third_party/abseil-cpp/absl/status:status__testing
22227cc_object {
22228 name: "cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
22229 srcs: [
22230 "third_party/abseil-cpp/absl/status/status.cc",
22231 "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
22232 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022233 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022234 defaults: [
22235 "cronet_aml_defaults",
22236 ],
22237 cflags: [
22238 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022239 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22240 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022241 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022242 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022243 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022244 "-DNVALGRIND",
22245 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022246 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022247 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022248 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022249 "-fdata-sections",
22250 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022251 "-fno-asynchronous-unwind-tables",
22252 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022253 "-fvisibility-inlines-hidden",
22254 "-fvisibility=hidden",
22255 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022256 ],
22257 local_include_dirs: [
22258 "./",
22259 "buildtools/third_party/libc++/",
22260 "buildtools/third_party/libc++/trunk/include",
22261 "buildtools/third_party/libc++abi/trunk/include",
22262 "third_party/abseil-cpp/",
22263 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022264 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022265 android_arm: {
22266 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022267 "-DANDROID",
22268 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22269 "-DHAVE_SYS_UIO_H",
22270 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022271 "-fstack-protector",
22272 ],
22273 },
22274 android_arm64: {
22275 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022276 "-DANDROID",
22277 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22278 "-DHAVE_SYS_UIO_H",
22279 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022280 "-fstack-protector",
22281 "-mno-outline",
22282 "-mno-outline-atomics",
22283 ],
22284 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022285 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022286 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022287 "-DANDROID",
22288 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22289 "-DHAVE_SYS_UIO_H",
22290 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022291 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022292 ],
22293 },
22294 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022295 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022296 "-DANDROID",
22297 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22298 "-DHAVE_SYS_UIO_H",
22299 "-Oz",
22300 "-fstack-protector",
22301 "-msse3",
22302 ],
22303 },
22304 host: {
22305 cflags: [
22306 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22307 "-DUSE_AURA=1",
22308 "-DUSE_OZONE=1",
22309 "-DUSE_UDEV",
22310 "-D_FILE_OFFSET_BITS=64",
22311 "-D_LARGEFILE64_SOURCE",
22312 "-D_LARGEFILE_SOURCE",
22313 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022314 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022315 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022316 ],
22317 },
22318 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022319}
22320
22321// GN: //third_party/abseil-cpp/absl/status:statusor
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022322cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022323 name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022324 srcs: [
22325 "third_party/abseil-cpp/absl/status/statusor.cc",
22326 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022327 defaults: [
22328 "cronet_aml_defaults",
22329 ],
22330 cflags: [
22331 "-DABSL_ALLOCATOR_NOTHROW=1",
22332 "-DANDROID",
22333 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22334 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22335 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22336 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22337 "-DHAVE_SYS_UIO_H",
22338 "-DNDEBUG",
22339 "-DNO_UNWIND_TABLES",
22340 "-DNVALGRIND",
22341 "-DOFFICIAL_BUILD",
22342 "-D_GNU_SOURCE",
22343 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22344 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22345 "-Oz",
22346 "-fdata-sections",
22347 "-ffunction-sections",
22348 "-fno-asynchronous-unwind-tables",
22349 "-fno-unwind-tables",
22350 "-fvisibility-inlines-hidden",
22351 "-fvisibility=hidden",
22352 "-g1",
22353 ],
22354 local_include_dirs: [
22355 "./",
22356 "buildtools/third_party/libc++/",
22357 "buildtools/third_party/libc++/trunk/include",
22358 "buildtools/third_party/libc++abi/trunk/include",
22359 "third_party/abseil-cpp/",
22360 ],
22361 cpp_std: "c++17",
22362 target: {
22363 android_arm: {
22364 cflags: [
22365 "-fstack-protector",
22366 ],
22367 },
22368 android_arm64: {
22369 cflags: [
22370 "-fstack-protector",
22371 "-mno-outline",
22372 "-mno-outline-atomics",
22373 ],
22374 },
22375 android_x86: {
22376 cflags: [
22377 "-msse3",
22378 ],
22379 },
22380 android_x86_64: {
22381 cflags: [
22382 "-fstack-protector",
22383 "-msse3",
22384 ],
22385 },
22386 },
22387}
22388
22389// GN: //third_party/abseil-cpp/absl/status:statusor__testing
22390cc_object {
22391 name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
22392 srcs: [
22393 "third_party/abseil-cpp/absl/status/statusor.cc",
22394 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022395 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022396 defaults: [
22397 "cronet_aml_defaults",
22398 ],
22399 cflags: [
22400 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022401 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22402 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022403 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022404 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022405 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022406 "-DNVALGRIND",
22407 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022408 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022409 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022410 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022411 "-fdata-sections",
22412 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022413 "-fno-asynchronous-unwind-tables",
22414 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022415 "-fvisibility-inlines-hidden",
22416 "-fvisibility=hidden",
22417 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022418 ],
22419 local_include_dirs: [
22420 "./",
22421 "buildtools/third_party/libc++/",
22422 "buildtools/third_party/libc++/trunk/include",
22423 "buildtools/third_party/libc++abi/trunk/include",
22424 "third_party/abseil-cpp/",
22425 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022426 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022427 android_arm: {
22428 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022429 "-DANDROID",
22430 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22431 "-DHAVE_SYS_UIO_H",
22432 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022433 "-fstack-protector",
22434 ],
22435 },
22436 android_arm64: {
22437 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022438 "-DANDROID",
22439 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22440 "-DHAVE_SYS_UIO_H",
22441 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022442 "-fstack-protector",
22443 "-mno-outline",
22444 "-mno-outline-atomics",
22445 ],
22446 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022447 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022448 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022449 "-DANDROID",
22450 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22451 "-DHAVE_SYS_UIO_H",
22452 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022453 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022454 ],
22455 },
22456 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022457 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022458 "-DANDROID",
22459 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22460 "-DHAVE_SYS_UIO_H",
22461 "-Oz",
22462 "-fstack-protector",
22463 "-msse3",
22464 ],
22465 },
22466 host: {
22467 cflags: [
22468 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22469 "-DUSE_AURA=1",
22470 "-DUSE_OZONE=1",
22471 "-DUSE_UDEV",
22472 "-D_FILE_OFFSET_BITS=64",
22473 "-D_LARGEFILE64_SOURCE",
22474 "-D_LARGEFILE_SOURCE",
22475 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022476 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022477 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022478 ],
22479 },
22480 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022481}
22482
22483// GN: //third_party/abseil-cpp/absl/strings:cord
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022484cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022485 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022486 srcs: [
22487 "third_party/abseil-cpp/absl/strings/cord.cc",
22488 "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
22489 "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
22490 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022491 defaults: [
22492 "cronet_aml_defaults",
22493 ],
22494 cflags: [
22495 "-DABSL_ALLOCATOR_NOTHROW=1",
22496 "-DANDROID",
22497 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22498 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22499 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22500 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22501 "-DHAVE_SYS_UIO_H",
22502 "-DNDEBUG",
22503 "-DNO_UNWIND_TABLES",
22504 "-DNVALGRIND",
22505 "-DOFFICIAL_BUILD",
22506 "-D_GNU_SOURCE",
22507 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22508 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22509 "-Oz",
22510 "-fdata-sections",
22511 "-ffunction-sections",
22512 "-fno-asynchronous-unwind-tables",
22513 "-fno-unwind-tables",
22514 "-fvisibility-inlines-hidden",
22515 "-fvisibility=hidden",
22516 "-g1",
22517 ],
22518 local_include_dirs: [
22519 "./",
22520 "buildtools/third_party/libc++/",
22521 "buildtools/third_party/libc++/trunk/include",
22522 "buildtools/third_party/libc++abi/trunk/include",
22523 "third_party/abseil-cpp/",
22524 ],
22525 cpp_std: "c++17",
22526 target: {
22527 android_arm: {
22528 cflags: [
22529 "-fstack-protector",
22530 ],
22531 },
22532 android_arm64: {
22533 cflags: [
22534 "-fstack-protector",
22535 "-mno-outline",
22536 "-mno-outline-atomics",
22537 ],
22538 },
22539 android_x86: {
22540 cflags: [
22541 "-msse3",
22542 ],
22543 },
22544 android_x86_64: {
22545 cflags: [
22546 "-fstack-protector",
22547 "-msse3",
22548 ],
22549 },
22550 },
22551}
22552
22553// GN: //third_party/abseil-cpp/absl/strings:cord__testing
22554cc_object {
22555 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
22556 srcs: [
22557 "third_party/abseil-cpp/absl/strings/cord.cc",
22558 "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
22559 "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
22560 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022561 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022562 defaults: [
22563 "cronet_aml_defaults",
22564 ],
22565 cflags: [
22566 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022567 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22568 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022569 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022570 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022571 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022572 "-DNVALGRIND",
22573 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022574 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022575 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022576 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022577 "-fdata-sections",
22578 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022579 "-fno-asynchronous-unwind-tables",
22580 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022581 "-fvisibility-inlines-hidden",
22582 "-fvisibility=hidden",
22583 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022584 ],
22585 local_include_dirs: [
22586 "./",
22587 "buildtools/third_party/libc++/",
22588 "buildtools/third_party/libc++/trunk/include",
22589 "buildtools/third_party/libc++abi/trunk/include",
22590 "third_party/abseil-cpp/",
22591 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022592 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022593 android_arm: {
22594 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022595 "-DANDROID",
22596 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22597 "-DHAVE_SYS_UIO_H",
22598 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022599 "-fstack-protector",
22600 ],
22601 },
22602 android_arm64: {
22603 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022604 "-DANDROID",
22605 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22606 "-DHAVE_SYS_UIO_H",
22607 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022608 "-fstack-protector",
22609 "-mno-outline",
22610 "-mno-outline-atomics",
22611 ],
22612 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022613 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022614 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022615 "-DANDROID",
22616 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22617 "-DHAVE_SYS_UIO_H",
22618 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022619 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022620 ],
22621 },
22622 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022623 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022624 "-DANDROID",
22625 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22626 "-DHAVE_SYS_UIO_H",
22627 "-Oz",
22628 "-fstack-protector",
22629 "-msse3",
22630 ],
22631 },
22632 host: {
22633 cflags: [
22634 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22635 "-DUSE_AURA=1",
22636 "-DUSE_OZONE=1",
22637 "-DUSE_UDEV",
22638 "-D_FILE_OFFSET_BITS=64",
22639 "-D_LARGEFILE64_SOURCE",
22640 "-D_LARGEFILE_SOURCE",
22641 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022642 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022643 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022644 ],
22645 },
22646 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022647}
22648
22649// GN: //third_party/abseil-cpp/absl/strings:cord_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022650cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022651 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022652 srcs: [
22653 "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
22654 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
22655 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
22656 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
22657 "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
22658 "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
22659 "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
22660 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022661 defaults: [
22662 "cronet_aml_defaults",
22663 ],
22664 cflags: [
22665 "-DABSL_ALLOCATOR_NOTHROW=1",
22666 "-DANDROID",
22667 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22668 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22669 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22670 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22671 "-DHAVE_SYS_UIO_H",
22672 "-DNDEBUG",
22673 "-DNO_UNWIND_TABLES",
22674 "-DNVALGRIND",
22675 "-DOFFICIAL_BUILD",
22676 "-D_GNU_SOURCE",
22677 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22678 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22679 "-Oz",
22680 "-fdata-sections",
22681 "-ffunction-sections",
22682 "-fno-asynchronous-unwind-tables",
22683 "-fno-unwind-tables",
22684 "-fvisibility-inlines-hidden",
22685 "-fvisibility=hidden",
22686 "-g1",
22687 ],
22688 local_include_dirs: [
22689 "./",
22690 "buildtools/third_party/libc++/",
22691 "buildtools/third_party/libc++/trunk/include",
22692 "buildtools/third_party/libc++abi/trunk/include",
22693 "third_party/abseil-cpp/",
22694 ],
22695 cpp_std: "c++17",
22696 target: {
22697 android_arm: {
22698 cflags: [
22699 "-fstack-protector",
22700 ],
22701 },
22702 android_arm64: {
22703 cflags: [
22704 "-fstack-protector",
22705 "-mno-outline",
22706 "-mno-outline-atomics",
22707 ],
22708 },
22709 android_x86: {
22710 cflags: [
22711 "-msse3",
22712 ],
22713 },
22714 android_x86_64: {
22715 cflags: [
22716 "-fstack-protector",
22717 "-msse3",
22718 ],
22719 },
22720 },
22721}
22722
22723// GN: //third_party/abseil-cpp/absl/strings:cord_internal__testing
22724cc_object {
22725 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
22726 srcs: [
22727 "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
22728 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
22729 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
22730 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
22731 "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
22732 "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
22733 "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
22734 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022735 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022736 defaults: [
22737 "cronet_aml_defaults",
22738 ],
22739 cflags: [
22740 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022741 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22742 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022743 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022744 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022745 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022746 "-DNVALGRIND",
22747 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022748 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022749 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022750 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022751 "-fdata-sections",
22752 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022753 "-fno-asynchronous-unwind-tables",
22754 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022755 "-fvisibility-inlines-hidden",
22756 "-fvisibility=hidden",
22757 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022758 ],
22759 local_include_dirs: [
22760 "./",
22761 "buildtools/third_party/libc++/",
22762 "buildtools/third_party/libc++/trunk/include",
22763 "buildtools/third_party/libc++abi/trunk/include",
22764 "third_party/abseil-cpp/",
22765 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022766 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022767 android_arm: {
22768 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022769 "-DANDROID",
22770 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22771 "-DHAVE_SYS_UIO_H",
22772 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022773 "-fstack-protector",
22774 ],
22775 },
22776 android_arm64: {
22777 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022778 "-DANDROID",
22779 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22780 "-DHAVE_SYS_UIO_H",
22781 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022782 "-fstack-protector",
22783 "-mno-outline",
22784 "-mno-outline-atomics",
22785 ],
22786 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022787 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022788 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022789 "-DANDROID",
22790 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22791 "-DHAVE_SYS_UIO_H",
22792 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022793 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022794 ],
22795 },
22796 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022797 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022798 "-DANDROID",
22799 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22800 "-DHAVE_SYS_UIO_H",
22801 "-Oz",
22802 "-fstack-protector",
22803 "-msse3",
22804 ],
22805 },
22806 host: {
22807 cflags: [
22808 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22809 "-DUSE_AURA=1",
22810 "-DUSE_OZONE=1",
22811 "-DUSE_UDEV",
22812 "-D_FILE_OFFSET_BITS=64",
22813 "-D_LARGEFILE64_SOURCE",
22814 "-D_LARGEFILE_SOURCE",
22815 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022816 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022817 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022818 ],
22819 },
22820 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022821}
22822
22823// GN: //third_party/abseil-cpp/absl/strings:cordz_functions
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022824cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022825 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022826 srcs: [
22827 "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
22828 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022829 defaults: [
22830 "cronet_aml_defaults",
22831 ],
22832 cflags: [
22833 "-DABSL_ALLOCATOR_NOTHROW=1",
22834 "-DANDROID",
22835 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22836 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22837 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22838 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22839 "-DHAVE_SYS_UIO_H",
22840 "-DNDEBUG",
22841 "-DNO_UNWIND_TABLES",
22842 "-DNVALGRIND",
22843 "-DOFFICIAL_BUILD",
22844 "-D_GNU_SOURCE",
22845 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22846 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22847 "-Oz",
22848 "-fdata-sections",
22849 "-ffunction-sections",
22850 "-fno-asynchronous-unwind-tables",
22851 "-fno-unwind-tables",
22852 "-fvisibility-inlines-hidden",
22853 "-fvisibility=hidden",
22854 "-g1",
22855 ],
22856 local_include_dirs: [
22857 "./",
22858 "buildtools/third_party/libc++/",
22859 "buildtools/third_party/libc++/trunk/include",
22860 "buildtools/third_party/libc++abi/trunk/include",
22861 "third_party/abseil-cpp/",
22862 ],
22863 cpp_std: "c++17",
22864 target: {
22865 android_arm: {
22866 cflags: [
22867 "-fstack-protector",
22868 ],
22869 },
22870 android_arm64: {
22871 cflags: [
22872 "-fstack-protector",
22873 "-mno-outline",
22874 "-mno-outline-atomics",
22875 ],
22876 },
22877 android_x86: {
22878 cflags: [
22879 "-msse3",
22880 ],
22881 },
22882 android_x86_64: {
22883 cflags: [
22884 "-fstack-protector",
22885 "-msse3",
22886 ],
22887 },
22888 },
22889}
22890
22891// GN: //third_party/abseil-cpp/absl/strings:cordz_functions__testing
22892cc_object {
22893 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
22894 srcs: [
22895 "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
22896 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022897 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022898 defaults: [
22899 "cronet_aml_defaults",
22900 ],
22901 cflags: [
22902 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022903 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22904 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022905 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022906 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022907 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022908 "-DNVALGRIND",
22909 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022910 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022911 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022912 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022913 "-fdata-sections",
22914 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022915 "-fno-asynchronous-unwind-tables",
22916 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022917 "-fvisibility-inlines-hidden",
22918 "-fvisibility=hidden",
22919 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022920 ],
22921 local_include_dirs: [
22922 "./",
22923 "buildtools/third_party/libc++/",
22924 "buildtools/third_party/libc++/trunk/include",
22925 "buildtools/third_party/libc++abi/trunk/include",
22926 "third_party/abseil-cpp/",
22927 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022928 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022929 android_arm: {
22930 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022931 "-DANDROID",
22932 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22933 "-DHAVE_SYS_UIO_H",
22934 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022935 "-fstack-protector",
22936 ],
22937 },
22938 android_arm64: {
22939 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022940 "-DANDROID",
22941 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22942 "-DHAVE_SYS_UIO_H",
22943 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022944 "-fstack-protector",
22945 "-mno-outline",
22946 "-mno-outline-atomics",
22947 ],
22948 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022949 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022950 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022951 "-DANDROID",
22952 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22953 "-DHAVE_SYS_UIO_H",
22954 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022955 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022956 ],
22957 },
22958 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022959 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022960 "-DANDROID",
22961 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22962 "-DHAVE_SYS_UIO_H",
22963 "-Oz",
22964 "-fstack-protector",
22965 "-msse3",
22966 ],
22967 },
22968 host: {
22969 cflags: [
22970 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22971 "-DUSE_AURA=1",
22972 "-DUSE_OZONE=1",
22973 "-DUSE_UDEV",
22974 "-D_FILE_OFFSET_BITS=64",
22975 "-D_LARGEFILE64_SOURCE",
22976 "-D_LARGEFILE_SOURCE",
22977 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022978 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022979 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022980 ],
22981 },
22982 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022983}
22984
22985// GN: //third_party/abseil-cpp/absl/strings:cordz_handle
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022986cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022987 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022988 srcs: [
22989 "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
22990 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022991 defaults: [
22992 "cronet_aml_defaults",
22993 ],
22994 cflags: [
22995 "-DABSL_ALLOCATOR_NOTHROW=1",
22996 "-DANDROID",
22997 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22998 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22999 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23000 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23001 "-DHAVE_SYS_UIO_H",
23002 "-DNDEBUG",
23003 "-DNO_UNWIND_TABLES",
23004 "-DNVALGRIND",
23005 "-DOFFICIAL_BUILD",
23006 "-D_GNU_SOURCE",
23007 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23008 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23009 "-Oz",
23010 "-fdata-sections",
23011 "-ffunction-sections",
23012 "-fno-asynchronous-unwind-tables",
23013 "-fno-unwind-tables",
23014 "-fvisibility-inlines-hidden",
23015 "-fvisibility=hidden",
23016 "-g1",
23017 ],
23018 local_include_dirs: [
23019 "./",
23020 "buildtools/third_party/libc++/",
23021 "buildtools/third_party/libc++/trunk/include",
23022 "buildtools/third_party/libc++abi/trunk/include",
23023 "third_party/abseil-cpp/",
23024 ],
23025 cpp_std: "c++17",
23026 target: {
23027 android_arm: {
23028 cflags: [
23029 "-fstack-protector",
23030 ],
23031 },
23032 android_arm64: {
23033 cflags: [
23034 "-fstack-protector",
23035 "-mno-outline",
23036 "-mno-outline-atomics",
23037 ],
23038 },
23039 android_x86: {
23040 cflags: [
23041 "-msse3",
23042 ],
23043 },
23044 android_x86_64: {
23045 cflags: [
23046 "-fstack-protector",
23047 "-msse3",
23048 ],
23049 },
23050 },
23051}
23052
23053// GN: //third_party/abseil-cpp/absl/strings:cordz_handle__testing
23054cc_object {
23055 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
23056 srcs: [
23057 "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
23058 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023059 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023060 defaults: [
23061 "cronet_aml_defaults",
23062 ],
23063 cflags: [
23064 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023065 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23066 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023067 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023068 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023069 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023070 "-DNVALGRIND",
23071 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023072 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023073 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023074 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023075 "-fdata-sections",
23076 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023077 "-fno-asynchronous-unwind-tables",
23078 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023079 "-fvisibility-inlines-hidden",
23080 "-fvisibility=hidden",
23081 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023082 ],
23083 local_include_dirs: [
23084 "./",
23085 "buildtools/third_party/libc++/",
23086 "buildtools/third_party/libc++/trunk/include",
23087 "buildtools/third_party/libc++abi/trunk/include",
23088 "third_party/abseil-cpp/",
23089 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090023090 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023091 android_arm: {
23092 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023093 "-DANDROID",
23094 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23095 "-DHAVE_SYS_UIO_H",
23096 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023097 "-fstack-protector",
23098 ],
23099 },
23100 android_arm64: {
23101 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023102 "-DANDROID",
23103 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23104 "-DHAVE_SYS_UIO_H",
23105 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023106 "-fstack-protector",
23107 "-mno-outline",
23108 "-mno-outline-atomics",
23109 ],
23110 },
Motomu Utsumi55394632022-11-18 17:44:28 +090023111 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023112 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023113 "-DANDROID",
23114 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23115 "-DHAVE_SYS_UIO_H",
23116 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023117 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023118 ],
23119 },
23120 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023121 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023122 "-DANDROID",
23123 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23124 "-DHAVE_SYS_UIO_H",
23125 "-Oz",
23126 "-fstack-protector",
23127 "-msse3",
23128 ],
23129 },
23130 host: {
23131 cflags: [
23132 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23133 "-DUSE_AURA=1",
23134 "-DUSE_OZONE=1",
23135 "-DUSE_UDEV",
23136 "-D_FILE_OFFSET_BITS=64",
23137 "-D_LARGEFILE64_SOURCE",
23138 "-D_LARGEFILE_SOURCE",
23139 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023140 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023141 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023142 ],
23143 },
23144 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023145}
23146
23147// GN: //third_party/abseil-cpp/absl/strings:cordz_info
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023148cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070023149 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023150 srcs: [
23151 "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
23152 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023153 defaults: [
23154 "cronet_aml_defaults",
23155 ],
23156 cflags: [
23157 "-DABSL_ALLOCATOR_NOTHROW=1",
23158 "-DANDROID",
23159 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23160 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23161 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23162 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23163 "-DHAVE_SYS_UIO_H",
23164 "-DNDEBUG",
23165 "-DNO_UNWIND_TABLES",
23166 "-DNVALGRIND",
23167 "-DOFFICIAL_BUILD",
23168 "-D_GNU_SOURCE",
23169 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23170 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23171 "-Oz",
23172 "-fdata-sections",
23173 "-ffunction-sections",
23174 "-fno-asynchronous-unwind-tables",
23175 "-fno-unwind-tables",
23176 "-fvisibility-inlines-hidden",
23177 "-fvisibility=hidden",
23178 "-g1",
23179 ],
23180 local_include_dirs: [
23181 "./",
23182 "buildtools/third_party/libc++/",
23183 "buildtools/third_party/libc++/trunk/include",
23184 "buildtools/third_party/libc++abi/trunk/include",
23185 "third_party/abseil-cpp/",
23186 ],
23187 cpp_std: "c++17",
23188 target: {
23189 android_arm: {
23190 cflags: [
23191 "-fstack-protector",
23192 ],
23193 },
23194 android_arm64: {
23195 cflags: [
23196 "-fstack-protector",
23197 "-mno-outline",
23198 "-mno-outline-atomics",
23199 ],
23200 },
23201 android_x86: {
23202 cflags: [
23203 "-msse3",
23204 ],
23205 },
23206 android_x86_64: {
23207 cflags: [
23208 "-fstack-protector",
23209 "-msse3",
23210 ],
23211 },
23212 },
23213}
23214
23215// GN: //third_party/abseil-cpp/absl/strings:cordz_info__testing
23216cc_object {
23217 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
23218 srcs: [
23219 "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
23220 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023221 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023222 defaults: [
23223 "cronet_aml_defaults",
23224 ],
23225 cflags: [
23226 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023227 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23228 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023229 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023230 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023231 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023232 "-DNVALGRIND",
23233 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023234 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023235 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023236 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023237 "-fdata-sections",
23238 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023239 "-fno-asynchronous-unwind-tables",
23240 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023241 "-fvisibility-inlines-hidden",
23242 "-fvisibility=hidden",
23243 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023244 ],
23245 local_include_dirs: [
23246 "./",
23247 "buildtools/third_party/libc++/",
23248 "buildtools/third_party/libc++/trunk/include",
23249 "buildtools/third_party/libc++abi/trunk/include",
23250 "third_party/abseil-cpp/",
23251 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090023252 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023253 android_arm: {
23254 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023255 "-DANDROID",
23256 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23257 "-DHAVE_SYS_UIO_H",
23258 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023259 "-fstack-protector",
23260 ],
23261 },
23262 android_arm64: {
23263 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023264 "-DANDROID",
23265 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23266 "-DHAVE_SYS_UIO_H",
23267 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023268 "-fstack-protector",
23269 "-mno-outline",
23270 "-mno-outline-atomics",
23271 ],
23272 },
Motomu Utsumi55394632022-11-18 17:44:28 +090023273 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023274 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023275 "-DANDROID",
23276 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23277 "-DHAVE_SYS_UIO_H",
23278 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023279 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023280 ],
23281 },
23282 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023283 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023284 "-DANDROID",
23285 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23286 "-DHAVE_SYS_UIO_H",
23287 "-Oz",
23288 "-fstack-protector",
23289 "-msse3",
23290 ],
23291 },
23292 host: {
23293 cflags: [
23294 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23295 "-DUSE_AURA=1",
23296 "-DUSE_OZONE=1",
23297 "-DUSE_UDEV",
23298 "-D_FILE_OFFSET_BITS=64",
23299 "-D_LARGEFILE64_SOURCE",
23300 "-D_LARGEFILE_SOURCE",
23301 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023302 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023303 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023304 ],
23305 },
23306 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023307}
23308
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023309// GN: //third_party/abseil-cpp/absl/strings:internal
23310cc_object {
23311 name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal",
23312 srcs: [
23313 "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
23314 "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
23315 "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
23316 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023317 defaults: [
23318 "cronet_aml_defaults",
23319 ],
23320 cflags: [
23321 "-DABSL_ALLOCATOR_NOTHROW=1",
23322 "-DANDROID",
23323 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23324 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23325 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23326 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23327 "-DHAVE_SYS_UIO_H",
23328 "-DNDEBUG",
23329 "-DNO_UNWIND_TABLES",
23330 "-DNVALGRIND",
23331 "-DOFFICIAL_BUILD",
23332 "-D_GNU_SOURCE",
23333 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23334 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23335 "-Oz",
23336 "-fdata-sections",
23337 "-ffunction-sections",
23338 "-fno-asynchronous-unwind-tables",
23339 "-fno-unwind-tables",
23340 "-fvisibility-inlines-hidden",
23341 "-fvisibility=hidden",
23342 "-g1",
23343 ],
23344 local_include_dirs: [
23345 "./",
23346 "buildtools/third_party/libc++/",
23347 "buildtools/third_party/libc++/trunk/include",
23348 "buildtools/third_party/libc++abi/trunk/include",
23349 "third_party/abseil-cpp/",
23350 ],
23351 cpp_std: "c++17",
23352 target: {
23353 android_arm: {
23354 cflags: [
23355 "-fstack-protector",
23356 ],
23357 },
23358 android_arm64: {
23359 cflags: [
23360 "-fstack-protector",
23361 "-mno-outline",
23362 "-mno-outline-atomics",
23363 ],
23364 },
23365 android_x86: {
23366 cflags: [
23367 "-msse3",
23368 ],
23369 },
23370 android_x86_64: {
23371 cflags: [
23372 "-fstack-protector",
23373 "-msse3",
23374 ],
23375 },
23376 },
23377}
23378
23379// GN: //third_party/abseil-cpp/absl/strings:internal__testing
23380cc_object {
23381 name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
23382 srcs: [
23383 "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
23384 "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
23385 "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
23386 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023387 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023388 defaults: [
23389 "cronet_aml_defaults",
23390 ],
23391 cflags: [
23392 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023393 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23394 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023395 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023396 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023397 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023398 "-DNVALGRIND",
23399 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023400 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023401 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023402 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023403 "-fdata-sections",
23404 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023405 "-fno-asynchronous-unwind-tables",
23406 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023407 "-fvisibility-inlines-hidden",
23408 "-fvisibility=hidden",
23409 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023410 ],
23411 local_include_dirs: [
23412 "./",
23413 "buildtools/third_party/libc++/",
23414 "buildtools/third_party/libc++/trunk/include",
23415 "buildtools/third_party/libc++abi/trunk/include",
23416 "third_party/abseil-cpp/",
23417 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023418 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023419 android_arm: {
23420 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023421 "-DANDROID",
23422 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23423 "-DHAVE_SYS_UIO_H",
23424 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023425 "-fstack-protector",
23426 ],
23427 },
23428 android_arm64: {
23429 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023430 "-DANDROID",
23431 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23432 "-DHAVE_SYS_UIO_H",
23433 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023434 "-fstack-protector",
23435 "-mno-outline",
23436 "-mno-outline-atomics",
23437 ],
23438 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023439 android_x86: {
23440 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023441 "-DANDROID",
23442 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23443 "-DHAVE_SYS_UIO_H",
23444 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023445 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023446 ],
23447 },
23448 android_x86_64: {
23449 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023450 "-DANDROID",
23451 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23452 "-DHAVE_SYS_UIO_H",
23453 "-Oz",
23454 "-fstack-protector",
23455 "-msse3",
23456 ],
23457 },
23458 host: {
23459 cflags: [
23460 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23461 "-DUSE_AURA=1",
23462 "-DUSE_OZONE=1",
23463 "-DUSE_UDEV",
23464 "-D_FILE_OFFSET_BITS=64",
23465 "-D_LARGEFILE64_SOURCE",
23466 "-D_LARGEFILE_SOURCE",
23467 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023468 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023469 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023470 ],
23471 },
23472 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023473}
23474
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023475// GN: //third_party/abseil-cpp/absl/strings:str_format_internal
23476cc_object {
23477 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
23478 srcs: [
23479 "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
23480 "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
23481 "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
23482 "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
23483 "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
23484 "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
23485 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023486 defaults: [
23487 "cronet_aml_defaults",
23488 ],
23489 cflags: [
23490 "-DABSL_ALLOCATOR_NOTHROW=1",
23491 "-DANDROID",
23492 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23493 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23494 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23495 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23496 "-DHAVE_SYS_UIO_H",
23497 "-DNDEBUG",
23498 "-DNO_UNWIND_TABLES",
23499 "-DNVALGRIND",
23500 "-DOFFICIAL_BUILD",
23501 "-D_GNU_SOURCE",
23502 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23503 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23504 "-Oz",
23505 "-fdata-sections",
23506 "-ffunction-sections",
23507 "-fno-asynchronous-unwind-tables",
23508 "-fno-unwind-tables",
23509 "-fvisibility-inlines-hidden",
23510 "-fvisibility=hidden",
23511 "-g1",
23512 ],
23513 local_include_dirs: [
23514 "./",
23515 "buildtools/third_party/libc++/",
23516 "buildtools/third_party/libc++/trunk/include",
23517 "buildtools/third_party/libc++abi/trunk/include",
23518 "third_party/abseil-cpp/",
23519 ],
23520 cpp_std: "c++17",
23521 target: {
23522 android_arm: {
23523 cflags: [
23524 "-fstack-protector",
23525 ],
23526 },
23527 android_arm64: {
23528 cflags: [
23529 "-fstack-protector",
23530 "-mno-outline",
23531 "-mno-outline-atomics",
23532 ],
23533 },
23534 android_x86: {
23535 cflags: [
23536 "-msse3",
23537 ],
23538 },
23539 android_x86_64: {
23540 cflags: [
23541 "-fstack-protector",
23542 "-msse3",
23543 ],
23544 },
23545 },
23546}
23547
23548// GN: //third_party/abseil-cpp/absl/strings:str_format_internal__testing
23549cc_object {
23550 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
23551 srcs: [
23552 "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
23553 "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
23554 "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
23555 "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
23556 "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
23557 "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
23558 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023559 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023560 defaults: [
23561 "cronet_aml_defaults",
23562 ],
23563 cflags: [
23564 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023565 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23566 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023567 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023568 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023569 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023570 "-DNVALGRIND",
23571 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023572 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023573 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023574 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023575 "-fdata-sections",
23576 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023577 "-fno-asynchronous-unwind-tables",
23578 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023579 "-fvisibility-inlines-hidden",
23580 "-fvisibility=hidden",
23581 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023582 ],
23583 local_include_dirs: [
23584 "./",
23585 "buildtools/third_party/libc++/",
23586 "buildtools/third_party/libc++/trunk/include",
23587 "buildtools/third_party/libc++abi/trunk/include",
23588 "third_party/abseil-cpp/",
23589 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023590 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023591 android_arm: {
23592 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023593 "-DANDROID",
23594 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23595 "-DHAVE_SYS_UIO_H",
23596 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023597 "-fstack-protector",
23598 ],
23599 },
23600 android_arm64: {
23601 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023602 "-DANDROID",
23603 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23604 "-DHAVE_SYS_UIO_H",
23605 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023606 "-fstack-protector",
23607 "-mno-outline",
23608 "-mno-outline-atomics",
23609 ],
23610 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023611 android_x86: {
23612 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023613 "-DANDROID",
23614 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23615 "-DHAVE_SYS_UIO_H",
23616 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023617 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023618 ],
23619 },
23620 android_x86_64: {
23621 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023622 "-DANDROID",
23623 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23624 "-DHAVE_SYS_UIO_H",
23625 "-Oz",
23626 "-fstack-protector",
23627 "-msse3",
23628 ],
23629 },
23630 host: {
23631 cflags: [
23632 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23633 "-DUSE_AURA=1",
23634 "-DUSE_OZONE=1",
23635 "-DUSE_UDEV",
23636 "-D_FILE_OFFSET_BITS=64",
23637 "-D_LARGEFILE64_SOURCE",
23638 "-D_LARGEFILE_SOURCE",
23639 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023640 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023641 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023642 ],
23643 },
23644 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023645}
23646
23647// GN: //third_party/abseil-cpp/absl/strings:strings
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023648cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070023649 name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023650 srcs: [
23651 "third_party/abseil-cpp/absl/strings/ascii.cc",
23652 "third_party/abseil-cpp/absl/strings/charconv.cc",
23653 "third_party/abseil-cpp/absl/strings/escaping.cc",
23654 "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
23655 "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023656 "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
23657 "third_party/abseil-cpp/absl/strings/match.cc",
23658 "third_party/abseil-cpp/absl/strings/numbers.cc",
23659 "third_party/abseil-cpp/absl/strings/str_cat.cc",
23660 "third_party/abseil-cpp/absl/strings/str_replace.cc",
23661 "third_party/abseil-cpp/absl/strings/str_split.cc",
23662 "third_party/abseil-cpp/absl/strings/string_view.cc",
23663 "third_party/abseil-cpp/absl/strings/substitute.cc",
23664 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023665 defaults: [
23666 "cronet_aml_defaults",
23667 ],
23668 cflags: [
23669 "-DABSL_ALLOCATOR_NOTHROW=1",
23670 "-DANDROID",
23671 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23672 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23673 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23674 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23675 "-DHAVE_SYS_UIO_H",
23676 "-DNDEBUG",
23677 "-DNO_UNWIND_TABLES",
23678 "-DNVALGRIND",
23679 "-DOFFICIAL_BUILD",
23680 "-D_GNU_SOURCE",
23681 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23682 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23683 "-Oz",
23684 "-fdata-sections",
23685 "-ffunction-sections",
23686 "-fno-asynchronous-unwind-tables",
23687 "-fno-unwind-tables",
23688 "-fvisibility-inlines-hidden",
23689 "-fvisibility=hidden",
23690 "-g1",
23691 ],
23692 local_include_dirs: [
23693 "./",
23694 "buildtools/third_party/libc++/",
23695 "buildtools/third_party/libc++/trunk/include",
23696 "buildtools/third_party/libc++abi/trunk/include",
23697 "third_party/abseil-cpp/",
23698 ],
23699 cpp_std: "c++17",
23700 target: {
23701 android_arm: {
23702 cflags: [
23703 "-fstack-protector",
23704 ],
23705 },
23706 android_arm64: {
23707 cflags: [
23708 "-fstack-protector",
23709 "-mno-outline",
23710 "-mno-outline-atomics",
23711 ],
23712 },
23713 android_x86: {
23714 cflags: [
23715 "-msse3",
23716 ],
23717 },
23718 android_x86_64: {
23719 cflags: [
23720 "-fstack-protector",
23721 "-msse3",
23722 ],
23723 },
23724 },
23725}
23726
23727// GN: //third_party/abseil-cpp/absl/strings:strings__testing
23728cc_object {
23729 name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
23730 srcs: [
23731 "third_party/abseil-cpp/absl/strings/ascii.cc",
23732 "third_party/abseil-cpp/absl/strings/charconv.cc",
23733 "third_party/abseil-cpp/absl/strings/escaping.cc",
23734 "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
23735 "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
23736 "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
23737 "third_party/abseil-cpp/absl/strings/match.cc",
23738 "third_party/abseil-cpp/absl/strings/numbers.cc",
23739 "third_party/abseil-cpp/absl/strings/str_cat.cc",
23740 "third_party/abseil-cpp/absl/strings/str_replace.cc",
23741 "third_party/abseil-cpp/absl/strings/str_split.cc",
23742 "third_party/abseil-cpp/absl/strings/string_view.cc",
23743 "third_party/abseil-cpp/absl/strings/substitute.cc",
23744 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023745 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023746 defaults: [
23747 "cronet_aml_defaults",
23748 ],
23749 cflags: [
23750 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023751 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23752 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023753 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023754 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023755 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023756 "-DNVALGRIND",
23757 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023758 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023759 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023760 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023761 "-fdata-sections",
23762 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023763 "-fno-asynchronous-unwind-tables",
23764 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023765 "-fvisibility-inlines-hidden",
23766 "-fvisibility=hidden",
23767 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023768 ],
23769 local_include_dirs: [
23770 "./",
23771 "buildtools/third_party/libc++/",
23772 "buildtools/third_party/libc++/trunk/include",
23773 "buildtools/third_party/libc++abi/trunk/include",
23774 "third_party/abseil-cpp/",
23775 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090023776 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023777 android_arm: {
23778 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023779 "-DANDROID",
23780 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23781 "-DHAVE_SYS_UIO_H",
23782 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023783 "-fstack-protector",
23784 ],
23785 },
23786 android_arm64: {
23787 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023788 "-DANDROID",
23789 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23790 "-DHAVE_SYS_UIO_H",
23791 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023792 "-fstack-protector",
23793 "-mno-outline",
23794 "-mno-outline-atomics",
23795 ],
23796 },
Motomu Utsumi55394632022-11-18 17:44:28 +090023797 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023798 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023799 "-DANDROID",
23800 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23801 "-DHAVE_SYS_UIO_H",
23802 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023803 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023804 ],
23805 },
23806 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023807 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023808 "-DANDROID",
23809 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23810 "-DHAVE_SYS_UIO_H",
23811 "-Oz",
23812 "-fstack-protector",
23813 "-msse3",
23814 ],
23815 },
23816 host: {
23817 cflags: [
23818 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23819 "-DUSE_AURA=1",
23820 "-DUSE_OZONE=1",
23821 "-DUSE_UDEV",
23822 "-D_FILE_OFFSET_BITS=64",
23823 "-D_LARGEFILE64_SOURCE",
23824 "-D_LARGEFILE_SOURCE",
23825 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023826 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023827 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023828 ],
23829 },
23830 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023831}
23832
23833// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023834cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070023835 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023836 srcs: [
23837 "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
23838 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023839 defaults: [
23840 "cronet_aml_defaults",
23841 ],
23842 cflags: [
23843 "-DABSL_ALLOCATOR_NOTHROW=1",
23844 "-DANDROID",
23845 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23846 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23847 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23848 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23849 "-DHAVE_SYS_UIO_H",
23850 "-DNDEBUG",
23851 "-DNO_UNWIND_TABLES",
23852 "-DNVALGRIND",
23853 "-DOFFICIAL_BUILD",
23854 "-D_GNU_SOURCE",
23855 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23856 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23857 "-Oz",
23858 "-fdata-sections",
23859 "-ffunction-sections",
23860 "-fno-asynchronous-unwind-tables",
23861 "-fno-unwind-tables",
23862 "-fvisibility-inlines-hidden",
23863 "-fvisibility=hidden",
23864 "-g1",
23865 ],
23866 local_include_dirs: [
23867 "./",
23868 "buildtools/third_party/libc++/",
23869 "buildtools/third_party/libc++/trunk/include",
23870 "buildtools/third_party/libc++abi/trunk/include",
23871 "third_party/abseil-cpp/",
23872 ],
23873 cpp_std: "c++17",
23874 target: {
23875 android_arm: {
23876 cflags: [
23877 "-fstack-protector",
23878 ],
23879 },
23880 android_arm64: {
23881 cflags: [
23882 "-fstack-protector",
23883 "-mno-outline",
23884 "-mno-outline-atomics",
23885 ],
23886 },
23887 android_x86: {
23888 cflags: [
23889 "-msse3",
23890 ],
23891 },
23892 android_x86_64: {
23893 cflags: [
23894 "-fstack-protector",
23895 "-msse3",
23896 ],
23897 },
23898 },
23899}
23900
23901// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal__testing
23902cc_object {
23903 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
23904 srcs: [
23905 "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
23906 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023907 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023908 defaults: [
23909 "cronet_aml_defaults",
23910 ],
23911 cflags: [
23912 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023913 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23914 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023915 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023916 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023917 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023918 "-DNVALGRIND",
23919 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023920 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023921 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023922 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023923 "-fdata-sections",
23924 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023925 "-fno-asynchronous-unwind-tables",
23926 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023927 "-fvisibility-inlines-hidden",
23928 "-fvisibility=hidden",
23929 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023930 ],
23931 local_include_dirs: [
23932 "./",
23933 "buildtools/third_party/libc++/",
23934 "buildtools/third_party/libc++/trunk/include",
23935 "buildtools/third_party/libc++abi/trunk/include",
23936 "third_party/abseil-cpp/",
23937 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090023938 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023939 android_arm: {
23940 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023941 "-DANDROID",
23942 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23943 "-DHAVE_SYS_UIO_H",
23944 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023945 "-fstack-protector",
23946 ],
23947 },
23948 android_arm64: {
23949 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023950 "-DANDROID",
23951 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23952 "-DHAVE_SYS_UIO_H",
23953 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023954 "-fstack-protector",
23955 "-mno-outline",
23956 "-mno-outline-atomics",
23957 ],
23958 },
Motomu Utsumi55394632022-11-18 17:44:28 +090023959 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023960 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023961 "-DANDROID",
23962 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23963 "-DHAVE_SYS_UIO_H",
23964 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023965 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023966 ],
23967 },
23968 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023969 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023970 "-DANDROID",
23971 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23972 "-DHAVE_SYS_UIO_H",
23973 "-Oz",
23974 "-fstack-protector",
23975 "-msse3",
23976 ],
23977 },
23978 host: {
23979 cflags: [
23980 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23981 "-DUSE_AURA=1",
23982 "-DUSE_OZONE=1",
23983 "-DUSE_UDEV",
23984 "-D_FILE_OFFSET_BITS=64",
23985 "-D_LARGEFILE64_SOURCE",
23986 "-D_LARGEFILE_SOURCE",
23987 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023988 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023989 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023990 ],
23991 },
23992 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023993}
23994
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023995// GN: //third_party/abseil-cpp/absl/synchronization:synchronization
23996cc_object {
23997 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
23998 srcs: [
23999 "third_party/abseil-cpp/absl/synchronization/barrier.cc",
24000 "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
24001 "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
24002 "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
24003 "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
24004 "third_party/abseil-cpp/absl/synchronization/mutex.cc",
24005 "third_party/abseil-cpp/absl/synchronization/notification.cc",
24006 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024007 defaults: [
24008 "cronet_aml_defaults",
24009 ],
24010 cflags: [
24011 "-DABSL_ALLOCATOR_NOTHROW=1",
24012 "-DANDROID",
24013 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24014 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24015 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24016 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24017 "-DHAVE_SYS_UIO_H",
24018 "-DNDEBUG",
24019 "-DNO_UNWIND_TABLES",
24020 "-DNVALGRIND",
24021 "-DOFFICIAL_BUILD",
24022 "-D_GNU_SOURCE",
24023 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24024 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24025 "-Oz",
24026 "-fdata-sections",
24027 "-ffunction-sections",
24028 "-fno-asynchronous-unwind-tables",
24029 "-fno-unwind-tables",
24030 "-fvisibility-inlines-hidden",
24031 "-fvisibility=hidden",
24032 "-g1",
24033 ],
24034 local_include_dirs: [
24035 "./",
24036 "buildtools/third_party/libc++/",
24037 "buildtools/third_party/libc++/trunk/include",
24038 "buildtools/third_party/libc++abi/trunk/include",
24039 "third_party/abseil-cpp/",
24040 ],
24041 cpp_std: "c++17",
24042 target: {
24043 android_arm: {
24044 cflags: [
24045 "-fstack-protector",
24046 ],
24047 },
24048 android_arm64: {
24049 cflags: [
24050 "-fstack-protector",
24051 "-mno-outline",
24052 "-mno-outline-atomics",
24053 ],
24054 },
24055 android_x86: {
24056 cflags: [
24057 "-msse3",
24058 ],
24059 },
24060 android_x86_64: {
24061 cflags: [
24062 "-fstack-protector",
24063 "-msse3",
24064 ],
24065 },
24066 },
24067}
24068
24069// GN: //third_party/abseil-cpp/absl/synchronization:synchronization__testing
24070cc_object {
24071 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
24072 srcs: [
24073 "third_party/abseil-cpp/absl/synchronization/barrier.cc",
24074 "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
24075 "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
24076 "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
24077 "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
24078 "third_party/abseil-cpp/absl/synchronization/mutex.cc",
24079 "third_party/abseil-cpp/absl/synchronization/notification.cc",
24080 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024081 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024082 defaults: [
24083 "cronet_aml_defaults",
24084 ],
24085 cflags: [
24086 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024087 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24088 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024089 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024090 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024091 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024092 "-DNVALGRIND",
24093 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024094 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024095 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024096 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024097 "-fdata-sections",
24098 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024099 "-fno-asynchronous-unwind-tables",
24100 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024101 "-fvisibility-inlines-hidden",
24102 "-fvisibility=hidden",
24103 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024104 ],
24105 local_include_dirs: [
24106 "./",
24107 "buildtools/third_party/libc++/",
24108 "buildtools/third_party/libc++/trunk/include",
24109 "buildtools/third_party/libc++abi/trunk/include",
24110 "third_party/abseil-cpp/",
24111 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024112 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024113 android_arm: {
24114 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024115 "-DANDROID",
24116 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24117 "-DHAVE_SYS_UIO_H",
24118 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024119 "-fstack-protector",
24120 ],
24121 },
24122 android_arm64: {
24123 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024124 "-DANDROID",
24125 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24126 "-DHAVE_SYS_UIO_H",
24127 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024128 "-fstack-protector",
24129 "-mno-outline",
24130 "-mno-outline-atomics",
24131 ],
24132 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024133 android_x86: {
24134 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024135 "-DANDROID",
24136 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24137 "-DHAVE_SYS_UIO_H",
24138 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024139 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024140 ],
24141 },
24142 android_x86_64: {
24143 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024144 "-DANDROID",
24145 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24146 "-DHAVE_SYS_UIO_H",
24147 "-Oz",
24148 "-fstack-protector",
24149 "-msse3",
24150 ],
24151 },
24152 host: {
24153 cflags: [
24154 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24155 "-DUSE_AURA=1",
24156 "-DUSE_OZONE=1",
24157 "-DUSE_UDEV",
24158 "-D_FILE_OFFSET_BITS=64",
24159 "-D_LARGEFILE64_SOURCE",
24160 "-D_LARGEFILE_SOURCE",
24161 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024162 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024163 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024164 ],
24165 },
24166 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024167}
24168
24169// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024170cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024171 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024172 srcs: [
24173 "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
24174 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024175 defaults: [
24176 "cronet_aml_defaults",
24177 ],
24178 cflags: [
24179 "-DABSL_ALLOCATOR_NOTHROW=1",
24180 "-DANDROID",
24181 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24182 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24183 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24184 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24185 "-DHAVE_SYS_UIO_H",
24186 "-DNDEBUG",
24187 "-DNO_UNWIND_TABLES",
24188 "-DNVALGRIND",
24189 "-DOFFICIAL_BUILD",
24190 "-D_GNU_SOURCE",
24191 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24192 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24193 "-Oz",
24194 "-fdata-sections",
24195 "-ffunction-sections",
24196 "-fno-asynchronous-unwind-tables",
24197 "-fno-unwind-tables",
24198 "-fvisibility-inlines-hidden",
24199 "-fvisibility=hidden",
24200 "-g1",
24201 ],
24202 local_include_dirs: [
24203 "./",
24204 "buildtools/third_party/libc++/",
24205 "buildtools/third_party/libc++/trunk/include",
24206 "buildtools/third_party/libc++abi/trunk/include",
24207 "third_party/abseil-cpp/",
24208 ],
24209 cpp_std: "c++17",
24210 target: {
24211 android_arm: {
24212 cflags: [
24213 "-fstack-protector",
24214 ],
24215 },
24216 android_arm64: {
24217 cflags: [
24218 "-fstack-protector",
24219 "-mno-outline",
24220 "-mno-outline-atomics",
24221 ],
24222 },
24223 android_x86: {
24224 cflags: [
24225 "-msse3",
24226 ],
24227 },
24228 android_x86_64: {
24229 cflags: [
24230 "-fstack-protector",
24231 "-msse3",
24232 ],
24233 },
24234 },
24235}
24236
24237// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time__testing
24238cc_object {
24239 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
24240 srcs: [
24241 "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
24242 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024243 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024244 defaults: [
24245 "cronet_aml_defaults",
24246 ],
24247 cflags: [
24248 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024249 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24250 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024251 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024252 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024253 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024254 "-DNVALGRIND",
24255 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024256 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024257 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024258 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024259 "-fdata-sections",
24260 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024261 "-fno-asynchronous-unwind-tables",
24262 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024263 "-fvisibility-inlines-hidden",
24264 "-fvisibility=hidden",
24265 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024266 ],
24267 local_include_dirs: [
24268 "./",
24269 "buildtools/third_party/libc++/",
24270 "buildtools/third_party/libc++/trunk/include",
24271 "buildtools/third_party/libc++abi/trunk/include",
24272 "third_party/abseil-cpp/",
24273 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024274 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024275 android_arm: {
24276 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024277 "-DANDROID",
24278 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24279 "-DHAVE_SYS_UIO_H",
24280 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024281 "-fstack-protector",
24282 ],
24283 },
24284 android_arm64: {
24285 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024286 "-DANDROID",
24287 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24288 "-DHAVE_SYS_UIO_H",
24289 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024290 "-fstack-protector",
24291 "-mno-outline",
24292 "-mno-outline-atomics",
24293 ],
24294 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024295 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024296 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024297 "-DANDROID",
24298 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24299 "-DHAVE_SYS_UIO_H",
24300 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024301 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024302 ],
24303 },
24304 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024305 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024306 "-DANDROID",
24307 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24308 "-DHAVE_SYS_UIO_H",
24309 "-Oz",
24310 "-fstack-protector",
24311 "-msse3",
24312 ],
24313 },
24314 host: {
24315 cflags: [
24316 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24317 "-DUSE_AURA=1",
24318 "-DUSE_OZONE=1",
24319 "-DUSE_UDEV",
24320 "-D_FILE_OFFSET_BITS=64",
24321 "-D_LARGEFILE64_SOURCE",
24322 "-D_LARGEFILE_SOURCE",
24323 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024324 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024325 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024326 ],
24327 },
24328 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024329}
24330
24331// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024332cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024333 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024334 srcs: [
24335 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
24336 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
24337 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
24338 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
24339 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
24340 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
24341 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
24342 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
24343 "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
24344 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024345 defaults: [
24346 "cronet_aml_defaults",
24347 ],
24348 cflags: [
24349 "-DABSL_ALLOCATOR_NOTHROW=1",
24350 "-DANDROID",
24351 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24352 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24353 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24354 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24355 "-DHAVE_SYS_UIO_H",
24356 "-DNDEBUG",
24357 "-DNO_UNWIND_TABLES",
24358 "-DNVALGRIND",
24359 "-DOFFICIAL_BUILD",
24360 "-D_GNU_SOURCE",
24361 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24362 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24363 "-Oz",
24364 "-fdata-sections",
24365 "-ffunction-sections",
24366 "-fno-asynchronous-unwind-tables",
24367 "-fno-unwind-tables",
24368 "-fvisibility-inlines-hidden",
24369 "-fvisibility=hidden",
24370 "-g1",
24371 ],
24372 local_include_dirs: [
24373 "./",
24374 "buildtools/third_party/libc++/",
24375 "buildtools/third_party/libc++/trunk/include",
24376 "buildtools/third_party/libc++abi/trunk/include",
24377 "third_party/abseil-cpp/",
24378 ],
24379 cpp_std: "c++17",
24380 target: {
24381 android_arm: {
24382 cflags: [
24383 "-fstack-protector",
24384 ],
24385 },
24386 android_arm64: {
24387 cflags: [
24388 "-fstack-protector",
24389 "-mno-outline",
24390 "-mno-outline-atomics",
24391 ],
24392 },
24393 android_x86: {
24394 cflags: [
24395 "-msse3",
24396 ],
24397 },
24398 android_x86_64: {
24399 cflags: [
24400 "-fstack-protector",
24401 "-msse3",
24402 ],
24403 },
24404 },
24405}
24406
24407// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone__testing
24408cc_object {
24409 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
24410 srcs: [
24411 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
24412 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
24413 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
24414 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
24415 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
24416 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
24417 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
24418 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
24419 "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
24420 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024421 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024422 defaults: [
24423 "cronet_aml_defaults",
24424 ],
24425 cflags: [
24426 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024427 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24428 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024429 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024430 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024431 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024432 "-DNVALGRIND",
24433 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024434 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024435 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024436 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024437 "-fdata-sections",
24438 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024439 "-fno-asynchronous-unwind-tables",
24440 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024441 "-fvisibility-inlines-hidden",
24442 "-fvisibility=hidden",
24443 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024444 ],
24445 local_include_dirs: [
24446 "./",
24447 "buildtools/third_party/libc++/",
24448 "buildtools/third_party/libc++/trunk/include",
24449 "buildtools/third_party/libc++abi/trunk/include",
24450 "third_party/abseil-cpp/",
24451 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024452 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024453 android_arm: {
24454 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024455 "-DANDROID",
24456 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24457 "-DHAVE_SYS_UIO_H",
24458 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024459 "-fstack-protector",
24460 ],
24461 },
24462 android_arm64: {
24463 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024464 "-DANDROID",
24465 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24466 "-DHAVE_SYS_UIO_H",
24467 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024468 "-fstack-protector",
24469 "-mno-outline",
24470 "-mno-outline-atomics",
24471 ],
24472 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024473 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024474 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024475 "-DANDROID",
24476 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24477 "-DHAVE_SYS_UIO_H",
24478 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024479 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024480 ],
24481 },
24482 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024483 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024484 "-DANDROID",
24485 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24486 "-DHAVE_SYS_UIO_H",
24487 "-Oz",
24488 "-fstack-protector",
24489 "-msse3",
24490 ],
24491 },
24492 host: {
24493 cflags: [
24494 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24495 "-DUSE_AURA=1",
24496 "-DUSE_OZONE=1",
24497 "-DUSE_UDEV",
24498 "-D_FILE_OFFSET_BITS=64",
24499 "-D_LARGEFILE64_SOURCE",
24500 "-D_LARGEFILE_SOURCE",
24501 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024502 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024503 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024504 ],
24505 },
24506 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024507}
24508
24509// GN: //third_party/abseil-cpp/absl/time:time
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024510cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024511 name: "cronet_aml_third_party_abseil_cpp_absl_time_time",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024512 srcs: [
24513 "third_party/abseil-cpp/absl/time/civil_time.cc",
24514 "third_party/abseil-cpp/absl/time/clock.cc",
24515 "third_party/abseil-cpp/absl/time/duration.cc",
24516 "third_party/abseil-cpp/absl/time/format.cc",
24517 "third_party/abseil-cpp/absl/time/time.cc",
24518 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024519 defaults: [
24520 "cronet_aml_defaults",
24521 ],
24522 cflags: [
24523 "-DABSL_ALLOCATOR_NOTHROW=1",
24524 "-DANDROID",
24525 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24526 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24527 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24528 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24529 "-DHAVE_SYS_UIO_H",
24530 "-DNDEBUG",
24531 "-DNO_UNWIND_TABLES",
24532 "-DNVALGRIND",
24533 "-DOFFICIAL_BUILD",
24534 "-D_GNU_SOURCE",
24535 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24536 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24537 "-Oz",
24538 "-fdata-sections",
24539 "-ffunction-sections",
24540 "-fno-asynchronous-unwind-tables",
24541 "-fno-unwind-tables",
24542 "-fvisibility-inlines-hidden",
24543 "-fvisibility=hidden",
24544 "-g1",
24545 ],
24546 local_include_dirs: [
24547 "./",
24548 "buildtools/third_party/libc++/",
24549 "buildtools/third_party/libc++/trunk/include",
24550 "buildtools/third_party/libc++abi/trunk/include",
24551 "third_party/abseil-cpp/",
24552 ],
24553 cpp_std: "c++17",
24554 target: {
24555 android_arm: {
24556 cflags: [
24557 "-fstack-protector",
24558 ],
24559 },
24560 android_arm64: {
24561 cflags: [
24562 "-fstack-protector",
24563 "-mno-outline",
24564 "-mno-outline-atomics",
24565 ],
24566 },
24567 android_x86: {
24568 cflags: [
24569 "-msse3",
24570 ],
24571 },
24572 android_x86_64: {
24573 cflags: [
24574 "-fstack-protector",
24575 "-msse3",
24576 ],
24577 },
24578 },
24579}
24580
24581// GN: //third_party/abseil-cpp/absl/time:time__testing
24582cc_object {
24583 name: "cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
24584 srcs: [
24585 "third_party/abseil-cpp/absl/time/civil_time.cc",
24586 "third_party/abseil-cpp/absl/time/clock.cc",
24587 "third_party/abseil-cpp/absl/time/duration.cc",
24588 "third_party/abseil-cpp/absl/time/format.cc",
24589 "third_party/abseil-cpp/absl/time/time.cc",
24590 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024591 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024592 defaults: [
24593 "cronet_aml_defaults",
24594 ],
24595 cflags: [
24596 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024597 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24598 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024599 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024600 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024601 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024602 "-DNVALGRIND",
24603 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024604 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024605 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024606 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024607 "-fdata-sections",
24608 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024609 "-fno-asynchronous-unwind-tables",
24610 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024611 "-fvisibility-inlines-hidden",
24612 "-fvisibility=hidden",
24613 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024614 ],
24615 local_include_dirs: [
24616 "./",
24617 "buildtools/third_party/libc++/",
24618 "buildtools/third_party/libc++/trunk/include",
24619 "buildtools/third_party/libc++abi/trunk/include",
24620 "third_party/abseil-cpp/",
24621 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024622 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024623 android_arm: {
24624 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024625 "-DANDROID",
24626 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24627 "-DHAVE_SYS_UIO_H",
24628 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024629 "-fstack-protector",
24630 ],
24631 },
24632 android_arm64: {
24633 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024634 "-DANDROID",
24635 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24636 "-DHAVE_SYS_UIO_H",
24637 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024638 "-fstack-protector",
24639 "-mno-outline",
24640 "-mno-outline-atomics",
24641 ],
24642 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024643 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024644 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024645 "-DANDROID",
24646 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24647 "-DHAVE_SYS_UIO_H",
24648 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024649 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024650 ],
24651 },
24652 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024653 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024654 "-DANDROID",
24655 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24656 "-DHAVE_SYS_UIO_H",
24657 "-Oz",
24658 "-fstack-protector",
24659 "-msse3",
24660 ],
24661 },
24662 host: {
24663 cflags: [
24664 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24665 "-DUSE_AURA=1",
24666 "-DUSE_OZONE=1",
24667 "-DUSE_UDEV",
24668 "-D_FILE_OFFSET_BITS=64",
24669 "-D_LARGEFILE64_SOURCE",
24670 "-D_LARGEFILE_SOURCE",
24671 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024672 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024673 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024674 ],
24675 },
24676 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024677}
24678
24679// GN: //third_party/abseil-cpp/absl/types:bad_optional_access
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024680cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024681 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024682 srcs: [
24683 "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
24684 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024685 defaults: [
24686 "cronet_aml_defaults",
24687 ],
24688 cflags: [
24689 "-DABSL_ALLOCATOR_NOTHROW=1",
24690 "-DANDROID",
24691 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24692 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24693 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24694 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24695 "-DHAVE_SYS_UIO_H",
24696 "-DNDEBUG",
24697 "-DNO_UNWIND_TABLES",
24698 "-DNVALGRIND",
24699 "-DOFFICIAL_BUILD",
24700 "-D_GNU_SOURCE",
24701 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24702 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24703 "-Oz",
24704 "-fdata-sections",
24705 "-ffunction-sections",
24706 "-fno-asynchronous-unwind-tables",
24707 "-fno-unwind-tables",
24708 "-fvisibility-inlines-hidden",
24709 "-fvisibility=hidden",
24710 "-g1",
24711 ],
24712 local_include_dirs: [
24713 "./",
24714 "buildtools/third_party/libc++/",
24715 "buildtools/third_party/libc++/trunk/include",
24716 "buildtools/third_party/libc++abi/trunk/include",
24717 "third_party/abseil-cpp/",
24718 ],
24719 cpp_std: "c++17",
24720 target: {
24721 android_arm: {
24722 cflags: [
24723 "-fstack-protector",
24724 ],
24725 },
24726 android_arm64: {
24727 cflags: [
24728 "-fstack-protector",
24729 "-mno-outline",
24730 "-mno-outline-atomics",
24731 ],
24732 },
24733 android_x86: {
24734 cflags: [
24735 "-msse3",
24736 ],
24737 },
24738 android_x86_64: {
24739 cflags: [
24740 "-fstack-protector",
24741 "-msse3",
24742 ],
24743 },
24744 },
24745}
24746
24747// GN: //third_party/abseil-cpp/absl/types:bad_optional_access__testing
24748cc_object {
24749 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
24750 srcs: [
24751 "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
24752 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024753 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024754 defaults: [
24755 "cronet_aml_defaults",
24756 ],
24757 cflags: [
24758 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024759 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24760 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024761 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024762 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024763 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024764 "-DNVALGRIND",
24765 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024766 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024767 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024768 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024769 "-fdata-sections",
24770 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024771 "-fno-asynchronous-unwind-tables",
24772 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024773 "-fvisibility-inlines-hidden",
24774 "-fvisibility=hidden",
24775 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024776 ],
24777 local_include_dirs: [
24778 "./",
24779 "buildtools/third_party/libc++/",
24780 "buildtools/third_party/libc++/trunk/include",
24781 "buildtools/third_party/libc++abi/trunk/include",
24782 "third_party/abseil-cpp/",
24783 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024784 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024785 android_arm: {
24786 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024787 "-DANDROID",
24788 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24789 "-DHAVE_SYS_UIO_H",
24790 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024791 "-fstack-protector",
24792 ],
24793 },
24794 android_arm64: {
24795 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024796 "-DANDROID",
24797 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24798 "-DHAVE_SYS_UIO_H",
24799 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024800 "-fstack-protector",
24801 "-mno-outline",
24802 "-mno-outline-atomics",
24803 ],
24804 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024805 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024806 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024807 "-DANDROID",
24808 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24809 "-DHAVE_SYS_UIO_H",
24810 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024811 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024812 ],
24813 },
24814 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024815 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024816 "-DANDROID",
24817 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24818 "-DHAVE_SYS_UIO_H",
24819 "-Oz",
24820 "-fstack-protector",
24821 "-msse3",
24822 ],
24823 },
24824 host: {
24825 cflags: [
24826 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24827 "-DUSE_AURA=1",
24828 "-DUSE_OZONE=1",
24829 "-DUSE_UDEV",
24830 "-D_FILE_OFFSET_BITS=64",
24831 "-D_LARGEFILE64_SOURCE",
24832 "-D_LARGEFILE_SOURCE",
24833 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024834 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024835 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024836 ],
24837 },
24838 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024839}
24840
24841// GN: //third_party/abseil-cpp/absl/types:bad_variant_access
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024842cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024843 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024844 srcs: [
24845 "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
24846 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024847 defaults: [
24848 "cronet_aml_defaults",
24849 ],
24850 cflags: [
24851 "-DABSL_ALLOCATOR_NOTHROW=1",
24852 "-DANDROID",
24853 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24854 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24855 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24856 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24857 "-DHAVE_SYS_UIO_H",
24858 "-DNDEBUG",
24859 "-DNO_UNWIND_TABLES",
24860 "-DNVALGRIND",
24861 "-DOFFICIAL_BUILD",
24862 "-D_GNU_SOURCE",
24863 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24864 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24865 "-Oz",
24866 "-fdata-sections",
24867 "-ffunction-sections",
24868 "-fno-asynchronous-unwind-tables",
24869 "-fno-unwind-tables",
24870 "-fvisibility-inlines-hidden",
24871 "-fvisibility=hidden",
24872 "-g1",
24873 ],
24874 local_include_dirs: [
24875 "./",
24876 "buildtools/third_party/libc++/",
24877 "buildtools/third_party/libc++/trunk/include",
24878 "buildtools/third_party/libc++abi/trunk/include",
24879 "third_party/abseil-cpp/",
24880 ],
24881 cpp_std: "c++17",
24882 target: {
24883 android_arm: {
24884 cflags: [
24885 "-fstack-protector",
24886 ],
24887 },
24888 android_arm64: {
24889 cflags: [
24890 "-fstack-protector",
24891 "-mno-outline",
24892 "-mno-outline-atomics",
24893 ],
24894 },
24895 android_x86: {
24896 cflags: [
24897 "-msse3",
24898 ],
24899 },
24900 android_x86_64: {
24901 cflags: [
24902 "-fstack-protector",
24903 "-msse3",
24904 ],
24905 },
24906 },
24907}
24908
24909// GN: //third_party/abseil-cpp/absl/types:bad_variant_access__testing
24910cc_object {
24911 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
24912 srcs: [
24913 "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
24914 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024915 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024916 defaults: [
24917 "cronet_aml_defaults",
24918 ],
24919 cflags: [
24920 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024921 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24922 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024923 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024924 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024925 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024926 "-DNVALGRIND",
24927 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024928 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024929 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024930 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024931 "-fdata-sections",
24932 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024933 "-fno-asynchronous-unwind-tables",
24934 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024935 "-fvisibility-inlines-hidden",
24936 "-fvisibility=hidden",
24937 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024938 ],
24939 local_include_dirs: [
24940 "./",
24941 "buildtools/third_party/libc++/",
24942 "buildtools/third_party/libc++/trunk/include",
24943 "buildtools/third_party/libc++abi/trunk/include",
24944 "third_party/abseil-cpp/",
24945 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024946 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024947 android_arm: {
24948 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024949 "-DANDROID",
24950 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24951 "-DHAVE_SYS_UIO_H",
24952 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024953 "-fstack-protector",
24954 ],
24955 },
24956 android_arm64: {
24957 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024958 "-DANDROID",
24959 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24960 "-DHAVE_SYS_UIO_H",
24961 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024962 "-fstack-protector",
24963 "-mno-outline",
24964 "-mno-outline-atomics",
24965 ],
24966 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024967 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024968 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024969 "-DANDROID",
24970 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24971 "-DHAVE_SYS_UIO_H",
24972 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024973 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024974 ],
24975 },
24976 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024977 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024978 "-DANDROID",
24979 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24980 "-DHAVE_SYS_UIO_H",
24981 "-Oz",
24982 "-fstack-protector",
24983 "-msse3",
24984 ],
24985 },
24986 host: {
24987 cflags: [
24988 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24989 "-DUSE_AURA=1",
24990 "-DUSE_OZONE=1",
24991 "-DUSE_UDEV",
24992 "-D_FILE_OFFSET_BITS=64",
24993 "-D_LARGEFILE64_SOURCE",
24994 "-D_LARGEFILE_SOURCE",
24995 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024996 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024997 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024998 ],
24999 },
25000 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070025001}
25002
Motomu Utsumifcac4852022-10-26 19:28:31 +090025003// GN: //third_party/android_ndk:cpu_features
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025004cc_object {
Motomu Utsumifcac4852022-10-26 19:28:31 +090025005 name: "cronet_aml_third_party_android_ndk_cpu_features",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025006 srcs: [
25007 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
25008 ],
25009 defaults: [
25010 "cronet_aml_defaults",
25011 ],
25012 cflags: [
25013 "-DANDROID",
25014 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025015 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25016 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025017 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025018 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025019 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090025020 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025021 "-DNVALGRIND",
25022 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025023 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025024 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025025 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025026 "-Oz",
25027 "-fdata-sections",
25028 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090025029 "-fno-asynchronous-unwind-tables",
25030 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025031 "-fvisibility-inlines-hidden",
25032 "-fvisibility=hidden",
25033 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025034 ],
25035 local_include_dirs: [
25036 "./",
25037 "buildtools/third_party/libc++/",
25038 "buildtools/third_party/libc++/trunk/include",
25039 "buildtools/third_party/libc++abi/trunk/include",
25040 "third_party/android_ndk/sources/android/cpufeatures/",
25041 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025042 cpp_std: "c++17",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025043 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090025044 android_arm: {
25045 cflags: [
25046 "-fstack-protector",
25047 ],
25048 },
25049 android_arm64: {
25050 cflags: [
25051 "-fstack-protector",
25052 "-mno-outline",
25053 "-mno-outline-atomics",
25054 ],
25055 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025056 android_x86: {
25057 cflags: [
25058 "-msse3",
25059 ],
25060 },
25061 android_x86_64: {
25062 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090025063 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025064 "-msse3",
25065 ],
25066 },
25067 },
Motomu Utsumifcac4852022-10-26 19:28:31 +090025068}
25069
Mohannad Farragedb2fd02023-02-10 14:53:41 +000025070// GN: //third_party/android_ndk:cpu_features__testing
25071cc_object {
25072 name: "cronet_aml_third_party_android_ndk_cpu_features__testing",
25073 srcs: [
25074 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
25075 ],
25076 defaults: [
25077 "cronet_aml_defaults",
25078 ],
25079 cflags: [
25080 "-DANDROID",
25081 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25082 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25083 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
25084 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25085 "-DHAVE_SYS_UIO_H",
25086 "-DNDEBUG",
25087 "-DNO_UNWIND_TABLES",
25088 "-DNVALGRIND",
25089 "-DOFFICIAL_BUILD",
25090 "-D_GNU_SOURCE",
25091 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
25092 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25093 "-Oz",
25094 "-fdata-sections",
25095 "-ffunction-sections",
25096 "-fno-asynchronous-unwind-tables",
25097 "-fno-unwind-tables",
25098 "-fvisibility-inlines-hidden",
25099 "-fvisibility=hidden",
25100 "-g1",
25101 ],
25102 local_include_dirs: [
25103 "./",
25104 "buildtools/third_party/libc++/",
25105 "buildtools/third_party/libc++/trunk/include",
25106 "buildtools/third_party/libc++abi/trunk/include",
25107 "third_party/android_ndk/sources/android/cpufeatures/",
25108 ],
25109 cpp_std: "c++17",
25110 target: {
25111 android_arm: {
25112 cflags: [
25113 "-fstack-protector",
25114 ],
25115 },
25116 android_arm64: {
25117 cflags: [
25118 "-fstack-protector",
25119 "-mno-outline",
25120 "-mno-outline-atomics",
25121 ],
25122 },
25123 android_x86: {
25124 cflags: [
25125 "-msse3",
25126 ],
25127 },
25128 android_x86_64: {
25129 cflags: [
25130 "-fstack-protector",
25131 "-msse3",
25132 ],
25133 },
25134 },
25135}
25136
Patrick Rohrcc377df2022-10-28 09:27:15 -070025137// GN: //third_party/ashmem:ashmem
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025138cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070025139 name: "cronet_aml_third_party_ashmem_ashmem",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025140 srcs: [
25141 "third_party/ashmem/ashmem-dev.c",
25142 ],
25143 defaults: [
25144 "cronet_aml_defaults",
25145 ],
25146 cflags: [
25147 "-DANDROID",
25148 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025149 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25150 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025151 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025152 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025153 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090025154 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025155 "-DNVALGRIND",
25156 "-DOFFICIAL_BUILD",
25157 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025158 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025159 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025160 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25161 "-D__STDC_CONSTANT_MACROS",
25162 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025163 "-Oz",
25164 "-fdata-sections",
25165 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090025166 "-fno-asynchronous-unwind-tables",
25167 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025168 "-fvisibility-inlines-hidden",
25169 "-fvisibility=hidden",
25170 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025171 ],
25172 local_include_dirs: [
25173 "./",
25174 "buildtools/third_party/libc++/",
25175 "buildtools/third_party/libc++/trunk/include",
25176 "buildtools/third_party/libc++abi/trunk/include",
25177 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025178 cpp_std: "c++17",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025179 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090025180 android_arm: {
25181 cflags: [
25182 "-fstack-protector",
25183 ],
25184 },
25185 android_arm64: {
25186 cflags: [
25187 "-fstack-protector",
25188 "-mno-outline",
25189 "-mno-outline-atomics",
25190 ],
25191 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025192 android_x86: {
25193 cflags: [
25194 "-msse3",
25195 ],
25196 },
25197 android_x86_64: {
25198 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090025199 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025200 "-msse3",
25201 ],
25202 },
25203 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070025204}
25205
Mohannad Farragedb2fd02023-02-10 14:53:41 +000025206// GN: //third_party/ashmem:ashmem__testing
25207cc_object {
25208 name: "cronet_aml_third_party_ashmem_ashmem__testing",
25209 srcs: [
25210 "third_party/ashmem/ashmem-dev.c",
25211 ],
25212 defaults: [
25213 "cronet_aml_defaults",
25214 ],
25215 cflags: [
25216 "-DANDROID",
25217 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25218 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25219 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
25220 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25221 "-DHAVE_SYS_UIO_H",
25222 "-DNDEBUG",
25223 "-DNO_UNWIND_TABLES",
25224 "-DNVALGRIND",
25225 "-DOFFICIAL_BUILD",
25226 "-D_FORTIFY_SOURCE=2",
25227 "-D_GNU_SOURCE",
25228 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
25229 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25230 "-D__STDC_CONSTANT_MACROS",
25231 "-D__STDC_FORMAT_MACROS",
25232 "-Oz",
25233 "-fdata-sections",
25234 "-ffunction-sections",
25235 "-fno-asynchronous-unwind-tables",
25236 "-fno-unwind-tables",
25237 "-fvisibility-inlines-hidden",
25238 "-fvisibility=hidden",
25239 "-g1",
25240 ],
25241 local_include_dirs: [
25242 "./",
25243 "buildtools/third_party/libc++/",
25244 "buildtools/third_party/libc++/trunk/include",
25245 "buildtools/third_party/libc++abi/trunk/include",
25246 ],
25247 cpp_std: "c++17",
25248 target: {
25249 android_arm: {
25250 cflags: [
25251 "-fstack-protector",
25252 ],
25253 },
25254 android_arm64: {
25255 cflags: [
25256 "-fstack-protector",
25257 "-mno-outline",
25258 "-mno-outline-atomics",
25259 ],
25260 },
25261 android_x86: {
25262 cflags: [
25263 "-msse3",
25264 ],
25265 },
25266 android_x86_64: {
25267 cflags: [
25268 "-fstack-protector",
25269 "-msse3",
25270 ],
25271 },
25272 },
25273}
25274
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025275// GN: //third_party/boringssl:boringssl
25276cc_library_static {
25277 name: "cronet_aml_third_party_boringssl_boringssl",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +090025278 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025279 ":cronet_aml_third_party_boringssl_boringssl_asm",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +090025280 "third_party/boringssl/err_data.c",
25281 "third_party/boringssl/src/crypto/asn1/a_bitstr.c",
25282 "third_party/boringssl/src/crypto/asn1/a_bool.c",
25283 "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c",
25284 "third_party/boringssl/src/crypto/asn1/a_dup.c",
25285 "third_party/boringssl/src/crypto/asn1/a_gentm.c",
25286 "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c",
25287 "third_party/boringssl/src/crypto/asn1/a_int.c",
25288 "third_party/boringssl/src/crypto/asn1/a_mbstr.c",
25289 "third_party/boringssl/src/crypto/asn1/a_object.c",
25290 "third_party/boringssl/src/crypto/asn1/a_octet.c",
25291 "third_party/boringssl/src/crypto/asn1/a_print.c",
25292 "third_party/boringssl/src/crypto/asn1/a_strex.c",
25293 "third_party/boringssl/src/crypto/asn1/a_strnid.c",
25294 "third_party/boringssl/src/crypto/asn1/a_time.c",
25295 "third_party/boringssl/src/crypto/asn1/a_type.c",
25296 "third_party/boringssl/src/crypto/asn1/a_utctm.c",
25297 "third_party/boringssl/src/crypto/asn1/a_utf8.c",
25298 "third_party/boringssl/src/crypto/asn1/asn1_lib.c",
25299 "third_party/boringssl/src/crypto/asn1/asn1_par.c",
25300 "third_party/boringssl/src/crypto/asn1/asn_pack.c",
25301 "third_party/boringssl/src/crypto/asn1/f_int.c",
25302 "third_party/boringssl/src/crypto/asn1/f_string.c",
25303 "third_party/boringssl/src/crypto/asn1/posix_time.c",
25304 "third_party/boringssl/src/crypto/asn1/tasn_dec.c",
25305 "third_party/boringssl/src/crypto/asn1/tasn_enc.c",
25306 "third_party/boringssl/src/crypto/asn1/tasn_fre.c",
25307 "third_party/boringssl/src/crypto/asn1/tasn_new.c",
25308 "third_party/boringssl/src/crypto/asn1/tasn_typ.c",
25309 "third_party/boringssl/src/crypto/asn1/tasn_utl.c",
25310 "third_party/boringssl/src/crypto/base64/base64.c",
25311 "third_party/boringssl/src/crypto/bio/bio.c",
25312 "third_party/boringssl/src/crypto/bio/bio_mem.c",
25313 "third_party/boringssl/src/crypto/bio/connect.c",
25314 "third_party/boringssl/src/crypto/bio/fd.c",
25315 "third_party/boringssl/src/crypto/bio/file.c",
25316 "third_party/boringssl/src/crypto/bio/hexdump.c",
25317 "third_party/boringssl/src/crypto/bio/pair.c",
25318 "third_party/boringssl/src/crypto/bio/printf.c",
25319 "third_party/boringssl/src/crypto/bio/socket.c",
25320 "third_party/boringssl/src/crypto/bio/socket_helper.c",
25321 "third_party/boringssl/src/crypto/blake2/blake2.c",
25322 "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c",
25323 "third_party/boringssl/src/crypto/bn_extra/convert.c",
25324 "third_party/boringssl/src/crypto/buf/buf.c",
25325 "third_party/boringssl/src/crypto/bytestring/asn1_compat.c",
25326 "third_party/boringssl/src/crypto/bytestring/ber.c",
25327 "third_party/boringssl/src/crypto/bytestring/cbb.c",
25328 "third_party/boringssl/src/crypto/bytestring/cbs.c",
25329 "third_party/boringssl/src/crypto/bytestring/unicode.c",
25330 "third_party/boringssl/src/crypto/chacha/chacha.c",
25331 "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c",
25332 "third_party/boringssl/src/crypto/cipher_extra/derive_key.c",
25333 "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c",
25334 "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c",
25335 "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c",
25336 "third_party/boringssl/src/crypto/cipher_extra/e_des.c",
25337 "third_party/boringssl/src/crypto/cipher_extra/e_null.c",
25338 "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c",
25339 "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c",
25340 "third_party/boringssl/src/crypto/cipher_extra/e_tls.c",
25341 "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c",
25342 "third_party/boringssl/src/crypto/conf/conf.c",
25343 "third_party/boringssl/src/crypto/cpu_aarch64_apple.c",
25344 "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c",
25345 "third_party/boringssl/src/crypto/cpu_aarch64_linux.c",
25346 "third_party/boringssl/src/crypto/cpu_aarch64_win.c",
25347 "third_party/boringssl/src/crypto/cpu_arm.c",
25348 "third_party/boringssl/src/crypto/cpu_arm_linux.c",
25349 "third_party/boringssl/src/crypto/cpu_intel.c",
25350 "third_party/boringssl/src/crypto/cpu_ppc64le.c",
25351 "third_party/boringssl/src/crypto/crypto.c",
25352 "third_party/boringssl/src/crypto/curve25519/curve25519.c",
25353 "third_party/boringssl/src/crypto/curve25519/spake25519.c",
25354 "third_party/boringssl/src/crypto/des/des.c",
25355 "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c",
25356 "third_party/boringssl/src/crypto/dh_extra/params.c",
25357 "third_party/boringssl/src/crypto/digest_extra/digest_extra.c",
25358 "third_party/boringssl/src/crypto/dsa/dsa.c",
25359 "third_party/boringssl/src/crypto/dsa/dsa_asn1.c",
25360 "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c",
25361 "third_party/boringssl/src/crypto/ec_extra/ec_derive.c",
25362 "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c",
25363 "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c",
25364 "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c",
25365 "third_party/boringssl/src/crypto/engine/engine.c",
25366 "third_party/boringssl/src/crypto/err/err.c",
25367 "third_party/boringssl/src/crypto/evp/evp.c",
25368 "third_party/boringssl/src/crypto/evp/evp_asn1.c",
25369 "third_party/boringssl/src/crypto/evp/evp_ctx.c",
25370 "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c",
25371 "third_party/boringssl/src/crypto/evp/p_ec.c",
25372 "third_party/boringssl/src/crypto/evp/p_ec_asn1.c",
25373 "third_party/boringssl/src/crypto/evp/p_ed25519.c",
25374 "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c",
25375 "third_party/boringssl/src/crypto/evp/p_hkdf.c",
25376 "third_party/boringssl/src/crypto/evp/p_rsa.c",
25377 "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c",
25378 "third_party/boringssl/src/crypto/evp/p_x25519.c",
25379 "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c",
25380 "third_party/boringssl/src/crypto/evp/pbkdf.c",
25381 "third_party/boringssl/src/crypto/evp/print.c",
25382 "third_party/boringssl/src/crypto/evp/scrypt.c",
25383 "third_party/boringssl/src/crypto/evp/sign.c",
25384 "third_party/boringssl/src/crypto/ex_data.c",
25385 "third_party/boringssl/src/crypto/fipsmodule/bcm.c",
25386 "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c",
25387 "third_party/boringssl/src/crypto/hkdf/hkdf.c",
25388 "third_party/boringssl/src/crypto/hpke/hpke.c",
25389 "third_party/boringssl/src/crypto/hrss/hrss.c",
25390 "third_party/boringssl/src/crypto/lhash/lhash.c",
25391 "third_party/boringssl/src/crypto/mem.c",
25392 "third_party/boringssl/src/crypto/obj/obj.c",
25393 "third_party/boringssl/src/crypto/obj/obj_xref.c",
25394 "third_party/boringssl/src/crypto/pem/pem_all.c",
25395 "third_party/boringssl/src/crypto/pem/pem_info.c",
25396 "third_party/boringssl/src/crypto/pem/pem_lib.c",
25397 "third_party/boringssl/src/crypto/pem/pem_oth.c",
25398 "third_party/boringssl/src/crypto/pem/pem_pk8.c",
25399 "third_party/boringssl/src/crypto/pem/pem_pkey.c",
25400 "third_party/boringssl/src/crypto/pem/pem_x509.c",
25401 "third_party/boringssl/src/crypto/pem/pem_xaux.c",
25402 "third_party/boringssl/src/crypto/pkcs7/pkcs7.c",
25403 "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c",
25404 "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c",
25405 "third_party/boringssl/src/crypto/pkcs8/pkcs8.c",
25406 "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c",
25407 "third_party/boringssl/src/crypto/poly1305/poly1305.c",
25408 "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c",
25409 "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c",
25410 "third_party/boringssl/src/crypto/pool/pool.c",
25411 "third_party/boringssl/src/crypto/rand_extra/deterministic.c",
25412 "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c",
25413 "third_party/boringssl/src/crypto/rand_extra/fuchsia.c",
25414 "third_party/boringssl/src/crypto/rand_extra/passive.c",
25415 "third_party/boringssl/src/crypto/rand_extra/rand_extra.c",
25416 "third_party/boringssl/src/crypto/rand_extra/windows.c",
25417 "third_party/boringssl/src/crypto/rc4/rc4.c",
25418 "third_party/boringssl/src/crypto/refcount_c11.c",
25419 "third_party/boringssl/src/crypto/refcount_lock.c",
25420 "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c",
25421 "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c",
25422 "third_party/boringssl/src/crypto/siphash/siphash.c",
25423 "third_party/boringssl/src/crypto/stack/stack.c",
25424 "third_party/boringssl/src/crypto/thread.c",
25425 "third_party/boringssl/src/crypto/thread_none.c",
25426 "third_party/boringssl/src/crypto/thread_pthread.c",
25427 "third_party/boringssl/src/crypto/thread_win.c",
25428 "third_party/boringssl/src/crypto/trust_token/pmbtoken.c",
25429 "third_party/boringssl/src/crypto/trust_token/trust_token.c",
25430 "third_party/boringssl/src/crypto/trust_token/voprf.c",
25431 "third_party/boringssl/src/crypto/x509/a_digest.c",
25432 "third_party/boringssl/src/crypto/x509/a_sign.c",
25433 "third_party/boringssl/src/crypto/x509/a_verify.c",
25434 "third_party/boringssl/src/crypto/x509/algorithm.c",
25435 "third_party/boringssl/src/crypto/x509/asn1_gen.c",
25436 "third_party/boringssl/src/crypto/x509/by_dir.c",
25437 "third_party/boringssl/src/crypto/x509/by_file.c",
25438 "third_party/boringssl/src/crypto/x509/i2d_pr.c",
25439 "third_party/boringssl/src/crypto/x509/name_print.c",
25440 "third_party/boringssl/src/crypto/x509/rsa_pss.c",
25441 "third_party/boringssl/src/crypto/x509/t_crl.c",
25442 "third_party/boringssl/src/crypto/x509/t_req.c",
25443 "third_party/boringssl/src/crypto/x509/t_x509.c",
25444 "third_party/boringssl/src/crypto/x509/t_x509a.c",
25445 "third_party/boringssl/src/crypto/x509/x509.c",
25446 "third_party/boringssl/src/crypto/x509/x509_att.c",
25447 "third_party/boringssl/src/crypto/x509/x509_cmp.c",
25448 "third_party/boringssl/src/crypto/x509/x509_d2.c",
25449 "third_party/boringssl/src/crypto/x509/x509_def.c",
25450 "third_party/boringssl/src/crypto/x509/x509_ext.c",
25451 "third_party/boringssl/src/crypto/x509/x509_lu.c",
25452 "third_party/boringssl/src/crypto/x509/x509_obj.c",
25453 "third_party/boringssl/src/crypto/x509/x509_req.c",
25454 "third_party/boringssl/src/crypto/x509/x509_set.c",
25455 "third_party/boringssl/src/crypto/x509/x509_trs.c",
25456 "third_party/boringssl/src/crypto/x509/x509_txt.c",
25457 "third_party/boringssl/src/crypto/x509/x509_v3.c",
25458 "third_party/boringssl/src/crypto/x509/x509_vfy.c",
25459 "third_party/boringssl/src/crypto/x509/x509_vpm.c",
25460 "third_party/boringssl/src/crypto/x509/x509cset.c",
25461 "third_party/boringssl/src/crypto/x509/x509name.c",
25462 "third_party/boringssl/src/crypto/x509/x509rset.c",
25463 "third_party/boringssl/src/crypto/x509/x509spki.c",
25464 "third_party/boringssl/src/crypto/x509/x_algor.c",
25465 "third_party/boringssl/src/crypto/x509/x_all.c",
25466 "third_party/boringssl/src/crypto/x509/x_attrib.c",
25467 "third_party/boringssl/src/crypto/x509/x_crl.c",
25468 "third_party/boringssl/src/crypto/x509/x_exten.c",
25469 "third_party/boringssl/src/crypto/x509/x_info.c",
25470 "third_party/boringssl/src/crypto/x509/x_name.c",
25471 "third_party/boringssl/src/crypto/x509/x_pkey.c",
25472 "third_party/boringssl/src/crypto/x509/x_pubkey.c",
25473 "third_party/boringssl/src/crypto/x509/x_req.c",
25474 "third_party/boringssl/src/crypto/x509/x_sig.c",
25475 "third_party/boringssl/src/crypto/x509/x_spki.c",
25476 "third_party/boringssl/src/crypto/x509/x_val.c",
25477 "third_party/boringssl/src/crypto/x509/x_x509.c",
25478 "third_party/boringssl/src/crypto/x509/x_x509a.c",
25479 "third_party/boringssl/src/crypto/x509v3/pcy_cache.c",
25480 "third_party/boringssl/src/crypto/x509v3/pcy_data.c",
25481 "third_party/boringssl/src/crypto/x509v3/pcy_map.c",
25482 "third_party/boringssl/src/crypto/x509v3/pcy_node.c",
25483 "third_party/boringssl/src/crypto/x509v3/pcy_tree.c",
25484 "third_party/boringssl/src/crypto/x509v3/v3_akey.c",
25485 "third_party/boringssl/src/crypto/x509v3/v3_akeya.c",
25486 "third_party/boringssl/src/crypto/x509v3/v3_alt.c",
25487 "third_party/boringssl/src/crypto/x509v3/v3_bcons.c",
25488 "third_party/boringssl/src/crypto/x509v3/v3_bitst.c",
25489 "third_party/boringssl/src/crypto/x509v3/v3_conf.c",
25490 "third_party/boringssl/src/crypto/x509v3/v3_cpols.c",
25491 "third_party/boringssl/src/crypto/x509v3/v3_crld.c",
25492 "third_party/boringssl/src/crypto/x509v3/v3_enum.c",
25493 "third_party/boringssl/src/crypto/x509v3/v3_extku.c",
25494 "third_party/boringssl/src/crypto/x509v3/v3_genn.c",
25495 "third_party/boringssl/src/crypto/x509v3/v3_ia5.c",
25496 "third_party/boringssl/src/crypto/x509v3/v3_info.c",
25497 "third_party/boringssl/src/crypto/x509v3/v3_int.c",
25498 "third_party/boringssl/src/crypto/x509v3/v3_lib.c",
25499 "third_party/boringssl/src/crypto/x509v3/v3_ncons.c",
25500 "third_party/boringssl/src/crypto/x509v3/v3_ocsp.c",
25501 "third_party/boringssl/src/crypto/x509v3/v3_pci.c",
25502 "third_party/boringssl/src/crypto/x509v3/v3_pcia.c",
25503 "third_party/boringssl/src/crypto/x509v3/v3_pcons.c",
25504 "third_party/boringssl/src/crypto/x509v3/v3_pmaps.c",
25505 "third_party/boringssl/src/crypto/x509v3/v3_prn.c",
25506 "third_party/boringssl/src/crypto/x509v3/v3_purp.c",
25507 "third_party/boringssl/src/crypto/x509v3/v3_skey.c",
25508 "third_party/boringssl/src/crypto/x509v3/v3_utl.c",
25509 "third_party/boringssl/src/ssl/bio_ssl.cc",
25510 "third_party/boringssl/src/ssl/d1_both.cc",
25511 "third_party/boringssl/src/ssl/d1_lib.cc",
25512 "third_party/boringssl/src/ssl/d1_pkt.cc",
25513 "third_party/boringssl/src/ssl/d1_srtp.cc",
25514 "third_party/boringssl/src/ssl/dtls_method.cc",
25515 "third_party/boringssl/src/ssl/dtls_record.cc",
25516 "third_party/boringssl/src/ssl/encrypted_client_hello.cc",
25517 "third_party/boringssl/src/ssl/extensions.cc",
25518 "third_party/boringssl/src/ssl/handoff.cc",
25519 "third_party/boringssl/src/ssl/handshake.cc",
25520 "third_party/boringssl/src/ssl/handshake_client.cc",
25521 "third_party/boringssl/src/ssl/handshake_server.cc",
25522 "third_party/boringssl/src/ssl/s3_both.cc",
25523 "third_party/boringssl/src/ssl/s3_lib.cc",
25524 "third_party/boringssl/src/ssl/s3_pkt.cc",
25525 "third_party/boringssl/src/ssl/ssl_aead_ctx.cc",
25526 "third_party/boringssl/src/ssl/ssl_asn1.cc",
25527 "third_party/boringssl/src/ssl/ssl_buffer.cc",
25528 "third_party/boringssl/src/ssl/ssl_cert.cc",
25529 "third_party/boringssl/src/ssl/ssl_cipher.cc",
25530 "third_party/boringssl/src/ssl/ssl_file.cc",
25531 "third_party/boringssl/src/ssl/ssl_key_share.cc",
25532 "third_party/boringssl/src/ssl/ssl_lib.cc",
25533 "third_party/boringssl/src/ssl/ssl_privkey.cc",
25534 "third_party/boringssl/src/ssl/ssl_session.cc",
25535 "third_party/boringssl/src/ssl/ssl_stat.cc",
25536 "third_party/boringssl/src/ssl/ssl_transcript.cc",
25537 "third_party/boringssl/src/ssl/ssl_versions.cc",
25538 "third_party/boringssl/src/ssl/ssl_x509.cc",
25539 "third_party/boringssl/src/ssl/t1_enc.cc",
25540 "third_party/boringssl/src/ssl/tls13_both.cc",
25541 "third_party/boringssl/src/ssl/tls13_client.cc",
25542 "third_party/boringssl/src/ssl/tls13_enc.cc",
25543 "third_party/boringssl/src/ssl/tls13_server.cc",
25544 "third_party/boringssl/src/ssl/tls_method.cc",
25545 "third_party/boringssl/src/ssl/tls_record.cc",
25546 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000025547 defaults: [
25548 "cronet_aml_defaults",
25549 ],
25550 cflags: [
25551 "-DANDROID",
25552 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25553 "-DBORINGSSL_ALLOW_CXX_RUNTIME",
25554 "-DBORINGSSL_IMPLEMENTATION",
25555 "-DBORINGSSL_NO_STATIC_INITIALIZER",
25556 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25557 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
25558 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25559 "-DHAVE_SYS_UIO_H",
25560 "-DNDEBUG",
25561 "-DNO_UNWIND_TABLES",
25562 "-DNVALGRIND",
25563 "-DOFFICIAL_BUILD",
25564 "-DOPENSSL_SMALL",
25565 "-D_GNU_SOURCE",
25566 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
25567 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25568 "-Oz",
25569 "-fdata-sections",
25570 "-ffunction-sections",
25571 "-fno-asynchronous-unwind-tables",
25572 "-fno-unwind-tables",
25573 "-fvisibility-inlines-hidden",
25574 "-fvisibility=hidden",
25575 "-g1",
25576 ],
25577 local_include_dirs: [
25578 "./",
25579 "buildtools/third_party/libc++/",
25580 "buildtools/third_party/libc++/trunk/include",
25581 "buildtools/third_party/libc++abi/trunk/include",
25582 "third_party/boringssl/src/include/",
25583 ],
25584 cpp_std: "c++17",
25585 ldflags: [
25586 "-Wl,--as-needed",
25587 "-Wl,--gc-sections",
25588 "-Wl,--icf=all",
25589 ],
25590 target: {
25591 android_arm: {
25592 cflags: [
25593 "-fstack-protector",
25594 ],
25595 },
25596 android_arm64: {
25597 cflags: [
25598 "-fstack-protector",
25599 "-mno-outline",
25600 "-mno-outline-atomics",
25601 ],
25602 },
25603 android_x86: {
25604 cflags: [
25605 "-msse3",
25606 ],
25607 },
25608 android_x86_64: {
25609 cflags: [
25610 "-fstack-protector",
25611 "-msse3",
25612 ],
25613 },
25614 },
25615}
25616
25617// GN: //third_party/boringssl:boringssl__testing
25618cc_library_static {
25619 name: "cronet_aml_third_party_boringssl_boringssl__testing",
25620 srcs: [
25621 ":cronet_aml_third_party_boringssl_boringssl_asm__testing",
25622 "third_party/boringssl/err_data.c",
25623 "third_party/boringssl/src/crypto/asn1/a_bitstr.c",
25624 "third_party/boringssl/src/crypto/asn1/a_bool.c",
25625 "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c",
25626 "third_party/boringssl/src/crypto/asn1/a_dup.c",
25627 "third_party/boringssl/src/crypto/asn1/a_gentm.c",
25628 "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c",
25629 "third_party/boringssl/src/crypto/asn1/a_int.c",
25630 "third_party/boringssl/src/crypto/asn1/a_mbstr.c",
25631 "third_party/boringssl/src/crypto/asn1/a_object.c",
25632 "third_party/boringssl/src/crypto/asn1/a_octet.c",
25633 "third_party/boringssl/src/crypto/asn1/a_print.c",
25634 "third_party/boringssl/src/crypto/asn1/a_strex.c",
25635 "third_party/boringssl/src/crypto/asn1/a_strnid.c",
25636 "third_party/boringssl/src/crypto/asn1/a_time.c",
25637 "third_party/boringssl/src/crypto/asn1/a_type.c",
25638 "third_party/boringssl/src/crypto/asn1/a_utctm.c",
25639 "third_party/boringssl/src/crypto/asn1/a_utf8.c",
25640 "third_party/boringssl/src/crypto/asn1/asn1_lib.c",
25641 "third_party/boringssl/src/crypto/asn1/asn1_par.c",
25642 "third_party/boringssl/src/crypto/asn1/asn_pack.c",
25643 "third_party/boringssl/src/crypto/asn1/f_int.c",
25644 "third_party/boringssl/src/crypto/asn1/f_string.c",
25645 "third_party/boringssl/src/crypto/asn1/posix_time.c",
25646 "third_party/boringssl/src/crypto/asn1/tasn_dec.c",
25647 "third_party/boringssl/src/crypto/asn1/tasn_enc.c",
25648 "third_party/boringssl/src/crypto/asn1/tasn_fre.c",
25649 "third_party/boringssl/src/crypto/asn1/tasn_new.c",
25650 "third_party/boringssl/src/crypto/asn1/tasn_typ.c",
25651 "third_party/boringssl/src/crypto/asn1/tasn_utl.c",
25652 "third_party/boringssl/src/crypto/base64/base64.c",
25653 "third_party/boringssl/src/crypto/bio/bio.c",
25654 "third_party/boringssl/src/crypto/bio/bio_mem.c",
25655 "third_party/boringssl/src/crypto/bio/connect.c",
25656 "third_party/boringssl/src/crypto/bio/fd.c",
25657 "third_party/boringssl/src/crypto/bio/file.c",
25658 "third_party/boringssl/src/crypto/bio/hexdump.c",
25659 "third_party/boringssl/src/crypto/bio/pair.c",
25660 "third_party/boringssl/src/crypto/bio/printf.c",
25661 "third_party/boringssl/src/crypto/bio/socket.c",
25662 "third_party/boringssl/src/crypto/bio/socket_helper.c",
25663 "third_party/boringssl/src/crypto/blake2/blake2.c",
25664 "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c",
25665 "third_party/boringssl/src/crypto/bn_extra/convert.c",
25666 "third_party/boringssl/src/crypto/buf/buf.c",
25667 "third_party/boringssl/src/crypto/bytestring/asn1_compat.c",
25668 "third_party/boringssl/src/crypto/bytestring/ber.c",
25669 "third_party/boringssl/src/crypto/bytestring/cbb.c",
25670 "third_party/boringssl/src/crypto/bytestring/cbs.c",
25671 "third_party/boringssl/src/crypto/bytestring/unicode.c",
25672 "third_party/boringssl/src/crypto/chacha/chacha.c",
25673 "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c",
25674 "third_party/boringssl/src/crypto/cipher_extra/derive_key.c",
25675 "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c",
25676 "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c",
25677 "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c",
25678 "third_party/boringssl/src/crypto/cipher_extra/e_des.c",
25679 "third_party/boringssl/src/crypto/cipher_extra/e_null.c",
25680 "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c",
25681 "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c",
25682 "third_party/boringssl/src/crypto/cipher_extra/e_tls.c",
25683 "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c",
25684 "third_party/boringssl/src/crypto/conf/conf.c",
25685 "third_party/boringssl/src/crypto/cpu_aarch64_apple.c",
25686 "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c",
25687 "third_party/boringssl/src/crypto/cpu_aarch64_linux.c",
25688 "third_party/boringssl/src/crypto/cpu_aarch64_win.c",
25689 "third_party/boringssl/src/crypto/cpu_arm.c",
25690 "third_party/boringssl/src/crypto/cpu_arm_linux.c",
25691 "third_party/boringssl/src/crypto/cpu_intel.c",
25692 "third_party/boringssl/src/crypto/cpu_ppc64le.c",
25693 "third_party/boringssl/src/crypto/crypto.c",
25694 "third_party/boringssl/src/crypto/curve25519/curve25519.c",
25695 "third_party/boringssl/src/crypto/curve25519/spake25519.c",
25696 "third_party/boringssl/src/crypto/des/des.c",
25697 "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c",
25698 "third_party/boringssl/src/crypto/dh_extra/params.c",
25699 "third_party/boringssl/src/crypto/digest_extra/digest_extra.c",
25700 "third_party/boringssl/src/crypto/dsa/dsa.c",
25701 "third_party/boringssl/src/crypto/dsa/dsa_asn1.c",
25702 "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c",
25703 "third_party/boringssl/src/crypto/ec_extra/ec_derive.c",
25704 "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c",
25705 "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c",
25706 "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c",
25707 "third_party/boringssl/src/crypto/engine/engine.c",
25708 "third_party/boringssl/src/crypto/err/err.c",
25709 "third_party/boringssl/src/crypto/evp/evp.c",
25710 "third_party/boringssl/src/crypto/evp/evp_asn1.c",
25711 "third_party/boringssl/src/crypto/evp/evp_ctx.c",
25712 "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c",
25713 "third_party/boringssl/src/crypto/evp/p_ec.c",
25714 "third_party/boringssl/src/crypto/evp/p_ec_asn1.c",
25715 "third_party/boringssl/src/crypto/evp/p_ed25519.c",
25716 "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c",
25717 "third_party/boringssl/src/crypto/evp/p_hkdf.c",
25718 "third_party/boringssl/src/crypto/evp/p_rsa.c",
25719 "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c",
25720 "third_party/boringssl/src/crypto/evp/p_x25519.c",
25721 "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c",
25722 "third_party/boringssl/src/crypto/evp/pbkdf.c",
25723 "third_party/boringssl/src/crypto/evp/print.c",
25724 "third_party/boringssl/src/crypto/evp/scrypt.c",
25725 "third_party/boringssl/src/crypto/evp/sign.c",
25726 "third_party/boringssl/src/crypto/ex_data.c",
25727 "third_party/boringssl/src/crypto/fipsmodule/bcm.c",
25728 "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c",
25729 "third_party/boringssl/src/crypto/hkdf/hkdf.c",
25730 "third_party/boringssl/src/crypto/hpke/hpke.c",
25731 "third_party/boringssl/src/crypto/hrss/hrss.c",
25732 "third_party/boringssl/src/crypto/lhash/lhash.c",
25733 "third_party/boringssl/src/crypto/mem.c",
25734 "third_party/boringssl/src/crypto/obj/obj.c",
25735 "third_party/boringssl/src/crypto/obj/obj_xref.c",
25736 "third_party/boringssl/src/crypto/pem/pem_all.c",
25737 "third_party/boringssl/src/crypto/pem/pem_info.c",
25738 "third_party/boringssl/src/crypto/pem/pem_lib.c",
25739 "third_party/boringssl/src/crypto/pem/pem_oth.c",
25740 "third_party/boringssl/src/crypto/pem/pem_pk8.c",
25741 "third_party/boringssl/src/crypto/pem/pem_pkey.c",
25742 "third_party/boringssl/src/crypto/pem/pem_x509.c",
25743 "third_party/boringssl/src/crypto/pem/pem_xaux.c",
25744 "third_party/boringssl/src/crypto/pkcs7/pkcs7.c",
25745 "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c",
25746 "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c",
25747 "third_party/boringssl/src/crypto/pkcs8/pkcs8.c",
25748 "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c",
25749 "third_party/boringssl/src/crypto/poly1305/poly1305.c",
25750 "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c",
25751 "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c",
25752 "third_party/boringssl/src/crypto/pool/pool.c",
25753 "third_party/boringssl/src/crypto/rand_extra/deterministic.c",
25754 "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c",
25755 "third_party/boringssl/src/crypto/rand_extra/fuchsia.c",
25756 "third_party/boringssl/src/crypto/rand_extra/passive.c",
25757 "third_party/boringssl/src/crypto/rand_extra/rand_extra.c",
25758 "third_party/boringssl/src/crypto/rand_extra/windows.c",
25759 "third_party/boringssl/src/crypto/rc4/rc4.c",
25760 "third_party/boringssl/src/crypto/refcount_c11.c",
25761 "third_party/boringssl/src/crypto/refcount_lock.c",
25762 "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c",
25763 "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c",
25764 "third_party/boringssl/src/crypto/siphash/siphash.c",
25765 "third_party/boringssl/src/crypto/stack/stack.c",
25766 "third_party/boringssl/src/crypto/thread.c",
25767 "third_party/boringssl/src/crypto/thread_none.c",
25768 "third_party/boringssl/src/crypto/thread_pthread.c",
25769 "third_party/boringssl/src/crypto/thread_win.c",
25770 "third_party/boringssl/src/crypto/trust_token/pmbtoken.c",
25771 "third_party/boringssl/src/crypto/trust_token/trust_token.c",
25772 "third_party/boringssl/src/crypto/trust_token/voprf.c",
25773 "third_party/boringssl/src/crypto/x509/a_digest.c",
25774 "third_party/boringssl/src/crypto/x509/a_sign.c",
25775 "third_party/boringssl/src/crypto/x509/a_verify.c",
25776 "third_party/boringssl/src/crypto/x509/algorithm.c",
25777 "third_party/boringssl/src/crypto/x509/asn1_gen.c",
25778 "third_party/boringssl/src/crypto/x509/by_dir.c",
25779 "third_party/boringssl/src/crypto/x509/by_file.c",
25780 "third_party/boringssl/src/crypto/x509/i2d_pr.c",
25781 "third_party/boringssl/src/crypto/x509/name_print.c",
25782 "third_party/boringssl/src/crypto/x509/rsa_pss.c",
25783 "third_party/boringssl/src/crypto/x509/t_crl.c",
25784 "third_party/boringssl/src/crypto/x509/t_req.c",
25785 "third_party/boringssl/src/crypto/x509/t_x509.c",
25786 "third_party/boringssl/src/crypto/x509/t_x509a.c",
25787 "third_party/boringssl/src/crypto/x509/x509.c",
25788 "third_party/boringssl/src/crypto/x509/x509_att.c",
25789 "third_party/boringssl/src/crypto/x509/x509_cmp.c",
25790 "third_party/boringssl/src/crypto/x509/x509_d2.c",
25791 "third_party/boringssl/src/crypto/x509/x509_def.c",
25792 "third_party/boringssl/src/crypto/x509/x509_ext.c",
25793 "third_party/boringssl/src/crypto/x509/x509_lu.c",
25794 "third_party/boringssl/src/crypto/x509/x509_obj.c",
25795 "third_party/boringssl/src/crypto/x509/x509_req.c",
25796 "third_party/boringssl/src/crypto/x509/x509_set.c",
25797 "third_party/boringssl/src/crypto/x509/x509_trs.c",
25798 "third_party/boringssl/src/crypto/x509/x509_txt.c",
25799 "third_party/boringssl/src/crypto/x509/x509_v3.c",
25800 "third_party/boringssl/src/crypto/x509/x509_vfy.c",
25801 "third_party/boringssl/src/crypto/x509/x509_vpm.c",
25802 "third_party/boringssl/src/crypto/x509/x509cset.c",
25803 "third_party/boringssl/src/crypto/x509/x509name.c",
25804 "third_party/boringssl/src/crypto/x509/x509rset.c",
25805 "third_party/boringssl/src/crypto/x509/x509spki.c",
25806 "third_party/boringssl/src/crypto/x509/x_algor.c",
25807 "third_party/boringssl/src/crypto/x509/x_all.c",
25808 "third_party/boringssl/src/crypto/x509/x_attrib.c",
25809 "third_party/boringssl/src/crypto/x509/x_crl.c",
25810 "third_party/boringssl/src/crypto/x509/x_exten.c",
25811 "third_party/boringssl/src/crypto/x509/x_info.c",
25812 "third_party/boringssl/src/crypto/x509/x_name.c",
25813 "third_party/boringssl/src/crypto/x509/x_pkey.c",
25814 "third_party/boringssl/src/crypto/x509/x_pubkey.c",
25815 "third_party/boringssl/src/crypto/x509/x_req.c",
25816 "third_party/boringssl/src/crypto/x509/x_sig.c",
25817 "third_party/boringssl/src/crypto/x509/x_spki.c",
25818 "third_party/boringssl/src/crypto/x509/x_val.c",
25819 "third_party/boringssl/src/crypto/x509/x_x509.c",
25820 "third_party/boringssl/src/crypto/x509/x_x509a.c",
25821 "third_party/boringssl/src/crypto/x509v3/pcy_cache.c",
25822 "third_party/boringssl/src/crypto/x509v3/pcy_data.c",
25823 "third_party/boringssl/src/crypto/x509v3/pcy_map.c",
25824 "third_party/boringssl/src/crypto/x509v3/pcy_node.c",
25825 "third_party/boringssl/src/crypto/x509v3/pcy_tree.c",
25826 "third_party/boringssl/src/crypto/x509v3/v3_akey.c",
25827 "third_party/boringssl/src/crypto/x509v3/v3_akeya.c",
25828 "third_party/boringssl/src/crypto/x509v3/v3_alt.c",
25829 "third_party/boringssl/src/crypto/x509v3/v3_bcons.c",
25830 "third_party/boringssl/src/crypto/x509v3/v3_bitst.c",
25831 "third_party/boringssl/src/crypto/x509v3/v3_conf.c",
25832 "third_party/boringssl/src/crypto/x509v3/v3_cpols.c",
25833 "third_party/boringssl/src/crypto/x509v3/v3_crld.c",
25834 "third_party/boringssl/src/crypto/x509v3/v3_enum.c",
25835 "third_party/boringssl/src/crypto/x509v3/v3_extku.c",
25836 "third_party/boringssl/src/crypto/x509v3/v3_genn.c",
25837 "third_party/boringssl/src/crypto/x509v3/v3_ia5.c",
25838 "third_party/boringssl/src/crypto/x509v3/v3_info.c",
25839 "third_party/boringssl/src/crypto/x509v3/v3_int.c",
25840 "third_party/boringssl/src/crypto/x509v3/v3_lib.c",
25841 "third_party/boringssl/src/crypto/x509v3/v3_ncons.c",
25842 "third_party/boringssl/src/crypto/x509v3/v3_ocsp.c",
25843 "third_party/boringssl/src/crypto/x509v3/v3_pci.c",
25844 "third_party/boringssl/src/crypto/x509v3/v3_pcia.c",
25845 "third_party/boringssl/src/crypto/x509v3/v3_pcons.c",
25846 "third_party/boringssl/src/crypto/x509v3/v3_pmaps.c",
25847 "third_party/boringssl/src/crypto/x509v3/v3_prn.c",
25848 "third_party/boringssl/src/crypto/x509v3/v3_purp.c",
25849 "third_party/boringssl/src/crypto/x509v3/v3_skey.c",
25850 "third_party/boringssl/src/crypto/x509v3/v3_utl.c",
25851 "third_party/boringssl/src/ssl/bio_ssl.cc",
25852 "third_party/boringssl/src/ssl/d1_both.cc",
25853 "third_party/boringssl/src/ssl/d1_lib.cc",
25854 "third_party/boringssl/src/ssl/d1_pkt.cc",
25855 "third_party/boringssl/src/ssl/d1_srtp.cc",
25856 "third_party/boringssl/src/ssl/dtls_method.cc",
25857 "third_party/boringssl/src/ssl/dtls_record.cc",
25858 "third_party/boringssl/src/ssl/encrypted_client_hello.cc",
25859 "third_party/boringssl/src/ssl/extensions.cc",
25860 "third_party/boringssl/src/ssl/handoff.cc",
25861 "third_party/boringssl/src/ssl/handshake.cc",
25862 "third_party/boringssl/src/ssl/handshake_client.cc",
25863 "third_party/boringssl/src/ssl/handshake_server.cc",
25864 "third_party/boringssl/src/ssl/s3_both.cc",
25865 "third_party/boringssl/src/ssl/s3_lib.cc",
25866 "third_party/boringssl/src/ssl/s3_pkt.cc",
25867 "third_party/boringssl/src/ssl/ssl_aead_ctx.cc",
25868 "third_party/boringssl/src/ssl/ssl_asn1.cc",
25869 "third_party/boringssl/src/ssl/ssl_buffer.cc",
25870 "third_party/boringssl/src/ssl/ssl_cert.cc",
25871 "third_party/boringssl/src/ssl/ssl_cipher.cc",
25872 "third_party/boringssl/src/ssl/ssl_file.cc",
25873 "third_party/boringssl/src/ssl/ssl_key_share.cc",
25874 "third_party/boringssl/src/ssl/ssl_lib.cc",
25875 "third_party/boringssl/src/ssl/ssl_privkey.cc",
25876 "third_party/boringssl/src/ssl/ssl_session.cc",
25877 "third_party/boringssl/src/ssl/ssl_stat.cc",
25878 "third_party/boringssl/src/ssl/ssl_transcript.cc",
25879 "third_party/boringssl/src/ssl/ssl_versions.cc",
25880 "third_party/boringssl/src/ssl/ssl_x509.cc",
25881 "third_party/boringssl/src/ssl/t1_enc.cc",
25882 "third_party/boringssl/src/ssl/tls13_both.cc",
25883 "third_party/boringssl/src/ssl/tls13_client.cc",
25884 "third_party/boringssl/src/ssl/tls13_enc.cc",
25885 "third_party/boringssl/src/ssl/tls13_server.cc",
25886 "third_party/boringssl/src/ssl/tls_method.cc",
25887 "third_party/boringssl/src/ssl/tls_record.cc",
25888 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025889 host_supported: true,
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025890 defaults: [
25891 "cronet_aml_defaults",
25892 ],
25893 cflags: [
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025894 "-DBORINGSSL_ALLOW_CXX_RUNTIME",
25895 "-DBORINGSSL_IMPLEMENTATION",
25896 "-DBORINGSSL_NO_STATIC_INITIALIZER",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025897 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25898 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025899 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025900 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090025901 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025902 "-DNVALGRIND",
25903 "-DOFFICIAL_BUILD",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025904 "-DOPENSSL_SMALL",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025905 "-D_GNU_SOURCE",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025906 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025907 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025908 "-fdata-sections",
25909 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090025910 "-fno-asynchronous-unwind-tables",
25911 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025912 "-fvisibility-inlines-hidden",
25913 "-fvisibility=hidden",
25914 "-g1",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025915 ],
25916 local_include_dirs: [
25917 "./",
25918 "buildtools/third_party/libc++/",
25919 "buildtools/third_party/libc++/trunk/include",
25920 "buildtools/third_party/libc++abi/trunk/include",
25921 "third_party/boringssl/src/include/",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025922 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090025923 ldflags: [
25924 "-Wl,--as-needed",
25925 "-Wl,--gc-sections",
25926 "-Wl,--icf=all",
25927 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090025928 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090025929 android_arm: {
25930 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025931 "-DANDROID",
25932 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25933 "-DHAVE_SYS_UIO_H",
25934 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025935 "-fstack-protector",
25936 ],
25937 },
25938 android_arm64: {
25939 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025940 "-DANDROID",
25941 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25942 "-DHAVE_SYS_UIO_H",
25943 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025944 "-fstack-protector",
25945 "-mno-outline",
25946 "-mno-outline-atomics",
25947 ],
25948 },
Motomu Utsumi65501182022-11-18 15:26:35 +090025949 android_x86: {
25950 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025951 "-DANDROID",
25952 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25953 "-DHAVE_SYS_UIO_H",
25954 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025955 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090025956 ],
25957 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090025958 android_x86_64: {
25959 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025960 "-DANDROID",
25961 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25962 "-DHAVE_SYS_UIO_H",
25963 "-Oz",
25964 "-fstack-protector",
25965 "-msse3",
25966 ],
25967 },
25968 host: {
25969 cflags: [
25970 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
25971 "-DUSE_AURA=1",
25972 "-DUSE_OZONE=1",
25973 "-DUSE_UDEV",
25974 "-D_FILE_OFFSET_BITS=64",
25975 "-D_LARGEFILE64_SOURCE",
25976 "-D_LARGEFILE_SOURCE",
25977 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025978 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025979 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090025980 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090025981 },
25982 },
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025983}
25984
25985// GN: //third_party/boringssl:boringssl_asm
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025986cc_object {
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025987 name: "cronet_aml_third_party_boringssl_boringssl_asm",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000025988 defaults: [
25989 "cronet_aml_defaults",
25990 ],
25991 cflags: [
25992 "-DANDROID",
25993 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25994 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25995 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
25996 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25997 "-DHAVE_SYS_UIO_H",
25998 "-DNDEBUG",
25999 "-DNO_UNWIND_TABLES",
26000 "-DNVALGRIND",
26001 "-DOFFICIAL_BUILD",
26002 "-D_FORTIFY_SOURCE=2",
26003 "-D_GNU_SOURCE",
26004 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26005 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26006 "-D__STDC_CONSTANT_MACROS",
26007 "-D__STDC_FORMAT_MACROS",
26008 "-Oz",
26009 "-fdata-sections",
26010 "-ffunction-sections",
26011 "-fno-asynchronous-unwind-tables",
26012 "-fno-unwind-tables",
26013 "-fvisibility-inlines-hidden",
26014 "-fvisibility=hidden",
26015 "-g1",
26016 ],
26017 local_include_dirs: [
26018 "./",
26019 "buildtools/third_party/libc++/",
26020 "buildtools/third_party/libc++/trunk/include",
26021 "buildtools/third_party/libc++abi/trunk/include",
26022 "third_party/boringssl/src/include/",
26023 ],
26024 cpp_std: "c++17",
26025 target: {
26026 android_arm: {
26027 srcs: [
26028 "third_party/boringssl/linux-arm/crypto/chacha/chacha-armv4.S",
26029 "third_party/boringssl/linux-arm/crypto/fipsmodule/aesv8-armx32.S",
26030 "third_party/boringssl/linux-arm/crypto/fipsmodule/armv4-mont.S",
26031 "third_party/boringssl/linux-arm/crypto/fipsmodule/bsaes-armv7.S",
26032 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghash-armv4.S",
26033 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghashv8-armx32.S",
26034 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha1-armv4-large.S",
26035 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha256-armv4.S",
26036 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha512-armv4.S",
26037 "third_party/boringssl/linux-arm/crypto/fipsmodule/vpaes-armv7.S",
26038 "third_party/boringssl/linux-arm/crypto/test/trampoline-armv4.S",
26039 "third_party/boringssl/src/crypto/curve25519/asm/x25519-asm-arm.S",
26040 "third_party/boringssl/src/crypto/poly1305/poly1305_arm_asm.S",
26041 ],
26042 cflags: [
26043 "-fstack-protector",
26044 ],
26045 },
26046 android_arm64: {
26047 srcs: [
26048 "third_party/boringssl/linux-aarch64/crypto/chacha/chacha-armv8.S",
26049 "third_party/boringssl/linux-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S",
26050 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/aesv8-armx64.S",
26051 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/armv8-mont.S",
26052 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghash-neon-armv8.S",
26053 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghashv8-armx64.S",
26054 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256-armv8-asm.S",
26055 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S",
26056 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha1-armv8.S",
26057 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha256-armv8.S",
26058 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha512-armv8.S",
26059 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/vpaes-armv8.S",
26060 "third_party/boringssl/linux-aarch64/crypto/test/trampoline-armv8.S",
26061 ],
26062 cflags: [
26063 "-fstack-protector",
26064 "-mno-outline",
26065 "-mno-outline-atomics",
26066 ],
26067 },
26068 android_x86: {
26069 srcs: [
26070 "third_party/boringssl/linux-x86/crypto/chacha/chacha-x86.S",
26071 "third_party/boringssl/linux-x86/crypto/fipsmodule/aesni-x86.S",
26072 "third_party/boringssl/linux-x86/crypto/fipsmodule/bn-586.S",
26073 "third_party/boringssl/linux-x86/crypto/fipsmodule/co-586.S",
26074 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-ssse3-x86.S",
26075 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-x86.S",
26076 "third_party/boringssl/linux-x86/crypto/fipsmodule/md5-586.S",
26077 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha1-586.S",
26078 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha256-586.S",
26079 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha512-586.S",
26080 "third_party/boringssl/linux-x86/crypto/fipsmodule/vpaes-x86.S",
26081 "third_party/boringssl/linux-x86/crypto/fipsmodule/x86-mont.S",
26082 "third_party/boringssl/linux-x86/crypto/test/trampoline-x86.S",
26083 ],
26084 cflags: [
26085 "-msse3",
26086 ],
26087 },
26088 android_x86_64: {
26089 srcs: [
26090 "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64.S",
26091 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
26092 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
26093 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
26094 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
26095 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S",
26096 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
26097 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
26098 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
26099 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S",
26100 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
26101 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
26102 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
26103 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
26104 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
26105 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
26106 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
26107 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
26108 "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64.S",
26109 "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S",
26110 ],
26111 cflags: [
26112 "-fstack-protector",
26113 "-msse3",
26114 ],
26115 },
26116 },
26117}
26118
26119// GN: //third_party/boringssl:boringssl_asm__testing
26120cc_object {
26121 name: "cronet_aml_third_party_boringssl_boringssl_asm__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026122 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026123 defaults: [
26124 "cronet_aml_defaults",
26125 ],
26126 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026127 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26128 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026129 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026130 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090026131 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026132 "-DNVALGRIND",
26133 "-DOFFICIAL_BUILD",
26134 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026135 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026136 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026137 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26138 "-D__STDC_CONSTANT_MACROS",
26139 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026140 "-fdata-sections",
26141 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090026142 "-fno-asynchronous-unwind-tables",
26143 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026144 "-fvisibility-inlines-hidden",
26145 "-fvisibility=hidden",
26146 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026147 ],
26148 local_include_dirs: [
26149 "./",
26150 "buildtools/third_party/libc++/",
26151 "buildtools/third_party/libc++/trunk/include",
26152 "buildtools/third_party/libc++abi/trunk/include",
26153 "third_party/boringssl/src/include/",
26154 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090026155 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026156 android_arm: {
26157 srcs: [
26158 "third_party/boringssl/linux-arm/crypto/chacha/chacha-armv4.S",
26159 "third_party/boringssl/linux-arm/crypto/fipsmodule/aesv8-armx32.S",
26160 "third_party/boringssl/linux-arm/crypto/fipsmodule/armv4-mont.S",
26161 "third_party/boringssl/linux-arm/crypto/fipsmodule/bsaes-armv7.S",
26162 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghash-armv4.S",
26163 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghashv8-armx32.S",
26164 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha1-armv4-large.S",
26165 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha256-armv4.S",
26166 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha512-armv4.S",
26167 "third_party/boringssl/linux-arm/crypto/fipsmodule/vpaes-armv7.S",
26168 "third_party/boringssl/linux-arm/crypto/test/trampoline-armv4.S",
26169 "third_party/boringssl/src/crypto/curve25519/asm/x25519-asm-arm.S",
26170 "third_party/boringssl/src/crypto/poly1305/poly1305_arm_asm.S",
26171 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +090026172 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026173 "-DANDROID",
26174 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26175 "-DHAVE_SYS_UIO_H",
26176 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026177 "-fstack-protector",
26178 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026179 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090026180 android_arm64: {
26181 srcs: [
26182 "third_party/boringssl/linux-aarch64/crypto/chacha/chacha-armv8.S",
26183 "third_party/boringssl/linux-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S",
26184 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/aesv8-armx64.S",
26185 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/armv8-mont.S",
26186 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghash-neon-armv8.S",
26187 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghashv8-armx64.S",
26188 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256-armv8-asm.S",
26189 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S",
26190 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha1-armv8.S",
26191 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha256-armv8.S",
26192 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha512-armv8.S",
26193 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/vpaes-armv8.S",
26194 "third_party/boringssl/linux-aarch64/crypto/test/trampoline-armv8.S",
26195 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +090026196 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026197 "-DANDROID",
26198 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26199 "-DHAVE_SYS_UIO_H",
26200 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026201 "-fstack-protector",
26202 "-mno-outline",
26203 "-mno-outline-atomics",
26204 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090026205 },
Motomu Utsumi65501182022-11-18 15:26:35 +090026206 android_x86: {
26207 srcs: [
26208 "third_party/boringssl/linux-x86/crypto/chacha/chacha-x86.S",
26209 "third_party/boringssl/linux-x86/crypto/fipsmodule/aesni-x86.S",
26210 "third_party/boringssl/linux-x86/crypto/fipsmodule/bn-586.S",
26211 "third_party/boringssl/linux-x86/crypto/fipsmodule/co-586.S",
26212 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-ssse3-x86.S",
26213 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-x86.S",
26214 "third_party/boringssl/linux-x86/crypto/fipsmodule/md5-586.S",
26215 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha1-586.S",
26216 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha256-586.S",
26217 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha512-586.S",
26218 "third_party/boringssl/linux-x86/crypto/fipsmodule/vpaes-x86.S",
26219 "third_party/boringssl/linux-x86/crypto/fipsmodule/x86-mont.S",
26220 "third_party/boringssl/linux-x86/crypto/test/trampoline-x86.S",
26221 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026222 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026223 "-DANDROID",
26224 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26225 "-DHAVE_SYS_UIO_H",
26226 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026227 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026228 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090026229 },
26230 android_x86_64: {
26231 srcs: [
26232 "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64.S",
26233 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
26234 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
26235 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
26236 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
26237 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S",
26238 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
26239 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
26240 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
26241 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S",
26242 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
26243 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
26244 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
26245 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
26246 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
26247 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
26248 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
26249 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
26250 "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64.S",
26251 "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S",
26252 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026253 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026254 "-DANDROID",
26255 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26256 "-DHAVE_SYS_UIO_H",
26257 "-Oz",
26258 "-fstack-protector",
26259 "-msse3",
26260 ],
26261 },
26262 host: {
26263 srcs: [
26264 "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64.S",
26265 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
26266 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
26267 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
26268 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
26269 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S",
26270 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
26271 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
26272 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
26273 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S",
26274 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
26275 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
26276 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
26277 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
26278 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
26279 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
26280 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
26281 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
26282 "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64.S",
26283 "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S",
26284 ],
26285 cflags: [
26286 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
26287 "-DUSE_AURA=1",
26288 "-DUSE_OZONE=1",
26289 "-DUSE_UDEV",
26290 "-D_FILE_OFFSET_BITS=64",
26291 "-D_LARGEFILE64_SOURCE",
26292 "-D_LARGEFILE_SOURCE",
26293 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026294 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026295 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026296 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090026297 },
26298 },
Motomu Utsumib568c6d2022-11-14 15:28:22 +090026299}
26300
Patrick Rohrcb035942022-11-01 12:12:52 -070026301// GN: //third_party/brotli:common
26302cc_library_static {
26303 name: "cronet_aml_third_party_brotli_common",
26304 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070026305 "third_party/brotli/common/constants.c",
26306 "third_party/brotli/common/context.c",
26307 "third_party/brotli/common/dictionary.c",
26308 "third_party/brotli/common/platform.c",
26309 "third_party/brotli/common/shared_dictionary.c",
26310 "third_party/brotli/common/transform.c",
26311 ],
26312 defaults: [
26313 "cronet_aml_defaults",
26314 ],
26315 cflags: [
26316 "-DANDROID",
26317 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026318 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26319 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026320 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070026321 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026322 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090026323 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026324 "-DNVALGRIND",
26325 "-DOFFICIAL_BUILD",
26326 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070026327 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070026328 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070026329 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26330 "-D__STDC_CONSTANT_MACROS",
26331 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026332 "-Oz",
26333 "-fdata-sections",
26334 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090026335 "-fno-asynchronous-unwind-tables",
26336 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026337 "-fvisibility-inlines-hidden",
26338 "-fvisibility=hidden",
26339 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070026340 ],
26341 local_include_dirs: [
26342 "./",
26343 "buildtools/third_party/libc++/",
26344 "buildtools/third_party/libc++/trunk/include",
26345 "buildtools/third_party/libc++abi/trunk/include",
26346 "third_party/brotli/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070026347 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026348 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090026349 ldflags: [
26350 "-Wl,--as-needed",
26351 "-Wl,--gc-sections",
26352 "-Wl,--icf=all",
26353 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026354 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090026355 android_arm: {
26356 cflags: [
26357 "-fstack-protector",
26358 ],
26359 },
26360 android_arm64: {
26361 cflags: [
26362 "-fstack-protector",
26363 "-mno-outline",
26364 "-mno-outline-atomics",
26365 ],
26366 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026367 android_x86: {
26368 cflags: [
26369 "-msse3",
26370 ],
26371 },
26372 android_x86_64: {
26373 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090026374 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026375 "-msse3",
26376 ],
26377 },
26378 },
Patrick Rohrcb035942022-11-01 12:12:52 -070026379}
26380
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026381// GN: //third_party/brotli:common__testing
26382cc_library_static {
26383 name: "cronet_aml_third_party_brotli_common__testing",
26384 srcs: [
26385 "third_party/brotli/common/constants.c",
26386 "third_party/brotli/common/context.c",
26387 "third_party/brotli/common/dictionary.c",
26388 "third_party/brotli/common/platform.c",
26389 "third_party/brotli/common/shared_dictionary.c",
26390 "third_party/brotli/common/transform.c",
26391 ],
26392 defaults: [
26393 "cronet_aml_defaults",
26394 ],
26395 cflags: [
26396 "-DANDROID",
26397 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26398 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26399 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26400 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26401 "-DHAVE_SYS_UIO_H",
26402 "-DNDEBUG",
26403 "-DNO_UNWIND_TABLES",
26404 "-DNVALGRIND",
26405 "-DOFFICIAL_BUILD",
26406 "-D_FORTIFY_SOURCE=2",
26407 "-D_GNU_SOURCE",
26408 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26409 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26410 "-D__STDC_CONSTANT_MACROS",
26411 "-D__STDC_FORMAT_MACROS",
26412 "-Oz",
26413 "-fdata-sections",
26414 "-ffunction-sections",
26415 "-fno-asynchronous-unwind-tables",
26416 "-fno-unwind-tables",
26417 "-fvisibility-inlines-hidden",
26418 "-fvisibility=hidden",
26419 "-g1",
26420 ],
26421 local_include_dirs: [
26422 "./",
26423 "buildtools/third_party/libc++/",
26424 "buildtools/third_party/libc++/trunk/include",
26425 "buildtools/third_party/libc++abi/trunk/include",
26426 "third_party/brotli/include/",
26427 ],
26428 cpp_std: "c++17",
26429 ldflags: [
26430 "-Wl,--as-needed",
26431 "-Wl,--gc-sections",
26432 "-Wl,--icf=all",
26433 ],
26434 target: {
26435 android_arm: {
26436 cflags: [
26437 "-fstack-protector",
26438 ],
26439 },
26440 android_arm64: {
26441 cflags: [
26442 "-fstack-protector",
26443 "-mno-outline",
26444 "-mno-outline-atomics",
26445 ],
26446 },
26447 android_x86: {
26448 cflags: [
26449 "-msse3",
26450 ],
26451 },
26452 android_x86_64: {
26453 cflags: [
26454 "-fstack-protector",
26455 "-msse3",
26456 ],
26457 },
26458 },
26459}
26460
Patrick Rohrcb035942022-11-01 12:12:52 -070026461// GN: //third_party/brotli:dec
26462cc_library_static {
26463 name: "cronet_aml_third_party_brotli_dec",
26464 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070026465 "third_party/brotli/dec/bit_reader.c",
26466 "third_party/brotli/dec/decode.c",
26467 "third_party/brotli/dec/huffman.c",
26468 "third_party/brotli/dec/state.c",
26469 ],
26470 static_libs: [
26471 "cronet_aml_third_party_brotli_common",
26472 ],
26473 defaults: [
26474 "cronet_aml_defaults",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026475 ],
26476 cflags: [
26477 "-DANDROID",
26478 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026479 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26480 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026481 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026482 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026483 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090026484 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026485 "-DNVALGRIND",
26486 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026487 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026488 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026489 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026490 "-O2",
26491 "-fdata-sections",
26492 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090026493 "-fno-asynchronous-unwind-tables",
26494 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026495 "-fvisibility-inlines-hidden",
26496 "-fvisibility=hidden",
26497 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026498 ],
26499 local_include_dirs: [
26500 "./",
26501 "buildtools/third_party/libc++/",
26502 "buildtools/third_party/libc++/trunk/include",
26503 "buildtools/third_party/libc++abi/trunk/include",
26504 "third_party/brotli/include/",
26505 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026506 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090026507 ldflags: [
26508 "-Wl,--as-needed",
26509 "-Wl,--gc-sections",
26510 "-Wl,--icf=all",
26511 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026512 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090026513 android_arm: {
26514 cflags: [
26515 "-fstack-protector",
26516 ],
26517 },
26518 android_arm64: {
26519 cflags: [
26520 "-fstack-protector",
26521 "-mno-outline",
26522 "-mno-outline-atomics",
26523 ],
26524 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026525 android_x86: {
26526 cflags: [
26527 "-msse3",
26528 ],
26529 },
26530 android_x86_64: {
26531 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090026532 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026533 "-msse3",
26534 ],
26535 },
26536 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026537}
26538
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026539// GN: //third_party/brotli:dec__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026540cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026541 name: "cronet_aml_third_party_brotli_dec__testing",
26542 srcs: [
26543 "third_party/brotli/dec/bit_reader.c",
26544 "third_party/brotli/dec/decode.c",
26545 "third_party/brotli/dec/huffman.c",
26546 "third_party/brotli/dec/state.c",
26547 ],
26548 static_libs: [
26549 "cronet_aml_third_party_brotli_common__testing",
26550 ],
26551 defaults: [
26552 "cronet_aml_defaults",
26553 ],
26554 cflags: [
26555 "-DANDROID",
26556 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26557 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26558 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26559 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26560 "-DHAVE_SYS_UIO_H",
26561 "-DNDEBUG",
26562 "-DNO_UNWIND_TABLES",
26563 "-DNVALGRIND",
26564 "-DOFFICIAL_BUILD",
26565 "-D_GNU_SOURCE",
26566 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26567 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26568 "-O2",
26569 "-fdata-sections",
26570 "-ffunction-sections",
26571 "-fno-asynchronous-unwind-tables",
26572 "-fno-unwind-tables",
26573 "-fvisibility-inlines-hidden",
26574 "-fvisibility=hidden",
26575 "-g1",
26576 ],
26577 local_include_dirs: [
26578 "./",
26579 "buildtools/third_party/libc++/",
26580 "buildtools/third_party/libc++/trunk/include",
26581 "buildtools/third_party/libc++abi/trunk/include",
26582 "third_party/brotli/include/",
26583 ],
26584 cpp_std: "c++17",
26585 ldflags: [
26586 "-Wl,--as-needed",
26587 "-Wl,--gc-sections",
26588 "-Wl,--icf=all",
26589 ],
26590 target: {
26591 android_arm: {
26592 cflags: [
26593 "-fstack-protector",
26594 ],
26595 },
26596 android_arm64: {
26597 cflags: [
26598 "-fstack-protector",
26599 "-mno-outline",
26600 "-mno-outline-atomics",
26601 ],
26602 },
26603 android_x86: {
26604 cflags: [
26605 "-msse3",
26606 ],
26607 },
26608 android_x86_64: {
26609 cflags: [
26610 "-fstack-protector",
26611 "-msse3",
26612 ],
26613 },
26614 },
26615}
26616
26617// GN: //third_party/ced:ced__testing
26618cc_library_static {
26619 name: "cronet_aml_third_party_ced_ced__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026620 srcs: [
26621 "third_party/ced/src/compact_enc_det/compact_enc_det.cc",
26622 "third_party/ced/src/compact_enc_det/compact_enc_det_hint_code.cc",
26623 "third_party/ced/src/util/encodings/encodings.cc",
26624 "third_party/ced/src/util/languages/languages.cc",
26625 ],
26626 defaults: [
26627 "cronet_aml_defaults",
26628 ],
26629 cflags: [
26630 "-DANDROID",
26631 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26632 "-DCOMPILER_GCC",
26633 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26634 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26635 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26636 "-DHAVE_SYS_UIO_H",
26637 "-DHTML5_MODE",
26638 "-DNDEBUG",
26639 "-DNO_UNWIND_TABLES",
26640 "-DNVALGRIND",
26641 "-DOFFICIAL_BUILD",
26642 "-D_GNU_SOURCE",
26643 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26644 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26645 "-Oz",
26646 "-fdata-sections",
26647 "-ffunction-sections",
26648 "-fno-asynchronous-unwind-tables",
26649 "-fno-unwind-tables",
26650 "-fvisibility-inlines-hidden",
26651 "-fvisibility=hidden",
26652 "-g1",
26653 ],
26654 local_include_dirs: [
26655 "./",
26656 "buildtools/third_party/libc++/",
26657 "buildtools/third_party/libc++/trunk/include",
26658 "buildtools/third_party/libc++abi/trunk/include",
26659 "third_party/ced/src/",
26660 ],
26661 cpp_std: "c++17",
26662 ldflags: [
26663 "-Wl,--as-needed",
26664 "-Wl,--gc-sections",
26665 "-Wl,--icf=all",
26666 ],
26667 target: {
26668 android_arm: {
26669 cflags: [
26670 "-fstack-protector",
26671 ],
26672 },
26673 android_arm64: {
26674 cflags: [
26675 "-fstack-protector",
26676 "-mno-outline",
26677 "-mno-outline-atomics",
26678 ],
26679 },
26680 android_x86: {
26681 cflags: [
26682 "-msse3",
26683 ],
26684 },
26685 android_x86_64: {
26686 cflags: [
26687 "-fstack-protector",
26688 "-msse3",
26689 ],
26690 },
26691 },
26692}
26693
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026694// GN: //third_party/googletest:gmock__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026695cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026696 name: "cronet_aml_third_party_googletest_gmock__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026697 srcs: [
26698 "third_party/googletest/src/googlemock/src/gmock-cardinalities.cc",
26699 "third_party/googletest/src/googlemock/src/gmock-internal-utils.cc",
26700 "third_party/googletest/src/googlemock/src/gmock-matchers.cc",
26701 "third_party/googletest/src/googlemock/src/gmock-spec-builders.cc",
26702 "third_party/googletest/src/googlemock/src/gmock.cc",
26703 ],
26704 shared_libs: [
26705 "libandroid",
26706 "liblog",
26707 ],
26708 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026709 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
26710 "cronet_aml_base_base__testing",
26711 "cronet_aml_base_base_static__testing",
26712 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
26713 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
26714 "cronet_aml_third_party_boringssl_boringssl__testing",
26715 "cronet_aml_third_party_icu_icui18n__testing",
26716 "cronet_aml_third_party_icu_icuuc_private__testing",
26717 "cronet_aml_third_party_libevent_libevent__testing",
26718 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026719 ],
26720 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026721 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026722 ],
26723 defaults: [
26724 "cronet_aml_defaults",
26725 ],
26726 cflags: [
26727 "-DANDROID",
26728 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26729 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26730 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26731 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26732 "-DGTEST_API_=",
26733 "-DGTEST_HAS_ABSL=1",
26734 "-DGTEST_HAS_POSIX_RE=0",
26735 "-DGTEST_HAS_TR1_TUPLE=0",
26736 "-DGTEST_LANG_CXX11=1",
26737 "-DHAVE_SYS_UIO_H",
26738 "-DNDEBUG",
26739 "-DNO_UNWIND_TABLES",
26740 "-DNVALGRIND",
26741 "-DOFFICIAL_BUILD",
26742 "-D_FORTIFY_SOURCE=2",
26743 "-D_GNU_SOURCE",
26744 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26745 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26746 "-D__STDC_CONSTANT_MACROS",
26747 "-D__STDC_FORMAT_MACROS",
26748 "-Oz",
26749 "-fdata-sections",
26750 "-ffunction-sections",
26751 "-fno-asynchronous-unwind-tables",
26752 "-fno-unwind-tables",
26753 "-fvisibility-inlines-hidden",
26754 "-fvisibility=hidden",
26755 "-g1",
26756 ],
26757 local_include_dirs: [
26758 "./",
26759 "buildtools/third_party/libc++/",
26760 "buildtools/third_party/libc++/trunk/include",
26761 "buildtools/third_party/libc++abi/trunk/include",
26762 "third_party/abseil-cpp/",
26763 "third_party/googletest/custom/",
26764 "third_party/googletest/src/googlemock/include/",
26765 "third_party/googletest/src/googletest/include/",
26766 ],
26767 cpp_std: "c++17",
26768 target: {
26769 android_arm: {
26770 cflags: [
26771 "-fstack-protector",
26772 ],
26773 },
26774 android_arm64: {
26775 cflags: [
26776 "-fstack-protector",
26777 "-mno-outline",
26778 "-mno-outline-atomics",
26779 ],
26780 },
26781 android_x86: {
26782 cflags: [
26783 "-msse3",
26784 ],
26785 },
26786 android_x86_64: {
26787 cflags: [
26788 "-fstack-protector",
26789 "-msse3",
26790 ],
26791 },
26792 },
26793}
26794
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026795// GN: //third_party/googletest:gtest__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026796cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026797 name: "cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026798 srcs: [
26799 "third_party/googletest/custom/gtest/internal/custom/chrome_custom_temp_dir.cc",
26800 "third_party/googletest/custom/gtest/internal/custom/gtest_port_wrapper.cc",
26801 "third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc",
26802 "third_party/googletest/src/googletest/src/gtest-assertion-result.cc",
26803 "third_party/googletest/src/googletest/src/gtest-death-test.cc",
26804 "third_party/googletest/src/googletest/src/gtest-filepath.cc",
26805 "third_party/googletest/src/googletest/src/gtest-matchers.cc",
26806 "third_party/googletest/src/googletest/src/gtest-printers.cc",
26807 "third_party/googletest/src/googletest/src/gtest-test-part.cc",
26808 "third_party/googletest/src/googletest/src/gtest-typed-test.cc",
26809 "third_party/googletest/src/googletest/src/gtest.cc",
26810 ],
26811 shared_libs: [
26812 "libandroid",
26813 "liblog",
26814 ],
26815 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026816 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
26817 "cronet_aml_base_base__testing",
26818 "cronet_aml_base_base_static__testing",
26819 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
26820 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
26821 "cronet_aml_third_party_boringssl_boringssl__testing",
26822 "cronet_aml_third_party_icu_icui18n__testing",
26823 "cronet_aml_third_party_icu_icuuc_private__testing",
26824 "cronet_aml_third_party_libevent_libevent__testing",
26825 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026826 ],
26827 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026828 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026829 ],
26830 defaults: [
26831 "cronet_aml_defaults",
26832 ],
26833 cflags: [
26834 "-DANDROID",
26835 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26836 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26837 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26838 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26839 "-DGTEST_API_=",
26840 "-DGTEST_HAS_ABSL=1",
26841 "-DGTEST_HAS_POSIX_RE=0",
26842 "-DGTEST_HAS_TR1_TUPLE=0",
26843 "-DGTEST_LANG_CXX11=1",
26844 "-DHAVE_SYS_UIO_H",
26845 "-DNDEBUG",
26846 "-DNO_UNWIND_TABLES",
26847 "-DNVALGRIND",
26848 "-DOFFICIAL_BUILD",
26849 "-D_GNU_SOURCE",
26850 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26851 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26852 "-Oz",
26853 "-fdata-sections",
26854 "-ffunction-sections",
26855 "-fno-asynchronous-unwind-tables",
26856 "-fno-unwind-tables",
26857 "-fvisibility-inlines-hidden",
26858 "-fvisibility=hidden",
26859 "-g1",
26860 ],
26861 local_include_dirs: [
26862 "./",
26863 "buildtools/third_party/libc++/",
26864 "buildtools/third_party/libc++/trunk/include",
26865 "buildtools/third_party/libc++abi/trunk/include",
26866 "third_party/abseil-cpp/",
26867 "third_party/boringssl/src/include/",
26868 "third_party/googletest/custom/",
26869 "third_party/googletest/src/googletest/",
26870 "third_party/googletest/src/googletest/include/",
26871 ],
26872 cpp_std: "c++17",
26873 target: {
26874 android_arm: {
26875 cflags: [
26876 "-fstack-protector",
26877 ],
26878 },
26879 android_arm64: {
26880 cflags: [
26881 "-fstack-protector",
26882 "-mno-outline",
26883 "-mno-outline-atomics",
26884 ],
26885 },
26886 android_x86: {
26887 cflags: [
26888 "-msse3",
26889 ],
26890 },
26891 android_x86_64: {
26892 cflags: [
26893 "-fstack-protector",
26894 "-msse3",
26895 ],
26896 },
26897 },
26898}
26899
Patrick Rohrcc377df2022-10-28 09:27:15 -070026900// GN: //third_party/icu:icui18n
26901cc_library_static {
26902 name: "cronet_aml_third_party_icu_icui18n",
Patrick Rohr971e03c2022-11-10 19:09:46 -080026903 srcs: [
26904 "third_party/icu/source/i18n/alphaindex.cpp",
26905 "third_party/icu/source/i18n/anytrans.cpp",
26906 "third_party/icu/source/i18n/astro.cpp",
26907 "third_party/icu/source/i18n/basictz.cpp",
26908 "third_party/icu/source/i18n/bocsu.cpp",
26909 "third_party/icu/source/i18n/brktrans.cpp",
26910 "third_party/icu/source/i18n/buddhcal.cpp",
26911 "third_party/icu/source/i18n/calendar.cpp",
26912 "third_party/icu/source/i18n/casetrn.cpp",
26913 "third_party/icu/source/i18n/cecal.cpp",
26914 "third_party/icu/source/i18n/chnsecal.cpp",
26915 "third_party/icu/source/i18n/choicfmt.cpp",
26916 "third_party/icu/source/i18n/coleitr.cpp",
26917 "third_party/icu/source/i18n/coll.cpp",
26918 "third_party/icu/source/i18n/collation.cpp",
26919 "third_party/icu/source/i18n/collationbuilder.cpp",
26920 "third_party/icu/source/i18n/collationcompare.cpp",
26921 "third_party/icu/source/i18n/collationdata.cpp",
26922 "third_party/icu/source/i18n/collationdatabuilder.cpp",
26923 "third_party/icu/source/i18n/collationdatareader.cpp",
26924 "third_party/icu/source/i18n/collationdatawriter.cpp",
26925 "third_party/icu/source/i18n/collationfastlatin.cpp",
26926 "third_party/icu/source/i18n/collationfastlatinbuilder.cpp",
26927 "third_party/icu/source/i18n/collationfcd.cpp",
26928 "third_party/icu/source/i18n/collationiterator.cpp",
26929 "third_party/icu/source/i18n/collationkeys.cpp",
26930 "third_party/icu/source/i18n/collationroot.cpp",
26931 "third_party/icu/source/i18n/collationrootelements.cpp",
26932 "third_party/icu/source/i18n/collationruleparser.cpp",
26933 "third_party/icu/source/i18n/collationsets.cpp",
26934 "third_party/icu/source/i18n/collationsettings.cpp",
26935 "third_party/icu/source/i18n/collationtailoring.cpp",
26936 "third_party/icu/source/i18n/collationweights.cpp",
26937 "third_party/icu/source/i18n/compactdecimalformat.cpp",
26938 "third_party/icu/source/i18n/coptccal.cpp",
26939 "third_party/icu/source/i18n/cpdtrans.cpp",
26940 "third_party/icu/source/i18n/csdetect.cpp",
26941 "third_party/icu/source/i18n/csmatch.cpp",
26942 "third_party/icu/source/i18n/csr2022.cpp",
26943 "third_party/icu/source/i18n/csrecog.cpp",
26944 "third_party/icu/source/i18n/csrmbcs.cpp",
26945 "third_party/icu/source/i18n/csrsbcs.cpp",
26946 "third_party/icu/source/i18n/csrucode.cpp",
26947 "third_party/icu/source/i18n/csrutf8.cpp",
26948 "third_party/icu/source/i18n/curramt.cpp",
26949 "third_party/icu/source/i18n/currfmt.cpp",
26950 "third_party/icu/source/i18n/currpinf.cpp",
26951 "third_party/icu/source/i18n/currunit.cpp",
26952 "third_party/icu/source/i18n/dangical.cpp",
26953 "third_party/icu/source/i18n/datefmt.cpp",
26954 "third_party/icu/source/i18n/dayperiodrules.cpp",
26955 "third_party/icu/source/i18n/dcfmtsym.cpp",
26956 "third_party/icu/source/i18n/decContext.cpp",
26957 "third_party/icu/source/i18n/decNumber.cpp",
26958 "third_party/icu/source/i18n/decimfmt.cpp",
26959 "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
26960 "third_party/icu/source/i18n/double-conversion-bignum.cpp",
26961 "third_party/icu/source/i18n/double-conversion-cached-powers.cpp",
26962 "third_party/icu/source/i18n/double-conversion-double-to-string.cpp",
26963 "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp",
26964 "third_party/icu/source/i18n/double-conversion-string-to-double.cpp",
26965 "third_party/icu/source/i18n/double-conversion-strtod.cpp",
26966 "third_party/icu/source/i18n/dtfmtsym.cpp",
26967 "third_party/icu/source/i18n/dtitvfmt.cpp",
26968 "third_party/icu/source/i18n/dtitvinf.cpp",
26969 "third_party/icu/source/i18n/dtptngen.cpp",
26970 "third_party/icu/source/i18n/dtrule.cpp",
26971 "third_party/icu/source/i18n/erarules.cpp",
26972 "third_party/icu/source/i18n/esctrn.cpp",
26973 "third_party/icu/source/i18n/ethpccal.cpp",
26974 "third_party/icu/source/i18n/fmtable.cpp",
26975 "third_party/icu/source/i18n/fmtable_cnv.cpp",
26976 "third_party/icu/source/i18n/format.cpp",
26977 "third_party/icu/source/i18n/formatted_string_builder.cpp",
26978 "third_party/icu/source/i18n/formattedval_iterimpl.cpp",
26979 "third_party/icu/source/i18n/formattedval_sbimpl.cpp",
26980 "third_party/icu/source/i18n/formattedvalue.cpp",
26981 "third_party/icu/source/i18n/fphdlimp.cpp",
26982 "third_party/icu/source/i18n/fpositer.cpp",
26983 "third_party/icu/source/i18n/funcrepl.cpp",
26984 "third_party/icu/source/i18n/gender.cpp",
26985 "third_party/icu/source/i18n/gregocal.cpp",
26986 "third_party/icu/source/i18n/gregoimp.cpp",
26987 "third_party/icu/source/i18n/hebrwcal.cpp",
26988 "third_party/icu/source/i18n/indiancal.cpp",
26989 "third_party/icu/source/i18n/inputext.cpp",
26990 "third_party/icu/source/i18n/islamcal.cpp",
26991 "third_party/icu/source/i18n/japancal.cpp",
26992 "third_party/icu/source/i18n/listformatter.cpp",
26993 "third_party/icu/source/i18n/measfmt.cpp",
26994 "third_party/icu/source/i18n/measunit.cpp",
26995 "third_party/icu/source/i18n/measunit_extra.cpp",
26996 "third_party/icu/source/i18n/measure.cpp",
26997 "third_party/icu/source/i18n/msgfmt.cpp",
26998 "third_party/icu/source/i18n/name2uni.cpp",
26999 "third_party/icu/source/i18n/nfrs.cpp",
27000 "third_party/icu/source/i18n/nfrule.cpp",
27001 "third_party/icu/source/i18n/nfsubs.cpp",
27002 "third_party/icu/source/i18n/nortrans.cpp",
27003 "third_party/icu/source/i18n/nultrans.cpp",
27004 "third_party/icu/source/i18n/number_affixutils.cpp",
27005 "third_party/icu/source/i18n/number_asformat.cpp",
27006 "third_party/icu/source/i18n/number_capi.cpp",
27007 "third_party/icu/source/i18n/number_compact.cpp",
27008 "third_party/icu/source/i18n/number_currencysymbols.cpp",
27009 "third_party/icu/source/i18n/number_decimalquantity.cpp",
27010 "third_party/icu/source/i18n/number_decimfmtprops.cpp",
27011 "third_party/icu/source/i18n/number_fluent.cpp",
27012 "third_party/icu/source/i18n/number_formatimpl.cpp",
27013 "third_party/icu/source/i18n/number_grouping.cpp",
27014 "third_party/icu/source/i18n/number_integerwidth.cpp",
27015 "third_party/icu/source/i18n/number_longnames.cpp",
27016 "third_party/icu/source/i18n/number_mapper.cpp",
27017 "third_party/icu/source/i18n/number_modifiers.cpp",
27018 "third_party/icu/source/i18n/number_multiplier.cpp",
27019 "third_party/icu/source/i18n/number_notation.cpp",
27020 "third_party/icu/source/i18n/number_output.cpp",
27021 "third_party/icu/source/i18n/number_padding.cpp",
27022 "third_party/icu/source/i18n/number_patternmodifier.cpp",
27023 "third_party/icu/source/i18n/number_patternstring.cpp",
27024 "third_party/icu/source/i18n/number_rounding.cpp",
27025 "third_party/icu/source/i18n/number_scientific.cpp",
27026 "third_party/icu/source/i18n/number_skeletons.cpp",
27027 "third_party/icu/source/i18n/number_symbolswrapper.cpp",
27028 "third_party/icu/source/i18n/number_usageprefs.cpp",
27029 "third_party/icu/source/i18n/number_utils.cpp",
27030 "third_party/icu/source/i18n/numfmt.cpp",
27031 "third_party/icu/source/i18n/numparse_affixes.cpp",
27032 "third_party/icu/source/i18n/numparse_compositions.cpp",
27033 "third_party/icu/source/i18n/numparse_currency.cpp",
27034 "third_party/icu/source/i18n/numparse_decimal.cpp",
27035 "third_party/icu/source/i18n/numparse_impl.cpp",
27036 "third_party/icu/source/i18n/numparse_parsednumber.cpp",
27037 "third_party/icu/source/i18n/numparse_scientific.cpp",
27038 "third_party/icu/source/i18n/numparse_symbols.cpp",
27039 "third_party/icu/source/i18n/numparse_validators.cpp",
27040 "third_party/icu/source/i18n/numrange_capi.cpp",
27041 "third_party/icu/source/i18n/numrange_fluent.cpp",
27042 "third_party/icu/source/i18n/numrange_impl.cpp",
27043 "third_party/icu/source/i18n/numsys.cpp",
27044 "third_party/icu/source/i18n/olsontz.cpp",
27045 "third_party/icu/source/i18n/persncal.cpp",
27046 "third_party/icu/source/i18n/pluralranges.cpp",
27047 "third_party/icu/source/i18n/plurfmt.cpp",
27048 "third_party/icu/source/i18n/plurrule.cpp",
27049 "third_party/icu/source/i18n/quant.cpp",
27050 "third_party/icu/source/i18n/quantityformatter.cpp",
27051 "third_party/icu/source/i18n/rbnf.cpp",
27052 "third_party/icu/source/i18n/rbt.cpp",
27053 "third_party/icu/source/i18n/rbt_data.cpp",
27054 "third_party/icu/source/i18n/rbt_pars.cpp",
27055 "third_party/icu/source/i18n/rbt_rule.cpp",
27056 "third_party/icu/source/i18n/rbt_set.cpp",
27057 "third_party/icu/source/i18n/rbtz.cpp",
27058 "third_party/icu/source/i18n/regexcmp.cpp",
27059 "third_party/icu/source/i18n/regeximp.cpp",
27060 "third_party/icu/source/i18n/regexst.cpp",
27061 "third_party/icu/source/i18n/regextxt.cpp",
27062 "third_party/icu/source/i18n/region.cpp",
27063 "third_party/icu/source/i18n/reldatefmt.cpp",
27064 "third_party/icu/source/i18n/reldtfmt.cpp",
27065 "third_party/icu/source/i18n/rematch.cpp",
27066 "third_party/icu/source/i18n/remtrans.cpp",
27067 "third_party/icu/source/i18n/repattrn.cpp",
27068 "third_party/icu/source/i18n/rulebasedcollator.cpp",
27069 "third_party/icu/source/i18n/scientificnumberformatter.cpp",
27070 "third_party/icu/source/i18n/scriptset.cpp",
27071 "third_party/icu/source/i18n/search.cpp",
27072 "third_party/icu/source/i18n/selfmt.cpp",
27073 "third_party/icu/source/i18n/sharedbreakiterator.cpp",
27074 "third_party/icu/source/i18n/simpletz.cpp",
27075 "third_party/icu/source/i18n/smpdtfmt.cpp",
27076 "third_party/icu/source/i18n/smpdtfst.cpp",
27077 "third_party/icu/source/i18n/sortkey.cpp",
27078 "third_party/icu/source/i18n/standardplural.cpp",
27079 "third_party/icu/source/i18n/string_segment.cpp",
27080 "third_party/icu/source/i18n/strmatch.cpp",
27081 "third_party/icu/source/i18n/strrepl.cpp",
27082 "third_party/icu/source/i18n/stsearch.cpp",
27083 "third_party/icu/source/i18n/taiwncal.cpp",
27084 "third_party/icu/source/i18n/timezone.cpp",
27085 "third_party/icu/source/i18n/titletrn.cpp",
27086 "third_party/icu/source/i18n/tmunit.cpp",
27087 "third_party/icu/source/i18n/tmutamt.cpp",
27088 "third_party/icu/source/i18n/tmutfmt.cpp",
27089 "third_party/icu/source/i18n/tolowtrn.cpp",
27090 "third_party/icu/source/i18n/toupptrn.cpp",
27091 "third_party/icu/source/i18n/translit.cpp",
27092 "third_party/icu/source/i18n/transreg.cpp",
27093 "third_party/icu/source/i18n/tridpars.cpp",
27094 "third_party/icu/source/i18n/tzfmt.cpp",
27095 "third_party/icu/source/i18n/tzgnames.cpp",
27096 "third_party/icu/source/i18n/tznames.cpp",
27097 "third_party/icu/source/i18n/tznames_impl.cpp",
27098 "third_party/icu/source/i18n/tzrule.cpp",
27099 "third_party/icu/source/i18n/tztrans.cpp",
27100 "third_party/icu/source/i18n/ucal.cpp",
27101 "third_party/icu/source/i18n/ucln_in.cpp",
27102 "third_party/icu/source/i18n/ucol.cpp",
27103 "third_party/icu/source/i18n/ucol_res.cpp",
27104 "third_party/icu/source/i18n/ucol_sit.cpp",
27105 "third_party/icu/source/i18n/ucoleitr.cpp",
27106 "third_party/icu/source/i18n/ucsdet.cpp",
27107 "third_party/icu/source/i18n/udat.cpp",
27108 "third_party/icu/source/i18n/udateintervalformat.cpp",
27109 "third_party/icu/source/i18n/udatpg.cpp",
27110 "third_party/icu/source/i18n/ufieldpositer.cpp",
27111 "third_party/icu/source/i18n/uitercollationiterator.cpp",
27112 "third_party/icu/source/i18n/ulistformatter.cpp",
27113 "third_party/icu/source/i18n/ulocdata.cpp",
27114 "third_party/icu/source/i18n/umsg.cpp",
27115 "third_party/icu/source/i18n/unesctrn.cpp",
27116 "third_party/icu/source/i18n/uni2name.cpp",
27117 "third_party/icu/source/i18n/units_complexconverter.cpp",
27118 "third_party/icu/source/i18n/units_converter.cpp",
27119 "third_party/icu/source/i18n/units_data.cpp",
27120 "third_party/icu/source/i18n/units_router.cpp",
27121 "third_party/icu/source/i18n/unum.cpp",
27122 "third_party/icu/source/i18n/unumsys.cpp",
27123 "third_party/icu/source/i18n/upluralrules.cpp",
27124 "third_party/icu/source/i18n/uregex.cpp",
27125 "third_party/icu/source/i18n/uregexc.cpp",
27126 "third_party/icu/source/i18n/uregion.cpp",
27127 "third_party/icu/source/i18n/usearch.cpp",
27128 "third_party/icu/source/i18n/uspoof.cpp",
27129 "third_party/icu/source/i18n/uspoof_build.cpp",
27130 "third_party/icu/source/i18n/uspoof_conf.cpp",
27131 "third_party/icu/source/i18n/uspoof_impl.cpp",
27132 "third_party/icu/source/i18n/utf16collationiterator.cpp",
27133 "third_party/icu/source/i18n/utf8collationiterator.cpp",
27134 "third_party/icu/source/i18n/utmscale.cpp",
27135 "third_party/icu/source/i18n/utrans.cpp",
27136 "third_party/icu/source/i18n/vtzone.cpp",
27137 "third_party/icu/source/i18n/vzone.cpp",
27138 "third_party/icu/source/i18n/windtfmt.cpp",
27139 "third_party/icu/source/i18n/winnmfmt.cpp",
27140 "third_party/icu/source/i18n/wintzimpl.cpp",
27141 "third_party/icu/source/i18n/zonemeta.cpp",
27142 "third_party/icu/source/i18n/zrule.cpp",
27143 "third_party/icu/source/i18n/ztrans.cpp",
27144 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -070027145 static_libs: [
27146 "cronet_aml_third_party_icu_icuuc_private",
27147 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000027148 defaults: [
27149 "cronet_aml_defaults",
27150 ],
27151 cflags: [
27152 "-DANDROID",
27153 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27154 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
27155 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
27156 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
27157 "-DHAVE_DLOPEN=0",
27158 "-DHAVE_SYS_UIO_H",
27159 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
27160 "-DNDEBUG",
27161 "-DNO_UNWIND_TABLES",
27162 "-DNVALGRIND",
27163 "-DOFFICIAL_BUILD",
27164 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
27165 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
27166 "-DUSE_CHROMIUM_ICU=1",
27167 "-DU_CHARSET_IS_UTF8=1",
27168 "-DU_ENABLE_DYLOAD=0",
27169 "-DU_ENABLE_RESOURCE_TRACING=0",
27170 "-DU_ENABLE_TRACING=1",
27171 "-DU_I18N_IMPLEMENTATION",
27172 "-DU_STATIC_IMPLEMENTATION",
27173 "-DU_USING_ICU_NAMESPACE=0",
27174 "-D_GNU_SOURCE",
27175 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
27176 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
27177 "-Oz",
27178 "-fdata-sections",
27179 "-ffunction-sections",
27180 "-fno-asynchronous-unwind-tables",
27181 "-fno-unwind-tables",
27182 "-fvisibility-inlines-hidden",
27183 "-fvisibility=hidden",
27184 "-g1",
27185 ],
27186 local_include_dirs: [
27187 "./",
27188 "buildtools/third_party/libc++/",
27189 "buildtools/third_party/libc++/trunk/include",
27190 "buildtools/third_party/libc++abi/trunk/include",
27191 "third_party/icu/source/common/",
27192 "third_party/icu/source/i18n/",
27193 ],
27194 cpp_std: "c++17",
27195 ldflags: [
27196 "-Wl,--as-needed",
27197 "-Wl,--gc-sections",
27198 "-Wl,--icf=all",
27199 ],
27200 rtti: true,
27201 target: {
27202 android_arm: {
27203 cflags: [
27204 "-fstack-protector",
27205 ],
27206 },
27207 android_arm64: {
27208 cflags: [
27209 "-fstack-protector",
27210 "-mno-outline",
27211 "-mno-outline-atomics",
27212 ],
27213 },
27214 android_x86: {
27215 cflags: [
27216 "-msse3",
27217 ],
27218 },
27219 android_x86_64: {
27220 cflags: [
27221 "-fstack-protector",
27222 "-msse3",
27223 ],
27224 },
27225 },
27226}
27227
27228// GN: //third_party/icu:icui18n__testing
27229cc_library_static {
27230 name: "cronet_aml_third_party_icu_icui18n__testing",
27231 srcs: [
27232 "third_party/icu/source/i18n/alphaindex.cpp",
27233 "third_party/icu/source/i18n/anytrans.cpp",
27234 "third_party/icu/source/i18n/astro.cpp",
27235 "third_party/icu/source/i18n/basictz.cpp",
27236 "third_party/icu/source/i18n/bocsu.cpp",
27237 "third_party/icu/source/i18n/brktrans.cpp",
27238 "third_party/icu/source/i18n/buddhcal.cpp",
27239 "third_party/icu/source/i18n/calendar.cpp",
27240 "third_party/icu/source/i18n/casetrn.cpp",
27241 "third_party/icu/source/i18n/cecal.cpp",
27242 "third_party/icu/source/i18n/chnsecal.cpp",
27243 "third_party/icu/source/i18n/choicfmt.cpp",
27244 "third_party/icu/source/i18n/coleitr.cpp",
27245 "third_party/icu/source/i18n/coll.cpp",
27246 "third_party/icu/source/i18n/collation.cpp",
27247 "third_party/icu/source/i18n/collationbuilder.cpp",
27248 "third_party/icu/source/i18n/collationcompare.cpp",
27249 "third_party/icu/source/i18n/collationdata.cpp",
27250 "third_party/icu/source/i18n/collationdatabuilder.cpp",
27251 "third_party/icu/source/i18n/collationdatareader.cpp",
27252 "third_party/icu/source/i18n/collationdatawriter.cpp",
27253 "third_party/icu/source/i18n/collationfastlatin.cpp",
27254 "third_party/icu/source/i18n/collationfastlatinbuilder.cpp",
27255 "third_party/icu/source/i18n/collationfcd.cpp",
27256 "third_party/icu/source/i18n/collationiterator.cpp",
27257 "third_party/icu/source/i18n/collationkeys.cpp",
27258 "third_party/icu/source/i18n/collationroot.cpp",
27259 "third_party/icu/source/i18n/collationrootelements.cpp",
27260 "third_party/icu/source/i18n/collationruleparser.cpp",
27261 "third_party/icu/source/i18n/collationsets.cpp",
27262 "third_party/icu/source/i18n/collationsettings.cpp",
27263 "third_party/icu/source/i18n/collationtailoring.cpp",
27264 "third_party/icu/source/i18n/collationweights.cpp",
27265 "third_party/icu/source/i18n/compactdecimalformat.cpp",
27266 "third_party/icu/source/i18n/coptccal.cpp",
27267 "third_party/icu/source/i18n/cpdtrans.cpp",
27268 "third_party/icu/source/i18n/csdetect.cpp",
27269 "third_party/icu/source/i18n/csmatch.cpp",
27270 "third_party/icu/source/i18n/csr2022.cpp",
27271 "third_party/icu/source/i18n/csrecog.cpp",
27272 "third_party/icu/source/i18n/csrmbcs.cpp",
27273 "third_party/icu/source/i18n/csrsbcs.cpp",
27274 "third_party/icu/source/i18n/csrucode.cpp",
27275 "third_party/icu/source/i18n/csrutf8.cpp",
27276 "third_party/icu/source/i18n/curramt.cpp",
27277 "third_party/icu/source/i18n/currfmt.cpp",
27278 "third_party/icu/source/i18n/currpinf.cpp",
27279 "third_party/icu/source/i18n/currunit.cpp",
27280 "third_party/icu/source/i18n/dangical.cpp",
27281 "third_party/icu/source/i18n/datefmt.cpp",
27282 "third_party/icu/source/i18n/dayperiodrules.cpp",
27283 "third_party/icu/source/i18n/dcfmtsym.cpp",
27284 "third_party/icu/source/i18n/decContext.cpp",
27285 "third_party/icu/source/i18n/decNumber.cpp",
27286 "third_party/icu/source/i18n/decimfmt.cpp",
27287 "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
27288 "third_party/icu/source/i18n/double-conversion-bignum.cpp",
27289 "third_party/icu/source/i18n/double-conversion-cached-powers.cpp",
27290 "third_party/icu/source/i18n/double-conversion-double-to-string.cpp",
27291 "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp",
27292 "third_party/icu/source/i18n/double-conversion-string-to-double.cpp",
27293 "third_party/icu/source/i18n/double-conversion-strtod.cpp",
27294 "third_party/icu/source/i18n/dtfmtsym.cpp",
27295 "third_party/icu/source/i18n/dtitvfmt.cpp",
27296 "third_party/icu/source/i18n/dtitvinf.cpp",
27297 "third_party/icu/source/i18n/dtptngen.cpp",
27298 "third_party/icu/source/i18n/dtrule.cpp",
27299 "third_party/icu/source/i18n/erarules.cpp",
27300 "third_party/icu/source/i18n/esctrn.cpp",
27301 "third_party/icu/source/i18n/ethpccal.cpp",
27302 "third_party/icu/source/i18n/fmtable.cpp",
27303 "third_party/icu/source/i18n/fmtable_cnv.cpp",
27304 "third_party/icu/source/i18n/format.cpp",
27305 "third_party/icu/source/i18n/formatted_string_builder.cpp",
27306 "third_party/icu/source/i18n/formattedval_iterimpl.cpp",
27307 "third_party/icu/source/i18n/formattedval_sbimpl.cpp",
27308 "third_party/icu/source/i18n/formattedvalue.cpp",
27309 "third_party/icu/source/i18n/fphdlimp.cpp",
27310 "third_party/icu/source/i18n/fpositer.cpp",
27311 "third_party/icu/source/i18n/funcrepl.cpp",
27312 "third_party/icu/source/i18n/gender.cpp",
27313 "third_party/icu/source/i18n/gregocal.cpp",
27314 "third_party/icu/source/i18n/gregoimp.cpp",
27315 "third_party/icu/source/i18n/hebrwcal.cpp",
27316 "third_party/icu/source/i18n/indiancal.cpp",
27317 "third_party/icu/source/i18n/inputext.cpp",
27318 "third_party/icu/source/i18n/islamcal.cpp",
27319 "third_party/icu/source/i18n/japancal.cpp",
27320 "third_party/icu/source/i18n/listformatter.cpp",
27321 "third_party/icu/source/i18n/measfmt.cpp",
27322 "third_party/icu/source/i18n/measunit.cpp",
27323 "third_party/icu/source/i18n/measunit_extra.cpp",
27324 "third_party/icu/source/i18n/measure.cpp",
27325 "third_party/icu/source/i18n/msgfmt.cpp",
27326 "third_party/icu/source/i18n/name2uni.cpp",
27327 "third_party/icu/source/i18n/nfrs.cpp",
27328 "third_party/icu/source/i18n/nfrule.cpp",
27329 "third_party/icu/source/i18n/nfsubs.cpp",
27330 "third_party/icu/source/i18n/nortrans.cpp",
27331 "third_party/icu/source/i18n/nultrans.cpp",
27332 "third_party/icu/source/i18n/number_affixutils.cpp",
27333 "third_party/icu/source/i18n/number_asformat.cpp",
27334 "third_party/icu/source/i18n/number_capi.cpp",
27335 "third_party/icu/source/i18n/number_compact.cpp",
27336 "third_party/icu/source/i18n/number_currencysymbols.cpp",
27337 "third_party/icu/source/i18n/number_decimalquantity.cpp",
27338 "third_party/icu/source/i18n/number_decimfmtprops.cpp",
27339 "third_party/icu/source/i18n/number_fluent.cpp",
27340 "third_party/icu/source/i18n/number_formatimpl.cpp",
27341 "third_party/icu/source/i18n/number_grouping.cpp",
27342 "third_party/icu/source/i18n/number_integerwidth.cpp",
27343 "third_party/icu/source/i18n/number_longnames.cpp",
27344 "third_party/icu/source/i18n/number_mapper.cpp",
27345 "third_party/icu/source/i18n/number_modifiers.cpp",
27346 "third_party/icu/source/i18n/number_multiplier.cpp",
27347 "third_party/icu/source/i18n/number_notation.cpp",
27348 "third_party/icu/source/i18n/number_output.cpp",
27349 "third_party/icu/source/i18n/number_padding.cpp",
27350 "third_party/icu/source/i18n/number_patternmodifier.cpp",
27351 "third_party/icu/source/i18n/number_patternstring.cpp",
27352 "third_party/icu/source/i18n/number_rounding.cpp",
27353 "third_party/icu/source/i18n/number_scientific.cpp",
27354 "third_party/icu/source/i18n/number_skeletons.cpp",
27355 "third_party/icu/source/i18n/number_symbolswrapper.cpp",
27356 "third_party/icu/source/i18n/number_usageprefs.cpp",
27357 "third_party/icu/source/i18n/number_utils.cpp",
27358 "third_party/icu/source/i18n/numfmt.cpp",
27359 "third_party/icu/source/i18n/numparse_affixes.cpp",
27360 "third_party/icu/source/i18n/numparse_compositions.cpp",
27361 "third_party/icu/source/i18n/numparse_currency.cpp",
27362 "third_party/icu/source/i18n/numparse_decimal.cpp",
27363 "third_party/icu/source/i18n/numparse_impl.cpp",
27364 "third_party/icu/source/i18n/numparse_parsednumber.cpp",
27365 "third_party/icu/source/i18n/numparse_scientific.cpp",
27366 "third_party/icu/source/i18n/numparse_symbols.cpp",
27367 "third_party/icu/source/i18n/numparse_validators.cpp",
27368 "third_party/icu/source/i18n/numrange_capi.cpp",
27369 "third_party/icu/source/i18n/numrange_fluent.cpp",
27370 "third_party/icu/source/i18n/numrange_impl.cpp",
27371 "third_party/icu/source/i18n/numsys.cpp",
27372 "third_party/icu/source/i18n/olsontz.cpp",
27373 "third_party/icu/source/i18n/persncal.cpp",
27374 "third_party/icu/source/i18n/pluralranges.cpp",
27375 "third_party/icu/source/i18n/plurfmt.cpp",
27376 "third_party/icu/source/i18n/plurrule.cpp",
27377 "third_party/icu/source/i18n/quant.cpp",
27378 "third_party/icu/source/i18n/quantityformatter.cpp",
27379 "third_party/icu/source/i18n/rbnf.cpp",
27380 "third_party/icu/source/i18n/rbt.cpp",
27381 "third_party/icu/source/i18n/rbt_data.cpp",
27382 "third_party/icu/source/i18n/rbt_pars.cpp",
27383 "third_party/icu/source/i18n/rbt_rule.cpp",
27384 "third_party/icu/source/i18n/rbt_set.cpp",
27385 "third_party/icu/source/i18n/rbtz.cpp",
27386 "third_party/icu/source/i18n/regexcmp.cpp",
27387 "third_party/icu/source/i18n/regeximp.cpp",
27388 "third_party/icu/source/i18n/regexst.cpp",
27389 "third_party/icu/source/i18n/regextxt.cpp",
27390 "third_party/icu/source/i18n/region.cpp",
27391 "third_party/icu/source/i18n/reldatefmt.cpp",
27392 "third_party/icu/source/i18n/reldtfmt.cpp",
27393 "third_party/icu/source/i18n/rematch.cpp",
27394 "third_party/icu/source/i18n/remtrans.cpp",
27395 "third_party/icu/source/i18n/repattrn.cpp",
27396 "third_party/icu/source/i18n/rulebasedcollator.cpp",
27397 "third_party/icu/source/i18n/scientificnumberformatter.cpp",
27398 "third_party/icu/source/i18n/scriptset.cpp",
27399 "third_party/icu/source/i18n/search.cpp",
27400 "third_party/icu/source/i18n/selfmt.cpp",
27401 "third_party/icu/source/i18n/sharedbreakiterator.cpp",
27402 "third_party/icu/source/i18n/simpletz.cpp",
27403 "third_party/icu/source/i18n/smpdtfmt.cpp",
27404 "third_party/icu/source/i18n/smpdtfst.cpp",
27405 "third_party/icu/source/i18n/sortkey.cpp",
27406 "third_party/icu/source/i18n/standardplural.cpp",
27407 "third_party/icu/source/i18n/string_segment.cpp",
27408 "third_party/icu/source/i18n/strmatch.cpp",
27409 "third_party/icu/source/i18n/strrepl.cpp",
27410 "third_party/icu/source/i18n/stsearch.cpp",
27411 "third_party/icu/source/i18n/taiwncal.cpp",
27412 "third_party/icu/source/i18n/timezone.cpp",
27413 "third_party/icu/source/i18n/titletrn.cpp",
27414 "third_party/icu/source/i18n/tmunit.cpp",
27415 "third_party/icu/source/i18n/tmutamt.cpp",
27416 "third_party/icu/source/i18n/tmutfmt.cpp",
27417 "third_party/icu/source/i18n/tolowtrn.cpp",
27418 "third_party/icu/source/i18n/toupptrn.cpp",
27419 "third_party/icu/source/i18n/translit.cpp",
27420 "third_party/icu/source/i18n/transreg.cpp",
27421 "third_party/icu/source/i18n/tridpars.cpp",
27422 "third_party/icu/source/i18n/tzfmt.cpp",
27423 "third_party/icu/source/i18n/tzgnames.cpp",
27424 "third_party/icu/source/i18n/tznames.cpp",
27425 "third_party/icu/source/i18n/tznames_impl.cpp",
27426 "third_party/icu/source/i18n/tzrule.cpp",
27427 "third_party/icu/source/i18n/tztrans.cpp",
27428 "third_party/icu/source/i18n/ucal.cpp",
27429 "third_party/icu/source/i18n/ucln_in.cpp",
27430 "third_party/icu/source/i18n/ucol.cpp",
27431 "third_party/icu/source/i18n/ucol_res.cpp",
27432 "third_party/icu/source/i18n/ucol_sit.cpp",
27433 "third_party/icu/source/i18n/ucoleitr.cpp",
27434 "third_party/icu/source/i18n/ucsdet.cpp",
27435 "third_party/icu/source/i18n/udat.cpp",
27436 "third_party/icu/source/i18n/udateintervalformat.cpp",
27437 "third_party/icu/source/i18n/udatpg.cpp",
27438 "third_party/icu/source/i18n/ufieldpositer.cpp",
27439 "third_party/icu/source/i18n/uitercollationiterator.cpp",
27440 "third_party/icu/source/i18n/ulistformatter.cpp",
27441 "third_party/icu/source/i18n/ulocdata.cpp",
27442 "third_party/icu/source/i18n/umsg.cpp",
27443 "third_party/icu/source/i18n/unesctrn.cpp",
27444 "third_party/icu/source/i18n/uni2name.cpp",
27445 "third_party/icu/source/i18n/units_complexconverter.cpp",
27446 "third_party/icu/source/i18n/units_converter.cpp",
27447 "third_party/icu/source/i18n/units_data.cpp",
27448 "third_party/icu/source/i18n/units_router.cpp",
27449 "third_party/icu/source/i18n/unum.cpp",
27450 "third_party/icu/source/i18n/unumsys.cpp",
27451 "third_party/icu/source/i18n/upluralrules.cpp",
27452 "third_party/icu/source/i18n/uregex.cpp",
27453 "third_party/icu/source/i18n/uregexc.cpp",
27454 "third_party/icu/source/i18n/uregion.cpp",
27455 "third_party/icu/source/i18n/usearch.cpp",
27456 "third_party/icu/source/i18n/uspoof.cpp",
27457 "third_party/icu/source/i18n/uspoof_build.cpp",
27458 "third_party/icu/source/i18n/uspoof_conf.cpp",
27459 "third_party/icu/source/i18n/uspoof_impl.cpp",
27460 "third_party/icu/source/i18n/utf16collationiterator.cpp",
27461 "third_party/icu/source/i18n/utf8collationiterator.cpp",
27462 "third_party/icu/source/i18n/utmscale.cpp",
27463 "third_party/icu/source/i18n/utrans.cpp",
27464 "third_party/icu/source/i18n/vtzone.cpp",
27465 "third_party/icu/source/i18n/vzone.cpp",
27466 "third_party/icu/source/i18n/windtfmt.cpp",
27467 "third_party/icu/source/i18n/winnmfmt.cpp",
27468 "third_party/icu/source/i18n/wintzimpl.cpp",
27469 "third_party/icu/source/i18n/zonemeta.cpp",
27470 "third_party/icu/source/i18n/zrule.cpp",
27471 "third_party/icu/source/i18n/ztrans.cpp",
27472 ],
27473 static_libs: [
27474 "cronet_aml_third_party_icu_icuuc_private__testing",
27475 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027476 host_supported: true,
Patrick Rohrcc377df2022-10-28 09:27:15 -070027477 defaults: [
27478 "cronet_aml_defaults",
27479 ],
27480 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090027481 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
27482 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090027483 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027484 "-DHAVE_DLOPEN=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027485 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +090027486 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090027487 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090027488 "-DNVALGRIND",
27489 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027490 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
27491 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
27492 "-DUSE_CHROMIUM_ICU=1",
27493 "-DU_CHARSET_IS_UTF8=1",
27494 "-DU_ENABLE_DYLOAD=0",
27495 "-DU_ENABLE_RESOURCE_TRACING=0",
27496 "-DU_ENABLE_TRACING=1",
27497 "-DU_I18N_IMPLEMENTATION",
27498 "-DU_STATIC_IMPLEMENTATION",
27499 "-DU_USING_ICU_NAMESPACE=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027500 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027501 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027502 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027503 "-fdata-sections",
27504 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090027505 "-fno-asynchronous-unwind-tables",
27506 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027507 "-fvisibility-inlines-hidden",
27508 "-fvisibility=hidden",
27509 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027510 ],
27511 local_include_dirs: [
27512 "./",
27513 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070027514 "buildtools/third_party/libc++/trunk/include",
27515 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027516 "third_party/icu/source/common/",
27517 "third_party/icu/source/i18n/",
27518 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090027519 ldflags: [
27520 "-Wl,--as-needed",
27521 "-Wl,--gc-sections",
27522 "-Wl,--icf=all",
27523 ],
Patrick Rohr5fae90f2022-11-11 08:22:52 -080027524 rtti: true,
Motomu Utsumif0f47682022-11-17 22:34:39 +090027525 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090027526 android_arm: {
27527 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027528 "-DANDROID",
27529 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27530 "-DHAVE_SYS_UIO_H",
27531 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027532 "-fstack-protector",
27533 ],
27534 },
27535 android_arm64: {
27536 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027537 "-DANDROID",
27538 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27539 "-DHAVE_SYS_UIO_H",
27540 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027541 "-fstack-protector",
27542 "-mno-outline",
27543 "-mno-outline-atomics",
27544 ],
27545 },
Motomu Utsumi65501182022-11-18 15:26:35 +090027546 android_x86: {
27547 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027548 "-DANDROID",
27549 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27550 "-DHAVE_SYS_UIO_H",
27551 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090027552 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090027553 ],
27554 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090027555 android_x86_64: {
27556 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027557 "-DANDROID",
27558 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27559 "-DHAVE_SYS_UIO_H",
27560 "-Oz",
27561 "-fstack-protector",
27562 "-msse3",
27563 ],
27564 },
27565 host: {
27566 cflags: [
27567 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
27568 "-DUSE_AURA=1",
27569 "-DUSE_OZONE=1",
27570 "-DUSE_UDEV",
27571 "-D_FILE_OFFSET_BITS=64",
27572 "-D_LARGEFILE64_SOURCE",
27573 "-D_LARGEFILE_SOURCE",
27574 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027575 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090027576 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090027577 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090027578 },
27579 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070027580}
27581
27582// GN: //third_party/icu:icuuc_private
27583cc_library_static {
27584 name: "cronet_aml_third_party_icu_icuuc_private",
27585 srcs: [
Patrick Rohr971e03c2022-11-10 19:09:46 -080027586 "third_party/icu/source/common/appendable.cpp",
27587 "third_party/icu/source/common/bmpset.cpp",
27588 "third_party/icu/source/common/brkeng.cpp",
27589 "third_party/icu/source/common/brkiter.cpp",
27590 "third_party/icu/source/common/bytesinkutil.cpp",
27591 "third_party/icu/source/common/bytestream.cpp",
27592 "third_party/icu/source/common/bytestrie.cpp",
27593 "third_party/icu/source/common/bytestriebuilder.cpp",
27594 "third_party/icu/source/common/bytestrieiterator.cpp",
27595 "third_party/icu/source/common/caniter.cpp",
27596 "third_party/icu/source/common/characterproperties.cpp",
27597 "third_party/icu/source/common/chariter.cpp",
27598 "third_party/icu/source/common/charstr.cpp",
27599 "third_party/icu/source/common/cmemory.cpp",
27600 "third_party/icu/source/common/cstr.cpp",
27601 "third_party/icu/source/common/cstring.cpp",
27602 "third_party/icu/source/common/cwchar.cpp",
27603 "third_party/icu/source/common/dictbe.cpp",
27604 "third_party/icu/source/common/dictionarydata.cpp",
27605 "third_party/icu/source/common/dtintrv.cpp",
27606 "third_party/icu/source/common/edits.cpp",
27607 "third_party/icu/source/common/emojiprops.cpp",
27608 "third_party/icu/source/common/errorcode.cpp",
27609 "third_party/icu/source/common/filteredbrk.cpp",
27610 "third_party/icu/source/common/filterednormalizer2.cpp",
27611 "third_party/icu/source/common/icudataver.cpp",
27612 "third_party/icu/source/common/icuplug.cpp",
27613 "third_party/icu/source/common/loadednormalizer2impl.cpp",
27614 "third_party/icu/source/common/localebuilder.cpp",
27615 "third_party/icu/source/common/localematcher.cpp",
27616 "third_party/icu/source/common/localeprioritylist.cpp",
27617 "third_party/icu/source/common/locavailable.cpp",
27618 "third_party/icu/source/common/locbased.cpp",
27619 "third_party/icu/source/common/locdispnames.cpp",
27620 "third_party/icu/source/common/locdistance.cpp",
27621 "third_party/icu/source/common/locdspnm.cpp",
27622 "third_party/icu/source/common/locid.cpp",
27623 "third_party/icu/source/common/loclikely.cpp",
27624 "third_party/icu/source/common/loclikelysubtags.cpp",
27625 "third_party/icu/source/common/locmap.cpp",
27626 "third_party/icu/source/common/locresdata.cpp",
27627 "third_party/icu/source/common/locutil.cpp",
27628 "third_party/icu/source/common/lsr.cpp",
27629 "third_party/icu/source/common/lstmbe.cpp",
27630 "third_party/icu/source/common/messagepattern.cpp",
27631 "third_party/icu/source/common/normalizer2.cpp",
27632 "third_party/icu/source/common/normalizer2impl.cpp",
27633 "third_party/icu/source/common/normlzr.cpp",
27634 "third_party/icu/source/common/parsepos.cpp",
27635 "third_party/icu/source/common/patternprops.cpp",
27636 "third_party/icu/source/common/pluralmap.cpp",
27637 "third_party/icu/source/common/propname.cpp",
27638 "third_party/icu/source/common/propsvec.cpp",
27639 "third_party/icu/source/common/punycode.cpp",
27640 "third_party/icu/source/common/putil.cpp",
27641 "third_party/icu/source/common/rbbi.cpp",
27642 "third_party/icu/source/common/rbbi_cache.cpp",
27643 "third_party/icu/source/common/rbbidata.cpp",
27644 "third_party/icu/source/common/rbbinode.cpp",
27645 "third_party/icu/source/common/rbbirb.cpp",
27646 "third_party/icu/source/common/rbbiscan.cpp",
27647 "third_party/icu/source/common/rbbisetb.cpp",
27648 "third_party/icu/source/common/rbbistbl.cpp",
27649 "third_party/icu/source/common/rbbitblb.cpp",
27650 "third_party/icu/source/common/resbund.cpp",
27651 "third_party/icu/source/common/resbund_cnv.cpp",
27652 "third_party/icu/source/common/resource.cpp",
27653 "third_party/icu/source/common/restrace.cpp",
27654 "third_party/icu/source/common/ruleiter.cpp",
27655 "third_party/icu/source/common/schriter.cpp",
27656 "third_party/icu/source/common/serv.cpp",
27657 "third_party/icu/source/common/servlk.cpp",
27658 "third_party/icu/source/common/servlkf.cpp",
27659 "third_party/icu/source/common/servls.cpp",
27660 "third_party/icu/source/common/servnotf.cpp",
27661 "third_party/icu/source/common/servrbf.cpp",
27662 "third_party/icu/source/common/servslkf.cpp",
27663 "third_party/icu/source/common/sharedobject.cpp",
27664 "third_party/icu/source/common/simpleformatter.cpp",
27665 "third_party/icu/source/common/static_unicode_sets.cpp",
27666 "third_party/icu/source/common/stringpiece.cpp",
27667 "third_party/icu/source/common/stringtriebuilder.cpp",
27668 "third_party/icu/source/common/uarrsort.cpp",
27669 "third_party/icu/source/common/ubidi.cpp",
27670 "third_party/icu/source/common/ubidi_props.cpp",
27671 "third_party/icu/source/common/ubidiln.cpp",
27672 "third_party/icu/source/common/ubiditransform.cpp",
27673 "third_party/icu/source/common/ubidiwrt.cpp",
27674 "third_party/icu/source/common/ubrk.cpp",
27675 "third_party/icu/source/common/ucase.cpp",
27676 "third_party/icu/source/common/ucasemap.cpp",
27677 "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp",
27678 "third_party/icu/source/common/ucat.cpp",
27679 "third_party/icu/source/common/uchar.cpp",
27680 "third_party/icu/source/common/ucharstrie.cpp",
27681 "third_party/icu/source/common/ucharstriebuilder.cpp",
27682 "third_party/icu/source/common/ucharstrieiterator.cpp",
27683 "third_party/icu/source/common/uchriter.cpp",
27684 "third_party/icu/source/common/ucln_cmn.cpp",
27685 "third_party/icu/source/common/ucmndata.cpp",
27686 "third_party/icu/source/common/ucnv.cpp",
27687 "third_party/icu/source/common/ucnv2022.cpp",
27688 "third_party/icu/source/common/ucnv_bld.cpp",
27689 "third_party/icu/source/common/ucnv_cb.cpp",
27690 "third_party/icu/source/common/ucnv_cnv.cpp",
27691 "third_party/icu/source/common/ucnv_ct.cpp",
27692 "third_party/icu/source/common/ucnv_err.cpp",
27693 "third_party/icu/source/common/ucnv_ext.cpp",
27694 "third_party/icu/source/common/ucnv_io.cpp",
27695 "third_party/icu/source/common/ucnv_lmb.cpp",
27696 "third_party/icu/source/common/ucnv_set.cpp",
27697 "third_party/icu/source/common/ucnv_u16.cpp",
27698 "third_party/icu/source/common/ucnv_u32.cpp",
27699 "third_party/icu/source/common/ucnv_u7.cpp",
27700 "third_party/icu/source/common/ucnv_u8.cpp",
27701 "third_party/icu/source/common/ucnvbocu.cpp",
27702 "third_party/icu/source/common/ucnvdisp.cpp",
27703 "third_party/icu/source/common/ucnvhz.cpp",
27704 "third_party/icu/source/common/ucnvisci.cpp",
27705 "third_party/icu/source/common/ucnvlat1.cpp",
27706 "third_party/icu/source/common/ucnvmbcs.cpp",
27707 "third_party/icu/source/common/ucnvscsu.cpp",
27708 "third_party/icu/source/common/ucnvsel.cpp",
27709 "third_party/icu/source/common/ucol_swp.cpp",
27710 "third_party/icu/source/common/ucptrie.cpp",
27711 "third_party/icu/source/common/ucurr.cpp",
27712 "third_party/icu/source/common/udata.cpp",
27713 "third_party/icu/source/common/udatamem.cpp",
27714 "third_party/icu/source/common/udataswp.cpp",
27715 "third_party/icu/source/common/uenum.cpp",
27716 "third_party/icu/source/common/uhash.cpp",
27717 "third_party/icu/source/common/uhash_us.cpp",
27718 "third_party/icu/source/common/uidna.cpp",
27719 "third_party/icu/source/common/uinit.cpp",
27720 "third_party/icu/source/common/uinvchar.cpp",
27721 "third_party/icu/source/common/uiter.cpp",
27722 "third_party/icu/source/common/ulist.cpp",
27723 "third_party/icu/source/common/uloc.cpp",
27724 "third_party/icu/source/common/uloc_keytype.cpp",
27725 "third_party/icu/source/common/uloc_tag.cpp",
27726 "third_party/icu/source/common/umapfile.cpp",
27727 "third_party/icu/source/common/umath.cpp",
27728 "third_party/icu/source/common/umutablecptrie.cpp",
27729 "third_party/icu/source/common/umutex.cpp",
27730 "third_party/icu/source/common/unames.cpp",
27731 "third_party/icu/source/common/unifiedcache.cpp",
27732 "third_party/icu/source/common/unifilt.cpp",
27733 "third_party/icu/source/common/unifunct.cpp",
27734 "third_party/icu/source/common/uniset.cpp",
27735 "third_party/icu/source/common/uniset_closure.cpp",
27736 "third_party/icu/source/common/uniset_props.cpp",
27737 "third_party/icu/source/common/unisetspan.cpp",
27738 "third_party/icu/source/common/unistr.cpp",
27739 "third_party/icu/source/common/unistr_case.cpp",
27740 "third_party/icu/source/common/unistr_case_locale.cpp",
27741 "third_party/icu/source/common/unistr_cnv.cpp",
27742 "third_party/icu/source/common/unistr_props.cpp",
27743 "third_party/icu/source/common/unistr_titlecase_brkiter.cpp",
27744 "third_party/icu/source/common/unorm.cpp",
27745 "third_party/icu/source/common/unormcmp.cpp",
27746 "third_party/icu/source/common/uobject.cpp",
27747 "third_party/icu/source/common/uprops.cpp",
27748 "third_party/icu/source/common/ures_cnv.cpp",
27749 "third_party/icu/source/common/uresbund.cpp",
27750 "third_party/icu/source/common/uresdata.cpp",
27751 "third_party/icu/source/common/usc_impl.cpp",
27752 "third_party/icu/source/common/uscript.cpp",
27753 "third_party/icu/source/common/uscript_props.cpp",
27754 "third_party/icu/source/common/uset.cpp",
27755 "third_party/icu/source/common/uset_props.cpp",
27756 "third_party/icu/source/common/usetiter.cpp",
27757 "third_party/icu/source/common/ushape.cpp",
27758 "third_party/icu/source/common/usprep.cpp",
27759 "third_party/icu/source/common/ustack.cpp",
27760 "third_party/icu/source/common/ustr_cnv.cpp",
27761 "third_party/icu/source/common/ustr_titlecase_brkiter.cpp",
27762 "third_party/icu/source/common/ustr_wcs.cpp",
27763 "third_party/icu/source/common/ustrcase.cpp",
27764 "third_party/icu/source/common/ustrcase_locale.cpp",
27765 "third_party/icu/source/common/ustrenum.cpp",
27766 "third_party/icu/source/common/ustrfmt.cpp",
27767 "third_party/icu/source/common/ustring.cpp",
27768 "third_party/icu/source/common/ustrtrns.cpp",
27769 "third_party/icu/source/common/utext.cpp",
27770 "third_party/icu/source/common/utf_impl.cpp",
27771 "third_party/icu/source/common/util.cpp",
27772 "third_party/icu/source/common/util_props.cpp",
27773 "third_party/icu/source/common/utrace.cpp",
27774 "third_party/icu/source/common/utrie.cpp",
27775 "third_party/icu/source/common/utrie2.cpp",
27776 "third_party/icu/source/common/utrie2_builder.cpp",
27777 "third_party/icu/source/common/utrie_swap.cpp",
27778 "third_party/icu/source/common/uts46.cpp",
27779 "third_party/icu/source/common/utypes.cpp",
27780 "third_party/icu/source/common/uvector.cpp",
27781 "third_party/icu/source/common/uvectr32.cpp",
27782 "third_party/icu/source/common/uvectr64.cpp",
27783 "third_party/icu/source/common/wintz.cpp",
27784 "third_party/icu/source/stubdata/stubdata.cpp",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027785 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000027786 defaults: [
27787 "cronet_aml_defaults",
27788 ],
27789 cflags: [
27790 "-DANDROID",
27791 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27792 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
27793 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
27794 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
27795 "-DHAVE_DLOPEN=0",
27796 "-DHAVE_SYS_UIO_H",
27797 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
27798 "-DNDEBUG",
27799 "-DNO_UNWIND_TABLES",
27800 "-DNVALGRIND",
27801 "-DOFFICIAL_BUILD",
27802 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
27803 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
27804 "-DUSE_CHROMIUM_ICU=1",
27805 "-DU_CHARSET_IS_UTF8=1",
27806 "-DU_COMMON_IMPLEMENTATION",
27807 "-DU_ENABLE_DYLOAD=0",
27808 "-DU_ENABLE_RESOURCE_TRACING=0",
27809 "-DU_ENABLE_TRACING=1",
27810 "-DU_ICUDATAENTRY_IN_COMMON",
27811 "-DU_STATIC_IMPLEMENTATION",
27812 "-DU_USING_ICU_NAMESPACE=0",
27813 "-D_GNU_SOURCE",
27814 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
27815 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
27816 "-Oz",
27817 "-fdata-sections",
27818 "-ffunction-sections",
27819 "-fno-asynchronous-unwind-tables",
27820 "-fno-unwind-tables",
27821 "-fvisibility-inlines-hidden",
27822 "-fvisibility=hidden",
27823 "-g1",
27824 ],
27825 local_include_dirs: [
27826 "./",
27827 "buildtools/third_party/libc++/",
27828 "buildtools/third_party/libc++/trunk/include",
27829 "buildtools/third_party/libc++abi/trunk/include",
27830 "third_party/icu/source/common/",
27831 "third_party/icu/source/i18n/",
27832 ],
27833 cpp_std: "c++17",
27834 ldflags: [
27835 "-Wl,--as-needed",
27836 "-Wl,--gc-sections",
27837 "-Wl,--icf=all",
27838 ],
27839 rtti: true,
27840 target: {
27841 android_arm: {
27842 cflags: [
27843 "-fstack-protector",
27844 ],
27845 },
27846 android_arm64: {
27847 cflags: [
27848 "-fstack-protector",
27849 "-mno-outline",
27850 "-mno-outline-atomics",
27851 ],
27852 },
27853 android_x86: {
27854 cflags: [
27855 "-msse3",
27856 ],
27857 },
27858 android_x86_64: {
27859 cflags: [
27860 "-fstack-protector",
27861 "-msse3",
27862 ],
27863 },
27864 },
27865}
27866
27867// GN: //third_party/icu:icuuc_private__testing
27868cc_library_static {
27869 name: "cronet_aml_third_party_icu_icuuc_private__testing",
27870 srcs: [
27871 "third_party/icu/source/common/appendable.cpp",
27872 "third_party/icu/source/common/bmpset.cpp",
27873 "third_party/icu/source/common/brkeng.cpp",
27874 "third_party/icu/source/common/brkiter.cpp",
27875 "third_party/icu/source/common/bytesinkutil.cpp",
27876 "third_party/icu/source/common/bytestream.cpp",
27877 "third_party/icu/source/common/bytestrie.cpp",
27878 "third_party/icu/source/common/bytestriebuilder.cpp",
27879 "third_party/icu/source/common/bytestrieiterator.cpp",
27880 "third_party/icu/source/common/caniter.cpp",
27881 "third_party/icu/source/common/characterproperties.cpp",
27882 "third_party/icu/source/common/chariter.cpp",
27883 "third_party/icu/source/common/charstr.cpp",
27884 "third_party/icu/source/common/cmemory.cpp",
27885 "third_party/icu/source/common/cstr.cpp",
27886 "third_party/icu/source/common/cstring.cpp",
27887 "third_party/icu/source/common/cwchar.cpp",
27888 "third_party/icu/source/common/dictbe.cpp",
27889 "third_party/icu/source/common/dictionarydata.cpp",
27890 "third_party/icu/source/common/dtintrv.cpp",
27891 "third_party/icu/source/common/edits.cpp",
27892 "third_party/icu/source/common/emojiprops.cpp",
27893 "third_party/icu/source/common/errorcode.cpp",
27894 "third_party/icu/source/common/filteredbrk.cpp",
27895 "third_party/icu/source/common/filterednormalizer2.cpp",
27896 "third_party/icu/source/common/icudataver.cpp",
27897 "third_party/icu/source/common/icuplug.cpp",
27898 "third_party/icu/source/common/loadednormalizer2impl.cpp",
27899 "third_party/icu/source/common/localebuilder.cpp",
27900 "third_party/icu/source/common/localematcher.cpp",
27901 "third_party/icu/source/common/localeprioritylist.cpp",
27902 "third_party/icu/source/common/locavailable.cpp",
27903 "third_party/icu/source/common/locbased.cpp",
27904 "third_party/icu/source/common/locdispnames.cpp",
27905 "third_party/icu/source/common/locdistance.cpp",
27906 "third_party/icu/source/common/locdspnm.cpp",
27907 "third_party/icu/source/common/locid.cpp",
27908 "third_party/icu/source/common/loclikely.cpp",
27909 "third_party/icu/source/common/loclikelysubtags.cpp",
27910 "third_party/icu/source/common/locmap.cpp",
27911 "third_party/icu/source/common/locresdata.cpp",
27912 "third_party/icu/source/common/locutil.cpp",
27913 "third_party/icu/source/common/lsr.cpp",
27914 "third_party/icu/source/common/lstmbe.cpp",
27915 "third_party/icu/source/common/messagepattern.cpp",
27916 "third_party/icu/source/common/normalizer2.cpp",
27917 "third_party/icu/source/common/normalizer2impl.cpp",
27918 "third_party/icu/source/common/normlzr.cpp",
27919 "third_party/icu/source/common/parsepos.cpp",
27920 "third_party/icu/source/common/patternprops.cpp",
27921 "third_party/icu/source/common/pluralmap.cpp",
27922 "third_party/icu/source/common/propname.cpp",
27923 "third_party/icu/source/common/propsvec.cpp",
27924 "third_party/icu/source/common/punycode.cpp",
27925 "third_party/icu/source/common/putil.cpp",
27926 "third_party/icu/source/common/rbbi.cpp",
27927 "third_party/icu/source/common/rbbi_cache.cpp",
27928 "third_party/icu/source/common/rbbidata.cpp",
27929 "third_party/icu/source/common/rbbinode.cpp",
27930 "third_party/icu/source/common/rbbirb.cpp",
27931 "third_party/icu/source/common/rbbiscan.cpp",
27932 "third_party/icu/source/common/rbbisetb.cpp",
27933 "third_party/icu/source/common/rbbistbl.cpp",
27934 "third_party/icu/source/common/rbbitblb.cpp",
27935 "third_party/icu/source/common/resbund.cpp",
27936 "third_party/icu/source/common/resbund_cnv.cpp",
27937 "third_party/icu/source/common/resource.cpp",
27938 "third_party/icu/source/common/restrace.cpp",
27939 "third_party/icu/source/common/ruleiter.cpp",
27940 "third_party/icu/source/common/schriter.cpp",
27941 "third_party/icu/source/common/serv.cpp",
27942 "third_party/icu/source/common/servlk.cpp",
27943 "third_party/icu/source/common/servlkf.cpp",
27944 "third_party/icu/source/common/servls.cpp",
27945 "third_party/icu/source/common/servnotf.cpp",
27946 "third_party/icu/source/common/servrbf.cpp",
27947 "third_party/icu/source/common/servslkf.cpp",
27948 "third_party/icu/source/common/sharedobject.cpp",
27949 "third_party/icu/source/common/simpleformatter.cpp",
27950 "third_party/icu/source/common/static_unicode_sets.cpp",
27951 "third_party/icu/source/common/stringpiece.cpp",
27952 "third_party/icu/source/common/stringtriebuilder.cpp",
27953 "third_party/icu/source/common/uarrsort.cpp",
27954 "third_party/icu/source/common/ubidi.cpp",
27955 "third_party/icu/source/common/ubidi_props.cpp",
27956 "third_party/icu/source/common/ubidiln.cpp",
27957 "third_party/icu/source/common/ubiditransform.cpp",
27958 "third_party/icu/source/common/ubidiwrt.cpp",
27959 "third_party/icu/source/common/ubrk.cpp",
27960 "third_party/icu/source/common/ucase.cpp",
27961 "third_party/icu/source/common/ucasemap.cpp",
27962 "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp",
27963 "third_party/icu/source/common/ucat.cpp",
27964 "third_party/icu/source/common/uchar.cpp",
27965 "third_party/icu/source/common/ucharstrie.cpp",
27966 "third_party/icu/source/common/ucharstriebuilder.cpp",
27967 "third_party/icu/source/common/ucharstrieiterator.cpp",
27968 "third_party/icu/source/common/uchriter.cpp",
27969 "third_party/icu/source/common/ucln_cmn.cpp",
27970 "third_party/icu/source/common/ucmndata.cpp",
27971 "third_party/icu/source/common/ucnv.cpp",
27972 "third_party/icu/source/common/ucnv2022.cpp",
27973 "third_party/icu/source/common/ucnv_bld.cpp",
27974 "third_party/icu/source/common/ucnv_cb.cpp",
27975 "third_party/icu/source/common/ucnv_cnv.cpp",
27976 "third_party/icu/source/common/ucnv_ct.cpp",
27977 "third_party/icu/source/common/ucnv_err.cpp",
27978 "third_party/icu/source/common/ucnv_ext.cpp",
27979 "third_party/icu/source/common/ucnv_io.cpp",
27980 "third_party/icu/source/common/ucnv_lmb.cpp",
27981 "third_party/icu/source/common/ucnv_set.cpp",
27982 "third_party/icu/source/common/ucnv_u16.cpp",
27983 "third_party/icu/source/common/ucnv_u32.cpp",
27984 "third_party/icu/source/common/ucnv_u7.cpp",
27985 "third_party/icu/source/common/ucnv_u8.cpp",
27986 "third_party/icu/source/common/ucnvbocu.cpp",
27987 "third_party/icu/source/common/ucnvdisp.cpp",
27988 "third_party/icu/source/common/ucnvhz.cpp",
27989 "third_party/icu/source/common/ucnvisci.cpp",
27990 "third_party/icu/source/common/ucnvlat1.cpp",
27991 "third_party/icu/source/common/ucnvmbcs.cpp",
27992 "third_party/icu/source/common/ucnvscsu.cpp",
27993 "third_party/icu/source/common/ucnvsel.cpp",
27994 "third_party/icu/source/common/ucol_swp.cpp",
27995 "third_party/icu/source/common/ucptrie.cpp",
27996 "third_party/icu/source/common/ucurr.cpp",
27997 "third_party/icu/source/common/udata.cpp",
27998 "third_party/icu/source/common/udatamem.cpp",
27999 "third_party/icu/source/common/udataswp.cpp",
28000 "third_party/icu/source/common/uenum.cpp",
28001 "third_party/icu/source/common/uhash.cpp",
28002 "third_party/icu/source/common/uhash_us.cpp",
28003 "third_party/icu/source/common/uidna.cpp",
28004 "third_party/icu/source/common/uinit.cpp",
28005 "third_party/icu/source/common/uinvchar.cpp",
28006 "third_party/icu/source/common/uiter.cpp",
28007 "third_party/icu/source/common/ulist.cpp",
28008 "third_party/icu/source/common/uloc.cpp",
28009 "third_party/icu/source/common/uloc_keytype.cpp",
28010 "third_party/icu/source/common/uloc_tag.cpp",
28011 "third_party/icu/source/common/umapfile.cpp",
28012 "third_party/icu/source/common/umath.cpp",
28013 "third_party/icu/source/common/umutablecptrie.cpp",
28014 "third_party/icu/source/common/umutex.cpp",
28015 "third_party/icu/source/common/unames.cpp",
28016 "third_party/icu/source/common/unifiedcache.cpp",
28017 "third_party/icu/source/common/unifilt.cpp",
28018 "third_party/icu/source/common/unifunct.cpp",
28019 "third_party/icu/source/common/uniset.cpp",
28020 "third_party/icu/source/common/uniset_closure.cpp",
28021 "third_party/icu/source/common/uniset_props.cpp",
28022 "third_party/icu/source/common/unisetspan.cpp",
28023 "third_party/icu/source/common/unistr.cpp",
28024 "third_party/icu/source/common/unistr_case.cpp",
28025 "third_party/icu/source/common/unistr_case_locale.cpp",
28026 "third_party/icu/source/common/unistr_cnv.cpp",
28027 "third_party/icu/source/common/unistr_props.cpp",
28028 "third_party/icu/source/common/unistr_titlecase_brkiter.cpp",
28029 "third_party/icu/source/common/unorm.cpp",
28030 "third_party/icu/source/common/unormcmp.cpp",
28031 "third_party/icu/source/common/uobject.cpp",
28032 "third_party/icu/source/common/uprops.cpp",
28033 "third_party/icu/source/common/ures_cnv.cpp",
28034 "third_party/icu/source/common/uresbund.cpp",
28035 "third_party/icu/source/common/uresdata.cpp",
28036 "third_party/icu/source/common/usc_impl.cpp",
28037 "third_party/icu/source/common/uscript.cpp",
28038 "third_party/icu/source/common/uscript_props.cpp",
28039 "third_party/icu/source/common/uset.cpp",
28040 "third_party/icu/source/common/uset_props.cpp",
28041 "third_party/icu/source/common/usetiter.cpp",
28042 "third_party/icu/source/common/ushape.cpp",
28043 "third_party/icu/source/common/usprep.cpp",
28044 "third_party/icu/source/common/ustack.cpp",
28045 "third_party/icu/source/common/ustr_cnv.cpp",
28046 "third_party/icu/source/common/ustr_titlecase_brkiter.cpp",
28047 "third_party/icu/source/common/ustr_wcs.cpp",
28048 "third_party/icu/source/common/ustrcase.cpp",
28049 "third_party/icu/source/common/ustrcase_locale.cpp",
28050 "third_party/icu/source/common/ustrenum.cpp",
28051 "third_party/icu/source/common/ustrfmt.cpp",
28052 "third_party/icu/source/common/ustring.cpp",
28053 "third_party/icu/source/common/ustrtrns.cpp",
28054 "third_party/icu/source/common/utext.cpp",
28055 "third_party/icu/source/common/utf_impl.cpp",
28056 "third_party/icu/source/common/util.cpp",
28057 "third_party/icu/source/common/util_props.cpp",
28058 "third_party/icu/source/common/utrace.cpp",
28059 "third_party/icu/source/common/utrie.cpp",
28060 "third_party/icu/source/common/utrie2.cpp",
28061 "third_party/icu/source/common/utrie2_builder.cpp",
28062 "third_party/icu/source/common/utrie_swap.cpp",
28063 "third_party/icu/source/common/uts46.cpp",
28064 "third_party/icu/source/common/utypes.cpp",
28065 "third_party/icu/source/common/uvector.cpp",
28066 "third_party/icu/source/common/uvectr32.cpp",
28067 "third_party/icu/source/common/uvectr64.cpp",
28068 "third_party/icu/source/common/wintz.cpp",
28069 "third_party/icu/source/stubdata/stubdata.cpp",
28070 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028071 host_supported: true,
Patrick Rohrcc377df2022-10-28 09:27:15 -070028072 defaults: [
28073 "cronet_aml_defaults",
28074 ],
28075 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090028076 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28077 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028078 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028079 "-DHAVE_DLOPEN=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028080 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028081 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090028082 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028083 "-DNVALGRIND",
28084 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028085 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
28086 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
28087 "-DUSE_CHROMIUM_ICU=1",
28088 "-DU_CHARSET_IS_UTF8=1",
28089 "-DU_COMMON_IMPLEMENTATION",
28090 "-DU_ENABLE_DYLOAD=0",
28091 "-DU_ENABLE_RESOURCE_TRACING=0",
28092 "-DU_ENABLE_TRACING=1",
28093 "-DU_ICUDATAENTRY_IN_COMMON",
28094 "-DU_STATIC_IMPLEMENTATION",
28095 "-DU_USING_ICU_NAMESPACE=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028096 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028097 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028098 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090028099 "-fdata-sections",
28100 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090028101 "-fno-asynchronous-unwind-tables",
28102 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090028103 "-fvisibility-inlines-hidden",
28104 "-fvisibility=hidden",
28105 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028106 ],
28107 local_include_dirs: [
28108 "./",
28109 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070028110 "buildtools/third_party/libc++/trunk/include",
28111 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028112 "third_party/icu/source/common/",
28113 "third_party/icu/source/i18n/",
28114 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090028115 ldflags: [
28116 "-Wl,--as-needed",
28117 "-Wl,--gc-sections",
28118 "-Wl,--icf=all",
28119 ],
Patrick Rohr5fae90f2022-11-11 08:22:52 -080028120 rtti: true,
Motomu Utsumif0f47682022-11-17 22:34:39 +090028121 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090028122 android_arm: {
28123 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028124 "-DANDROID",
28125 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28126 "-DHAVE_SYS_UIO_H",
28127 "-Oz",
28128 "-fstack-protector",
28129 ],
28130 },
28131 android_arm64: {
28132 cflags: [
28133 "-DANDROID",
28134 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28135 "-DHAVE_SYS_UIO_H",
28136 "-Oz",
28137 "-fstack-protector",
28138 "-mno-outline",
28139 "-mno-outline-atomics",
28140 ],
28141 },
28142 android_x86: {
28143 cflags: [
28144 "-DANDROID",
28145 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28146 "-DHAVE_SYS_UIO_H",
28147 "-Oz",
28148 "-msse3",
28149 ],
28150 },
28151 android_x86_64: {
28152 cflags: [
28153 "-DANDROID",
28154 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28155 "-DHAVE_SYS_UIO_H",
28156 "-Oz",
28157 "-fstack-protector",
28158 "-msse3",
28159 ],
28160 },
28161 host: {
28162 cflags: [
28163 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
28164 "-DUSE_AURA=1",
28165 "-DUSE_OZONE=1",
28166 "-DUSE_UDEV",
28167 "-D_FILE_OFFSET_BITS=64",
28168 "-D_LARGEFILE64_SOURCE",
28169 "-D_LARGEFILE_SOURCE",
28170 "-O2",
28171 "-fstack-protector",
28172 "-msse3",
28173 ],
28174 },
28175 },
28176}
28177
28178// GN: //third_party/libevent:libevent
28179cc_library_static {
28180 name: "cronet_aml_third_party_libevent_libevent",
28181 srcs: [
28182 "third_party/libevent/buffer.c",
28183 "third_party/libevent/epoll.c",
28184 "third_party/libevent/evbuffer.c",
28185 "third_party/libevent/evdns.c",
28186 "third_party/libevent/event.c",
28187 "third_party/libevent/event_tagging.c",
28188 "third_party/libevent/evrpc.c",
28189 "third_party/libevent/evutil.c",
28190 "third_party/libevent/http.c",
28191 "third_party/libevent/log.c",
28192 "third_party/libevent/poll.c",
28193 "third_party/libevent/select.c",
28194 "third_party/libevent/signal.c",
28195 "third_party/libevent/strlcpy.c",
28196 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028197 defaults: [
28198 "cronet_aml_defaults",
28199 ],
28200 cflags: [
28201 "-DANDROID",
28202 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28203 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28204 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28205 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28206 "-DHAVE_CONFIG_H",
28207 "-DHAVE_SYS_UIO_H",
28208 "-DNDEBUG",
28209 "-DNO_UNWIND_TABLES",
28210 "-DNVALGRIND",
28211 "-DOFFICIAL_BUILD",
28212 "-D_GNU_SOURCE",
28213 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28214 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28215 "-O2",
28216 "-fdata-sections",
28217 "-ffunction-sections",
28218 "-fno-asynchronous-unwind-tables",
28219 "-fno-unwind-tables",
28220 "-fvisibility-inlines-hidden",
28221 "-fvisibility=hidden",
28222 "-g1",
28223 ],
28224 local_include_dirs: [
28225 "./",
28226 "buildtools/third_party/libc++/",
28227 "buildtools/third_party/libc++/trunk/include",
28228 "buildtools/third_party/libc++abi/trunk/include",
28229 "third_party/libevent/android/",
28230 ],
28231 cpp_std: "c++17",
28232 ldflags: [
28233 "-Wl,--as-needed",
28234 "-Wl,--gc-sections",
28235 "-Wl,--icf=all",
28236 ],
28237 target: {
28238 android_arm: {
28239 cflags: [
28240 "-fstack-protector",
28241 ],
28242 },
28243 android_arm64: {
28244 cflags: [
28245 "-fstack-protector",
28246 "-mno-outline",
28247 "-mno-outline-atomics",
28248 ],
28249 },
28250 android_x86: {
28251 cflags: [
28252 "-msse3",
28253 ],
28254 },
28255 android_x86_64: {
28256 cflags: [
28257 "-fstack-protector",
28258 "-msse3",
28259 ],
28260 },
28261 },
28262}
28263
28264// GN: //third_party/libevent:libevent__testing
28265cc_library_static {
28266 name: "cronet_aml_third_party_libevent_libevent__testing",
28267 srcs: [
28268 "third_party/libevent/buffer.c",
28269 "third_party/libevent/epoll.c",
28270 "third_party/libevent/evbuffer.c",
28271 "third_party/libevent/evdns.c",
28272 "third_party/libevent/event.c",
28273 "third_party/libevent/event_tagging.c",
28274 "third_party/libevent/evrpc.c",
28275 "third_party/libevent/evutil.c",
28276 "third_party/libevent/http.c",
28277 "third_party/libevent/log.c",
28278 "third_party/libevent/poll.c",
28279 "third_party/libevent/select.c",
28280 "third_party/libevent/signal.c",
28281 "third_party/libevent/strlcpy.c",
28282 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028283 host_supported: true,
28284 defaults: [
28285 "cronet_aml_defaults",
28286 ],
28287 cflags: [
28288 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28289 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28290 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28291 "-DHAVE_CONFIG_H",
28292 "-DNDEBUG",
28293 "-DNO_UNWIND_TABLES",
28294 "-DNVALGRIND",
28295 "-DOFFICIAL_BUILD",
28296 "-D_GNU_SOURCE",
28297 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28298 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28299 "-O2",
28300 "-fdata-sections",
28301 "-ffunction-sections",
28302 "-fno-asynchronous-unwind-tables",
28303 "-fno-unwind-tables",
28304 "-fvisibility-inlines-hidden",
28305 "-fvisibility=hidden",
28306 "-g1",
28307 ],
28308 local_include_dirs: [
28309 "./",
28310 "buildtools/third_party/libc++/",
28311 "buildtools/third_party/libc++/trunk/include",
28312 "buildtools/third_party/libc++abi/trunk/include",
28313 ],
28314 ldflags: [
28315 "-Wl,--as-needed",
28316 "-Wl,--gc-sections",
28317 "-Wl,--icf=all",
28318 ],
28319 target: {
28320 android_arm: {
28321 cflags: [
28322 "-DANDROID",
28323 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28324 "-DHAVE_SYS_UIO_H",
28325 "-fstack-protector",
28326 ],
28327 local_include_dirs: [
28328 "third_party/libevent/android/",
28329 ],
28330 },
28331 android_arm64: {
28332 cflags: [
28333 "-DANDROID",
28334 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28335 "-DHAVE_SYS_UIO_H",
28336 "-fstack-protector",
28337 "-mno-outline",
28338 "-mno-outline-atomics",
28339 ],
28340 local_include_dirs: [
28341 "third_party/libevent/android/",
28342 ],
28343 },
28344 android_x86: {
28345 cflags: [
28346 "-DANDROID",
28347 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28348 "-DHAVE_SYS_UIO_H",
28349 "-msse3",
28350 ],
28351 local_include_dirs: [
28352 "third_party/libevent/android/",
28353 ],
28354 },
28355 android_x86_64: {
28356 cflags: [
28357 "-DANDROID",
28358 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28359 "-DHAVE_SYS_UIO_H",
28360 "-fstack-protector",
28361 "-msse3",
28362 ],
28363 local_include_dirs: [
28364 "third_party/libevent/android/",
28365 ],
28366 },
28367 host: {
28368 cflags: [
28369 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
28370 "-DUSE_AURA=1",
28371 "-DUSE_OZONE=1",
28372 "-DUSE_UDEV",
28373 "-D_FILE_OFFSET_BITS=64",
28374 "-D_LARGEFILE64_SOURCE",
28375 "-D_LARGEFILE_SOURCE",
28376 "-fstack-protector",
28377 "-msse3",
28378 ],
28379 local_include_dirs: [
28380 "third_party/libevent/linux/",
28381 ],
28382 },
28383 },
28384}
28385
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028386// GN: //third_party/libxml:libxml__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028387cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028388 name: "cronet_aml_third_party_libxml_libxml__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028389 srcs: [
28390 "third_party/libxml/src/HTMLparser.c",
28391 "third_party/libxml/src/HTMLtree.c",
28392 "third_party/libxml/src/SAX2.c",
28393 "third_party/libxml/src/buf.c",
28394 "third_party/libxml/src/chvalid.c",
28395 "third_party/libxml/src/dict.c",
28396 "third_party/libxml/src/encoding.c",
28397 "third_party/libxml/src/entities.c",
28398 "third_party/libxml/src/error.c",
28399 "third_party/libxml/src/globals.c",
28400 "third_party/libxml/src/hash.c",
28401 "third_party/libxml/src/list.c",
28402 "third_party/libxml/src/parser.c",
28403 "third_party/libxml/src/parserInternals.c",
28404 "third_party/libxml/src/pattern.c",
28405 "third_party/libxml/src/threads.c",
28406 "third_party/libxml/src/tree.c",
28407 "third_party/libxml/src/uri.c",
28408 "third_party/libxml/src/valid.c",
28409 "third_party/libxml/src/xmlIO.c",
28410 "third_party/libxml/src/xmlmemory.c",
28411 "third_party/libxml/src/xmlreader.c",
28412 "third_party/libxml/src/xmlsave.c",
28413 "third_party/libxml/src/xmlstring.c",
28414 "third_party/libxml/src/xmlunicode.c",
28415 "third_party/libxml/src/xmlwriter.c",
28416 "third_party/libxml/src/xpath.c",
28417 ],
28418 shared_libs: [
28419 "libz",
28420 ],
28421 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028422 "cronet_aml_third_party_icu_icuuc_private__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028423 ],
28424 defaults: [
28425 "cronet_aml_defaults",
28426 ],
28427 cflags: [
28428 "-DANDROID",
28429 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28430 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28431 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28432 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28433 "-DHAVE_SYS_UIO_H",
28434 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
28435 "-DNDEBUG",
28436 "-DNO_UNWIND_TABLES",
28437 "-DNVALGRIND",
28438 "-DOFFICIAL_BUILD",
28439 "-DUSE_CHROMIUM_ICU=1",
28440 "-DU_ENABLE_DYLOAD=0",
28441 "-DU_ENABLE_RESOURCE_TRACING=0",
28442 "-DU_ENABLE_TRACING=1",
28443 "-DU_STATIC_IMPLEMENTATION",
28444 "-DU_USING_ICU_NAMESPACE=0",
28445 "-D_GNU_SOURCE",
28446 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28447 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28448 "-D_REENTRANT",
28449 "-Oz",
28450 "-fdata-sections",
28451 "-ffunction-sections",
28452 "-fno-asynchronous-unwind-tables",
28453 "-fno-unwind-tables",
28454 "-fvisibility-inlines-hidden",
28455 "-fvisibility=hidden",
28456 "-g1",
28457 ],
28458 local_include_dirs: [
28459 "./",
28460 "buildtools/third_party/libc++/",
28461 "buildtools/third_party/libc++/trunk/include",
28462 "buildtools/third_party/libc++abi/trunk/include",
28463 "third_party/icu/source/common/",
28464 "third_party/icu/source/i18n/",
28465 "third_party/libxml/linux/",
28466 "third_party/libxml/linux/include/",
28467 "third_party/libxml/src/include/",
28468 ],
28469 cpp_std: "c++17",
28470 ldflags: [
28471 "-Wl,--as-needed",
28472 "-Wl,--gc-sections",
28473 "-Wl,--icf=all",
28474 ],
28475 target: {
28476 android_arm: {
28477 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090028478 "-fstack-protector",
28479 ],
28480 },
28481 android_arm64: {
28482 cflags: [
28483 "-fstack-protector",
28484 "-mno-outline",
28485 "-mno-outline-atomics",
28486 ],
28487 },
Motomu Utsumi65501182022-11-18 15:26:35 +090028488 android_x86: {
28489 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090028490 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090028491 ],
28492 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090028493 android_x86_64: {
28494 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090028495 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090028496 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090028497 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090028498 },
28499 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070028500}
28501
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028502// GN: //third_party/libxml:libxml_utils__testing
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028503cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028504 name: "cronet_aml_third_party_libxml_libxml_utils__testing",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028505 srcs: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028506 "third_party/libxml/chromium/libxml_utils.cc",
28507 ],
28508 shared_libs: [
28509 "libz",
28510 ],
28511 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028512 "cronet_aml_third_party_icu_icuuc_private__testing",
28513 "cronet_aml_third_party_libxml_libxml__testing",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028514 ],
28515 defaults: [
28516 "cronet_aml_defaults",
28517 ],
28518 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080028519 "-DANDROID",
28520 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090028521 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28522 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028523 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080028524 "-DHAVE_SYS_UIO_H",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028525 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028526 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090028527 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028528 "-DNVALGRIND",
28529 "-DOFFICIAL_BUILD",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028530 "-DUSE_CHROMIUM_ICU=1",
28531 "-DU_ENABLE_DYLOAD=0",
28532 "-DU_ENABLE_RESOURCE_TRACING=0",
28533 "-DU_ENABLE_TRACING=1",
28534 "-DU_STATIC_IMPLEMENTATION",
28535 "-DU_USING_ICU_NAMESPACE=0",
28536 "-D_FORTIFY_SOURCE=2",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028537 "-D_GNU_SOURCE",
28538 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28539 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028540 "-D__STDC_CONSTANT_MACROS",
28541 "-D__STDC_FORMAT_MACROS",
28542 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090028543 "-fdata-sections",
28544 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090028545 "-fno-asynchronous-unwind-tables",
28546 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090028547 "-fvisibility-inlines-hidden",
28548 "-fvisibility=hidden",
28549 "-g1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028550 ],
28551 local_include_dirs: [
28552 "./",
28553 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070028554 "buildtools/third_party/libc++/trunk/include",
28555 "buildtools/third_party/libc++abi/trunk/include",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028556 "third_party/icu/source/common/",
28557 "third_party/icu/source/i18n/",
28558 "third_party/libxml/linux/include/",
28559 "third_party/libxml/src/include/",
28560 ],
28561 cpp_std: "c++17",
28562 ldflags: [
28563 "-Wl,--as-needed",
28564 "-Wl,--gc-sections",
28565 "-Wl,--icf=all",
28566 ],
28567 target: {
28568 android_arm: {
28569 cflags: [
28570 "-fstack-protector",
28571 ],
28572 },
28573 android_arm64: {
28574 cflags: [
28575 "-fstack-protector",
28576 "-mno-outline",
28577 "-mno-outline-atomics",
28578 ],
28579 },
28580 android_x86: {
28581 cflags: [
28582 "-msse3",
28583 ],
28584 },
28585 android_x86_64: {
28586 cflags: [
28587 "-fstack-protector",
28588 "-msse3",
28589 ],
28590 },
28591 },
28592}
28593
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028594// GN: //third_party/libxml:xml_reader__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028595cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028596 name: "cronet_aml_third_party_libxml_xml_reader__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028597 srcs: [
28598 "third_party/libxml/chromium/xml_reader.cc",
28599 ],
28600 shared_libs: [
28601 "libz",
28602 ],
28603 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028604 "cronet_aml_third_party_icu_icuuc_private__testing",
28605 "cronet_aml_third_party_libxml_libxml__testing",
28606 "cronet_aml_third_party_libxml_libxml_utils__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028607 ],
28608 defaults: [
28609 "cronet_aml_defaults",
28610 ],
28611 cflags: [
28612 "-DANDROID",
28613 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28614 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28615 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28616 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28617 "-DHAVE_SYS_UIO_H",
28618 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
28619 "-DNDEBUG",
28620 "-DNO_UNWIND_TABLES",
28621 "-DNVALGRIND",
28622 "-DOFFICIAL_BUILD",
28623 "-DUSE_CHROMIUM_ICU=1",
28624 "-DU_ENABLE_DYLOAD=0",
28625 "-DU_ENABLE_RESOURCE_TRACING=0",
28626 "-DU_ENABLE_TRACING=1",
28627 "-DU_STATIC_IMPLEMENTATION",
28628 "-DU_USING_ICU_NAMESPACE=0",
28629 "-D_FORTIFY_SOURCE=2",
28630 "-D_GNU_SOURCE",
28631 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28632 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28633 "-D__STDC_CONSTANT_MACROS",
28634 "-D__STDC_FORMAT_MACROS",
28635 "-Oz",
28636 "-fdata-sections",
28637 "-ffunction-sections",
28638 "-fno-asynchronous-unwind-tables",
28639 "-fno-unwind-tables",
28640 "-fvisibility-inlines-hidden",
28641 "-fvisibility=hidden",
28642 "-g1",
28643 ],
28644 local_include_dirs: [
28645 "./",
28646 "buildtools/third_party/libc++/",
28647 "buildtools/third_party/libc++/trunk/include",
28648 "buildtools/third_party/libc++abi/trunk/include",
28649 "third_party/icu/source/common/",
28650 "third_party/icu/source/i18n/",
28651 "third_party/libxml/linux/include/",
28652 "third_party/libxml/src/include/",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028653 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090028654 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090028655 ldflags: [
28656 "-Wl,--as-needed",
28657 "-Wl,--gc-sections",
28658 "-Wl,--icf=all",
28659 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090028660 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090028661 android_arm: {
28662 cflags: [
28663 "-fstack-protector",
28664 ],
28665 },
28666 android_arm64: {
28667 cflags: [
28668 "-fstack-protector",
28669 "-mno-outline",
28670 "-mno-outline-atomics",
28671 ],
28672 },
Motomu Utsumi65501182022-11-18 15:26:35 +090028673 android_x86: {
28674 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090028675 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090028676 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090028677 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090028678 android_x86_64: {
28679 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090028680 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090028681 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090028682 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090028683 },
28684 },
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028685}
28686
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028687// GN: //third_party/metrics_proto:metrics_proto__testing
28688cc_genrule {
28689 name: "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen",
28690 srcs: [
28691 "third_party/metrics_proto/call_stack_profile.proto",
28692 "third_party/metrics_proto/cast_logs.proto",
28693 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
28694 "third_party/metrics_proto/chrome_searchbox_stats.proto",
28695 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
28696 "third_party/metrics_proto/custom_tab_session.proto",
28697 "third_party/metrics_proto/execution_context.proto",
28698 "third_party/metrics_proto/extension_install.proto",
28699 "third_party/metrics_proto/histogram_event.proto",
28700 "third_party/metrics_proto/omnibox_event.proto",
28701 "third_party/metrics_proto/omnibox_focus_type.proto",
28702 "third_party/metrics_proto/omnibox_input_type.proto",
28703 "third_party/metrics_proto/perf_data.proto",
28704 "third_party/metrics_proto/perf_stat.proto",
28705 "third_party/metrics_proto/printer_event.proto",
28706 "third_party/metrics_proto/reporting_info.proto",
28707 "third_party/metrics_proto/sampled_profile.proto",
28708 "third_party/metrics_proto/structured_data.proto",
28709 "third_party/metrics_proto/system_profile.proto",
28710 "third_party/metrics_proto/trace_log.proto",
28711 "third_party/metrics_proto/translate_event.proto",
28712 "third_party/metrics_proto/ukm/aggregate.proto",
28713 "third_party/metrics_proto/ukm/entry.proto",
28714 "third_party/metrics_proto/ukm/report.proto",
28715 "third_party/metrics_proto/ukm/source.proto",
28716 "third_party/metrics_proto/user_action_event.proto",
28717 "third_party/metrics_proto/user_demographics.proto",
28718 ],
28719 tools: [
28720 "cronet_aml_third_party_protobuf_protoc",
28721 ],
28722 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)",
28723 out: [
28724 "external/cronet/third_party/metrics_proto/call_stack_profile.pb.cc",
28725 "external/cronet/third_party/metrics_proto/cast_logs.pb.cc",
28726 "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc",
28727 "external/cronet/third_party/metrics_proto/chrome_searchbox_stats.pb.cc",
28728 "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc",
28729 "external/cronet/third_party/metrics_proto/custom_tab_session.pb.cc",
28730 "external/cronet/third_party/metrics_proto/execution_context.pb.cc",
28731 "external/cronet/third_party/metrics_proto/extension_install.pb.cc",
28732 "external/cronet/third_party/metrics_proto/histogram_event.pb.cc",
28733 "external/cronet/third_party/metrics_proto/omnibox_event.pb.cc",
28734 "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.cc",
28735 "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.cc",
28736 "external/cronet/third_party/metrics_proto/perf_data.pb.cc",
28737 "external/cronet/third_party/metrics_proto/perf_stat.pb.cc",
28738 "external/cronet/third_party/metrics_proto/printer_event.pb.cc",
28739 "external/cronet/third_party/metrics_proto/reporting_info.pb.cc",
28740 "external/cronet/third_party/metrics_proto/sampled_profile.pb.cc",
28741 "external/cronet/third_party/metrics_proto/structured_data.pb.cc",
28742 "external/cronet/third_party/metrics_proto/system_profile.pb.cc",
28743 "external/cronet/third_party/metrics_proto/trace_log.pb.cc",
28744 "external/cronet/third_party/metrics_proto/translate_event.pb.cc",
28745 "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.cc",
28746 "external/cronet/third_party/metrics_proto/ukm/entry.pb.cc",
28747 "external/cronet/third_party/metrics_proto/ukm/report.pb.cc",
28748 "external/cronet/third_party/metrics_proto/ukm/source.pb.cc",
28749 "external/cronet/third_party/metrics_proto/user_action_event.pb.cc",
28750 "external/cronet/third_party/metrics_proto/user_demographics.pb.cc",
28751 ],
28752 apex_available: [
28753 "com.android.tethering",
28754 ],
28755}
28756
28757// GN: //third_party/metrics_proto:metrics_proto__testing
28758cc_genrule {
28759 name: "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
28760 srcs: [
28761 "third_party/metrics_proto/call_stack_profile.proto",
28762 "third_party/metrics_proto/cast_logs.proto",
28763 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
28764 "third_party/metrics_proto/chrome_searchbox_stats.proto",
28765 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
28766 "third_party/metrics_proto/custom_tab_session.proto",
28767 "third_party/metrics_proto/execution_context.proto",
28768 "third_party/metrics_proto/extension_install.proto",
28769 "third_party/metrics_proto/histogram_event.proto",
28770 "third_party/metrics_proto/omnibox_event.proto",
28771 "third_party/metrics_proto/omnibox_focus_type.proto",
28772 "third_party/metrics_proto/omnibox_input_type.proto",
28773 "third_party/metrics_proto/perf_data.proto",
28774 "third_party/metrics_proto/perf_stat.proto",
28775 "third_party/metrics_proto/printer_event.proto",
28776 "third_party/metrics_proto/reporting_info.proto",
28777 "third_party/metrics_proto/sampled_profile.proto",
28778 "third_party/metrics_proto/structured_data.proto",
28779 "third_party/metrics_proto/system_profile.proto",
28780 "third_party/metrics_proto/trace_log.proto",
28781 "third_party/metrics_proto/translate_event.proto",
28782 "third_party/metrics_proto/ukm/aggregate.proto",
28783 "third_party/metrics_proto/ukm/entry.proto",
28784 "third_party/metrics_proto/ukm/report.proto",
28785 "third_party/metrics_proto/ukm/source.proto",
28786 "third_party/metrics_proto/user_action_event.proto",
28787 "third_party/metrics_proto/user_demographics.proto",
28788 ],
28789 tools: [
28790 "cronet_aml_third_party_protobuf_protoc",
28791 ],
28792 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)",
28793 out: [
28794 "external/cronet/third_party/metrics_proto/call_stack_profile.pb.h",
28795 "external/cronet/third_party/metrics_proto/cast_logs.pb.h",
28796 "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h",
28797 "external/cronet/third_party/metrics_proto/chrome_searchbox_stats.pb.h",
28798 "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.h",
28799 "external/cronet/third_party/metrics_proto/custom_tab_session.pb.h",
28800 "external/cronet/third_party/metrics_proto/execution_context.pb.h",
28801 "external/cronet/third_party/metrics_proto/extension_install.pb.h",
28802 "external/cronet/third_party/metrics_proto/histogram_event.pb.h",
28803 "external/cronet/third_party/metrics_proto/omnibox_event.pb.h",
28804 "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.h",
28805 "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.h",
28806 "external/cronet/third_party/metrics_proto/perf_data.pb.h",
28807 "external/cronet/third_party/metrics_proto/perf_stat.pb.h",
28808 "external/cronet/third_party/metrics_proto/printer_event.pb.h",
28809 "external/cronet/third_party/metrics_proto/reporting_info.pb.h",
28810 "external/cronet/third_party/metrics_proto/sampled_profile.pb.h",
28811 "external/cronet/third_party/metrics_proto/structured_data.pb.h",
28812 "external/cronet/third_party/metrics_proto/system_profile.pb.h",
28813 "external/cronet/third_party/metrics_proto/trace_log.pb.h",
28814 "external/cronet/third_party/metrics_proto/translate_event.pb.h",
28815 "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.h",
28816 "external/cronet/third_party/metrics_proto/ukm/entry.pb.h",
28817 "external/cronet/third_party/metrics_proto/ukm/report.pb.h",
28818 "external/cronet/third_party/metrics_proto/ukm/source.pb.h",
28819 "external/cronet/third_party/metrics_proto/user_action_event.pb.h",
28820 "external/cronet/third_party/metrics_proto/user_demographics.pb.h",
28821 ],
28822 export_include_dirs: [
28823 ".",
28824 "protos",
28825 "third_party/metrics_proto",
28826 ],
28827 apex_available: [
28828 "com.android.tethering",
28829 ],
28830}
28831
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028832// GN: //third_party/metrics_proto:metrics_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000028833cc_genrule {
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028834 name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen",
28835 srcs: [
28836 "third_party/metrics_proto/call_stack_profile.proto",
28837 "third_party/metrics_proto/cast_logs.proto",
28838 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
28839 "third_party/metrics_proto/chrome_searchbox_stats.proto",
28840 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
28841 "third_party/metrics_proto/custom_tab_session.proto",
28842 "third_party/metrics_proto/execution_context.proto",
28843 "third_party/metrics_proto/extension_install.proto",
28844 "third_party/metrics_proto/histogram_event.proto",
28845 "third_party/metrics_proto/omnibox_event.proto",
28846 "third_party/metrics_proto/omnibox_focus_type.proto",
28847 "third_party/metrics_proto/omnibox_input_type.proto",
28848 "third_party/metrics_proto/perf_data.proto",
28849 "third_party/metrics_proto/perf_stat.proto",
28850 "third_party/metrics_proto/printer_event.proto",
28851 "third_party/metrics_proto/reporting_info.proto",
28852 "third_party/metrics_proto/sampled_profile.proto",
28853 "third_party/metrics_proto/structured_data.proto",
28854 "third_party/metrics_proto/system_profile.proto",
28855 "third_party/metrics_proto/trace_log.proto",
28856 "third_party/metrics_proto/translate_event.proto",
28857 "third_party/metrics_proto/ukm/aggregate.proto",
28858 "third_party/metrics_proto/ukm/entry.proto",
28859 "third_party/metrics_proto/ukm/report.proto",
28860 "third_party/metrics_proto/ukm/source.proto",
28861 "third_party/metrics_proto/user_action_event.proto",
28862 "third_party/metrics_proto/user_demographics.proto",
28863 ],
28864 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090028865 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028866 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090028867 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028868 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090028869 "external/cronet/third_party/metrics_proto/call_stack_profile.pb.cc",
28870 "external/cronet/third_party/metrics_proto/cast_logs.pb.cc",
28871 "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc",
28872 "external/cronet/third_party/metrics_proto/chrome_searchbox_stats.pb.cc",
28873 "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc",
28874 "external/cronet/third_party/metrics_proto/custom_tab_session.pb.cc",
28875 "external/cronet/third_party/metrics_proto/execution_context.pb.cc",
28876 "external/cronet/third_party/metrics_proto/extension_install.pb.cc",
28877 "external/cronet/third_party/metrics_proto/histogram_event.pb.cc",
28878 "external/cronet/third_party/metrics_proto/omnibox_event.pb.cc",
28879 "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.cc",
28880 "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.cc",
28881 "external/cronet/third_party/metrics_proto/perf_data.pb.cc",
28882 "external/cronet/third_party/metrics_proto/perf_stat.pb.cc",
28883 "external/cronet/third_party/metrics_proto/printer_event.pb.cc",
28884 "external/cronet/third_party/metrics_proto/reporting_info.pb.cc",
28885 "external/cronet/third_party/metrics_proto/sampled_profile.pb.cc",
28886 "external/cronet/third_party/metrics_proto/structured_data.pb.cc",
28887 "external/cronet/third_party/metrics_proto/system_profile.pb.cc",
28888 "external/cronet/third_party/metrics_proto/trace_log.pb.cc",
28889 "external/cronet/third_party/metrics_proto/translate_event.pb.cc",
28890 "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.cc",
28891 "external/cronet/third_party/metrics_proto/ukm/entry.pb.cc",
28892 "external/cronet/third_party/metrics_proto/ukm/report.pb.cc",
28893 "external/cronet/third_party/metrics_proto/ukm/source.pb.cc",
28894 "external/cronet/third_party/metrics_proto/user_action_event.pb.cc",
28895 "external/cronet/third_party/metrics_proto/user_demographics.pb.cc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028896 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090028897 apex_available: [
28898 "com.android.tethering",
28899 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028900}
28901
28902// GN: //third_party/metrics_proto:metrics_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000028903cc_genrule {
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028904 name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
28905 srcs: [
28906 "third_party/metrics_proto/call_stack_profile.proto",
28907 "third_party/metrics_proto/cast_logs.proto",
28908 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
28909 "third_party/metrics_proto/chrome_searchbox_stats.proto",
28910 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
28911 "third_party/metrics_proto/custom_tab_session.proto",
28912 "third_party/metrics_proto/execution_context.proto",
28913 "third_party/metrics_proto/extension_install.proto",
28914 "third_party/metrics_proto/histogram_event.proto",
28915 "third_party/metrics_proto/omnibox_event.proto",
28916 "third_party/metrics_proto/omnibox_focus_type.proto",
28917 "third_party/metrics_proto/omnibox_input_type.proto",
28918 "third_party/metrics_proto/perf_data.proto",
28919 "third_party/metrics_proto/perf_stat.proto",
28920 "third_party/metrics_proto/printer_event.proto",
28921 "third_party/metrics_proto/reporting_info.proto",
28922 "third_party/metrics_proto/sampled_profile.proto",
28923 "third_party/metrics_proto/structured_data.proto",
28924 "third_party/metrics_proto/system_profile.proto",
28925 "third_party/metrics_proto/trace_log.proto",
28926 "third_party/metrics_proto/translate_event.proto",
28927 "third_party/metrics_proto/ukm/aggregate.proto",
28928 "third_party/metrics_proto/ukm/entry.proto",
28929 "third_party/metrics_proto/ukm/report.proto",
28930 "third_party/metrics_proto/ukm/source.proto",
28931 "third_party/metrics_proto/user_action_event.proto",
28932 "third_party/metrics_proto/user_demographics.proto",
28933 ],
28934 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090028935 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028936 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090028937 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/cronet/third_party/metrics_proto/ $(in)",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028938 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090028939 "external/cronet/third_party/metrics_proto/call_stack_profile.pb.h",
28940 "external/cronet/third_party/metrics_proto/cast_logs.pb.h",
28941 "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h",
28942 "external/cronet/third_party/metrics_proto/chrome_searchbox_stats.pb.h",
28943 "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.h",
28944 "external/cronet/third_party/metrics_proto/custom_tab_session.pb.h",
28945 "external/cronet/third_party/metrics_proto/execution_context.pb.h",
28946 "external/cronet/third_party/metrics_proto/extension_install.pb.h",
28947 "external/cronet/third_party/metrics_proto/histogram_event.pb.h",
28948 "external/cronet/third_party/metrics_proto/omnibox_event.pb.h",
28949 "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.h",
28950 "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.h",
28951 "external/cronet/third_party/metrics_proto/perf_data.pb.h",
28952 "external/cronet/third_party/metrics_proto/perf_stat.pb.h",
28953 "external/cronet/third_party/metrics_proto/printer_event.pb.h",
28954 "external/cronet/third_party/metrics_proto/reporting_info.pb.h",
28955 "external/cronet/third_party/metrics_proto/sampled_profile.pb.h",
28956 "external/cronet/third_party/metrics_proto/structured_data.pb.h",
28957 "external/cronet/third_party/metrics_proto/system_profile.pb.h",
28958 "external/cronet/third_party/metrics_proto/trace_log.pb.h",
28959 "external/cronet/third_party/metrics_proto/translate_event.pb.h",
28960 "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.h",
28961 "external/cronet/third_party/metrics_proto/ukm/entry.pb.h",
28962 "external/cronet/third_party/metrics_proto/ukm/report.pb.h",
28963 "external/cronet/third_party/metrics_proto/ukm/source.pb.h",
28964 "external/cronet/third_party/metrics_proto/user_action_event.pb.h",
28965 "external/cronet/third_party/metrics_proto/user_demographics.pb.h",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028966 ],
28967 export_include_dirs: [
28968 ".",
28969 "protos",
28970 "third_party/metrics_proto",
28971 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090028972 apex_available: [
28973 "com.android.tethering",
28974 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028975}
28976
Patrick Rohrcc377df2022-10-28 09:27:15 -070028977// GN: //third_party/modp_b64:modp_b64
Motomu Utsumifcac4852022-10-26 19:28:31 +090028978cc_library_static {
Patrick Rohrcc377df2022-10-28 09:27:15 -070028979 name: "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumifcac4852022-10-26 19:28:31 +090028980 srcs: [
Patrick Rohrcc377df2022-10-28 09:27:15 -070028981 "third_party/modp_b64/modp_b64.cc",
Motomu Utsumifcac4852022-10-26 19:28:31 +090028982 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028983 defaults: [
28984 "cronet_aml_defaults",
28985 ],
28986 cflags: [
28987 "-DANDROID",
28988 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28989 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28990 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28991 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28992 "-DHAVE_SYS_UIO_H",
28993 "-DNDEBUG",
28994 "-DNO_UNWIND_TABLES",
28995 "-DNVALGRIND",
28996 "-DOFFICIAL_BUILD",
28997 "-D_FORTIFY_SOURCE=2",
28998 "-D_GNU_SOURCE",
28999 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29000 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29001 "-D__STDC_CONSTANT_MACROS",
29002 "-D__STDC_FORMAT_MACROS",
29003 "-Oz",
29004 "-fdata-sections",
29005 "-ffunction-sections",
29006 "-fno-asynchronous-unwind-tables",
29007 "-fno-unwind-tables",
29008 "-fvisibility-inlines-hidden",
29009 "-fvisibility=hidden",
29010 "-g1",
29011 ],
29012 local_include_dirs: [
29013 "./",
29014 "buildtools/third_party/libc++/",
29015 "buildtools/third_party/libc++/trunk/include",
29016 "buildtools/third_party/libc++abi/trunk/include",
29017 ],
29018 cpp_std: "c++17",
29019 ldflags: [
29020 "-Wl,--as-needed",
29021 "-Wl,--gc-sections",
29022 "-Wl,--icf=all",
29023 ],
29024 target: {
29025 android_arm: {
29026 cflags: [
29027 "-fstack-protector",
29028 ],
29029 },
29030 android_arm64: {
29031 cflags: [
29032 "-fstack-protector",
29033 "-mno-outline",
29034 "-mno-outline-atomics",
29035 ],
29036 },
29037 android_x86: {
29038 cflags: [
29039 "-msse3",
29040 ],
29041 },
29042 android_x86_64: {
29043 cflags: [
29044 "-fstack-protector",
29045 "-msse3",
29046 ],
29047 },
29048 },
29049}
29050
29051// GN: //third_party/modp_b64:modp_b64__testing
29052cc_library_static {
29053 name: "cronet_aml_third_party_modp_b64_modp_b64__testing",
29054 srcs: [
29055 "third_party/modp_b64/modp_b64.cc",
29056 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029057 host_supported: true,
Motomu Utsumifcac4852022-10-26 19:28:31 +090029058 defaults: [
29059 "cronet_aml_defaults",
29060 ],
29061 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029062 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29063 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029064 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029065 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029066 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029067 "-DNVALGRIND",
29068 "-DOFFICIAL_BUILD",
29069 "-D_FORTIFY_SOURCE=2",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090029070 "-D_GNU_SOURCE",
29071 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29072 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -070029073 "-D__STDC_CONSTANT_MACROS",
29074 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029075 "-fdata-sections",
29076 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029077 "-fno-asynchronous-unwind-tables",
29078 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029079 "-fvisibility-inlines-hidden",
29080 "-fvisibility=hidden",
29081 "-g1",
Motomu Utsumifcac4852022-10-26 19:28:31 +090029082 ],
29083 local_include_dirs: [
29084 "./",
29085 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070029086 "buildtools/third_party/libc++/trunk/include",
29087 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumifcac4852022-10-26 19:28:31 +090029088 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029089 ldflags: [
29090 "-Wl,--as-needed",
29091 "-Wl,--gc-sections",
29092 "-Wl,--icf=all",
29093 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090029094 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090029095 android_arm: {
29096 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029097 "-DANDROID",
29098 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29099 "-DHAVE_SYS_UIO_H",
29100 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029101 "-fstack-protector",
29102 ],
29103 },
29104 android_arm64: {
29105 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029106 "-DANDROID",
29107 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29108 "-DHAVE_SYS_UIO_H",
29109 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029110 "-fstack-protector",
29111 "-mno-outline",
29112 "-mno-outline-atomics",
29113 ],
29114 },
Motomu Utsumi65501182022-11-18 15:26:35 +090029115 android_x86: {
29116 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029117 "-DANDROID",
29118 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29119 "-DHAVE_SYS_UIO_H",
29120 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029121 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090029122 ],
29123 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090029124 android_x86_64: {
29125 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029126 "-DANDROID",
29127 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29128 "-DHAVE_SYS_UIO_H",
29129 "-Oz",
29130 "-fstack-protector",
29131 "-msse3",
29132 ],
29133 },
29134 host: {
29135 cflags: [
29136 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
29137 "-DUSE_AURA=1",
29138 "-DUSE_OZONE=1",
29139 "-DUSE_UDEV",
29140 "-D_FILE_OFFSET_BITS=64",
29141 "-D_LARGEFILE64_SOURCE",
29142 "-D_LARGEFILE_SOURCE",
29143 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029144 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029145 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090029146 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090029147 },
29148 },
Motomu Utsumifcac4852022-10-26 19:28:31 +090029149}
29150
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029151// GN: //third_party/protobuf:protobuf_full
29152cc_library_static {
29153 name: "cronet_aml_third_party_protobuf_protobuf_full",
29154 srcs: [
29155 "third_party/protobuf/src/google/protobuf/any.cc",
29156 "third_party/protobuf/src/google/protobuf/any.pb.cc",
29157 "third_party/protobuf/src/google/protobuf/any_lite.cc",
29158 "third_party/protobuf/src/google/protobuf/api.pb.cc",
29159 "third_party/protobuf/src/google/protobuf/arena.cc",
29160 "third_party/protobuf/src/google/protobuf/arenastring.cc",
29161 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
29162 "third_party/protobuf/src/google/protobuf/compiler/importer.cc",
29163 "third_party/protobuf/src/google/protobuf/compiler/parser.cc",
29164 "third_party/protobuf/src/google/protobuf/descriptor.cc",
29165 "third_party/protobuf/src/google/protobuf/descriptor.pb.cc",
29166 "third_party/protobuf/src/google/protobuf/descriptor_database.cc",
29167 "third_party/protobuf/src/google/protobuf/duration.pb.cc",
29168 "third_party/protobuf/src/google/protobuf/dynamic_message.cc",
29169 "third_party/protobuf/src/google/protobuf/empty.pb.cc",
29170 "third_party/protobuf/src/google/protobuf/extension_set.cc",
29171 "third_party/protobuf/src/google/protobuf/extension_set_heavy.cc",
29172 "third_party/protobuf/src/google/protobuf/field_mask.pb.cc",
29173 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
29174 "third_party/protobuf/src/google/protobuf/generated_message_bases.cc",
29175 "third_party/protobuf/src/google/protobuf/generated_message_reflection.cc",
29176 "third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc",
29177 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
29178 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
29179 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
29180 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
29181 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
29182 "third_party/protobuf/src/google/protobuf/io/gzip_stream.cc",
29183 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
29184 "third_party/protobuf/src/google/protobuf/io/printer.cc",
29185 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
29186 "third_party/protobuf/src/google/protobuf/io/tokenizer.cc",
29187 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
29188 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
29189 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
29190 "third_party/protobuf/src/google/protobuf/map.cc",
29191 "third_party/protobuf/src/google/protobuf/map_field.cc",
29192 "third_party/protobuf/src/google/protobuf/message.cc",
29193 "third_party/protobuf/src/google/protobuf/message_lite.cc",
29194 "third_party/protobuf/src/google/protobuf/parse_context.cc",
29195 "third_party/protobuf/src/google/protobuf/reflection_ops.cc",
29196 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
29197 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
29198 "third_party/protobuf/src/google/protobuf/service.cc",
29199 "third_party/protobuf/src/google/protobuf/source_context.pb.cc",
29200 "third_party/protobuf/src/google/protobuf/struct.pb.cc",
29201 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
29202 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
29203 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
29204 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
29205 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
29206 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
29207 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
29208 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
29209 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
29210 "third_party/protobuf/src/google/protobuf/stubs/substitute.cc",
29211 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
29212 "third_party/protobuf/src/google/protobuf/text_format.cc",
29213 "third_party/protobuf/src/google/protobuf/timestamp.pb.cc",
29214 "third_party/protobuf/src/google/protobuf/type.pb.cc",
29215 "third_party/protobuf/src/google/protobuf/unknown_field_set.cc",
29216 "third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc",
29217 "third_party/protobuf/src/google/protobuf/util/field_comparator.cc",
29218 "third_party/protobuf/src/google/protobuf/util/field_mask_util.cc",
29219 "third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc",
29220 "third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc",
29221 "third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc",
29222 "third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc",
29223 "third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc",
29224 "third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc",
29225 "third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc",
29226 "third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc",
29227 "third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc",
29228 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc",
29229 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc",
29230 "third_party/protobuf/src/google/protobuf/util/internal/type_info.cc",
29231 "third_party/protobuf/src/google/protobuf/util/internal/utility.cc",
29232 "third_party/protobuf/src/google/protobuf/util/json_util.cc",
29233 "third_party/protobuf/src/google/protobuf/util/message_differencer.cc",
29234 "third_party/protobuf/src/google/protobuf/util/time_util.cc",
29235 "third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc",
29236 "third_party/protobuf/src/google/protobuf/wire_format.cc",
29237 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
29238 "third_party/protobuf/src/google/protobuf/wrappers.pb.cc",
29239 ],
Patrick Rohr3d1059c2022-12-21 11:04:33 -080029240 shared_libs: [
29241 "libz",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029242 ],
29243 host_supported: true,
29244 device_supported: false,
29245 defaults: [
29246 "cronet_aml_defaults",
29247 ],
29248 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029249 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29250 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029251 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029252 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029253 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29254 "-DGOOGLE_PROTOBUF_NO_RTTI",
29255 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29256 "-DHAVE_PTHREAD",
29257 "-DHAVE_ZLIB",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029258 "-DNDEBUG",
29259 "-DNO_UNWIND_TABLES",
29260 "-DNVALGRIND",
29261 "-DOFFICIAL_BUILD",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029262 "-DUSE_AURA=1",
29263 "-DUSE_OZONE=1",
29264 "-DUSE_UDEV",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029265 "-D_FILE_OFFSET_BITS=64",
29266 "-D_GNU_SOURCE",
29267 "-D_LARGEFILE64_SOURCE",
29268 "-D_LARGEFILE_SOURCE",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029269 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029270 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029271 "-O2",
29272 "-fdata-sections",
29273 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029274 "-fno-asynchronous-unwind-tables",
29275 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029276 "-fstack-protector",
29277 "-fvisibility-inlines-hidden",
29278 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029279 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000029280 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029281 ],
29282 local_include_dirs: [
29283 "./",
29284 "buildtools/third_party/libc++/",
29285 "buildtools/third_party/libc++/trunk/include",
29286 "buildtools/third_party/libc++abi/trunk/include",
29287 "third_party/protobuf/src/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029288 ],
29289 cpp_std: "c++20",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029290 ldflags: [
29291 "-Wl,--as-needed",
29292 "-Wl,--gc-sections",
29293 "-Wl,--icf=all",
29294 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029295}
29296
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029297// GN: //third_party/protobuf:protobuf_lite
29298cc_library_static {
29299 name: "cronet_aml_third_party_protobuf_protobuf_lite",
29300 srcs: [
29301 "third_party/protobuf/src/google/protobuf/any_lite.cc",
29302 "third_party/protobuf/src/google/protobuf/arena.cc",
29303 "third_party/protobuf/src/google/protobuf/arenastring.cc",
29304 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
29305 "third_party/protobuf/src/google/protobuf/extension_set.cc",
29306 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
29307 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
29308 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
29309 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
29310 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
29311 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
29312 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
29313 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
29314 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
29315 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
29316 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
29317 "third_party/protobuf/src/google/protobuf/map.cc",
29318 "third_party/protobuf/src/google/protobuf/message_lite.cc",
29319 "third_party/protobuf/src/google/protobuf/parse_context.cc",
29320 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
29321 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
29322 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
29323 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
29324 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
29325 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
29326 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
29327 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
29328 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
29329 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
29330 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
29331 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
29332 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
29333 ],
29334 shared_libs: [
29335 "liblog",
29336 ],
29337 defaults: [
29338 "cronet_aml_defaults",
29339 ],
29340 cflags: [
29341 "-DANDROID",
29342 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029343 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29344 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029345 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029346 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29347 "-DGOOGLE_PROTOBUF_NO_RTTI",
29348 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29349 "-DHAVE_PTHREAD",
29350 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029351 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029352 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029353 "-DNVALGRIND",
29354 "-DOFFICIAL_BUILD",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029355 "-D_GNU_SOURCE",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029356 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029357 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029358 "-O2",
29359 "-fdata-sections",
29360 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029361 "-fno-asynchronous-unwind-tables",
29362 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029363 "-fvisibility-inlines-hidden",
29364 "-fvisibility=hidden",
29365 "-g1",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029366 ],
29367 local_include_dirs: [
29368 "./",
29369 "buildtools/third_party/libc++/",
29370 "buildtools/third_party/libc++/trunk/include",
29371 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090029372 "third_party/protobuf/src/",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029373 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029374 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029375 ldflags: [
29376 "-Wl,--as-needed",
29377 "-Wl,--gc-sections",
29378 "-Wl,--icf=all",
29379 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029380 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090029381 android_arm: {
29382 cflags: [
29383 "-fstack-protector",
29384 ],
29385 },
29386 android_arm64: {
29387 cflags: [
29388 "-fstack-protector",
29389 "-mno-outline",
29390 "-mno-outline-atomics",
29391 ],
29392 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029393 android_x86: {
29394 cflags: [
29395 "-msse3",
29396 ],
29397 },
29398 android_x86_64: {
29399 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090029400 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029401 "-msse3",
29402 ],
29403 },
29404 },
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029405}
29406
Mohannad Farragedb2fd02023-02-10 14:53:41 +000029407// GN: //third_party/protobuf:protobuf_lite__testing
29408cc_library_static {
29409 name: "cronet_aml_third_party_protobuf_protobuf_lite__testing",
29410 srcs: [
29411 "third_party/protobuf/src/google/protobuf/any_lite.cc",
29412 "third_party/protobuf/src/google/protobuf/arena.cc",
29413 "third_party/protobuf/src/google/protobuf/arenastring.cc",
29414 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
29415 "third_party/protobuf/src/google/protobuf/extension_set.cc",
29416 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
29417 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
29418 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
29419 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
29420 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
29421 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
29422 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
29423 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
29424 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
29425 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
29426 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
29427 "third_party/protobuf/src/google/protobuf/map.cc",
29428 "third_party/protobuf/src/google/protobuf/message_lite.cc",
29429 "third_party/protobuf/src/google/protobuf/parse_context.cc",
29430 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
29431 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
29432 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
29433 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
29434 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
29435 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
29436 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
29437 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
29438 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
29439 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
29440 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
29441 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
29442 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
29443 ],
29444 shared_libs: [
29445 "liblog",
29446 ],
29447 defaults: [
29448 "cronet_aml_defaults",
29449 ],
29450 cflags: [
29451 "-DANDROID",
29452 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29453 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29454 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
29455 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
29456 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29457 "-DGOOGLE_PROTOBUF_NO_RTTI",
29458 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29459 "-DHAVE_PTHREAD",
29460 "-DHAVE_SYS_UIO_H",
29461 "-DNDEBUG",
29462 "-DNO_UNWIND_TABLES",
29463 "-DNVALGRIND",
29464 "-DOFFICIAL_BUILD",
29465 "-D_GNU_SOURCE",
29466 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29467 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29468 "-O2",
29469 "-fdata-sections",
29470 "-ffunction-sections",
29471 "-fno-asynchronous-unwind-tables",
29472 "-fno-unwind-tables",
29473 "-fvisibility-inlines-hidden",
29474 "-fvisibility=hidden",
29475 "-g1",
29476 ],
29477 local_include_dirs: [
29478 "./",
29479 "buildtools/third_party/libc++/",
29480 "buildtools/third_party/libc++/trunk/include",
29481 "buildtools/third_party/libc++abi/trunk/include",
29482 "third_party/protobuf/src/",
29483 ],
29484 cpp_std: "c++17",
29485 ldflags: [
29486 "-Wl,--as-needed",
29487 "-Wl,--gc-sections",
29488 "-Wl,--icf=all",
29489 ],
29490 target: {
29491 android_arm: {
29492 cflags: [
29493 "-fstack-protector",
29494 ],
29495 },
29496 android_arm64: {
29497 cflags: [
29498 "-fstack-protector",
29499 "-mno-outline",
29500 "-mno-outline-atomics",
29501 ],
29502 },
29503 android_x86: {
29504 cflags: [
29505 "-msse3",
29506 ],
29507 },
29508 android_x86_64: {
29509 cflags: [
29510 "-fstack-protector",
29511 "-msse3",
29512 ],
29513 },
29514 },
29515}
29516
Patrick Rohrad7a29c2022-11-16 21:48:09 -080029517// GN: //third_party/protobuf:protoc
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029518cc_binary {
Patrick Rohrad7a29c2022-11-16 21:48:09 -080029519 name: "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029520 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000029521 ":cronet_aml_buildtools_third_party_libc___libc__",
29522 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029523 "third_party/protobuf/src/google/protobuf/compiler/main.cc",
29524 ],
Patrick Rohr3d1059c2022-12-21 11:04:33 -080029525 shared_libs: [
29526 "libz",
29527 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029528 static_libs: [
Motomu Utsumi6ccc9d82022-11-16 18:05:45 +090029529 "cronet_aml_third_party_protobuf_protobuf_full",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029530 "cronet_aml_third_party_protobuf_protoc_lib",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029531 ],
29532 host_supported: true,
29533 device_supported: false,
29534 defaults: [
29535 "cronet_aml_defaults",
29536 ],
29537 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029538 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29539 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029540 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029541 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029542 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29543 "-DGOOGLE_PROTOBUF_NO_RTTI",
29544 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29545 "-DHAVE_PTHREAD",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029546 "-DNDEBUG",
29547 "-DNO_UNWIND_TABLES",
29548 "-DNVALGRIND",
29549 "-DOFFICIAL_BUILD",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029550 "-DUSE_AURA=1",
29551 "-DUSE_OZONE=1",
29552 "-DUSE_UDEV",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029553 "-D_FILE_OFFSET_BITS=64",
29554 "-D_GNU_SOURCE",
29555 "-D_LARGEFILE64_SOURCE",
29556 "-D_LARGEFILE_SOURCE",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029557 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029558 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029559 "-O2",
29560 "-fdata-sections",
29561 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029562 "-fno-asynchronous-unwind-tables",
29563 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029564 "-fstack-protector",
29565 "-fvisibility-inlines-hidden",
29566 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029567 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000029568 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029569 ],
29570 local_include_dirs: [
29571 "./",
29572 "buildtools/third_party/libc++/",
29573 "buildtools/third_party/libc++/trunk/include",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029574 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029575 "third_party/protobuf/src/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029576 ],
29577 cpp_std: "c++20",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029578 ldflags: [
29579 "-Wl,--as-needed",
29580 "-Wl,--gc-sections",
29581 "-Wl,--icf=all",
29582 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029583}
29584
29585// GN: //third_party/protobuf:protoc_lib
29586cc_library_static {
29587 name: "cronet_aml_third_party_protobuf_protoc_lib",
29588 srcs: [
29589 "third_party/protobuf/src/google/protobuf/compiler/code_generator.cc",
29590 "third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc",
29591 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc",
29592 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc",
29593 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc",
29594 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc",
29595 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc",
29596 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc",
29597 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc",
29598 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc",
29599 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc",
29600 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc",
29601 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc",
29602 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc",
29603 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc",
29604 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc",
29605 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc",
29606 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc",
29607 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc",
29608 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc",
29609 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc",
29610 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc",
29611 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc",
29612 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc",
29613 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc",
29614 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc",
29615 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc",
29616 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc",
29617 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc",
29618 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc",
29619 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc",
29620 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc",
29621 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc",
29622 "third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc",
29623 "third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc",
29624 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc",
29625 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc",
29626 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc",
29627 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc",
29628 "third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc",
29629 "third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc",
29630 "third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc",
29631 "third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc",
29632 "third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc",
29633 "third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc",
29634 "third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc",
29635 "third_party/protobuf/src/google/protobuf/compiler/java/java_kotlin_generator.cc",
29636 "third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.cc",
29637 "third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc",
29638 "third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc",
29639 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc",
29640 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc",
29641 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.cc",
29642 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc",
29643 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.cc",
29644 "third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc",
29645 "third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc",
29646 "third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc",
29647 "third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc",
29648 "third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc",
29649 "third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.cc",
29650 "third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc",
29651 "third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc",
29652 "third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc",
29653 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc",
29654 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc",
29655 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc",
29656 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc",
29657 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc",
29658 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc",
29659 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc",
29660 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc",
29661 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc",
29662 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc",
29663 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc",
29664 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc",
29665 "third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc",
29666 "third_party/protobuf/src/google/protobuf/compiler/plugin.cc",
29667 "third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc",
29668 "third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc",
29669 "third_party/protobuf/src/google/protobuf/compiler/python/python_helpers.cc",
29670 "third_party/protobuf/src/google/protobuf/compiler/python/python_pyi_generator.cc",
29671 "third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc",
29672 "third_party/protobuf/src/google/protobuf/compiler/subprocess.cc",
29673 "third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc",
29674 ],
Patrick Rohr3d1059c2022-12-21 11:04:33 -080029675 shared_libs: [
29676 "libz",
29677 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029678 static_libs: [
29679 "cronet_aml_third_party_protobuf_protobuf_full",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029680 ],
29681 host_supported: true,
29682 device_supported: false,
29683 defaults: [
29684 "cronet_aml_defaults",
29685 ],
29686 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029687 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29688 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029689 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029690 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029691 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29692 "-DGOOGLE_PROTOBUF_NO_RTTI",
29693 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29694 "-DHAVE_PTHREAD",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029695 "-DNDEBUG",
29696 "-DNO_UNWIND_TABLES",
29697 "-DNVALGRIND",
29698 "-DOFFICIAL_BUILD",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029699 "-DUSE_AURA=1",
29700 "-DUSE_OZONE=1",
29701 "-DUSE_UDEV",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029702 "-D_FILE_OFFSET_BITS=64",
29703 "-D_GNU_SOURCE",
29704 "-D_LARGEFILE64_SOURCE",
29705 "-D_LARGEFILE_SOURCE",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029706 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029707 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029708 "-O2",
29709 "-fdata-sections",
29710 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029711 "-fno-asynchronous-unwind-tables",
29712 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029713 "-fstack-protector",
29714 "-fvisibility-inlines-hidden",
29715 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029716 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000029717 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029718 ],
29719 local_include_dirs: [
29720 "./",
29721 "buildtools/third_party/libc++/",
29722 "buildtools/third_party/libc++/trunk/include",
29723 "buildtools/third_party/libc++abi/trunk/include",
29724 "third_party/protobuf/src/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029725 ],
29726 cpp_std: "c++20",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029727 ldflags: [
29728 "-Wl,--as-needed",
29729 "-Wl,--gc-sections",
29730 "-Wl,--icf=all",
29731 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029732}
29733
Motomu Utsumie74bab82022-12-16 18:00:12 +090029734// GN: //url:buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000029735cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090029736 name: "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -070029737 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
29738 "$(location build/write_buildflag_header.py) --output " +
29739 "$(out) " +
29740 "--rulename " +
29741 "//url:buildflags " +
29742 "--gen-dir " +
29743 ". " +
29744 "--definitions " +
29745 "/dev/stdin",
29746 out: [
29747 "url/buildflags.h",
29748 ],
29749 tool_files: [
29750 "build/write_buildflag_header.py",
29751 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090029752 apex_available: [
29753 "com.android.tethering",
29754 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070029755}
29756
Mohannad Farragedb2fd02023-02-10 14:53:41 +000029757// GN: //url:buildflags__testing
29758cc_genrule {
29759 name: "cronet_aml_url_buildflags__testing",
29760 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
29761 "$(location build/write_buildflag_header.py) --output " +
29762 "$(out) " +
29763 "--rulename " +
29764 "//url:buildflags " +
29765 "--gen-dir " +
29766 ". " +
29767 "--definitions " +
29768 "/dev/stdin",
29769 out: [
29770 "url/buildflags.h",
29771 ],
29772 tool_files: [
29773 "build/write_buildflag_header.py",
29774 ],
29775 apex_available: [
29776 "com.android.tethering",
29777 ],
29778}
29779
Patrick Rohrcb035942022-11-01 12:12:52 -070029780// GN: //url:url
29781cc_library_static {
29782 name: "cronet_aml_url_url",
29783 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070029784 "url/gurl.cc",
29785 "url/origin.cc",
29786 "url/scheme_host_port.cc",
29787 "url/third_party/mozilla/url_parse.cc",
29788 "url/url_canon.cc",
29789 "url/url_canon_etc.cc",
29790 "url/url_canon_filesystemurl.cc",
29791 "url/url_canon_fileurl.cc",
29792 "url/url_canon_host.cc",
29793 "url/url_canon_internal.cc",
29794 "url/url_canon_ip.cc",
29795 "url/url_canon_mailtourl.cc",
29796 "url/url_canon_path.cc",
29797 "url/url_canon_pathurl.cc",
29798 "url/url_canon_query.cc",
29799 "url/url_canon_relative.cc",
29800 "url/url_canon_stdstring.cc",
29801 "url/url_canon_stdurl.cc",
29802 "url/url_constants.cc",
29803 "url/url_idna_icu_alternatives_android.cc",
29804 "url/url_parse_file.cc",
29805 "url/url_util.cc",
29806 ],
29807 shared_libs: [
29808 "libandroid",
29809 "liblog",
29810 ],
29811 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080029812 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070029813 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080029814 "cronet_aml_base_base_static",
29815 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -070029816 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090029817 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080029818 "cronet_aml_third_party_icu_icui18n",
29819 "cronet_aml_third_party_icu_icuuc_private",
29820 "cronet_aml_third_party_libevent_libevent",
29821 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070029822 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090029823 generated_headers: [
29824 "cronet_aml_base_debugging_buildflags",
29825 "cronet_aml_base_logging_buildflags",
29826 "cronet_aml_build_chromeos_buildflags",
29827 "cronet_aml_url_buildflags",
29828 "cronet_aml_url_url_jni_headers",
29829 ],
29830 export_generated_headers: [
29831 "cronet_aml_base_debugging_buildflags",
29832 "cronet_aml_base_logging_buildflags",
29833 "cronet_aml_build_chromeos_buildflags",
29834 "cronet_aml_url_buildflags",
29835 "cronet_aml_url_url_jni_headers",
29836 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070029837 defaults: [
29838 "cronet_aml_defaults",
29839 ],
29840 cflags: [
29841 "-DANDROID",
29842 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029843 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29844 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029845 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070029846 "-DHAVE_SYS_UIO_H",
29847 "-DIS_URL_IMPL",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029848 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029849 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029850 "-DNVALGRIND",
29851 "-DOFFICIAL_BUILD",
29852 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070029853 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070029854 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070029855 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29856 "-D__STDC_CONSTANT_MACROS",
29857 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029858 "-Oz",
29859 "-fdata-sections",
29860 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029861 "-fno-asynchronous-unwind-tables",
29862 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029863 "-fvisibility-inlines-hidden",
29864 "-fvisibility=hidden",
29865 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070029866 ],
29867 local_include_dirs: [
29868 "./",
29869 "buildtools/third_party/libc++/",
29870 "buildtools/third_party/libc++/trunk/include",
29871 "buildtools/third_party/libc++abi/trunk/include",
29872 "third_party/abseil-cpp/",
29873 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070029874 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029875 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029876 ldflags: [
29877 "-Wl,--as-needed",
29878 "-Wl,--gc-sections",
29879 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000029880 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000029881 "-Wl,-wrap,asprintf",
29882 "-Wl,-wrap,calloc",
29883 "-Wl,-wrap,free",
29884 "-Wl,-wrap,getcwd",
29885 "-Wl,-wrap,malloc",
29886 "-Wl,-wrap,malloc_usable_size",
29887 "-Wl,-wrap,memalign",
29888 "-Wl,-wrap,posix_memalign",
29889 "-Wl,-wrap,pvalloc",
29890 "-Wl,-wrap,realloc",
29891 "-Wl,-wrap,realpath",
29892 "-Wl,-wrap,strdup",
29893 "-Wl,-wrap,strndup",
29894 "-Wl,-wrap,valloc",
29895 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029896 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000029897 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090029898 android_arm: {
29899 cflags: [
29900 "-fstack-protector",
29901 ],
29902 },
29903 android_arm64: {
29904 cflags: [
29905 "-fstack-protector",
29906 "-mno-outline",
29907 "-mno-outline-atomics",
29908 ],
29909 },
Mohannad Farrag631443e2022-11-21 16:17:01 +000029910 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029911 cflags: [
29912 "-msse3",
29913 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000029914 },
29915 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029916 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090029917 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029918 "-msse3",
29919 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000029920 },
29921 },
Patrick Rohrcb035942022-11-01 12:12:52 -070029922}
29923
Mohannad Farragedb2fd02023-02-10 14:53:41 +000029924// GN: //url:url__testing
29925cc_library_static {
29926 name: "cronet_aml_url_url__testing",
29927 srcs: [
29928 "url/gurl.cc",
29929 "url/origin.cc",
29930 "url/scheme_host_port.cc",
29931 "url/third_party/mozilla/url_parse.cc",
29932 "url/url_canon.cc",
29933 "url/url_canon_etc.cc",
29934 "url/url_canon_filesystemurl.cc",
29935 "url/url_canon_fileurl.cc",
29936 "url/url_canon_host.cc",
29937 "url/url_canon_internal.cc",
29938 "url/url_canon_ip.cc",
29939 "url/url_canon_mailtourl.cc",
29940 "url/url_canon_path.cc",
29941 "url/url_canon_pathurl.cc",
29942 "url/url_canon_query.cc",
29943 "url/url_canon_relative.cc",
29944 "url/url_canon_stdstring.cc",
29945 "url/url_canon_stdurl.cc",
29946 "url/url_constants.cc",
29947 "url/url_idna_icu_alternatives_android.cc",
29948 "url/url_parse_file.cc",
29949 "url/url_util.cc",
29950 ],
29951 shared_libs: [
29952 "libandroid",
29953 "liblog",
29954 ],
29955 static_libs: [
29956 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
29957 "cronet_aml_base_base__testing",
29958 "cronet_aml_base_base_static__testing",
29959 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
29960 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
29961 "cronet_aml_third_party_boringssl_boringssl__testing",
29962 "cronet_aml_third_party_icu_icui18n__testing",
29963 "cronet_aml_third_party_icu_icuuc_private__testing",
29964 "cronet_aml_third_party_libevent_libevent__testing",
29965 "cronet_aml_third_party_modp_b64_modp_b64__testing",
29966 ],
29967 generated_headers: [
29968 "cronet_aml_base_debugging_buildflags__testing",
29969 "cronet_aml_base_logging_buildflags__testing",
29970 "cronet_aml_build_chromeos_buildflags__testing",
29971 "cronet_aml_url_buildflags__testing",
29972 "cronet_aml_url_url_jni_headers__testing",
29973 ],
29974 export_generated_headers: [
29975 "cronet_aml_base_debugging_buildflags__testing",
29976 "cronet_aml_base_logging_buildflags__testing",
29977 "cronet_aml_build_chromeos_buildflags__testing",
29978 "cronet_aml_url_buildflags__testing",
29979 "cronet_aml_url_url_jni_headers__testing",
29980 ],
29981 defaults: [
29982 "cronet_aml_defaults",
29983 ],
29984 cflags: [
29985 "-DANDROID",
29986 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29987 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29988 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
29989 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
29990 "-DHAVE_SYS_UIO_H",
29991 "-DIS_URL_IMPL",
29992 "-DNDEBUG",
29993 "-DNO_UNWIND_TABLES",
29994 "-DNVALGRIND",
29995 "-DOFFICIAL_BUILD",
29996 "-D_FORTIFY_SOURCE=2",
29997 "-D_GNU_SOURCE",
29998 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29999 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
30000 "-D__STDC_CONSTANT_MACROS",
30001 "-D__STDC_FORMAT_MACROS",
30002 "-Oz",
30003 "-fdata-sections",
30004 "-ffunction-sections",
30005 "-fno-asynchronous-unwind-tables",
30006 "-fno-unwind-tables",
30007 "-fvisibility-inlines-hidden",
30008 "-fvisibility=hidden",
30009 "-g1",
30010 ],
30011 local_include_dirs: [
30012 "./",
30013 "buildtools/third_party/libc++/",
30014 "buildtools/third_party/libc++/trunk/include",
30015 "buildtools/third_party/libc++abi/trunk/include",
30016 "third_party/abseil-cpp/",
30017 "third_party/boringssl/src/include/",
30018 ],
30019 cpp_std: "c++17",
30020 ldflags: [
30021 "-Wl,--as-needed",
30022 "-Wl,--gc-sections",
30023 "-Wl,--icf=all",
30024 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
30025 "-Wl,-wrap,asprintf",
30026 "-Wl,-wrap,calloc",
30027 "-Wl,-wrap,free",
30028 "-Wl,-wrap,getcwd",
30029 "-Wl,-wrap,malloc",
30030 "-Wl,-wrap,malloc_usable_size",
30031 "-Wl,-wrap,memalign",
30032 "-Wl,-wrap,posix_memalign",
30033 "-Wl,-wrap,pvalloc",
30034 "-Wl,-wrap,realloc",
30035 "-Wl,-wrap,realpath",
30036 "-Wl,-wrap,strdup",
30037 "-Wl,-wrap,strndup",
30038 "-Wl,-wrap,valloc",
30039 "-Wl,-wrap,vasprintf",
30040 ],
30041 target: {
30042 android_arm: {
30043 cflags: [
30044 "-fstack-protector",
30045 ],
30046 },
30047 android_arm64: {
30048 cflags: [
30049 "-fstack-protector",
30050 "-mno-outline",
30051 "-mno-outline-atomics",
30052 ],
30053 },
30054 android_x86: {
30055 cflags: [
30056 "-msse3",
30057 ],
30058 },
30059 android_x86_64: {
30060 cflags: [
30061 "-fstack-protector",
30062 "-msse3",
30063 ],
30064 },
30065 },
30066}
30067
Motomu Utsumie74bab82022-12-16 18:00:12 +090030068// GN: //url:url_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000030069cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090030070 name: "cronet_aml_url_url_jni_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070030071 srcs: [
30072 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
30073 "url/android/java/src/org/chromium/url/Origin.java",
30074 ],
30075 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
30076 "long " +
Patrick Rohrcb035942022-11-01 12:12:52 -070030077 "--output_dir " +
30078 "$(genDir)/url/url_jni_headers " +
30079 "--includes " +
30080 "base/android/jni_generator/jni_generator_helper.h " +
30081 "--use_proxy_hash " +
30082 "--output_name " +
30083 "IDNStringUtil_jni.h " +
30084 "--output_name " +
30085 "Origin_jni.h " +
30086 "--input_file " +
30087 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
30088 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +000030089 "$(location url/android/java/src/org/chromium/url/Origin.java) " +
30090 "--package_prefix " +
30091 "android.net.http.internal",
Patrick Rohrcb035942022-11-01 12:12:52 -070030092 out: [
30093 "url/url_jni_headers/IDNStringUtil_jni.h",
30094 "url/url_jni_headers/Origin_jni.h",
30095 ],
30096 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +000030097 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -070030098 "base/android/jni_generator/jni_generator.py",
30099 "build/android/gyp/util/__init__.py",
30100 "build/android/gyp/util/build_utils.py",
30101 "build/gn_helpers.py",
30102 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090030103 apex_available: [
30104 "com.android.tethering",
30105 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070030106}
30107
Mohannad Farragedb2fd02023-02-10 14:53:41 +000030108// GN: //url:url_jni_headers__testing
30109cc_genrule {
30110 name: "cronet_aml_url_url_jni_headers__testing",
30111 srcs: [
30112 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
30113 "url/android/java/src/org/chromium/url/Origin.java",
30114 ],
30115 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
30116 "long " +
30117 "--output_dir " +
30118 "$(genDir)/url/url_jni_headers " +
30119 "--includes " +
30120 "base/android/jni_generator/jni_generator_helper.h " +
30121 "--use_proxy_hash " +
30122 "--output_name " +
30123 "IDNStringUtil_jni.h " +
30124 "--output_name " +
30125 "Origin_jni.h " +
30126 "--input_file " +
30127 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
30128 "--input_file " +
30129 "$(location url/android/java/src/org/chromium/url/Origin.java) " +
30130 "--package_prefix " +
30131 "android.net.http.internal",
30132 out: [
30133 "url/url_jni_headers/IDNStringUtil_jni.h",
30134 "url/url_jni_headers/Origin_jni.h",
30135 ],
30136 tool_files: [
30137 "base/android/jni_generator/android_jar.classes",
30138 "base/android/jni_generator/jni_generator.py",
30139 "build/android/gyp/util/__init__.py",
30140 "build/android/gyp/util/build_utils.py",
30141 "build/gn_helpers.py",
30142 ],
30143 apex_available: [
30144 "com.android.tethering",
30145 ],
30146}
30147
Mohannad Farragce711af2022-12-28 18:18:33 +000030148// GN: LICENSE
30149license {
30150 name: "external_cronet_license",
30151 license_kinds: [
30152 "SPDX-license-identifier-AFL-2.0",
30153 "SPDX-license-identifier-Apache-2.0",
30154 "SPDX-license-identifier-BSD",
30155 "SPDX-license-identifier-BSL-1.0",
Mohannad Farragce711af2022-12-28 18:18:33 +000030156 "SPDX-license-identifier-ICU",
30157 "SPDX-license-identifier-ISC",
Mohannad Farragce711af2022-12-28 18:18:33 +000030158 "SPDX-license-identifier-MIT",
30159 "SPDX-license-identifier-MPL",
Mohannad Farrag0e2a1e12023-01-30 16:55:10 +000030160 "SPDX-license-identifier-MPL-1.1",
Mohannad Farragce711af2022-12-28 18:18:33 +000030161 "SPDX-license-identifier-MPL-2.0",
30162 "SPDX-license-identifier-NCSA",
30163 "SPDX-license-identifier-OpenSSL",
30164 "SPDX-license-identifier-Unicode-DFS",
30165 "legacy_unencumbered",
30166 ],
30167 license_text: [
30168 "LICENSE",
30169 "base/third_party/double_conversion/LICENSE",
30170 "base/third_party/dynamic_annotations/LICENSE",
30171 "base/third_party/icu/LICENSE",
30172 "base/third_party/nspr/LICENSE",
30173 "base/third_party/superfasthash/LICENSE",
30174 "base/third_party/symbolize/LICENSE",
30175 "base/third_party/valgrind/LICENSE",
30176 "base/third_party/xdg_user_dirs/LICENSE",
30177 "net/third_party/quiche/src/LICENSE",
30178 "net/third_party/uri_template/LICENSE",
30179 "third_party/abseil-cpp/LICENSE",
30180 "third_party/ashmem/LICENSE",
30181 "third_party/boringssl/src/LICENSE",
30182 "third_party/boringssl/src/third_party/fiat/LICENSE",
30183 "third_party/boringssl/src/third_party/googletest/LICENSE",
30184 "third_party/boringssl/src/third_party/wycheproof_testvectors/LICENSE",
30185 "third_party/brotli/LICENSE",
30186 "third_party/icu/LICENSE",
30187 "third_party/icu/scripts/LICENSE",
30188 "third_party/libevent/LICENSE",
30189 "third_party/metrics_proto/LICENSE",
30190 "third_party/modp_b64/LICENSE",
30191 "third_party/protobuf/LICENSE",
30192 "third_party/protobuf/third_party/utf8_range/LICENSE",
30193 ],
30194}
30195