blob: 25583ed140ed715ec3451f92c31dfddeae4ce5a8 [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 " +
Mohannad Farragf27cd352023-02-10 17:41:19 +0000926 "$$(find $${OUT_DIR:-out}/.path -name javap)",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000927 out: [
928 "base/android_runtime_jni_headers/Runnable_jni.h",
929 "base/android_runtime_jni_headers/Runtime_jni.h",
930 ],
931 tool_files: [
932 ":current_android_jar",
933 "base/android/jni_generator/android_jar.classes",
934 "base/android/jni_generator/jni_generator.py",
935 "build/android/gyp/util/__init__.py",
936 "build/android/gyp/util/build_utils.py",
937 "build/gn_helpers.py",
938 ],
939 apex_available: [
940 "com.android.tethering",
941 ],
942}
943
Patrick Rohrcc377df2022-10-28 09:27:15 -0700944// GN: //base:base
945cc_library_static {
946 name: "cronet_aml_base_base",
947 srcs: [
Motomu Utsumic525cb72023-01-27 13:25:41 +0900948 ":cronet_aml_base_nodebug_assertion",
Mohannad Farrag7f29d832022-11-23 19:52:41 +0000949 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
950 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
951 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
952 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
953 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
954 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
955 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
956 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
957 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
958 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
959 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
960 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
961 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
962 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
963 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
964 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
965 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
966 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
967 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
968 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
969 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
970 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
971 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
972 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
973 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
974 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
975 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
976 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
977 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
978 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
979 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
980 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
981 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
982 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
983 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
984 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
985 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
986 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
987 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
988 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
989 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
990 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
991 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
992 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
993 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
994 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
995 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Mohannad Farragedb2fd02023-02-10 14:53:41 +0000996 ":cronet_aml_third_party_android_ndk_cpu_features",
997 ":cronet_aml_third_party_ashmem_ashmem",
998 "base/allocator/allocator_check.cc",
999 "base/allocator/allocator_extension.cc",
1000 "base/allocator/dispatcher/dispatcher.cc",
1001 "base/allocator/dispatcher/internal/dispatch_data.cc",
1002 "base/allocator/dispatcher/reentry_guard.cc",
1003 "base/allocator/partition_allocator/shim/allocator_shim.cc",
1004 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
1005 "base/android/android_hardware_buffer_compat.cc",
1006 "base/android/android_image_reader_compat.cc",
1007 "base/android/apk_assets.cc",
1008 "base/android/application_status_listener.cc",
1009 "base/android/base_feature_list.cc",
1010 "base/android/base_features.cc",
1011 "base/android/base_jni_onload.cc",
1012 "base/android/build_info.cc",
1013 "base/android/bundle_utils.cc",
1014 "base/android/callback_android.cc",
1015 "base/android/child_process_service.cc",
1016 "base/android/command_line_android.cc",
1017 "base/android/content_uri_utils.cc",
1018 "base/android/cpu_features.cc",
1019 "base/android/early_trace_event_binding.cc",
1020 "base/android/event_log.cc",
1021 "base/android/feature_list_jni.cc",
1022 "base/android/features_jni.cc",
1023 "base/android/field_trial_list.cc",
1024 "base/android/important_file_writer_android.cc",
1025 "base/android/int_string_callback.cc",
1026 "base/android/jank_metric_uma_recorder.cc",
1027 "base/android/java_exception_reporter.cc",
1028 "base/android/java_handler_thread.cc",
1029 "base/android/java_heap_dump_generator.cc",
1030 "base/android/java_runtime.cc",
1031 "base/android/jni_android.cc",
1032 "base/android/jni_array.cc",
1033 "base/android/jni_registrar.cc",
1034 "base/android/jni_string.cc",
1035 "base/android/jni_utils.cc",
1036 "base/android/jni_weak_ref.cc",
1037 "base/android/library_loader/anchor_functions.cc",
1038 "base/android/library_loader/library_loader_hooks.cc",
1039 "base/android/library_loader/library_prefetcher.cc",
1040 "base/android/library_loader/library_prefetcher_hooks.cc",
1041 "base/android/locale_utils.cc",
1042 "base/android/memory_pressure_listener_android.cc",
1043 "base/android/native_uma_recorder.cc",
1044 "base/android/path_service_android.cc",
1045 "base/android/path_utils.cc",
1046 "base/android/radio_utils.cc",
1047 "base/android/reached_addresses_bitset.cc",
1048 "base/android/remove_stale_data.cc",
1049 "base/android/scoped_hardware_buffer_fence_sync.cc",
1050 "base/android/scoped_hardware_buffer_handle.cc",
1051 "base/android/scoped_java_ref.cc",
1052 "base/android/statistics_recorder_android.cc",
1053 "base/android/sys_utils.cc",
1054 "base/android/task_scheduler/post_task_android.cc",
1055 "base/android/task_scheduler/task_runner_android.cc",
1056 "base/android/thread_instruction_count.cc",
1057 "base/android/timezone_utils.cc",
1058 "base/android/trace_event_binding.cc",
1059 "base/android/unguessable_token_android.cc",
1060 "base/at_exit.cc",
1061 "base/barrier_closure.cc",
1062 "base/base64.cc",
1063 "base/base64url.cc",
1064 "base/base_paths.cc",
1065 "base/base_paths_android.cc",
1066 "base/big_endian.cc",
1067 "base/build_time.cc",
1068 "base/callback_list.cc",
1069 "base/check.cc",
1070 "base/check_is_test.cc",
1071 "base/check_op.cc",
1072 "base/command_line.cc",
1073 "base/containers/flat_tree.cc",
1074 "base/containers/intrusive_heap.cc",
1075 "base/containers/linked_list.cc",
1076 "base/cpu.cc",
1077 "base/cpu_reduction_experiment.cc",
1078 "base/debug/activity_analyzer.cc",
1079 "base/debug/activity_tracker.cc",
1080 "base/debug/alias.cc",
1081 "base/debug/asan_invalid_access.cc",
1082 "base/debug/buffered_dwarf_reader.cc",
1083 "base/debug/crash_logging.cc",
1084 "base/debug/debugger.cc",
1085 "base/debug/debugger_posix.cc",
1086 "base/debug/dump_without_crashing.cc",
1087 "base/debug/dwarf_line_no.cc",
1088 "base/debug/elf_reader.cc",
1089 "base/debug/proc_maps_linux.cc",
1090 "base/debug/profiler.cc",
1091 "base/debug/stack_trace.cc",
1092 "base/debug/stack_trace_android.cc",
1093 "base/debug/task_trace.cc",
1094 "base/environment.cc",
1095 "base/feature_list.cc",
1096 "base/features.cc",
1097 "base/file_descriptor_posix.cc",
1098 "base/file_descriptor_store.cc",
1099 "base/files/file.cc",
1100 "base/files/file_descriptor_watcher_posix.cc",
1101 "base/files/file_enumerator.cc",
1102 "base/files/file_enumerator_posix.cc",
1103 "base/files/file_path.cc",
1104 "base/files/file_path_watcher.cc",
1105 "base/files/file_path_watcher_inotify.cc",
1106 "base/files/file_posix.cc",
1107 "base/files/file_proxy.cc",
1108 "base/files/file_tracing.cc",
1109 "base/files/file_util.cc",
1110 "base/files/file_util_android.cc",
1111 "base/files/file_util_posix.cc",
1112 "base/files/important_file_writer.cc",
1113 "base/files/important_file_writer_cleaner.cc",
1114 "base/files/memory_mapped_file.cc",
1115 "base/files/memory_mapped_file_posix.cc",
1116 "base/files/safe_base_name.cc",
1117 "base/files/scoped_file.cc",
1118 "base/files/scoped_file_android.cc",
1119 "base/files/scoped_temp_dir.cc",
1120 "base/functional/callback_helpers.cc",
1121 "base/functional/callback_internal.cc",
1122 "base/guid.cc",
1123 "base/hash/hash.cc",
1124 "base/hash/legacy_hash.cc",
1125 "base/hash/md5_boringssl.cc",
1126 "base/hash/sha1_boringssl.cc",
1127 "base/json/json_file_value_serializer.cc",
1128 "base/json/json_parser.cc",
1129 "base/json/json_reader.cc",
1130 "base/json/json_string_value_serializer.cc",
1131 "base/json/json_value_converter.cc",
1132 "base/json/json_writer.cc",
1133 "base/json/string_escape.cc",
1134 "base/json/values_util.cc",
1135 "base/lazy_instance_helpers.cc",
1136 "base/linux_util.cc",
1137 "base/location.cc",
1138 "base/logging.cc",
1139 "base/memory/aligned_memory.cc",
1140 "base/memory/discardable_memory.cc",
1141 "base/memory/discardable_memory_allocator.cc",
1142 "base/memory/discardable_shared_memory.cc",
1143 "base/memory/madv_free_discardable_memory_allocator_posix.cc",
1144 "base/memory/madv_free_discardable_memory_posix.cc",
1145 "base/memory/memory_pressure_listener.cc",
1146 "base/memory/memory_pressure_monitor.cc",
1147 "base/memory/nonscannable_memory.cc",
1148 "base/memory/page_size_posix.cc",
1149 "base/memory/platform_shared_memory_handle.cc",
1150 "base/memory/platform_shared_memory_mapper_android.cc",
1151 "base/memory/platform_shared_memory_region.cc",
1152 "base/memory/platform_shared_memory_region_android.cc",
1153 "base/memory/raw_ptr.cc",
1154 "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
1155 "base/memory/raw_ptr_asan_service.cc",
1156 "base/memory/read_only_shared_memory_region.cc",
1157 "base/memory/ref_counted.cc",
1158 "base/memory/ref_counted_memory.cc",
1159 "base/memory/shared_memory_mapper.cc",
1160 "base/memory/shared_memory_mapping.cc",
1161 "base/memory/shared_memory_security_policy.cc",
1162 "base/memory/shared_memory_tracker.cc",
1163 "base/memory/unsafe_shared_memory_pool.cc",
1164 "base/memory/unsafe_shared_memory_region.cc",
1165 "base/memory/weak_ptr.cc",
1166 "base/memory/writable_shared_memory_region.cc",
1167 "base/message_loop/message_pump.cc",
1168 "base/message_loop/message_pump_android.cc",
1169 "base/message_loop/message_pump_default.cc",
1170 "base/message_loop/message_pump_epoll.cc",
1171 "base/message_loop/message_pump_libevent.cc",
1172 "base/message_loop/watchable_io_message_pump_posix.cc",
1173 "base/message_loop/work_id_provider.cc",
1174 "base/metrics/bucket_ranges.cc",
1175 "base/metrics/crc32.cc",
1176 "base/metrics/dummy_histogram.cc",
1177 "base/metrics/field_trial.cc",
1178 "base/metrics/field_trial_param_associator.cc",
1179 "base/metrics/field_trial_params.cc",
1180 "base/metrics/histogram.cc",
1181 "base/metrics/histogram_base.cc",
1182 "base/metrics/histogram_delta_serialization.cc",
1183 "base/metrics/histogram_functions.cc",
1184 "base/metrics/histogram_samples.cc",
1185 "base/metrics/histogram_snapshot_manager.cc",
1186 "base/metrics/metrics_hashes.cc",
1187 "base/metrics/persistent_histogram_allocator.cc",
1188 "base/metrics/persistent_histogram_storage.cc",
1189 "base/metrics/persistent_memory_allocator.cc",
1190 "base/metrics/persistent_sample_map.cc",
1191 "base/metrics/ranges_manager.cc",
1192 "base/metrics/sample_map.cc",
1193 "base/metrics/sample_vector.cc",
1194 "base/metrics/single_sample_metrics.cc",
1195 "base/metrics/sparse_histogram.cc",
1196 "base/metrics/statistics_recorder.cc",
1197 "base/metrics/user_metrics.cc",
1198 "base/native_library.cc",
1199 "base/native_library_posix.cc",
1200 "base/observer_list_internal.cc",
1201 "base/observer_list_threadsafe.cc",
1202 "base/observer_list_types.cc",
1203 "base/one_shot_event.cc",
1204 "base/os_compat_android.cc",
1205 "base/path_service.cc",
1206 "base/pending_task.cc",
1207 "base/pickle.cc",
1208 "base/posix/can_lower_nice_to.cc",
1209 "base/posix/file_descriptor_shuffle.cc",
1210 "base/posix/global_descriptors.cc",
1211 "base/posix/safe_strerror.cc",
1212 "base/posix/unix_domain_socket.cc",
1213 "base/power_monitor/battery_level_provider.cc",
1214 "base/power_monitor/battery_state_sampler.cc",
1215 "base/power_monitor/moving_average.cc",
1216 "base/power_monitor/power_monitor.cc",
1217 "base/power_monitor/power_monitor_device_source.cc",
1218 "base/power_monitor/power_monitor_device_source_android.cc",
1219 "base/power_monitor/power_monitor_features.cc",
1220 "base/power_monitor/power_monitor_source.cc",
1221 "base/power_monitor/sampling_event_source.cc",
1222 "base/power_monitor/timer_sampling_event_source.cc",
1223 "base/process/environment_internal.cc",
1224 "base/process/internal_linux.cc",
1225 "base/process/kill.cc",
1226 "base/process/kill_posix.cc",
1227 "base/process/launch.cc",
1228 "base/process/launch_posix.cc",
1229 "base/process/memory.cc",
1230 "base/process/memory_linux.cc",
1231 "base/process/process_android.cc",
1232 "base/process/process_handle.cc",
1233 "base/process/process_handle_linux.cc",
1234 "base/process/process_handle_posix.cc",
1235 "base/process/process_iterator.cc",
1236 "base/process/process_iterator_linux.cc",
1237 "base/process/process_metrics.cc",
1238 "base/process/process_metrics_linux.cc",
1239 "base/process/process_metrics_posix.cc",
1240 "base/process/process_posix.cc",
1241 "base/profiler/arm_cfi_table.cc",
1242 "base/profiler/frame.cc",
1243 "base/profiler/metadata_recorder.cc",
1244 "base/profiler/module_cache.cc",
1245 "base/profiler/module_cache_posix.cc",
1246 "base/profiler/sample_metadata.cc",
1247 "base/profiler/sampling_profiler_thread_token.cc",
1248 "base/profiler/stack_base_address_posix.cc",
1249 "base/profiler/stack_buffer.cc",
1250 "base/profiler/stack_copier.cc",
1251 "base/profiler/stack_copier_signal.cc",
1252 "base/profiler/stack_copier_suspend.cc",
1253 "base/profiler/stack_sampler.cc",
1254 "base/profiler/stack_sampler_android.cc",
1255 "base/profiler/stack_sampler_impl.cc",
1256 "base/profiler/stack_sampling_profiler.cc",
1257 "base/profiler/thread_delegate_posix.cc",
1258 "base/profiler/unwinder.cc",
1259 "base/rand_util.cc",
1260 "base/rand_util_posix.cc",
1261 "base/run_loop.cc",
1262 "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
1263 "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
1264 "base/sampling_heap_profiler/sampling_heap_profiler.cc",
1265 "base/scoped_add_feature_flags.cc",
1266 "base/scoped_environment_variable_override.cc",
1267 "base/scoped_native_library.cc",
1268 "base/sequence_checker.cc",
1269 "base/sequence_checker_impl.cc",
1270 "base/sequence_token.cc",
1271 "base/strings/abseil_string_conversions.cc",
1272 "base/strings/abseil_string_number_conversions.cc",
1273 "base/strings/escape.cc",
1274 "base/strings/latin1_string_conversions.cc",
1275 "base/strings/pattern.cc",
1276 "base/strings/safe_sprintf.cc",
1277 "base/strings/strcat.cc",
1278 "base/strings/string_number_conversions.cc",
1279 "base/strings/string_piece.cc",
1280 "base/strings/string_split.cc",
1281 "base/strings/string_util.cc",
1282 "base/strings/string_util_constants.cc",
1283 "base/strings/stringprintf.cc",
1284 "base/strings/sys_string_conversions_posix.cc",
1285 "base/strings/utf_offset_string_conversions.cc",
1286 "base/strings/utf_string_conversion_utils.cc",
1287 "base/strings/utf_string_conversions.cc",
1288 "base/substring_set_matcher/matcher_string_pattern.cc",
1289 "base/substring_set_matcher/substring_set_matcher.cc",
1290 "base/supports_user_data.cc",
1291 "base/sync_socket.cc",
1292 "base/sync_socket_posix.cc",
1293 "base/synchronization/atomic_flag.cc",
1294 "base/synchronization/condition_variable_posix.cc",
1295 "base/synchronization/lock.cc",
1296 "base/synchronization/lock_impl_posix.cc",
1297 "base/synchronization/waitable_event_posix.cc",
1298 "base/synchronization/waitable_event_watcher_posix.cc",
1299 "base/syslog_logging.cc",
1300 "base/system/sys_info.cc",
1301 "base/system/sys_info_android.cc",
1302 "base/system/sys_info_linux.cc",
1303 "base/system/sys_info_posix.cc",
1304 "base/system/system_monitor.cc",
1305 "base/task/cancelable_task_tracker.cc",
1306 "base/task/common/checked_lock_impl.cc",
1307 "base/task/common/lazy_now.cc",
1308 "base/task/common/operations_controller.cc",
1309 "base/task/common/scoped_defer_task_posting.cc",
1310 "base/task/common/task_annotator.cc",
1311 "base/task/current_thread.cc",
1312 "base/task/default_delayed_task_handle_delegate.cc",
1313 "base/task/deferred_sequenced_task_runner.cc",
1314 "base/task/delayed_task_handle.cc",
1315 "base/task/lazy_thread_pool_task_runner.cc",
1316 "base/task/post_job.cc",
1317 "base/task/scoped_set_task_priority_for_current_thread.cc",
1318 "base/task/sequence_manager/associated_thread_id.cc",
1319 "base/task/sequence_manager/atomic_flag_set.cc",
1320 "base/task/sequence_manager/delayed_task_handle_delegate.cc",
1321 "base/task/sequence_manager/enqueue_order_generator.cc",
1322 "base/task/sequence_manager/fence.cc",
1323 "base/task/sequence_manager/hierarchical_timing_wheel.cc",
1324 "base/task/sequence_manager/sequence_manager.cc",
1325 "base/task/sequence_manager/sequence_manager_impl.cc",
1326 "base/task/sequence_manager/sequenced_task_source.cc",
1327 "base/task/sequence_manager/task_order.cc",
1328 "base/task/sequence_manager/task_queue.cc",
1329 "base/task/sequence_manager/task_queue_impl.cc",
1330 "base/task/sequence_manager/task_queue_selector.cc",
1331 "base/task/sequence_manager/tasks.cc",
1332 "base/task/sequence_manager/thread_controller.cc",
1333 "base/task/sequence_manager/thread_controller_impl.cc",
1334 "base/task/sequence_manager/thread_controller_power_monitor.cc",
1335 "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
1336 "base/task/sequence_manager/time_domain.cc",
1337 "base/task/sequence_manager/timing_wheel.cc",
1338 "base/task/sequence_manager/wake_up_queue.cc",
1339 "base/task/sequence_manager/work_deduplicator.cc",
1340 "base/task/sequence_manager/work_queue.cc",
1341 "base/task/sequence_manager/work_queue_sets.cc",
1342 "base/task/sequenced_task_runner.cc",
1343 "base/task/simple_task_executor.cc",
1344 "base/task/single_thread_task_executor.cc",
1345 "base/task/single_thread_task_runner.cc",
1346 "base/task/task_executor.cc",
1347 "base/task/task_features.cc",
1348 "base/task/task_runner.cc",
1349 "base/task/task_traits.cc",
1350 "base/task/thread_pool.cc",
1351 "base/task/thread_pool/delayed_priority_queue.cc",
1352 "base/task/thread_pool/delayed_task_manager.cc",
1353 "base/task/thread_pool/environment_config.cc",
1354 "base/task/thread_pool/initialization_util.cc",
1355 "base/task/thread_pool/job_task_source.cc",
1356 "base/task/thread_pool/pooled_parallel_task_runner.cc",
1357 "base/task/thread_pool/pooled_sequenced_task_runner.cc",
1358 "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
1359 "base/task/thread_pool/pooled_task_runner_delegate.cc",
1360 "base/task/thread_pool/priority_queue.cc",
1361 "base/task/thread_pool/sequence.cc",
1362 "base/task/thread_pool/service_thread.cc",
1363 "base/task/thread_pool/task.cc",
1364 "base/task/thread_pool/task_source.cc",
1365 "base/task/thread_pool/task_source_sort_key.cc",
1366 "base/task/thread_pool/task_tracker.cc",
1367 "base/task/thread_pool/thread_group.cc",
1368 "base/task/thread_pool/thread_group_impl.cc",
1369 "base/task/thread_pool/thread_group_native.cc",
1370 "base/task/thread_pool/thread_pool_impl.cc",
1371 "base/task/thread_pool/thread_pool_instance.cc",
1372 "base/task/thread_pool/worker_thread.cc",
1373 "base/task/thread_pool/worker_thread_stack.cc",
1374 "base/third_party/cityhash/city.cc",
1375 "base/third_party/cityhash_v103/src/city_v103.cc",
1376 "base/third_party/nspr/prtime.cc",
1377 "base/third_party/superfasthash/superfasthash.c",
1378 "base/threading/hang_watcher.cc",
1379 "base/threading/platform_thread.cc",
1380 "base/threading/platform_thread_android.cc",
1381 "base/threading/platform_thread_internal_posix.cc",
1382 "base/threading/platform_thread_posix.cc",
1383 "base/threading/platform_thread_ref.cc",
1384 "base/threading/post_task_and_reply_impl.cc",
1385 "base/threading/scoped_blocking_call.cc",
1386 "base/threading/scoped_blocking_call_internal.cc",
1387 "base/threading/scoped_thread_priority.cc",
1388 "base/threading/sequence_local_storage_map.cc",
1389 "base/threading/sequence_local_storage_slot.cc",
1390 "base/threading/sequenced_task_runner_handle.cc",
1391 "base/threading/simple_thread.cc",
1392 "base/threading/thread.cc",
1393 "base/threading/thread_checker.cc",
1394 "base/threading/thread_checker_impl.cc",
1395 "base/threading/thread_collision_warner.cc",
1396 "base/threading/thread_id_name_manager.cc",
1397 "base/threading/thread_local_storage.cc",
1398 "base/threading/thread_local_storage_posix.cc",
1399 "base/threading/thread_restrictions.cc",
1400 "base/threading/thread_task_runner_handle.cc",
1401 "base/threading/watchdog.cc",
1402 "base/time/clock.cc",
1403 "base/time/default_clock.cc",
1404 "base/time/default_tick_clock.cc",
1405 "base/time/tick_clock.cc",
1406 "base/time/time.cc",
1407 "base/time/time_android.cc",
1408 "base/time/time_conversion_posix.cc",
1409 "base/time/time_delta_from_string.cc",
1410 "base/time/time_exploded_icu.cc",
1411 "base/time/time_exploded_posix.cc",
1412 "base/time/time_now_posix.cc",
1413 "base/time/time_override.cc",
1414 "base/time/time_to_iso8601.cc",
1415 "base/timer/elapsed_timer.cc",
1416 "base/timer/hi_res_timer_manager_posix.cc",
1417 "base/timer/lap_timer.cc",
1418 "base/timer/timer.cc",
1419 "base/timer/wall_clock_timer.cc",
1420 "base/token.cc",
1421 "base/trace_event/heap_profiler_allocation_context.cc",
1422 "base/trace_event/heap_profiler_allocation_context_tracker.cc",
1423 "base/trace_event/memory_allocator_dump_guid.cc",
1424 "base/trace_event/trace_event_stub.cc",
1425 "base/trace_event/trace_id_helper.cc",
1426 "base/unguessable_token.cc",
1427 "base/value_iterators.cc",
1428 "base/values.cc",
1429 "base/version.cc",
1430 "base/vlog.cc",
1431 ],
1432 shared_libs: [
1433 "libandroid",
1434 "liblog",
1435 ],
1436 static_libs: [
1437 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
1438 "cronet_aml_base_base_static",
1439 "cronet_aml_base_third_party_double_conversion_double_conversion",
1440 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
1441 "cronet_aml_third_party_boringssl_boringssl",
1442 "cronet_aml_third_party_icu_icui18n",
1443 "cronet_aml_third_party_icu_icuuc_private",
1444 "cronet_aml_third_party_libevent_libevent",
1445 "cronet_aml_third_party_modp_b64_modp_b64",
1446 ],
1447 generated_headers: [
1448 "cronet_aml_base_allocator_buildflags",
1449 "cronet_aml_base_anchor_functions_buildflags",
1450 "cronet_aml_base_android_runtime_jni_headers",
1451 "cronet_aml_base_base_jni_headers",
1452 "cronet_aml_base_build_date",
1453 "cronet_aml_base_cfi_buildflags",
1454 "cronet_aml_base_clang_profiling_buildflags",
1455 "cronet_aml_base_debugging_buildflags",
1456 "cronet_aml_base_feature_list_buildflags",
1457 "cronet_aml_base_ios_cronet_buildflags",
1458 "cronet_aml_base_logging_buildflags",
1459 "cronet_aml_base_message_pump_buildflags",
1460 "cronet_aml_base_orderfile_buildflags",
1461 "cronet_aml_base_parsing_buildflags",
1462 "cronet_aml_base_power_monitor_buildflags",
1463 "cronet_aml_base_profiler_buildflags",
1464 "cronet_aml_base_sanitizer_buildflags",
1465 "cronet_aml_base_synchronization_buildflags",
1466 "cronet_aml_base_tracing_buildflags",
1467 "cronet_aml_build_branding_buildflags",
1468 "cronet_aml_build_chromecast_buildflags",
1469 "cronet_aml_build_chromeos_buildflags",
1470 "cronet_aml_build_config_compiler_compiler_buildflags",
1471 ],
1472 export_generated_headers: [
1473 "cronet_aml_base_allocator_buildflags",
1474 "cronet_aml_base_anchor_functions_buildflags",
1475 "cronet_aml_base_android_runtime_jni_headers",
1476 "cronet_aml_base_base_jni_headers",
1477 "cronet_aml_base_build_date",
1478 "cronet_aml_base_cfi_buildflags",
1479 "cronet_aml_base_clang_profiling_buildflags",
1480 "cronet_aml_base_debugging_buildflags",
1481 "cronet_aml_base_feature_list_buildflags",
1482 "cronet_aml_base_ios_cronet_buildflags",
1483 "cronet_aml_base_logging_buildflags",
1484 "cronet_aml_base_message_pump_buildflags",
1485 "cronet_aml_base_orderfile_buildflags",
1486 "cronet_aml_base_parsing_buildflags",
1487 "cronet_aml_base_power_monitor_buildflags",
1488 "cronet_aml_base_profiler_buildflags",
1489 "cronet_aml_base_sanitizer_buildflags",
1490 "cronet_aml_base_synchronization_buildflags",
1491 "cronet_aml_base_tracing_buildflags",
1492 "cronet_aml_build_branding_buildflags",
1493 "cronet_aml_build_chromecast_buildflags",
1494 "cronet_aml_build_chromeos_buildflags",
1495 "cronet_aml_build_config_compiler_compiler_buildflags",
1496 ],
1497 export_header_lib_headers: [
1498 "libgtest_prod_headers",
1499 ],
1500 defaults: [
1501 "cronet_aml_defaults",
1502 ],
1503 cflags: [
1504 "-DANDROID",
1505 "-DANDROID_NDK_VERSION_ROLL=r23_1",
1506 "-DBASE_IMPLEMENTATION",
1507 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
1508 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
1509 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
1510 "-DHAVE_SYS_UIO_H",
1511 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
1512 "-DNDEBUG",
1513 "-DNO_UNWIND_TABLES",
1514 "-DNVALGRIND",
1515 "-DOFFICIAL_BUILD",
1516 "-DUSE_CHROMIUM_ICU=1",
1517 "-DU_ENABLE_DYLOAD=0",
1518 "-DU_ENABLE_RESOURCE_TRACING=0",
1519 "-DU_ENABLE_TRACING=1",
1520 "-DU_STATIC_IMPLEMENTATION",
1521 "-DU_USING_ICU_NAMESPACE=0",
1522 "-D_FORTIFY_SOURCE=2",
1523 "-D_GNU_SOURCE",
1524 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1525 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1526 "-D__STDC_CONSTANT_MACROS",
1527 "-D__STDC_FORMAT_MACROS",
1528 "-O2",
1529 "-fdata-sections",
1530 "-ffunction-sections",
1531 "-fno-asynchronous-unwind-tables",
1532 "-fno-unwind-tables",
1533 "-fvisibility-inlines-hidden",
1534 "-fvisibility=hidden",
1535 "-g1",
1536 ],
1537 local_include_dirs: [
1538 "./",
1539 "buildtools/third_party/libc++/",
1540 "buildtools/third_party/libc++/trunk/include",
1541 "buildtools/third_party/libc++abi/trunk/include",
1542 "third_party/abseil-cpp/",
1543 "third_party/android_ndk/sources/android/cpufeatures/",
1544 "third_party/boringssl/src/include/",
1545 "third_party/icu/source/common/",
1546 "third_party/icu/source/i18n/",
1547 ],
1548 header_libs: [
1549 "libgtest_prod_headers",
1550 ],
1551 cpp_std: "c++17",
1552 ldflags: [
1553 "-Wl,--as-needed",
1554 "-Wl,--gc-sections",
1555 "-Wl,--icf=all",
1556 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
1557 "-Wl,-wrap,asprintf",
1558 "-Wl,-wrap,calloc",
1559 "-Wl,-wrap,free",
1560 "-Wl,-wrap,getcwd",
1561 "-Wl,-wrap,malloc",
1562 "-Wl,-wrap,malloc_usable_size",
1563 "-Wl,-wrap,memalign",
1564 "-Wl,-wrap,posix_memalign",
1565 "-Wl,-wrap,pvalloc",
1566 "-Wl,-wrap,realloc",
1567 "-Wl,-wrap,realpath",
1568 "-Wl,-wrap,strdup",
1569 "-Wl,-wrap,strndup",
1570 "-Wl,-wrap,valloc",
1571 "-Wl,-wrap,vasprintf",
1572 ],
1573 target: {
1574 android_arm: {
1575 srcs: [
1576 "base/android/reached_code_profiler.cc",
1577 "base/profiler/chrome_unwind_info_android.cc",
1578 "base/profiler/chrome_unwinder_android.cc",
1579 "base/profiler/chrome_unwinder_android_v2.cc",
1580 "base/trace_event/cfi_backtrace_android.cc",
1581 ],
1582 cflags: [
1583 "-fstack-protector",
1584 ],
1585 },
1586 android_arm64: {
1587 srcs: [
1588 "base/android/reached_code_profiler.cc",
1589 ],
1590 cflags: [
1591 "-fstack-protector",
1592 "-mno-outline",
1593 "-mno-outline-atomics",
1594 ],
1595 },
1596 android_x86: {
1597 srcs: [
1598 "base/android/reached_code_profiler_stub.cc",
1599 ],
1600 cflags: [
1601 "-msse3",
1602 ],
1603 },
1604 android_x86_64: {
1605 srcs: [
1606 "base/android/reached_code_profiler_stub.cc",
1607 ],
1608 cflags: [
1609 "-fstack-protector",
1610 "-msse3",
1611 ],
1612 },
1613 },
1614}
1615
1616// GN: //base:base__testing
1617cc_library_static {
1618 name: "cronet_aml_base_base__testing",
1619 srcs: [
1620 ":cronet_aml_base_nodebug_assertion__testing",
1621 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
1622 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
1623 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
1624 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
1625 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
1626 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
1627 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
1628 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
1629 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
1630 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
1631 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
1632 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
1633 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
1634 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
1635 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
1636 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
1637 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
1638 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
1639 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
1640 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
1641 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
1642 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
1643 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
1644 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
1645 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
1646 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
1647 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
1648 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
1649 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
1650 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
1651 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
1652 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
1653 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
1654 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
1655 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
1656 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
1657 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
1658 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
1659 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
1660 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
1661 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
1662 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
1663 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
1664 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
1665 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
1666 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
1667 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001668 "base/allocator/allocator_check.cc",
1669 "base/allocator/allocator_extension.cc",
1670 "base/allocator/dispatcher/dispatcher.cc",
1671 "base/allocator/dispatcher/internal/dispatch_data.cc",
1672 "base/allocator/dispatcher/reentry_guard.cc",
1673 "base/allocator/partition_allocator/shim/allocator_shim.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001674 "base/at_exit.cc",
1675 "base/barrier_closure.cc",
1676 "base/base64.cc",
1677 "base/base64url.cc",
1678 "base/base_paths.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001679 "base/big_endian.cc",
1680 "base/build_time.cc",
1681 "base/callback_list.cc",
1682 "base/check.cc",
1683 "base/check_is_test.cc",
1684 "base/check_op.cc",
1685 "base/command_line.cc",
1686 "base/containers/flat_tree.cc",
1687 "base/containers/intrusive_heap.cc",
1688 "base/containers/linked_list.cc",
1689 "base/cpu.cc",
1690 "base/cpu_reduction_experiment.cc",
1691 "base/debug/activity_analyzer.cc",
1692 "base/debug/activity_tracker.cc",
1693 "base/debug/alias.cc",
1694 "base/debug/asan_invalid_access.cc",
1695 "base/debug/buffered_dwarf_reader.cc",
1696 "base/debug/crash_logging.cc",
1697 "base/debug/debugger.cc",
1698 "base/debug/debugger_posix.cc",
1699 "base/debug/dump_without_crashing.cc",
1700 "base/debug/dwarf_line_no.cc",
1701 "base/debug/elf_reader.cc",
1702 "base/debug/proc_maps_linux.cc",
1703 "base/debug/profiler.cc",
1704 "base/debug/stack_trace.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001705 "base/debug/task_trace.cc",
1706 "base/environment.cc",
1707 "base/feature_list.cc",
1708 "base/features.cc",
1709 "base/file_descriptor_posix.cc",
1710 "base/file_descriptor_store.cc",
1711 "base/files/file.cc",
1712 "base/files/file_descriptor_watcher_posix.cc",
1713 "base/files/file_enumerator.cc",
1714 "base/files/file_enumerator_posix.cc",
1715 "base/files/file_path.cc",
1716 "base/files/file_path_watcher.cc",
1717 "base/files/file_path_watcher_inotify.cc",
1718 "base/files/file_posix.cc",
1719 "base/files/file_proxy.cc",
1720 "base/files/file_tracing.cc",
1721 "base/files/file_util.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001722 "base/files/file_util_posix.cc",
1723 "base/files/important_file_writer.cc",
1724 "base/files/important_file_writer_cleaner.cc",
1725 "base/files/memory_mapped_file.cc",
1726 "base/files/memory_mapped_file_posix.cc",
1727 "base/files/safe_base_name.cc",
1728 "base/files/scoped_file.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001729 "base/files/scoped_temp_dir.cc",
1730 "base/functional/callback_helpers.cc",
1731 "base/functional/callback_internal.cc",
1732 "base/guid.cc",
1733 "base/hash/hash.cc",
1734 "base/hash/legacy_hash.cc",
1735 "base/hash/md5_boringssl.cc",
1736 "base/hash/sha1_boringssl.cc",
1737 "base/json/json_file_value_serializer.cc",
1738 "base/json/json_parser.cc",
1739 "base/json/json_reader.cc",
1740 "base/json/json_string_value_serializer.cc",
1741 "base/json/json_value_converter.cc",
1742 "base/json/json_writer.cc",
1743 "base/json/string_escape.cc",
1744 "base/json/values_util.cc",
1745 "base/lazy_instance_helpers.cc",
1746 "base/linux_util.cc",
1747 "base/location.cc",
1748 "base/logging.cc",
1749 "base/memory/aligned_memory.cc",
1750 "base/memory/discardable_memory.cc",
1751 "base/memory/discardable_memory_allocator.cc",
1752 "base/memory/discardable_shared_memory.cc",
1753 "base/memory/madv_free_discardable_memory_allocator_posix.cc",
1754 "base/memory/madv_free_discardable_memory_posix.cc",
1755 "base/memory/memory_pressure_listener.cc",
1756 "base/memory/memory_pressure_monitor.cc",
1757 "base/memory/nonscannable_memory.cc",
1758 "base/memory/page_size_posix.cc",
1759 "base/memory/platform_shared_memory_handle.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001760 "base/memory/platform_shared_memory_region.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001761 "base/memory/raw_ptr.cc",
1762 "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
1763 "base/memory/raw_ptr_asan_service.cc",
1764 "base/memory/read_only_shared_memory_region.cc",
1765 "base/memory/ref_counted.cc",
1766 "base/memory/ref_counted_memory.cc",
1767 "base/memory/shared_memory_mapper.cc",
1768 "base/memory/shared_memory_mapping.cc",
1769 "base/memory/shared_memory_security_policy.cc",
1770 "base/memory/shared_memory_tracker.cc",
1771 "base/memory/unsafe_shared_memory_pool.cc",
1772 "base/memory/unsafe_shared_memory_region.cc",
1773 "base/memory/weak_ptr.cc",
1774 "base/memory/writable_shared_memory_region.cc",
1775 "base/message_loop/message_pump.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001776 "base/message_loop/message_pump_default.cc",
1777 "base/message_loop/message_pump_epoll.cc",
1778 "base/message_loop/message_pump_libevent.cc",
1779 "base/message_loop/watchable_io_message_pump_posix.cc",
1780 "base/message_loop/work_id_provider.cc",
1781 "base/metrics/bucket_ranges.cc",
1782 "base/metrics/crc32.cc",
1783 "base/metrics/dummy_histogram.cc",
1784 "base/metrics/field_trial.cc",
1785 "base/metrics/field_trial_param_associator.cc",
1786 "base/metrics/field_trial_params.cc",
1787 "base/metrics/histogram.cc",
1788 "base/metrics/histogram_base.cc",
1789 "base/metrics/histogram_delta_serialization.cc",
1790 "base/metrics/histogram_functions.cc",
1791 "base/metrics/histogram_samples.cc",
1792 "base/metrics/histogram_snapshot_manager.cc",
1793 "base/metrics/metrics_hashes.cc",
1794 "base/metrics/persistent_histogram_allocator.cc",
1795 "base/metrics/persistent_histogram_storage.cc",
1796 "base/metrics/persistent_memory_allocator.cc",
1797 "base/metrics/persistent_sample_map.cc",
1798 "base/metrics/ranges_manager.cc",
1799 "base/metrics/sample_map.cc",
1800 "base/metrics/sample_vector.cc",
1801 "base/metrics/single_sample_metrics.cc",
1802 "base/metrics/sparse_histogram.cc",
1803 "base/metrics/statistics_recorder.cc",
1804 "base/metrics/user_metrics.cc",
1805 "base/native_library.cc",
1806 "base/native_library_posix.cc",
1807 "base/observer_list_internal.cc",
1808 "base/observer_list_threadsafe.cc",
1809 "base/observer_list_types.cc",
1810 "base/one_shot_event.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001811 "base/path_service.cc",
1812 "base/pending_task.cc",
1813 "base/pickle.cc",
1814 "base/posix/can_lower_nice_to.cc",
1815 "base/posix/file_descriptor_shuffle.cc",
1816 "base/posix/global_descriptors.cc",
1817 "base/posix/safe_strerror.cc",
1818 "base/posix/unix_domain_socket.cc",
1819 "base/power_monitor/battery_level_provider.cc",
1820 "base/power_monitor/battery_state_sampler.cc",
1821 "base/power_monitor/moving_average.cc",
1822 "base/power_monitor/power_monitor.cc",
1823 "base/power_monitor/power_monitor_device_source.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001824 "base/power_monitor/power_monitor_features.cc",
1825 "base/power_monitor/power_monitor_source.cc",
1826 "base/power_monitor/sampling_event_source.cc",
1827 "base/power_monitor/timer_sampling_event_source.cc",
1828 "base/process/environment_internal.cc",
1829 "base/process/internal_linux.cc",
1830 "base/process/kill.cc",
1831 "base/process/kill_posix.cc",
1832 "base/process/launch.cc",
1833 "base/process/launch_posix.cc",
1834 "base/process/memory.cc",
1835 "base/process/memory_linux.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001836 "base/process/process_handle.cc",
1837 "base/process/process_handle_linux.cc",
1838 "base/process/process_handle_posix.cc",
1839 "base/process/process_iterator.cc",
1840 "base/process/process_iterator_linux.cc",
1841 "base/process/process_metrics.cc",
1842 "base/process/process_metrics_linux.cc",
1843 "base/process/process_metrics_posix.cc",
1844 "base/process/process_posix.cc",
1845 "base/profiler/arm_cfi_table.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001846 "base/profiler/frame.cc",
1847 "base/profiler/metadata_recorder.cc",
1848 "base/profiler/module_cache.cc",
1849 "base/profiler/module_cache_posix.cc",
1850 "base/profiler/sample_metadata.cc",
1851 "base/profiler/sampling_profiler_thread_token.cc",
1852 "base/profiler/stack_base_address_posix.cc",
1853 "base/profiler/stack_buffer.cc",
1854 "base/profiler/stack_copier.cc",
1855 "base/profiler/stack_copier_signal.cc",
1856 "base/profiler/stack_copier_suspend.cc",
1857 "base/profiler/stack_sampler.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001858 "base/profiler/stack_sampler_impl.cc",
1859 "base/profiler/stack_sampling_profiler.cc",
1860 "base/profiler/thread_delegate_posix.cc",
1861 "base/profiler/unwinder.cc",
1862 "base/rand_util.cc",
1863 "base/rand_util_posix.cc",
1864 "base/run_loop.cc",
1865 "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
1866 "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
1867 "base/sampling_heap_profiler/sampling_heap_profiler.cc",
1868 "base/scoped_add_feature_flags.cc",
1869 "base/scoped_environment_variable_override.cc",
1870 "base/scoped_native_library.cc",
1871 "base/sequence_checker.cc",
1872 "base/sequence_checker_impl.cc",
1873 "base/sequence_token.cc",
1874 "base/strings/abseil_string_conversions.cc",
1875 "base/strings/abseil_string_number_conversions.cc",
1876 "base/strings/escape.cc",
1877 "base/strings/latin1_string_conversions.cc",
1878 "base/strings/pattern.cc",
1879 "base/strings/safe_sprintf.cc",
1880 "base/strings/strcat.cc",
1881 "base/strings/string_number_conversions.cc",
1882 "base/strings/string_piece.cc",
1883 "base/strings/string_split.cc",
1884 "base/strings/string_util.cc",
1885 "base/strings/string_util_constants.cc",
1886 "base/strings/stringprintf.cc",
1887 "base/strings/sys_string_conversions_posix.cc",
1888 "base/strings/utf_offset_string_conversions.cc",
1889 "base/strings/utf_string_conversion_utils.cc",
1890 "base/strings/utf_string_conversions.cc",
1891 "base/substring_set_matcher/matcher_string_pattern.cc",
1892 "base/substring_set_matcher/substring_set_matcher.cc",
1893 "base/supports_user_data.cc",
1894 "base/sync_socket.cc",
1895 "base/sync_socket_posix.cc",
1896 "base/synchronization/atomic_flag.cc",
1897 "base/synchronization/condition_variable_posix.cc",
1898 "base/synchronization/lock.cc",
1899 "base/synchronization/lock_impl_posix.cc",
1900 "base/synchronization/waitable_event_posix.cc",
1901 "base/synchronization/waitable_event_watcher_posix.cc",
1902 "base/syslog_logging.cc",
1903 "base/system/sys_info.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001904 "base/system/sys_info_linux.cc",
1905 "base/system/sys_info_posix.cc",
1906 "base/system/system_monitor.cc",
1907 "base/task/cancelable_task_tracker.cc",
1908 "base/task/common/checked_lock_impl.cc",
1909 "base/task/common/lazy_now.cc",
1910 "base/task/common/operations_controller.cc",
1911 "base/task/common/scoped_defer_task_posting.cc",
1912 "base/task/common/task_annotator.cc",
1913 "base/task/current_thread.cc",
1914 "base/task/default_delayed_task_handle_delegate.cc",
1915 "base/task/deferred_sequenced_task_runner.cc",
1916 "base/task/delayed_task_handle.cc",
1917 "base/task/lazy_thread_pool_task_runner.cc",
1918 "base/task/post_job.cc",
1919 "base/task/scoped_set_task_priority_for_current_thread.cc",
1920 "base/task/sequence_manager/associated_thread_id.cc",
1921 "base/task/sequence_manager/atomic_flag_set.cc",
1922 "base/task/sequence_manager/delayed_task_handle_delegate.cc",
1923 "base/task/sequence_manager/enqueue_order_generator.cc",
1924 "base/task/sequence_manager/fence.cc",
1925 "base/task/sequence_manager/hierarchical_timing_wheel.cc",
1926 "base/task/sequence_manager/sequence_manager.cc",
1927 "base/task/sequence_manager/sequence_manager_impl.cc",
1928 "base/task/sequence_manager/sequenced_task_source.cc",
1929 "base/task/sequence_manager/task_order.cc",
1930 "base/task/sequence_manager/task_queue.cc",
1931 "base/task/sequence_manager/task_queue_impl.cc",
1932 "base/task/sequence_manager/task_queue_selector.cc",
1933 "base/task/sequence_manager/tasks.cc",
1934 "base/task/sequence_manager/thread_controller.cc",
1935 "base/task/sequence_manager/thread_controller_impl.cc",
1936 "base/task/sequence_manager/thread_controller_power_monitor.cc",
1937 "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
1938 "base/task/sequence_manager/time_domain.cc",
1939 "base/task/sequence_manager/timing_wheel.cc",
1940 "base/task/sequence_manager/wake_up_queue.cc",
1941 "base/task/sequence_manager/work_deduplicator.cc",
1942 "base/task/sequence_manager/work_queue.cc",
1943 "base/task/sequence_manager/work_queue_sets.cc",
1944 "base/task/sequenced_task_runner.cc",
1945 "base/task/simple_task_executor.cc",
1946 "base/task/single_thread_task_executor.cc",
1947 "base/task/single_thread_task_runner.cc",
1948 "base/task/task_executor.cc",
1949 "base/task/task_features.cc",
1950 "base/task/task_runner.cc",
1951 "base/task/task_traits.cc",
1952 "base/task/thread_pool.cc",
1953 "base/task/thread_pool/delayed_priority_queue.cc",
1954 "base/task/thread_pool/delayed_task_manager.cc",
1955 "base/task/thread_pool/environment_config.cc",
1956 "base/task/thread_pool/initialization_util.cc",
1957 "base/task/thread_pool/job_task_source.cc",
1958 "base/task/thread_pool/pooled_parallel_task_runner.cc",
1959 "base/task/thread_pool/pooled_sequenced_task_runner.cc",
1960 "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
1961 "base/task/thread_pool/pooled_task_runner_delegate.cc",
1962 "base/task/thread_pool/priority_queue.cc",
1963 "base/task/thread_pool/sequence.cc",
1964 "base/task/thread_pool/service_thread.cc",
1965 "base/task/thread_pool/task.cc",
1966 "base/task/thread_pool/task_source.cc",
1967 "base/task/thread_pool/task_source_sort_key.cc",
1968 "base/task/thread_pool/task_tracker.cc",
1969 "base/task/thread_pool/thread_group.cc",
1970 "base/task/thread_pool/thread_group_impl.cc",
1971 "base/task/thread_pool/thread_group_native.cc",
1972 "base/task/thread_pool/thread_pool_impl.cc",
1973 "base/task/thread_pool/thread_pool_instance.cc",
1974 "base/task/thread_pool/worker_thread.cc",
1975 "base/task/thread_pool/worker_thread_stack.cc",
1976 "base/third_party/cityhash/city.cc",
1977 "base/third_party/cityhash_v103/src/city_v103.cc",
1978 "base/third_party/nspr/prtime.cc",
1979 "base/third_party/superfasthash/superfasthash.c",
1980 "base/threading/hang_watcher.cc",
1981 "base/threading/platform_thread.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001982 "base/threading/platform_thread_internal_posix.cc",
1983 "base/threading/platform_thread_posix.cc",
1984 "base/threading/platform_thread_ref.cc",
1985 "base/threading/post_task_and_reply_impl.cc",
1986 "base/threading/scoped_blocking_call.cc",
1987 "base/threading/scoped_blocking_call_internal.cc",
1988 "base/threading/scoped_thread_priority.cc",
1989 "base/threading/sequence_local_storage_map.cc",
1990 "base/threading/sequence_local_storage_slot.cc",
1991 "base/threading/sequenced_task_runner_handle.cc",
1992 "base/threading/simple_thread.cc",
1993 "base/threading/thread.cc",
1994 "base/threading/thread_checker.cc",
1995 "base/threading/thread_checker_impl.cc",
1996 "base/threading/thread_collision_warner.cc",
1997 "base/threading/thread_id_name_manager.cc",
1998 "base/threading/thread_local_storage.cc",
1999 "base/threading/thread_local_storage_posix.cc",
2000 "base/threading/thread_restrictions.cc",
2001 "base/threading/thread_task_runner_handle.cc",
2002 "base/threading/watchdog.cc",
2003 "base/time/clock.cc",
2004 "base/time/default_clock.cc",
2005 "base/time/default_tick_clock.cc",
2006 "base/time/tick_clock.cc",
2007 "base/time/time.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002008 "base/time/time_conversion_posix.cc",
2009 "base/time/time_delta_from_string.cc",
2010 "base/time/time_exploded_icu.cc",
2011 "base/time/time_exploded_posix.cc",
2012 "base/time/time_now_posix.cc",
2013 "base/time/time_override.cc",
2014 "base/time/time_to_iso8601.cc",
2015 "base/timer/elapsed_timer.cc",
2016 "base/timer/hi_res_timer_manager_posix.cc",
2017 "base/timer/lap_timer.cc",
2018 "base/timer/timer.cc",
2019 "base/timer/wall_clock_timer.cc",
2020 "base/token.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002021 "base/trace_event/heap_profiler_allocation_context.cc",
2022 "base/trace_event/heap_profiler_allocation_context_tracker.cc",
2023 "base/trace_event/memory_allocator_dump_guid.cc",
2024 "base/trace_event/trace_event_stub.cc",
2025 "base/trace_event/trace_id_helper.cc",
2026 "base/unguessable_token.cc",
2027 "base/value_iterators.cc",
2028 "base/values.cc",
2029 "base/version.cc",
2030 "base/vlog.cc",
2031 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07002032 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002033 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
2034 "cronet_aml_base_base_static__testing",
2035 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
2036 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
2037 "cronet_aml_third_party_boringssl_boringssl__testing",
2038 "cronet_aml_third_party_icu_icui18n__testing",
2039 "cronet_aml_third_party_icu_icuuc_private__testing",
2040 "cronet_aml_third_party_libevent_libevent__testing",
2041 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002042 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002043 host_supported: true,
Motomu Utsumie74bab82022-12-16 18:00:12 +09002044 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002045 "cronet_aml_base_allocator_buildflags__testing",
2046 "cronet_aml_base_anchor_functions_buildflags__testing",
2047 "cronet_aml_base_build_date__testing",
2048 "cronet_aml_base_cfi_buildflags__testing",
2049 "cronet_aml_base_clang_profiling_buildflags__testing",
2050 "cronet_aml_base_debugging_buildflags__testing",
2051 "cronet_aml_base_feature_list_buildflags__testing",
2052 "cronet_aml_base_ios_cronet_buildflags__testing",
2053 "cronet_aml_base_logging_buildflags__testing",
2054 "cronet_aml_base_message_pump_buildflags__testing",
2055 "cronet_aml_base_orderfile_buildflags__testing",
2056 "cronet_aml_base_parsing_buildflags__testing",
2057 "cronet_aml_base_power_monitor_buildflags__testing",
2058 "cronet_aml_base_profiler_buildflags__testing",
2059 "cronet_aml_base_sanitizer_buildflags__testing",
2060 "cronet_aml_base_synchronization_buildflags__testing",
2061 "cronet_aml_base_tracing_buildflags__testing",
2062 "cronet_aml_build_branding_buildflags__testing",
2063 "cronet_aml_build_chromecast_buildflags__testing",
2064 "cronet_aml_build_chromeos_buildflags__testing",
2065 "cronet_aml_build_config_compiler_compiler_buildflags__testing",
Motomu Utsumie74bab82022-12-16 18:00:12 +09002066 ],
2067 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002068 "cronet_aml_base_allocator_buildflags__testing",
2069 "cronet_aml_base_anchor_functions_buildflags__testing",
2070 "cronet_aml_base_build_date__testing",
2071 "cronet_aml_base_cfi_buildflags__testing",
2072 "cronet_aml_base_clang_profiling_buildflags__testing",
2073 "cronet_aml_base_debugging_buildflags__testing",
2074 "cronet_aml_base_feature_list_buildflags__testing",
2075 "cronet_aml_base_ios_cronet_buildflags__testing",
2076 "cronet_aml_base_logging_buildflags__testing",
2077 "cronet_aml_base_message_pump_buildflags__testing",
2078 "cronet_aml_base_orderfile_buildflags__testing",
2079 "cronet_aml_base_parsing_buildflags__testing",
2080 "cronet_aml_base_power_monitor_buildflags__testing",
2081 "cronet_aml_base_profiler_buildflags__testing",
2082 "cronet_aml_base_sanitizer_buildflags__testing",
2083 "cronet_aml_base_synchronization_buildflags__testing",
2084 "cronet_aml_base_tracing_buildflags__testing",
2085 "cronet_aml_build_branding_buildflags__testing",
2086 "cronet_aml_build_chromecast_buildflags__testing",
2087 "cronet_aml_build_chromeos_buildflags__testing",
2088 "cronet_aml_build_config_compiler_compiler_buildflags__testing",
Patrick Rohrbaaf1602022-12-22 14:02:48 -08002089 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07002090 defaults: [
2091 "cronet_aml_defaults",
2092 ],
2093 cflags: [
Patrick Rohrcc377df2022-10-28 09:27:15 -07002094 "-DBASE_IMPLEMENTATION",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09002095 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
2096 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09002097 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002098 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +09002099 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09002100 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09002101 "-DNVALGRIND",
2102 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002103 "-DUSE_CHROMIUM_ICU=1",
2104 "-DU_ENABLE_DYLOAD=0",
2105 "-DU_ENABLE_RESOURCE_TRACING=0",
2106 "-DU_ENABLE_TRACING=1",
2107 "-DU_STATIC_IMPLEMENTATION",
2108 "-DU_USING_ICU_NAMESPACE=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09002109 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002110 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002111 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002112 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2113 "-D__STDC_CONSTANT_MACROS",
2114 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002115 "-O2",
2116 "-fdata-sections",
2117 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09002118 "-fno-asynchronous-unwind-tables",
2119 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002120 "-fvisibility-inlines-hidden",
2121 "-fvisibility=hidden",
2122 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002123 ],
2124 local_include_dirs: [
2125 "./",
2126 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07002127 "buildtools/third_party/libc++/trunk/include",
2128 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002129 "third_party/abseil-cpp/",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002130 "third_party/boringssl/src/include/",
2131 "third_party/icu/source/common/",
2132 "third_party/icu/source/i18n/",
2133 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09002134 ldflags: [
2135 "-Wl,--as-needed",
2136 "-Wl,--gc-sections",
2137 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +00002138 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09002139 ],
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08002140 target: {
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002141 android: {
2142 shared_libs: [
2143 "libandroid",
2144 "liblog",
2145 ],
2146 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002147 android_arm: {
2148 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002149 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
2150 ":cronet_aml_third_party_ashmem_ashmem__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002151 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
2152 "base/android/android_hardware_buffer_compat.cc",
2153 "base/android/android_image_reader_compat.cc",
2154 "base/android/apk_assets.cc",
2155 "base/android/application_status_listener.cc",
2156 "base/android/base_feature_list.cc",
2157 "base/android/base_features.cc",
2158 "base/android/base_jni_onload.cc",
2159 "base/android/build_info.cc",
2160 "base/android/bundle_utils.cc",
2161 "base/android/callback_android.cc",
2162 "base/android/child_process_service.cc",
2163 "base/android/command_line_android.cc",
2164 "base/android/content_uri_utils.cc",
2165 "base/android/cpu_features.cc",
2166 "base/android/early_trace_event_binding.cc",
2167 "base/android/event_log.cc",
2168 "base/android/feature_list_jni.cc",
2169 "base/android/features_jni.cc",
2170 "base/android/field_trial_list.cc",
2171 "base/android/important_file_writer_android.cc",
2172 "base/android/int_string_callback.cc",
2173 "base/android/jank_metric_uma_recorder.cc",
2174 "base/android/java_exception_reporter.cc",
2175 "base/android/java_handler_thread.cc",
2176 "base/android/java_heap_dump_generator.cc",
2177 "base/android/java_runtime.cc",
2178 "base/android/jni_android.cc",
2179 "base/android/jni_array.cc",
2180 "base/android/jni_registrar.cc",
2181 "base/android/jni_string.cc",
2182 "base/android/jni_utils.cc",
2183 "base/android/jni_weak_ref.cc",
2184 "base/android/library_loader/anchor_functions.cc",
2185 "base/android/library_loader/library_loader_hooks.cc",
2186 "base/android/library_loader/library_prefetcher.cc",
2187 "base/android/library_loader/library_prefetcher_hooks.cc",
2188 "base/android/locale_utils.cc",
2189 "base/android/memory_pressure_listener_android.cc",
2190 "base/android/native_uma_recorder.cc",
2191 "base/android/path_service_android.cc",
2192 "base/android/path_utils.cc",
2193 "base/android/radio_utils.cc",
2194 "base/android/reached_addresses_bitset.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002195 "base/android/reached_code_profiler.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002196 "base/android/remove_stale_data.cc",
2197 "base/android/scoped_hardware_buffer_fence_sync.cc",
2198 "base/android/scoped_hardware_buffer_handle.cc",
2199 "base/android/scoped_java_ref.cc",
2200 "base/android/statistics_recorder_android.cc",
2201 "base/android/sys_utils.cc",
2202 "base/android/task_scheduler/post_task_android.cc",
2203 "base/android/task_scheduler/task_runner_android.cc",
2204 "base/android/thread_instruction_count.cc",
2205 "base/android/timezone_utils.cc",
2206 "base/android/trace_event_binding.cc",
2207 "base/android/unguessable_token_android.cc",
2208 "base/base_paths_android.cc",
2209 "base/debug/stack_trace_android.cc",
2210 "base/files/file_util_android.cc",
2211 "base/files/scoped_file_android.cc",
2212 "base/memory/platform_shared_memory_mapper_android.cc",
2213 "base/memory/platform_shared_memory_region_android.cc",
2214 "base/message_loop/message_pump_android.cc",
2215 "base/os_compat_android.cc",
2216 "base/power_monitor/power_monitor_device_source_android.cc",
2217 "base/process/process_android.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002218 "base/profiler/chrome_unwind_info_android.cc",
2219 "base/profiler/chrome_unwinder_android.cc",
2220 "base/profiler/chrome_unwinder_android_v2.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002221 "base/profiler/stack_sampler_android.cc",
2222 "base/system/sys_info_android.cc",
2223 "base/threading/platform_thread_android.cc",
2224 "base/time/time_android.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002225 "base/trace_event/cfi_backtrace_android.cc",
2226 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +09002227 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002228 "-DANDROID",
2229 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2230 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002231 "-fstack-protector",
2232 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002233 local_include_dirs: [
2234 "third_party/android_ndk/sources/android/cpufeatures/",
2235 ],
2236 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002237 "cronet_aml_base_android_runtime_jni_headers__testing",
2238 "cronet_aml_base_base_jni_headers__testing",
2239 "cronet_aml_base_debugging_buildflags__testing",
2240 "cronet_aml_base_logging_buildflags__testing",
2241 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002242 ],
2243 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002244 "cronet_aml_base_android_runtime_jni_headers__testing",
2245 "cronet_aml_base_base_jni_headers__testing",
2246 "cronet_aml_base_debugging_buildflags__testing",
2247 "cronet_aml_base_logging_buildflags__testing",
2248 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002249 ],
2250 ldflags: [
2251 "-Wl,-wrap,asprintf",
2252 "-Wl,-wrap,calloc",
2253 "-Wl,-wrap,free",
2254 "-Wl,-wrap,getcwd",
2255 "-Wl,-wrap,malloc",
2256 "-Wl,-wrap,malloc_usable_size",
2257 "-Wl,-wrap,memalign",
2258 "-Wl,-wrap,posix_memalign",
2259 "-Wl,-wrap,pvalloc",
2260 "-Wl,-wrap,realloc",
2261 "-Wl,-wrap,realpath",
2262 "-Wl,-wrap,strdup",
2263 "-Wl,-wrap,strndup",
2264 "-Wl,-wrap,valloc",
2265 "-Wl,-wrap,vasprintf",
2266 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002267 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002268 android_arm64: {
2269 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002270 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
2271 ":cronet_aml_third_party_ashmem_ashmem__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002272 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
2273 "base/android/android_hardware_buffer_compat.cc",
2274 "base/android/android_image_reader_compat.cc",
2275 "base/android/apk_assets.cc",
2276 "base/android/application_status_listener.cc",
2277 "base/android/base_feature_list.cc",
2278 "base/android/base_features.cc",
2279 "base/android/base_jni_onload.cc",
2280 "base/android/build_info.cc",
2281 "base/android/bundle_utils.cc",
2282 "base/android/callback_android.cc",
2283 "base/android/child_process_service.cc",
2284 "base/android/command_line_android.cc",
2285 "base/android/content_uri_utils.cc",
2286 "base/android/cpu_features.cc",
2287 "base/android/early_trace_event_binding.cc",
2288 "base/android/event_log.cc",
2289 "base/android/feature_list_jni.cc",
2290 "base/android/features_jni.cc",
2291 "base/android/field_trial_list.cc",
2292 "base/android/important_file_writer_android.cc",
2293 "base/android/int_string_callback.cc",
2294 "base/android/jank_metric_uma_recorder.cc",
2295 "base/android/java_exception_reporter.cc",
2296 "base/android/java_handler_thread.cc",
2297 "base/android/java_heap_dump_generator.cc",
2298 "base/android/java_runtime.cc",
2299 "base/android/jni_android.cc",
2300 "base/android/jni_array.cc",
2301 "base/android/jni_registrar.cc",
2302 "base/android/jni_string.cc",
2303 "base/android/jni_utils.cc",
2304 "base/android/jni_weak_ref.cc",
2305 "base/android/library_loader/anchor_functions.cc",
2306 "base/android/library_loader/library_loader_hooks.cc",
2307 "base/android/library_loader/library_prefetcher.cc",
2308 "base/android/library_loader/library_prefetcher_hooks.cc",
2309 "base/android/locale_utils.cc",
2310 "base/android/memory_pressure_listener_android.cc",
2311 "base/android/native_uma_recorder.cc",
2312 "base/android/path_service_android.cc",
2313 "base/android/path_utils.cc",
2314 "base/android/radio_utils.cc",
2315 "base/android/reached_addresses_bitset.cc",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002316 "base/android/reached_code_profiler.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002317 "base/android/remove_stale_data.cc",
2318 "base/android/scoped_hardware_buffer_fence_sync.cc",
2319 "base/android/scoped_hardware_buffer_handle.cc",
2320 "base/android/scoped_java_ref.cc",
2321 "base/android/statistics_recorder_android.cc",
2322 "base/android/sys_utils.cc",
2323 "base/android/task_scheduler/post_task_android.cc",
2324 "base/android/task_scheduler/task_runner_android.cc",
2325 "base/android/thread_instruction_count.cc",
2326 "base/android/timezone_utils.cc",
2327 "base/android/trace_event_binding.cc",
2328 "base/android/unguessable_token_android.cc",
2329 "base/base_paths_android.cc",
2330 "base/debug/stack_trace_android.cc",
2331 "base/files/file_util_android.cc",
2332 "base/files/scoped_file_android.cc",
2333 "base/memory/platform_shared_memory_mapper_android.cc",
2334 "base/memory/platform_shared_memory_region_android.cc",
2335 "base/message_loop/message_pump_android.cc",
2336 "base/os_compat_android.cc",
2337 "base/power_monitor/power_monitor_device_source_android.cc",
2338 "base/process/process_android.cc",
2339 "base/profiler/stack_sampler_android.cc",
2340 "base/system/sys_info_android.cc",
2341 "base/threading/platform_thread_android.cc",
2342 "base/time/time_android.cc",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002343 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +09002344 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002345 "-DANDROID",
2346 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2347 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002348 "-fstack-protector",
2349 "-mno-outline",
2350 "-mno-outline-atomics",
2351 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002352 local_include_dirs: [
2353 "third_party/android_ndk/sources/android/cpufeatures/",
2354 ],
2355 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002356 "cronet_aml_base_android_runtime_jni_headers__testing",
2357 "cronet_aml_base_base_jni_headers__testing",
2358 "cronet_aml_base_debugging_buildflags__testing",
2359 "cronet_aml_base_logging_buildflags__testing",
2360 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002361 ],
2362 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002363 "cronet_aml_base_android_runtime_jni_headers__testing",
2364 "cronet_aml_base_base_jni_headers__testing",
2365 "cronet_aml_base_debugging_buildflags__testing",
2366 "cronet_aml_base_logging_buildflags__testing",
2367 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002368 ],
2369 ldflags: [
2370 "-Wl,-wrap,asprintf",
2371 "-Wl,-wrap,calloc",
2372 "-Wl,-wrap,free",
2373 "-Wl,-wrap,getcwd",
2374 "-Wl,-wrap,malloc",
2375 "-Wl,-wrap,malloc_usable_size",
2376 "-Wl,-wrap,memalign",
2377 "-Wl,-wrap,posix_memalign",
2378 "-Wl,-wrap,pvalloc",
2379 "-Wl,-wrap,realloc",
2380 "-Wl,-wrap,realpath",
2381 "-Wl,-wrap,strdup",
2382 "-Wl,-wrap,strndup",
2383 "-Wl,-wrap,valloc",
2384 "-Wl,-wrap,vasprintf",
2385 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002386 },
Motomu Utsumi65501182022-11-18 15:26:35 +09002387 android_x86: {
2388 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002389 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
2390 ":cronet_aml_third_party_ashmem_ashmem__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002391 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
2392 "base/android/android_hardware_buffer_compat.cc",
2393 "base/android/android_image_reader_compat.cc",
2394 "base/android/apk_assets.cc",
2395 "base/android/application_status_listener.cc",
2396 "base/android/base_feature_list.cc",
2397 "base/android/base_features.cc",
2398 "base/android/base_jni_onload.cc",
2399 "base/android/build_info.cc",
2400 "base/android/bundle_utils.cc",
2401 "base/android/callback_android.cc",
2402 "base/android/child_process_service.cc",
2403 "base/android/command_line_android.cc",
2404 "base/android/content_uri_utils.cc",
2405 "base/android/cpu_features.cc",
2406 "base/android/early_trace_event_binding.cc",
2407 "base/android/event_log.cc",
2408 "base/android/feature_list_jni.cc",
2409 "base/android/features_jni.cc",
2410 "base/android/field_trial_list.cc",
2411 "base/android/important_file_writer_android.cc",
2412 "base/android/int_string_callback.cc",
2413 "base/android/jank_metric_uma_recorder.cc",
2414 "base/android/java_exception_reporter.cc",
2415 "base/android/java_handler_thread.cc",
2416 "base/android/java_heap_dump_generator.cc",
2417 "base/android/java_runtime.cc",
2418 "base/android/jni_android.cc",
2419 "base/android/jni_array.cc",
2420 "base/android/jni_registrar.cc",
2421 "base/android/jni_string.cc",
2422 "base/android/jni_utils.cc",
2423 "base/android/jni_weak_ref.cc",
2424 "base/android/library_loader/anchor_functions.cc",
2425 "base/android/library_loader/library_loader_hooks.cc",
2426 "base/android/library_loader/library_prefetcher.cc",
2427 "base/android/library_loader/library_prefetcher_hooks.cc",
2428 "base/android/locale_utils.cc",
2429 "base/android/memory_pressure_listener_android.cc",
2430 "base/android/native_uma_recorder.cc",
2431 "base/android/path_service_android.cc",
2432 "base/android/path_utils.cc",
2433 "base/android/radio_utils.cc",
2434 "base/android/reached_addresses_bitset.cc",
Motomu Utsumi65501182022-11-18 15:26:35 +09002435 "base/android/reached_code_profiler_stub.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002436 "base/android/remove_stale_data.cc",
2437 "base/android/scoped_hardware_buffer_fence_sync.cc",
2438 "base/android/scoped_hardware_buffer_handle.cc",
2439 "base/android/scoped_java_ref.cc",
2440 "base/android/statistics_recorder_android.cc",
2441 "base/android/sys_utils.cc",
2442 "base/android/task_scheduler/post_task_android.cc",
2443 "base/android/task_scheduler/task_runner_android.cc",
2444 "base/android/thread_instruction_count.cc",
2445 "base/android/timezone_utils.cc",
2446 "base/android/trace_event_binding.cc",
2447 "base/android/unguessable_token_android.cc",
2448 "base/base_paths_android.cc",
2449 "base/debug/stack_trace_android.cc",
2450 "base/files/file_util_android.cc",
2451 "base/files/scoped_file_android.cc",
2452 "base/memory/platform_shared_memory_mapper_android.cc",
2453 "base/memory/platform_shared_memory_region_android.cc",
2454 "base/message_loop/message_pump_android.cc",
2455 "base/os_compat_android.cc",
2456 "base/power_monitor/power_monitor_device_source_android.cc",
2457 "base/process/process_android.cc",
2458 "base/profiler/stack_sampler_android.cc",
2459 "base/system/sys_info_android.cc",
2460 "base/threading/platform_thread_android.cc",
2461 "base/time/time_android.cc",
Motomu Utsumi65501182022-11-18 15:26:35 +09002462 ],
2463 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002464 "-DANDROID",
2465 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2466 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002467 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09002468 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002469 local_include_dirs: [
2470 "third_party/android_ndk/sources/android/cpufeatures/",
2471 ],
2472 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002473 "cronet_aml_base_android_runtime_jni_headers__testing",
2474 "cronet_aml_base_base_jni_headers__testing",
2475 "cronet_aml_base_debugging_buildflags__testing",
2476 "cronet_aml_base_logging_buildflags__testing",
2477 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002478 ],
2479 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002480 "cronet_aml_base_android_runtime_jni_headers__testing",
2481 "cronet_aml_base_base_jni_headers__testing",
2482 "cronet_aml_base_debugging_buildflags__testing",
2483 "cronet_aml_base_logging_buildflags__testing",
2484 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002485 ],
2486 ldflags: [
2487 "-Wl,-wrap,asprintf",
2488 "-Wl,-wrap,calloc",
2489 "-Wl,-wrap,free",
2490 "-Wl,-wrap,getcwd",
2491 "-Wl,-wrap,malloc",
2492 "-Wl,-wrap,malloc_usable_size",
2493 "-Wl,-wrap,memalign",
2494 "-Wl,-wrap,posix_memalign",
2495 "-Wl,-wrap,pvalloc",
2496 "-Wl,-wrap,realloc",
2497 "-Wl,-wrap,realpath",
2498 "-Wl,-wrap,strdup",
2499 "-Wl,-wrap,strndup",
2500 "-Wl,-wrap,valloc",
2501 "-Wl,-wrap,vasprintf",
2502 ],
Motomu Utsumi65501182022-11-18 15:26:35 +09002503 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08002504 android_x86_64: {
2505 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002506 ":cronet_aml_third_party_android_ndk_cpu_features__testing",
2507 ":cronet_aml_third_party_ashmem_ashmem__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002508 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
2509 "base/android/android_hardware_buffer_compat.cc",
2510 "base/android/android_image_reader_compat.cc",
2511 "base/android/apk_assets.cc",
2512 "base/android/application_status_listener.cc",
2513 "base/android/base_feature_list.cc",
2514 "base/android/base_features.cc",
2515 "base/android/base_jni_onload.cc",
2516 "base/android/build_info.cc",
2517 "base/android/bundle_utils.cc",
2518 "base/android/callback_android.cc",
2519 "base/android/child_process_service.cc",
2520 "base/android/command_line_android.cc",
2521 "base/android/content_uri_utils.cc",
2522 "base/android/cpu_features.cc",
2523 "base/android/early_trace_event_binding.cc",
2524 "base/android/event_log.cc",
2525 "base/android/feature_list_jni.cc",
2526 "base/android/features_jni.cc",
2527 "base/android/field_trial_list.cc",
2528 "base/android/important_file_writer_android.cc",
2529 "base/android/int_string_callback.cc",
2530 "base/android/jank_metric_uma_recorder.cc",
2531 "base/android/java_exception_reporter.cc",
2532 "base/android/java_handler_thread.cc",
2533 "base/android/java_heap_dump_generator.cc",
2534 "base/android/java_runtime.cc",
2535 "base/android/jni_android.cc",
2536 "base/android/jni_array.cc",
2537 "base/android/jni_registrar.cc",
2538 "base/android/jni_string.cc",
2539 "base/android/jni_utils.cc",
2540 "base/android/jni_weak_ref.cc",
2541 "base/android/library_loader/anchor_functions.cc",
2542 "base/android/library_loader/library_loader_hooks.cc",
2543 "base/android/library_loader/library_prefetcher.cc",
2544 "base/android/library_loader/library_prefetcher_hooks.cc",
2545 "base/android/locale_utils.cc",
2546 "base/android/memory_pressure_listener_android.cc",
2547 "base/android/native_uma_recorder.cc",
2548 "base/android/path_service_android.cc",
2549 "base/android/path_utils.cc",
2550 "base/android/radio_utils.cc",
2551 "base/android/reached_addresses_bitset.cc",
Patrick Rohr3b5ff762022-11-16 10:22:16 -08002552 "base/android/reached_code_profiler_stub.cc",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002553 "base/android/remove_stale_data.cc",
2554 "base/android/scoped_hardware_buffer_fence_sync.cc",
2555 "base/android/scoped_hardware_buffer_handle.cc",
2556 "base/android/scoped_java_ref.cc",
2557 "base/android/statistics_recorder_android.cc",
2558 "base/android/sys_utils.cc",
2559 "base/android/task_scheduler/post_task_android.cc",
2560 "base/android/task_scheduler/task_runner_android.cc",
2561 "base/android/thread_instruction_count.cc",
2562 "base/android/timezone_utils.cc",
2563 "base/android/trace_event_binding.cc",
2564 "base/android/unguessable_token_android.cc",
2565 "base/base_paths_android.cc",
2566 "base/debug/stack_trace_android.cc",
2567 "base/files/file_util_android.cc",
2568 "base/files/scoped_file_android.cc",
2569 "base/memory/platform_shared_memory_mapper_android.cc",
2570 "base/memory/platform_shared_memory_region_android.cc",
2571 "base/message_loop/message_pump_android.cc",
2572 "base/os_compat_android.cc",
2573 "base/power_monitor/power_monitor_device_source_android.cc",
2574 "base/process/process_android.cc",
2575 "base/profiler/stack_sampler_android.cc",
2576 "base/system/sys_info_android.cc",
2577 "base/threading/platform_thread_android.cc",
2578 "base/time/time_android.cc",
Patrick Rohr3b5ff762022-11-16 10:22:16 -08002579 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09002580 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002581 "-DANDROID",
2582 "-DANDROID_NDK_VERSION_ROLL=r23_1",
2583 "-DHAVE_SYS_UIO_H",
2584 "-fstack-protector",
2585 "-msse3",
2586 ],
2587 local_include_dirs: [
2588 "third_party/android_ndk/sources/android/cpufeatures/",
2589 ],
2590 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002591 "cronet_aml_base_android_runtime_jni_headers__testing",
2592 "cronet_aml_base_base_jni_headers__testing",
2593 "cronet_aml_base_debugging_buildflags__testing",
2594 "cronet_aml_base_logging_buildflags__testing",
2595 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002596 ],
2597 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002598 "cronet_aml_base_android_runtime_jni_headers__testing",
2599 "cronet_aml_base_base_jni_headers__testing",
2600 "cronet_aml_base_debugging_buildflags__testing",
2601 "cronet_aml_base_logging_buildflags__testing",
2602 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002603 ],
2604 ldflags: [
2605 "-Wl,-wrap,asprintf",
2606 "-Wl,-wrap,calloc",
2607 "-Wl,-wrap,free",
2608 "-Wl,-wrap,getcwd",
2609 "-Wl,-wrap,malloc",
2610 "-Wl,-wrap,malloc_usable_size",
2611 "-Wl,-wrap,memalign",
2612 "-Wl,-wrap,posix_memalign",
2613 "-Wl,-wrap,pvalloc",
2614 "-Wl,-wrap,realloc",
2615 "-Wl,-wrap,realpath",
2616 "-Wl,-wrap,strdup",
2617 "-Wl,-wrap,strndup",
2618 "-Wl,-wrap,valloc",
2619 "-Wl,-wrap,vasprintf",
2620 ],
2621 },
2622 host: {
2623 srcs: [
2624 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_glibc.cc",
2625 "base/base_paths_posix.cc",
2626 "base/debug/stack_trace_posix.cc",
2627 "base/files/file_util_linux.cc",
2628 "base/files/scoped_file_linux.cc",
2629 "base/memory/platform_shared_memory_mapper_posix.cc",
2630 "base/memory/platform_shared_memory_region_posix.cc",
2631 "base/nix/mime_util_xdg.cc",
2632 "base/nix/xdg_util.cc",
2633 "base/power_monitor/power_monitor_device_source_stub.cc",
2634 "base/process/process_linux.cc",
2635 "base/profiler/stack_sampler_posix.cc",
2636 "base/stack_canary_linux.cc",
2637 "base/threading/platform_thread_linux.cc",
2638 ],
2639 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002640 "cronet_aml_base_third_party_symbolize_symbolize__testing",
2641 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
2642 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00002643 ],
2644 cflags: [
2645 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
2646 "-DGLOG_EXPORT=",
2647 "-DUSE_AURA=1",
2648 "-DUSE_OZONE=1",
2649 "-DUSE_SYMBOLIZE",
2650 "-DUSE_UDEV",
2651 "-D_FILE_OFFSET_BITS=64",
2652 "-D_LARGEFILE64_SOURCE",
2653 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09002654 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002655 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09002656 ],
Patrick Rohr3b5ff762022-11-16 10:22:16 -08002657 },
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08002658 },
Patrick Rohrcc377df2022-10-28 09:27:15 -07002659}
2660
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002661// GN: //base:base_android_java_enums_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00002662java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002663 name: "cronet_aml_base_base_android_java_enums_srcjar",
2664 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00002665 "$(out) " +
2666 "$(location base/android/application_status_listener.h) " +
2667 "$(location base/android/child_process_binding_types.h) " +
2668 "$(location base/android/library_loader/library_loader_hooks.h) " +
2669 "$(location base/android/linker/modern_linker_jni.h) " +
2670 "$(location base/android/task_scheduler/task_runner_android.h) " +
2671 "$(location base/memory/memory_pressure_listener.h) " +
2672 "$(location base/metrics/histogram_base.h) " +
2673 "$(location base/task/task_traits.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002674 out: [
2675 "base/base_android_java_enums_srcjar.srcjar",
2676 ],
2677 tool_files: [
2678 "base/android/application_status_listener.h",
2679 "base/android/child_process_binding_types.h",
2680 "base/android/library_loader/library_loader_hooks.h",
2681 "base/android/linker/modern_linker_jni.h",
2682 "base/android/task_scheduler/task_runner_android.h",
2683 "base/memory/memory_pressure_listener.h",
2684 "base/metrics/histogram_base.h",
2685 "base/task/task_traits.h",
2686 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09002687 "build/android/gyp/util/__init__.py",
2688 "build/android/gyp/util/build_utils.py",
2689 "build/android/gyp/util/java_cpp_utils.py",
2690 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002691 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00002692}
2693
Motomu Utsumie74bab82022-12-16 18:00:12 +09002694// GN: //base:base_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002695cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09002696 name: "cronet_aml_base_base_jni_headers",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002697 srcs: [
2698 "base/android/java/src/org/chromium/base/ApkAssets.java",
2699 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
2700 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
2701 "base/android/java/src/org/chromium/base/BuildInfo.java",
2702 "base/android/java/src/org/chromium/base/BundleUtils.java",
2703 "base/android/java/src/org/chromium/base/Callback.java",
2704 "base/android/java/src/org/chromium/base/CommandLine.java",
2705 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
2706 "base/android/java/src/org/chromium/base/CpuFeatures.java",
2707 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
2708 "base/android/java/src/org/chromium/base/EventLog.java",
2709 "base/android/java/src/org/chromium/base/FeatureList.java",
2710 "base/android/java/src/org/chromium/base/Features.java",
2711 "base/android/java/src/org/chromium/base/FieldTrialList.java",
2712 "base/android/java/src/org/chromium/base/FileUtils.java",
2713 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
2714 "base/android/java/src/org/chromium/base/IntStringCallback.java",
2715 "base/android/java/src/org/chromium/base/JNIUtils.java",
2716 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
2717 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
2718 "base/android/java/src/org/chromium/base/LocaleUtils.java",
2719 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
2720 "base/android/java/src/org/chromium/base/PathService.java",
2721 "base/android/java/src/org/chromium/base/PathUtils.java",
Motomu Utsumi3fb45662023-01-16 15:09:56 +09002722 "base/android/java/src/org/chromium/base/PiiElider.java",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002723 "base/android/java/src/org/chromium/base/PowerMonitor.java",
2724 "base/android/java/src/org/chromium/base/RadioUtils.java",
2725 "base/android/java/src/org/chromium/base/SysUtils.java",
2726 "base/android/java/src/org/chromium/base/ThreadUtils.java",
2727 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
2728 "base/android/java/src/org/chromium/base/TraceEvent.java",
2729 "base/android/java/src/org/chromium/base/UnguessableToken.java",
2730 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
2731 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
2732 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
2733 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
2734 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
2735 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
2736 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
2737 "base/android/java/src/org/chromium/base/task/PostTask.java",
2738 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
2739 ],
Patrick Rohr9b99a982022-10-28 11:00:57 -07002740 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2741 "long " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002742 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -07002743 "$(genDir)/base/base_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002744 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -07002745 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002746 "--use_proxy_hash " +
2747 "--output_name " +
2748 "ApkAssets_jni.h " +
2749 "--output_name " +
2750 "ApplicationStatus_jni.h " +
2751 "--output_name " +
2752 "BaseFeatureList_jni.h " +
2753 "--output_name " +
2754 "BuildInfo_jni.h " +
2755 "--output_name " +
2756 "BundleUtils_jni.h " +
2757 "--output_name " +
2758 "Callback_jni.h " +
2759 "--output_name " +
2760 "CommandLine_jni.h " +
2761 "--output_name " +
2762 "ContentUriUtils_jni.h " +
2763 "--output_name " +
2764 "CpuFeatures_jni.h " +
2765 "--output_name " +
2766 "EarlyTraceEvent_jni.h " +
2767 "--output_name " +
2768 "EventLog_jni.h " +
2769 "--output_name " +
2770 "FeatureList_jni.h " +
2771 "--output_name " +
2772 "Features_jni.h " +
2773 "--output_name " +
2774 "FieldTrialList_jni.h " +
2775 "--output_name " +
2776 "FileUtils_jni.h " +
2777 "--output_name " +
2778 "ImportantFileWriterAndroid_jni.h " +
2779 "--output_name " +
2780 "IntStringCallback_jni.h " +
2781 "--output_name " +
2782 "JNIUtils_jni.h " +
2783 "--output_name " +
2784 "JavaExceptionReporter_jni.h " +
2785 "--output_name " +
2786 "JavaHandlerThread_jni.h " +
2787 "--output_name " +
2788 "LocaleUtils_jni.h " +
2789 "--output_name " +
2790 "MemoryPressureListener_jni.h " +
2791 "--output_name " +
2792 "PathService_jni.h " +
2793 "--output_name " +
2794 "PathUtils_jni.h " +
2795 "--output_name " +
Motomu Utsumi3fb45662023-01-16 15:09:56 +09002796 "PiiElider_jni.h " +
2797 "--output_name " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002798 "PowerMonitor_jni.h " +
2799 "--output_name " +
2800 "RadioUtils_jni.h " +
2801 "--output_name " +
2802 "SysUtils_jni.h " +
2803 "--output_name " +
2804 "ThreadUtils_jni.h " +
2805 "--output_name " +
2806 "TimezoneUtils_jni.h " +
2807 "--output_name " +
2808 "TraceEvent_jni.h " +
2809 "--output_name " +
2810 "UnguessableToken_jni.h " +
2811 "--output_name " +
2812 "JankMetricUMARecorder_jni.h " +
2813 "--output_name " +
2814 "LibraryLoader_jni.h " +
2815 "--output_name " +
2816 "LibraryPrefetcher_jni.h " +
2817 "--output_name " +
2818 "JavaHeapDumpGenerator_jni.h " +
2819 "--output_name " +
2820 "NativeUmaRecorder_jni.h " +
2821 "--output_name " +
2822 "StatisticsRecorderAndroid_jni.h " +
2823 "--output_name " +
2824 "ChildProcessService_jni.h " +
2825 "--output_name " +
2826 "PostTask_jni.h " +
2827 "--output_name " +
2828 "TaskRunnerImpl_jni.h " +
2829 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002830 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002831 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002832 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.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/BaseFeatureList.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/BuildInfo.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/BundleUtils.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/Callback.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/CommandLine.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/ContentUriUtils.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/CpuFeatures.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/EarlyTraceEvent.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/EventLog.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/FeatureList.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/Features.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/FieldTrialList.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/FileUtils.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/ImportantFileWriterAndroid.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/IntStringCallback.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/JNIUtils.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/JavaExceptionReporter.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/JavaHandlerThread.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/LocaleUtils.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/MemoryPressureListener.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/PathService.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/PathUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002877 "--input_file " +
Motomu Utsumi3fb45662023-01-16 15:09:56 +09002878 "$(location base/android/java/src/org/chromium/base/PiiElider.java) " +
2879 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002880 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002881 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002882 "$(location base/android/java/src/org/chromium/base/RadioUtils.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/SysUtils.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/ThreadUtils.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/TimezoneUtils.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/TraceEvent.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/UnguessableToken.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/jank_tracker/JankMetricUMARecorder.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/library_loader/LibraryLoader.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/LibraryPrefetcher.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/memory/JavaHeapDumpGenerator.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/metrics/NativeUmaRecorder.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/StatisticsRecorderAndroid.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/process_launcher/ChildProcessService.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/task/PostTask.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002909 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00002910 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java) " +
2911 "--package_prefix " +
2912 "android.net.http.internal",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002913 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -07002914 "base/base_jni_headers/ApkAssets_jni.h",
2915 "base/base_jni_headers/ApplicationStatus_jni.h",
2916 "base/base_jni_headers/BaseFeatureList_jni.h",
2917 "base/base_jni_headers/BuildInfo_jni.h",
2918 "base/base_jni_headers/BundleUtils_jni.h",
2919 "base/base_jni_headers/Callback_jni.h",
2920 "base/base_jni_headers/ChildProcessService_jni.h",
2921 "base/base_jni_headers/CommandLine_jni.h",
2922 "base/base_jni_headers/ContentUriUtils_jni.h",
2923 "base/base_jni_headers/CpuFeatures_jni.h",
2924 "base/base_jni_headers/EarlyTraceEvent_jni.h",
2925 "base/base_jni_headers/EventLog_jni.h",
2926 "base/base_jni_headers/FeatureList_jni.h",
2927 "base/base_jni_headers/Features_jni.h",
2928 "base/base_jni_headers/FieldTrialList_jni.h",
2929 "base/base_jni_headers/FileUtils_jni.h",
2930 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
2931 "base/base_jni_headers/IntStringCallback_jni.h",
2932 "base/base_jni_headers/JNIUtils_jni.h",
2933 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
2934 "base/base_jni_headers/JavaExceptionReporter_jni.h",
2935 "base/base_jni_headers/JavaHandlerThread_jni.h",
2936 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
2937 "base/base_jni_headers/LibraryLoader_jni.h",
2938 "base/base_jni_headers/LibraryPrefetcher_jni.h",
2939 "base/base_jni_headers/LocaleUtils_jni.h",
2940 "base/base_jni_headers/MemoryPressureListener_jni.h",
2941 "base/base_jni_headers/NativeUmaRecorder_jni.h",
2942 "base/base_jni_headers/PathService_jni.h",
2943 "base/base_jni_headers/PathUtils_jni.h",
Motomu Utsumi3fb45662023-01-16 15:09:56 +09002944 "base/base_jni_headers/PiiElider_jni.h",
Patrick Rohrf1d08f82022-10-31 14:43:59 -07002945 "base/base_jni_headers/PostTask_jni.h",
2946 "base/base_jni_headers/PowerMonitor_jni.h",
2947 "base/base_jni_headers/RadioUtils_jni.h",
2948 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
2949 "base/base_jni_headers/SysUtils_jni.h",
2950 "base/base_jni_headers/TaskRunnerImpl_jni.h",
2951 "base/base_jni_headers/ThreadUtils_jni.h",
2952 "base/base_jni_headers/TimezoneUtils_jni.h",
2953 "base/base_jni_headers/TraceEvent_jni.h",
2954 "base/base_jni_headers/UnguessableToken_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002955 ],
2956 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00002957 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002958 "base/android/jni_generator/jni_generator.py",
2959 "build/android/gyp/util/__init__.py",
2960 "build/android/gyp/util/build_utils.py",
2961 "build/gn_helpers.py",
2962 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002963 apex_available: [
2964 "com.android.tethering",
2965 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07002966}
2967
Mohannad Farragedb2fd02023-02-10 14:53:41 +00002968// GN: //base:base_jni_headers__testing
2969cc_genrule {
2970 name: "cronet_aml_base_base_jni_headers__testing",
2971 srcs: [
2972 "base/android/java/src/org/chromium/base/ApkAssets.java",
2973 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
2974 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
2975 "base/android/java/src/org/chromium/base/BuildInfo.java",
2976 "base/android/java/src/org/chromium/base/BundleUtils.java",
2977 "base/android/java/src/org/chromium/base/Callback.java",
2978 "base/android/java/src/org/chromium/base/CommandLine.java",
2979 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
2980 "base/android/java/src/org/chromium/base/CpuFeatures.java",
2981 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
2982 "base/android/java/src/org/chromium/base/EventLog.java",
2983 "base/android/java/src/org/chromium/base/FeatureList.java",
2984 "base/android/java/src/org/chromium/base/Features.java",
2985 "base/android/java/src/org/chromium/base/FieldTrialList.java",
2986 "base/android/java/src/org/chromium/base/FileUtils.java",
2987 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
2988 "base/android/java/src/org/chromium/base/IntStringCallback.java",
2989 "base/android/java/src/org/chromium/base/JNIUtils.java",
2990 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
2991 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
2992 "base/android/java/src/org/chromium/base/LocaleUtils.java",
2993 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
2994 "base/android/java/src/org/chromium/base/PathService.java",
2995 "base/android/java/src/org/chromium/base/PathUtils.java",
2996 "base/android/java/src/org/chromium/base/PiiElider.java",
2997 "base/android/java/src/org/chromium/base/PowerMonitor.java",
2998 "base/android/java/src/org/chromium/base/RadioUtils.java",
2999 "base/android/java/src/org/chromium/base/SysUtils.java",
3000 "base/android/java/src/org/chromium/base/ThreadUtils.java",
3001 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
3002 "base/android/java/src/org/chromium/base/TraceEvent.java",
3003 "base/android/java/src/org/chromium/base/UnguessableToken.java",
3004 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
3005 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
3006 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
3007 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
3008 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
3009 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
3010 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
3011 "base/android/java/src/org/chromium/base/task/PostTask.java",
3012 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
3013 ],
3014 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
3015 "long " +
3016 "--output_dir " +
3017 "$(genDir)/base/base_jni_headers " +
3018 "--includes " +
3019 "base/android/jni_generator/jni_generator_helper.h " +
3020 "--use_proxy_hash " +
3021 "--output_name " +
3022 "ApkAssets_jni.h " +
3023 "--output_name " +
3024 "ApplicationStatus_jni.h " +
3025 "--output_name " +
3026 "BaseFeatureList_jni.h " +
3027 "--output_name " +
3028 "BuildInfo_jni.h " +
3029 "--output_name " +
3030 "BundleUtils_jni.h " +
3031 "--output_name " +
3032 "Callback_jni.h " +
3033 "--output_name " +
3034 "CommandLine_jni.h " +
3035 "--output_name " +
3036 "ContentUriUtils_jni.h " +
3037 "--output_name " +
3038 "CpuFeatures_jni.h " +
3039 "--output_name " +
3040 "EarlyTraceEvent_jni.h " +
3041 "--output_name " +
3042 "EventLog_jni.h " +
3043 "--output_name " +
3044 "FeatureList_jni.h " +
3045 "--output_name " +
3046 "Features_jni.h " +
3047 "--output_name " +
3048 "FieldTrialList_jni.h " +
3049 "--output_name " +
3050 "FileUtils_jni.h " +
3051 "--output_name " +
3052 "ImportantFileWriterAndroid_jni.h " +
3053 "--output_name " +
3054 "IntStringCallback_jni.h " +
3055 "--output_name " +
3056 "JNIUtils_jni.h " +
3057 "--output_name " +
3058 "JavaExceptionReporter_jni.h " +
3059 "--output_name " +
3060 "JavaHandlerThread_jni.h " +
3061 "--output_name " +
3062 "LocaleUtils_jni.h " +
3063 "--output_name " +
3064 "MemoryPressureListener_jni.h " +
3065 "--output_name " +
3066 "PathService_jni.h " +
3067 "--output_name " +
3068 "PathUtils_jni.h " +
3069 "--output_name " +
3070 "PiiElider_jni.h " +
3071 "--output_name " +
3072 "PowerMonitor_jni.h " +
3073 "--output_name " +
3074 "RadioUtils_jni.h " +
3075 "--output_name " +
3076 "SysUtils_jni.h " +
3077 "--output_name " +
3078 "ThreadUtils_jni.h " +
3079 "--output_name " +
3080 "TimezoneUtils_jni.h " +
3081 "--output_name " +
3082 "TraceEvent_jni.h " +
3083 "--output_name " +
3084 "UnguessableToken_jni.h " +
3085 "--output_name " +
3086 "JankMetricUMARecorder_jni.h " +
3087 "--output_name " +
3088 "LibraryLoader_jni.h " +
3089 "--output_name " +
3090 "LibraryPrefetcher_jni.h " +
3091 "--output_name " +
3092 "JavaHeapDumpGenerator_jni.h " +
3093 "--output_name " +
3094 "NativeUmaRecorder_jni.h " +
3095 "--output_name " +
3096 "StatisticsRecorderAndroid_jni.h " +
3097 "--output_name " +
3098 "ChildProcessService_jni.h " +
3099 "--output_name " +
3100 "PostTask_jni.h " +
3101 "--output_name " +
3102 "TaskRunnerImpl_jni.h " +
3103 "--input_file " +
3104 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
3105 "--input_file " +
3106 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
3107 "--input_file " +
3108 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
3109 "--input_file " +
3110 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
3111 "--input_file " +
3112 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
3113 "--input_file " +
3114 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
3115 "--input_file " +
3116 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
3117 "--input_file " +
3118 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
3119 "--input_file " +
3120 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
3121 "--input_file " +
3122 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
3123 "--input_file " +
3124 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
3125 "--input_file " +
3126 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
3127 "--input_file " +
3128 "$(location base/android/java/src/org/chromium/base/Features.java) " +
3129 "--input_file " +
3130 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
3131 "--input_file " +
3132 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
3133 "--input_file " +
3134 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
3135 "--input_file " +
3136 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
3137 "--input_file " +
3138 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
3139 "--input_file " +
3140 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
3141 "--input_file " +
3142 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
3143 "--input_file " +
3144 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
3145 "--input_file " +
3146 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
3147 "--input_file " +
3148 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
3149 "--input_file " +
3150 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
3151 "--input_file " +
3152 "$(location base/android/java/src/org/chromium/base/PiiElider.java) " +
3153 "--input_file " +
3154 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
3155 "--input_file " +
3156 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
3157 "--input_file " +
3158 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
3159 "--input_file " +
3160 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
3161 "--input_file " +
3162 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
3163 "--input_file " +
3164 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
3165 "--input_file " +
3166 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
3167 "--input_file " +
3168 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
3169 "--input_file " +
3170 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
3171 "--input_file " +
3172 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
3173 "--input_file " +
3174 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
3175 "--input_file " +
3176 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
3177 "--input_file " +
3178 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
3179 "--input_file " +
3180 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
3181 "--input_file " +
3182 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
3183 "--input_file " +
Mohannad Farragf27cd352023-02-10 17:41:19 +00003184 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003185 out: [
3186 "base/base_jni_headers/ApkAssets_jni.h",
3187 "base/base_jni_headers/ApplicationStatus_jni.h",
3188 "base/base_jni_headers/BaseFeatureList_jni.h",
3189 "base/base_jni_headers/BuildInfo_jni.h",
3190 "base/base_jni_headers/BundleUtils_jni.h",
3191 "base/base_jni_headers/Callback_jni.h",
3192 "base/base_jni_headers/ChildProcessService_jni.h",
3193 "base/base_jni_headers/CommandLine_jni.h",
3194 "base/base_jni_headers/ContentUriUtils_jni.h",
3195 "base/base_jni_headers/CpuFeatures_jni.h",
3196 "base/base_jni_headers/EarlyTraceEvent_jni.h",
3197 "base/base_jni_headers/EventLog_jni.h",
3198 "base/base_jni_headers/FeatureList_jni.h",
3199 "base/base_jni_headers/Features_jni.h",
3200 "base/base_jni_headers/FieldTrialList_jni.h",
3201 "base/base_jni_headers/FileUtils_jni.h",
3202 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
3203 "base/base_jni_headers/IntStringCallback_jni.h",
3204 "base/base_jni_headers/JNIUtils_jni.h",
3205 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
3206 "base/base_jni_headers/JavaExceptionReporter_jni.h",
3207 "base/base_jni_headers/JavaHandlerThread_jni.h",
3208 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
3209 "base/base_jni_headers/LibraryLoader_jni.h",
3210 "base/base_jni_headers/LibraryPrefetcher_jni.h",
3211 "base/base_jni_headers/LocaleUtils_jni.h",
3212 "base/base_jni_headers/MemoryPressureListener_jni.h",
3213 "base/base_jni_headers/NativeUmaRecorder_jni.h",
3214 "base/base_jni_headers/PathService_jni.h",
3215 "base/base_jni_headers/PathUtils_jni.h",
3216 "base/base_jni_headers/PiiElider_jni.h",
3217 "base/base_jni_headers/PostTask_jni.h",
3218 "base/base_jni_headers/PowerMonitor_jni.h",
3219 "base/base_jni_headers/RadioUtils_jni.h",
3220 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
3221 "base/base_jni_headers/SysUtils_jni.h",
3222 "base/base_jni_headers/TaskRunnerImpl_jni.h",
3223 "base/base_jni_headers/ThreadUtils_jni.h",
3224 "base/base_jni_headers/TimezoneUtils_jni.h",
3225 "base/base_jni_headers/TraceEvent_jni.h",
3226 "base/base_jni_headers/UnguessableToken_jni.h",
3227 ],
3228 tool_files: [
3229 "base/android/jni_generator/android_jar.classes",
3230 "base/android/jni_generator/jni_generator.py",
3231 "build/android/gyp/util/__init__.py",
3232 "build/android/gyp/util/build_utils.py",
3233 "build/gn_helpers.py",
3234 ],
3235 apex_available: [
3236 "com.android.tethering",
3237 ],
3238}
3239
Motomu Utsumibf569d42022-10-28 16:47:34 +09003240// GN: //base:base_static
3241cc_library_static {
3242 name: "cronet_aml_base_base_static",
3243 srcs: [
3244 "base/base_switches.cc",
3245 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +09003246 generated_headers: [
3247 "cronet_aml_build_chromeos_buildflags",
3248 ],
3249 export_generated_headers: [
3250 "cronet_aml_build_chromeos_buildflags",
3251 ],
Motomu Utsumibf569d42022-10-28 16:47:34 +09003252 defaults: [
3253 "cronet_aml_defaults",
3254 ],
3255 cflags: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003256 "-DANDROID",
3257 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3258 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
3259 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
3260 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
3261 "-DHAVE_SYS_UIO_H",
3262 "-DNDEBUG",
3263 "-DNO_UNWIND_TABLES",
3264 "-DNVALGRIND",
3265 "-DOFFICIAL_BUILD",
3266 "-D_FORTIFY_SOURCE=2",
3267 "-D_GNU_SOURCE",
3268 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3269 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3270 "-D__STDC_CONSTANT_MACROS",
3271 "-D__STDC_FORMAT_MACROS",
3272 "-O2",
3273 "-fdata-sections",
3274 "-ffunction-sections",
3275 "-fno-asynchronous-unwind-tables",
3276 "-fno-unwind-tables",
3277 "-fvisibility-inlines-hidden",
3278 "-fvisibility=hidden",
3279 "-g1",
3280 ],
3281 local_include_dirs: [
3282 "./",
3283 "buildtools/third_party/libc++/",
3284 "buildtools/third_party/libc++/trunk/include",
3285 "buildtools/third_party/libc++abi/trunk/include",
3286 ],
3287 cpp_std: "c++17",
3288 ldflags: [
3289 "-Wl,--as-needed",
3290 "-Wl,--gc-sections",
3291 "-Wl,--icf=all",
3292 ],
3293 target: {
3294 android_arm: {
3295 cflags: [
3296 "-fstack-protector",
3297 ],
3298 },
3299 android_arm64: {
3300 cflags: [
3301 "-fstack-protector",
3302 "-mno-outline",
3303 "-mno-outline-atomics",
3304 ],
3305 },
3306 android_x86: {
3307 cflags: [
3308 "-msse3",
3309 ],
3310 },
3311 android_x86_64: {
3312 cflags: [
3313 "-fstack-protector",
3314 "-msse3",
3315 ],
3316 },
3317 },
3318}
3319
3320// GN: //base:base_static__testing
3321cc_library_static {
3322 name: "cronet_aml_base_base_static__testing",
3323 srcs: [
3324 "base/base_switches.cc",
3325 ],
3326 host_supported: true,
3327 generated_headers: [
3328 "cronet_aml_build_chromeos_buildflags__testing",
3329 ],
3330 export_generated_headers: [
3331 "cronet_aml_build_chromeos_buildflags__testing",
3332 ],
3333 defaults: [
3334 "cronet_aml_defaults",
3335 ],
3336 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +09003337 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
3338 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09003339 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09003340 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003341 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09003342 "-DNVALGRIND",
3343 "-DOFFICIAL_BUILD",
3344 "-D_FORTIFY_SOURCE=2",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003345 "-D_GNU_SOURCE",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003346 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003347 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3348 "-D__STDC_CONSTANT_MACROS",
3349 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003350 "-O2",
3351 "-fdata-sections",
3352 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09003353 "-fno-asynchronous-unwind-tables",
3354 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003355 "-fvisibility-inlines-hidden",
3356 "-fvisibility=hidden",
3357 "-g1",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003358 ],
3359 local_include_dirs: [
3360 "./",
3361 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07003362 "buildtools/third_party/libc++/trunk/include",
3363 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumibf569d42022-10-28 16:47:34 +09003364 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09003365 ldflags: [
3366 "-Wl,--as-needed",
3367 "-Wl,--gc-sections",
3368 "-Wl,--icf=all",
3369 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09003370 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09003371 android_arm: {
3372 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003373 "-DANDROID",
3374 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3375 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003376 "-fstack-protector",
3377 ],
3378 },
3379 android_arm64: {
3380 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003381 "-DANDROID",
3382 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3383 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003384 "-fstack-protector",
3385 "-mno-outline",
3386 "-mno-outline-atomics",
3387 ],
3388 },
Motomu Utsumi65501182022-11-18 15:26:35 +09003389 android_x86: {
3390 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003391 "-DANDROID",
3392 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3393 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003394 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09003395 ],
3396 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09003397 android_x86_64: {
3398 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003399 "-DANDROID",
3400 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3401 "-DHAVE_SYS_UIO_H",
3402 "-fstack-protector",
3403 "-msse3",
3404 ],
3405 },
3406 host: {
3407 cflags: [
3408 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
3409 "-DUSE_AURA=1",
3410 "-DUSE_OZONE=1",
3411 "-DUSE_UDEV",
3412 "-D_FILE_OFFSET_BITS=64",
3413 "-D_LARGEFILE64_SOURCE",
3414 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09003415 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003416 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09003417 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09003418 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09003419 },
Motomu Utsumibf569d42022-10-28 16:47:34 +09003420}
3421
Motomu Utsumie74bab82022-12-16 18:00:12 +09003422// GN: //base:build_date
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003423cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003424 name: "cronet_aml_base_build_date",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003425 cmd: "$(location build/write_build_date_header.py) $(out) " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003426 "1676008584",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003427 out: [
3428 "base/generated_build_date.h",
3429 ],
3430 tool_files: [
3431 "build/write_build_date_header.py",
3432 ],
3433 apex_available: [
3434 "com.android.tethering",
3435 ],
3436}
3437
3438// GN: //base:build_date__testing
3439cc_genrule {
3440 name: "cronet_aml_base_build_date__testing",
3441 cmd: "$(location build/write_build_date_header.py) $(out) " +
3442 "1676008584",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003443 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003444 out: [
3445 "base/generated_build_date.h",
3446 ],
3447 tool_files: [
3448 "build/write_build_date_header.py",
3449 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003450 apex_available: [
3451 "com.android.tethering",
3452 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003453}
3454
Motomu Utsumie74bab82022-12-16 18:00:12 +09003455// GN: //base:cfi_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003456cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003457 name: "cronet_aml_base_cfi_buildflags",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09003458 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 +09003459 "$(location build/write_buildflag_header.py) --output " +
3460 "$(out) " +
3461 "--rulename " +
3462 "//base:cfi_buildflags " +
3463 "--gen-dir " +
3464 ". " +
3465 "--definitions " +
3466 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003467 out: [
3468 "base/cfi_buildflags.h",
3469 ],
3470 tool_files: [
3471 "build/write_buildflag_header.py",
3472 ],
3473 apex_available: [
3474 "com.android.tethering",
3475 ],
3476}
3477
3478// GN: //base:cfi_buildflags__testing
3479cc_genrule {
3480 name: "cronet_aml_base_cfi_buildflags__testing",
3481 cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
3482 "$(location build/write_buildflag_header.py) --output " +
3483 "$(out) " +
3484 "--rulename " +
3485 "//base:cfi_buildflags " +
3486 "--gen-dir " +
3487 ". " +
3488 "--definitions " +
3489 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003490 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003491 out: [
3492 "base/cfi_buildflags.h",
3493 ],
3494 tool_files: [
3495 "build/write_buildflag_header.py",
3496 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003497 apex_available: [
3498 "com.android.tethering",
3499 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003500}
3501
Motomu Utsumie74bab82022-12-16 18:00:12 +09003502// GN: //base:clang_profiling_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003503cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003504 name: "cronet_aml_base_clang_profiling_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003505 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
3506 "$(location build/write_buildflag_header.py) --output " +
3507 "$(out) " +
3508 "--rulename " +
3509 "//base:clang_profiling_buildflags " +
3510 "--gen-dir " +
3511 ". " +
3512 "--definitions " +
3513 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003514 out: [
3515 "base/clang_profiling_buildflags.h",
3516 ],
3517 tool_files: [
3518 "build/write_buildflag_header.py",
3519 ],
3520 apex_available: [
3521 "com.android.tethering",
3522 ],
3523}
3524
3525// GN: //base:clang_profiling_buildflags__testing
3526cc_genrule {
3527 name: "cronet_aml_base_clang_profiling_buildflags__testing",
3528 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
3529 "$(location build/write_buildflag_header.py) --output " +
3530 "$(out) " +
3531 "--rulename " +
3532 "//base:clang_profiling_buildflags " +
3533 "--gen-dir " +
3534 ". " +
3535 "--definitions " +
3536 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003537 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003538 out: [
3539 "base/clang_profiling_buildflags.h",
3540 ],
3541 tool_files: [
3542 "build/write_buildflag_header.py",
3543 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003544 apex_available: [
3545 "com.android.tethering",
3546 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003547}
3548
Motomu Utsumie74bab82022-12-16 18:00:12 +09003549// GN: //base:debugging_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003550cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003551 name: "cronet_aml_base_debugging_buildflags",
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003552 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
3553 "then " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003554 "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 +09003555 "$(location build/write_buildflag_header.py) --output " +
3556 "$(out) " +
3557 "--rulename " +
3558 "//base:debugging_buildflags " +
3559 "--gen-dir " +
3560 ". " +
3561 "--definitions " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003562 "/dev/stdin; " +
3563 "fi; " +
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003564 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
3565 "then " +
3566 "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\"' | " +
3567 "$(location build/write_buildflag_header.py) --output " +
3568 "$(out) " +
3569 "--rulename " +
3570 "//base:debugging_buildflags " +
3571 "--gen-dir " +
3572 ". " +
3573 "--definitions " +
3574 "/dev/stdin; " +
3575 "fi; " +
3576 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
3577 "then " +
3578 "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\"' | " +
3579 "$(location build/write_buildflag_header.py) --output " +
3580 "$(out) " +
3581 "--rulename " +
3582 "//base:debugging_buildflags " +
3583 "--gen-dir " +
3584 ". " +
3585 "--definitions " +
3586 "/dev/stdin; " +
3587 "fi; " +
3588 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
3589 "then " +
3590 "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\"' | " +
3591 "$(location build/write_buildflag_header.py) --output " +
3592 "$(out) " +
3593 "--rulename " +
3594 "//base:debugging_buildflags " +
3595 "--gen-dir " +
3596 ". " +
3597 "--definitions " +
3598 "/dev/stdin; " +
3599 "fi;",
3600 out: [
3601 "base/debug/debugging_buildflags.h",
3602 ],
3603 tool_files: [
3604 "build/write_buildflag_header.py",
3605 ],
3606 apex_available: [
3607 "com.android.tethering",
3608 ],
3609}
3610
3611// GN: //base:debugging_buildflags__testing
3612cc_genrule {
3613 name: "cronet_aml_base_debugging_buildflags__testing",
3614 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
3615 "then " +
3616 "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\"' | " +
3617 "$(location build/write_buildflag_header.py) --output " +
3618 "$(out) " +
3619 "--rulename " +
3620 "//base:debugging_buildflags " +
3621 "--gen-dir " +
3622 ". " +
3623 "--definitions " +
3624 "/dev/stdin; " +
3625 "fi; " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003626 "if [[ $$CC_OS != 'android' ]]; " +
3627 "then " +
3628 "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\"' | " +
3629 "$(location build/write_buildflag_header.py) --output " +
3630 "$(out) " +
3631 "--rulename " +
3632 "//base:debugging_buildflags " +
3633 "--gen-dir " +
3634 ". " +
3635 "--definitions " +
3636 "/dev/stdin; " +
3637 "fi; " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09003638 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
3639 "then " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003640 "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 +09003641 "$(location build/write_buildflag_header.py) --output " +
3642 "$(out) " +
3643 "--rulename " +
3644 "//base:debugging_buildflags " +
3645 "--gen-dir " +
3646 ". " +
3647 "--definitions " +
3648 "/dev/stdin; " +
3649 "fi; " +
3650 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
3651 "then " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003652 "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 +09003653 "$(location build/write_buildflag_header.py) --output " +
3654 "$(out) " +
3655 "--rulename " +
3656 "//base:debugging_buildflags " +
3657 "--gen-dir " +
3658 ". " +
3659 "--definitions " +
3660 "/dev/stdin; " +
3661 "fi; " +
3662 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
3663 "then " +
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09003664 "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 +09003665 "$(location build/write_buildflag_header.py) --output " +
3666 "$(out) " +
3667 "--rulename " +
3668 "//base:debugging_buildflags " +
3669 "--gen-dir " +
3670 ". " +
3671 "--definitions " +
3672 "/dev/stdin; " +
3673 "fi;",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003674 host_supported: true,
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003675 out: [
3676 "base/debug/debugging_buildflags.h",
3677 ],
3678 tool_files: [
3679 "build/write_buildflag_header.py",
3680 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003681 apex_available: [
3682 "com.android.tethering",
3683 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003684}
3685
Motomu Utsumie74bab82022-12-16 18:00:12 +09003686// GN: //base:feature_list_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003687cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003688 name: "cronet_aml_base_feature_list_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003689 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
3690 "$(location build/write_buildflag_header.py) --output " +
3691 "$(out) " +
3692 "--rulename " +
3693 "//base:feature_list_buildflags " +
3694 "--gen-dir " +
3695 ". " +
3696 "--definitions " +
3697 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003698 out: [
3699 "base/feature_list_buildflags.h",
3700 ],
3701 tool_files: [
3702 "build/write_buildflag_header.py",
3703 ],
3704 apex_available: [
3705 "com.android.tethering",
3706 ],
3707}
3708
3709// GN: //base:feature_list_buildflags__testing
3710cc_genrule {
3711 name: "cronet_aml_base_feature_list_buildflags__testing",
3712 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
3713 "$(location build/write_buildflag_header.py) --output " +
3714 "$(out) " +
3715 "--rulename " +
3716 "//base:feature_list_buildflags " +
3717 "--gen-dir " +
3718 ". " +
3719 "--definitions " +
3720 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003721 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003722 out: [
3723 "base/feature_list_buildflags.h",
3724 ],
3725 tool_files: [
3726 "build/write_buildflag_header.py",
3727 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003728 apex_available: [
3729 "com.android.tethering",
3730 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003731}
3732
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003733// GN: //base:i18n__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003734cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003735 name: "cronet_aml_base_i18n__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003736 srcs: [
3737 "base/i18n/base_i18n_switches.cc",
3738 "base/i18n/break_iterator.cc",
3739 "base/i18n/case_conversion.cc",
3740 "base/i18n/char_iterator.cc",
3741 "base/i18n/character_encoding.cc",
3742 "base/i18n/encoding_detection.cc",
3743 "base/i18n/file_util_icu.cc",
3744 "base/i18n/i18n_constants.cc",
3745 "base/i18n/icu_string_conversions.cc",
3746 "base/i18n/icu_util.cc",
3747 "base/i18n/message_formatter.cc",
3748 "base/i18n/number_formatting.cc",
3749 "base/i18n/rtl.cc",
3750 "base/i18n/streaming_utf8_validator.cc",
3751 "base/i18n/string_compare.cc",
3752 "base/i18n/string_search.cc",
3753 "base/i18n/time_formatting.cc",
3754 "base/i18n/timezone.cc",
3755 "base/i18n/utf8_validator_tables.cc",
3756 ],
3757 shared_libs: [
3758 "libandroid",
3759 "liblog",
3760 ],
3761 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003762 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
3763 "cronet_aml_base_base__testing",
3764 "cronet_aml_base_base_static__testing",
3765 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
3766 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
3767 "cronet_aml_third_party_boringssl_boringssl__testing",
3768 "cronet_aml_third_party_ced_ced__testing",
3769 "cronet_aml_third_party_icu_icui18n__testing",
3770 "cronet_aml_third_party_icu_icuuc_private__testing",
3771 "cronet_aml_third_party_libevent_libevent__testing",
3772 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003773 ],
3774 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003775 "cronet_aml_build_chromecast_buildflags__testing",
3776 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003777 ],
3778 export_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 defaults: [
3783 "cronet_aml_defaults",
3784 ],
3785 cflags: [
3786 "-DANDROID",
3787 "-DANDROID_NDK_VERSION_ROLL=r23_1",
3788 "-DBASE_I18N_IMPLEMENTATION",
3789 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
3790 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
3791 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
3792 "-DHAVE_SYS_UIO_H",
3793 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
3794 "-DNDEBUG",
3795 "-DNO_UNWIND_TABLES",
3796 "-DNVALGRIND",
3797 "-DOFFICIAL_BUILD",
3798 "-DUSE_CHROMIUM_ICU=1",
3799 "-DU_ENABLE_DYLOAD=0",
3800 "-DU_ENABLE_RESOURCE_TRACING=0",
3801 "-DU_ENABLE_TRACING=1",
3802 "-DU_STATIC_IMPLEMENTATION",
3803 "-DU_USING_ICU_NAMESPACE=0",
3804 "-D_FORTIFY_SOURCE=2",
3805 "-D_GNU_SOURCE",
3806 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3807 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3808 "-D__STDC_CONSTANT_MACROS",
3809 "-D__STDC_FORMAT_MACROS",
3810 "-O2",
3811 "-fdata-sections",
3812 "-ffunction-sections",
3813 "-fno-asynchronous-unwind-tables",
3814 "-fno-unwind-tables",
3815 "-fvisibility-inlines-hidden",
3816 "-fvisibility=hidden",
3817 "-g1",
3818 ],
3819 local_include_dirs: [
3820 "./",
3821 "buildtools/third_party/libc++/",
3822 "buildtools/third_party/libc++/trunk/include",
3823 "buildtools/third_party/libc++abi/trunk/include",
3824 "third_party/abseil-cpp/",
3825 "third_party/boringssl/src/include/",
3826 "third_party/ced/src/",
3827 "third_party/icu/source/common/",
3828 "third_party/icu/source/i18n/",
3829 ],
3830 cpp_std: "c++17",
3831 ldflags: [
3832 "-Wl,--as-needed",
3833 "-Wl,--gc-sections",
3834 "-Wl,--icf=all",
3835 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
3836 "-Wl,-wrap,asprintf",
3837 "-Wl,-wrap,calloc",
3838 "-Wl,-wrap,free",
3839 "-Wl,-wrap,getcwd",
3840 "-Wl,-wrap,malloc",
3841 "-Wl,-wrap,malloc_usable_size",
3842 "-Wl,-wrap,memalign",
3843 "-Wl,-wrap,posix_memalign",
3844 "-Wl,-wrap,pvalloc",
3845 "-Wl,-wrap,realloc",
3846 "-Wl,-wrap,realpath",
3847 "-Wl,-wrap,strdup",
3848 "-Wl,-wrap,strndup",
3849 "-Wl,-wrap,valloc",
3850 "-Wl,-wrap,vasprintf",
3851 ],
3852 target: {
3853 android_arm: {
3854 cflags: [
3855 "-fstack-protector",
3856 ],
3857 },
3858 android_arm64: {
3859 cflags: [
3860 "-fstack-protector",
3861 "-mno-outline",
3862 "-mno-outline-atomics",
3863 ],
3864 },
3865 android_x86: {
3866 cflags: [
3867 "-msse3",
3868 ],
3869 },
3870 android_x86_64: {
3871 cflags: [
3872 "-fstack-protector",
3873 "-msse3",
3874 ],
3875 },
3876 },
3877}
3878
Motomu Utsumie74bab82022-12-16 18:00:12 +09003879// GN: //base:ios_cronet_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003880cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003881 name: "cronet_aml_base_ios_cronet_buildflags",
Motomu Utsumiedf300c2023-01-12 17:52:21 +09003882 cmd: "echo '--flags CRONET_BUILD=\"true\"' | " +
Patrick Rohr98600682022-11-18 18:29:15 -08003883 "$(location build/write_buildflag_header.py) --output " +
3884 "$(out) " +
3885 "--rulename " +
3886 "//base:ios_cronet_buildflags " +
3887 "--gen-dir " +
3888 ". " +
3889 "--definitions " +
3890 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003891 out: [
3892 "base/message_loop/ios_cronet_buildflags.h",
3893 ],
3894 tool_files: [
3895 "build/write_buildflag_header.py",
3896 ],
3897 apex_available: [
3898 "com.android.tethering",
3899 ],
3900}
3901
3902// GN: //base:ios_cronet_buildflags__testing
3903cc_genrule {
3904 name: "cronet_aml_base_ios_cronet_buildflags__testing",
3905 cmd: "echo '--flags CRONET_BUILD=\"true\"' | " +
3906 "$(location build/write_buildflag_header.py) --output " +
3907 "$(out) " +
3908 "--rulename " +
3909 "//base:ios_cronet_buildflags " +
3910 "--gen-dir " +
3911 ". " +
3912 "--definitions " +
3913 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00003914 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08003915 out: [
3916 "base/message_loop/ios_cronet_buildflags.h",
3917 ],
3918 tool_files: [
3919 "build/write_buildflag_header.py",
3920 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003921 apex_available: [
3922 "com.android.tethering",
3923 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003924}
3925
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003926// GN: //base:java_features_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00003927java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003928 name: "cronet_aml_base_java_features_srcjar",
3929 srcs: [
3930 "base/android/base_features.cc",
3931 "base/features.cc",
3932 "base/task/task_features.cc",
3933 ],
3934 cmd: "$(location build/android/gyp/java_cpp_features.py) --srcjar " +
Motomu Utsumid7c36772022-12-05 16:04:37 +09003935 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003936 "--template " +
Motomu Utsumid7c36772022-12-05 16:04:37 +09003937 "$(location base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl) " +
3938 "$(location base/android/base_features.cc) " +
3939 "$(location base/features.cc) " +
3940 "$(location base/task/task_features.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003941 out: [
3942 "base/java_features_srcjar.srcjar",
3943 ],
3944 tool_files: [
3945 "base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl",
3946 "build/android/gyp/java_cpp_features.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09003947 "build/android/gyp/util/__init__.py",
3948 "build/android/gyp/util/build_utils.py",
3949 "build/android/gyp/util/java_cpp_utils.py",
3950 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003951 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003952}
3953
3954// GN: //base:java_switches_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00003955java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003956 name: "cronet_aml_base_java_switches_srcjar",
3957 srcs: [
3958 "base/base_switches.cc",
3959 ],
3960 cmd: "$(location build/android/gyp/java_cpp_strings.py) --srcjar " +
Motomu Utsumi3f7ab312022-12-05 16:12:21 +09003961 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003962 "--template " +
Motomu Utsumi3f7ab312022-12-05 16:12:21 +09003963 "$(location base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl) " +
3964 "$(location base/base_switches.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003965 out: [
3966 "base/java_switches_srcjar.srcjar",
3967 ],
3968 tool_files: [
3969 "base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl",
3970 "build/android/gyp/java_cpp_strings.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09003971 "build/android/gyp/util/__init__.py",
3972 "build/android/gyp/util/build_utils.py",
3973 "build/android/gyp/util/java_cpp_utils.py",
3974 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003975 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003976}
3977
Motomu Utsumie74bab82022-12-16 18:00:12 +09003978// GN: //base:logging_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003979cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09003980 name: "cronet_aml_base_logging_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003981 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
3982 "$(location build/write_buildflag_header.py) --output " +
3983 "$(out) " +
3984 "--rulename " +
3985 "//base:logging_buildflags " +
3986 "--gen-dir " +
3987 ". " +
3988 "--definitions " +
3989 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00003990 out: [
3991 "base/logging_buildflags.h",
3992 ],
3993 tool_files: [
3994 "build/write_buildflag_header.py",
3995 ],
3996 apex_available: [
3997 "com.android.tethering",
3998 ],
3999}
4000
4001// GN: //base:logging_buildflags__testing
4002cc_genrule {
4003 name: "cronet_aml_base_logging_buildflags__testing",
4004 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
4005 "$(location build/write_buildflag_header.py) --output " +
4006 "$(out) " +
4007 "--rulename " +
4008 "//base:logging_buildflags " +
4009 "--gen-dir " +
4010 ". " +
4011 "--definitions " +
4012 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004013 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004014 out: [
4015 "base/logging_buildflags.h",
4016 ],
4017 tool_files: [
4018 "build/write_buildflag_header.py",
4019 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004020 apex_available: [
4021 "com.android.tethering",
4022 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004023}
4024
Motomu Utsumie74bab82022-12-16 18:00:12 +09004025// GN: //base:message_pump_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004026cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004027 name: "cronet_aml_base_message_pump_buildflags",
Patrick Rohr98600682022-11-18 18:29:15 -08004028 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
4029 "$(location build/write_buildflag_header.py) --output " +
4030 "$(out) " +
4031 "--rulename " +
4032 "//base:message_pump_buildflags " +
4033 "--gen-dir " +
4034 ". " +
4035 "--definitions " +
4036 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004037 out: [
4038 "base/message_loop/message_pump_buildflags.h",
4039 ],
4040 tool_files: [
4041 "build/write_buildflag_header.py",
4042 ],
4043 apex_available: [
4044 "com.android.tethering",
4045 ],
4046}
4047
4048// GN: //base:message_pump_buildflags__testing
4049cc_genrule {
4050 name: "cronet_aml_base_message_pump_buildflags__testing",
4051 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
4052 "$(location build/write_buildflag_header.py) --output " +
4053 "$(out) " +
4054 "--rulename " +
4055 "//base:message_pump_buildflags " +
4056 "--gen-dir " +
4057 ". " +
4058 "--definitions " +
4059 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004060 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08004061 out: [
4062 "base/message_loop/message_pump_buildflags.h",
4063 ],
4064 tool_files: [
4065 "build/write_buildflag_header.py",
4066 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004067 apex_available: [
4068 "com.android.tethering",
4069 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004070}
4071
Motomu Utsumic525cb72023-01-27 13:25:41 +09004072// GN: //base:nodebug_assertion
4073cc_object {
4074 name: "cronet_aml_base_nodebug_assertion",
4075 srcs: [
4076 "base/nodebug_assertion.cc",
4077 ],
4078 static_libs: [
4079 "cronet_aml_base_base_static",
4080 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004081 defaults: [
4082 "cronet_aml_defaults",
4083 ],
4084 cflags: [
4085 "-DANDROID",
4086 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4087 "-DBASE_IMPLEMENTATION",
4088 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
4089 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
4090 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
4091 "-DHAVE_SYS_UIO_H",
4092 "-DNDEBUG",
4093 "-DNO_UNWIND_TABLES",
4094 "-DNVALGRIND",
4095 "-DOFFICIAL_BUILD",
4096 "-D_FORTIFY_SOURCE=2",
4097 "-D_GNU_SOURCE",
4098 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4099 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4100 "-D__STDC_CONSTANT_MACROS",
4101 "-D__STDC_FORMAT_MACROS",
4102 "-Oz",
4103 "-fdata-sections",
4104 "-ffunction-sections",
4105 "-fno-asynchronous-unwind-tables",
4106 "-fno-unwind-tables",
4107 "-fvisibility-inlines-hidden",
4108 "-fvisibility=hidden",
4109 "-g1",
4110 ],
4111 local_include_dirs: [
4112 "./",
4113 "buildtools/third_party/libc++/",
4114 "buildtools/third_party/libc++/trunk/include",
4115 "buildtools/third_party/libc++abi/trunk/include",
4116 ],
4117 cpp_std: "c++17",
4118 target: {
4119 android_arm: {
4120 cflags: [
4121 "-fstack-protector",
4122 ],
4123 },
4124 android_arm64: {
4125 cflags: [
4126 "-fstack-protector",
4127 "-mno-outline",
4128 "-mno-outline-atomics",
4129 ],
4130 },
4131 android_x86: {
4132 cflags: [
4133 "-msse3",
4134 ],
4135 },
4136 android_x86_64: {
4137 cflags: [
4138 "-fstack-protector",
4139 "-msse3",
4140 ],
4141 },
4142 },
4143}
4144
4145// GN: //base:nodebug_assertion__testing
4146cc_object {
4147 name: "cronet_aml_base_nodebug_assertion__testing",
4148 srcs: [
4149 "base/nodebug_assertion.cc",
4150 ],
4151 static_libs: [
4152 "cronet_aml_base_base_static__testing",
4153 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004154 host_supported: true,
Motomu Utsumic525cb72023-01-27 13:25:41 +09004155 defaults: [
4156 "cronet_aml_defaults",
4157 ],
4158 cflags: [
Motomu Utsumic525cb72023-01-27 13:25:41 +09004159 "-DBASE_IMPLEMENTATION",
4160 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
4161 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
4162 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004163 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09004164 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004165 "-DNVALGRIND",
4166 "-DOFFICIAL_BUILD",
4167 "-D_FORTIFY_SOURCE=2",
4168 "-D_GNU_SOURCE",
4169 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4170 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4171 "-D__STDC_CONSTANT_MACROS",
4172 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004173 "-fdata-sections",
4174 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09004175 "-fno-asynchronous-unwind-tables",
4176 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004177 "-fvisibility-inlines-hidden",
4178 "-fvisibility=hidden",
4179 "-g1",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004180 ],
4181 local_include_dirs: [
4182 "./",
4183 "buildtools/third_party/libc++/",
4184 "buildtools/third_party/libc++/trunk/include",
4185 "buildtools/third_party/libc++abi/trunk/include",
4186 ],
Motomu Utsumic525cb72023-01-27 13:25:41 +09004187 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09004188 android_arm: {
4189 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004190 "-DANDROID",
4191 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4192 "-DHAVE_SYS_UIO_H",
4193 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004194 "-fstack-protector",
4195 ],
4196 },
4197 android_arm64: {
4198 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004199 "-DANDROID",
4200 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4201 "-DHAVE_SYS_UIO_H",
4202 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004203 "-fstack-protector",
4204 "-mno-outline",
4205 "-mno-outline-atomics",
4206 ],
4207 },
Motomu Utsumic525cb72023-01-27 13:25:41 +09004208 android_x86: {
4209 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004210 "-DANDROID",
4211 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4212 "-DHAVE_SYS_UIO_H",
4213 "-Oz",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004214 "-msse3",
4215 ],
4216 },
4217 android_x86_64: {
4218 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004219 "-DANDROID",
4220 "-DANDROID_NDK_VERSION_ROLL=r23_1",
4221 "-DHAVE_SYS_UIO_H",
4222 "-Oz",
4223 "-fstack-protector",
4224 "-msse3",
4225 ],
4226 },
4227 host: {
4228 cflags: [
4229 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
4230 "-DUSE_AURA=1",
4231 "-DUSE_OZONE=1",
4232 "-DUSE_UDEV",
4233 "-D_FILE_OFFSET_BITS=64",
4234 "-D_LARGEFILE64_SOURCE",
4235 "-D_LARGEFILE_SOURCE",
4236 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004237 "-fstack-protector",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004238 "-msse3",
4239 ],
4240 },
4241 },
4242}
4243
Motomu Utsumie74bab82022-12-16 18:00:12 +09004244// GN: //base:orderfile_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004245cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004246 name: "cronet_aml_base_orderfile_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004247 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
4248 "$(location build/write_buildflag_header.py) --output " +
4249 "$(out) " +
4250 "--rulename " +
4251 "//base:orderfile_buildflags " +
4252 "--gen-dir " +
4253 ". " +
4254 "--definitions " +
4255 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004256 out: [
4257 "base/android/orderfile/orderfile_buildflags.h",
4258 ],
4259 tool_files: [
4260 "build/write_buildflag_header.py",
4261 ],
4262 apex_available: [
4263 "com.android.tethering",
4264 ],
4265}
4266
4267// GN: //base:orderfile_buildflags__testing
4268cc_genrule {
4269 name: "cronet_aml_base_orderfile_buildflags__testing",
4270 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
4271 "$(location build/write_buildflag_header.py) --output " +
4272 "$(out) " +
4273 "--rulename " +
4274 "//base:orderfile_buildflags " +
4275 "--gen-dir " +
4276 ". " +
4277 "--definitions " +
4278 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004279 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004280 out: [
4281 "base/android/orderfile/orderfile_buildflags.h",
4282 ],
4283 tool_files: [
4284 "build/write_buildflag_header.py",
4285 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004286 apex_available: [
4287 "com.android.tethering",
4288 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004289}
4290
Motomu Utsumie74bab82022-12-16 18:00:12 +09004291// GN: //base:parsing_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004292cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004293 name: "cronet_aml_base_parsing_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004294 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
4295 "$(location build/write_buildflag_header.py) --output " +
4296 "$(out) " +
4297 "--rulename " +
4298 "//base:parsing_buildflags " +
4299 "--gen-dir " +
4300 ". " +
4301 "--definitions " +
4302 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004303 out: [
4304 "base/parsing_buildflags.h",
4305 ],
4306 tool_files: [
4307 "build/write_buildflag_header.py",
4308 ],
4309 apex_available: [
4310 "com.android.tethering",
4311 ],
4312}
4313
4314// GN: //base:parsing_buildflags__testing
4315cc_genrule {
4316 name: "cronet_aml_base_parsing_buildflags__testing",
4317 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
4318 "$(location build/write_buildflag_header.py) --output " +
4319 "$(out) " +
4320 "--rulename " +
4321 "//base:parsing_buildflags " +
4322 "--gen-dir " +
4323 ". " +
4324 "--definitions " +
4325 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004326 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004327 out: [
4328 "base/parsing_buildflags.h",
4329 ],
4330 tool_files: [
4331 "build/write_buildflag_header.py",
4332 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004333 apex_available: [
4334 "com.android.tethering",
4335 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004336}
4337
Motomu Utsumie74bab82022-12-16 18:00:12 +09004338// GN: //base:power_monitor_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004339cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004340 name: "cronet_aml_base_power_monitor_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004341 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
4342 "$(location build/write_buildflag_header.py) --output " +
4343 "$(out) " +
4344 "--rulename " +
4345 "//base:power_monitor_buildflags " +
4346 "--gen-dir " +
4347 ". " +
4348 "--definitions " +
4349 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004350 out: [
4351 "base/power_monitor/power_monitor_buildflags.h",
4352 ],
4353 tool_files: [
4354 "build/write_buildflag_header.py",
4355 ],
4356 apex_available: [
4357 "com.android.tethering",
4358 ],
4359}
4360
4361// GN: //base:power_monitor_buildflags__testing
4362cc_genrule {
4363 name: "cronet_aml_base_power_monitor_buildflags__testing",
4364 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
4365 "$(location build/write_buildflag_header.py) --output " +
4366 "$(out) " +
4367 "--rulename " +
4368 "//base:power_monitor_buildflags " +
4369 "--gen-dir " +
4370 ". " +
4371 "--definitions " +
4372 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004373 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004374 out: [
4375 "base/power_monitor/power_monitor_buildflags.h",
4376 ],
4377 tool_files: [
4378 "build/write_buildflag_header.py",
4379 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004380 apex_available: [
4381 "com.android.tethering",
4382 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004383}
4384
Motomu Utsumie74bab82022-12-16 18:00:12 +09004385// GN: //base:profiler_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004386cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004387 name: "cronet_aml_base_profiler_buildflags",
Motomu Utsumi3029ac92022-12-16 18:04:57 +09004388 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
4389 "then " +
4390 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004391 "$(location build/write_buildflag_header.py) --output " +
4392 "$(out) " +
4393 "--rulename " +
4394 "//base:profiler_buildflags " +
4395 "--gen-dir " +
4396 ". " +
4397 "--definitions " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09004398 "/dev/stdin; " +
4399 "fi; " +
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004400 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
4401 "then " +
4402 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4403 "$(location build/write_buildflag_header.py) --output " +
4404 "$(out) " +
4405 "--rulename " +
4406 "//base:profiler_buildflags " +
4407 "--gen-dir " +
4408 ". " +
4409 "--definitions " +
4410 "/dev/stdin; " +
4411 "fi; " +
4412 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
4413 "then " +
4414 "echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4415 "$(location build/write_buildflag_header.py) --output " +
4416 "$(out) " +
4417 "--rulename " +
4418 "//base:profiler_buildflags " +
4419 "--gen-dir " +
4420 ". " +
4421 "--definitions " +
4422 "/dev/stdin; " +
4423 "fi; " +
4424 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
4425 "then " +
4426 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4427 "$(location build/write_buildflag_header.py) --output " +
4428 "$(out) " +
4429 "--rulename " +
4430 "//base:profiler_buildflags " +
4431 "--gen-dir " +
4432 ". " +
4433 "--definitions " +
4434 "/dev/stdin; " +
4435 "fi;",
4436 out: [
4437 "base/profiler/profiler_buildflags.h",
4438 ],
4439 tool_files: [
4440 "build/write_buildflag_header.py",
4441 ],
4442 apex_available: [
4443 "com.android.tethering",
4444 ],
4445}
4446
4447// GN: //base:profiler_buildflags__testing
4448cc_genrule {
4449 name: "cronet_aml_base_profiler_buildflags__testing",
4450 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
4451 "then " +
4452 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4453 "$(location build/write_buildflag_header.py) --output " +
4454 "$(out) " +
4455 "--rulename " +
4456 "//base:profiler_buildflags " +
4457 "--gen-dir " +
4458 ". " +
4459 "--definitions " +
4460 "/dev/stdin; " +
4461 "fi; " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004462 "if [[ $$CC_OS != 'android' ]]; " +
4463 "then " +
4464 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4465 "$(location build/write_buildflag_header.py) --output " +
4466 "$(out) " +
4467 "--rulename " +
4468 "//base:profiler_buildflags " +
4469 "--gen-dir " +
4470 ". " +
4471 "--definitions " +
4472 "/dev/stdin; " +
4473 "fi; " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +09004474 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
4475 "then " +
4476 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4477 "$(location build/write_buildflag_header.py) --output " +
4478 "$(out) " +
4479 "--rulename " +
4480 "//base:profiler_buildflags " +
4481 "--gen-dir " +
4482 ". " +
4483 "--definitions " +
4484 "/dev/stdin; " +
4485 "fi; " +
4486 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
4487 "then " +
4488 "echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4489 "$(location build/write_buildflag_header.py) --output " +
4490 "$(out) " +
4491 "--rulename " +
4492 "//base:profiler_buildflags " +
4493 "--gen-dir " +
4494 ". " +
4495 "--definitions " +
4496 "/dev/stdin; " +
4497 "fi; " +
4498 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
4499 "then " +
4500 "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4501 "$(location build/write_buildflag_header.py) --output " +
4502 "$(out) " +
4503 "--rulename " +
4504 "//base:profiler_buildflags " +
4505 "--gen-dir " +
4506 ". " +
4507 "--definitions " +
4508 "/dev/stdin; " +
4509 "fi;",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004510 host_supported: true,
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004511 out: [
4512 "base/profiler/profiler_buildflags.h",
4513 ],
4514 tool_files: [
4515 "build/write_buildflag_header.py",
4516 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004517 apex_available: [
4518 "com.android.tethering",
4519 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004520}
4521
Motomu Utsumie74bab82022-12-16 18:00:12 +09004522// GN: //base:sanitizer_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004523cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004524 name: "cronet_aml_base_sanitizer_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004525 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
4526 "$(location build/write_buildflag_header.py) --output " +
4527 "$(out) " +
4528 "--rulename " +
4529 "//base:sanitizer_buildflags " +
4530 "--gen-dir " +
4531 ". " +
4532 "--definitions " +
4533 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004534 out: [
4535 "base/sanitizer_buildflags.h",
4536 ],
4537 tool_files: [
4538 "build/write_buildflag_header.py",
4539 ],
4540 apex_available: [
4541 "com.android.tethering",
4542 ],
4543}
4544
4545// GN: //base:sanitizer_buildflags__testing
4546cc_genrule {
4547 name: "cronet_aml_base_sanitizer_buildflags__testing",
4548 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
4549 "$(location build/write_buildflag_header.py) --output " +
4550 "$(out) " +
4551 "--rulename " +
4552 "//base:sanitizer_buildflags " +
4553 "--gen-dir " +
4554 ". " +
4555 "--definitions " +
4556 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004557 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004558 out: [
4559 "base/sanitizer_buildflags.h",
4560 ],
4561 tool_files: [
4562 "build/write_buildflag_header.py",
4563 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004564 apex_available: [
4565 "com.android.tethering",
4566 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004567}
4568
Motomu Utsumie74bab82022-12-16 18:00:12 +09004569// GN: //base:synchronization_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004570cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09004571 name: "cronet_aml_base_synchronization_buildflags",
Patrick Rohr98600682022-11-18 18:29:15 -08004572 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
4573 "$(location build/write_buildflag_header.py) --output " +
4574 "$(out) " +
4575 "--rulename " +
4576 "//base:synchronization_buildflags " +
4577 "--gen-dir " +
4578 ". " +
4579 "--definitions " +
4580 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004581 out: [
4582 "base/synchronization/synchronization_buildflags.h",
4583 ],
4584 tool_files: [
4585 "build/write_buildflag_header.py",
4586 ],
4587 apex_available: [
4588 "com.android.tethering",
4589 ],
4590}
4591
4592// GN: //base:synchronization_buildflags__testing
4593cc_genrule {
4594 name: "cronet_aml_base_synchronization_buildflags__testing",
4595 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
4596 "$(location build/write_buildflag_header.py) --output " +
4597 "$(out) " +
4598 "--rulename " +
4599 "//base:synchronization_buildflags " +
4600 "--gen-dir " +
4601 ". " +
4602 "--definitions " +
4603 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004604 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08004605 out: [
4606 "base/synchronization/synchronization_buildflags.h",
4607 ],
4608 tool_files: [
4609 "build/write_buildflag_header.py",
4610 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004611 apex_available: [
4612 "com.android.tethering",
4613 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004614}
4615
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004616// GN: //base/test:base_unittests_jni_headers__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004617cc_genrule {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004618 name: "cronet_aml_base_test_base_unittests_jni_headers__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004619 srcs: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004620 "base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java",
4621 "base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java",
4622 ],
4623 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
4624 "long " +
4625 "--output_dir " +
4626 "$(genDir)/base/test/base_unittests_jni_headers " +
4627 "--includes " +
4628 "base/android/jni_generator/jni_generator_helper.h " +
4629 "--use_proxy_hash " +
4630 "--output_name " +
4631 "ContentUriTestUtils_jni.h " +
4632 "--output_name " +
4633 "JavaHandlerThreadHelpers_jni.h " +
4634 "--input_file " +
4635 "$(location base/test/android/java/src/org/chromium/base/ContentUriTestUtils.java) " +
4636 "--input_file " +
Mohannad Farragf27cd352023-02-10 17:41:19 +00004637 "$(location base/test/android/java/src/org/chromium/base/JavaHandlerThreadHelpers.java)",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004638 out: [
4639 "base/test/base_unittests_jni_headers/ContentUriTestUtils_jni.h",
4640 "base/test/base_unittests_jni_headers/JavaHandlerThreadHelpers_jni.h",
4641 ],
4642 tool_files: [
4643 "base/android/jni_generator/android_jar.classes",
4644 "base/android/jni_generator/jni_generator.py",
4645 "build/android/gyp/util/__init__.py",
4646 "build/android/gyp/util/build_utils.py",
4647 "build/gn_helpers.py",
4648 ],
4649 apex_available: [
4650 "com.android.tethering",
4651 ],
4652}
4653
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004654// GN: //base/test:test_config__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004655cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004656 name: "cronet_aml_base_test_test_config__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004657 srcs: [
4658 "base/test/test_switches.cc",
4659 "base/test/test_timeouts.cc",
4660 ],
4661 shared_libs: [
4662 "libandroid",
4663 "liblog",
4664 ],
4665 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004666 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
4667 "cronet_aml_base_base__testing",
4668 "cronet_aml_base_base_static__testing",
4669 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
4670 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
4671 "cronet_aml_third_party_boringssl_boringssl__testing",
4672 "cronet_aml_third_party_icu_icui18n__testing",
4673 "cronet_aml_third_party_icu_icuuc_private__testing",
4674 "cronet_aml_third_party_libevent_libevent__testing",
4675 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004676 ],
4677 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004678 "cronet_aml_base_clang_profiling_buildflags__testing",
4679 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004680 ],
4681 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004682 "cronet_aml_base_clang_profiling_buildflags__testing",
4683 "cronet_aml_build_chromeos_buildflags__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004684 ],
4685 defaults: [
4686 "cronet_aml_defaults",
4687 ],
4688 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004689 "-DANDROID",
4690 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09004691 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
4692 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004693 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004694 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004695 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09004696 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004697 "-DNVALGRIND",
4698 "-DOFFICIAL_BUILD",
4699 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004700 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004701 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004702 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4703 "-D__STDC_CONSTANT_MACROS",
4704 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004705 "-Oz",
4706 "-fdata-sections",
4707 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09004708 "-fno-asynchronous-unwind-tables",
4709 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09004710 "-fvisibility-inlines-hidden",
4711 "-fvisibility=hidden",
4712 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004713 ],
4714 local_include_dirs: [
4715 "./",
4716 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07004717 "buildtools/third_party/libc++/trunk/include",
4718 "buildtools/third_party/libc++abi/trunk/include",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004719 "third_party/abseil-cpp/",
4720 "third_party/boringssl/src/include/",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004721 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09004722 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09004723 ldflags: [
4724 "-Wl,--as-needed",
4725 "-Wl,--gc-sections",
4726 "-Wl,--icf=all",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004727 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
4728 "-Wl,-wrap,asprintf",
4729 "-Wl,-wrap,calloc",
4730 "-Wl,-wrap,free",
4731 "-Wl,-wrap,getcwd",
4732 "-Wl,-wrap,malloc",
4733 "-Wl,-wrap,malloc_usable_size",
4734 "-Wl,-wrap,memalign",
4735 "-Wl,-wrap,posix_memalign",
4736 "-Wl,-wrap,pvalloc",
4737 "-Wl,-wrap,realloc",
4738 "-Wl,-wrap,realpath",
4739 "-Wl,-wrap,strdup",
4740 "-Wl,-wrap,strndup",
4741 "-Wl,-wrap,valloc",
4742 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09004743 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09004744 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09004745 android_arm: {
4746 cflags: [
4747 "-fstack-protector",
4748 ],
4749 },
4750 android_arm64: {
4751 cflags: [
4752 "-fstack-protector",
4753 "-mno-outline",
4754 "-mno-outline-atomics",
4755 ],
4756 },
Motomu Utsumi65501182022-11-18 15:26:35 +09004757 android_x86: {
4758 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004759 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09004760 ],
4761 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09004762 android_x86_64: {
4763 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09004764 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004765 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09004766 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09004767 },
4768 },
Patrick Rohrcc377df2022-10-28 09:27:15 -07004769}
4770
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004771// GN: //base/test:test_support__testing
Patrick Rohrcc377df2022-10-28 09:27:15 -07004772cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004773 name: "cronet_aml_base_test_test_support__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004774 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004775 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
4776 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
4777 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
4778 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
4779 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
4780 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
4781 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
4782 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
4783 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
4784 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
4785 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
4786 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
4787 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
4788 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
4789 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
4790 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
4791 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
4792 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
4793 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
4794 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
4795 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
4796 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
4797 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
4798 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
4799 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
4800 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
4801 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
4802 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
4803 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
4804 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
4805 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
4806 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
4807 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
4808 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
4809 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
4810 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
4811 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
4812 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
4813 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
4814 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
4815 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
4816 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
4817 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
4818 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
4819 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
4820 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
4821 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
4822 ":cronet_aml_third_party_googletest_gmock__testing",
4823 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004824 "base/task/sequence_manager/test/fake_task.cc",
4825 "base/task/sequence_manager/test/mock_time_domain.cc",
4826 "base/task/sequence_manager/test/mock_time_message_pump.cc",
4827 "base/task/sequence_manager/test/sequence_manager_for_test.cc",
4828 "base/task/sequence_manager/test/test_task_queue.cc",
4829 "base/test/android/java_handler_thread_helpers.cc",
4830 "base/test/android/url_utils.cc",
4831 "base/test/bind.cc",
4832 "base/test/copy_only_int.cc",
4833 "base/test/gtest_links.cc",
4834 "base/test/gtest_util.cc",
4835 "base/test/gtest_xml_unittest_result_printer.cc",
4836 "base/test/gtest_xml_util.cc",
4837 "base/test/icu_test_util.cc",
4838 "base/test/launcher/test_launcher.cc",
4839 "base/test/launcher/test_launcher_test_utils.cc",
4840 "base/test/launcher/test_launcher_tracer.cc",
4841 "base/test/launcher/test_result.cc",
4842 "base/test/launcher/test_results_tracker.cc",
4843 "base/test/launcher/unit_test_launcher.cc",
4844 "base/test/metrics/histogram_enum_reader.cc",
4845 "base/test/metrics/histogram_tester.cc",
4846 "base/test/metrics/user_action_tester.cc",
4847 "base/test/mock_devices_changed_observer.cc",
4848 "base/test/mock_entropy_provider.cc",
4849 "base/test/mock_log.cc",
4850 "base/test/multiprocess_test.cc",
4851 "base/test/multiprocess_test_android.cc",
4852 "base/test/null_task_runner.cc",
4853 "base/test/perf_log.cc",
4854 "base/test/perf_test_suite.cc",
4855 "base/test/perf_time_logger.cc",
4856 "base/test/power_monitor_test.cc",
4857 "base/test/power_monitor_test_utils.cc",
4858 "base/test/reached_code_profiler_android.cc",
4859 "base/test/scoped_command_line.cc",
4860 "base/test/scoped_feature_list.cc",
4861 "base/test/scoped_locale.cc",
4862 "base/test/scoped_mock_clock_override.cc",
4863 "base/test/scoped_mock_time_message_loop_task_runner.cc",
4864 "base/test/scoped_path_override.cc",
4865 "base/test/scoped_run_loop_timeout.cc",
4866 "base/test/sequenced_task_runner_test_template.cc",
4867 "base/test/simple_test_clock.cc",
4868 "base/test/simple_test_tick_clock.cc",
4869 "base/test/task_environment.cc",
4870 "base/test/task_runner_test_template.cc",
4871 "base/test/test_discardable_memory_allocator.cc",
4872 "base/test/test_file_util.cc",
4873 "base/test/test_file_util_android.cc",
4874 "base/test/test_file_util_linux.cc",
4875 "base/test/test_file_util_posix.cc",
4876 "base/test/test_io_thread.cc",
4877 "base/test/test_message_loop.cc",
4878 "base/test/test_mock_time_task_runner.cc",
4879 "base/test/test_pending_task.cc",
4880 "base/test/test_shared_memory_util.cc",
4881 "base/test/test_simple_task_runner.cc",
4882 "base/test/test_suite.cc",
4883 "base/test/test_support_android.cc",
4884 "base/test/test_waitable_event.cc",
4885 "base/test/thread_pool_test_helpers_android.cc",
4886 "base/test/thread_test_helper.cc",
4887 "base/test/values_test_util.cc",
4888 "base/test/with_feature_override.cc",
4889 "base/timer/mock_timer.cc",
4890 ],
4891 shared_libs: [
4892 "libandroid",
4893 "liblog",
4894 "libz",
4895 ],
4896 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004897 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
4898 "cronet_aml_base_base__testing",
4899 "cronet_aml_base_base_static__testing",
4900 "cronet_aml_base_i18n__testing",
4901 "cronet_aml_base_test_test_config__testing",
4902 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
4903 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
4904 "cronet_aml_testing_gtest_gtest__testing",
4905 "cronet_aml_third_party_boringssl_boringssl__testing",
4906 "cronet_aml_third_party_ced_ced__testing",
4907 "cronet_aml_third_party_icu_icui18n__testing",
4908 "cronet_aml_third_party_icu_icuuc_private__testing",
4909 "cronet_aml_third_party_libevent_libevent__testing",
4910 "cronet_aml_third_party_libxml_libxml__testing",
4911 "cronet_aml_third_party_libxml_libxml_utils__testing",
4912 "cronet_aml_third_party_libxml_xml_reader__testing",
4913 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004914 ],
4915 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004916 "cronet_aml_base_debugging_buildflags__testing",
4917 "cronet_aml_base_logging_buildflags__testing",
4918 "cronet_aml_base_test_base_unittests_jni_headers__testing",
4919 "cronet_aml_base_test_test_support_jni_headers__testing",
4920 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004921 ],
4922 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00004923 "cronet_aml_base_debugging_buildflags__testing",
4924 "cronet_aml_base_logging_buildflags__testing",
4925 "cronet_aml_base_test_base_unittests_jni_headers__testing",
4926 "cronet_aml_base_test_test_support_jni_headers__testing",
4927 "cronet_aml_build_chromeos_buildflags__testing",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004928 ],
4929 defaults: [
4930 "cronet_aml_defaults",
4931 ],
4932 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004933 "-DANDROID",
4934 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09004935 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
4936 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09004937 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004938 "-DGTEST_API_=",
4939 "-DGTEST_HAS_ABSL=1",
4940 "-DGTEST_HAS_POSIX_RE=0",
4941 "-DGTEST_HAS_TR1_TUPLE=0",
4942 "-DGTEST_LANG_CXX11=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004943 "-DHAVE_SYS_UIO_H",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00004944 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
4945 "-DNDEBUG",
4946 "-DNO_UNWIND_TABLES",
4947 "-DNVALGRIND",
4948 "-DOFFICIAL_BUILD",
4949 "-DUNIT_TEST",
4950 "-DUSE_CHROMIUM_ICU=1",
4951 "-DU_ENABLE_DYLOAD=0",
4952 "-DU_ENABLE_RESOURCE_TRACING=0",
4953 "-DU_ENABLE_TRACING=1",
4954 "-DU_STATIC_IMPLEMENTATION",
4955 "-DU_USING_ICU_NAMESPACE=0",
4956 "-D_FORTIFY_SOURCE=2",
4957 "-D_GNU_SOURCE",
4958 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4959 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4960 "-D__STDC_CONSTANT_MACROS",
4961 "-D__STDC_FORMAT_MACROS",
4962 "-Oz",
4963 "-fdata-sections",
4964 "-ffunction-sections",
4965 "-fno-asynchronous-unwind-tables",
4966 "-fno-unwind-tables",
4967 "-fvisibility-inlines-hidden",
4968 "-fvisibility=hidden",
4969 "-g1",
4970 ],
4971 local_include_dirs: [
4972 "./",
4973 "buildtools/third_party/libc++/",
4974 "buildtools/third_party/libc++/trunk/include",
4975 "buildtools/third_party/libc++abi/trunk/include",
4976 "third_party/abseil-cpp/",
4977 "third_party/boringssl/src/include/",
4978 "third_party/ced/src/",
4979 "third_party/googletest/custom/",
4980 "third_party/googletest/src/googlemock/include/",
4981 "third_party/googletest/src/googletest/include/",
4982 "third_party/icu/source/common/",
4983 "third_party/icu/source/i18n/",
4984 "third_party/libxml/linux/include/",
4985 "third_party/libxml/src/include/",
4986 ],
4987 cpp_std: "c++17",
4988 ldflags: [
4989 "-Wl,--as-needed",
4990 "-Wl,--gc-sections",
4991 "-Wl,--icf=all",
4992 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
4993 "-Wl,-wrap,asprintf",
4994 "-Wl,-wrap,calloc",
4995 "-Wl,-wrap,free",
4996 "-Wl,-wrap,getcwd",
4997 "-Wl,-wrap,malloc",
4998 "-Wl,-wrap,malloc_usable_size",
4999 "-Wl,-wrap,memalign",
5000 "-Wl,-wrap,posix_memalign",
5001 "-Wl,-wrap,pvalloc",
5002 "-Wl,-wrap,realloc",
5003 "-Wl,-wrap,realpath",
5004 "-Wl,-wrap,strdup",
5005 "-Wl,-wrap,strndup",
5006 "-Wl,-wrap,valloc",
5007 "-Wl,-wrap,vasprintf",
5008 ],
5009 target: {
5010 android_arm: {
5011 cflags: [
5012 "-fstack-protector",
5013 ],
5014 },
5015 android_arm64: {
5016 cflags: [
5017 "-fstack-protector",
5018 "-mno-outline",
5019 "-mno-outline-atomics",
5020 ],
5021 },
5022 android_x86: {
5023 cflags: [
5024 "-msse3",
5025 ],
5026 },
5027 android_x86_64: {
5028 cflags: [
5029 "-fstack-protector",
5030 "-msse3",
5031 ],
5032 },
5033 },
5034}
5035
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005036// GN: //base/test:test_support_jni_headers__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005037cc_genrule {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005038 name: "cronet_aml_base_test_test_support_jni_headers__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005039 srcs: [
5040 "base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java",
5041 "base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java",
5042 "base/test/android/javatests/src/org/chromium/base/test/ReachedCodeProfiler.java",
5043 "base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java",
5044 "base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java",
5045 ],
5046 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
5047 "long " +
5048 "--output_dir " +
5049 "$(genDir)/base/test/test_support_jni_headers " +
5050 "--includes " +
5051 "base/android/jni_generator/jni_generator_helper.h " +
5052 "--use_proxy_hash " +
5053 "--output_name " +
5054 "MainReturnCodeResult_jni.h " +
5055 "--output_name " +
5056 "MultiprocessTestClientLauncher_jni.h " +
5057 "--output_name " +
5058 "ReachedCodeProfiler_jni.h " +
5059 "--output_name " +
5060 "ThreadPoolTestHelpers_jni.h " +
5061 "--output_name " +
5062 "UrlUtils_jni.h " +
5063 "--input_file " +
5064 "$(location base/test/android/java/src/org/chromium/base/MainReturnCodeResult.java) " +
5065 "--input_file " +
5066 "$(location base/test/android/java/src/org/chromium/base/MultiprocessTestClientLauncher.java) " +
5067 "--input_file " +
5068 "$(location base/test/android/javatests/src/org/chromium/base/test/ReachedCodeProfiler.java) " +
5069 "--input_file " +
5070 "$(location base/test/android/javatests/src/org/chromium/base/test/task/ThreadPoolTestHelpers.java) " +
5071 "--input_file " +
Mohannad Farragf27cd352023-02-10 17:41:19 +00005072 "$(location base/test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java)",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005073 out: [
5074 "base/test/test_support_jni_headers/MainReturnCodeResult_jni.h",
5075 "base/test/test_support_jni_headers/MultiprocessTestClientLauncher_jni.h",
5076 "base/test/test_support_jni_headers/ReachedCodeProfiler_jni.h",
5077 "base/test/test_support_jni_headers/ThreadPoolTestHelpers_jni.h",
5078 "base/test/test_support_jni_headers/UrlUtils_jni.h",
5079 ],
5080 tool_files: [
5081 "base/android/jni_generator/android_jar.classes",
5082 "base/android/jni_generator/jni_generator.py",
5083 "build/android/gyp/util/__init__.py",
5084 "build/android/gyp/util/build_utils.py",
5085 "build/gn_helpers.py",
5086 ],
5087 apex_available: [
5088 "com.android.tethering",
5089 ],
5090}
5091
5092// GN: //base/third_party/double_conversion:double_conversion
5093cc_library_static {
5094 name: "cronet_aml_base_third_party_double_conversion_double_conversion",
5095 srcs: [
5096 "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
5097 "base/third_party/double_conversion/double-conversion/bignum.cc",
5098 "base/third_party/double_conversion/double-conversion/cached-powers.cc",
5099 "base/third_party/double_conversion/double-conversion/double-to-string.cc",
5100 "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
5101 "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
5102 "base/third_party/double_conversion/double-conversion/string-to-double.cc",
5103 "base/third_party/double_conversion/double-conversion/strtod.cc",
5104 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005105 defaults: [
5106 "cronet_aml_defaults",
5107 ],
5108 cflags: [
5109 "-DANDROID",
5110 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5111 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5112 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5113 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5114 "-DHAVE_SYS_UIO_H",
5115 "-DNDEBUG",
5116 "-DNO_UNWIND_TABLES",
5117 "-DNVALGRIND",
5118 "-DOFFICIAL_BUILD",
5119 "-D_FORTIFY_SOURCE=2",
5120 "-D_GNU_SOURCE",
5121 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5122 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5123 "-D__STDC_CONSTANT_MACROS",
5124 "-D__STDC_FORMAT_MACROS",
5125 "-Oz",
5126 "-fdata-sections",
5127 "-ffunction-sections",
5128 "-fno-asynchronous-unwind-tables",
5129 "-fno-unwind-tables",
5130 "-fvisibility-inlines-hidden",
5131 "-fvisibility=hidden",
5132 "-g1",
5133 ],
5134 local_include_dirs: [
5135 "./",
5136 "buildtools/third_party/libc++/",
5137 "buildtools/third_party/libc++/trunk/include",
5138 "buildtools/third_party/libc++abi/trunk/include",
5139 ],
5140 cpp_std: "c++17",
5141 ldflags: [
5142 "-Wl,--as-needed",
5143 "-Wl,--gc-sections",
5144 "-Wl,--icf=all",
5145 ],
5146 target: {
5147 android_arm: {
5148 cflags: [
5149 "-fstack-protector",
5150 ],
5151 },
5152 android_arm64: {
5153 cflags: [
5154 "-fstack-protector",
5155 "-mno-outline",
5156 "-mno-outline-atomics",
5157 ],
5158 },
5159 android_x86: {
5160 cflags: [
5161 "-msse3",
5162 ],
5163 },
5164 android_x86_64: {
5165 cflags: [
5166 "-fstack-protector",
5167 "-msse3",
5168 ],
5169 },
5170 },
5171}
5172
5173// GN: //base/third_party/double_conversion:double_conversion__testing
5174cc_library_static {
5175 name: "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
5176 srcs: [
5177 "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
5178 "base/third_party/double_conversion/double-conversion/bignum.cc",
5179 "base/third_party/double_conversion/double-conversion/cached-powers.cc",
5180 "base/third_party/double_conversion/double-conversion/double-to-string.cc",
5181 "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
5182 "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
5183 "base/third_party/double_conversion/double-conversion/string-to-double.cc",
5184 "base/third_party/double_conversion/double-conversion/strtod.cc",
5185 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005186 host_supported: true,
5187 defaults: [
5188 "cronet_aml_defaults",
5189 ],
5190 cflags: [
5191 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5192 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5193 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5194 "-DNDEBUG",
5195 "-DNO_UNWIND_TABLES",
5196 "-DNVALGRIND",
5197 "-DOFFICIAL_BUILD",
5198 "-D_FORTIFY_SOURCE=2",
5199 "-D_GNU_SOURCE",
5200 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5201 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5202 "-D__STDC_CONSTANT_MACROS",
5203 "-D__STDC_FORMAT_MACROS",
5204 "-fdata-sections",
5205 "-ffunction-sections",
5206 "-fno-asynchronous-unwind-tables",
5207 "-fno-unwind-tables",
5208 "-fvisibility-inlines-hidden",
5209 "-fvisibility=hidden",
5210 "-g1",
5211 ],
5212 local_include_dirs: [
5213 "./",
5214 "buildtools/third_party/libc++/",
5215 "buildtools/third_party/libc++/trunk/include",
5216 "buildtools/third_party/libc++abi/trunk/include",
5217 ],
5218 ldflags: [
5219 "-Wl,--as-needed",
5220 "-Wl,--gc-sections",
5221 "-Wl,--icf=all",
5222 ],
5223 target: {
5224 android_arm: {
5225 cflags: [
5226 "-DANDROID",
5227 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5228 "-DHAVE_SYS_UIO_H",
5229 "-Oz",
5230 "-fstack-protector",
5231 ],
5232 },
5233 android_arm64: {
5234 cflags: [
5235 "-DANDROID",
5236 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5237 "-DHAVE_SYS_UIO_H",
5238 "-Oz",
5239 "-fstack-protector",
5240 "-mno-outline",
5241 "-mno-outline-atomics",
5242 ],
5243 },
5244 android_x86: {
5245 cflags: [
5246 "-DANDROID",
5247 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5248 "-DHAVE_SYS_UIO_H",
5249 "-Oz",
5250 "-msse3",
5251 ],
5252 },
5253 android_x86_64: {
5254 cflags: [
5255 "-DANDROID",
5256 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5257 "-DHAVE_SYS_UIO_H",
5258 "-Oz",
5259 "-fstack-protector",
5260 "-msse3",
5261 ],
5262 },
5263 host: {
5264 cflags: [
5265 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5266 "-DUSE_AURA=1",
5267 "-DUSE_OZONE=1",
5268 "-DUSE_UDEV",
5269 "-D_FILE_OFFSET_BITS=64",
5270 "-D_LARGEFILE64_SOURCE",
5271 "-D_LARGEFILE_SOURCE",
5272 "-O2",
5273 "-fstack-protector",
5274 "-msse3",
5275 ],
5276 },
5277 },
5278}
5279
5280// GN: //base/third_party/dynamic_annotations:dynamic_annotations
5281cc_library_static {
5282 name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
5283 srcs: [
5284 "base/third_party/dynamic_annotations/dynamic_annotations.c",
5285 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005286 defaults: [
5287 "cronet_aml_defaults",
5288 ],
5289 cflags: [
5290 "-DANDROID",
5291 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5292 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5293 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5294 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5295 "-DHAVE_SYS_UIO_H",
5296 "-DNDEBUG",
5297 "-DNO_UNWIND_TABLES",
5298 "-DNVALGRIND",
5299 "-DOFFICIAL_BUILD",
5300 "-D_GNU_SOURCE",
5301 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5302 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5303 "-O2",
5304 "-fdata-sections",
5305 "-ffunction-sections",
5306 "-fno-asynchronous-unwind-tables",
5307 "-fno-unwind-tables",
5308 "-fvisibility-inlines-hidden",
5309 "-fvisibility=hidden",
5310 "-g1",
5311 ],
5312 local_include_dirs: [
5313 "./",
5314 "buildtools/third_party/libc++/",
5315 "buildtools/third_party/libc++/trunk/include",
5316 "buildtools/third_party/libc++abi/trunk/include",
5317 ],
5318 cpp_std: "c++17",
5319 ldflags: [
5320 "-Wl,--as-needed",
5321 "-Wl,--gc-sections",
5322 "-Wl,--icf=all",
5323 ],
5324 target: {
5325 android_arm: {
5326 cflags: [
5327 "-fstack-protector",
5328 ],
5329 },
5330 android_arm64: {
5331 cflags: [
5332 "-fstack-protector",
5333 "-mno-outline",
5334 "-mno-outline-atomics",
5335 ],
5336 },
5337 android_x86: {
5338 cflags: [
5339 "-msse3",
5340 ],
5341 },
5342 android_x86_64: {
5343 cflags: [
5344 "-fstack-protector",
5345 "-msse3",
5346 ],
5347 },
5348 },
5349}
5350
5351// GN: //base/third_party/dynamic_annotations:dynamic_annotations__testing
5352cc_library_static {
5353 name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
5354 srcs: [
5355 "base/third_party/dynamic_annotations/dynamic_annotations.c",
5356 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005357 host_supported: true,
5358 defaults: [
5359 "cronet_aml_defaults",
5360 ],
5361 cflags: [
5362 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5363 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5364 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09005365 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09005366 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09005367 "-DNVALGRIND",
5368 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005369 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005370 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005371 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005372 "-O2",
5373 "-fdata-sections",
5374 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09005375 "-fno-asynchronous-unwind-tables",
5376 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005377 "-fvisibility-inlines-hidden",
5378 "-fvisibility=hidden",
5379 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07005380 ],
5381 local_include_dirs: [
5382 "./",
5383 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07005384 "buildtools/third_party/libc++/trunk/include",
5385 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohr81a4ac32022-11-15 14:38:21 -08005386 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09005387 ldflags: [
5388 "-Wl,--as-needed",
5389 "-Wl,--gc-sections",
5390 "-Wl,--icf=all",
5391 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09005392 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09005393 android_arm: {
5394 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005395 "-DANDROID",
5396 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5397 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005398 "-fstack-protector",
5399 ],
5400 },
5401 android_arm64: {
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 "-mno-outline",
5408 "-mno-outline-atomics",
5409 ],
5410 },
Motomu Utsumi65501182022-11-18 15:26:35 +09005411 android_x86: {
5412 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005413 "-DANDROID",
5414 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5415 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005416 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09005417 ],
5418 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09005419 android_x86_64: {
5420 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005421 "-DANDROID",
5422 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5423 "-DHAVE_SYS_UIO_H",
5424 "-fstack-protector",
5425 "-msse3",
5426 ],
5427 },
5428 host: {
5429 cflags: [
5430 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5431 "-DUSE_AURA=1",
5432 "-DUSE_OZONE=1",
5433 "-DUSE_UDEV",
5434 "-D_FILE_OFFSET_BITS=64",
5435 "-D_LARGEFILE64_SOURCE",
5436 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09005437 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005438 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09005439 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09005440 },
5441 },
Patrick Rohr81a4ac32022-11-15 14:38:21 -08005442}
5443
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005444// GN: //base/third_party/symbolize:symbolize__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005445cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005446 name: "cronet_aml_base_third_party_symbolize_symbolize__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005447 srcs: [
5448 "base/third_party/symbolize/demangle.cc",
5449 "base/third_party/symbolize/symbolize.cc",
5450 ],
5451 host_supported: true,
5452 device_supported: false,
5453 defaults: [
5454 "cronet_aml_defaults",
5455 ],
5456 cflags: [
5457 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5458 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5459 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5460 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5461 "-DGLOG_EXPORT=",
5462 "-DNDEBUG",
5463 "-DNO_UNWIND_TABLES",
5464 "-DNVALGRIND",
5465 "-DOFFICIAL_BUILD",
5466 "-DUSE_AURA=1",
5467 "-DUSE_OZONE=1",
5468 "-DUSE_UDEV",
5469 "-D_FILE_OFFSET_BITS=64",
5470 "-D_GNU_SOURCE",
5471 "-D_LARGEFILE64_SOURCE",
5472 "-D_LARGEFILE_SOURCE",
5473 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5474 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5475 "-O2",
5476 "-fdata-sections",
5477 "-ffunction-sections",
5478 "-fno-asynchronous-unwind-tables",
5479 "-fno-unwind-tables",
5480 "-fstack-protector",
5481 "-fvisibility-inlines-hidden",
5482 "-fvisibility=hidden",
5483 "-g1",
5484 "-msse3",
5485 ],
5486 local_include_dirs: [
5487 "./",
5488 "buildtools/third_party/libc++/",
5489 "buildtools/third_party/libc++/trunk/include",
5490 "buildtools/third_party/libc++abi/trunk/include",
5491 ],
5492 cpp_std: "c++20",
5493 ldflags: [
5494 "-Wl,--as-needed",
5495 "-Wl,--gc-sections",
5496 "-Wl,--icf=all",
5497 ],
5498}
5499
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005500// GN: //base/third_party/xdg_mime:xdg_mime__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005501cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005502 name: "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005503 srcs: [
5504 "base/third_party/xdg_mime/xdgmime.c",
5505 "base/third_party/xdg_mime/xdgmimealias.c",
5506 "base/third_party/xdg_mime/xdgmimecache.c",
5507 "base/third_party/xdg_mime/xdgmimeglob.c",
5508 "base/third_party/xdg_mime/xdgmimeicon.c",
5509 "base/third_party/xdg_mime/xdgmimeint.c",
5510 "base/third_party/xdg_mime/xdgmimemagic.c",
5511 "base/third_party/xdg_mime/xdgmimeparent.c",
5512 ],
5513 host_supported: true,
5514 device_supported: false,
5515 defaults: [
5516 "cronet_aml_defaults",
5517 ],
5518 cflags: [
5519 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5520 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5521 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5522 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5523 "-DNDEBUG",
5524 "-DNO_UNWIND_TABLES",
5525 "-DNVALGRIND",
5526 "-DOFFICIAL_BUILD",
5527 "-DUSE_AURA=1",
5528 "-DUSE_OZONE=1",
5529 "-DUSE_UDEV",
5530 "-D_FILE_OFFSET_BITS=64",
5531 "-D_GNU_SOURCE",
5532 "-D_LARGEFILE64_SOURCE",
5533 "-D_LARGEFILE_SOURCE",
5534 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5535 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5536 "-O2",
5537 "-fdata-sections",
5538 "-ffunction-sections",
5539 "-fno-asynchronous-unwind-tables",
5540 "-fno-unwind-tables",
5541 "-fstack-protector",
5542 "-fvisibility-inlines-hidden",
5543 "-fvisibility=hidden",
5544 "-g1",
5545 "-msse3",
5546 ],
5547 local_include_dirs: [
5548 "./",
5549 "buildtools/third_party/libc++/",
5550 "buildtools/third_party/libc++/trunk/include",
5551 "buildtools/third_party/libc++abi/trunk/include",
5552 ],
5553 cpp_std: "c++20",
5554 ldflags: [
5555 "-Wl,--as-needed",
5556 "-Wl,--gc-sections",
5557 "-Wl,--icf=all",
5558 ],
5559}
5560
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005561// GN: //base/third_party/xdg_user_dirs:xdg_user_dirs__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005562cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005563 name: "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005564 srcs: [
5565 "base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc",
5566 ],
5567 host_supported: true,
5568 device_supported: false,
5569 defaults: [
5570 "cronet_aml_defaults",
5571 ],
5572 cflags: [
5573 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
5574 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
5575 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5576 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
5577 "-DNDEBUG",
5578 "-DNO_UNWIND_TABLES",
5579 "-DNVALGRIND",
5580 "-DOFFICIAL_BUILD",
5581 "-DUSE_AURA=1",
5582 "-DUSE_OZONE=1",
5583 "-DUSE_UDEV",
5584 "-D_FILE_OFFSET_BITS=64",
5585 "-D_FORTIFY_SOURCE=2",
5586 "-D_GNU_SOURCE",
5587 "-D_LARGEFILE64_SOURCE",
5588 "-D_LARGEFILE_SOURCE",
5589 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5590 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5591 "-D__STDC_CONSTANT_MACROS",
5592 "-D__STDC_FORMAT_MACROS",
5593 "-O2",
5594 "-fdata-sections",
5595 "-ffunction-sections",
5596 "-fno-asynchronous-unwind-tables",
5597 "-fno-unwind-tables",
5598 "-fstack-protector",
5599 "-fvisibility-inlines-hidden",
5600 "-fvisibility=hidden",
5601 "-g1",
5602 "-msse3",
5603 ],
5604 local_include_dirs: [
5605 "./",
5606 "buildtools/third_party/libc++/",
5607 "buildtools/third_party/libc++/trunk/include",
5608 "buildtools/third_party/libc++abi/trunk/include",
5609 ],
5610 cpp_std: "c++20",
5611 ldflags: [
5612 "-Wl,--as-needed",
5613 "-Wl,--gc-sections",
5614 "-Wl,--icf=all",
5615 ],
5616}
5617
Motomu Utsumie74bab82022-12-16 18:00:12 +09005618// GN: //base:tracing_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005619cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005620 name: "cronet_aml_base_tracing_buildflags",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005621 cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
5622 "$(location build/write_buildflag_header.py) --output " +
5623 "$(out) " +
5624 "--rulename " +
5625 "//base:tracing_buildflags " +
5626 "--gen-dir " +
5627 ". " +
5628 "--definitions " +
5629 "/dev/stdin",
5630 out: [
5631 "base/tracing_buildflags.h",
5632 ],
5633 tool_files: [
5634 "build/write_buildflag_header.py",
5635 ],
5636 apex_available: [
5637 "com.android.tethering",
5638 ],
5639}
5640
5641// GN: //base:tracing_buildflags__testing
5642cc_genrule {
5643 name: "cronet_aml_base_tracing_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005644 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
5645 "then " +
5646 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
Patrick Rohr98600682022-11-18 18:29:15 -08005647 "$(location build/write_buildflag_header.py) --output " +
5648 "$(out) " +
5649 "--rulename " +
5650 "//base:tracing_buildflags " +
5651 "--gen-dir " +
5652 ". " +
5653 "--definitions " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005654 "/dev/stdin; " +
5655 "fi; " +
5656 "if [[ $$CC_OS != 'android' ]]; " +
5657 "then " +
5658 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"true\"' | " +
5659 "$(location build/write_buildflag_header.py) --output " +
5660 "$(out) " +
5661 "--rulename " +
5662 "//base:tracing_buildflags " +
5663 "--gen-dir " +
5664 ". " +
5665 "--definitions " +
5666 "/dev/stdin; " +
5667 "fi; " +
5668 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
5669 "then " +
5670 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
5671 "$(location build/write_buildflag_header.py) --output " +
5672 "$(out) " +
5673 "--rulename " +
5674 "//base:tracing_buildflags " +
5675 "--gen-dir " +
5676 ". " +
5677 "--definitions " +
5678 "/dev/stdin; " +
5679 "fi; " +
5680 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
5681 "then " +
5682 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
5683 "$(location build/write_buildflag_header.py) --output " +
5684 "$(out) " +
5685 "--rulename " +
5686 "//base:tracing_buildflags " +
5687 "--gen-dir " +
5688 ". " +
5689 "--definitions " +
5690 "/dev/stdin; " +
5691 "fi; " +
5692 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
5693 "then " +
5694 "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
5695 "$(location build/write_buildflag_header.py) --output " +
5696 "$(out) " +
5697 "--rulename " +
5698 "//base:tracing_buildflags " +
5699 "--gen-dir " +
5700 ". " +
5701 "--definitions " +
5702 "/dev/stdin; " +
5703 "fi;",
5704 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08005705 out: [
5706 "base/tracing_buildflags.h",
5707 ],
5708 tool_files: [
5709 "build/write_buildflag_header.py",
5710 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005711 apex_available: [
5712 "com.android.tethering",
5713 ],
Patrick Rohr98600682022-11-18 18:29:15 -08005714}
5715
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005716// GN: //build/android:build_config_gen
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005717genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005718 name: "cronet_aml_build_android_build_config_gen",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005719 srcs: [
5720 ":cronet_aml_build_android_build_config_gen_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005721 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005722 tools: [
5723 "soong_zip",
5724 ],
5725 cmd: "cp $(in) $(genDir)/BuildConfig.java && " +
Motomu Utsumidfb67ba2023-01-27 12:02:18 +09005726 "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/BuildConfig.java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005727 out: [
5728 "BuildConfig.srcjar",
5729 ],
5730}
5731
5732// GN: //build/android:build_config_gen
5733cc_object {
5734 name: "cronet_aml_build_android_build_config_gen_preprocess",
5735 srcs: [
5736 ":cronet_aml_build_android_build_config_gen_rename",
5737 ],
5738 cflags: [
5739 "-DANDROID",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005740 "-E",
5741 "-P",
5742 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09005743 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005744}
5745
5746// GN: //build/android:build_config_gen
5747genrule {
5748 name: "cronet_aml_build_android_build_config_gen_rename",
5749 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005750 "build/android/java/templates/BuildConfig.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00005751 ],
5752 cmd: "cp $(in) $(out)",
5753 out: [
5754 "BuildConfig.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005755 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005756}
5757
5758// GN: //build/android:native_libraries_gen
Mohannad Farrag7ff99912022-11-29 17:16:00 +00005759java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005760 name: "cronet_aml_build_android_native_libraries_gen",
5761 cmd: "$(location build/android/gyp/write_native_libraries_java.py) --output " +
Motomu Utsumi3dbc2762022-12-05 16:20:21 +09005762 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005763 "--cpu-family " +
5764 "CPU_FAMILY_ARM",
5765 out: [
5766 "build/android/native_libraries_gen.srcjar",
5767 ],
5768 tool_files: [
5769 "build/android/gyp/util/__init__.py",
5770 "build/android/gyp/util/build_utils.py",
5771 "build/android/gyp/write_native_libraries_java.py",
5772 "build/gn_helpers.py",
5773 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00005774}
5775
Motomu Utsumie74bab82022-12-16 18:00:12 +09005776// GN: //build:branding_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005777cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005778 name: "cronet_aml_build_branding_buildflags",
Patrick Rohr98600682022-11-18 18:29:15 -08005779 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
5780 "$(location build/write_buildflag_header.py) --output " +
5781 "$(out) " +
5782 "--rulename " +
5783 "//build:branding_buildflags " +
5784 "--gen-dir " +
5785 ". " +
5786 "--definitions " +
5787 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005788 out: [
5789 "build/branding_buildflags.h",
5790 ],
5791 tool_files: [
5792 "build/write_buildflag_header.py",
5793 ],
5794 apex_available: [
5795 "com.android.tethering",
5796 ],
5797}
5798
5799// GN: //build:branding_buildflags__testing
5800cc_genrule {
5801 name: "cronet_aml_build_branding_buildflags__testing",
5802 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
5803 "$(location build/write_buildflag_header.py) --output " +
5804 "$(out) " +
5805 "--rulename " +
5806 "//build:branding_buildflags " +
5807 "--gen-dir " +
5808 ". " +
5809 "--definitions " +
5810 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005811 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08005812 out: [
5813 "build/branding_buildflags.h",
5814 ],
5815 tool_files: [
5816 "build/write_buildflag_header.py",
5817 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005818 apex_available: [
5819 "com.android.tethering",
5820 ],
Patrick Rohr98600682022-11-18 18:29:15 -08005821}
5822
Motomu Utsumie74bab82022-12-16 18:00:12 +09005823// GN: //build:chromecast_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005824cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005825 name: "cronet_aml_build_chromecast_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005826 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
5827 "$(location build/write_buildflag_header.py) --output " +
5828 "$(out) " +
5829 "--rulename " +
5830 "//build:chromecast_buildflags " +
5831 "--gen-dir " +
5832 ". " +
5833 "--definitions " +
5834 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005835 out: [
5836 "build/chromecast_buildflags.h",
5837 ],
5838 tool_files: [
5839 "build/write_buildflag_header.py",
5840 ],
5841 apex_available: [
5842 "com.android.tethering",
5843 ],
5844}
5845
5846// GN: //build:chromecast_buildflags__testing
5847cc_genrule {
5848 name: "cronet_aml_build_chromecast_buildflags__testing",
5849 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
5850 "$(location build/write_buildflag_header.py) --output " +
5851 "$(out) " +
5852 "--rulename " +
5853 "//build:chromecast_buildflags " +
5854 "--gen-dir " +
5855 ". " +
5856 "--definitions " +
5857 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005858 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005859 out: [
5860 "build/chromecast_buildflags.h",
5861 ],
5862 tool_files: [
5863 "build/write_buildflag_header.py",
5864 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005865 apex_available: [
5866 "com.android.tethering",
5867 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005868}
5869
Motomu Utsumie74bab82022-12-16 18:00:12 +09005870// GN: //build:chromeos_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005871cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005872 name: "cronet_aml_build_chromeos_buildflags",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005873 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
5874 "$(location build/write_buildflag_header.py) --output " +
5875 "$(out) " +
5876 "--rulename " +
5877 "//build:chromeos_buildflags " +
5878 "--gen-dir " +
5879 ". " +
5880 "--definitions " +
5881 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005882 out: [
5883 "build/chromeos_buildflags.h",
5884 ],
5885 tool_files: [
5886 "build/write_buildflag_header.py",
5887 ],
5888 apex_available: [
5889 "com.android.tethering",
5890 ],
5891}
5892
5893// GN: //build:chromeos_buildflags__testing
5894cc_genrule {
5895 name: "cronet_aml_build_chromeos_buildflags__testing",
5896 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
5897 "$(location build/write_buildflag_header.py) --output " +
5898 "$(out) " +
5899 "--rulename " +
5900 "//build:chromeos_buildflags " +
5901 "--gen-dir " +
5902 ". " +
5903 "--definitions " +
5904 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005905 host_supported: true,
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005906 out: [
5907 "build/chromeos_buildflags.h",
5908 ],
5909 tool_files: [
5910 "build/write_buildflag_header.py",
5911 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005912 apex_available: [
5913 "com.android.tethering",
5914 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005915}
5916
Motomu Utsumie74bab82022-12-16 18:00:12 +09005917// GN: //build/config/compiler:compiler_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005918cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09005919 name: "cronet_aml_build_config_compiler_compiler_buildflags",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00005920 cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
5921 "$(location build/write_buildflag_header.py) --output " +
5922 "$(out) " +
5923 "--rulename " +
5924 "//build/config/compiler:compiler_buildflags " +
5925 "--gen-dir " +
5926 ". " +
5927 "--definitions " +
5928 "/dev/stdin",
5929 out: [
5930 "build/config/compiler/compiler_buildflags.h",
5931 ],
5932 tool_files: [
5933 "build/write_buildflag_header.py",
5934 ],
5935 apex_available: [
5936 "com.android.tethering",
5937 ],
5938}
5939
5940// GN: //build/config/compiler:compiler_buildflags__testing
5941cc_genrule {
5942 name: "cronet_aml_build_config_compiler_compiler_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005943 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
5944 "then " +
5945 "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
Patrick Rohr98600682022-11-18 18:29:15 -08005946 "$(location build/write_buildflag_header.py) --output " +
5947 "$(out) " +
5948 "--rulename " +
5949 "//build/config/compiler:compiler_buildflags " +
5950 "--gen-dir " +
5951 ". " +
5952 "--definitions " +
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00005953 "/dev/stdin; " +
5954 "fi; " +
5955 "if [[ $$CC_OS != 'android' ]]; " +
5956 "then " +
5957 "echo '--flags CLANG_PGO=\"2\" SYMBOL_LEVEL=\"1\"' | " +
5958 "$(location build/write_buildflag_header.py) --output " +
5959 "$(out) " +
5960 "--rulename " +
5961 "//build/config/compiler:compiler_buildflags " +
5962 "--gen-dir " +
5963 ". " +
5964 "--definitions " +
5965 "/dev/stdin; " +
5966 "fi; " +
5967 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
5968 "then " +
5969 "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
5970 "$(location build/write_buildflag_header.py) --output " +
5971 "$(out) " +
5972 "--rulename " +
5973 "//build/config/compiler:compiler_buildflags " +
5974 "--gen-dir " +
5975 ". " +
5976 "--definitions " +
5977 "/dev/stdin; " +
5978 "fi; " +
5979 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
5980 "then " +
5981 "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
5982 "$(location build/write_buildflag_header.py) --output " +
5983 "$(out) " +
5984 "--rulename " +
5985 "//build/config/compiler:compiler_buildflags " +
5986 "--gen-dir " +
5987 ". " +
5988 "--definitions " +
5989 "/dev/stdin; " +
5990 "fi; " +
5991 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
5992 "then " +
5993 "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
5994 "$(location build/write_buildflag_header.py) --output " +
5995 "$(out) " +
5996 "--rulename " +
5997 "//build/config/compiler:compiler_buildflags " +
5998 "--gen-dir " +
5999 ". " +
6000 "--definitions " +
6001 "/dev/stdin; " +
6002 "fi;",
6003 host_supported: true,
Patrick Rohr98600682022-11-18 18:29:15 -08006004 out: [
6005 "build/config/compiler/compiler_buildflags.h",
6006 ],
6007 tool_files: [
6008 "build/write_buildflag_header.py",
6009 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09006010 apex_available: [
6011 "com.android.tethering",
6012 ],
Patrick Rohr98600682022-11-18 18:29:15 -08006013}
6014
Patrick Rohrcb035942022-11-01 12:12:52 -07006015// GN: //buildtools/third_party/libc++:libc++
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006016cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07006017 name: "cronet_aml_buildtools_third_party_libc___libc__",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006018 srcs: [
6019 "buildtools/third_party/libc++/trunk/src/algorithm.cpp",
6020 "buildtools/third_party/libc++/trunk/src/any.cpp",
6021 "buildtools/third_party/libc++/trunk/src/atomic.cpp",
6022 "buildtools/third_party/libc++/trunk/src/barrier.cpp",
6023 "buildtools/third_party/libc++/trunk/src/bind.cpp",
6024 "buildtools/third_party/libc++/trunk/src/charconv.cpp",
6025 "buildtools/third_party/libc++/trunk/src/chrono.cpp",
6026 "buildtools/third_party/libc++/trunk/src/condition_variable.cpp",
6027 "buildtools/third_party/libc++/trunk/src/condition_variable_destructor.cpp",
6028 "buildtools/third_party/libc++/trunk/src/exception.cpp",
6029 "buildtools/third_party/libc++/trunk/src/format.cpp",
6030 "buildtools/third_party/libc++/trunk/src/functional.cpp",
6031 "buildtools/third_party/libc++/trunk/src/future.cpp",
6032 "buildtools/third_party/libc++/trunk/src/hash.cpp",
6033 "buildtools/third_party/libc++/trunk/src/ios.cpp",
6034 "buildtools/third_party/libc++/trunk/src/ios.instantiations.cpp",
6035 "buildtools/third_party/libc++/trunk/src/iostream.cpp",
6036 "buildtools/third_party/libc++/trunk/src/legacy_pointer_safety.cpp",
6037 "buildtools/third_party/libc++/trunk/src/locale.cpp",
6038 "buildtools/third_party/libc++/trunk/src/memory.cpp",
6039 "buildtools/third_party/libc++/trunk/src/mutex.cpp",
6040 "buildtools/third_party/libc++/trunk/src/mutex_destructor.cpp",
6041 "buildtools/third_party/libc++/trunk/src/new.cpp",
6042 "buildtools/third_party/libc++/trunk/src/optional.cpp",
6043 "buildtools/third_party/libc++/trunk/src/random.cpp",
6044 "buildtools/third_party/libc++/trunk/src/random_shuffle.cpp",
6045 "buildtools/third_party/libc++/trunk/src/regex.cpp",
6046 "buildtools/third_party/libc++/trunk/src/ryu/d2fixed.cpp",
6047 "buildtools/third_party/libc++/trunk/src/ryu/d2s.cpp",
6048 "buildtools/third_party/libc++/trunk/src/ryu/f2s.cpp",
6049 "buildtools/third_party/libc++/trunk/src/shared_mutex.cpp",
6050 "buildtools/third_party/libc++/trunk/src/stdexcept.cpp",
6051 "buildtools/third_party/libc++/trunk/src/string.cpp",
6052 "buildtools/third_party/libc++/trunk/src/strstream.cpp",
6053 "buildtools/third_party/libc++/trunk/src/system_error.cpp",
6054 "buildtools/third_party/libc++/trunk/src/thread.cpp",
6055 "buildtools/third_party/libc++/trunk/src/typeinfo.cpp",
6056 "buildtools/third_party/libc++/trunk/src/utility.cpp",
6057 "buildtools/third_party/libc++/trunk/src/valarray.cpp",
6058 "buildtools/third_party/libc++/trunk/src/variant.cpp",
6059 "buildtools/third_party/libc++/trunk/src/vector.cpp",
6060 "buildtools/third_party/libc++/trunk/src/verbose_abort.cpp",
6061 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006062 host_supported: true,
6063 defaults: [
6064 "cronet_aml_defaults",
6065 ],
6066 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006067 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6068 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006069 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006070 "-DLIBCXX_BUILDING_LIBCXXABI",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006071 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006072 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006073 "-DNVALGRIND",
6074 "-DOFFICIAL_BUILD",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006075 "-D_GNU_SOURCE",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006076 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006077 "-D_LIBCPP_BUILDING_LIBRARY",
6078 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006079 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
6080 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006081 "-fdata-sections",
6082 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09006083 "-fno-asynchronous-unwind-tables",
6084 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006085 "-fvisibility-inlines-hidden",
6086 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006087 "-g1",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006088 ],
6089 local_include_dirs: [
6090 "./",
6091 "buildtools/third_party/libc++/",
6092 "buildtools/third_party/libc++/trunk/include",
6093 "buildtools/third_party/libc++/trunk/src/",
6094 "buildtools/third_party/libc++abi/trunk/include",
6095 ],
6096 cpp_std: "c++20",
6097 cppflags: [
6098 "-fexceptions",
6099 ],
6100 rtti: true,
Motomu Utsumi55394632022-11-18 17:44:28 +09006101 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006102 android_arm: {
6103 cflags: [
6104 "-DANDROID",
6105 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6106 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006107 "-Oz",
6108 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006109 ],
6110 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09006111 android_arm64: {
6112 cflags: [
6113 "-DANDROID",
6114 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6115 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006116 "-Oz",
6117 "-fstack-protector",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006118 "-mno-outline",
6119 "-mno-outline-atomics",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09006120 ],
6121 },
Motomu Utsumi55394632022-11-18 17:44:28 +09006122 android_x86: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006123 cflags: [
6124 "-DANDROID",
6125 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6126 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006127 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006128 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09006129 ],
6130 },
6131 android_x86_64: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006132 cflags: [
6133 "-DANDROID",
6134 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6135 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006136 "-Oz",
6137 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006138 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09006139 ],
6140 },
6141 host: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006142 cflags: [
6143 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
6144 "-DUSE_AURA=1",
6145 "-DUSE_OZONE=1",
6146 "-DUSE_UDEV",
6147 "-D_FILE_OFFSET_BITS=64",
6148 "-D_LARGEFILE64_SOURCE",
6149 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006150 "-O2",
6151 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006152 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09006153 ],
6154 },
6155 },
Patrick Rohrcb035942022-11-01 12:12:52 -07006156}
6157
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006158// GN: //buildtools/third_party/libc++:libc++__testing
6159cc_object {
6160 name: "cronet_aml_buildtools_third_party_libc___libc____testing",
6161 srcs: [
6162 "buildtools/third_party/libc++/trunk/src/algorithm.cpp",
6163 "buildtools/third_party/libc++/trunk/src/any.cpp",
6164 "buildtools/third_party/libc++/trunk/src/atomic.cpp",
6165 "buildtools/third_party/libc++/trunk/src/barrier.cpp",
6166 "buildtools/third_party/libc++/trunk/src/bind.cpp",
6167 "buildtools/third_party/libc++/trunk/src/charconv.cpp",
6168 "buildtools/third_party/libc++/trunk/src/chrono.cpp",
6169 "buildtools/third_party/libc++/trunk/src/condition_variable.cpp",
6170 "buildtools/third_party/libc++/trunk/src/condition_variable_destructor.cpp",
6171 "buildtools/third_party/libc++/trunk/src/exception.cpp",
6172 "buildtools/third_party/libc++/trunk/src/format.cpp",
6173 "buildtools/third_party/libc++/trunk/src/functional.cpp",
6174 "buildtools/third_party/libc++/trunk/src/future.cpp",
6175 "buildtools/third_party/libc++/trunk/src/hash.cpp",
6176 "buildtools/third_party/libc++/trunk/src/ios.cpp",
6177 "buildtools/third_party/libc++/trunk/src/ios.instantiations.cpp",
6178 "buildtools/third_party/libc++/trunk/src/iostream.cpp",
6179 "buildtools/third_party/libc++/trunk/src/legacy_pointer_safety.cpp",
6180 "buildtools/third_party/libc++/trunk/src/locale.cpp",
6181 "buildtools/third_party/libc++/trunk/src/memory.cpp",
6182 "buildtools/third_party/libc++/trunk/src/mutex.cpp",
6183 "buildtools/third_party/libc++/trunk/src/mutex_destructor.cpp",
6184 "buildtools/third_party/libc++/trunk/src/new.cpp",
6185 "buildtools/third_party/libc++/trunk/src/optional.cpp",
6186 "buildtools/third_party/libc++/trunk/src/random.cpp",
6187 "buildtools/third_party/libc++/trunk/src/random_shuffle.cpp",
6188 "buildtools/third_party/libc++/trunk/src/regex.cpp",
6189 "buildtools/third_party/libc++/trunk/src/ryu/d2fixed.cpp",
6190 "buildtools/third_party/libc++/trunk/src/ryu/d2s.cpp",
6191 "buildtools/third_party/libc++/trunk/src/ryu/f2s.cpp",
6192 "buildtools/third_party/libc++/trunk/src/shared_mutex.cpp",
6193 "buildtools/third_party/libc++/trunk/src/stdexcept.cpp",
6194 "buildtools/third_party/libc++/trunk/src/string.cpp",
6195 "buildtools/third_party/libc++/trunk/src/strstream.cpp",
6196 "buildtools/third_party/libc++/trunk/src/system_error.cpp",
6197 "buildtools/third_party/libc++/trunk/src/thread.cpp",
6198 "buildtools/third_party/libc++/trunk/src/typeinfo.cpp",
6199 "buildtools/third_party/libc++/trunk/src/utility.cpp",
6200 "buildtools/third_party/libc++/trunk/src/valarray.cpp",
6201 "buildtools/third_party/libc++/trunk/src/variant.cpp",
6202 "buildtools/third_party/libc++/trunk/src/vector.cpp",
6203 "buildtools/third_party/libc++/trunk/src/verbose_abort.cpp",
6204 ],
6205 host_supported: true,
6206 defaults: [
6207 "cronet_aml_defaults",
6208 ],
6209 cflags: [
6210 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6211 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
6212 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
6213 "-DLIBCXX_BUILDING_LIBCXXABI",
6214 "-DNDEBUG",
6215 "-DNO_UNWIND_TABLES",
6216 "-DNVALGRIND",
6217 "-DOFFICIAL_BUILD",
6218 "-D_GNU_SOURCE",
6219 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
6220 "-D_LIBCPP_BUILDING_LIBRARY",
6221 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6222 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
6223 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6224 "-fdata-sections",
6225 "-ffunction-sections",
6226 "-fno-asynchronous-unwind-tables",
6227 "-fno-unwind-tables",
6228 "-fvisibility-inlines-hidden",
6229 "-fvisibility=hidden",
6230 "-g1",
6231 ],
6232 local_include_dirs: [
6233 "./",
6234 "buildtools/third_party/libc++/",
6235 "buildtools/third_party/libc++/trunk/include",
6236 "buildtools/third_party/libc++/trunk/src/",
6237 "buildtools/third_party/libc++abi/trunk/include",
6238 ],
6239 cpp_std: "c++20",
6240 cppflags: [
6241 "-fexceptions",
6242 ],
6243 rtti: true,
6244 target: {
6245 android_arm: {
6246 cflags: [
6247 "-DANDROID",
6248 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6249 "-DHAVE_SYS_UIO_H",
6250 "-Oz",
6251 "-fstack-protector",
6252 ],
6253 },
6254 android_arm64: {
6255 cflags: [
6256 "-DANDROID",
6257 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6258 "-DHAVE_SYS_UIO_H",
6259 "-Oz",
6260 "-fstack-protector",
6261 "-mno-outline",
6262 "-mno-outline-atomics",
6263 ],
6264 },
6265 android_x86: {
6266 cflags: [
6267 "-DANDROID",
6268 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6269 "-DHAVE_SYS_UIO_H",
6270 "-Oz",
6271 "-msse3",
6272 ],
6273 },
6274 android_x86_64: {
6275 cflags: [
6276 "-DANDROID",
6277 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6278 "-DHAVE_SYS_UIO_H",
6279 "-Oz",
6280 "-fstack-protector",
6281 "-msse3",
6282 ],
6283 },
6284 host: {
6285 cflags: [
6286 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
6287 "-DUSE_AURA=1",
6288 "-DUSE_OZONE=1",
6289 "-DUSE_UDEV",
6290 "-D_FILE_OFFSET_BITS=64",
6291 "-D_LARGEFILE64_SOURCE",
6292 "-D_LARGEFILE_SOURCE",
6293 "-O2",
6294 "-fstack-protector",
6295 "-msse3",
6296 ],
6297 },
6298 },
6299}
6300
Patrick Rohrcb035942022-11-01 12:12:52 -07006301// GN: //buildtools/third_party/libc++abi:libc++abi
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006302cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07006303 name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006304 srcs: [
6305 "buildtools/third_party/libc++abi/trunk/src/abort_message.cpp",
6306 "buildtools/third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp",
6307 "buildtools/third_party/libc++abi/trunk/src/cxa_default_handlers.cpp",
6308 "buildtools/third_party/libc++abi/trunk/src/cxa_exception.cpp",
6309 "buildtools/third_party/libc++abi/trunk/src/cxa_exception_storage.cpp",
6310 "buildtools/third_party/libc++abi/trunk/src/cxa_guard.cpp",
6311 "buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp",
6312 "buildtools/third_party/libc++abi/trunk/src/cxa_personality.cpp",
6313 "buildtools/third_party/libc++abi/trunk/src/cxa_thread_atexit.cpp",
6314 "buildtools/third_party/libc++abi/trunk/src/cxa_vector.cpp",
6315 "buildtools/third_party/libc++abi/trunk/src/cxa_virtual.cpp",
6316 "buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp",
6317 "buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp",
6318 "buildtools/third_party/libc++abi/trunk/src/stdlib_exception.cpp",
6319 "buildtools/third_party/libc++abi/trunk/src/stdlib_stdexcept.cpp",
6320 "buildtools/third_party/libc++abi/trunk/src/stdlib_typeinfo.cpp",
6321 ],
6322 host_supported: true,
6323 defaults: [
6324 "cronet_aml_defaults",
6325 ],
6326 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006327 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6328 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006329 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006330 "-DLIBCXXABI_SILENT_TERMINATE",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006331 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006332 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006333 "-DNVALGRIND",
6334 "-DOFFICIAL_BUILD",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006335 "-D_GNU_SOURCE",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006336 "-D_LIBCPP_BUILDING_LIBRARY",
6337 "-D_LIBCPP_CONSTINIT=constinit",
6338 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006339 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006340 "-fdata-sections",
6341 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09006342 "-fno-asynchronous-unwind-tables",
6343 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006344 "-fvisibility-inlines-hidden",
6345 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006346 "-g1",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006347 ],
6348 local_include_dirs: [
6349 "./",
6350 "buildtools/third_party/libc++/",
6351 "buildtools/third_party/libc++/trunk/include",
6352 "buildtools/third_party/libc++/trunk/src/",
6353 "buildtools/third_party/libc++abi/trunk/include",
6354 ],
6355 cpp_std: "c++20",
6356 cppflags: [
6357 "-fexceptions",
6358 ],
6359 rtti: true,
Patrick Rohr3b5ff762022-11-16 10:22:16 -08006360 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006361 android_arm: {
6362 srcs: [
6363 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6364 ],
6365 cflags: [
6366 "-DANDROID",
6367 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6368 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006369 "-Oz",
6370 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006371 ],
6372 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09006373 android_arm64: {
6374 srcs: [
6375 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6376 ],
6377 cflags: [
6378 "-DANDROID",
6379 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6380 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006381 "-Oz",
6382 "-fstack-protector",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006383 "-mno-outline",
6384 "-mno-outline-atomics",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09006385 ],
6386 },
Motomu Utsumi65501182022-11-18 15:26:35 +09006387 android_x86: {
6388 srcs: [
6389 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006390 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006391 cflags: [
6392 "-DANDROID",
6393 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6394 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006395 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006396 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09006397 ],
6398 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08006399 android_x86_64: {
6400 srcs: [
6401 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006402 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006403 cflags: [
6404 "-DANDROID",
6405 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6406 "-DHAVE_SYS_UIO_H",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006407 "-Oz",
6408 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006409 "-msse3",
Patrick Rohr3b5ff762022-11-16 10:22:16 -08006410 ],
6411 },
Patrick Rohr09ee70e2022-11-16 15:20:03 -08006412 host: {
6413 srcs: [
6414 "buildtools/third_party/libc++abi/trunk/src/cxa_demangle.cpp",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00006415 ],
6416 cflags: [
6417 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
6418 "-DUSE_AURA=1",
6419 "-DUSE_OZONE=1",
6420 "-DUSE_UDEV",
6421 "-D_FILE_OFFSET_BITS=64",
6422 "-D_LARGEFILE64_SOURCE",
6423 "-D_LARGEFILE_SOURCE",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006424 "-O2",
6425 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006426 "-msse3",
Patrick Rohr09ee70e2022-11-16 15:20:03 -08006427 ],
6428 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08006429 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006430}
6431
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006432// GN: //buildtools/third_party/libc++abi:libc++abi__testing
6433cc_object {
6434 name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
6435 srcs: [
6436 "buildtools/third_party/libc++abi/trunk/src/abort_message.cpp",
6437 "buildtools/third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp",
6438 "buildtools/third_party/libc++abi/trunk/src/cxa_default_handlers.cpp",
6439 "buildtools/third_party/libc++abi/trunk/src/cxa_exception.cpp",
6440 "buildtools/third_party/libc++abi/trunk/src/cxa_exception_storage.cpp",
6441 "buildtools/third_party/libc++abi/trunk/src/cxa_guard.cpp",
6442 "buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp",
6443 "buildtools/third_party/libc++abi/trunk/src/cxa_personality.cpp",
6444 "buildtools/third_party/libc++abi/trunk/src/cxa_thread_atexit.cpp",
6445 "buildtools/third_party/libc++abi/trunk/src/cxa_vector.cpp",
6446 "buildtools/third_party/libc++abi/trunk/src/cxa_virtual.cpp",
6447 "buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp",
6448 "buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp",
6449 "buildtools/third_party/libc++abi/trunk/src/stdlib_exception.cpp",
6450 "buildtools/third_party/libc++abi/trunk/src/stdlib_stdexcept.cpp",
6451 "buildtools/third_party/libc++abi/trunk/src/stdlib_typeinfo.cpp",
6452 ],
6453 host_supported: true,
6454 defaults: [
6455 "cronet_aml_defaults",
6456 ],
6457 cflags: [
6458 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6459 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
6460 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
6461 "-DLIBCXXABI_SILENT_TERMINATE",
6462 "-DNDEBUG",
6463 "-DNO_UNWIND_TABLES",
6464 "-DNVALGRIND",
6465 "-DOFFICIAL_BUILD",
6466 "-D_GNU_SOURCE",
6467 "-D_LIBCPP_BUILDING_LIBRARY",
6468 "-D_LIBCPP_CONSTINIT=constinit",
6469 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
6470 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
6471 "-fdata-sections",
6472 "-ffunction-sections",
6473 "-fno-asynchronous-unwind-tables",
6474 "-fno-unwind-tables",
6475 "-fvisibility-inlines-hidden",
6476 "-fvisibility=hidden",
6477 "-g1",
6478 ],
6479 local_include_dirs: [
6480 "./",
6481 "buildtools/third_party/libc++/",
6482 "buildtools/third_party/libc++/trunk/include",
6483 "buildtools/third_party/libc++/trunk/src/",
6484 "buildtools/third_party/libc++abi/trunk/include",
6485 ],
6486 cpp_std: "c++20",
6487 cppflags: [
6488 "-fexceptions",
6489 ],
6490 rtti: true,
6491 target: {
6492 android_arm: {
6493 srcs: [
6494 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6495 ],
6496 cflags: [
6497 "-DANDROID",
6498 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6499 "-DHAVE_SYS_UIO_H",
6500 "-Oz",
6501 "-fstack-protector",
6502 ],
6503 },
6504 android_arm64: {
6505 srcs: [
6506 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6507 ],
6508 cflags: [
6509 "-DANDROID",
6510 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6511 "-DHAVE_SYS_UIO_H",
6512 "-Oz",
6513 "-fstack-protector",
6514 "-mno-outline",
6515 "-mno-outline-atomics",
6516 ],
6517 },
6518 android_x86: {
6519 srcs: [
6520 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6521 ],
6522 cflags: [
6523 "-DANDROID",
6524 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6525 "-DHAVE_SYS_UIO_H",
6526 "-Oz",
6527 "-msse3",
6528 ],
6529 },
6530 android_x86_64: {
6531 srcs: [
6532 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
6533 ],
6534 cflags: [
6535 "-DANDROID",
6536 "-DANDROID_NDK_VERSION_ROLL=r23_1",
6537 "-DHAVE_SYS_UIO_H",
6538 "-Oz",
6539 "-fstack-protector",
6540 "-msse3",
6541 ],
6542 },
6543 host: {
6544 srcs: [
6545 "buildtools/third_party/libc++abi/trunk/src/cxa_demangle.cpp",
6546 ],
6547 cflags: [
6548 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
6549 "-DUSE_AURA=1",
6550 "-DUSE_OZONE=1",
6551 "-DUSE_UDEV",
6552 "-D_FILE_OFFSET_BITS=64",
6553 "-D_LARGEFILE64_SOURCE",
6554 "-D_LARGEFILE_SOURCE",
6555 "-O2",
6556 "-fstack-protector",
6557 "-msse3",
6558 ],
6559 },
6560 },
6561}
6562
Motomu Utsumie74bab82022-12-16 18:00:12 +09006563// GN: //components/cronet/android:buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00006564cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09006565 name: "cronet_aml_components_cronet_android_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006566 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
6567 "$(location build/write_buildflag_header.py) --output " +
6568 "$(out) " +
6569 "--rulename " +
6570 "//components/cronet/android:buildflags " +
6571 "--gen-dir " +
6572 ". " +
6573 "--definitions " +
6574 "/dev/stdin",
6575 out: [
6576 "components/cronet/android/buildflags.h",
6577 ],
6578 tool_files: [
6579 "build/write_buildflag_header.py",
6580 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09006581 apex_available: [
6582 "com.android.tethering",
6583 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006584}
6585
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006586// GN: //components/cronet/android:buildflags__testing
6587cc_genrule {
6588 name: "cronet_aml_components_cronet_android_buildflags__testing",
6589 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
6590 "$(location build/write_buildflag_header.py) --output " +
6591 "$(out) " +
6592 "--rulename " +
6593 "//components/cronet/android:buildflags " +
6594 "--gen-dir " +
6595 ". " +
6596 "--definitions " +
6597 "/dev/stdin",
6598 out: [
6599 "components/cronet/android/buildflags.h",
6600 ],
6601 tool_files: [
6602 "build/write_buildflag_header.py",
6603 ],
6604 apex_available: [
6605 "com.android.tethering",
6606 ],
6607}
6608
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006609// GN: //components/cronet/android:cronet
6610cc_library_shared {
6611 name: "cronet_aml_components_cronet_android_cronet",
6612 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006613 ":cronet_aml_buildtools_third_party_libc___libc__",
6614 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006615 ":cronet_aml_components_cronet_android_cronet_static",
6616 ":cronet_aml_components_cronet_cronet_common",
6617 ":cronet_aml_components_cronet_metrics_util",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00006618 ":cronet_aml_components_metrics_library_support",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006619 "components/cronet/android/cronet_jni.cc",
6620 ],
6621 shared_libs: [
6622 "libandroid",
6623 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -08006624 "libz",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006625 ],
6626 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006627 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006628 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006629 "cronet_aml_base_base_static",
6630 "cronet_aml_base_third_party_double_conversion_double_conversion",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006631 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
6632 "cronet_aml_components_prefs_prefs",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08006633 "cronet_aml_crypto_crypto",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006634 "cronet_aml_net_net",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08006635 "cronet_aml_net_preload_decoder",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006636 "cronet_aml_net_third_party_quiche_quiche",
6637 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +09006638 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08006639 "cronet_aml_third_party_brotli_common",
6640 "cronet_aml_third_party_brotli_dec",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08006641 "cronet_aml_third_party_icu_icui18n",
6642 "cronet_aml_third_party_icu_icuuc_private",
6643 "cronet_aml_third_party_libevent_libevent",
6644 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumi6ccc9d82022-11-16 18:05:45 +09006645 "cronet_aml_third_party_protobuf_protobuf_lite",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006646 "cronet_aml_url_url",
6647 ],
6648 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +09006649 "cronet_aml_base_debugging_buildflags",
6650 "cronet_aml_base_logging_buildflags",
6651 "cronet_aml_build_chromeos_buildflags",
6652 "cronet_aml_components_cronet_android_buildflags",
6653 "cronet_aml_components_cronet_android_cronet_jni_headers",
6654 "cronet_aml_components_cronet_android_cronet_jni_registration",
6655 "cronet_aml_components_cronet_cronet_buildflags",
6656 "cronet_aml_components_cronet_cronet_version_header_action",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006657 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +09006658 "cronet_aml_url_buildflags",
Mohannad Farrag631443e2022-11-21 16:17:01 +00006659 ],
6660 export_generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +09006661 "cronet_aml_base_debugging_buildflags",
6662 "cronet_aml_base_logging_buildflags",
6663 "cronet_aml_build_chromeos_buildflags",
6664 "cronet_aml_components_cronet_android_buildflags",
6665 "cronet_aml_components_cronet_android_cronet_jni_headers",
6666 "cronet_aml_components_cronet_android_cronet_jni_registration",
6667 "cronet_aml_components_cronet_cronet_buildflags",
6668 "cronet_aml_components_cronet_cronet_version_header_action",
Mohannad Farrag631443e2022-11-21 16:17:01 +00006669 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +09006670 "cronet_aml_url_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006671 ],
6672 defaults: [
6673 "cronet_aml_defaults",
6674 ],
6675 cflags: [
6676 "-DANDROID",
6677 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006678 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
6679 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006680 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006681 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
6682 "-DGOOGLE_PROTOBUF_NO_RTTI",
6683 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
6684 "-DHAVE_PTHREAD",
6685 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006686 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09006687 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09006688 "-DNVALGRIND",
6689 "-DOFFICIAL_BUILD",
6690 "-D_FORTIFY_SOURCE=2",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006691 "-D_GNU_SOURCE",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006692 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006693 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006694 "-D__STDC_CONSTANT_MACROS",
6695 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006696 "-Oz",
6697 "-fdata-sections",
6698 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09006699 "-fno-asynchronous-unwind-tables",
6700 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09006701 "-fvisibility-inlines-hidden",
6702 "-fvisibility=hidden",
6703 "-g1",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006704 ],
6705 local_include_dirs: [
6706 "./",
6707 "buildtools/third_party/libc++/",
6708 "buildtools/third_party/libc++/trunk/include",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006709 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006710 "net/third_party/quiche/overrides/",
6711 "net/third_party/quiche/src/",
6712 "net/third_party/quiche/src/quiche/common/platform/default/",
6713 "third_party/abseil-cpp/",
6714 "third_party/boringssl/src/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +09006715 "third_party/protobuf/src/",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006716 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006717 cpp_std: "c++17",
Motomu Utsumiab76aac2023-01-23 12:01:00 +09006718 ldflags: [
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09006719 "-Wl,--as-needed",
6720 "-Wl,--gc-sections",
6721 "-Wl,--icf=all",
Motomu Utsumiab76aac2023-01-23 12:01:00 +09006722 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +00006723 "-Wl,-wrap,asprintf",
6724 "-Wl,-wrap,calloc",
6725 "-Wl,-wrap,free",
6726 "-Wl,-wrap,getcwd",
6727 "-Wl,-wrap,malloc",
6728 "-Wl,-wrap,malloc_usable_size",
6729 "-Wl,-wrap,memalign",
6730 "-Wl,-wrap,posix_memalign",
6731 "-Wl,-wrap,pvalloc",
6732 "-Wl,-wrap,realloc",
6733 "-Wl,-wrap,realpath",
6734 "-Wl,-wrap,strdup",
6735 "-Wl,-wrap,strndup",
6736 "-Wl,-wrap,valloc",
6737 "-Wl,-wrap,vasprintf",
Patrick Rohrd90025f2022-11-11 14:18:35 -08006738 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09006739 stem: "libcronet.108.0.5359.128",
Mohannad Farrag631443e2022-11-21 16:17:01 +00006740 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09006741 android_arm: {
6742 cflags: [
6743 "-fstack-protector",
6744 ],
6745 },
6746 android_arm64: {
6747 cflags: [
6748 "-fstack-protector",
6749 "-mno-outline",
6750 "-mno-outline-atomics",
6751 ],
6752 },
Mohannad Farrag631443e2022-11-21 16:17:01 +00006753 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006754 cflags: [
6755 "-msse3",
6756 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00006757 },
6758 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006759 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09006760 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006761 "-msse3",
6762 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00006763 },
6764 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006765}
6766
Motomu Utsumie74bab82022-12-16 18:00:12 +09006767// GN: //components/cronet/android:cronet_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00006768cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09006769 name: "cronet_aml_components_cronet_android_cronet_jni_headers",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006770 srcs: [
6771 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
6772 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
6773 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
6774 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
6775 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
6776 ],
6777 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
6778 "long " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006779 "--output_dir " +
6780 "$(genDir)/components/cronet/android/cronet_jni_headers " +
6781 "--includes " +
6782 "base/android/jni_generator/jni_generator_helper.h " +
6783 "--use_proxy_hash " +
6784 "--output_name " +
6785 "CronetBidirectionalStream_jni.h " +
6786 "--output_name " +
6787 "CronetLibraryLoader_jni.h " +
6788 "--output_name " +
6789 "CronetUploadDataStream_jni.h " +
6790 "--output_name " +
6791 "CronetUrlRequest_jni.h " +
6792 "--output_name " +
6793 "CronetUrlRequestContext_jni.h " +
6794 "--input_file " +
6795 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
6796 "--input_file " +
6797 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
6798 "--input_file " +
6799 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
6800 "--input_file " +
6801 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
6802 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00006803 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java) " +
6804 "--package_prefix " +
6805 "android.net.http.internal",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006806 out: [
6807 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
6808 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
6809 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
6810 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
6811 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
6812 ],
6813 tool_files: [
6814 "base/android/jni_generator/android_jar.classes",
6815 "base/android/jni_generator/jni_generator.py",
6816 "build/android/gyp/util/__init__.py",
6817 "build/android/gyp/util/build_utils.py",
6818 "build/gn_helpers.py",
6819 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09006820 apex_available: [
6821 "com.android.tethering",
6822 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09006823}
6824
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006825// GN: //components/cronet/android:cronet_jni_headers__testing
6826cc_genrule {
6827 name: "cronet_aml_components_cronet_android_cronet_jni_headers__testing",
6828 srcs: [
6829 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
6830 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
6831 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
6832 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
6833 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
6834 ],
6835 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
6836 "long " +
6837 "--output_dir " +
6838 "$(genDir)/components/cronet/android/cronet_jni_headers " +
6839 "--includes " +
6840 "base/android/jni_generator/jni_generator_helper.h " +
6841 "--use_proxy_hash " +
6842 "--output_name " +
6843 "CronetBidirectionalStream_jni.h " +
6844 "--output_name " +
6845 "CronetLibraryLoader_jni.h " +
6846 "--output_name " +
6847 "CronetUploadDataStream_jni.h " +
6848 "--output_name " +
6849 "CronetUrlRequest_jni.h " +
6850 "--output_name " +
6851 "CronetUrlRequestContext_jni.h " +
6852 "--input_file " +
6853 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
6854 "--input_file " +
6855 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
6856 "--input_file " +
6857 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
6858 "--input_file " +
6859 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
6860 "--input_file " +
Mohannad Farragf27cd352023-02-10 17:41:19 +00006861 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00006862 out: [
6863 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
6864 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
6865 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
6866 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
6867 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
6868 ],
6869 tool_files: [
6870 "base/android/jni_generator/android_jar.classes",
6871 "base/android/jni_generator/jni_generator.py",
6872 "build/android/gyp/util/__init__.py",
6873 "build/android/gyp/util/build_utils.py",
6874 "build/gn_helpers.py",
6875 ],
6876 apex_available: [
6877 "com.android.tethering",
6878 ],
6879}
6880
Motomu Utsumie74bab82022-12-16 18:00:12 +09006881// GN: //components/cronet/android:cronet_jni_registration
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00006882cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09006883 name: "cronet_aml_components_cronet_android_cronet_jni_registration",
Patrick Rohr98600682022-11-18 18:29:15 -08006884 srcs: [
Mohannad Farraga23114a2022-11-22 17:47:51 +00006885 "base/android/java/src/org/chromium/base/ActivityState.java",
6886 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
6887 "base/android/java/src/org/chromium/base/ApkAssets.java",
6888 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
6889 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
6890 "base/android/java/src/org/chromium/base/BuildInfo.java",
6891 "base/android/java/src/org/chromium/base/BundleUtils.java",
6892 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
6893 "base/android/java/src/org/chromium/base/Callback.java",
6894 "base/android/java/src/org/chromium/base/CallbackController.java",
6895 "base/android/java/src/org/chromium/base/CollectionUtil.java",
6896 "base/android/java/src/org/chromium/base/CommandLine.java",
6897 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
6898 "base/android/java/src/org/chromium/base/Consumer.java",
6899 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
6900 "base/android/java/src/org/chromium/base/ContextUtils.java",
6901 "base/android/java/src/org/chromium/base/CpuFeatures.java",
6902 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
6903 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
6904 "base/android/java/src/org/chromium/base/EventLog.java",
6905 "base/android/java/src/org/chromium/base/FeatureList.java",
6906 "base/android/java/src/org/chromium/base/Features.java",
6907 "base/android/java/src/org/chromium/base/FieldTrialList.java",
6908 "base/android/java/src/org/chromium/base/FileUtils.java",
6909 "base/android/java/src/org/chromium/base/Function.java",
6910 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
6911 "base/android/java/src/org/chromium/base/IntStringCallback.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006912 "base/android/java/src/org/chromium/base/JNIUtils.java",
6913 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
6914 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006915 "base/android/java/src/org/chromium/base/JniException.java",
6916 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006917 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
6918 "base/android/java/src/org/chromium/base/LocaleUtils.java",
6919 "base/android/java/src/org/chromium/base/Log.java",
6920 "base/android/java/src/org/chromium/base/MathUtils.java",
6921 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006922 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006923 "base/android/java/src/org/chromium/base/ObserverList.java",
6924 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
6925 "base/android/java/src/org/chromium/base/PackageUtils.java",
6926 "base/android/java/src/org/chromium/base/PathService.java",
6927 "base/android/java/src/org/chromium/base/PathUtils.java",
6928 "base/android/java/src/org/chromium/base/PiiElider.java",
6929 "base/android/java/src/org/chromium/base/PowerMonitor.java",
6930 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
6931 "base/android/java/src/org/chromium/base/Predicate.java",
6932 "base/android/java/src/org/chromium/base/Promise.java",
6933 "base/android/java/src/org/chromium/base/RadioUtils.java",
6934 "base/android/java/src/org/chromium/base/StreamUtil.java",
6935 "base/android/java/src/org/chromium/base/StrictModeContext.java",
Patrick Rohrf20b5ed2022-12-22 14:57:50 -08006936 "base/android/java/src/org/chromium/base/SysUtils.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006937 "base/android/java/src/org/chromium/base/ThreadUtils.java",
6938 "base/android/java/src/org/chromium/base/TimeUtils.java",
6939 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
6940 "base/android/java/src/org/chromium/base/TraceEvent.java",
6941 "base/android/java/src/org/chromium/base/UnguessableToken.java",
6942 "base/android/java/src/org/chromium/base/UnownedUserData.java",
6943 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
6944 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
6945 "base/android/java/src/org/chromium/base/UserData.java",
6946 "base/android/java/src/org/chromium/base/UserDataHost.java",
6947 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006948 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
6949 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
6950 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
6951 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
6952 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
6953 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
6954 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
6955 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
6956 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006957 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
6958 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
6959 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
6960 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
6961 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
6962 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
6963 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
6964 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
6965 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
6966 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
6967 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
6968 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
6969 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
6970 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
6971 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
6972 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
6973 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
6974 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
6975 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
6976 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
6977 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
6978 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
Patrick Rohrf20b5ed2022-12-22 14:57:50 -08006979 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
6980 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006981 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
6982 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
6983 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
6984 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
6985 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
6986 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
6987 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
6988 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
6989 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
6990 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
6991 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
6992 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
6993 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
6994 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
6995 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
6996 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
6997 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
6998 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
6999 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
7000 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
7001 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
7002 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
7003 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
7004 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007005 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
7006 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
7007 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
7008 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
7009 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
7010 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
7011 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
7012 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
7013 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
7014 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
7015 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
7016 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
7017 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
7018 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
7019 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
7020 "base/android/java/src/org/chromium/base/task/PostTask.java",
7021 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
7022 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
7023 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
7024 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
7025 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
7026 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
7027 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
7028 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7029 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
7030 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00007031 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
7032 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
7033 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
7034 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
7035 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
7036 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
7037 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
7038 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007039 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
7040 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
7041 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
7042 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
7043 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
7044 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
7045 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
7046 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
7047 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
7048 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
7049 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
7050 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
7051 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
Patrick Rohr98600682022-11-18 18:29:15 -08007052 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007053 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007054 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00007055 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
7056 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
7057 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
7058 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
7059 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
7060 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
7061 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
7062 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
7063 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
7064 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
7065 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
7066 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
7067 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
7068 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
7069 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
7070 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
7071 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
7072 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
7073 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
7074 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
7075 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
7076 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
7077 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
7078 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
7079 "net/android/java/src/org/chromium/net/DnsStatus.java",
7080 "net/android/java/src/org/chromium/net/GURLUtils.java",
7081 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
7082 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
7083 "net/android/java/src/org/chromium/net/HttpUtil.java",
7084 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
7085 "net/android/java/src/org/chromium/net/NetStringUtil.java",
7086 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
7087 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
7088 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
7089 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
7090 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
7091 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
7092 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
7093 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
7094 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
7095 "net/android/java/src/org/chromium/net/X509Util.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00007096 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
Motomu Utsumie3ce7702022-11-10 16:22:11 +09007097 ],
Motomu Utsumi7bc2fcc2022-11-10 17:09:54 +09007098 cmd: "current_dir=`basename \\`pwd\\``; " +
7099 "for f in $(in); " +
7100 "do " +
7101 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
7102 "done; " +
Motomu Utsumi9ca466b2022-11-10 17:12:29 +09007103 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09007104 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007105 "--depfile " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09007106 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007107 "--sources-files " +
Motomu Utsumi7bc2fcc2022-11-10 17:09:54 +09007108 "$(genDir)/java.sources " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007109 "--include_test_only " +
7110 "--use_proxy_hash " +
7111 "--header-path " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09007112 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007113 "--manual_jni_registration " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00007114 "--package_prefix " +
7115 "android.net.http.internal " +
Mohannad Farrag7c0f0982022-11-10 14:39:49 +00007116 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
Motomu Utsumi2a892d22022-11-10 18:03:20 +09007117 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007118 out: [
7119 "components/cronet/android/cronet_jni_registration.h",
7120 "components/cronet/android/cronet_jni_registration.srcjar",
7121 ],
7122 tool_files: [
7123 "base/android/jni_generator/jni_generator.py",
7124 "base/android/jni_generator/jni_registration_generator.py",
7125 "build/android/gyp/util/__init__.py",
7126 "build/android/gyp/util/build_utils.py",
7127 "build/gn_helpers.py",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007128 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007129 apex_available: [
7130 "com.android.tethering",
7131 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007132}
7133
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007134// GN: //components/cronet/android:cronet_jni_registration
7135java_genrule {
7136 name: "cronet_aml_components_cronet_android_cronet_jni_registration__java",
7137 srcs: [
7138 "base/android/java/src/org/chromium/base/ActivityState.java",
7139 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
7140 "base/android/java/src/org/chromium/base/ApkAssets.java",
7141 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
7142 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
7143 "base/android/java/src/org/chromium/base/BuildInfo.java",
7144 "base/android/java/src/org/chromium/base/BundleUtils.java",
7145 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
7146 "base/android/java/src/org/chromium/base/Callback.java",
7147 "base/android/java/src/org/chromium/base/CallbackController.java",
7148 "base/android/java/src/org/chromium/base/CollectionUtil.java",
7149 "base/android/java/src/org/chromium/base/CommandLine.java",
7150 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
7151 "base/android/java/src/org/chromium/base/Consumer.java",
7152 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
7153 "base/android/java/src/org/chromium/base/ContextUtils.java",
7154 "base/android/java/src/org/chromium/base/CpuFeatures.java",
7155 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
7156 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
7157 "base/android/java/src/org/chromium/base/EventLog.java",
7158 "base/android/java/src/org/chromium/base/FeatureList.java",
7159 "base/android/java/src/org/chromium/base/Features.java",
7160 "base/android/java/src/org/chromium/base/FieldTrialList.java",
7161 "base/android/java/src/org/chromium/base/FileUtils.java",
7162 "base/android/java/src/org/chromium/base/Function.java",
7163 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
7164 "base/android/java/src/org/chromium/base/IntStringCallback.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007165 "base/android/java/src/org/chromium/base/JNIUtils.java",
7166 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
7167 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
7168 "base/android/java/src/org/chromium/base/JniException.java",
7169 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
7170 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
7171 "base/android/java/src/org/chromium/base/LocaleUtils.java",
7172 "base/android/java/src/org/chromium/base/Log.java",
7173 "base/android/java/src/org/chromium/base/MathUtils.java",
7174 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
7175 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
7176 "base/android/java/src/org/chromium/base/ObserverList.java",
7177 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
7178 "base/android/java/src/org/chromium/base/PackageUtils.java",
7179 "base/android/java/src/org/chromium/base/PathService.java",
7180 "base/android/java/src/org/chromium/base/PathUtils.java",
7181 "base/android/java/src/org/chromium/base/PiiElider.java",
7182 "base/android/java/src/org/chromium/base/PowerMonitor.java",
7183 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
7184 "base/android/java/src/org/chromium/base/Predicate.java",
7185 "base/android/java/src/org/chromium/base/Promise.java",
7186 "base/android/java/src/org/chromium/base/RadioUtils.java",
7187 "base/android/java/src/org/chromium/base/StreamUtil.java",
7188 "base/android/java/src/org/chromium/base/StrictModeContext.java",
Patrick Rohrf20b5ed2022-12-22 14:57:50 -08007189 "base/android/java/src/org/chromium/base/SysUtils.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007190 "base/android/java/src/org/chromium/base/ThreadUtils.java",
7191 "base/android/java/src/org/chromium/base/TimeUtils.java",
7192 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
7193 "base/android/java/src/org/chromium/base/TraceEvent.java",
7194 "base/android/java/src/org/chromium/base/UnguessableToken.java",
7195 "base/android/java/src/org/chromium/base/UnownedUserData.java",
7196 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
7197 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
7198 "base/android/java/src/org/chromium/base/UserData.java",
7199 "base/android/java/src/org/chromium/base/UserDataHost.java",
7200 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
7201 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
7202 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
7203 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
7204 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
7205 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
7206 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
7207 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
7208 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
7209 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
7210 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
7211 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
7212 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
7213 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
7214 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
7215 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
7216 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
7217 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
7218 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
7219 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
7220 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
7221 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
7222 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
7223 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
7224 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
7225 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
7226 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
7227 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
7228 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
7229 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
7230 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
7231 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
Patrick Rohrf20b5ed2022-12-22 14:57:50 -08007232 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
7233 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007234 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
7235 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
7236 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
7237 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
7238 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
7239 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
7240 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
7241 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
7242 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
7243 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
7244 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
7245 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
7246 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
7247 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
7248 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
7249 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
7250 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
7251 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
7252 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
7253 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
7254 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
7255 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
7256 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
7257 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007258 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
7259 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
7260 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
7261 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
7262 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
7263 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
7264 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
7265 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
7266 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
7267 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
7268 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
7269 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
7270 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
7271 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
7272 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
7273 "base/android/java/src/org/chromium/base/task/PostTask.java",
7274 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
7275 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
7276 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
7277 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
7278 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
7279 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
7280 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
7281 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7282 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
7283 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
7284 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
7285 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
7286 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
7287 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
7288 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
7289 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
7290 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
7291 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007292 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
7293 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
7294 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
7295 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
7296 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
7297 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
7298 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
7299 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
7300 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
7301 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
7302 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
7303 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
7304 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
7305 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
7306 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007307 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007308 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
7309 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
7310 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
7311 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
7312 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
7313 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
7314 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
7315 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
7316 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
7317 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
7318 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
7319 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
7320 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
7321 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
7322 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
7323 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
7324 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
7325 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
7326 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
7327 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
7328 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
7329 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
7330 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
7331 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
7332 "net/android/java/src/org/chromium/net/DnsStatus.java",
7333 "net/android/java/src/org/chromium/net/GURLUtils.java",
7334 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
7335 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
7336 "net/android/java/src/org/chromium/net/HttpUtil.java",
7337 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
7338 "net/android/java/src/org/chromium/net/NetStringUtil.java",
7339 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
7340 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
7341 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
7342 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
7343 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
7344 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
7345 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
7346 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
7347 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
7348 "net/android/java/src/org/chromium/net/X509Util.java",
7349 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
7350 ],
7351 cmd: "current_dir=`basename \\`pwd\\``; " +
7352 "for f in $(in); " +
7353 "do " +
7354 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
7355 "done; " +
7356 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
7357 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
7358 "--depfile " +
7359 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
7360 "--sources-files " +
7361 "$(genDir)/java.sources " +
7362 "--include_test_only " +
7363 "--use_proxy_hash " +
7364 "--header-path " +
7365 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
7366 "--manual_jni_registration " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00007367 "--package_prefix " +
7368 "android.net.http.internal " +
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00007369 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
7370 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
7371 out: [
7372 "components/cronet/android/cronet_jni_registration.srcjar",
7373 ],
7374 tool_files: [
7375 "base/android/jni_generator/jni_generator.py",
7376 "base/android/jni_generator/jni_registration_generator.py",
7377 "build/android/gyp/util/__init__.py",
7378 "build/android/gyp/util/build_utils.py",
7379 "build/gn_helpers.py",
7380 ],
7381}
7382
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007383// GN: //components/cronet/android:cronet_jni_registration__testing
7384cc_genrule {
7385 name: "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
7386 srcs: [
7387 "base/android/java/src/org/chromium/base/ActivityState.java",
7388 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
7389 "base/android/java/src/org/chromium/base/ApkAssets.java",
7390 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
7391 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
7392 "base/android/java/src/org/chromium/base/BuildInfo.java",
7393 "base/android/java/src/org/chromium/base/BundleUtils.java",
7394 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
7395 "base/android/java/src/org/chromium/base/Callback.java",
7396 "base/android/java/src/org/chromium/base/CallbackController.java",
7397 "base/android/java/src/org/chromium/base/CollectionUtil.java",
7398 "base/android/java/src/org/chromium/base/CommandLine.java",
7399 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
7400 "base/android/java/src/org/chromium/base/Consumer.java",
7401 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
7402 "base/android/java/src/org/chromium/base/ContextUtils.java",
7403 "base/android/java/src/org/chromium/base/CpuFeatures.java",
7404 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
7405 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
7406 "base/android/java/src/org/chromium/base/EventLog.java",
7407 "base/android/java/src/org/chromium/base/FeatureList.java",
7408 "base/android/java/src/org/chromium/base/Features.java",
7409 "base/android/java/src/org/chromium/base/FieldTrialList.java",
7410 "base/android/java/src/org/chromium/base/FileUtils.java",
7411 "base/android/java/src/org/chromium/base/Function.java",
7412 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
7413 "base/android/java/src/org/chromium/base/IntStringCallback.java",
7414 "base/android/java/src/org/chromium/base/JNIUtils.java",
7415 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
7416 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
7417 "base/android/java/src/org/chromium/base/JniException.java",
7418 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
7419 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
7420 "base/android/java/src/org/chromium/base/LocaleUtils.java",
7421 "base/android/java/src/org/chromium/base/Log.java",
7422 "base/android/java/src/org/chromium/base/MathUtils.java",
7423 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
7424 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
7425 "base/android/java/src/org/chromium/base/ObserverList.java",
7426 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
7427 "base/android/java/src/org/chromium/base/PackageUtils.java",
7428 "base/android/java/src/org/chromium/base/PathService.java",
7429 "base/android/java/src/org/chromium/base/PathUtils.java",
7430 "base/android/java/src/org/chromium/base/PiiElider.java",
7431 "base/android/java/src/org/chromium/base/PowerMonitor.java",
7432 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
7433 "base/android/java/src/org/chromium/base/Predicate.java",
7434 "base/android/java/src/org/chromium/base/Promise.java",
7435 "base/android/java/src/org/chromium/base/RadioUtils.java",
7436 "base/android/java/src/org/chromium/base/StreamUtil.java",
7437 "base/android/java/src/org/chromium/base/StrictModeContext.java",
7438 "base/android/java/src/org/chromium/base/SysUtils.java",
7439 "base/android/java/src/org/chromium/base/ThreadUtils.java",
7440 "base/android/java/src/org/chromium/base/TimeUtils.java",
7441 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
7442 "base/android/java/src/org/chromium/base/TraceEvent.java",
7443 "base/android/java/src/org/chromium/base/UnguessableToken.java",
7444 "base/android/java/src/org/chromium/base/UnownedUserData.java",
7445 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
7446 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
7447 "base/android/java/src/org/chromium/base/UserData.java",
7448 "base/android/java/src/org/chromium/base/UserDataHost.java",
7449 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
7450 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
7451 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
7452 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
7453 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
7454 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
7455 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
7456 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
7457 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
7458 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
7459 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
7460 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
7461 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
7462 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
7463 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
7464 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
7465 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
7466 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
7467 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
7468 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
7469 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
7470 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
7471 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
7472 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
7473 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
7474 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
7475 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
7476 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
7477 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
7478 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
7479 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
7480 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
7481 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
7482 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
7483 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
7484 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
7485 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
7486 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
7487 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
7488 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
7489 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
7490 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
7491 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
7492 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
7493 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
7494 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
7495 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
7496 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
7497 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
7498 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
7499 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
7500 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
7501 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
7502 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
7503 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
7504 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
7505 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
7506 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
7507 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
7508 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
7509 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
7510 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
7511 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
7512 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
7513 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
7514 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
7515 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
7516 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
7517 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
7518 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
7519 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
7520 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
7521 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
7522 "base/android/java/src/org/chromium/base/task/PostTask.java",
7523 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
7524 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
7525 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
7526 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
7527 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
7528 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
7529 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
7530 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7531 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
7532 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
7533 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
7534 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
7535 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
7536 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
7537 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
7538 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
7539 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
7540 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
7541 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
7542 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
7543 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
7544 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
7545 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
7546 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
7547 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
7548 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
7549 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
7550 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
7551 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
7552 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
7553 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
7554 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
7555 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
7556 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
7557 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
7558 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
7559 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
7560 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
7561 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
7562 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
7563 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
7564 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
7565 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
7566 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
7567 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
7568 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
7569 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
7570 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
7571 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
7572 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
7573 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
7574 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
7575 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
7576 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
7577 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
7578 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
7579 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
7580 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
7581 "net/android/java/src/org/chromium/net/DnsStatus.java",
7582 "net/android/java/src/org/chromium/net/GURLUtils.java",
7583 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
7584 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
7585 "net/android/java/src/org/chromium/net/HttpUtil.java",
7586 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
7587 "net/android/java/src/org/chromium/net/NetStringUtil.java",
7588 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
7589 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
7590 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
7591 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
7592 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
7593 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
7594 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
7595 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
7596 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
7597 "net/android/java/src/org/chromium/net/X509Util.java",
7598 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
7599 ],
7600 cmd: "current_dir=`basename \\`pwd\\``; " +
7601 "for f in $(in); " +
7602 "do " +
7603 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
7604 "done; " +
7605 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
7606 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
7607 "--depfile " +
7608 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
7609 "--sources-files " +
7610 "$(genDir)/java.sources " +
7611 "--include_test_only " +
7612 "--use_proxy_hash " +
7613 "--header-path " +
7614 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
7615 "--manual_jni_registration " +
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007616 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
7617 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
7618 out: [
7619 "components/cronet/android/cronet_jni_registration.h",
7620 "components/cronet/android/cronet_jni_registration.srcjar",
7621 ],
7622 tool_files: [
7623 "base/android/jni_generator/jni_generator.py",
7624 "base/android/jni_generator/jni_registration_generator.py",
7625 "build/android/gyp/util/__init__.py",
7626 "build/android/gyp/util/build_utils.py",
7627 "build/gn_helpers.py",
7628 ],
7629 apex_available: [
7630 "com.android.tethering",
7631 ],
7632}
7633
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007634// GN: //components/cronet/android:cronet_static
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007635cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007636 name: "cronet_aml_components_cronet_android_cronet_static",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007637 srcs: [
7638 "components/cronet/android/cronet_bidirectional_stream_adapter.cc",
7639 "components/cronet/android/cronet_context_adapter.cc",
7640 "components/cronet/android/cronet_library_loader.cc",
7641 "components/cronet/android/cronet_upload_data_stream_adapter.cc",
7642 "components/cronet/android/cronet_url_request_adapter.cc",
7643 "components/cronet/android/io_buffer_with_byte_buffer.cc",
7644 "components/cronet/android/url_request_error.cc",
7645 ],
7646 shared_libs: [
7647 "libandroid",
7648 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -08007649 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007650 ],
7651 static_libs: [
7652 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
7653 "cronet_aml_base_base",
7654 "cronet_aml_base_base_static",
7655 "cronet_aml_base_third_party_double_conversion_double_conversion",
7656 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
7657 "cronet_aml_components_prefs_prefs",
7658 "cronet_aml_crypto_crypto",
7659 "cronet_aml_net_net",
7660 "cronet_aml_net_preload_decoder",
7661 "cronet_aml_net_third_party_quiche_quiche",
7662 "cronet_aml_net_uri_template",
7663 "cronet_aml_third_party_boringssl_boringssl",
7664 "cronet_aml_third_party_brotli_common",
7665 "cronet_aml_third_party_brotli_dec",
7666 "cronet_aml_third_party_icu_icui18n",
7667 "cronet_aml_third_party_icu_icuuc_private",
7668 "cronet_aml_third_party_libevent_libevent",
7669 "cronet_aml_third_party_modp_b64_modp_b64",
7670 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007671 "cronet_aml_url_url",
7672 ],
7673 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +09007674 "cronet_aml_base_debugging_buildflags",
7675 "cronet_aml_base_logging_buildflags",
7676 "cronet_aml_build_chromeos_buildflags",
7677 "cronet_aml_components_cronet_android_buildflags",
7678 "cronet_aml_components_cronet_android_cronet_jni_headers",
7679 "cronet_aml_components_cronet_android_cronet_jni_registration",
7680 "cronet_aml_components_cronet_cronet_buildflags",
7681 "cronet_aml_components_cronet_cronet_version_header_action",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007682 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +09007683 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007684 ],
7685 defaults: [
7686 "cronet_aml_defaults",
7687 ],
7688 cflags: [
7689 "-DANDROID",
7690 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09007691 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
7692 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09007693 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007694 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7695 "-DGOOGLE_PROTOBUF_NO_RTTI",
7696 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7697 "-DHAVE_PTHREAD",
7698 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09007699 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09007700 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09007701 "-DNVALGRIND",
7702 "-DOFFICIAL_BUILD",
7703 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007704 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007705 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007706 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7707 "-D__STDC_CONSTANT_MACROS",
7708 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09007709 "-Oz",
7710 "-fdata-sections",
7711 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09007712 "-fno-asynchronous-unwind-tables",
7713 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09007714 "-fvisibility-inlines-hidden",
7715 "-fvisibility=hidden",
7716 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007717 ],
7718 local_include_dirs: [
7719 "./",
7720 "buildtools/third_party/libc++/",
7721 "buildtools/third_party/libc++/trunk/include",
7722 "buildtools/third_party/libc++abi/trunk/include",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007723 "net/third_party/quiche/overrides/",
7724 "net/third_party/quiche/src/",
7725 "net/third_party/quiche/src/quiche/common/platform/default/",
7726 "third_party/abseil-cpp/",
7727 "third_party/boringssl/src/include/",
7728 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007729 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09007730 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +09007731 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09007732 android_arm: {
7733 cflags: [
7734 "-fstack-protector",
7735 ],
7736 },
7737 android_arm64: {
7738 cflags: [
7739 "-fstack-protector",
7740 "-mno-outline",
7741 "-mno-outline-atomics",
7742 ],
7743 },
Motomu Utsumi55394632022-11-18 17:44:28 +09007744 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007745 cflags: [
7746 "-msse3",
7747 ],
Motomu Utsumi55394632022-11-18 17:44:28 +09007748 },
7749 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007750 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09007751 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007752 "-msse3",
7753 ],
Motomu Utsumi55394632022-11-18 17:44:28 +09007754 },
7755 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007756}
7757
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007758// GN: //components/cronet/android:cronet_static__testing
7759cc_object {
7760 name: "cronet_aml_components_cronet_android_cronet_static__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007761 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007762 "components/cronet/android/cronet_bidirectional_stream_adapter.cc",
7763 "components/cronet/android/cronet_context_adapter.cc",
7764 "components/cronet/android/cronet_library_loader.cc",
7765 "components/cronet/android/cronet_upload_data_stream_adapter.cc",
7766 "components/cronet/android/cronet_url_request_adapter.cc",
7767 "components/cronet/android/io_buffer_with_byte_buffer.cc",
7768 "components/cronet/android/url_request_error.cc",
7769 ],
7770 shared_libs: [
7771 "libandroid",
7772 "liblog",
7773 "libz",
7774 ],
7775 static_libs: [
7776 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
7777 "cronet_aml_base_base__testing",
7778 "cronet_aml_base_base_static__testing",
7779 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
7780 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
7781 "cronet_aml_components_prefs_prefs__testing",
7782 "cronet_aml_crypto_crypto__testing",
7783 "cronet_aml_net_net__testing",
7784 "cronet_aml_net_preload_decoder__testing",
7785 "cronet_aml_net_third_party_quiche_quiche__testing",
7786 "cronet_aml_net_uri_template__testing",
7787 "cronet_aml_third_party_boringssl_boringssl__testing",
7788 "cronet_aml_third_party_brotli_common__testing",
7789 "cronet_aml_third_party_brotli_dec__testing",
7790 "cronet_aml_third_party_icu_icui18n__testing",
7791 "cronet_aml_third_party_icu_icuuc_private__testing",
7792 "cronet_aml_third_party_libevent_libevent__testing",
7793 "cronet_aml_third_party_modp_b64_modp_b64__testing",
7794 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
7795 "cronet_aml_url_url__testing",
7796 ],
7797 generated_headers: [
7798 "cronet_aml_base_debugging_buildflags__testing",
7799 "cronet_aml_base_logging_buildflags__testing",
7800 "cronet_aml_build_chromeos_buildflags__testing",
7801 "cronet_aml_components_cronet_android_buildflags__testing",
7802 "cronet_aml_components_cronet_android_cronet_jni_headers__testing",
7803 "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
7804 "cronet_aml_components_cronet_cronet_buildflags__testing",
7805 "cronet_aml_components_cronet_cronet_version_header_action__testing",
7806 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
7807 "cronet_aml_url_buildflags__testing",
7808 ],
7809 defaults: [
7810 "cronet_aml_defaults",
7811 ],
7812 cflags: [
7813 "-DANDROID",
7814 "-DANDROID_NDK_VERSION_ROLL=r23_1",
7815 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
7816 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
7817 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
7818 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7819 "-DGOOGLE_PROTOBUF_NO_RTTI",
7820 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7821 "-DHAVE_PTHREAD",
7822 "-DHAVE_SYS_UIO_H",
7823 "-DNDEBUG",
7824 "-DNO_UNWIND_TABLES",
7825 "-DNVALGRIND",
7826 "-DOFFICIAL_BUILD",
7827 "-D_FORTIFY_SOURCE=2",
7828 "-D_GNU_SOURCE",
7829 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7830 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7831 "-D__STDC_CONSTANT_MACROS",
7832 "-D__STDC_FORMAT_MACROS",
7833 "-Oz",
7834 "-fdata-sections",
7835 "-ffunction-sections",
7836 "-fno-asynchronous-unwind-tables",
7837 "-fno-unwind-tables",
7838 "-fvisibility-inlines-hidden",
7839 "-fvisibility=hidden",
7840 "-g1",
7841 ],
7842 local_include_dirs: [
7843 "./",
7844 "buildtools/third_party/libc++/",
7845 "buildtools/third_party/libc++/trunk/include",
7846 "buildtools/third_party/libc++abi/trunk/include",
7847 "net/third_party/quiche/overrides/",
7848 "net/third_party/quiche/src/",
7849 "net/third_party/quiche/src/quiche/common/platform/default/",
7850 "third_party/abseil-cpp/",
7851 "third_party/boringssl/src/include/",
7852 "third_party/protobuf/src/",
7853 ],
7854 cpp_std: "c++17",
7855 target: {
7856 android_arm: {
7857 cflags: [
7858 "-fstack-protector",
7859 ],
7860 },
7861 android_arm64: {
7862 cflags: [
7863 "-fstack-protector",
7864 "-mno-outline",
7865 "-mno-outline-atomics",
7866 ],
7867 },
7868 android_x86: {
7869 cflags: [
7870 "-msse3",
7871 ],
7872 },
7873 android_x86_64: {
7874 cflags: [
7875 "-fstack-protector",
7876 "-msse3",
7877 ],
7878 },
7879 },
7880}
7881
7882// GN: //components/cronet/android:cronet_unittests_android__library__testing
7883cc_library_shared {
7884 name: "cronet_aml_components_cronet_android_cronet_unittests_android__library__testing",
7885 srcs: [
7886 ":cronet_aml_buildtools_third_party_libc___libc____testing",
7887 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
7888 ":cronet_aml_components_cronet_android_cronet_static__testing",
7889 ":cronet_aml_components_cronet_cronet_common__testing",
7890 ":cronet_aml_components_cronet_cronet_common_unittests__testing",
7891 ":cronet_aml_components_cronet_metrics_util__testing",
7892 ":cronet_aml_components_metrics_library_support__testing",
7893 ":cronet_aml_testing_android_native_test_native_test_native_code__testing",
7894 ":cronet_aml_testing_android_native_test_native_test_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007895 "components/cronet/run_all_unittests.cc",
7896 ],
7897 shared_libs: [
7898 "libandroid",
7899 "liblog",
7900 "libz",
7901 ],
7902 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007903 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
7904 "cronet_aml_base_base__testing",
7905 "cronet_aml_base_base_static__testing",
7906 "cronet_aml_base_i18n__testing",
7907 "cronet_aml_base_test_test_config__testing",
7908 "cronet_aml_base_test_test_support__testing",
7909 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
7910 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
7911 "cronet_aml_components_prefs_prefs__testing",
7912 "cronet_aml_components_prefs_test_support__testing",
7913 "cronet_aml_crypto_crypto__testing",
7914 "cronet_aml_net_gtest_util__testing",
7915 "cronet_aml_net_net__testing",
7916 "cronet_aml_net_preload_decoder__testing",
7917 "cronet_aml_net_test_support__testing",
7918 "cronet_aml_net_third_party_quiche_quiche__testing",
7919 "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
7920 "cronet_aml_net_uri_template__testing",
7921 "cronet_aml_testing_gtest_gtest__testing",
7922 "cronet_aml_third_party_boringssl_boringssl__testing",
7923 "cronet_aml_third_party_brotli_common__testing",
7924 "cronet_aml_third_party_brotli_dec__testing",
7925 "cronet_aml_third_party_ced_ced__testing",
7926 "cronet_aml_third_party_icu_icui18n__testing",
7927 "cronet_aml_third_party_icu_icuuc_private__testing",
7928 "cronet_aml_third_party_libevent_libevent__testing",
7929 "cronet_aml_third_party_libxml_libxml__testing",
7930 "cronet_aml_third_party_libxml_libxml_utils__testing",
7931 "cronet_aml_third_party_libxml_xml_reader__testing",
7932 "cronet_aml_third_party_modp_b64_modp_b64__testing",
7933 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
7934 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007935 ],
7936 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007937 "cronet_aml_base_debugging_buildflags__testing",
7938 "cronet_aml_base_logging_buildflags__testing",
7939 "cronet_aml_build_chromeos_buildflags__testing",
7940 "cronet_aml_components_cronet_android_buildflags__testing",
7941 "cronet_aml_components_cronet_android_cronet_jni_headers__testing",
7942 "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
7943 "cronet_aml_components_cronet_cronet_buildflags__testing",
7944 "cronet_aml_components_cronet_cronet_version_header_action__testing",
7945 "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
7946 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
7947 "cronet_aml_url_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007948 ],
7949 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00007950 "cronet_aml_base_debugging_buildflags__testing",
7951 "cronet_aml_base_logging_buildflags__testing",
7952 "cronet_aml_build_chromeos_buildflags__testing",
7953 "cronet_aml_components_cronet_android_buildflags__testing",
7954 "cronet_aml_components_cronet_android_cronet_jni_headers__testing",
7955 "cronet_aml_components_cronet_android_cronet_jni_registration__testing",
7956 "cronet_aml_components_cronet_cronet_buildflags__testing",
7957 "cronet_aml_components_cronet_cronet_version_header_action__testing",
7958 "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
7959 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
7960 "cronet_aml_url_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00007961 ],
7962 defaults: [
7963 "cronet_aml_defaults",
7964 ],
7965 cflags: [
7966 "-DANDROID",
7967 "-DANDROID_NDK_VERSION_ROLL=r23_1",
7968 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
7969 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
7970 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
7971 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7972 "-DGOOGLE_PROTOBUF_NO_RTTI",
7973 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7974 "-DGTEST_API_=",
7975 "-DGTEST_HAS_ABSL=1",
7976 "-DGTEST_HAS_POSIX_RE=0",
7977 "-DGTEST_HAS_TR1_TUPLE=0",
7978 "-DGTEST_LANG_CXX11=1",
7979 "-DHAVE_PTHREAD",
7980 "-DHAVE_SYS_UIO_H",
7981 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
7982 "-DNDEBUG",
7983 "-DNO_UNWIND_TABLES",
7984 "-DNVALGRIND",
7985 "-DOFFICIAL_BUILD",
7986 "-DUNIT_TEST",
7987 "-DUSE_CHROMIUM_ICU=1",
7988 "-DUSE_REMOTE_TEST_SERVER",
7989 "-DU_ENABLE_DYLOAD=0",
7990 "-DU_ENABLE_RESOURCE_TRACING=0",
7991 "-DU_ENABLE_TRACING=1",
7992 "-DU_STATIC_IMPLEMENTATION",
7993 "-DU_USING_ICU_NAMESPACE=0",
7994 "-D_FORTIFY_SOURCE=2",
7995 "-D_GNU_SOURCE",
7996 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7997 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7998 "-D__STDC_CONSTANT_MACROS",
7999 "-D__STDC_FORMAT_MACROS",
8000 "-Oz",
8001 "-fdata-sections",
8002 "-ffunction-sections",
8003 "-fno-asynchronous-unwind-tables",
8004 "-fno-unwind-tables",
8005 "-fvisibility-inlines-hidden",
8006 "-fvisibility=hidden",
8007 "-g1",
8008 ],
8009 local_include_dirs: [
8010 "./",
8011 "buildtools/third_party/libc++/",
8012 "buildtools/third_party/libc++/trunk/include",
8013 "buildtools/third_party/libc++abi/trunk/include",
8014 "net/third_party/quiche/overrides/",
8015 "net/third_party/quiche/src/",
8016 "net/third_party/quiche/src/quiche/common/platform/default/",
8017 "third_party/abseil-cpp/",
8018 "third_party/boringssl/src/include/",
8019 "third_party/ced/src/",
8020 "third_party/googletest/custom/",
8021 "third_party/googletest/src/googlemock/include/",
8022 "third_party/googletest/src/googletest/include/",
8023 "third_party/icu/source/common/",
8024 "third_party/icu/source/i18n/",
8025 "third_party/protobuf/src/",
8026 ],
8027 cpp_std: "c++17",
8028 ldflags: [
8029 "-Wl,--as-needed",
8030 "-Wl,--gc-sections",
8031 "-Wl,--icf=all",
8032 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
8033 "-Wl,-wrap,asprintf",
8034 "-Wl,-wrap,calloc",
8035 "-Wl,-wrap,free",
8036 "-Wl,-wrap,getcwd",
8037 "-Wl,-wrap,malloc",
8038 "-Wl,-wrap,malloc_usable_size",
8039 "-Wl,-wrap,memalign",
8040 "-Wl,-wrap,posix_memalign",
8041 "-Wl,-wrap,pvalloc",
8042 "-Wl,-wrap,realloc",
8043 "-Wl,-wrap,realpath",
8044 "-Wl,-wrap,strdup",
8045 "-Wl,-wrap,strndup",
8046 "-Wl,-wrap,valloc",
8047 "-Wl,-wrap,vasprintf",
8048 ],
8049 target: {
8050 android_arm: {
8051 cflags: [
8052 "-fstack-protector",
8053 ],
8054 },
8055 android_arm64: {
8056 cflags: [
8057 "-fstack-protector",
8058 "-mno-outline",
8059 "-mno-outline-atomics",
8060 ],
8061 },
8062 android_x86: {
8063 cflags: [
8064 "-msse3",
8065 ],
8066 },
8067 android_x86_64: {
8068 cflags: [
8069 "-fstack-protector",
8070 "-msse3",
8071 ],
8072 },
8073 },
8074}
8075
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008076// GN: //components/cronet/android:http_cache_type_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008077java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008078 name: "cronet_aml_components_cronet_android_http_cache_type_java",
8079 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008080 "$(out) " +
8081 "$(location components/cronet/url_request_context_config.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008082 out: [
8083 "components/cronet/android/http_cache_type_java.srcjar",
8084 ],
8085 tool_files: [
8086 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008087 "build/android/gyp/util/__init__.py",
8088 "build/android/gyp/util/build_utils.py",
8089 "build/android/gyp/util/java_cpp_utils.py",
8090 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008091 "components/cronet/url_request_context_config.h",
8092 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008093}
8094
8095// GN: //components/cronet/android:implementation_api_version
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008096java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008097 name: "cronet_aml_components_cronet_android_implementation_api_version",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008098 cmd: "$(location build/util/version.py) --official " +
8099 "-f " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008100 "$(location chrome/VERSION) " +
8101 "-f " +
8102 "$(location build/util/LASTCHANGE) " +
8103 "-e " +
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008104 "'API_LEVEL=19' " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008105 "-o " +
8106 "$(out) " +
8107 "$(location components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template)",
8108 out: [
8109 "components/cronet/android/templates/org/chromium/net/impl/ImplVersion.java",
8110 ],
8111 tool_files: [
8112 "build/util/LASTCHANGE",
8113 "build/util/android_chrome_version.py",
8114 "build/util/version.py",
8115 "chrome/VERSION",
8116 "components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template",
8117 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008118}
8119
8120// GN: //components/cronet/android:integrated_mode_state
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008121genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008122 name: "cronet_aml_components_cronet_android_integrated_mode_state",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008123 srcs: [
8124 ":cronet_aml_components_cronet_android_integrated_mode_state_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008125 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008126 tools: [
8127 "soong_zip",
8128 ],
8129 cmd: "cp $(in) $(genDir)/IntegratedModeState.java && " +
Motomu Utsumidfb67ba2023-01-27 12:02:18 +09008130 "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/IntegratedModeState.java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008131 out: [
8132 "IntegratedModeState.srcjar",
8133 ],
8134}
8135
8136// GN: //components/cronet/android:integrated_mode_state
8137cc_object {
8138 name: "cronet_aml_components_cronet_android_integrated_mode_state_preprocess",
8139 srcs: [
8140 ":cronet_aml_components_cronet_android_integrated_mode_state_rename",
8141 ],
8142 cflags: [
8143 "-DANDROID",
8144 "-E",
8145 "-P",
8146 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09008147 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008148}
8149
8150// GN: //components/cronet/android:integrated_mode_state
8151genrule {
8152 name: "cronet_aml_components_cronet_android_integrated_mode_state_rename",
8153 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008154 "components/cronet/android/java/src/org/chromium/net/impl/IntegratedModeState.template",
8155 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008156 cmd: "cp $(in) $(out)",
8157 out: [
8158 "IntegratedModeState.cc",
8159 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008160}
8161
8162// GN: //components/cronet/android:interface_api_version
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008163java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008164 name: "cronet_aml_components_cronet_android_interface_api_version",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008165 cmd: "$(location build/util/version.py) --official " +
8166 "-f " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008167 "$(location chrome/VERSION) " +
8168 "-f " +
8169 "$(location build/util/LASTCHANGE) " +
8170 "-e " +
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008171 "'API_LEVEL=19' " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008172 "-o " +
8173 "$(out) " +
Motomu Utsumid6015fb2023-01-12 15:16:26 +09008174 "$(location components/cronet/android/api/src/android/net/http/ApiVersion.template)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008175 out: [
8176 "components/cronet/android/templates/org/chromium/net/ApiVersion.java",
8177 ],
8178 tool_files: [
8179 "build/util/LASTCHANGE",
8180 "build/util/android_chrome_version.py",
8181 "build/util/version.py",
8182 "chrome/VERSION",
Motomu Utsumid6015fb2023-01-12 15:16:26 +09008183 "components/cronet/android/api/src/android/net/http/ApiVersion.template",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008184 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008185}
8186
8187// GN: //components/cronet/android:load_states_list
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008188genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008189 name: "cronet_aml_components_cronet_android_load_states_list",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008190 srcs: [
8191 ":cronet_aml_components_cronet_android_load_states_list_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008192 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008193 tools: [
8194 "soong_zip",
8195 ],
8196 cmd: "cp $(in) $(genDir)/LoadState.java && " +
Motomu Utsumidfb67ba2023-01-27 12:02:18 +09008197 "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/LoadState.java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008198 out: [
8199 "LoadState.srcjar",
8200 ],
8201}
8202
8203// GN: //components/cronet/android:load_states_list
8204cc_object {
8205 name: "cronet_aml_components_cronet_android_load_states_list_preprocess",
8206 srcs: [
8207 ":cronet_aml_components_cronet_android_load_states_list_rename",
8208 ],
8209 cflags: [
8210 "-DANDROID",
8211 "-E",
8212 "-P",
8213 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09008214 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008215}
8216
8217// GN: //components/cronet/android:load_states_list
8218genrule {
8219 name: "cronet_aml_components_cronet_android_load_states_list_rename",
8220 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008221 "components/cronet/android/java/src/org/chromium/net/impl/LoadState.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00008222 ],
8223 cmd: "cp $(in) $(out)",
8224 out: [
8225 "LoadState.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008226 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008227}
8228
8229// GN: //components/cronet/android:net_idempotency_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008230java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008231 name: "cronet_aml_components_cronet_android_net_idempotency_java",
8232 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008233 "$(out) " +
8234 "$(location net/base/idempotency.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008235 out: [
8236 "components/cronet/android/net_idempotency_java.srcjar",
8237 ],
8238 tool_files: [
8239 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008240 "build/android/gyp/util/__init__.py",
8241 "build/android/gyp/util/build_utils.py",
8242 "build/android/gyp/util/java_cpp_utils.py",
8243 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008244 "net/base/idempotency.h",
8245 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008246}
8247
8248// GN: //components/cronet/android:net_request_priority_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008249java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008250 name: "cronet_aml_components_cronet_android_net_request_priority_java",
8251 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008252 "$(out) " +
8253 "$(location net/base/request_priority.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008254 out: [
8255 "components/cronet/android/net_request_priority_java.srcjar",
8256 ],
8257 tool_files: [
8258 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008259 "build/android/gyp/util/__init__.py",
8260 "build/android/gyp/util/build_utils.py",
8261 "build/android/gyp/util/java_cpp_utils.py",
8262 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008263 "net/base/request_priority.h",
8264 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008265}
8266
8267// GN: //components/cronet/android:network_quality_observation_source_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008268java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008269 name: "cronet_aml_components_cronet_android_network_quality_observation_source_java",
8270 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008271 "$(out) " +
8272 "$(location net/nqe/network_quality_observation_source.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008273 out: [
8274 "components/cronet/android/network_quality_observation_source_java.srcjar",
8275 ],
8276 tool_files: [
8277 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008278 "build/android/gyp/util/__init__.py",
8279 "build/android/gyp/util/build_utils.py",
8280 "build/android/gyp/util/java_cpp_utils.py",
8281 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008282 "net/nqe/network_quality_observation_source.h",
8283 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008284}
8285
8286// GN: //components/cronet/android:rtt_throughput_values_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008287java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008288 name: "cronet_aml_components_cronet_android_rtt_throughput_values_java",
8289 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008290 "$(out) " +
8291 "$(location net/nqe/network_quality.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008292 out: [
8293 "components/cronet/android/rtt_throughput_values_java.srcjar",
8294 ],
8295 tool_files: [
8296 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008297 "build/android/gyp/util/__init__.py",
8298 "build/android/gyp/util/build_utils.py",
8299 "build/android/gyp/util/java_cpp_utils.py",
8300 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008301 "net/nqe/network_quality.h",
8302 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008303}
8304
8305// GN: //components/cronet/android:url_request_error_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00008306java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008307 name: "cronet_aml_components_cronet_android_url_request_error_java",
8308 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00008309 "$(out) " +
8310 "$(location components/cronet/android/url_request_error.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008311 out: [
8312 "components/cronet/android/url_request_error_java.srcjar",
8313 ],
8314 tool_files: [
8315 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09008316 "build/android/gyp/util/__init__.py",
8317 "build/android/gyp/util/build_utils.py",
8318 "build/android/gyp/util/java_cpp_utils.py",
8319 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008320 "components/cronet/android/url_request_error.h",
8321 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00008322}
8323
Motomu Utsumie74bab82022-12-16 18:00:12 +09008324// GN: //components/cronet:cronet_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008325cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09008326 name: "cronet_aml_components_cronet_cronet_buildflags",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008327 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
8328 "$(location build/write_buildflag_header.py) --output " +
8329 "$(out) " +
8330 "--rulename " +
8331 "//components/cronet:cronet_buildflags " +
8332 "--gen-dir " +
8333 ". " +
8334 "--definitions " +
8335 "/dev/stdin",
8336 out: [
8337 "components/cronet/cronet_buildflags.h",
8338 ],
8339 tool_files: [
8340 "build/write_buildflag_header.py",
8341 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008342 apex_available: [
8343 "com.android.tethering",
8344 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008345}
8346
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008347// GN: //components/cronet:cronet_buildflags__testing
8348cc_genrule {
8349 name: "cronet_aml_components_cronet_cronet_buildflags__testing",
8350 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
8351 "$(location build/write_buildflag_header.py) --output " +
8352 "$(out) " +
8353 "--rulename " +
8354 "//components/cronet:cronet_buildflags " +
8355 "--gen-dir " +
8356 ". " +
8357 "--definitions " +
8358 "/dev/stdin",
8359 out: [
8360 "components/cronet/cronet_buildflags.h",
8361 ],
8362 tool_files: [
8363 "build/write_buildflag_header.py",
8364 ],
8365 apex_available: [
8366 "com.android.tethering",
8367 ],
8368}
8369
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008370// GN: //components/cronet:cronet_common
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008371cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008372 name: "cronet_aml_components_cronet_cronet_common",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008373 srcs: [
8374 "components/cronet/cronet_context.cc",
8375 "components/cronet/cronet_prefs_manager.cc",
8376 "components/cronet/cronet_upload_data_stream.cc",
8377 "components/cronet/cronet_url_request.cc",
8378 "components/cronet/host_cache_persistence_manager.cc",
8379 "components/cronet/stale_host_resolver.cc",
8380 "components/cronet/url_request_context_config.cc",
8381 ],
8382 shared_libs: [
8383 "libandroid",
8384 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -08008385 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008386 ],
8387 static_libs: [
8388 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8389 "cronet_aml_base_base",
8390 "cronet_aml_base_base_static",
8391 "cronet_aml_base_third_party_double_conversion_double_conversion",
8392 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8393 "cronet_aml_components_prefs_prefs",
8394 "cronet_aml_crypto_crypto",
8395 "cronet_aml_net_net",
8396 "cronet_aml_net_preload_decoder",
8397 "cronet_aml_net_third_party_quiche_quiche",
8398 "cronet_aml_net_uri_template",
8399 "cronet_aml_third_party_boringssl_boringssl",
8400 "cronet_aml_third_party_brotli_common",
8401 "cronet_aml_third_party_brotli_dec",
8402 "cronet_aml_third_party_icu_icui18n",
8403 "cronet_aml_third_party_icu_icuuc_private",
8404 "cronet_aml_third_party_libevent_libevent",
8405 "cronet_aml_third_party_modp_b64_modp_b64",
8406 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008407 "cronet_aml_url_url",
8408 ],
8409 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +09008410 "cronet_aml_components_cronet_cronet_buildflags",
8411 "cronet_aml_components_cronet_cronet_version_header_action",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008412 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
8413 ],
8414 defaults: [
8415 "cronet_aml_defaults",
8416 ],
8417 cflags: [
8418 "-DANDROID",
8419 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008420 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8421 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008422 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008423 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8424 "-DGOOGLE_PROTOBUF_NO_RTTI",
8425 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8426 "-DHAVE_PTHREAD",
8427 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008428 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09008429 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008430 "-DNVALGRIND",
8431 "-DOFFICIAL_BUILD",
8432 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008433 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008434 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008435 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8436 "-D__STDC_CONSTANT_MACROS",
8437 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09008438 "-Oz",
8439 "-fdata-sections",
8440 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09008441 "-fno-asynchronous-unwind-tables",
8442 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09008443 "-fvisibility-inlines-hidden",
8444 "-fvisibility=hidden",
8445 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008446 ],
8447 local_include_dirs: [
8448 "./",
8449 "buildtools/third_party/libc++/",
8450 "buildtools/third_party/libc++/trunk/include",
8451 "buildtools/third_party/libc++abi/trunk/include",
8452 "net/third_party/quiche/overrides/",
8453 "net/third_party/quiche/src/",
8454 "net/third_party/quiche/src/quiche/common/platform/default/",
8455 "third_party/abseil-cpp/",
8456 "third_party/boringssl/src/include/",
8457 "third_party/protobuf/src/",
8458 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008459 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +09008460 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09008461 android_arm: {
8462 cflags: [
8463 "-fstack-protector",
8464 ],
8465 },
8466 android_arm64: {
8467 cflags: [
8468 "-fstack-protector",
8469 "-mno-outline",
8470 "-mno-outline-atomics",
8471 ],
8472 },
Motomu Utsumi55394632022-11-18 17:44:28 +09008473 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008474 cflags: [
8475 "-msse3",
8476 ],
Motomu Utsumi55394632022-11-18 17:44:28 +09008477 },
8478 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008479 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09008480 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008481 "-msse3",
8482 ],
Motomu Utsumi55394632022-11-18 17:44:28 +09008483 },
8484 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008485}
8486
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008487// GN: //components/cronet:cronet_common__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00008488cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008489 name: "cronet_aml_components_cronet_cronet_common__testing",
8490 srcs: [
8491 "components/cronet/cronet_context.cc",
8492 "components/cronet/cronet_prefs_manager.cc",
8493 "components/cronet/cronet_upload_data_stream.cc",
8494 "components/cronet/cronet_url_request.cc",
8495 "components/cronet/host_cache_persistence_manager.cc",
8496 "components/cronet/stale_host_resolver.cc",
8497 "components/cronet/url_request_context_config.cc",
8498 ],
8499 shared_libs: [
8500 "libandroid",
8501 "liblog",
8502 "libz",
8503 ],
8504 static_libs: [
8505 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
8506 "cronet_aml_base_base__testing",
8507 "cronet_aml_base_base_static__testing",
8508 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
8509 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
8510 "cronet_aml_components_prefs_prefs__testing",
8511 "cronet_aml_crypto_crypto__testing",
8512 "cronet_aml_net_net__testing",
8513 "cronet_aml_net_preload_decoder__testing",
8514 "cronet_aml_net_third_party_quiche_quiche__testing",
8515 "cronet_aml_net_uri_template__testing",
8516 "cronet_aml_third_party_boringssl_boringssl__testing",
8517 "cronet_aml_third_party_brotli_common__testing",
8518 "cronet_aml_third_party_brotli_dec__testing",
8519 "cronet_aml_third_party_icu_icui18n__testing",
8520 "cronet_aml_third_party_icu_icuuc_private__testing",
8521 "cronet_aml_third_party_libevent_libevent__testing",
8522 "cronet_aml_third_party_modp_b64_modp_b64__testing",
8523 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
8524 "cronet_aml_url_url__testing",
8525 ],
8526 generated_headers: [
8527 "cronet_aml_components_cronet_cronet_buildflags__testing",
8528 "cronet_aml_components_cronet_cronet_version_header_action__testing",
8529 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
8530 ],
8531 defaults: [
8532 "cronet_aml_defaults",
8533 ],
8534 cflags: [
8535 "-DANDROID",
8536 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8537 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8538 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
8539 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8540 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8541 "-DGOOGLE_PROTOBUF_NO_RTTI",
8542 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8543 "-DHAVE_PTHREAD",
8544 "-DHAVE_SYS_UIO_H",
8545 "-DNDEBUG",
8546 "-DNO_UNWIND_TABLES",
8547 "-DNVALGRIND",
8548 "-DOFFICIAL_BUILD",
8549 "-D_FORTIFY_SOURCE=2",
8550 "-D_GNU_SOURCE",
8551 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8552 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8553 "-D__STDC_CONSTANT_MACROS",
8554 "-D__STDC_FORMAT_MACROS",
8555 "-Oz",
8556 "-fdata-sections",
8557 "-ffunction-sections",
8558 "-fno-asynchronous-unwind-tables",
8559 "-fno-unwind-tables",
8560 "-fvisibility-inlines-hidden",
8561 "-fvisibility=hidden",
8562 "-g1",
8563 ],
8564 local_include_dirs: [
8565 "./",
8566 "buildtools/third_party/libc++/",
8567 "buildtools/third_party/libc++/trunk/include",
8568 "buildtools/third_party/libc++abi/trunk/include",
8569 "net/third_party/quiche/overrides/",
8570 "net/third_party/quiche/src/",
8571 "net/third_party/quiche/src/quiche/common/platform/default/",
8572 "third_party/abseil-cpp/",
8573 "third_party/boringssl/src/include/",
8574 "third_party/protobuf/src/",
8575 ],
8576 cpp_std: "c++17",
8577 target: {
8578 android_arm: {
8579 cflags: [
8580 "-fstack-protector",
8581 ],
8582 },
8583 android_arm64: {
8584 cflags: [
8585 "-fstack-protector",
8586 "-mno-outline",
8587 "-mno-outline-atomics",
8588 ],
8589 },
8590 android_x86: {
8591 cflags: [
8592 "-msse3",
8593 ],
8594 },
8595 android_x86_64: {
8596 cflags: [
8597 "-fstack-protector",
8598 "-msse3",
8599 ],
8600 },
8601 },
8602}
8603
8604// GN: //components/cronet:cronet_common_unittests__testing
8605cc_object {
8606 name: "cronet_aml_components_cronet_cronet_common_unittests__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00008607 srcs: [
8608 "components/cronet/host_cache_persistence_manager_unittest.cc",
8609 "components/cronet/network_tasks_unittest.cc",
8610 "components/cronet/stale_host_resolver_unittest.cc",
8611 "components/cronet/url_request_context_config_unittest.cc",
8612 ],
8613 shared_libs: [
8614 "libandroid",
8615 "liblog",
8616 "libz",
8617 ],
8618 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008619 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
8620 "cronet_aml_base_base__testing",
8621 "cronet_aml_base_base_static__testing",
8622 "cronet_aml_base_i18n__testing",
8623 "cronet_aml_base_test_test_config__testing",
8624 "cronet_aml_base_test_test_support__testing",
8625 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
8626 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
8627 "cronet_aml_components_prefs_prefs__testing",
8628 "cronet_aml_components_prefs_test_support__testing",
8629 "cronet_aml_crypto_crypto__testing",
8630 "cronet_aml_net_gtest_util__testing",
8631 "cronet_aml_net_net__testing",
8632 "cronet_aml_net_preload_decoder__testing",
8633 "cronet_aml_net_test_support__testing",
8634 "cronet_aml_net_third_party_quiche_quiche__testing",
8635 "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
8636 "cronet_aml_net_uri_template__testing",
8637 "cronet_aml_testing_gtest_gtest__testing",
8638 "cronet_aml_third_party_boringssl_boringssl__testing",
8639 "cronet_aml_third_party_brotli_common__testing",
8640 "cronet_aml_third_party_brotli_dec__testing",
8641 "cronet_aml_third_party_ced_ced__testing",
8642 "cronet_aml_third_party_icu_icui18n__testing",
8643 "cronet_aml_third_party_icu_icuuc_private__testing",
8644 "cronet_aml_third_party_libevent_libevent__testing",
8645 "cronet_aml_third_party_libxml_libxml__testing",
8646 "cronet_aml_third_party_libxml_libxml_utils__testing",
8647 "cronet_aml_third_party_libxml_xml_reader__testing",
8648 "cronet_aml_third_party_modp_b64_modp_b64__testing",
8649 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
8650 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00008651 ],
8652 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008653 "cronet_aml_components_cronet_cronet_buildflags__testing",
8654 "cronet_aml_components_cronet_cronet_version_header_action__testing",
8655 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00008656 ],
8657 defaults: [
8658 "cronet_aml_defaults",
8659 ],
8660 cflags: [
8661 "-DANDROID",
8662 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8663 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8664 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
8665 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8666 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8667 "-DGOOGLE_PROTOBUF_NO_RTTI",
8668 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8669 "-DGTEST_API_=",
8670 "-DGTEST_HAS_ABSL=1",
8671 "-DGTEST_HAS_POSIX_RE=0",
8672 "-DGTEST_HAS_TR1_TUPLE=0",
8673 "-DGTEST_LANG_CXX11=1",
8674 "-DHAVE_PTHREAD",
8675 "-DHAVE_SYS_UIO_H",
8676 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
8677 "-DNDEBUG",
8678 "-DNO_UNWIND_TABLES",
8679 "-DNVALGRIND",
8680 "-DOFFICIAL_BUILD",
8681 "-DUNIT_TEST",
8682 "-DUSE_CHROMIUM_ICU=1",
8683 "-DUSE_REMOTE_TEST_SERVER",
8684 "-DU_ENABLE_DYLOAD=0",
8685 "-DU_ENABLE_RESOURCE_TRACING=0",
8686 "-DU_ENABLE_TRACING=1",
8687 "-DU_STATIC_IMPLEMENTATION",
8688 "-DU_USING_ICU_NAMESPACE=0",
8689 "-D_FORTIFY_SOURCE=2",
8690 "-D_GNU_SOURCE",
8691 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8692 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8693 "-D__STDC_CONSTANT_MACROS",
8694 "-D__STDC_FORMAT_MACROS",
8695 "-Oz",
8696 "-fdata-sections",
8697 "-ffunction-sections",
8698 "-fno-asynchronous-unwind-tables",
8699 "-fno-unwind-tables",
8700 "-fvisibility-inlines-hidden",
8701 "-fvisibility=hidden",
8702 "-g1",
8703 ],
8704 local_include_dirs: [
8705 "./",
8706 "buildtools/third_party/libc++/",
8707 "buildtools/third_party/libc++/trunk/include",
8708 "buildtools/third_party/libc++abi/trunk/include",
8709 "net/third_party/quiche/overrides/",
8710 "net/third_party/quiche/src/",
8711 "net/third_party/quiche/src/quiche/common/platform/default/",
8712 "third_party/abseil-cpp/",
8713 "third_party/boringssl/src/include/",
8714 "third_party/ced/src/",
8715 "third_party/googletest/custom/",
8716 "third_party/googletest/src/googlemock/include/",
8717 "third_party/googletest/src/googletest/include/",
8718 "third_party/icu/source/common/",
8719 "third_party/icu/source/i18n/",
8720 "third_party/protobuf/src/",
8721 ],
8722 cpp_std: "c++17",
8723 target: {
8724 android_arm: {
8725 cflags: [
8726 "-fstack-protector",
8727 ],
8728 },
8729 android_arm64: {
8730 cflags: [
8731 "-fstack-protector",
8732 "-mno-outline",
8733 "-mno-outline-atomics",
8734 ],
8735 },
8736 android_x86: {
8737 cflags: [
8738 "-msse3",
8739 ],
8740 },
8741 android_x86_64: {
8742 cflags: [
8743 "-fstack-protector",
8744 "-msse3",
8745 ],
8746 },
8747 },
8748}
8749
Motomu Utsumie74bab82022-12-16 18:00:12 +09008750// GN: //components/cronet:cronet_version_header_action
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008751cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09008752 name: "cronet_aml_components_cronet_cronet_version_header_action",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008753 cmd: "$(location build/util/version.py) --official " +
8754 "-f " +
Motomu Utsumi847a6d32022-11-09 17:32:06 +09008755 "$(location chrome/VERSION) " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008756 "-e " +
Mohannad Farrag25697342022-12-02 18:01:48 +00008757 "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008758 "-o " +
Motomu Utsumi438f2c22022-11-09 18:16:40 +09008759 "$(out) " +
Motomu Utsumi847a6d32022-11-09 17:32:06 +09008760 "$(location components/cronet/version.h.in)",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008761 out: [
8762 "components/cronet/version.h",
8763 ],
8764 tool_files: [
8765 "build/util/LASTCHANGE",
Motomu Utsumib0a49e42022-11-09 18:12:27 +09008766 "build/util/android_chrome_version.py",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008767 "build/util/version.py",
8768 "chrome/VERSION",
8769 "components/cronet/version.h.in",
8770 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008771 apex_available: [
8772 "com.android.tethering",
8773 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008774}
8775
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008776// GN: //components/cronet:cronet_version_header_action__testing
8777cc_genrule {
8778 name: "cronet_aml_components_cronet_cronet_version_header_action__testing",
8779 cmd: "$(location build/util/version.py) --official " +
8780 "-f " +
8781 "$(location chrome/VERSION) " +
8782 "-e " +
8783 "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
8784 "-o " +
8785 "$(out) " +
8786 "$(location components/cronet/version.h.in)",
8787 out: [
8788 "components/cronet/version.h",
8789 ],
8790 tool_files: [
8791 "build/util/LASTCHANGE",
8792 "build/util/android_chrome_version.py",
8793 "build/util/version.py",
8794 "chrome/VERSION",
8795 "components/cronet/version.h.in",
8796 ],
8797 apex_available: [
8798 "com.android.tethering",
8799 ],
8800}
8801
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008802// GN: //components/cronet:metrics_util
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008803cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008804 name: "cronet_aml_components_cronet_metrics_util",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008805 srcs: [
8806 "components/cronet/metrics_util.cc",
8807 ],
8808 shared_libs: [
8809 "libandroid",
8810 "liblog",
8811 ],
8812 static_libs: [
8813 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8814 "cronet_aml_base_base",
8815 "cronet_aml_base_base_static",
8816 "cronet_aml_base_third_party_double_conversion_double_conversion",
8817 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8818 "cronet_aml_third_party_boringssl_boringssl",
8819 "cronet_aml_third_party_icu_icui18n",
8820 "cronet_aml_third_party_icu_icuuc_private",
8821 "cronet_aml_third_party_libevent_libevent",
8822 "cronet_aml_third_party_modp_b64_modp_b64",
8823 ],
8824 defaults: [
8825 "cronet_aml_defaults",
8826 ],
8827 cflags: [
8828 "-DANDROID",
8829 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008830 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8831 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008832 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008833 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008834 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09008835 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09008836 "-DNVALGRIND",
8837 "-DOFFICIAL_BUILD",
8838 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008839 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008840 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008841 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8842 "-D__STDC_CONSTANT_MACROS",
8843 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09008844 "-Oz",
8845 "-fdata-sections",
8846 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09008847 "-fno-asynchronous-unwind-tables",
8848 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09008849 "-fvisibility-inlines-hidden",
8850 "-fvisibility=hidden",
8851 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008852 ],
8853 local_include_dirs: [
8854 "./",
8855 "buildtools/third_party/libc++/",
8856 "buildtools/third_party/libc++/trunk/include",
8857 "buildtools/third_party/libc++abi/trunk/include",
8858 "third_party/abseil-cpp/",
8859 "third_party/boringssl/src/include/",
8860 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09008861 cpp_std: "c++17",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008862 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09008863 android_arm: {
8864 cflags: [
8865 "-fstack-protector",
8866 ],
8867 },
8868 android_arm64: {
8869 cflags: [
8870 "-fstack-protector",
8871 "-mno-outline",
8872 "-mno-outline-atomics",
8873 ],
8874 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008875 android_x86: {
8876 cflags: [
8877 "-msse3",
8878 ],
8879 },
8880 android_x86_64: {
8881 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09008882 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008883 "-msse3",
8884 ],
8885 },
8886 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008887}
8888
Mohannad Farragedb2fd02023-02-10 14:53:41 +00008889// GN: //components/cronet:metrics_util__testing
8890cc_object {
8891 name: "cronet_aml_components_cronet_metrics_util__testing",
8892 srcs: [
8893 "components/cronet/metrics_util.cc",
8894 ],
8895 shared_libs: [
8896 "libandroid",
8897 "liblog",
8898 ],
8899 static_libs: [
8900 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
8901 "cronet_aml_base_base__testing",
8902 "cronet_aml_base_base_static__testing",
8903 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
8904 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
8905 "cronet_aml_third_party_boringssl_boringssl__testing",
8906 "cronet_aml_third_party_icu_icui18n__testing",
8907 "cronet_aml_third_party_icu_icuuc_private__testing",
8908 "cronet_aml_third_party_libevent_libevent__testing",
8909 "cronet_aml_third_party_modp_b64_modp_b64__testing",
8910 ],
8911 defaults: [
8912 "cronet_aml_defaults",
8913 ],
8914 cflags: [
8915 "-DANDROID",
8916 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8917 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
8918 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
8919 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
8920 "-DHAVE_SYS_UIO_H",
8921 "-DNDEBUG",
8922 "-DNO_UNWIND_TABLES",
8923 "-DNVALGRIND",
8924 "-DOFFICIAL_BUILD",
8925 "-D_FORTIFY_SOURCE=2",
8926 "-D_GNU_SOURCE",
8927 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8928 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8929 "-D__STDC_CONSTANT_MACROS",
8930 "-D__STDC_FORMAT_MACROS",
8931 "-Oz",
8932 "-fdata-sections",
8933 "-ffunction-sections",
8934 "-fno-asynchronous-unwind-tables",
8935 "-fno-unwind-tables",
8936 "-fvisibility-inlines-hidden",
8937 "-fvisibility=hidden",
8938 "-g1",
8939 ],
8940 local_include_dirs: [
8941 "./",
8942 "buildtools/third_party/libc++/",
8943 "buildtools/third_party/libc++/trunk/include",
8944 "buildtools/third_party/libc++abi/trunk/include",
8945 "third_party/abseil-cpp/",
8946 "third_party/boringssl/src/include/",
8947 ],
8948 cpp_std: "c++17",
8949 target: {
8950 android_arm: {
8951 cflags: [
8952 "-fstack-protector",
8953 ],
8954 },
8955 android_arm64: {
8956 cflags: [
8957 "-fstack-protector",
8958 "-mno-outline",
8959 "-mno-outline-atomics",
8960 ],
8961 },
8962 android_x86: {
8963 cflags: [
8964 "-msse3",
8965 ],
8966 },
8967 android_x86_64: {
8968 cflags: [
8969 "-fstack-protector",
8970 "-msse3",
8971 ],
8972 },
8973 },
8974}
8975
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008976// GN: //components/metrics:library_support
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008977cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008978 name: "cronet_aml_components_metrics_library_support",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008979 srcs: [
8980 ":cronet_aml_third_party_metrics_proto_metrics_proto_gen",
8981 "components/metrics/histogram_encoder.cc",
8982 "components/metrics/library_support/histogram_manager.cc",
8983 ],
8984 shared_libs: [
8985 "libandroid",
8986 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008987 "libprotobuf-cpp-lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008988 ],
8989 static_libs: [
8990 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8991 "cronet_aml_base_base",
8992 "cronet_aml_base_base_static",
8993 "cronet_aml_base_third_party_double_conversion_double_conversion",
8994 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8995 "cronet_aml_third_party_boringssl_boringssl",
8996 "cronet_aml_third_party_icu_icui18n",
8997 "cronet_aml_third_party_icu_icuuc_private",
8998 "cronet_aml_third_party_libevent_libevent",
8999 "cronet_aml_third_party_modp_b64_modp_b64",
9000 "cronet_aml_third_party_protobuf_protobuf_lite",
9001 ],
9002 generated_headers: [
9003 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
9004 ],
9005 defaults: [
9006 "cronet_aml_defaults",
9007 ],
9008 cflags: [
9009 "-DANDROID",
9010 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009011 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9012 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009013 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009014 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
9015 "-DGOOGLE_PROTOBUF_NO_RTTI",
9016 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
9017 "-DHAVE_PTHREAD",
9018 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009019 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09009020 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009021 "-DNVALGRIND",
9022 "-DOFFICIAL_BUILD",
9023 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009024 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009025 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009026 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9027 "-D__STDC_CONSTANT_MACROS",
9028 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009029 "-Oz",
9030 "-fdata-sections",
9031 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09009032 "-fno-asynchronous-unwind-tables",
9033 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009034 "-fvisibility-inlines-hidden",
9035 "-fvisibility=hidden",
9036 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009037 ],
9038 local_include_dirs: [
9039 "./",
9040 "buildtools/third_party/libc++/",
9041 "buildtools/third_party/libc++/trunk/include",
9042 "buildtools/third_party/libc++abi/trunk/include",
9043 "third_party/abseil-cpp/",
9044 "third_party/boringssl/src/include/",
9045 "third_party/protobuf/src/",
9046 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009047 cpp_std: "c++17",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009048 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09009049 android_arm: {
9050 cflags: [
9051 "-fstack-protector",
9052 ],
9053 },
9054 android_arm64: {
9055 cflags: [
9056 "-fstack-protector",
9057 "-mno-outline",
9058 "-mno-outline-atomics",
9059 ],
9060 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009061 android_x86: {
9062 cflags: [
9063 "-msse3",
9064 ],
9065 },
9066 android_x86_64: {
9067 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09009068 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009069 "-msse3",
9070 ],
9071 },
9072 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009073}
9074
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009075// GN: //components/metrics:library_support__testing
9076cc_object {
9077 name: "cronet_aml_components_metrics_library_support__testing",
9078 srcs: [
9079 ":cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen",
9080 "components/metrics/histogram_encoder.cc",
9081 "components/metrics/library_support/histogram_manager.cc",
9082 ],
9083 shared_libs: [
9084 "libandroid",
9085 "liblog",
9086 "libprotobuf-cpp-lite",
9087 ],
9088 static_libs: [
9089 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
9090 "cronet_aml_base_base__testing",
9091 "cronet_aml_base_base_static__testing",
9092 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
9093 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
9094 "cronet_aml_third_party_boringssl_boringssl__testing",
9095 "cronet_aml_third_party_icu_icui18n__testing",
9096 "cronet_aml_third_party_icu_icuuc_private__testing",
9097 "cronet_aml_third_party_libevent_libevent__testing",
9098 "cronet_aml_third_party_modp_b64_modp_b64__testing",
9099 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
9100 ],
9101 generated_headers: [
9102 "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
9103 ],
9104 defaults: [
9105 "cronet_aml_defaults",
9106 ],
9107 cflags: [
9108 "-DANDROID",
9109 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9110 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9111 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
9112 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9113 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
9114 "-DGOOGLE_PROTOBUF_NO_RTTI",
9115 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
9116 "-DHAVE_PTHREAD",
9117 "-DHAVE_SYS_UIO_H",
9118 "-DNDEBUG",
9119 "-DNO_UNWIND_TABLES",
9120 "-DNVALGRIND",
9121 "-DOFFICIAL_BUILD",
9122 "-D_FORTIFY_SOURCE=2",
9123 "-D_GNU_SOURCE",
9124 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9125 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9126 "-D__STDC_CONSTANT_MACROS",
9127 "-D__STDC_FORMAT_MACROS",
9128 "-Oz",
9129 "-fdata-sections",
9130 "-ffunction-sections",
9131 "-fno-asynchronous-unwind-tables",
9132 "-fno-unwind-tables",
9133 "-fvisibility-inlines-hidden",
9134 "-fvisibility=hidden",
9135 "-g1",
9136 ],
9137 local_include_dirs: [
9138 "./",
9139 "buildtools/third_party/libc++/",
9140 "buildtools/third_party/libc++/trunk/include",
9141 "buildtools/third_party/libc++abi/trunk/include",
9142 "third_party/abseil-cpp/",
9143 "third_party/boringssl/src/include/",
9144 "third_party/protobuf/src/",
9145 ],
9146 cpp_std: "c++17",
9147 target: {
9148 android_arm: {
9149 cflags: [
9150 "-fstack-protector",
9151 ],
9152 },
9153 android_arm64: {
9154 cflags: [
9155 "-fstack-protector",
9156 "-mno-outline",
9157 "-mno-outline-atomics",
9158 ],
9159 },
9160 android_x86: {
9161 cflags: [
9162 "-msse3",
9163 ],
9164 },
9165 android_x86_64: {
9166 cflags: [
9167 "-fstack-protector",
9168 "-msse3",
9169 ],
9170 },
9171 },
9172}
9173
Motomu Utsumie74bab82022-12-16 18:00:12 +09009174// GN: //components/prefs/android:jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009175cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +09009176 name: "cronet_aml_components_prefs_android_jni_headers",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009177 srcs: [
9178 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
9179 ],
9180 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
9181 "long " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009182 "--output_dir " +
9183 "$(genDir)/components/prefs/android/jni_headers " +
9184 "--includes " +
9185 "base/android/jni_generator/jni_generator_helper.h " +
9186 "--use_proxy_hash " +
9187 "--output_name " +
9188 "PrefService_jni.h " +
9189 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +00009190 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java) " +
9191 "--package_prefix " +
9192 "android.net.http.internal",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009193 out: [
9194 "components/prefs/android/jni_headers/PrefService_jni.h",
9195 ],
9196 tool_files: [
9197 "base/android/jni_generator/android_jar.classes",
9198 "base/android/jni_generator/jni_generator.py",
9199 "build/android/gyp/util/__init__.py",
9200 "build/android/gyp/util/build_utils.py",
9201 "build/gn_helpers.py",
9202 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009203 apex_available: [
9204 "com.android.tethering",
9205 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009206}
9207
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009208// GN: //components/prefs/android:jni_headers__testing
9209cc_genrule {
9210 name: "cronet_aml_components_prefs_android_jni_headers__testing",
9211 srcs: [
9212 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
9213 ],
9214 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
9215 "long " +
9216 "--output_dir " +
9217 "$(genDir)/components/prefs/android/jni_headers " +
9218 "--includes " +
9219 "base/android/jni_generator/jni_generator_helper.h " +
9220 "--use_proxy_hash " +
9221 "--output_name " +
9222 "PrefService_jni.h " +
9223 "--input_file " +
Mohannad Farragf27cd352023-02-10 17:41:19 +00009224 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java)",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009225 out: [
9226 "components/prefs/android/jni_headers/PrefService_jni.h",
9227 ],
9228 tool_files: [
9229 "base/android/jni_generator/android_jar.classes",
9230 "base/android/jni_generator/jni_generator.py",
9231 "build/android/gyp/util/__init__.py",
9232 "build/android/gyp/util/build_utils.py",
9233 "build/gn_helpers.py",
9234 ],
9235 apex_available: [
9236 "com.android.tethering",
9237 ],
9238}
9239
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009240// GN: //components/prefs:prefs
9241cc_library_static {
9242 name: "cronet_aml_components_prefs_prefs",
9243 srcs: [
9244 "components/prefs/android/pref_service_android.cc",
9245 "components/prefs/command_line_pref_store.cc",
9246 "components/prefs/default_pref_store.cc",
9247 "components/prefs/in_memory_pref_store.cc",
9248 "components/prefs/json_pref_store.cc",
9249 "components/prefs/overlay_user_pref_store.cc",
9250 "components/prefs/persistent_pref_store.cc",
9251 "components/prefs/pref_change_registrar.cc",
9252 "components/prefs/pref_member.cc",
9253 "components/prefs/pref_notifier_impl.cc",
9254 "components/prefs/pref_registry.cc",
9255 "components/prefs/pref_registry_simple.cc",
9256 "components/prefs/pref_service.cc",
9257 "components/prefs/pref_service_factory.cc",
9258 "components/prefs/pref_store.cc",
9259 "components/prefs/pref_value_map.cc",
9260 "components/prefs/pref_value_store.cc",
9261 "components/prefs/scoped_user_pref_update.cc",
9262 "components/prefs/segregated_pref_store.cc",
9263 "components/prefs/value_map_pref_store.cc",
9264 "components/prefs/writeable_pref_store.cc",
9265 ],
9266 shared_libs: [
9267 "libandroid",
9268 "liblog",
9269 ],
9270 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08009271 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009272 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08009273 "cronet_aml_base_base_static",
9274 "cronet_aml_base_third_party_double_conversion_double_conversion",
9275 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +09009276 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08009277 "cronet_aml_third_party_icu_icui18n",
9278 "cronet_aml_third_party_icu_icuuc_private",
9279 "cronet_aml_third_party_libevent_libevent",
9280 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009281 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +09009282 generated_headers: [
9283 "cronet_aml_base_debugging_buildflags",
9284 "cronet_aml_base_logging_buildflags",
9285 "cronet_aml_build_chromeos_buildflags",
9286 "cronet_aml_components_prefs_android_jni_headers",
9287 ],
9288 export_generated_headers: [
9289 "cronet_aml_base_debugging_buildflags",
9290 "cronet_aml_base_logging_buildflags",
9291 "cronet_aml_build_chromeos_buildflags",
9292 "cronet_aml_components_prefs_android_jni_headers",
9293 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009294 defaults: [
9295 "cronet_aml_defaults",
9296 ],
9297 cflags: [
9298 "-DANDROID",
9299 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9300 "-DCOMPONENTS_PREFS_IMPLEMENTATION",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009301 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9302 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009303 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009304 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009305 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09009306 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009307 "-DNVALGRIND",
9308 "-DOFFICIAL_BUILD",
9309 "-D_FORTIFY_SOURCE=2",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009310 "-D_GNU_SOURCE",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009311 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009312 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9313 "-D__STDC_CONSTANT_MACROS",
9314 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009315 "-Oz",
9316 "-fdata-sections",
9317 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09009318 "-fno-asynchronous-unwind-tables",
9319 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009320 "-fvisibility-inlines-hidden",
9321 "-fvisibility=hidden",
9322 "-g1",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009323 ],
9324 local_include_dirs: [
9325 "./",
9326 "buildtools/third_party/libc++/",
9327 "buildtools/third_party/libc++/trunk/include",
9328 "buildtools/third_party/libc++abi/trunk/include",
9329 "third_party/abseil-cpp/",
9330 "third_party/boringssl/src/include/",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09009331 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009332 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09009333 ldflags: [
9334 "-Wl,--as-needed",
9335 "-Wl,--gc-sections",
9336 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +00009337 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +00009338 "-Wl,-wrap,asprintf",
9339 "-Wl,-wrap,calloc",
9340 "-Wl,-wrap,free",
9341 "-Wl,-wrap,getcwd",
9342 "-Wl,-wrap,malloc",
9343 "-Wl,-wrap,malloc_usable_size",
9344 "-Wl,-wrap,memalign",
9345 "-Wl,-wrap,posix_memalign",
9346 "-Wl,-wrap,pvalloc",
9347 "-Wl,-wrap,realloc",
9348 "-Wl,-wrap,realpath",
9349 "-Wl,-wrap,strdup",
9350 "-Wl,-wrap,strndup",
9351 "-Wl,-wrap,valloc",
9352 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09009353 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00009354 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09009355 android_arm: {
9356 cflags: [
9357 "-fstack-protector",
9358 ],
9359 },
9360 android_arm64: {
9361 cflags: [
9362 "-fstack-protector",
9363 "-mno-outline",
9364 "-mno-outline-atomics",
9365 ],
9366 },
Mohannad Farrag631443e2022-11-21 16:17:01 +00009367 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009368 cflags: [
9369 "-msse3",
9370 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00009371 },
9372 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009373 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09009374 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009375 "-msse3",
9376 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00009377 },
9378 },
Patrick Rohrcb035942022-11-01 12:12:52 -07009379}
9380
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009381// GN: //components/prefs:prefs__testing
Patrick Rohrcb035942022-11-01 12:12:52 -07009382cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009383 name: "cronet_aml_components_prefs_prefs__testing",
Patrick Rohrcb035942022-11-01 12:12:52 -07009384 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009385 "components/prefs/android/pref_service_android.cc",
9386 "components/prefs/command_line_pref_store.cc",
9387 "components/prefs/default_pref_store.cc",
9388 "components/prefs/in_memory_pref_store.cc",
9389 "components/prefs/json_pref_store.cc",
9390 "components/prefs/overlay_user_pref_store.cc",
9391 "components/prefs/persistent_pref_store.cc",
9392 "components/prefs/pref_change_registrar.cc",
9393 "components/prefs/pref_member.cc",
9394 "components/prefs/pref_notifier_impl.cc",
9395 "components/prefs/pref_registry.cc",
9396 "components/prefs/pref_registry_simple.cc",
9397 "components/prefs/pref_service.cc",
9398 "components/prefs/pref_service_factory.cc",
9399 "components/prefs/pref_store.cc",
9400 "components/prefs/pref_value_map.cc",
9401 "components/prefs/pref_value_store.cc",
9402 "components/prefs/scoped_user_pref_update.cc",
9403 "components/prefs/segregated_pref_store.cc",
9404 "components/prefs/value_map_pref_store.cc",
9405 "components/prefs/writeable_pref_store.cc",
9406 ],
9407 shared_libs: [
9408 "libandroid",
9409 "liblog",
9410 ],
9411 static_libs: [
9412 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
9413 "cronet_aml_base_base__testing",
9414 "cronet_aml_base_base_static__testing",
9415 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
9416 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
9417 "cronet_aml_third_party_boringssl_boringssl__testing",
9418 "cronet_aml_third_party_icu_icui18n__testing",
9419 "cronet_aml_third_party_icu_icuuc_private__testing",
9420 "cronet_aml_third_party_libevent_libevent__testing",
9421 "cronet_aml_third_party_modp_b64_modp_b64__testing",
9422 ],
9423 generated_headers: [
9424 "cronet_aml_base_debugging_buildflags__testing",
9425 "cronet_aml_base_logging_buildflags__testing",
9426 "cronet_aml_build_chromeos_buildflags__testing",
9427 "cronet_aml_components_prefs_android_jni_headers__testing",
9428 ],
9429 export_generated_headers: [
9430 "cronet_aml_base_debugging_buildflags__testing",
9431 "cronet_aml_base_logging_buildflags__testing",
9432 "cronet_aml_build_chromeos_buildflags__testing",
9433 "cronet_aml_components_prefs_android_jni_headers__testing",
9434 ],
9435 defaults: [
9436 "cronet_aml_defaults",
9437 ],
9438 cflags: [
9439 "-DANDROID",
9440 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9441 "-DCOMPONENTS_PREFS_IMPLEMENTATION",
9442 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9443 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
9444 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9445 "-DHAVE_SYS_UIO_H",
9446 "-DNDEBUG",
9447 "-DNO_UNWIND_TABLES",
9448 "-DNVALGRIND",
9449 "-DOFFICIAL_BUILD",
9450 "-D_FORTIFY_SOURCE=2",
9451 "-D_GNU_SOURCE",
9452 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9453 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9454 "-D__STDC_CONSTANT_MACROS",
9455 "-D__STDC_FORMAT_MACROS",
9456 "-Oz",
9457 "-fdata-sections",
9458 "-ffunction-sections",
9459 "-fno-asynchronous-unwind-tables",
9460 "-fno-unwind-tables",
9461 "-fvisibility-inlines-hidden",
9462 "-fvisibility=hidden",
9463 "-g1",
9464 ],
9465 local_include_dirs: [
9466 "./",
9467 "buildtools/third_party/libc++/",
9468 "buildtools/third_party/libc++/trunk/include",
9469 "buildtools/third_party/libc++abi/trunk/include",
9470 "third_party/abseil-cpp/",
9471 "third_party/boringssl/src/include/",
9472 ],
9473 cpp_std: "c++17",
9474 ldflags: [
9475 "-Wl,--as-needed",
9476 "-Wl,--gc-sections",
9477 "-Wl,--icf=all",
9478 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
9479 "-Wl,-wrap,asprintf",
9480 "-Wl,-wrap,calloc",
9481 "-Wl,-wrap,free",
9482 "-Wl,-wrap,getcwd",
9483 "-Wl,-wrap,malloc",
9484 "-Wl,-wrap,malloc_usable_size",
9485 "-Wl,-wrap,memalign",
9486 "-Wl,-wrap,posix_memalign",
9487 "-Wl,-wrap,pvalloc",
9488 "-Wl,-wrap,realloc",
9489 "-Wl,-wrap,realpath",
9490 "-Wl,-wrap,strdup",
9491 "-Wl,-wrap,strndup",
9492 "-Wl,-wrap,valloc",
9493 "-Wl,-wrap,vasprintf",
9494 ],
9495 target: {
9496 android_arm: {
9497 cflags: [
9498 "-fstack-protector",
9499 ],
9500 },
9501 android_arm64: {
9502 cflags: [
9503 "-fstack-protector",
9504 "-mno-outline",
9505 "-mno-outline-atomics",
9506 ],
9507 },
9508 android_x86: {
9509 cflags: [
9510 "-msse3",
9511 ],
9512 },
9513 android_x86_64: {
9514 cflags: [
9515 "-fstack-protector",
9516 "-msse3",
9517 ],
9518 },
9519 },
9520}
9521
9522// GN: //components/prefs:test_support__testing
9523cc_library_static {
9524 name: "cronet_aml_components_prefs_test_support__testing",
9525 srcs: [
9526 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
9527 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
9528 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
9529 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
9530 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
9531 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
9532 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
9533 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
9534 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
9535 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
9536 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
9537 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
9538 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
9539 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
9540 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
9541 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
9542 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
9543 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
9544 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
9545 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
9546 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
9547 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
9548 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
9549 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
9550 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
9551 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
9552 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
9553 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
9554 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
9555 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
9556 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
9557 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
9558 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
9559 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
9560 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
9561 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
9562 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
9563 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
9564 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
9565 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
9566 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
9567 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
9568 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
9569 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
9570 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
9571 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
9572 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
9573 ":cronet_aml_third_party_googletest_gmock__testing",
9574 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009575 "components/prefs/mock_pref_change_callback.cc",
9576 "components/prefs/pref_store_observer_mock.cc",
9577 "components/prefs/pref_test_utils.cc",
9578 "components/prefs/testing_pref_service.cc",
9579 "components/prefs/testing_pref_store.cc",
Patrick Rohrcb035942022-11-01 12:12:52 -07009580 ],
Patrick Rohr0913f0b2022-12-13 09:13:20 -08009581 shared_libs: [
9582 "libandroid",
9583 "liblog",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009584 "libz",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08009585 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07009586 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009587 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
9588 "cronet_aml_base_base__testing",
9589 "cronet_aml_base_base_static__testing",
9590 "cronet_aml_base_i18n__testing",
9591 "cronet_aml_base_test_test_config__testing",
9592 "cronet_aml_base_test_test_support__testing",
9593 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
9594 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
9595 "cronet_aml_components_prefs_prefs__testing",
9596 "cronet_aml_testing_gtest_gtest__testing",
9597 "cronet_aml_third_party_boringssl_boringssl__testing",
9598 "cronet_aml_third_party_ced_ced__testing",
9599 "cronet_aml_third_party_icu_icui18n__testing",
9600 "cronet_aml_third_party_icu_icuuc_private__testing",
9601 "cronet_aml_third_party_libevent_libevent__testing",
9602 "cronet_aml_third_party_libxml_libxml__testing",
9603 "cronet_aml_third_party_libxml_libxml_utils__testing",
9604 "cronet_aml_third_party_libxml_xml_reader__testing",
9605 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Patrick Rohrcb035942022-11-01 12:12:52 -07009606 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +09009607 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009608 "cronet_aml_build_chromeos_buildflags__testing",
Motomu Utsumie74bab82022-12-16 18:00:12 +09009609 ],
9610 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009611 "cronet_aml_build_chromeos_buildflags__testing",
Motomu Utsumie74bab82022-12-16 18:00:12 +09009612 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07009613 defaults: [
9614 "cronet_aml_defaults",
9615 ],
9616 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08009617 "-DANDROID",
9618 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009619 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9620 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009621 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009622 "-DGTEST_API_=",
9623 "-DGTEST_HAS_ABSL=1",
9624 "-DGTEST_HAS_POSIX_RE=0",
9625 "-DGTEST_HAS_TR1_TUPLE=0",
9626 "-DGTEST_LANG_CXX11=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08009627 "-DHAVE_SYS_UIO_H",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009628 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009629 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +09009630 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009631 "-DNVALGRIND",
9632 "-DOFFICIAL_BUILD",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009633 "-DUNIT_TEST",
9634 "-DUSE_CHROMIUM_ICU=1",
9635 "-DU_ENABLE_DYLOAD=0",
9636 "-DU_ENABLE_RESOURCE_TRACING=0",
9637 "-DU_ENABLE_TRACING=1",
9638 "-DU_STATIC_IMPLEMENTATION",
9639 "-DU_USING_ICU_NAMESPACE=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +09009640 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -07009641 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -07009642 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -07009643 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9644 "-D__STDC_CONSTANT_MACROS",
9645 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009646 "-Oz",
9647 "-fdata-sections",
9648 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +09009649 "-fno-asynchronous-unwind-tables",
9650 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +09009651 "-fvisibility-inlines-hidden",
9652 "-fvisibility=hidden",
9653 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -07009654 ],
9655 local_include_dirs: [
9656 "./",
9657 "buildtools/third_party/libc++/",
9658 "buildtools/third_party/libc++/trunk/include",
9659 "buildtools/third_party/libc++abi/trunk/include",
9660 "third_party/abseil-cpp/",
9661 "third_party/boringssl/src/include/",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009662 "third_party/ced/src/",
9663 "third_party/googletest/custom/",
9664 "third_party/googletest/src/googlemock/include/",
9665 "third_party/googletest/src/googletest/include/",
9666 "third_party/icu/source/common/",
9667 "third_party/icu/source/i18n/",
Patrick Rohrcb035942022-11-01 12:12:52 -07009668 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +09009669 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09009670 ldflags: [
9671 "-Wl,--as-needed",
9672 "-Wl,--gc-sections",
9673 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +00009674 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +00009675 "-Wl,-wrap,asprintf",
9676 "-Wl,-wrap,calloc",
9677 "-Wl,-wrap,free",
9678 "-Wl,-wrap,getcwd",
9679 "-Wl,-wrap,malloc",
9680 "-Wl,-wrap,malloc_usable_size",
9681 "-Wl,-wrap,memalign",
9682 "-Wl,-wrap,posix_memalign",
9683 "-Wl,-wrap,pvalloc",
9684 "-Wl,-wrap,realloc",
9685 "-Wl,-wrap,realpath",
9686 "-Wl,-wrap,strdup",
9687 "-Wl,-wrap,strndup",
9688 "-Wl,-wrap,valloc",
9689 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +09009690 ],
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08009691 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +09009692 android_arm: {
9693 cflags: [
9694 "-fstack-protector",
9695 ],
9696 },
9697 android_arm64: {
9698 cflags: [
9699 "-fstack-protector",
9700 "-mno-outline",
9701 "-mno-outline-atomics",
9702 ],
9703 },
Motomu Utsumi65501182022-11-18 15:26:35 +09009704 android_x86: {
9705 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009706 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09009707 ],
9708 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09009709 android_x86_64: {
9710 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +09009711 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009712 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09009713 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09009714 },
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08009715 },
Patrick Rohrcb035942022-11-01 12:12:52 -07009716}
9717
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009718// GN: //crypto:buildflags
9719cc_genrule {
9720 name: "cronet_aml_crypto_buildflags",
9721 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
9722 "$(location build/write_buildflag_header.py) --output " +
9723 "$(out) " +
9724 "--rulename " +
9725 "//crypto:buildflags " +
9726 "--gen-dir " +
9727 ". " +
9728 "--definitions " +
9729 "/dev/stdin",
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009730 out: [
9731 "crypto/crypto_buildflags.h",
9732 ],
9733 tool_files: [
9734 "build/write_buildflag_header.py",
9735 ],
9736 apex_available: [
9737 "com.android.tethering",
9738 ],
9739}
9740
9741// GN: //crypto:buildflags__testing
9742cc_genrule {
9743 name: "cronet_aml_crypto_buildflags__testing",
9744 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
9745 "$(location build/write_buildflag_header.py) --output " +
9746 "$(out) " +
9747 "--rulename " +
9748 "//crypto:buildflags " +
9749 "--gen-dir " +
9750 ". " +
9751 "--definitions " +
9752 "/dev/stdin",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009753 host_supported: true,
9754 out: [
9755 "crypto/crypto_buildflags.h",
9756 ],
9757 tool_files: [
9758 "build/write_buildflag_header.py",
9759 ],
9760 apex_available: [
9761 "com.android.tethering",
9762 ],
9763}
9764
9765// GN: //crypto:crypto
9766cc_library_static {
9767 name: "cronet_aml_crypto_crypto",
9768 srcs: [
9769 "crypto/aead.cc",
9770 "crypto/ec_private_key.cc",
9771 "crypto/ec_signature_creator.cc",
9772 "crypto/ec_signature_creator_impl.cc",
9773 "crypto/encryptor.cc",
9774 "crypto/hkdf.cc",
9775 "crypto/hmac.cc",
9776 "crypto/openssl_util.cc",
9777 "crypto/p224_spake.cc",
9778 "crypto/random.cc",
9779 "crypto/rsa_private_key.cc",
9780 "crypto/secure_hash.cc",
9781 "crypto/secure_util.cc",
9782 "crypto/sha2.cc",
9783 "crypto/signature_creator.cc",
9784 "crypto/signature_verifier.cc",
9785 "crypto/symmetric_key.cc",
9786 "crypto/unexportable_key.cc",
9787 "crypto/unexportable_key_metrics.cc",
9788 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009789 shared_libs: [
9790 "libandroid",
9791 "liblog",
9792 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009793 static_libs: [
9794 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
9795 "cronet_aml_base_base",
9796 "cronet_aml_base_base_static",
9797 "cronet_aml_base_third_party_double_conversion_double_conversion",
9798 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
9799 "cronet_aml_third_party_boringssl_boringssl",
9800 "cronet_aml_third_party_icu_icui18n",
9801 "cronet_aml_third_party_icu_icuuc_private",
9802 "cronet_aml_third_party_libevent_libevent",
9803 "cronet_aml_third_party_modp_b64_modp_b64",
9804 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009805 generated_headers: [
9806 "cronet_aml_crypto_buildflags",
9807 ],
9808 export_generated_headers: [
9809 "cronet_aml_crypto_buildflags",
9810 ],
9811 defaults: [
9812 "cronet_aml_defaults",
9813 ],
9814 cflags: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +00009815 "-DANDROID",
9816 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9817 "-DCRYPTO_IMPLEMENTATION",
9818 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9819 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
9820 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9821 "-DHAVE_SYS_UIO_H",
9822 "-DNDEBUG",
9823 "-DNO_UNWIND_TABLES",
9824 "-DNVALGRIND",
9825 "-DOFFICIAL_BUILD",
9826 "-D_FORTIFY_SOURCE=2",
9827 "-D_GNU_SOURCE",
9828 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9829 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9830 "-D__STDC_CONSTANT_MACROS",
9831 "-D__STDC_FORMAT_MACROS",
9832 "-Oz",
9833 "-fdata-sections",
9834 "-ffunction-sections",
9835 "-fno-asynchronous-unwind-tables",
9836 "-fno-unwind-tables",
9837 "-fvisibility-inlines-hidden",
9838 "-fvisibility=hidden",
9839 "-g1",
9840 ],
9841 local_include_dirs: [
9842 "./",
9843 "buildtools/third_party/libc++/",
9844 "buildtools/third_party/libc++/trunk/include",
9845 "buildtools/third_party/libc++abi/trunk/include",
9846 "third_party/abseil-cpp/",
9847 "third_party/boringssl/src/include/",
9848 ],
9849 cpp_std: "c++17",
9850 ldflags: [
9851 "-Wl,--as-needed",
9852 "-Wl,--gc-sections",
9853 "-Wl,--icf=all",
9854 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
9855 "-Wl,-wrap,asprintf",
9856 "-Wl,-wrap,calloc",
9857 "-Wl,-wrap,free",
9858 "-Wl,-wrap,getcwd",
9859 "-Wl,-wrap,malloc",
9860 "-Wl,-wrap,malloc_usable_size",
9861 "-Wl,-wrap,memalign",
9862 "-Wl,-wrap,posix_memalign",
9863 "-Wl,-wrap,pvalloc",
9864 "-Wl,-wrap,realloc",
9865 "-Wl,-wrap,realpath",
9866 "-Wl,-wrap,strdup",
9867 "-Wl,-wrap,strndup",
9868 "-Wl,-wrap,valloc",
9869 "-Wl,-wrap,vasprintf",
9870 ],
9871 target: {
9872 android_arm: {
9873 cflags: [
9874 "-fstack-protector",
9875 ],
9876 },
9877 android_arm64: {
9878 cflags: [
9879 "-fstack-protector",
9880 "-mno-outline",
9881 "-mno-outline-atomics",
9882 ],
9883 },
9884 android_x86: {
9885 cflags: [
9886 "-msse3",
9887 ],
9888 },
9889 android_x86_64: {
9890 cflags: [
9891 "-fstack-protector",
9892 "-msse3",
9893 ],
9894 },
9895 },
9896}
9897
9898// GN: //crypto:crypto__testing
9899cc_library_static {
9900 name: "cronet_aml_crypto_crypto__testing",
9901 srcs: [
9902 "crypto/aead.cc",
9903 "crypto/ec_private_key.cc",
9904 "crypto/ec_signature_creator.cc",
9905 "crypto/ec_signature_creator_impl.cc",
9906 "crypto/encryptor.cc",
9907 "crypto/hkdf.cc",
9908 "crypto/hmac.cc",
9909 "crypto/openssl_util.cc",
9910 "crypto/p224_spake.cc",
9911 "crypto/random.cc",
9912 "crypto/rsa_private_key.cc",
9913 "crypto/secure_hash.cc",
9914 "crypto/secure_util.cc",
9915 "crypto/sha2.cc",
9916 "crypto/signature_creator.cc",
9917 "crypto/signature_verifier.cc",
9918 "crypto/symmetric_key.cc",
9919 "crypto/unexportable_key.cc",
9920 "crypto/unexportable_key_metrics.cc",
9921 ],
9922 static_libs: [
9923 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
9924 "cronet_aml_base_base__testing",
9925 "cronet_aml_base_base_static__testing",
9926 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
9927 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
9928 "cronet_aml_third_party_boringssl_boringssl__testing",
9929 "cronet_aml_third_party_icu_icui18n__testing",
9930 "cronet_aml_third_party_icu_icuuc_private__testing",
9931 "cronet_aml_third_party_libevent_libevent__testing",
9932 "cronet_aml_third_party_modp_b64_modp_b64__testing",
9933 ],
9934 host_supported: true,
9935 generated_headers: [
9936 "cronet_aml_crypto_buildflags__testing",
9937 ],
9938 export_generated_headers: [
9939 "cronet_aml_crypto_buildflags__testing",
9940 ],
9941 defaults: [
9942 "cronet_aml_defaults",
9943 ],
9944 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +00009945 "-DCRYPTO_IMPLEMENTATION",
9946 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
9947 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
9948 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
9949 "-DNDEBUG",
9950 "-DNO_UNWIND_TABLES",
9951 "-DNVALGRIND",
9952 "-DOFFICIAL_BUILD",
9953 "-D_FORTIFY_SOURCE=2",
9954 "-D_GNU_SOURCE",
9955 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9956 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9957 "-D__STDC_CONSTANT_MACROS",
9958 "-D__STDC_FORMAT_MACROS",
9959 "-fdata-sections",
9960 "-ffunction-sections",
9961 "-fno-asynchronous-unwind-tables",
9962 "-fno-unwind-tables",
9963 "-fvisibility-inlines-hidden",
9964 "-fvisibility=hidden",
9965 "-g1",
9966 ],
9967 local_include_dirs: [
9968 "./",
9969 "buildtools/third_party/libc++/",
9970 "buildtools/third_party/libc++/trunk/include",
9971 "buildtools/third_party/libc++abi/trunk/include",
9972 "third_party/abseil-cpp/",
9973 "third_party/boringssl/src/include/",
9974 ],
9975 ldflags: [
9976 "-Wl,--as-needed",
9977 "-Wl,--gc-sections",
9978 "-Wl,--icf=all",
9979 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
9980 ],
9981 target: {
9982 android: {
9983 shared_libs: [
9984 "libandroid",
9985 "liblog",
9986 ],
9987 },
9988 android_arm: {
9989 cflags: [
9990 "-DANDROID",
9991 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9992 "-DHAVE_SYS_UIO_H",
9993 "-Oz",
9994 "-fstack-protector",
9995 ],
9996 ldflags: [
9997 "-Wl,-wrap,asprintf",
9998 "-Wl,-wrap,calloc",
9999 "-Wl,-wrap,free",
10000 "-Wl,-wrap,getcwd",
10001 "-Wl,-wrap,malloc",
10002 "-Wl,-wrap,malloc_usable_size",
10003 "-Wl,-wrap,memalign",
10004 "-Wl,-wrap,posix_memalign",
10005 "-Wl,-wrap,pvalloc",
10006 "-Wl,-wrap,realloc",
10007 "-Wl,-wrap,realpath",
10008 "-Wl,-wrap,strdup",
10009 "-Wl,-wrap,strndup",
10010 "-Wl,-wrap,valloc",
10011 "-Wl,-wrap,vasprintf",
10012 ],
10013 },
10014 android_arm64: {
10015 cflags: [
10016 "-DANDROID",
10017 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10018 "-DHAVE_SYS_UIO_H",
10019 "-Oz",
10020 "-fstack-protector",
10021 "-mno-outline",
10022 "-mno-outline-atomics",
10023 ],
10024 ldflags: [
10025 "-Wl,-wrap,asprintf",
10026 "-Wl,-wrap,calloc",
10027 "-Wl,-wrap,free",
10028 "-Wl,-wrap,getcwd",
10029 "-Wl,-wrap,malloc",
10030 "-Wl,-wrap,malloc_usable_size",
10031 "-Wl,-wrap,memalign",
10032 "-Wl,-wrap,posix_memalign",
10033 "-Wl,-wrap,pvalloc",
10034 "-Wl,-wrap,realloc",
10035 "-Wl,-wrap,realpath",
10036 "-Wl,-wrap,strdup",
10037 "-Wl,-wrap,strndup",
10038 "-Wl,-wrap,valloc",
10039 "-Wl,-wrap,vasprintf",
10040 ],
10041 },
10042 android_x86: {
10043 cflags: [
10044 "-DANDROID",
10045 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10046 "-DHAVE_SYS_UIO_H",
10047 "-Oz",
10048 "-msse3",
10049 ],
10050 ldflags: [
10051 "-Wl,-wrap,asprintf",
10052 "-Wl,-wrap,calloc",
10053 "-Wl,-wrap,free",
10054 "-Wl,-wrap,getcwd",
10055 "-Wl,-wrap,malloc",
10056 "-Wl,-wrap,malloc_usable_size",
10057 "-Wl,-wrap,memalign",
10058 "-Wl,-wrap,posix_memalign",
10059 "-Wl,-wrap,pvalloc",
10060 "-Wl,-wrap,realloc",
10061 "-Wl,-wrap,realpath",
10062 "-Wl,-wrap,strdup",
10063 "-Wl,-wrap,strndup",
10064 "-Wl,-wrap,valloc",
10065 "-Wl,-wrap,vasprintf",
10066 ],
10067 },
10068 android_x86_64: {
10069 cflags: [
10070 "-DANDROID",
10071 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10072 "-DHAVE_SYS_UIO_H",
10073 "-Oz",
10074 "-fstack-protector",
10075 "-msse3",
10076 ],
10077 ldflags: [
10078 "-Wl,-wrap,asprintf",
10079 "-Wl,-wrap,calloc",
10080 "-Wl,-wrap,free",
10081 "-Wl,-wrap,getcwd",
10082 "-Wl,-wrap,malloc",
10083 "-Wl,-wrap,malloc_usable_size",
10084 "-Wl,-wrap,memalign",
10085 "-Wl,-wrap,posix_memalign",
10086 "-Wl,-wrap,pvalloc",
10087 "-Wl,-wrap,realloc",
10088 "-Wl,-wrap,realpath",
10089 "-Wl,-wrap,strdup",
10090 "-Wl,-wrap,strndup",
10091 "-Wl,-wrap,valloc",
10092 "-Wl,-wrap,vasprintf",
10093 ],
10094 },
10095 host: {
10096 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000010097 "cronet_aml_base_third_party_symbolize_symbolize__testing",
10098 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
10099 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010100 ],
10101 cflags: [
10102 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
10103 "-DUSE_AURA=1",
10104 "-DUSE_OZONE=1",
10105 "-DUSE_UDEV",
10106 "-D_FILE_OFFSET_BITS=64",
10107 "-D_LARGEFILE64_SOURCE",
10108 "-D_LARGEFILE_SOURCE",
10109 "-O2",
10110 "-fstack-protector",
10111 "-msse3",
10112 ],
10113 },
10114 },
10115}
10116
Motomu Utsumifcac4852022-10-26 19:28:31 +090010117// GN: //gn:default_deps
10118cc_defaults {
10119 name: "cronet_aml_defaults",
10120 cflags: [
Patrick Rohr3ce74772022-11-11 14:19:58 -080010121 "-DGOOGLE_PROTOBUF_NO_RTTI",
Motomu Utsumiba020942022-11-14 15:15:41 +090010122 "-Wno-ambiguous-reversed-operator",
Mohannad Farrag6f592242023-01-16 15:45:24 +000010123 "-Wno-c++11-narrowing",
Motomu Utsumifcac4852022-10-26 19:28:31 +090010124 "-Wno-error=return-type",
Patrick Rohr5c700022022-11-08 19:33:07 -080010125 "-Wno-macro-redefined",
Patrick Rohr98065152022-10-31 14:49:58 -070010126 "-Wno-missing-field-initializers",
Patrick Rohr3a1ec1d2022-10-31 13:30:17 -070010127 "-Wno-non-virtual-dtor",
Mohannad Farrag54d52442022-11-21 16:27:02 +000010128 "-Wno-null-pointer-subtraction",
Motomu Utsumifcac4852022-10-26 19:28:31 +090010129 "-Wno-sign-compare",
10130 "-Wno-sign-promo",
Motomu Utsumib1ec8782022-11-14 15:25:57 +090010131 "-Wno-unreachable-code-loop-increment",
Motomu Utsumifcac4852022-10-26 19:28:31 +090010132 "-Wno-unused-parameter",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010133 "-fPIC",
Motomu Utsumifcac4852022-10-26 19:28:31 +090010134 ],
Patrick Rohr61f2acb2022-10-31 14:08:18 -070010135 stl: "none",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010136 cpp_std: "c++17",
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010137 apex_available: [
10138 "com.android.tethering",
10139 ],
10140 min_sdk_version: "29",
Patrick Rohr5446df82022-11-18 14:54:55 -080010141 target: {
Patrick Rohrc03f1bb2022-11-18 16:13:17 -080010142 android: {
Motomu Utsumidbf28632022-12-23 21:03:21 +090010143 shared_libs: [
10144 "libmediandk",
10145 ],
Patrick Rohrc03f1bb2022-11-18 16:13:17 -080010146 header_libs: [
10147 "jni_headers",
Patrick Rohrc03f1bb2022-11-18 16:13:17 -080010148 ],
10149 },
Patrick Rohr5446df82022-11-18 14:54:55 -080010150 host: {
10151 cflags: [
10152 "-UANDROID",
10153 ],
10154 },
10155 },
Motomu Utsumifcac4852022-10-26 19:28:31 +090010156}
10157
Patrick Rohrb18aca22022-11-04 15:07:32 -070010158// GN: //gn:java
10159java_library {
10160 name: "cronet_aml_java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010161 srcs: [
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010162 ":cronet_aml_base_base_android_java_enums_srcjar",
10163 ":cronet_aml_base_java_features_srcjar",
10164 ":cronet_aml_base_java_switches_srcjar",
10165 ":cronet_aml_build_android_build_config_gen",
10166 ":cronet_aml_build_android_native_libraries_gen",
10167 ":cronet_aml_components_cronet_android_cronet_jni_registration__java",
10168 ":cronet_aml_components_cronet_android_http_cache_type_java",
10169 ":cronet_aml_components_cronet_android_implementation_api_version",
10170 ":cronet_aml_components_cronet_android_integrated_mode_state",
10171 ":cronet_aml_components_cronet_android_interface_api_version",
10172 ":cronet_aml_components_cronet_android_load_states_list",
10173 ":cronet_aml_components_cronet_android_net_idempotency_java",
10174 ":cronet_aml_components_cronet_android_net_request_priority_java",
10175 ":cronet_aml_components_cronet_android_network_quality_observation_source_java",
10176 ":cronet_aml_components_cronet_android_rtt_throughput_values_java",
10177 ":cronet_aml_components_cronet_android_url_request_error_java",
10178 ":cronet_aml_net_android_net_android_java_enums_srcjar",
10179 ":cronet_aml_net_android_net_errors_java",
10180 ":cronet_aml_net_effective_connection_type_java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010181 "base/android/java/src/org/chromium/base/ActivityState.java",
10182 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
10183 "base/android/java/src/org/chromium/base/ApkAssets.java",
10184 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
10185 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
10186 "base/android/java/src/org/chromium/base/BuildInfo.java",
10187 "base/android/java/src/org/chromium/base/BundleUtils.java",
10188 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
10189 "base/android/java/src/org/chromium/base/Callback.java",
10190 "base/android/java/src/org/chromium/base/CallbackController.java",
10191 "base/android/java/src/org/chromium/base/CollectionUtil.java",
10192 "base/android/java/src/org/chromium/base/CommandLine.java",
10193 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
10194 "base/android/java/src/org/chromium/base/Consumer.java",
10195 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
10196 "base/android/java/src/org/chromium/base/ContextUtils.java",
10197 "base/android/java/src/org/chromium/base/CpuFeatures.java",
10198 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
10199 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
10200 "base/android/java/src/org/chromium/base/EventLog.java",
10201 "base/android/java/src/org/chromium/base/FeatureList.java",
10202 "base/android/java/src/org/chromium/base/Features.java",
10203 "base/android/java/src/org/chromium/base/FieldTrialList.java",
10204 "base/android/java/src/org/chromium/base/FileUtils.java",
10205 "base/android/java/src/org/chromium/base/Function.java",
10206 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
10207 "base/android/java/src/org/chromium/base/IntStringCallback.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010208 "base/android/java/src/org/chromium/base/JNIUtils.java",
10209 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
10210 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010211 "base/android/java/src/org/chromium/base/JniException.java",
10212 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010213 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
10214 "base/android/java/src/org/chromium/base/LocaleUtils.java",
10215 "base/android/java/src/org/chromium/base/Log.java",
10216 "base/android/java/src/org/chromium/base/MathUtils.java",
10217 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010218 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010219 "base/android/java/src/org/chromium/base/ObserverList.java",
10220 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
10221 "base/android/java/src/org/chromium/base/PackageUtils.java",
10222 "base/android/java/src/org/chromium/base/PathService.java",
10223 "base/android/java/src/org/chromium/base/PathUtils.java",
10224 "base/android/java/src/org/chromium/base/PiiElider.java",
10225 "base/android/java/src/org/chromium/base/PowerMonitor.java",
10226 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
10227 "base/android/java/src/org/chromium/base/Predicate.java",
10228 "base/android/java/src/org/chromium/base/Promise.java",
10229 "base/android/java/src/org/chromium/base/RadioUtils.java",
10230 "base/android/java/src/org/chromium/base/StreamUtil.java",
10231 "base/android/java/src/org/chromium/base/StrictModeContext.java",
10232 "base/android/java/src/org/chromium/base/SysUtils.java",
10233 "base/android/java/src/org/chromium/base/ThreadUtils.java",
10234 "base/android/java/src/org/chromium/base/TimeUtils.java",
10235 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
10236 "base/android/java/src/org/chromium/base/TraceEvent.java",
10237 "base/android/java/src/org/chromium/base/UnguessableToken.java",
10238 "base/android/java/src/org/chromium/base/UnownedUserData.java",
10239 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
10240 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
10241 "base/android/java/src/org/chromium/base/UserData.java",
10242 "base/android/java/src/org/chromium/base/UserDataHost.java",
10243 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010244 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
10245 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
10246 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
10247 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
10248 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
10249 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
10250 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
10251 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
10252 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010253 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
10254 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
10255 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
10256 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
10257 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
10258 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
10259 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
10260 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
10261 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
10262 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
10263 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
10264 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
10265 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
10266 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
10267 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
10268 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
10269 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
10270 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
10271 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
10272 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
10273 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
10274 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
10275 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
10276 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
10277 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
10278 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
10279 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
10280 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
10281 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
10282 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
10283 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
10284 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
10285 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
10286 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
10287 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
10288 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
10289 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
10290 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
10291 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
10292 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
10293 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
10294 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
10295 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
10296 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
10297 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
10298 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
10299 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
10300 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010301 "base/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl",
10302 "base/android/java/src/org/chromium/base/process_launcher/IParentProcess.aidl",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010303 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
10304 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
10305 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
10306 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
10307 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
10308 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
10309 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
10310 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
10311 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
10312 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
10313 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
10314 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
10315 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
10316 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
10317 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
10318 "base/android/java/src/org/chromium/base/task/PostTask.java",
10319 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
10320 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
10321 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
10322 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
10323 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
10324 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
10325 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
10326 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
10327 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
10328 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010329 "base/test/android/java/src/org/chromium/base/ITestCallback.aidl",
10330 "base/test/android/java/src/org/chromium/base/ITestController.aidl",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010331 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
10332 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
10333 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
10334 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
10335 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
10336 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
10337 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
10338 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010339 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
10340 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
10341 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
10342 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
10343 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
10344 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
10345 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
10346 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
10347 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
10348 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
10349 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
10350 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
10351 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
10352 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
10353 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010354 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +000010355 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
10356 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
10357 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
10358 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
10359 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
10360 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
10361 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
10362 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
10363 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
10364 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
10365 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
10366 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
10367 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
10368 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
10369 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
10370 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
10371 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
10372 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
10373 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
10374 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
10375 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
10376 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
10377 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
10378 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
10379 "net/android/java/src/org/chromium/net/DnsStatus.java",
10380 "net/android/java/src/org/chromium/net/GURLUtils.java",
10381 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
10382 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
10383 "net/android/java/src/org/chromium/net/HttpUtil.java",
10384 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
10385 "net/android/java/src/org/chromium/net/NetStringUtil.java",
10386 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
10387 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
10388 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
10389 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
10390 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
10391 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
10392 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
10393 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
10394 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
10395 "net/android/java/src/org/chromium/net/X509Util.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +000010396 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
10397 ],
Stefano Duo0978c072023-01-09 14:22:29 +000010398 static_libs: [
10399 "modules-utils-build_system",
10400 ],
Motomu Utsumi42acf6d2022-12-09 16:04:10 +090010401 apex_available: [
Motomu Utsumi42acf6d2022-12-09 16:04:10 +090010402 "com.android.tethering",
10403 ],
Motomu Utsumi00bebb62023-01-16 15:12:38 +090010404 min_sdk_version: "30",
Mohannad Farrage815d862022-12-06 17:51:43 +000010405 libs: [
10406 "androidx.annotation_annotation",
Motomu Utsumi05a49a52022-12-09 18:21:13 +090010407 "androidx.annotation_annotation-experimental-nodeps",
Motomu Utsumi46ec15c2022-12-23 19:41:02 +090010408 "cronet_aml_api_java",
Motomu Utsumif985e032022-12-09 15:53:39 +090010409 "framework-connectivity-t.stubs.module_lib",
10410 "framework-connectivity.stubs.module_lib",
10411 "framework-mediaprovider.stubs.module_lib",
10412 "framework-tethering.stubs.module_lib",
10413 "framework-wifi.stubs.module_lib",
Mohannad Farrage815d862022-12-06 17:51:43 +000010414 "jsr305",
10415 ],
Mohannad Farragb30d3712022-12-06 17:27:04 +000010416 aidl: {
10417 include_dirs: [
10418 "frameworks/base/core/java/",
10419 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000010420 local_include_dirs: [
10421 "base/android/java/src",
10422 "base/test/android/java/src",
10423 ],
Mohannad Farragb30d3712022-12-06 17:27:04 +000010424 },
Mohannad Farrag3d3d6132022-12-06 18:11:48 +000010425 plugins: [
10426 "cronet_aml_java_jni_annotation_preprocessor",
10427 ],
Motomu Utsumif985e032022-12-09 15:53:39 +090010428 sdk_version: "module_current",
Patrick Rohr8d393192022-12-22 14:50:20 -080010429 javacflags: [
10430 "-Aorg.chromium.chrome.skipGenJni",
Mohannad Farraga4191eb2023-01-04 14:41:17 +000010431 "-Apackage_prefix=android.net.http.internal",
Patrick Rohr8d393192022-12-22 14:50:20 -080010432 ],
Mohannad Farrag3d3d6132022-12-06 18:11:48 +000010433}
10434
10435// GN: //base/android/jni_generator:jni_processor
10436java_plugin {
10437 name: "cronet_aml_java_jni_annotation_preprocessor",
10438 srcs: [
Mohannad Farrag89f38e42022-12-06 18:54:46 +000010439 ":cronet_aml_build_android_build_config_gen",
10440 "base/android/java/src/org/chromium/base/JniException.java",
10441 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
10442 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
10443 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farrag3d3d6132022-12-06 18:11:48 +000010444 "base/android/jni_generator/java/src/org/chromium/jni_generator/JniProcessor.java",
10445 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
10446 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
10447 ],
Mohannad Farrag89f38e42022-12-06 18:54:46 +000010448 static_libs: [
10449 "auto_service_annotations",
10450 "guava",
10451 "javapoet",
10452 ],
10453 processor_class: "org.chromium.jni_generator.JniProcessor",
Patrick Rohrb18aca22022-11-04 15:07:32 -070010454}
10455
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010456// GN: //net/android:net_android_java_enums_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +000010457java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010458 name: "cronet_aml_net_android_net_android_java_enums_srcjar",
10459 srcs: [
10460 "net/android/network_change_notifier_android.cc",
10461 "net/android/traffic_stats.cc",
10462 "net/socket/socket_tag.cc",
10463 ],
10464 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +000010465 "$(out) " +
10466 "$(location net/base/network_change_notifier.h) " +
10467 "$(location net/socket/socket_tag.cc) " +
10468 "$(location net/android/cert_verify_result_android.h) " +
10469 "$(location net/android/keystore.h) " +
10470 "$(location net/android/network_change_notifier_android.cc) " +
10471 "$(location net/android/traffic_stats.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010472 out: [
10473 "net/android/net_android_java_enums_srcjar.srcjar",
10474 ],
10475 tool_files: [
10476 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +090010477 "build/android/gyp/util/__init__.py",
10478 "build/android/gyp/util/build_utils.py",
10479 "build/android/gyp/util/java_cpp_utils.py",
10480 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010481 "net/android/cert_verify_result_android.h",
10482 "net/android/keystore.h",
10483 "net/base/network_change_notifier.h",
10484 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010485}
10486
10487// GN: //net/android:net_errors_java
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010488genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010489 name: "cronet_aml_net_android_net_errors_java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010490 srcs: [
10491 ":cronet_aml_net_android_net_errors_java_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010492 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010493 tools: [
10494 "soong_zip",
10495 ],
10496 cmd: "cp $(in) $(genDir)/NetError.java && " +
Motomu Utsumidfb67ba2023-01-27 12:02:18 +090010497 "$(location soong_zip) -o $(out) -srcjar -C $(genDir) -f $(genDir)/NetError.java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010498 out: [
10499 "NetError.srcjar",
10500 ],
10501}
10502
10503// GN: //net/android:net_errors_java
10504cc_object {
10505 name: "cronet_aml_net_android_net_errors_java_preprocess",
10506 srcs: [
10507 ":cronet_aml_net_android_net_errors_java_rename",
10508 ],
10509 cflags: [
10510 "-DANDROID",
10511 "-E",
10512 "-P",
10513 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +090010514 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010515}
10516
10517// GN: //net/android:net_errors_java
10518genrule {
10519 name: "cronet_aml_net_android_net_errors_java_rename",
10520 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010521 "net/android/java/NetError.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +000010522 ],
10523 cmd: "cp $(in) $(out)",
10524 out: [
10525 "NetError.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010526 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010527}
10528
Motomu Utsumie74bab82022-12-16 18:00:12 +090010529// GN: //net/base/registry_controlled_domains:registry_controlled_domains
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010530cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090010531 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010532 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
10533 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
10534 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
10535 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10536 "--reverse " +
10537 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
10538 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
10539 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10540 "--reverse " +
10541 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
10542 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
10543 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10544 "--reverse " +
10545 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
10546 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
10547 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10548 "--reverse " +
10549 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
10550 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
10551 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10552 "--reverse " +
10553 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
10554 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
10555 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10556 "--reverse " +
10557 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
10558 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
10559 out: [
10560 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
10561 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
10562 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
10563 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
10564 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
10565 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
10566 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
10567 ],
10568 tool_files: [
10569 "net/base/registry_controlled_domains/effective_tld_names.gperf",
10570 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
10571 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
10572 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
10573 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
10574 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
10575 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
10576 "net/tools/dafsa/make_dafsa.py",
10577 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010578 apex_available: [
10579 "com.android.tethering",
10580 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010581}
10582
Mohannad Farragedb2fd02023-02-10 14:53:41 +000010583// GN: //net/base/registry_controlled_domains:registry_controlled_domains__testing
10584cc_genrule {
10585 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
10586 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
10587 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
10588 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
10589 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10590 "--reverse " +
10591 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
10592 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
10593 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10594 "--reverse " +
10595 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
10596 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
10597 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10598 "--reverse " +
10599 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
10600 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
10601 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10602 "--reverse " +
10603 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
10604 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
10605 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10606 "--reverse " +
10607 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
10608 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
10609 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
10610 "--reverse " +
10611 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
10612 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
10613 out: [
10614 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
10615 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
10616 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
10617 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
10618 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
10619 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
10620 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
10621 ],
10622 tool_files: [
10623 "net/base/registry_controlled_domains/effective_tld_names.gperf",
10624 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
10625 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
10626 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
10627 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
10628 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
10629 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
10630 "net/tools/dafsa/make_dafsa.py",
10631 ],
10632 apex_available: [
10633 "com.android.tethering",
10634 ],
10635}
10636
Motomu Utsumie74bab82022-12-16 18:00:12 +090010637// GN: //net:buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010638cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090010639 name: "cronet_aml_net_buildflags",
Motomu Utsumi3029ac92022-12-16 18:04:57 +090010640 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
10641 "then " +
10642 "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 -080010643 "$(location build/write_buildflag_header.py) --output " +
10644 "$(out) " +
10645 "--rulename " +
10646 "//net:buildflags " +
10647 "--gen-dir " +
10648 ". " +
10649 "--definitions " +
Motomu Utsumi3029ac92022-12-16 18:04:57 +090010650 "/dev/stdin; " +
10651 "fi; " +
10652 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
10653 "then " +
10654 "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\"' | " +
10655 "$(location build/write_buildflag_header.py) --output " +
10656 "$(out) " +
10657 "--rulename " +
10658 "//net:buildflags " +
10659 "--gen-dir " +
10660 ". " +
10661 "--definitions " +
10662 "/dev/stdin; " +
10663 "fi; " +
10664 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
10665 "then " +
10666 "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\"' | " +
10667 "$(location build/write_buildflag_header.py) --output " +
10668 "$(out) " +
10669 "--rulename " +
10670 "//net:buildflags " +
10671 "--gen-dir " +
10672 ". " +
10673 "--definitions " +
10674 "/dev/stdin; " +
10675 "fi; " +
10676 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
10677 "then " +
10678 "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\"' | " +
10679 "$(location build/write_buildflag_header.py) --output " +
10680 "$(out) " +
10681 "--rulename " +
10682 "//net:buildflags " +
10683 "--gen-dir " +
10684 ". " +
10685 "--definitions " +
10686 "/dev/stdin; " +
10687 "fi;",
Patrick Rohr98600682022-11-18 18:29:15 -080010688 out: [
10689 "net/net_buildflags.h",
10690 ],
10691 tool_files: [
10692 "build/write_buildflag_header.py",
10693 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010694 apex_available: [
10695 "com.android.tethering",
10696 ],
Patrick Rohr98600682022-11-18 18:29:15 -080010697}
10698
Mohannad Farragedb2fd02023-02-10 14:53:41 +000010699// GN: //net:buildflags__testing
10700cc_genrule {
10701 name: "cronet_aml_net_buildflags__testing",
10702 cmd: "if [[ ( $$CC_ARCH == 'x86_64' && $$CC_OS == 'android' ) ]]; " +
10703 "then " +
10704 "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\"' | " +
10705 "$(location build/write_buildflag_header.py) --output " +
10706 "$(out) " +
10707 "--rulename " +
10708 "//net:buildflags " +
10709 "--gen-dir " +
10710 ". " +
10711 "--definitions " +
10712 "/dev/stdin; " +
10713 "fi; " +
10714 "if [[ ( $$CC_ARCH == 'x86' && $$CC_OS == 'android' ) ]]; " +
10715 "then " +
10716 "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\"' | " +
10717 "$(location build/write_buildflag_header.py) --output " +
10718 "$(out) " +
10719 "--rulename " +
10720 "//net:buildflags " +
10721 "--gen-dir " +
10722 ". " +
10723 "--definitions " +
10724 "/dev/stdin; " +
10725 "fi; " +
10726 "if [[ ( $$CC_ARCH == 'arm' && $$CC_OS == 'android' ) ]]; " +
10727 "then " +
10728 "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\"' | " +
10729 "$(location build/write_buildflag_header.py) --output " +
10730 "$(out) " +
10731 "--rulename " +
10732 "//net:buildflags " +
10733 "--gen-dir " +
10734 ". " +
10735 "--definitions " +
10736 "/dev/stdin; " +
10737 "fi; " +
10738 "if [[ ( $$CC_ARCH == 'arm64' && $$CC_OS == 'android' ) ]]; " +
10739 "then " +
10740 "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\"' | " +
10741 "$(location build/write_buildflag_header.py) --output " +
10742 "$(out) " +
10743 "--rulename " +
10744 "//net:buildflags " +
10745 "--gen-dir " +
10746 ". " +
10747 "--definitions " +
10748 "/dev/stdin; " +
10749 "fi;",
10750 out: [
10751 "net/net_buildflags.h",
10752 ],
10753 tool_files: [
10754 "build/write_buildflag_header.py",
10755 ],
10756 apex_available: [
10757 "com.android.tethering",
10758 ],
10759}
10760
Patrick Rohrcb035942022-11-01 12:12:52 -070010761// GN: //net/dns:dns
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010762cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070010763 name: "cronet_aml_net_dns_dns",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010764 srcs: [
10765 "net/dns/address_info.cc",
10766 "net/dns/address_sorter_posix.cc",
10767 "net/dns/context_host_resolver.cc",
10768 "net/dns/dns_alias_utility.cc",
10769 "net/dns/dns_client.cc",
10770 "net/dns/dns_config.cc",
10771 "net/dns/dns_config_service.cc",
10772 "net/dns/dns_config_service_android.cc",
10773 "net/dns/dns_hosts.cc",
10774 "net/dns/dns_query.cc",
10775 "net/dns/dns_reloader.cc",
10776 "net/dns/dns_response.cc",
10777 "net/dns/dns_response_result_extractor.cc",
10778 "net/dns/dns_server_iterator.cc",
10779 "net/dns/dns_session.cc",
10780 "net/dns/dns_transaction.cc",
10781 "net/dns/dns_udp_tracker.cc",
10782 "net/dns/dns_util.cc",
10783 "net/dns/host_cache.cc",
10784 "net/dns/host_resolver.cc",
10785 "net/dns/host_resolver_manager.cc",
10786 "net/dns/host_resolver_mdns_listener_impl.cc",
10787 "net/dns/host_resolver_mdns_task.cc",
10788 "net/dns/host_resolver_nat64_task.cc",
10789 "net/dns/host_resolver_proc.cc",
10790 "net/dns/host_resolver_system_task.cc",
10791 "net/dns/https_record_rdata.cc",
10792 "net/dns/httpssvc_metrics.cc",
10793 "net/dns/mapped_host_resolver.cc",
10794 "net/dns/nsswitch_reader.cc",
10795 "net/dns/opt_record_rdata.cc",
10796 "net/dns/record_parsed.cc",
10797 "net/dns/record_rdata.cc",
10798 "net/dns/resolve_context.cc",
10799 "net/dns/serial_worker.cc",
10800 "net/dns/system_dns_config_change_notifier.cc",
10801 "net/dns/test_dns_config_service.cc",
10802 ],
10803 shared_libs: [
10804 "libandroid",
10805 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080010806 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010807 ],
10808 static_libs: [
10809 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
10810 "cronet_aml_base_base",
10811 "cronet_aml_base_base_static",
10812 "cronet_aml_base_third_party_double_conversion_double_conversion",
10813 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
10814 "cronet_aml_crypto_crypto",
10815 "cronet_aml_net_preload_decoder",
10816 "cronet_aml_net_third_party_quiche_quiche",
10817 "cronet_aml_net_uri_template",
10818 "cronet_aml_third_party_boringssl_boringssl",
10819 "cronet_aml_third_party_brotli_common",
10820 "cronet_aml_third_party_brotli_dec",
10821 "cronet_aml_third_party_icu_icui18n",
10822 "cronet_aml_third_party_icu_icuuc_private",
10823 "cronet_aml_third_party_libevent_libevent",
10824 "cronet_aml_third_party_modp_b64_modp_b64",
10825 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010826 "cronet_aml_url_url",
10827 ],
10828 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090010829 "cronet_aml_base_debugging_buildflags",
10830 "cronet_aml_base_logging_buildflags",
10831 "cronet_aml_build_chromeos_buildflags",
10832 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
10833 "cronet_aml_net_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010834 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090010835 "cronet_aml_net_net_jni_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010836 "cronet_aml_net_net_nqe_proto_gen_headers",
10837 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090010838 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010839 ],
10840 defaults: [
10841 "cronet_aml_defaults",
10842 ],
10843 cflags: [
10844 "-DANDROID",
10845 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090010846 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
10847 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090010848 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010849 "-DENABLE_BUILT_IN_DNS",
10850 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10851 "-DGOOGLE_PROTOBUF_NO_RTTI",
10852 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10853 "-DHAVE_PTHREAD",
10854 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090010855 "-DNDEBUG",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010856 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090010857 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090010858 "-DNVALGRIND",
10859 "-DOFFICIAL_BUILD",
10860 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010861 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010862 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010863 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10864 "-D__STDC_CONSTANT_MACROS",
10865 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090010866 "-Oz",
10867 "-fdata-sections",
10868 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090010869 "-fno-asynchronous-unwind-tables",
10870 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090010871 "-fvisibility-inlines-hidden",
10872 "-fvisibility=hidden",
10873 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010874 ],
10875 local_include_dirs: [
10876 "./",
10877 "buildtools/third_party/libc++/",
10878 "buildtools/third_party/libc++/trunk/include",
10879 "buildtools/third_party/libc++abi/trunk/include",
10880 "net/third_party/quiche/overrides/",
10881 "net/third_party/quiche/src/",
10882 "net/third_party/quiche/src/quiche/common/platform/default/",
10883 "third_party/abseil-cpp/",
10884 "third_party/boringssl/src/include/",
10885 "third_party/brotli/include/",
10886 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010887 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090010888 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090010889 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090010890 android_arm: {
10891 cflags: [
10892 "-fstack-protector",
10893 ],
10894 },
10895 android_arm64: {
10896 cflags: [
10897 "-fstack-protector",
10898 "-mno-outline",
10899 "-mno-outline-atomics",
10900 ],
10901 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010902 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010903 cflags: [
10904 "-msse3",
10905 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090010906 },
10907 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010908 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090010909 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010910 "-msse3",
10911 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090010912 },
10913 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010914}
10915
Mohannad Farragedb2fd02023-02-10 14:53:41 +000010916// GN: //net/dns:dns__testing
10917cc_object {
10918 name: "cronet_aml_net_dns_dns__testing",
10919 srcs: [
10920 "net/dns/address_info.cc",
10921 "net/dns/address_sorter_posix.cc",
10922 "net/dns/context_host_resolver.cc",
10923 "net/dns/dns_alias_utility.cc",
10924 "net/dns/dns_client.cc",
10925 "net/dns/dns_config.cc",
10926 "net/dns/dns_config_service.cc",
10927 "net/dns/dns_config_service_android.cc",
10928 "net/dns/dns_hosts.cc",
10929 "net/dns/dns_query.cc",
10930 "net/dns/dns_reloader.cc",
10931 "net/dns/dns_response.cc",
10932 "net/dns/dns_response_result_extractor.cc",
10933 "net/dns/dns_server_iterator.cc",
10934 "net/dns/dns_session.cc",
10935 "net/dns/dns_transaction.cc",
10936 "net/dns/dns_udp_tracker.cc",
10937 "net/dns/dns_util.cc",
10938 "net/dns/host_cache.cc",
10939 "net/dns/host_resolver.cc",
10940 "net/dns/host_resolver_manager.cc",
10941 "net/dns/host_resolver_mdns_listener_impl.cc",
10942 "net/dns/host_resolver_mdns_task.cc",
10943 "net/dns/host_resolver_nat64_task.cc",
10944 "net/dns/host_resolver_proc.cc",
10945 "net/dns/host_resolver_system_task.cc",
10946 "net/dns/https_record_rdata.cc",
10947 "net/dns/httpssvc_metrics.cc",
10948 "net/dns/mapped_host_resolver.cc",
10949 "net/dns/nsswitch_reader.cc",
10950 "net/dns/opt_record_rdata.cc",
10951 "net/dns/record_parsed.cc",
10952 "net/dns/record_rdata.cc",
10953 "net/dns/resolve_context.cc",
10954 "net/dns/serial_worker.cc",
10955 "net/dns/system_dns_config_change_notifier.cc",
10956 "net/dns/test_dns_config_service.cc",
10957 ],
10958 shared_libs: [
10959 "libandroid",
10960 "liblog",
10961 "libz",
10962 ],
10963 static_libs: [
10964 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
10965 "cronet_aml_base_base__testing",
10966 "cronet_aml_base_base_static__testing",
10967 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
10968 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
10969 "cronet_aml_crypto_crypto__testing",
10970 "cronet_aml_net_preload_decoder__testing",
10971 "cronet_aml_net_third_party_quiche_quiche__testing",
10972 "cronet_aml_net_uri_template__testing",
10973 "cronet_aml_third_party_boringssl_boringssl__testing",
10974 "cronet_aml_third_party_brotli_common__testing",
10975 "cronet_aml_third_party_brotli_dec__testing",
10976 "cronet_aml_third_party_icu_icui18n__testing",
10977 "cronet_aml_third_party_icu_icuuc_private__testing",
10978 "cronet_aml_third_party_libevent_libevent__testing",
10979 "cronet_aml_third_party_modp_b64_modp_b64__testing",
10980 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
10981 "cronet_aml_url_url__testing",
10982 ],
10983 generated_headers: [
10984 "cronet_aml_base_debugging_buildflags__testing",
10985 "cronet_aml_base_logging_buildflags__testing",
10986 "cronet_aml_build_chromeos_buildflags__testing",
10987 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
10988 "cronet_aml_net_buildflags__testing",
10989 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
10990 "cronet_aml_net_net_jni_headers__testing",
10991 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
10992 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
10993 "cronet_aml_url_buildflags__testing",
10994 ],
10995 defaults: [
10996 "cronet_aml_defaults",
10997 ],
10998 cflags: [
10999 "-DANDROID",
11000 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11001 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11002 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11003 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11004 "-DENABLE_BUILT_IN_DNS",
11005 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11006 "-DGOOGLE_PROTOBUF_NO_RTTI",
11007 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11008 "-DHAVE_PTHREAD",
11009 "-DHAVE_SYS_UIO_H",
11010 "-DNDEBUG",
11011 "-DNET_IMPLEMENTATION",
11012 "-DNO_UNWIND_TABLES",
11013 "-DNVALGRIND",
11014 "-DOFFICIAL_BUILD",
11015 "-D_FORTIFY_SOURCE=2",
11016 "-D_GNU_SOURCE",
11017 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11018 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11019 "-D__STDC_CONSTANT_MACROS",
11020 "-D__STDC_FORMAT_MACROS",
11021 "-Oz",
11022 "-fdata-sections",
11023 "-ffunction-sections",
11024 "-fno-asynchronous-unwind-tables",
11025 "-fno-unwind-tables",
11026 "-fvisibility-inlines-hidden",
11027 "-fvisibility=hidden",
11028 "-g1",
11029 ],
11030 local_include_dirs: [
11031 "./",
11032 "buildtools/third_party/libc++/",
11033 "buildtools/third_party/libc++/trunk/include",
11034 "buildtools/third_party/libc++abi/trunk/include",
11035 "net/third_party/quiche/overrides/",
11036 "net/third_party/quiche/src/",
11037 "net/third_party/quiche/src/quiche/common/platform/default/",
11038 "third_party/abseil-cpp/",
11039 "third_party/boringssl/src/include/",
11040 "third_party/brotli/include/",
11041 "third_party/protobuf/src/",
11042 ],
11043 cpp_std: "c++17",
11044 target: {
11045 android_arm: {
11046 cflags: [
11047 "-fstack-protector",
11048 ],
11049 },
11050 android_arm64: {
11051 cflags: [
11052 "-fstack-protector",
11053 "-mno-outline",
11054 "-mno-outline-atomics",
11055 ],
11056 },
11057 android_x86: {
11058 cflags: [
11059 "-msse3",
11060 ],
11061 },
11062 android_x86_64: {
11063 cflags: [
11064 "-fstack-protector",
11065 "-msse3",
11066 ],
11067 },
11068 },
11069}
11070
Patrick Rohrcb035942022-11-01 12:12:52 -070011071// GN: //net/dns/public:public
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011072cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070011073 name: "cronet_aml_net_dns_public_public",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011074 srcs: [
11075 "net/dns/public/dns_config_overrides.cc",
11076 "net/dns/public/dns_over_https_config.cc",
11077 "net/dns/public/dns_over_https_server_config.cc",
11078 "net/dns/public/dns_query_type.cc",
11079 "net/dns/public/doh_provider_entry.cc",
11080 "net/dns/public/host_resolver_results.cc",
11081 "net/dns/public/resolve_error_info.cc",
11082 "net/dns/public/util.cc",
11083 ],
11084 shared_libs: [
11085 "libandroid",
11086 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080011087 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011088 ],
11089 static_libs: [
11090 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
11091 "cronet_aml_base_base",
11092 "cronet_aml_base_base_static",
11093 "cronet_aml_base_third_party_double_conversion_double_conversion",
11094 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
11095 "cronet_aml_crypto_crypto",
11096 "cronet_aml_net_preload_decoder",
11097 "cronet_aml_net_third_party_quiche_quiche",
11098 "cronet_aml_net_uri_template",
11099 "cronet_aml_third_party_boringssl_boringssl",
11100 "cronet_aml_third_party_brotli_common",
11101 "cronet_aml_third_party_brotli_dec",
11102 "cronet_aml_third_party_icu_icui18n",
11103 "cronet_aml_third_party_icu_icuuc_private",
11104 "cronet_aml_third_party_libevent_libevent",
11105 "cronet_aml_third_party_modp_b64_modp_b64",
11106 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011107 "cronet_aml_url_url",
11108 ],
11109 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090011110 "cronet_aml_base_debugging_buildflags",
11111 "cronet_aml_base_logging_buildflags",
11112 "cronet_aml_build_chromeos_buildflags",
11113 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
11114 "cronet_aml_net_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011115 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090011116 "cronet_aml_net_net_jni_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011117 "cronet_aml_net_net_nqe_proto_gen_headers",
11118 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090011119 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011120 ],
11121 defaults: [
11122 "cronet_aml_defaults",
11123 ],
11124 cflags: [
11125 "-DANDROID",
11126 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090011127 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11128 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011129 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011130 "-DENABLE_BUILT_IN_DNS",
11131 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11132 "-DGOOGLE_PROTOBUF_NO_RTTI",
11133 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11134 "-DHAVE_PTHREAD",
11135 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011136 "-DNDEBUG",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011137 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090011138 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011139 "-DNVALGRIND",
11140 "-DOFFICIAL_BUILD",
11141 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011142 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011143 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011144 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11145 "-D__STDC_CONSTANT_MACROS",
11146 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090011147 "-Oz",
11148 "-fdata-sections",
11149 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090011150 "-fno-asynchronous-unwind-tables",
11151 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090011152 "-fvisibility-inlines-hidden",
11153 "-fvisibility=hidden",
11154 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011155 ],
11156 local_include_dirs: [
11157 "./",
11158 "buildtools/third_party/libc++/",
11159 "buildtools/third_party/libc++/trunk/include",
11160 "buildtools/third_party/libc++abi/trunk/include",
11161 "net/third_party/quiche/overrides/",
11162 "net/third_party/quiche/src/",
11163 "net/third_party/quiche/src/quiche/common/platform/default/",
11164 "third_party/abseil-cpp/",
11165 "third_party/boringssl/src/include/",
11166 "third_party/brotli/include/",
11167 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011168 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090011169 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090011170 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090011171 android_arm: {
11172 cflags: [
11173 "-fstack-protector",
11174 ],
11175 },
11176 android_arm64: {
11177 cflags: [
11178 "-fstack-protector",
11179 "-mno-outline",
11180 "-mno-outline-atomics",
11181 ],
11182 },
Motomu Utsumi55394632022-11-18 17:44:28 +090011183 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011184 cflags: [
11185 "-msse3",
11186 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090011187 },
11188 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011189 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090011190 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011191 "-msse3",
11192 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090011193 },
11194 },
Patrick Rohrcb035942022-11-01 12:12:52 -070011195}
11196
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011197// GN: //net/dns/public:public__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011198cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011199 name: "cronet_aml_net_dns_public_public__testing",
11200 srcs: [
11201 "net/dns/public/dns_config_overrides.cc",
11202 "net/dns/public/dns_over_https_config.cc",
11203 "net/dns/public/dns_over_https_server_config.cc",
11204 "net/dns/public/dns_query_type.cc",
11205 "net/dns/public/doh_provider_entry.cc",
11206 "net/dns/public/host_resolver_results.cc",
11207 "net/dns/public/resolve_error_info.cc",
11208 "net/dns/public/util.cc",
11209 ],
11210 shared_libs: [
11211 "libandroid",
11212 "liblog",
11213 "libz",
11214 ],
11215 static_libs: [
11216 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
11217 "cronet_aml_base_base__testing",
11218 "cronet_aml_base_base_static__testing",
11219 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
11220 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
11221 "cronet_aml_crypto_crypto__testing",
11222 "cronet_aml_net_preload_decoder__testing",
11223 "cronet_aml_net_third_party_quiche_quiche__testing",
11224 "cronet_aml_net_uri_template__testing",
11225 "cronet_aml_third_party_boringssl_boringssl__testing",
11226 "cronet_aml_third_party_brotli_common__testing",
11227 "cronet_aml_third_party_brotli_dec__testing",
11228 "cronet_aml_third_party_icu_icui18n__testing",
11229 "cronet_aml_third_party_icu_icuuc_private__testing",
11230 "cronet_aml_third_party_libevent_libevent__testing",
11231 "cronet_aml_third_party_modp_b64_modp_b64__testing",
11232 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
11233 "cronet_aml_url_url__testing",
11234 ],
11235 generated_headers: [
11236 "cronet_aml_base_debugging_buildflags__testing",
11237 "cronet_aml_base_logging_buildflags__testing",
11238 "cronet_aml_build_chromeos_buildflags__testing",
11239 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
11240 "cronet_aml_net_buildflags__testing",
11241 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
11242 "cronet_aml_net_net_jni_headers__testing",
11243 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
11244 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
11245 "cronet_aml_url_buildflags__testing",
11246 ],
11247 defaults: [
11248 "cronet_aml_defaults",
11249 ],
11250 cflags: [
11251 "-DANDROID",
11252 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11253 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11254 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11255 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11256 "-DENABLE_BUILT_IN_DNS",
11257 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11258 "-DGOOGLE_PROTOBUF_NO_RTTI",
11259 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11260 "-DHAVE_PTHREAD",
11261 "-DHAVE_SYS_UIO_H",
11262 "-DNDEBUG",
11263 "-DNET_IMPLEMENTATION",
11264 "-DNO_UNWIND_TABLES",
11265 "-DNVALGRIND",
11266 "-DOFFICIAL_BUILD",
11267 "-D_FORTIFY_SOURCE=2",
11268 "-D_GNU_SOURCE",
11269 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11270 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11271 "-D__STDC_CONSTANT_MACROS",
11272 "-D__STDC_FORMAT_MACROS",
11273 "-Oz",
11274 "-fdata-sections",
11275 "-ffunction-sections",
11276 "-fno-asynchronous-unwind-tables",
11277 "-fno-unwind-tables",
11278 "-fvisibility-inlines-hidden",
11279 "-fvisibility=hidden",
11280 "-g1",
11281 ],
11282 local_include_dirs: [
11283 "./",
11284 "buildtools/third_party/libc++/",
11285 "buildtools/third_party/libc++/trunk/include",
11286 "buildtools/third_party/libc++abi/trunk/include",
11287 "net/third_party/quiche/overrides/",
11288 "net/third_party/quiche/src/",
11289 "net/third_party/quiche/src/quiche/common/platform/default/",
11290 "third_party/abseil-cpp/",
11291 "third_party/boringssl/src/include/",
11292 "third_party/brotli/include/",
11293 "third_party/protobuf/src/",
11294 ],
11295 cpp_std: "c++17",
11296 target: {
11297 android_arm: {
11298 cflags: [
11299 "-fstack-protector",
11300 ],
11301 },
11302 android_arm64: {
11303 cflags: [
11304 "-fstack-protector",
11305 "-mno-outline",
11306 "-mno-outline-atomics",
11307 ],
11308 },
11309 android_x86: {
11310 cflags: [
11311 "-msse3",
11312 ],
11313 },
11314 android_x86_64: {
11315 cflags: [
11316 "-fstack-protector",
11317 "-msse3",
11318 ],
11319 },
11320 },
11321}
11322
11323// GN: //net/dns:test_support__testing
11324cc_object {
11325 name: "cronet_aml_net_dns_test_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011326 srcs: [
11327 "net/dns/dns_test_util.cc",
11328 "net/dns/host_resolver_results_test_util.cc",
11329 "net/dns/mock_host_resolver.cc",
11330 ],
11331 shared_libs: [
11332 "libandroid",
11333 "liblog",
11334 "libz",
11335 ],
11336 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011337 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
11338 "cronet_aml_base_base__testing",
11339 "cronet_aml_base_base_static__testing",
11340 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
11341 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
11342 "cronet_aml_crypto_crypto__testing",
11343 "cronet_aml_net_net__testing",
11344 "cronet_aml_net_preload_decoder__testing",
11345 "cronet_aml_net_third_party_quiche_quiche__testing",
11346 "cronet_aml_net_uri_template__testing",
11347 "cronet_aml_testing_gtest_gtest__testing",
11348 "cronet_aml_third_party_boringssl_boringssl__testing",
11349 "cronet_aml_third_party_brotli_common__testing",
11350 "cronet_aml_third_party_brotli_dec__testing",
11351 "cronet_aml_third_party_icu_icui18n__testing",
11352 "cronet_aml_third_party_icu_icuuc_private__testing",
11353 "cronet_aml_third_party_libevent_libevent__testing",
11354 "cronet_aml_third_party_modp_b64_modp_b64__testing",
11355 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
11356 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011357 ],
11358 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011359 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011360 ],
11361 defaults: [
11362 "cronet_aml_defaults",
11363 ],
11364 cflags: [
11365 "-DANDROID",
11366 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11367 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11368 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11369 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11370 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11371 "-DGOOGLE_PROTOBUF_NO_RTTI",
11372 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11373 "-DGTEST_API_=",
11374 "-DGTEST_HAS_ABSL=1",
11375 "-DGTEST_HAS_POSIX_RE=0",
11376 "-DGTEST_HAS_TR1_TUPLE=0",
11377 "-DGTEST_LANG_CXX11=1",
11378 "-DHAVE_PTHREAD",
11379 "-DHAVE_SYS_UIO_H",
11380 "-DNDEBUG",
11381 "-DNO_UNWIND_TABLES",
11382 "-DNVALGRIND",
11383 "-DOFFICIAL_BUILD",
11384 "-DUNIT_TEST",
11385 "-D_FORTIFY_SOURCE=2",
11386 "-D_GNU_SOURCE",
11387 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11388 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11389 "-D__STDC_CONSTANT_MACROS",
11390 "-D__STDC_FORMAT_MACROS",
11391 "-Oz",
11392 "-fdata-sections",
11393 "-ffunction-sections",
11394 "-fno-asynchronous-unwind-tables",
11395 "-fno-unwind-tables",
11396 "-fvisibility-inlines-hidden",
11397 "-fvisibility=hidden",
11398 "-g1",
11399 ],
11400 local_include_dirs: [
11401 "./",
11402 "buildtools/third_party/libc++/",
11403 "buildtools/third_party/libc++/trunk/include",
11404 "buildtools/third_party/libc++abi/trunk/include",
11405 "net/third_party/quiche/overrides/",
11406 "net/third_party/quiche/src/",
11407 "net/third_party/quiche/src/quiche/common/platform/default/",
11408 "third_party/abseil-cpp/",
11409 "third_party/boringssl/src/include/",
11410 "third_party/googletest/custom/",
11411 "third_party/googletest/src/googlemock/include/",
11412 "third_party/googletest/src/googletest/include/",
11413 "third_party/protobuf/src/",
11414 ],
11415 cpp_std: "c++17",
11416 target: {
11417 android_arm: {
11418 cflags: [
11419 "-fstack-protector",
11420 ],
11421 },
11422 android_arm64: {
11423 cflags: [
11424 "-fstack-protector",
11425 "-mno-outline",
11426 "-mno-outline-atomics",
11427 ],
11428 },
11429 android_x86: {
11430 cflags: [
11431 "-msse3",
11432 ],
11433 },
11434 android_x86_64: {
11435 cflags: [
11436 "-fstack-protector",
11437 "-msse3",
11438 ],
11439 },
11440 },
11441}
11442
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011443// GN: //net:effective_connection_type_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +000011444java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011445 name: "cronet_aml_net_effective_connection_type_java",
11446 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +000011447 "$(out) " +
11448 "$(location net/nqe/effective_connection_type.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011449 out: [
11450 "net/effective_connection_type_java.srcjar",
11451 ],
11452 tool_files: [
11453 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +090011454 "build/android/gyp/util/__init__.py",
11455 "build/android/gyp/util/build_utils.py",
11456 "build/android/gyp/util/java_cpp_utils.py",
11457 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011458 "net/nqe/effective_connection_type.h",
11459 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000011460}
11461
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011462// GN: //net:gtest_util__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011463cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011464 name: "cronet_aml_net_gtest_util__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011465 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011466 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
11467 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
11468 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
11469 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
11470 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
11471 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
11472 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
11473 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
11474 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
11475 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
11476 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
11477 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
11478 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
11479 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
11480 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
11481 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
11482 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
11483 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
11484 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
11485 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
11486 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
11487 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
11488 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
11489 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
11490 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
11491 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
11492 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
11493 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
11494 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
11495 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
11496 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
11497 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
11498 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
11499 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
11500 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
11501 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
11502 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
11503 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
11504 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
11505 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
11506 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
11507 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
11508 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
11509 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
11510 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
11511 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
11512 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
11513 ":cronet_aml_third_party_googletest_gmock__testing",
11514 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011515 "net/test/scoped_disable_exit_on_dfatal.cc",
11516 ],
11517 shared_libs: [
11518 "libandroid",
11519 "liblog",
11520 "libz",
11521 ],
11522 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011523 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
11524 "cronet_aml_base_base__testing",
11525 "cronet_aml_base_base_static__testing",
11526 "cronet_aml_base_i18n__testing",
11527 "cronet_aml_base_test_test_config__testing",
11528 "cronet_aml_base_test_test_support__testing",
11529 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
11530 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
11531 "cronet_aml_crypto_crypto__testing",
11532 "cronet_aml_net_net__testing",
11533 "cronet_aml_net_preload_decoder__testing",
11534 "cronet_aml_net_third_party_quiche_quiche__testing",
11535 "cronet_aml_net_uri_template__testing",
11536 "cronet_aml_testing_gtest_gtest__testing",
11537 "cronet_aml_third_party_boringssl_boringssl__testing",
11538 "cronet_aml_third_party_brotli_common__testing",
11539 "cronet_aml_third_party_brotli_dec__testing",
11540 "cronet_aml_third_party_ced_ced__testing",
11541 "cronet_aml_third_party_icu_icui18n__testing",
11542 "cronet_aml_third_party_icu_icuuc_private__testing",
11543 "cronet_aml_third_party_libevent_libevent__testing",
11544 "cronet_aml_third_party_libxml_libxml__testing",
11545 "cronet_aml_third_party_libxml_libxml_utils__testing",
11546 "cronet_aml_third_party_libxml_xml_reader__testing",
11547 "cronet_aml_third_party_modp_b64_modp_b64__testing",
11548 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
11549 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011550 ],
11551 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011552 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011553 ],
11554 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011555 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011556 ],
11557 defaults: [
11558 "cronet_aml_defaults",
11559 ],
11560 cflags: [
11561 "-DANDROID",
11562 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11563 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11564 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11565 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11566 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11567 "-DGOOGLE_PROTOBUF_NO_RTTI",
11568 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11569 "-DGTEST_API_=",
11570 "-DGTEST_HAS_ABSL=1",
11571 "-DGTEST_HAS_POSIX_RE=0",
11572 "-DGTEST_HAS_TR1_TUPLE=0",
11573 "-DGTEST_LANG_CXX11=1",
11574 "-DHAVE_PTHREAD",
11575 "-DHAVE_SYS_UIO_H",
11576 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
11577 "-DNDEBUG",
11578 "-DNO_UNWIND_TABLES",
11579 "-DNVALGRIND",
11580 "-DOFFICIAL_BUILD",
11581 "-DUNIT_TEST",
11582 "-DUSE_CHROMIUM_ICU=1",
11583 "-DU_ENABLE_DYLOAD=0",
11584 "-DU_ENABLE_RESOURCE_TRACING=0",
11585 "-DU_ENABLE_TRACING=1",
11586 "-DU_STATIC_IMPLEMENTATION",
11587 "-DU_USING_ICU_NAMESPACE=0",
11588 "-D_FORTIFY_SOURCE=2",
11589 "-D_GNU_SOURCE",
11590 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11591 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11592 "-D__STDC_CONSTANT_MACROS",
11593 "-D__STDC_FORMAT_MACROS",
11594 "-Oz",
11595 "-fdata-sections",
11596 "-ffunction-sections",
11597 "-fno-asynchronous-unwind-tables",
11598 "-fno-unwind-tables",
11599 "-fvisibility-inlines-hidden",
11600 "-fvisibility=hidden",
11601 "-g1",
11602 ],
11603 local_include_dirs: [
11604 "./",
11605 "buildtools/third_party/libc++/",
11606 "buildtools/third_party/libc++/trunk/include",
11607 "buildtools/third_party/libc++abi/trunk/include",
11608 "net/third_party/quiche/overrides/",
11609 "net/third_party/quiche/src/",
11610 "net/third_party/quiche/src/quiche/common/platform/default/",
11611 "third_party/abseil-cpp/",
11612 "third_party/boringssl/src/include/",
11613 "third_party/ced/src/",
11614 "third_party/googletest/custom/",
11615 "third_party/googletest/src/googlemock/include/",
11616 "third_party/googletest/src/googletest/include/",
11617 "third_party/icu/source/common/",
11618 "third_party/icu/source/i18n/",
11619 "third_party/protobuf/src/",
11620 ],
11621 cpp_std: "c++17",
11622 ldflags: [
11623 "-Wl,--as-needed",
11624 "-Wl,--gc-sections",
11625 "-Wl,--icf=all",
11626 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
11627 "-Wl,-wrap,asprintf",
11628 "-Wl,-wrap,calloc",
11629 "-Wl,-wrap,free",
11630 "-Wl,-wrap,getcwd",
11631 "-Wl,-wrap,malloc",
11632 "-Wl,-wrap,malloc_usable_size",
11633 "-Wl,-wrap,memalign",
11634 "-Wl,-wrap,posix_memalign",
11635 "-Wl,-wrap,pvalloc",
11636 "-Wl,-wrap,realloc",
11637 "-Wl,-wrap,realpath",
11638 "-Wl,-wrap,strdup",
11639 "-Wl,-wrap,strndup",
11640 "-Wl,-wrap,valloc",
11641 "-Wl,-wrap,vasprintf",
11642 ],
11643 target: {
11644 android_arm: {
11645 cflags: [
11646 "-fstack-protector",
11647 ],
11648 },
11649 android_arm64: {
11650 cflags: [
11651 "-fstack-protector",
11652 "-mno-outline",
11653 "-mno-outline-atomics",
11654 ],
11655 },
11656 android_x86: {
11657 cflags: [
11658 "-msse3",
11659 ],
11660 },
11661 android_x86_64: {
11662 cflags: [
11663 "-fstack-protector",
11664 "-msse3",
11665 ],
11666 },
11667 },
11668}
11669
Patrick Rohrcb035942022-11-01 12:12:52 -070011670// GN: //net/http:transport_security_state_generated_files
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011671cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070011672 name: "cronet_aml_net_http_transport_security_state_generated_files",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011673 srcs: [
11674 "net/http/transport_security_state.cc",
11675 ],
11676 shared_libs: [
11677 "libandroid",
11678 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080011679 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011680 ],
11681 static_libs: [
11682 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
11683 "cronet_aml_base_base",
11684 "cronet_aml_base_base_static",
11685 "cronet_aml_base_third_party_double_conversion_double_conversion",
11686 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
11687 "cronet_aml_crypto_crypto",
11688 "cronet_aml_net_preload_decoder",
11689 "cronet_aml_net_third_party_quiche_quiche",
11690 "cronet_aml_net_uri_template",
11691 "cronet_aml_third_party_boringssl_boringssl",
11692 "cronet_aml_third_party_brotli_common",
11693 "cronet_aml_third_party_brotli_dec",
11694 "cronet_aml_third_party_icu_icui18n",
11695 "cronet_aml_third_party_icu_icuuc_private",
11696 "cronet_aml_third_party_libevent_libevent",
11697 "cronet_aml_third_party_modp_b64_modp_b64",
11698 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011699 "cronet_aml_url_url",
11700 ],
11701 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090011702 "cronet_aml_base_debugging_buildflags",
11703 "cronet_aml_base_logging_buildflags",
11704 "cronet_aml_build_branding_buildflags",
11705 "cronet_aml_build_chromeos_buildflags",
11706 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
11707 "cronet_aml_net_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011708 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090011709 "cronet_aml_net_net_jni_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011710 "cronet_aml_net_net_nqe_proto_gen_headers",
11711 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090011712 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011713 ],
11714 defaults: [
11715 "cronet_aml_defaults",
11716 ],
11717 cflags: [
11718 "-DANDROID",
11719 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090011720 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11721 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011722 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011723 "-DENABLE_BUILT_IN_DNS",
11724 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11725 "-DGOOGLE_PROTOBUF_NO_RTTI",
11726 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11727 "-DHAVE_PTHREAD",
11728 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011729 "-DNDEBUG",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011730 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090011731 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090011732 "-DNVALGRIND",
11733 "-DOFFICIAL_BUILD",
11734 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011735 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011736 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011737 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11738 "-D__STDC_CONSTANT_MACROS",
11739 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090011740 "-Oz",
11741 "-fdata-sections",
11742 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090011743 "-fno-asynchronous-unwind-tables",
11744 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090011745 "-fvisibility-inlines-hidden",
11746 "-fvisibility=hidden",
11747 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011748 ],
11749 local_include_dirs: [
11750 "./",
11751 "buildtools/third_party/libc++/",
11752 "buildtools/third_party/libc++/trunk/include",
11753 "buildtools/third_party/libc++abi/trunk/include",
11754 "net/third_party/quiche/overrides/",
11755 "net/third_party/quiche/src/",
11756 "net/third_party/quiche/src/quiche/common/platform/default/",
11757 "third_party/abseil-cpp/",
11758 "third_party/boringssl/src/include/",
11759 "third_party/brotli/include/",
11760 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011761 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090011762 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090011763 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090011764 android_arm: {
11765 cflags: [
11766 "-fstack-protector",
11767 ],
11768 },
11769 android_arm64: {
11770 cflags: [
11771 "-fstack-protector",
11772 "-mno-outline",
11773 "-mno-outline-atomics",
11774 ],
11775 },
Motomu Utsumi55394632022-11-18 17:44:28 +090011776 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011777 cflags: [
11778 "-msse3",
11779 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090011780 },
11781 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011782 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090011783 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011784 "-msse3",
11785 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090011786 },
11787 },
Patrick Rohrcb035942022-11-01 12:12:52 -070011788}
11789
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011790// GN: //net/http:transport_security_state_generated_files__testing
11791cc_object {
11792 name: "cronet_aml_net_http_transport_security_state_generated_files__testing",
11793 srcs: [
11794 "net/http/transport_security_state.cc",
11795 ],
11796 shared_libs: [
11797 "libandroid",
11798 "liblog",
11799 "libz",
11800 ],
11801 static_libs: [
11802 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
11803 "cronet_aml_base_base__testing",
11804 "cronet_aml_base_base_static__testing",
11805 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
11806 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
11807 "cronet_aml_crypto_crypto__testing",
11808 "cronet_aml_net_preload_decoder__testing",
11809 "cronet_aml_net_third_party_quiche_quiche__testing",
11810 "cronet_aml_net_uri_template__testing",
11811 "cronet_aml_third_party_boringssl_boringssl__testing",
11812 "cronet_aml_third_party_brotli_common__testing",
11813 "cronet_aml_third_party_brotli_dec__testing",
11814 "cronet_aml_third_party_icu_icui18n__testing",
11815 "cronet_aml_third_party_icu_icuuc_private__testing",
11816 "cronet_aml_third_party_libevent_libevent__testing",
11817 "cronet_aml_third_party_modp_b64_modp_b64__testing",
11818 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
11819 "cronet_aml_url_url__testing",
11820 ],
11821 generated_headers: [
11822 "cronet_aml_base_debugging_buildflags__testing",
11823 "cronet_aml_base_logging_buildflags__testing",
11824 "cronet_aml_build_branding_buildflags__testing",
11825 "cronet_aml_build_chromeos_buildflags__testing",
11826 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
11827 "cronet_aml_net_buildflags__testing",
11828 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
11829 "cronet_aml_net_net_jni_headers__testing",
11830 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
11831 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
11832 "cronet_aml_url_buildflags__testing",
11833 ],
11834 defaults: [
11835 "cronet_aml_defaults",
11836 ],
11837 cflags: [
11838 "-DANDROID",
11839 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11840 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
11841 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
11842 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
11843 "-DENABLE_BUILT_IN_DNS",
11844 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11845 "-DGOOGLE_PROTOBUF_NO_RTTI",
11846 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11847 "-DHAVE_PTHREAD",
11848 "-DHAVE_SYS_UIO_H",
11849 "-DNDEBUG",
11850 "-DNET_IMPLEMENTATION",
11851 "-DNO_UNWIND_TABLES",
11852 "-DNVALGRIND",
11853 "-DOFFICIAL_BUILD",
11854 "-D_FORTIFY_SOURCE=2",
11855 "-D_GNU_SOURCE",
11856 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11857 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11858 "-D__STDC_CONSTANT_MACROS",
11859 "-D__STDC_FORMAT_MACROS",
11860 "-Oz",
11861 "-fdata-sections",
11862 "-ffunction-sections",
11863 "-fno-asynchronous-unwind-tables",
11864 "-fno-unwind-tables",
11865 "-fvisibility-inlines-hidden",
11866 "-fvisibility=hidden",
11867 "-g1",
11868 ],
11869 local_include_dirs: [
11870 "./",
11871 "buildtools/third_party/libc++/",
11872 "buildtools/third_party/libc++/trunk/include",
11873 "buildtools/third_party/libc++abi/trunk/include",
11874 "net/third_party/quiche/overrides/",
11875 "net/third_party/quiche/src/",
11876 "net/third_party/quiche/src/quiche/common/platform/default/",
11877 "third_party/abseil-cpp/",
11878 "third_party/boringssl/src/include/",
11879 "third_party/brotli/include/",
11880 "third_party/protobuf/src/",
11881 ],
11882 cpp_std: "c++17",
11883 target: {
11884 android_arm: {
11885 cflags: [
11886 "-fstack-protector",
11887 ],
11888 },
11889 android_arm64: {
11890 cflags: [
11891 "-fstack-protector",
11892 "-mno-outline",
11893 "-mno-outline-atomics",
11894 ],
11895 },
11896 android_x86: {
11897 cflags: [
11898 "-msse3",
11899 ],
11900 },
11901 android_x86_64: {
11902 cflags: [
11903 "-fstack-protector",
11904 "-msse3",
11905 ],
11906 },
11907 },
11908}
11909
11910// GN: //net/http:transport_security_state_unittest_data_default__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011911cc_genrule {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011912 name: "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000011913 tools: [
11914 "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing",
11915 ],
11916 cmd: "$(location cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing) " +
11917 "$(location net/http/transport_security_state_static_unittest_default.json) " +
11918 "$(location net/http/transport_security_state_static_unittest_default.pins) " +
11919 "$(location net/http/transport_security_state_static_unittest.template) " +
11920 "$(location net/http/transport_security_state_static_unittest_default.h)",
11921 out: [
11922 "net/http/transport_security_state_static_unittest_default.h",
11923 ],
11924 tool_files: [
11925 "build/gn_run_binary.py",
11926 "net/http/transport_security_state_static_unittest.template",
11927 "net/http/transport_security_state_static_unittest_default.json",
11928 "net/http/transport_security_state_static_unittest_default.pins",
11929 ],
11930 apex_available: [
11931 "com.android.tethering",
11932 ],
11933}
11934
Motomu Utsumie74bab82022-12-16 18:00:12 +090011935// GN: //net:ios_cronet_buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000011936cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090011937 name: "cronet_aml_net_ios_cronet_buildflags",
Motomu Utsumiedf300c2023-01-12 17:52:21 +090011938 cmd: "echo '--flags CRONET_BUILD=\"true\"' | " +
Patrick Rohrcb035942022-11-01 12:12:52 -070011939 "$(location build/write_buildflag_header.py) --output " +
11940 "$(out) " +
11941 "--rulename " +
11942 "//net:ios_cronet_buildflags " +
11943 "--gen-dir " +
11944 ". " +
11945 "--definitions " +
11946 "/dev/stdin",
11947 out: [
11948 "net/socket/ios_cronet_buildflags.h",
11949 ],
11950 tool_files: [
11951 "build/write_buildflag_header.py",
11952 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090011953 apex_available: [
11954 "com.android.tethering",
11955 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070011956}
11957
Mohannad Farragedb2fd02023-02-10 14:53:41 +000011958// GN: //net:ios_cronet_buildflags__testing
11959cc_genrule {
11960 name: "cronet_aml_net_ios_cronet_buildflags__testing",
11961 cmd: "echo '--flags CRONET_BUILD=\"true\"' | " +
11962 "$(location build/write_buildflag_header.py) --output " +
11963 "$(out) " +
11964 "--rulename " +
11965 "//net:ios_cronet_buildflags " +
11966 "--gen-dir " +
11967 ". " +
11968 "--definitions " +
11969 "/dev/stdin",
11970 out: [
11971 "net/socket/ios_cronet_buildflags.h",
11972 ],
11973 tool_files: [
11974 "build/write_buildflag_header.py",
11975 ],
11976 apex_available: [
11977 "com.android.tethering",
11978 ],
11979}
11980
11981// GN: //net:isolation_info_proto__testing
11982cc_genrule {
11983 name: "cronet_aml_net_isolation_info_proto__testing_gen",
11984 srcs: [
11985 "net/base/isolation_info.proto",
11986 ],
11987 tools: [
11988 "cronet_aml_third_party_protobuf_protoc",
11989 ],
11990 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
11991 out: [
11992 "external/cronet/net/base/isolation_info.pb.cc",
11993 ],
11994 apex_available: [
11995 "com.android.tethering",
11996 ],
11997}
11998
11999// GN: //net:isolation_info_proto__testing
12000cc_genrule {
12001 name: "cronet_aml_net_isolation_info_proto__testing_gen_headers",
12002 srcs: [
12003 "net/base/isolation_info.proto",
12004 ],
12005 tools: [
12006 "cronet_aml_third_party_protobuf_protoc",
12007 ],
12008 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/cronet/net/base --cpp_out=lite=true:$(genDir)/external/cronet/net/base/ $(in)",
12009 out: [
12010 "external/cronet/net/base/isolation_info.pb.h",
12011 ],
12012 export_include_dirs: [
12013 ".",
12014 "net/base",
12015 "protos",
12016 ],
12017 apex_available: [
12018 "com.android.tethering",
12019 ],
12020}
12021
Patrick Rohrcb035942022-11-01 12:12:52 -070012022// GN: //net:isolation_info_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012023cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070012024 name: "cronet_aml_net_isolation_info_proto_gen",
12025 srcs: [
12026 "net/base/isolation_info.proto",
12027 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012028 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012029 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012030 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090012031 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 -070012032 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090012033 "external/cronet/net/base/isolation_info.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012034 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012035 apex_available: [
12036 "com.android.tethering",
12037 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090012038}
12039
Patrick Rohrc5980782022-11-07 16:34:03 -080012040// GN: //net:isolation_info_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012041cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090012042 name: "cronet_aml_net_isolation_info_proto_gen_headers",
12043 srcs: [
12044 "net/base/isolation_info.proto",
12045 ],
12046 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012047 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012048 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090012049 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 +090012050 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090012051 "external/cronet/net/base/isolation_info.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070012052 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080012053 export_include_dirs: [
12054 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080012055 "net/base",
Patrick Rohrc5980782022-11-07 16:34:03 -080012056 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070012057 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012058 apex_available: [
12059 "com.android.tethering",
12060 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070012061}
12062
12063// GN: //net:net
12064cc_library_static {
12065 name: "cronet_aml_net_net",
12066 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012067 ":cronet_aml_net_dns_dns",
12068 ":cronet_aml_net_dns_public_public",
12069 ":cronet_aml_net_http_transport_security_state_generated_files",
12070 ":cronet_aml_net_net_deps",
12071 ":cronet_aml_net_net_public_deps",
12072 ":cronet_aml_net_traffic_annotation_traffic_annotation",
Patrick Rohrcb035942022-11-01 12:12:52 -070012073 "net/android/android_http_util.cc",
12074 "net/android/cert_verify_result_android.cc",
12075 "net/android/gurl_utils.cc",
12076 "net/android/http_auth_negotiate_android.cc",
12077 "net/android/keystore.cc",
12078 "net/android/network_change_notifier_android.cc",
12079 "net/android/network_change_notifier_delegate_android.cc",
12080 "net/android/network_change_notifier_factory_android.cc",
12081 "net/android/network_library.cc",
12082 "net/android/radio_activity_tracker.cc",
12083 "net/android/traffic_stats.cc",
12084 "net/base/address_family.cc",
12085 "net/base/address_list.cc",
12086 "net/base/address_tracker_linux.cc",
12087 "net/base/auth.cc",
12088 "net/base/backoff_entry.cc",
12089 "net/base/backoff_entry_serializer.cc",
12090 "net/base/cache_metrics.cc",
12091 "net/base/chunked_upload_data_stream.cc",
12092 "net/base/connection_endpoint_metadata.cc",
12093 "net/base/data_url.cc",
12094 "net/base/datagram_buffer.cc",
12095 "net/base/elements_upload_data_stream.cc",
12096 "net/base/features.cc",
12097 "net/base/file_stream.cc",
12098 "net/base/file_stream_context.cc",
12099 "net/base/file_stream_context_posix.cc",
12100 "net/base/filename_util.cc",
12101 "net/base/filename_util_internal.cc",
12102 "net/base/hash_value.cc",
12103 "net/base/hex_utils.cc",
12104 "net/base/host_mapping_rules.cc",
12105 "net/base/host_port_pair.cc",
12106 "net/base/io_buffer.cc",
12107 "net/base/ip_address.cc",
12108 "net/base/ip_endpoint.cc",
12109 "net/base/isolation_info.cc",
12110 "net/base/load_timing_info.cc",
12111 "net/base/logging_network_change_observer.cc",
12112 "net/base/lookup_string_in_fixed_set.cc",
12113 "net/base/mime_sniffer.cc",
12114 "net/base/mime_util.cc",
12115 "net/base/net_errors.cc",
12116 "net/base/net_errors_posix.cc",
12117 "net/base/net_module.cc",
12118 "net/base/net_string_util_icu_alternatives_android.cc",
12119 "net/base/network_activity_monitor.cc",
12120 "net/base/network_anonymization_key.cc",
12121 "net/base/network_change_notifier.cc",
12122 "net/base/network_change_notifier_posix.cc",
12123 "net/base/network_delegate.cc",
12124 "net/base/network_delegate_impl.cc",
12125 "net/base/network_interfaces.cc",
12126 "net/base/network_interfaces_getifaddrs.cc",
12127 "net/base/network_interfaces_getifaddrs_android.cc",
12128 "net/base/network_interfaces_linux.cc",
12129 "net/base/network_interfaces_posix.cc",
12130 "net/base/network_isolation_key.cc",
12131 "net/base/parse_number.cc",
12132 "net/base/platform_mime_util_linux.cc",
12133 "net/base/port_util.cc",
12134 "net/base/prioritized_dispatcher.cc",
12135 "net/base/prioritized_task_runner.cc",
12136 "net/base/privacy_mode.cc",
12137 "net/base/proxy_server.cc",
12138 "net/base/proxy_string_util.cc",
12139 "net/base/registry_controlled_domains/registry_controlled_domain.cc",
12140 "net/base/request_priority.cc",
12141 "net/base/scheme_host_port_matcher.cc",
12142 "net/base/scheme_host_port_matcher_rule.cc",
12143 "net/base/schemeful_site.cc",
12144 "net/base/sockaddr_storage.cc",
12145 "net/base/sockaddr_util_posix.cc",
12146 "net/base/transport_info.cc",
12147 "net/base/upload_bytes_element_reader.cc",
12148 "net/base/upload_data_stream.cc",
12149 "net/base/upload_element_reader.cc",
12150 "net/base/upload_file_element_reader.cc",
12151 "net/base/url_util.cc",
12152 "net/cert/asn1_util.cc",
12153 "net/cert/caching_cert_verifier.cc",
12154 "net/cert/cert_and_ct_verifier.cc",
12155 "net/cert/cert_database.cc",
12156 "net/cert/cert_status_flags.cc",
12157 "net/cert/cert_verifier.cc",
12158 "net/cert/cert_verify_proc.cc",
12159 "net/cert/cert_verify_proc_android.cc",
12160 "net/cert/cert_verify_proc_builtin.cc",
12161 "net/cert/cert_verify_result.cc",
12162 "net/cert/coalescing_cert_verifier.cc",
12163 "net/cert/crl_set.cc",
12164 "net/cert/ct_log_response_parser.cc",
12165 "net/cert/ct_log_verifier.cc",
12166 "net/cert/ct_log_verifier_util.cc",
12167 "net/cert/ct_objects_extractor.cc",
12168 "net/cert/ct_policy_enforcer.cc",
12169 "net/cert/ct_sct_to_string.cc",
12170 "net/cert/ct_serialization.cc",
12171 "net/cert/ct_signed_certificate_timestamp_log_param.cc",
12172 "net/cert/do_nothing_ct_verifier.cc",
12173 "net/cert/ev_root_ca_metadata.cc",
12174 "net/cert/internal/cert_issuer_source_aia.cc",
12175 "net/cert/internal/revocation_checker.cc",
12176 "net/cert/internal/system_trust_store.cc",
12177 "net/cert/known_roots.cc",
12178 "net/cert/merkle_audit_proof.cc",
12179 "net/cert/merkle_consistency_proof.cc",
12180 "net/cert/merkle_tree_leaf.cc",
12181 "net/cert/multi_log_ct_verifier.cc",
12182 "net/cert/multi_threaded_cert_verifier.cc",
12183 "net/cert/ocsp_verify_result.cc",
12184 "net/cert/pem.cc",
12185 "net/cert/pki/cert_error_id.cc",
12186 "net/cert/pki/cert_error_params.cc",
12187 "net/cert/pki/cert_errors.cc",
12188 "net/cert/pki/cert_issuer_source_static.cc",
12189 "net/cert/pki/certificate_policies.cc",
12190 "net/cert/pki/common_cert_errors.cc",
12191 "net/cert/pki/crl.cc",
12192 "net/cert/pki/extended_key_usage.cc",
12193 "net/cert/pki/general_names.cc",
12194 "net/cert/pki/name_constraints.cc",
12195 "net/cert/pki/ocsp.cc",
12196 "net/cert/pki/parse_certificate.cc",
12197 "net/cert/pki/parse_name.cc",
12198 "net/cert/pki/parsed_certificate.cc",
12199 "net/cert/pki/path_builder.cc",
12200 "net/cert/pki/revocation_util.cc",
12201 "net/cert/pki/signature_algorithm.cc",
12202 "net/cert/pki/simple_path_builder_delegate.cc",
12203 "net/cert/pki/string_util.cc",
12204 "net/cert/pki/trust_store.cc",
12205 "net/cert/pki/trust_store_collection.cc",
12206 "net/cert/pki/trust_store_in_memory.cc",
12207 "net/cert/pki/verify_certificate_chain.cc",
12208 "net/cert/pki/verify_name_match.cc",
12209 "net/cert/pki/verify_signed_data.cc",
12210 "net/cert/sct_status_flags.cc",
12211 "net/cert/signed_certificate_timestamp.cc",
12212 "net/cert/signed_certificate_timestamp_and_status.cc",
12213 "net/cert/signed_tree_head.cc",
12214 "net/cert/symantec_certs.cc",
12215 "net/cert/test_root_certs.cc",
12216 "net/cert/test_root_certs_android.cc",
12217 "net/cert/trial_comparison_cert_verifier_util.cc",
12218 "net/cert/x509_cert_types.cc",
12219 "net/cert/x509_certificate.cc",
12220 "net/cert/x509_certificate_net_log_param.cc",
12221 "net/cert/x509_util.cc",
12222 "net/cert/x509_util_android.cc",
12223 "net/cert_net/cert_net_fetcher_url_request.cc",
12224 "net/cookies/canonical_cookie.cc",
12225 "net/cookies/cookie_access_delegate.cc",
12226 "net/cookies/cookie_access_result.cc",
12227 "net/cookies/cookie_change_dispatcher.cc",
12228 "net/cookies/cookie_constants.cc",
12229 "net/cookies/cookie_deletion_info.cc",
12230 "net/cookies/cookie_inclusion_status.cc",
12231 "net/cookies/cookie_monster.cc",
12232 "net/cookies/cookie_monster_change_dispatcher.cc",
12233 "net/cookies/cookie_monster_netlog_params.cc",
12234 "net/cookies/cookie_options.cc",
12235 "net/cookies/cookie_partition_key.cc",
12236 "net/cookies/cookie_partition_key_collection.cc",
12237 "net/cookies/cookie_store.cc",
12238 "net/cookies/cookie_util.cc",
12239 "net/cookies/parsed_cookie.cc",
12240 "net/cookies/site_for_cookies.cc",
12241 "net/cookies/static_cookie_policy.cc",
12242 "net/der/encode_values.cc",
12243 "net/der/input.cc",
12244 "net/der/parse_values.cc",
12245 "net/der/parser.cc",
12246 "net/der/tag.cc",
12247 "net/disk_cache/backend_cleanup_tracker.cc",
12248 "net/disk_cache/blockfile/addr.cc",
12249 "net/disk_cache/blockfile/backend_impl.cc",
12250 "net/disk_cache/blockfile/bitmap.cc",
12251 "net/disk_cache/blockfile/block_files.cc",
12252 "net/disk_cache/blockfile/disk_format.cc",
12253 "net/disk_cache/blockfile/entry_impl.cc",
12254 "net/disk_cache/blockfile/eviction.cc",
12255 "net/disk_cache/blockfile/file.cc",
12256 "net/disk_cache/blockfile/file_lock.cc",
12257 "net/disk_cache/blockfile/file_posix.cc",
12258 "net/disk_cache/blockfile/in_flight_backend_io.cc",
12259 "net/disk_cache/blockfile/in_flight_io.cc",
12260 "net/disk_cache/blockfile/mapped_file.cc",
Patrick Rohrcb035942022-11-01 12:12:52 -070012261 "net/disk_cache/blockfile/rankings.cc",
12262 "net/disk_cache/blockfile/sparse_control.cc",
12263 "net/disk_cache/blockfile/stats.cc",
12264 "net/disk_cache/cache_util.cc",
12265 "net/disk_cache/cache_util_posix.cc",
12266 "net/disk_cache/disk_cache.cc",
12267 "net/disk_cache/memory/mem_backend_impl.cc",
12268 "net/disk_cache/memory/mem_entry_impl.cc",
12269 "net/disk_cache/net_log_parameters.cc",
12270 "net/disk_cache/simple/post_doom_waiter.cc",
12271 "net/disk_cache/simple/simple_backend_impl.cc",
12272 "net/disk_cache/simple/simple_entry_format.cc",
12273 "net/disk_cache/simple/simple_entry_impl.cc",
12274 "net/disk_cache/simple/simple_entry_operation.cc",
12275 "net/disk_cache/simple/simple_file_enumerator.cc",
12276 "net/disk_cache/simple/simple_file_tracker.cc",
12277 "net/disk_cache/simple/simple_index.cc",
12278 "net/disk_cache/simple/simple_index_file.cc",
12279 "net/disk_cache/simple/simple_net_log_parameters.cc",
12280 "net/disk_cache/simple/simple_synchronous_entry.cc",
12281 "net/disk_cache/simple/simple_util.cc",
12282 "net/disk_cache/simple/simple_util_posix.cc",
12283 "net/disk_cache/simple/simple_version_upgrade.cc",
12284 "net/filter/brotli_source_stream.cc",
12285 "net/filter/filter_source_stream.cc",
12286 "net/filter/gzip_header.cc",
12287 "net/filter/gzip_source_stream.cc",
12288 "net/filter/source_stream.cc",
12289 "net/first_party_sets/addition_overlaps_union_find.cc",
12290 "net/first_party_sets/first_party_set_entry.cc",
12291 "net/first_party_sets/first_party_set_metadata.cc",
12292 "net/first_party_sets/first_party_sets_cache_filter.cc",
12293 "net/first_party_sets/first_party_sets_context_config.cc",
12294 "net/first_party_sets/global_first_party_sets.cc",
12295 "net/first_party_sets/same_party_context.cc",
12296 "net/http/alternative_service.cc",
12297 "net/http/bidirectional_stream.cc",
12298 "net/http/bidirectional_stream_impl.cc",
12299 "net/http/bidirectional_stream_request_info.cc",
12300 "net/http/broken_alternative_services.cc",
12301 "net/http/http_auth.cc",
12302 "net/http/http_auth_cache.cc",
12303 "net/http/http_auth_challenge_tokenizer.cc",
12304 "net/http/http_auth_controller.cc",
12305 "net/http/http_auth_filter.cc",
12306 "net/http/http_auth_handler.cc",
12307 "net/http/http_auth_handler_basic.cc",
12308 "net/http/http_auth_handler_digest.cc",
12309 "net/http/http_auth_handler_factory.cc",
12310 "net/http/http_auth_handler_negotiate.cc",
12311 "net/http/http_auth_handler_ntlm.cc",
12312 "net/http/http_auth_handler_ntlm_portable.cc",
12313 "net/http/http_auth_multi_round_parse.cc",
12314 "net/http/http_auth_ntlm_mechanism.cc",
12315 "net/http/http_auth_preferences.cc",
12316 "net/http/http_auth_scheme.cc",
12317 "net/http/http_basic_state.cc",
12318 "net/http/http_basic_stream.cc",
12319 "net/http/http_byte_range.cc",
12320 "net/http/http_cache.cc",
12321 "net/http/http_cache_lookup_manager.cc",
12322 "net/http/http_cache_transaction.cc",
12323 "net/http/http_cache_writers.cc",
12324 "net/http/http_chunked_decoder.cc",
12325 "net/http/http_content_disposition.cc",
12326 "net/http/http_log_util.cc",
12327 "net/http/http_network_layer.cc",
12328 "net/http/http_network_session.cc",
12329 "net/http/http_network_session_peer.cc",
12330 "net/http/http_network_transaction.cc",
12331 "net/http/http_proxy_client_socket.cc",
12332 "net/http/http_proxy_connect_job.cc",
12333 "net/http/http_raw_request_headers.cc",
12334 "net/http/http_request_headers.cc",
12335 "net/http/http_request_info.cc",
12336 "net/http/http_response_body_drainer.cc",
12337 "net/http/http_response_headers.cc",
12338 "net/http/http_response_info.cc",
12339 "net/http/http_security_headers.cc",
12340 "net/http/http_server_properties.cc",
12341 "net/http/http_server_properties_manager.cc",
12342 "net/http/http_status_code.cc",
12343 "net/http/http_stream_factory.cc",
12344 "net/http/http_stream_factory_job.cc",
12345 "net/http/http_stream_factory_job_controller.cc",
12346 "net/http/http_stream_parser.cc",
12347 "net/http/http_stream_request.cc",
12348 "net/http/http_util.cc",
12349 "net/http/http_vary_data.cc",
12350 "net/http/partial_data.cc",
12351 "net/http/proxy_client_socket.cc",
12352 "net/http/proxy_fallback.cc",
12353 "net/http/transport_security_persister.cc",
12354 "net/http/transport_security_state_source.cc",
12355 "net/http/url_security_manager.cc",
12356 "net/http/url_security_manager_posix.cc",
12357 "net/http/webfonts_histogram.cc",
12358 "net/log/file_net_log_observer.cc",
12359 "net/log/net_log.cc",
12360 "net/log/net_log_capture_mode.cc",
12361 "net/log/net_log_entry.cc",
12362 "net/log/net_log_event_type.cc",
12363 "net/log/net_log_source.cc",
12364 "net/log/net_log_util.cc",
12365 "net/log/net_log_values.cc",
12366 "net/log/net_log_with_source.cc",
12367 "net/log/trace_net_log_observer.cc",
12368 "net/network_error_logging/network_error_logging_service.cc",
12369 "net/nqe/cached_network_quality.cc",
12370 "net/nqe/effective_connection_type.cc",
12371 "net/nqe/event_creator.cc",
12372 "net/nqe/network_id.cc",
12373 "net/nqe/network_qualities_prefs_manager.cc",
12374 "net/nqe/network_quality.cc",
12375 "net/nqe/network_quality_estimator.cc",
12376 "net/nqe/network_quality_estimator_params.cc",
12377 "net/nqe/network_quality_estimator_util.cc",
12378 "net/nqe/network_quality_observation.cc",
12379 "net/nqe/network_quality_store.cc",
12380 "net/nqe/observation_buffer.cc",
12381 "net/nqe/pref_names.cc",
12382 "net/nqe/socket_watcher.cc",
12383 "net/nqe/socket_watcher_factory.cc",
12384 "net/nqe/throughput_analyzer.cc",
12385 "net/ntlm/ntlm.cc",
12386 "net/ntlm/ntlm_buffer_reader.cc",
12387 "net/ntlm/ntlm_buffer_writer.cc",
12388 "net/ntlm/ntlm_client.cc",
12389 "net/ntlm/ntlm_constants.cc",
12390 "net/proxy_resolution/configured_proxy_resolution_request.cc",
12391 "net/proxy_resolution/configured_proxy_resolution_service.cc",
12392 "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
12393 "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
12394 "net/proxy_resolution/network_delegate_error_observer.cc",
12395 "net/proxy_resolution/pac_file_data.cc",
12396 "net/proxy_resolution/pac_file_decider.cc",
12397 "net/proxy_resolution/pac_file_fetcher.cc",
12398 "net/proxy_resolution/pac_file_fetcher_impl.cc",
12399 "net/proxy_resolution/polling_proxy_config_service.cc",
12400 "net/proxy_resolution/proxy_bypass_rules.cc",
12401 "net/proxy_resolution/proxy_config.cc",
12402 "net/proxy_resolution/proxy_config_service.cc",
12403 "net/proxy_resolution/proxy_config_service_android.cc",
12404 "net/proxy_resolution/proxy_config_service_fixed.cc",
12405 "net/proxy_resolution/proxy_config_with_annotation.cc",
12406 "net/proxy_resolution/proxy_info.cc",
12407 "net/proxy_resolution/proxy_list.cc",
12408 "net/proxy_resolution/proxy_resolver_factory.cc",
12409 "net/quic/bidirectional_stream_quic_impl.cc",
12410 "net/quic/crypto/proof_source_chromium.cc",
12411 "net/quic/crypto/proof_verifier_chromium.cc",
12412 "net/quic/dedicated_web_transport_http3_client.cc",
12413 "net/quic/network_connection.cc",
12414 "net/quic/platform/impl/quic_chromium_clock.cc",
12415 "net/quic/properties_based_quic_server_info.cc",
12416 "net/quic/quic_address_mismatch.cc",
12417 "net/quic/quic_chromium_alarm_factory.cc",
12418 "net/quic/quic_chromium_client_session.cc",
12419 "net/quic/quic_chromium_client_stream.cc",
12420 "net/quic/quic_chromium_connection_helper.cc",
12421 "net/quic/quic_chromium_packet_reader.cc",
12422 "net/quic/quic_chromium_packet_writer.cc",
12423 "net/quic/quic_clock_skew_detector.cc",
12424 "net/quic/quic_connection_logger.cc",
12425 "net/quic/quic_connectivity_monitor.cc",
12426 "net/quic/quic_context.cc",
12427 "net/quic/quic_crypto_client_config_handle.cc",
12428 "net/quic/quic_crypto_client_stream_factory.cc",
12429 "net/quic/quic_event_logger.cc",
12430 "net/quic/quic_http3_logger.cc",
12431 "net/quic/quic_http_stream.cc",
12432 "net/quic/quic_http_utils.cc",
12433 "net/quic/quic_proxy_client_socket.cc",
12434 "net/quic/quic_server_info.cc",
12435 "net/quic/quic_session_key.cc",
12436 "net/quic/quic_stream_factory.cc",
12437 "net/quic/set_quic_flag.cc",
12438 "net/quic/web_transport_client.cc",
12439 "net/quic/web_transport_error.cc",
12440 "net/reporting/reporting_browsing_data_remover.cc",
12441 "net/reporting/reporting_cache.cc",
12442 "net/reporting/reporting_cache_impl.cc",
12443 "net/reporting/reporting_cache_observer.cc",
12444 "net/reporting/reporting_context.cc",
12445 "net/reporting/reporting_delegate.cc",
12446 "net/reporting/reporting_delivery_agent.cc",
12447 "net/reporting/reporting_endpoint.cc",
12448 "net/reporting/reporting_endpoint_manager.cc",
12449 "net/reporting/reporting_garbage_collector.cc",
12450 "net/reporting/reporting_header_parser.cc",
12451 "net/reporting/reporting_network_change_observer.cc",
12452 "net/reporting/reporting_policy.cc",
12453 "net/reporting/reporting_report.cc",
12454 "net/reporting/reporting_service.cc",
12455 "net/reporting/reporting_uploader.cc",
12456 "net/socket/client_socket_factory.cc",
12457 "net/socket/client_socket_handle.cc",
12458 "net/socket/client_socket_pool.cc",
12459 "net/socket/client_socket_pool_manager.cc",
12460 "net/socket/client_socket_pool_manager_impl.cc",
12461 "net/socket/connect_job.cc",
12462 "net/socket/connect_job_factory.cc",
12463 "net/socket/network_binding_client_socket_factory.cc",
12464 "net/socket/next_proto.cc",
12465 "net/socket/server_socket.cc",
12466 "net/socket/socket.cc",
12467 "net/socket/socket_bio_adapter.cc",
12468 "net/socket/socket_descriptor.cc",
12469 "net/socket/socket_net_log_params.cc",
12470 "net/socket/socket_options.cc",
12471 "net/socket/socket_posix.cc",
12472 "net/socket/socket_tag.cc",
12473 "net/socket/socks5_client_socket.cc",
12474 "net/socket/socks_client_socket.cc",
12475 "net/socket/socks_connect_job.cc",
12476 "net/socket/ssl_client_socket.cc",
12477 "net/socket/ssl_client_socket_impl.cc",
12478 "net/socket/ssl_connect_job.cc",
12479 "net/socket/ssl_server_socket_impl.cc",
12480 "net/socket/stream_socket.cc",
12481 "net/socket/tcp_client_socket.cc",
12482 "net/socket/tcp_server_socket.cc",
12483 "net/socket/tcp_socket_posix.cc",
12484 "net/socket/transport_client_socket.cc",
12485 "net/socket/transport_client_socket_pool.cc",
12486 "net/socket/transport_connect_job.cc",
12487 "net/socket/transport_connect_sub_job.cc",
12488 "net/socket/udp_client_socket.cc",
12489 "net/socket/udp_net_log_parameters.cc",
12490 "net/socket/udp_server_socket.cc",
12491 "net/socket/udp_socket_global_limits.cc",
12492 "net/socket/udp_socket_posix.cc",
12493 "net/socket/unix_domain_client_socket_posix.cc",
12494 "net/socket/unix_domain_server_socket_posix.cc",
12495 "net/socket/websocket_endpoint_lock_manager.cc",
12496 "net/socket/websocket_transport_client_socket_pool.cc",
12497 "net/spdy/alps_decoder.cc",
12498 "net/spdy/bidirectional_stream_spdy_impl.cc",
12499 "net/spdy/buffered_spdy_framer.cc",
12500 "net/spdy/header_coalescer.cc",
12501 "net/spdy/http2_priority_dependencies.cc",
12502 "net/spdy/http2_push_promise_index.cc",
12503 "net/spdy/multiplexed_http_stream.cc",
12504 "net/spdy/multiplexed_session.cc",
12505 "net/spdy/spdy_buffer.cc",
12506 "net/spdy/spdy_buffer_producer.cc",
12507 "net/spdy/spdy_http_stream.cc",
12508 "net/spdy/spdy_http_utils.cc",
12509 "net/spdy/spdy_log_util.cc",
12510 "net/spdy/spdy_proxy_client_socket.cc",
12511 "net/spdy/spdy_read_queue.cc",
12512 "net/spdy/spdy_session.cc",
12513 "net/spdy/spdy_session_key.cc",
12514 "net/spdy/spdy_session_pool.cc",
12515 "net/spdy/spdy_stream.cc",
12516 "net/spdy/spdy_write_queue.cc",
12517 "net/ssl/cert_compression.cc",
12518 "net/ssl/client_cert_identity.cc",
12519 "net/ssl/openssl_ssl_util.cc",
12520 "net/ssl/ssl_cert_request_info.cc",
12521 "net/ssl/ssl_cipher_suite_names.cc",
12522 "net/ssl/ssl_client_auth_cache.cc",
12523 "net/ssl/ssl_client_session_cache.cc",
12524 "net/ssl/ssl_config.cc",
12525 "net/ssl/ssl_config_service.cc",
12526 "net/ssl/ssl_config_service_defaults.cc",
12527 "net/ssl/ssl_info.cc",
12528 "net/ssl/ssl_key_logger.cc",
12529 "net/ssl/ssl_key_logger_impl.cc",
12530 "net/ssl/ssl_platform_key_android.cc",
12531 "net/ssl/ssl_platform_key_util.cc",
12532 "net/ssl/ssl_private_key.cc",
12533 "net/ssl/ssl_server_config.cc",
12534 "net/ssl/threaded_ssl_private_key.cc",
12535 "net/url_request/redirect_info.cc",
12536 "net/url_request/redirect_util.cc",
12537 "net/url_request/report_sender.cc",
12538 "net/url_request/static_http_user_agent_settings.cc",
12539 "net/url_request/url_request.cc",
12540 "net/url_request/url_request_context.cc",
12541 "net/url_request/url_request_context_builder.cc",
12542 "net/url_request/url_request_context_getter.cc",
12543 "net/url_request/url_request_error_job.cc",
12544 "net/url_request/url_request_filter.cc",
12545 "net/url_request/url_request_http_job.cc",
12546 "net/url_request/url_request_interceptor.cc",
12547 "net/url_request/url_request_job.cc",
12548 "net/url_request/url_request_job_factory.cc",
12549 "net/url_request/url_request_netlog_params.cc",
12550 "net/url_request/url_request_redirect_job.cc",
12551 "net/url_request/url_request_throttler_entry.cc",
12552 "net/url_request/url_request_throttler_manager.cc",
12553 "net/url_request/view_cache_helper.cc",
12554 "net/url_request/websocket_handshake_userdata_key.cc",
12555 ],
12556 shared_libs: [
12557 "libandroid",
12558 "liblog",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080012559 "libz",
Patrick Rohrcb035942022-11-01 12:12:52 -070012560 ],
12561 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012562 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070012563 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012564 "cronet_aml_base_base_static",
12565 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -070012566 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
12567 "cronet_aml_crypto_crypto",
Patrick Rohrcb035942022-11-01 12:12:52 -070012568 "cronet_aml_net_preload_decoder",
Patrick Rohrcb035942022-11-01 12:12:52 -070012569 "cronet_aml_net_third_party_quiche_quiche",
12570 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090012571 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012572 "cronet_aml_third_party_brotli_common",
Patrick Rohrcb035942022-11-01 12:12:52 -070012573 "cronet_aml_third_party_brotli_dec",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012574 "cronet_aml_third_party_icu_icui18n",
12575 "cronet_aml_third_party_icu_icuuc_private",
12576 "cronet_aml_third_party_libevent_libevent",
12577 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090012578 "cronet_aml_third_party_protobuf_protobuf_lite",
Patrick Rohrcb035942022-11-01 12:12:52 -070012579 "cronet_aml_url_url",
12580 ],
12581 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090012582 "cronet_aml_base_debugging_buildflags",
12583 "cronet_aml_base_logging_buildflags",
12584 "cronet_aml_build_branding_buildflags",
12585 "cronet_aml_build_chromeos_buildflags",
12586 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
12587 "cronet_aml_net_buildflags",
12588 "cronet_aml_net_ios_cronet_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -080012589 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090012590 "cronet_aml_net_net_jni_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -080012591 "cronet_aml_net_net_nqe_proto_gen_headers",
12592 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090012593 "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -070012594 ],
12595 export_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 ],
Patrick Rohrbb0956e2022-11-09 15:37:16 -080012609 export_static_lib_headers: [
Motomu Utsumi2f66bb32022-11-10 11:21:14 +090012610 "cronet_aml_crypto_crypto",
Patrick Rohrbb0956e2022-11-09 15:37:16 -080012611 "cronet_aml_net_third_party_quiche_quiche",
12612 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070012613 defaults: [
12614 "cronet_aml_defaults",
12615 ],
12616 cflags: [
12617 "-DANDROID",
12618 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090012619 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
12620 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090012621 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070012622 "-DENABLE_BUILT_IN_DNS",
12623 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
12624 "-DGOOGLE_PROTOBUF_NO_RTTI",
12625 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
12626 "-DHAVE_PTHREAD",
12627 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090012628 "-DNDEBUG",
Patrick Rohrcb035942022-11-01 12:12:52 -070012629 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090012630 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090012631 "-DNVALGRIND",
12632 "-DOFFICIAL_BUILD",
12633 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070012634 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070012635 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070012636 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
12637 "-D__STDC_CONSTANT_MACROS",
12638 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090012639 "-Oz",
12640 "-fdata-sections",
12641 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090012642 "-fno-asynchronous-unwind-tables",
12643 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090012644 "-fvisibility-inlines-hidden",
12645 "-fvisibility=hidden",
12646 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070012647 ],
12648 local_include_dirs: [
12649 "./",
12650 "buildtools/third_party/libc++/",
12651 "buildtools/third_party/libc++/trunk/include",
12652 "buildtools/third_party/libc++abi/trunk/include",
12653 "net/third_party/quiche/overrides/",
12654 "net/third_party/quiche/src/",
12655 "net/third_party/quiche/src/quiche/common/platform/default/",
12656 "third_party/abseil-cpp/",
12657 "third_party/boringssl/src/include/",
12658 "third_party/brotli/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090012659 "third_party/protobuf/src/",
Patrick Rohrcb035942022-11-01 12:12:52 -070012660 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090012661 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090012662 ldflags: [
12663 "-Wl,--as-needed",
12664 "-Wl,--gc-sections",
12665 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000012666 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000012667 "-Wl,-wrap,asprintf",
12668 "-Wl,-wrap,calloc",
12669 "-Wl,-wrap,free",
12670 "-Wl,-wrap,getcwd",
12671 "-Wl,-wrap,malloc",
12672 "-Wl,-wrap,malloc_usable_size",
12673 "-Wl,-wrap,memalign",
12674 "-Wl,-wrap,posix_memalign",
12675 "-Wl,-wrap,pvalloc",
12676 "-Wl,-wrap,realloc",
12677 "-Wl,-wrap,realpath",
12678 "-Wl,-wrap,strdup",
12679 "-Wl,-wrap,strndup",
12680 "-Wl,-wrap,valloc",
12681 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090012682 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090012683 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012684 android_arm: {
12685 srcs: [
12686 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
12687 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +090012688 cflags: [
12689 "-fstack-protector",
12690 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012691 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090012692 android_arm64: {
12693 srcs: [
12694 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
12695 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +090012696 cflags: [
12697 "-fstack-protector",
12698 "-mno-outline",
12699 "-mno-outline-atomics",
12700 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090012701 },
Motomu Utsumi65501182022-11-18 15:26:35 +090012702 android_x86: {
12703 srcs: [
12704 "net/disk_cache/blockfile/mapped_file_posix.cc",
12705 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012706 cflags: [
12707 "-msse3",
12708 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090012709 },
12710 android_x86_64: {
12711 srcs: [
12712 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
12713 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012714 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090012715 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012716 "-msse3",
12717 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090012718 },
12719 },
Patrick Rohrcb035942022-11-01 12:12:52 -070012720}
12721
Mohannad Farragedb2fd02023-02-10 14:53:41 +000012722// GN: //net:net__testing
12723cc_library_static {
12724 name: "cronet_aml_net_net__testing",
12725 srcs: [
12726 ":cronet_aml_net_dns_dns__testing",
12727 ":cronet_aml_net_dns_public_public__testing",
12728 ":cronet_aml_net_http_transport_security_state_generated_files__testing",
12729 ":cronet_aml_net_net_deps__testing",
12730 ":cronet_aml_net_net_public_deps__testing",
12731 ":cronet_aml_net_traffic_annotation_traffic_annotation__testing",
12732 "net/android/android_http_util.cc",
12733 "net/android/cert_verify_result_android.cc",
12734 "net/android/gurl_utils.cc",
12735 "net/android/http_auth_negotiate_android.cc",
12736 "net/android/keystore.cc",
12737 "net/android/network_change_notifier_android.cc",
12738 "net/android/network_change_notifier_delegate_android.cc",
12739 "net/android/network_change_notifier_factory_android.cc",
12740 "net/android/network_library.cc",
12741 "net/android/radio_activity_tracker.cc",
12742 "net/android/traffic_stats.cc",
12743 "net/base/address_family.cc",
12744 "net/base/address_list.cc",
12745 "net/base/address_tracker_linux.cc",
12746 "net/base/auth.cc",
12747 "net/base/backoff_entry.cc",
12748 "net/base/backoff_entry_serializer.cc",
12749 "net/base/cache_metrics.cc",
12750 "net/base/chunked_upload_data_stream.cc",
12751 "net/base/connection_endpoint_metadata.cc",
12752 "net/base/data_url.cc",
12753 "net/base/datagram_buffer.cc",
12754 "net/base/elements_upload_data_stream.cc",
12755 "net/base/features.cc",
12756 "net/base/file_stream.cc",
12757 "net/base/file_stream_context.cc",
12758 "net/base/file_stream_context_posix.cc",
12759 "net/base/filename_util.cc",
12760 "net/base/filename_util_internal.cc",
12761 "net/base/hash_value.cc",
12762 "net/base/hex_utils.cc",
12763 "net/base/host_mapping_rules.cc",
12764 "net/base/host_port_pair.cc",
12765 "net/base/io_buffer.cc",
12766 "net/base/ip_address.cc",
12767 "net/base/ip_endpoint.cc",
12768 "net/base/isolation_info.cc",
12769 "net/base/load_timing_info.cc",
12770 "net/base/logging_network_change_observer.cc",
12771 "net/base/lookup_string_in_fixed_set.cc",
12772 "net/base/mime_sniffer.cc",
12773 "net/base/mime_util.cc",
12774 "net/base/net_errors.cc",
12775 "net/base/net_errors_posix.cc",
12776 "net/base/net_module.cc",
12777 "net/base/net_string_util_icu_alternatives_android.cc",
12778 "net/base/network_activity_monitor.cc",
12779 "net/base/network_anonymization_key.cc",
12780 "net/base/network_change_notifier.cc",
12781 "net/base/network_change_notifier_posix.cc",
12782 "net/base/network_delegate.cc",
12783 "net/base/network_delegate_impl.cc",
12784 "net/base/network_interfaces.cc",
12785 "net/base/network_interfaces_getifaddrs.cc",
12786 "net/base/network_interfaces_getifaddrs_android.cc",
12787 "net/base/network_interfaces_linux.cc",
12788 "net/base/network_interfaces_posix.cc",
12789 "net/base/network_isolation_key.cc",
12790 "net/base/parse_number.cc",
12791 "net/base/platform_mime_util_linux.cc",
12792 "net/base/port_util.cc",
12793 "net/base/prioritized_dispatcher.cc",
12794 "net/base/prioritized_task_runner.cc",
12795 "net/base/privacy_mode.cc",
12796 "net/base/proxy_server.cc",
12797 "net/base/proxy_string_util.cc",
12798 "net/base/registry_controlled_domains/registry_controlled_domain.cc",
12799 "net/base/request_priority.cc",
12800 "net/base/scheme_host_port_matcher.cc",
12801 "net/base/scheme_host_port_matcher_rule.cc",
12802 "net/base/schemeful_site.cc",
12803 "net/base/sockaddr_storage.cc",
12804 "net/base/sockaddr_util_posix.cc",
12805 "net/base/transport_info.cc",
12806 "net/base/upload_bytes_element_reader.cc",
12807 "net/base/upload_data_stream.cc",
12808 "net/base/upload_element_reader.cc",
12809 "net/base/upload_file_element_reader.cc",
12810 "net/base/url_util.cc",
12811 "net/cert/asn1_util.cc",
12812 "net/cert/caching_cert_verifier.cc",
12813 "net/cert/cert_and_ct_verifier.cc",
12814 "net/cert/cert_database.cc",
12815 "net/cert/cert_status_flags.cc",
12816 "net/cert/cert_verifier.cc",
12817 "net/cert/cert_verify_proc.cc",
12818 "net/cert/cert_verify_proc_android.cc",
12819 "net/cert/cert_verify_proc_builtin.cc",
12820 "net/cert/cert_verify_result.cc",
12821 "net/cert/coalescing_cert_verifier.cc",
12822 "net/cert/crl_set.cc",
12823 "net/cert/ct_log_response_parser.cc",
12824 "net/cert/ct_log_verifier.cc",
12825 "net/cert/ct_log_verifier_util.cc",
12826 "net/cert/ct_objects_extractor.cc",
12827 "net/cert/ct_policy_enforcer.cc",
12828 "net/cert/ct_sct_to_string.cc",
12829 "net/cert/ct_serialization.cc",
12830 "net/cert/ct_signed_certificate_timestamp_log_param.cc",
12831 "net/cert/do_nothing_ct_verifier.cc",
12832 "net/cert/ev_root_ca_metadata.cc",
12833 "net/cert/internal/cert_issuer_source_aia.cc",
12834 "net/cert/internal/revocation_checker.cc",
12835 "net/cert/internal/system_trust_store.cc",
12836 "net/cert/known_roots.cc",
12837 "net/cert/merkle_audit_proof.cc",
12838 "net/cert/merkle_consistency_proof.cc",
12839 "net/cert/merkle_tree_leaf.cc",
12840 "net/cert/multi_log_ct_verifier.cc",
12841 "net/cert/multi_threaded_cert_verifier.cc",
12842 "net/cert/ocsp_verify_result.cc",
12843 "net/cert/pem.cc",
12844 "net/cert/pki/cert_error_id.cc",
12845 "net/cert/pki/cert_error_params.cc",
12846 "net/cert/pki/cert_errors.cc",
12847 "net/cert/pki/cert_issuer_source_static.cc",
12848 "net/cert/pki/certificate_policies.cc",
12849 "net/cert/pki/common_cert_errors.cc",
12850 "net/cert/pki/crl.cc",
12851 "net/cert/pki/extended_key_usage.cc",
12852 "net/cert/pki/general_names.cc",
12853 "net/cert/pki/name_constraints.cc",
12854 "net/cert/pki/ocsp.cc",
12855 "net/cert/pki/parse_certificate.cc",
12856 "net/cert/pki/parse_name.cc",
12857 "net/cert/pki/parsed_certificate.cc",
12858 "net/cert/pki/path_builder.cc",
12859 "net/cert/pki/revocation_util.cc",
12860 "net/cert/pki/signature_algorithm.cc",
12861 "net/cert/pki/simple_path_builder_delegate.cc",
12862 "net/cert/pki/string_util.cc",
12863 "net/cert/pki/trust_store.cc",
12864 "net/cert/pki/trust_store_collection.cc",
12865 "net/cert/pki/trust_store_in_memory.cc",
12866 "net/cert/pki/verify_certificate_chain.cc",
12867 "net/cert/pki/verify_name_match.cc",
12868 "net/cert/pki/verify_signed_data.cc",
12869 "net/cert/sct_status_flags.cc",
12870 "net/cert/signed_certificate_timestamp.cc",
12871 "net/cert/signed_certificate_timestamp_and_status.cc",
12872 "net/cert/signed_tree_head.cc",
12873 "net/cert/symantec_certs.cc",
12874 "net/cert/test_root_certs.cc",
12875 "net/cert/test_root_certs_android.cc",
12876 "net/cert/trial_comparison_cert_verifier_util.cc",
12877 "net/cert/x509_cert_types.cc",
12878 "net/cert/x509_certificate.cc",
12879 "net/cert/x509_certificate_net_log_param.cc",
12880 "net/cert/x509_util.cc",
12881 "net/cert/x509_util_android.cc",
12882 "net/cert_net/cert_net_fetcher_url_request.cc",
12883 "net/cookies/canonical_cookie.cc",
12884 "net/cookies/cookie_access_delegate.cc",
12885 "net/cookies/cookie_access_result.cc",
12886 "net/cookies/cookie_change_dispatcher.cc",
12887 "net/cookies/cookie_constants.cc",
12888 "net/cookies/cookie_deletion_info.cc",
12889 "net/cookies/cookie_inclusion_status.cc",
12890 "net/cookies/cookie_monster.cc",
12891 "net/cookies/cookie_monster_change_dispatcher.cc",
12892 "net/cookies/cookie_monster_netlog_params.cc",
12893 "net/cookies/cookie_options.cc",
12894 "net/cookies/cookie_partition_key.cc",
12895 "net/cookies/cookie_partition_key_collection.cc",
12896 "net/cookies/cookie_store.cc",
12897 "net/cookies/cookie_util.cc",
12898 "net/cookies/parsed_cookie.cc",
12899 "net/cookies/site_for_cookies.cc",
12900 "net/cookies/static_cookie_policy.cc",
12901 "net/der/encode_values.cc",
12902 "net/der/input.cc",
12903 "net/der/parse_values.cc",
12904 "net/der/parser.cc",
12905 "net/der/tag.cc",
12906 "net/disk_cache/backend_cleanup_tracker.cc",
12907 "net/disk_cache/blockfile/addr.cc",
12908 "net/disk_cache/blockfile/backend_impl.cc",
12909 "net/disk_cache/blockfile/bitmap.cc",
12910 "net/disk_cache/blockfile/block_files.cc",
12911 "net/disk_cache/blockfile/disk_format.cc",
12912 "net/disk_cache/blockfile/entry_impl.cc",
12913 "net/disk_cache/blockfile/eviction.cc",
12914 "net/disk_cache/blockfile/file.cc",
12915 "net/disk_cache/blockfile/file_lock.cc",
12916 "net/disk_cache/blockfile/file_posix.cc",
12917 "net/disk_cache/blockfile/in_flight_backend_io.cc",
12918 "net/disk_cache/blockfile/in_flight_io.cc",
12919 "net/disk_cache/blockfile/mapped_file.cc",
12920 "net/disk_cache/blockfile/rankings.cc",
12921 "net/disk_cache/blockfile/sparse_control.cc",
12922 "net/disk_cache/blockfile/stats.cc",
12923 "net/disk_cache/cache_util.cc",
12924 "net/disk_cache/cache_util_posix.cc",
12925 "net/disk_cache/disk_cache.cc",
12926 "net/disk_cache/memory/mem_backend_impl.cc",
12927 "net/disk_cache/memory/mem_entry_impl.cc",
12928 "net/disk_cache/net_log_parameters.cc",
12929 "net/disk_cache/simple/post_doom_waiter.cc",
12930 "net/disk_cache/simple/simple_backend_impl.cc",
12931 "net/disk_cache/simple/simple_entry_format.cc",
12932 "net/disk_cache/simple/simple_entry_impl.cc",
12933 "net/disk_cache/simple/simple_entry_operation.cc",
12934 "net/disk_cache/simple/simple_file_enumerator.cc",
12935 "net/disk_cache/simple/simple_file_tracker.cc",
12936 "net/disk_cache/simple/simple_index.cc",
12937 "net/disk_cache/simple/simple_index_file.cc",
12938 "net/disk_cache/simple/simple_net_log_parameters.cc",
12939 "net/disk_cache/simple/simple_synchronous_entry.cc",
12940 "net/disk_cache/simple/simple_util.cc",
12941 "net/disk_cache/simple/simple_util_posix.cc",
12942 "net/disk_cache/simple/simple_version_upgrade.cc",
12943 "net/filter/brotli_source_stream.cc",
12944 "net/filter/filter_source_stream.cc",
12945 "net/filter/gzip_header.cc",
12946 "net/filter/gzip_source_stream.cc",
12947 "net/filter/source_stream.cc",
12948 "net/first_party_sets/addition_overlaps_union_find.cc",
12949 "net/first_party_sets/first_party_set_entry.cc",
12950 "net/first_party_sets/first_party_set_metadata.cc",
12951 "net/first_party_sets/first_party_sets_cache_filter.cc",
12952 "net/first_party_sets/first_party_sets_context_config.cc",
12953 "net/first_party_sets/global_first_party_sets.cc",
12954 "net/first_party_sets/same_party_context.cc",
12955 "net/http/alternative_service.cc",
12956 "net/http/bidirectional_stream.cc",
12957 "net/http/bidirectional_stream_impl.cc",
12958 "net/http/bidirectional_stream_request_info.cc",
12959 "net/http/broken_alternative_services.cc",
12960 "net/http/http_auth.cc",
12961 "net/http/http_auth_cache.cc",
12962 "net/http/http_auth_challenge_tokenizer.cc",
12963 "net/http/http_auth_controller.cc",
12964 "net/http/http_auth_filter.cc",
12965 "net/http/http_auth_handler.cc",
12966 "net/http/http_auth_handler_basic.cc",
12967 "net/http/http_auth_handler_digest.cc",
12968 "net/http/http_auth_handler_factory.cc",
12969 "net/http/http_auth_handler_negotiate.cc",
12970 "net/http/http_auth_handler_ntlm.cc",
12971 "net/http/http_auth_handler_ntlm_portable.cc",
12972 "net/http/http_auth_multi_round_parse.cc",
12973 "net/http/http_auth_ntlm_mechanism.cc",
12974 "net/http/http_auth_preferences.cc",
12975 "net/http/http_auth_scheme.cc",
12976 "net/http/http_basic_state.cc",
12977 "net/http/http_basic_stream.cc",
12978 "net/http/http_byte_range.cc",
12979 "net/http/http_cache.cc",
12980 "net/http/http_cache_lookup_manager.cc",
12981 "net/http/http_cache_transaction.cc",
12982 "net/http/http_cache_writers.cc",
12983 "net/http/http_chunked_decoder.cc",
12984 "net/http/http_content_disposition.cc",
12985 "net/http/http_log_util.cc",
12986 "net/http/http_network_layer.cc",
12987 "net/http/http_network_session.cc",
12988 "net/http/http_network_session_peer.cc",
12989 "net/http/http_network_transaction.cc",
12990 "net/http/http_proxy_client_socket.cc",
12991 "net/http/http_proxy_connect_job.cc",
12992 "net/http/http_raw_request_headers.cc",
12993 "net/http/http_request_headers.cc",
12994 "net/http/http_request_info.cc",
12995 "net/http/http_response_body_drainer.cc",
12996 "net/http/http_response_headers.cc",
12997 "net/http/http_response_info.cc",
12998 "net/http/http_security_headers.cc",
12999 "net/http/http_server_properties.cc",
13000 "net/http/http_server_properties_manager.cc",
13001 "net/http/http_status_code.cc",
13002 "net/http/http_stream_factory.cc",
13003 "net/http/http_stream_factory_job.cc",
13004 "net/http/http_stream_factory_job_controller.cc",
13005 "net/http/http_stream_parser.cc",
13006 "net/http/http_stream_request.cc",
13007 "net/http/http_util.cc",
13008 "net/http/http_vary_data.cc",
13009 "net/http/partial_data.cc",
13010 "net/http/proxy_client_socket.cc",
13011 "net/http/proxy_fallback.cc",
13012 "net/http/transport_security_persister.cc",
13013 "net/http/transport_security_state_source.cc",
13014 "net/http/url_security_manager.cc",
13015 "net/http/url_security_manager_posix.cc",
13016 "net/http/webfonts_histogram.cc",
13017 "net/log/file_net_log_observer.cc",
13018 "net/log/net_log.cc",
13019 "net/log/net_log_capture_mode.cc",
13020 "net/log/net_log_entry.cc",
13021 "net/log/net_log_event_type.cc",
13022 "net/log/net_log_source.cc",
13023 "net/log/net_log_util.cc",
13024 "net/log/net_log_values.cc",
13025 "net/log/net_log_with_source.cc",
13026 "net/log/trace_net_log_observer.cc",
13027 "net/network_error_logging/network_error_logging_service.cc",
13028 "net/nqe/cached_network_quality.cc",
13029 "net/nqe/effective_connection_type.cc",
13030 "net/nqe/event_creator.cc",
13031 "net/nqe/network_id.cc",
13032 "net/nqe/network_qualities_prefs_manager.cc",
13033 "net/nqe/network_quality.cc",
13034 "net/nqe/network_quality_estimator.cc",
13035 "net/nqe/network_quality_estimator_params.cc",
13036 "net/nqe/network_quality_estimator_util.cc",
13037 "net/nqe/network_quality_observation.cc",
13038 "net/nqe/network_quality_store.cc",
13039 "net/nqe/observation_buffer.cc",
13040 "net/nqe/pref_names.cc",
13041 "net/nqe/socket_watcher.cc",
13042 "net/nqe/socket_watcher_factory.cc",
13043 "net/nqe/throughput_analyzer.cc",
13044 "net/ntlm/ntlm.cc",
13045 "net/ntlm/ntlm_buffer_reader.cc",
13046 "net/ntlm/ntlm_buffer_writer.cc",
13047 "net/ntlm/ntlm_client.cc",
13048 "net/ntlm/ntlm_constants.cc",
13049 "net/proxy_resolution/configured_proxy_resolution_request.cc",
13050 "net/proxy_resolution/configured_proxy_resolution_service.cc",
13051 "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
13052 "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
13053 "net/proxy_resolution/network_delegate_error_observer.cc",
13054 "net/proxy_resolution/pac_file_data.cc",
13055 "net/proxy_resolution/pac_file_decider.cc",
13056 "net/proxy_resolution/pac_file_fetcher.cc",
13057 "net/proxy_resolution/pac_file_fetcher_impl.cc",
13058 "net/proxy_resolution/polling_proxy_config_service.cc",
13059 "net/proxy_resolution/proxy_bypass_rules.cc",
13060 "net/proxy_resolution/proxy_config.cc",
13061 "net/proxy_resolution/proxy_config_service.cc",
13062 "net/proxy_resolution/proxy_config_service_android.cc",
13063 "net/proxy_resolution/proxy_config_service_fixed.cc",
13064 "net/proxy_resolution/proxy_config_with_annotation.cc",
13065 "net/proxy_resolution/proxy_info.cc",
13066 "net/proxy_resolution/proxy_list.cc",
13067 "net/proxy_resolution/proxy_resolver_factory.cc",
13068 "net/quic/bidirectional_stream_quic_impl.cc",
13069 "net/quic/crypto/proof_source_chromium.cc",
13070 "net/quic/crypto/proof_verifier_chromium.cc",
13071 "net/quic/dedicated_web_transport_http3_client.cc",
13072 "net/quic/network_connection.cc",
13073 "net/quic/platform/impl/quic_chromium_clock.cc",
13074 "net/quic/properties_based_quic_server_info.cc",
13075 "net/quic/quic_address_mismatch.cc",
13076 "net/quic/quic_chromium_alarm_factory.cc",
13077 "net/quic/quic_chromium_client_session.cc",
13078 "net/quic/quic_chromium_client_stream.cc",
13079 "net/quic/quic_chromium_connection_helper.cc",
13080 "net/quic/quic_chromium_packet_reader.cc",
13081 "net/quic/quic_chromium_packet_writer.cc",
13082 "net/quic/quic_clock_skew_detector.cc",
13083 "net/quic/quic_connection_logger.cc",
13084 "net/quic/quic_connectivity_monitor.cc",
13085 "net/quic/quic_context.cc",
13086 "net/quic/quic_crypto_client_config_handle.cc",
13087 "net/quic/quic_crypto_client_stream_factory.cc",
13088 "net/quic/quic_event_logger.cc",
13089 "net/quic/quic_http3_logger.cc",
13090 "net/quic/quic_http_stream.cc",
13091 "net/quic/quic_http_utils.cc",
13092 "net/quic/quic_proxy_client_socket.cc",
13093 "net/quic/quic_server_info.cc",
13094 "net/quic/quic_session_key.cc",
13095 "net/quic/quic_stream_factory.cc",
13096 "net/quic/set_quic_flag.cc",
13097 "net/quic/web_transport_client.cc",
13098 "net/quic/web_transport_error.cc",
13099 "net/reporting/reporting_browsing_data_remover.cc",
13100 "net/reporting/reporting_cache.cc",
13101 "net/reporting/reporting_cache_impl.cc",
13102 "net/reporting/reporting_cache_observer.cc",
13103 "net/reporting/reporting_context.cc",
13104 "net/reporting/reporting_delegate.cc",
13105 "net/reporting/reporting_delivery_agent.cc",
13106 "net/reporting/reporting_endpoint.cc",
13107 "net/reporting/reporting_endpoint_manager.cc",
13108 "net/reporting/reporting_garbage_collector.cc",
13109 "net/reporting/reporting_header_parser.cc",
13110 "net/reporting/reporting_network_change_observer.cc",
13111 "net/reporting/reporting_policy.cc",
13112 "net/reporting/reporting_report.cc",
13113 "net/reporting/reporting_service.cc",
13114 "net/reporting/reporting_uploader.cc",
13115 "net/socket/client_socket_factory.cc",
13116 "net/socket/client_socket_handle.cc",
13117 "net/socket/client_socket_pool.cc",
13118 "net/socket/client_socket_pool_manager.cc",
13119 "net/socket/client_socket_pool_manager_impl.cc",
13120 "net/socket/connect_job.cc",
13121 "net/socket/connect_job_factory.cc",
13122 "net/socket/network_binding_client_socket_factory.cc",
13123 "net/socket/next_proto.cc",
13124 "net/socket/server_socket.cc",
13125 "net/socket/socket.cc",
13126 "net/socket/socket_bio_adapter.cc",
13127 "net/socket/socket_descriptor.cc",
13128 "net/socket/socket_net_log_params.cc",
13129 "net/socket/socket_options.cc",
13130 "net/socket/socket_posix.cc",
13131 "net/socket/socket_tag.cc",
13132 "net/socket/socks5_client_socket.cc",
13133 "net/socket/socks_client_socket.cc",
13134 "net/socket/socks_connect_job.cc",
13135 "net/socket/ssl_client_socket.cc",
13136 "net/socket/ssl_client_socket_impl.cc",
13137 "net/socket/ssl_connect_job.cc",
13138 "net/socket/ssl_server_socket_impl.cc",
13139 "net/socket/stream_socket.cc",
13140 "net/socket/tcp_client_socket.cc",
13141 "net/socket/tcp_server_socket.cc",
13142 "net/socket/tcp_socket_posix.cc",
13143 "net/socket/transport_client_socket.cc",
13144 "net/socket/transport_client_socket_pool.cc",
13145 "net/socket/transport_connect_job.cc",
13146 "net/socket/transport_connect_sub_job.cc",
13147 "net/socket/udp_client_socket.cc",
13148 "net/socket/udp_net_log_parameters.cc",
13149 "net/socket/udp_server_socket.cc",
13150 "net/socket/udp_socket_global_limits.cc",
13151 "net/socket/udp_socket_posix.cc",
13152 "net/socket/unix_domain_client_socket_posix.cc",
13153 "net/socket/unix_domain_server_socket_posix.cc",
13154 "net/socket/websocket_endpoint_lock_manager.cc",
13155 "net/socket/websocket_transport_client_socket_pool.cc",
13156 "net/spdy/alps_decoder.cc",
13157 "net/spdy/bidirectional_stream_spdy_impl.cc",
13158 "net/spdy/buffered_spdy_framer.cc",
13159 "net/spdy/header_coalescer.cc",
13160 "net/spdy/http2_priority_dependencies.cc",
13161 "net/spdy/http2_push_promise_index.cc",
13162 "net/spdy/multiplexed_http_stream.cc",
13163 "net/spdy/multiplexed_session.cc",
13164 "net/spdy/spdy_buffer.cc",
13165 "net/spdy/spdy_buffer_producer.cc",
13166 "net/spdy/spdy_http_stream.cc",
13167 "net/spdy/spdy_http_utils.cc",
13168 "net/spdy/spdy_log_util.cc",
13169 "net/spdy/spdy_proxy_client_socket.cc",
13170 "net/spdy/spdy_read_queue.cc",
13171 "net/spdy/spdy_session.cc",
13172 "net/spdy/spdy_session_key.cc",
13173 "net/spdy/spdy_session_pool.cc",
13174 "net/spdy/spdy_stream.cc",
13175 "net/spdy/spdy_write_queue.cc",
13176 "net/ssl/cert_compression.cc",
13177 "net/ssl/client_cert_identity.cc",
13178 "net/ssl/openssl_ssl_util.cc",
13179 "net/ssl/ssl_cert_request_info.cc",
13180 "net/ssl/ssl_cipher_suite_names.cc",
13181 "net/ssl/ssl_client_auth_cache.cc",
13182 "net/ssl/ssl_client_session_cache.cc",
13183 "net/ssl/ssl_config.cc",
13184 "net/ssl/ssl_config_service.cc",
13185 "net/ssl/ssl_config_service_defaults.cc",
13186 "net/ssl/ssl_info.cc",
13187 "net/ssl/ssl_key_logger.cc",
13188 "net/ssl/ssl_key_logger_impl.cc",
13189 "net/ssl/ssl_platform_key_android.cc",
13190 "net/ssl/ssl_platform_key_util.cc",
13191 "net/ssl/ssl_private_key.cc",
13192 "net/ssl/ssl_server_config.cc",
13193 "net/ssl/threaded_ssl_private_key.cc",
13194 "net/url_request/redirect_info.cc",
13195 "net/url_request/redirect_util.cc",
13196 "net/url_request/report_sender.cc",
13197 "net/url_request/static_http_user_agent_settings.cc",
13198 "net/url_request/url_request.cc",
13199 "net/url_request/url_request_context.cc",
13200 "net/url_request/url_request_context_builder.cc",
13201 "net/url_request/url_request_context_getter.cc",
13202 "net/url_request/url_request_error_job.cc",
13203 "net/url_request/url_request_filter.cc",
13204 "net/url_request/url_request_http_job.cc",
13205 "net/url_request/url_request_interceptor.cc",
13206 "net/url_request/url_request_job.cc",
13207 "net/url_request/url_request_job_factory.cc",
13208 "net/url_request/url_request_netlog_params.cc",
13209 "net/url_request/url_request_redirect_job.cc",
13210 "net/url_request/url_request_throttler_entry.cc",
13211 "net/url_request/url_request_throttler_manager.cc",
13212 "net/url_request/view_cache_helper.cc",
13213 "net/url_request/websocket_handshake_userdata_key.cc",
13214 ],
13215 shared_libs: [
13216 "libandroid",
13217 "liblog",
13218 "libz",
13219 ],
13220 static_libs: [
13221 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
13222 "cronet_aml_base_base__testing",
13223 "cronet_aml_base_base_static__testing",
13224 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
13225 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
13226 "cronet_aml_crypto_crypto__testing",
13227 "cronet_aml_net_preload_decoder__testing",
13228 "cronet_aml_net_third_party_quiche_quiche__testing",
13229 "cronet_aml_net_uri_template__testing",
13230 "cronet_aml_third_party_boringssl_boringssl__testing",
13231 "cronet_aml_third_party_brotli_common__testing",
13232 "cronet_aml_third_party_brotli_dec__testing",
13233 "cronet_aml_third_party_icu_icui18n__testing",
13234 "cronet_aml_third_party_icu_icuuc_private__testing",
13235 "cronet_aml_third_party_libevent_libevent__testing",
13236 "cronet_aml_third_party_modp_b64_modp_b64__testing",
13237 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
13238 "cronet_aml_url_url__testing",
13239 ],
13240 generated_headers: [
13241 "cronet_aml_base_debugging_buildflags__testing",
13242 "cronet_aml_base_logging_buildflags__testing",
13243 "cronet_aml_build_branding_buildflags__testing",
13244 "cronet_aml_build_chromeos_buildflags__testing",
13245 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
13246 "cronet_aml_net_buildflags__testing",
13247 "cronet_aml_net_ios_cronet_buildflags__testing",
13248 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
13249 "cronet_aml_net_net_jni_headers__testing",
13250 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
13251 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
13252 "cronet_aml_url_buildflags__testing",
13253 ],
13254 export_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 defaults: [
13269 "cronet_aml_defaults",
13270 ],
13271 cflags: [
13272 "-DANDROID",
13273 "-DANDROID_NDK_VERSION_ROLL=r23_1",
13274 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
13275 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
13276 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
13277 "-DENABLE_BUILT_IN_DNS",
13278 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13279 "-DGOOGLE_PROTOBUF_NO_RTTI",
13280 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13281 "-DHAVE_PTHREAD",
13282 "-DHAVE_SYS_UIO_H",
13283 "-DNDEBUG",
13284 "-DNET_IMPLEMENTATION",
13285 "-DNO_UNWIND_TABLES",
13286 "-DNVALGRIND",
13287 "-DOFFICIAL_BUILD",
13288 "-D_FORTIFY_SOURCE=2",
13289 "-D_GNU_SOURCE",
13290 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13291 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13292 "-D__STDC_CONSTANT_MACROS",
13293 "-D__STDC_FORMAT_MACROS",
13294 "-Oz",
13295 "-fdata-sections",
13296 "-ffunction-sections",
13297 "-fno-asynchronous-unwind-tables",
13298 "-fno-unwind-tables",
13299 "-fvisibility-inlines-hidden",
13300 "-fvisibility=hidden",
13301 "-g1",
13302 ],
13303 local_include_dirs: [
13304 "./",
13305 "buildtools/third_party/libc++/",
13306 "buildtools/third_party/libc++/trunk/include",
13307 "buildtools/third_party/libc++abi/trunk/include",
13308 "net/third_party/quiche/overrides/",
13309 "net/third_party/quiche/src/",
13310 "net/third_party/quiche/src/quiche/common/platform/default/",
13311 "third_party/abseil-cpp/",
13312 "third_party/boringssl/src/include/",
13313 "third_party/brotli/include/",
13314 "third_party/protobuf/src/",
13315 ],
13316 cpp_std: "c++17",
13317 ldflags: [
13318 "-Wl,--as-needed",
13319 "-Wl,--gc-sections",
13320 "-Wl,--icf=all",
13321 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
13322 "-Wl,-wrap,asprintf",
13323 "-Wl,-wrap,calloc",
13324 "-Wl,-wrap,free",
13325 "-Wl,-wrap,getcwd",
13326 "-Wl,-wrap,malloc",
13327 "-Wl,-wrap,malloc_usable_size",
13328 "-Wl,-wrap,memalign",
13329 "-Wl,-wrap,posix_memalign",
13330 "-Wl,-wrap,pvalloc",
13331 "-Wl,-wrap,realloc",
13332 "-Wl,-wrap,realpath",
13333 "-Wl,-wrap,strdup",
13334 "-Wl,-wrap,strndup",
13335 "-Wl,-wrap,valloc",
13336 "-Wl,-wrap,vasprintf",
13337 ],
13338 target: {
13339 android_arm: {
13340 srcs: [
13341 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
13342 ],
13343 cflags: [
13344 "-fstack-protector",
13345 ],
13346 },
13347 android_arm64: {
13348 srcs: [
13349 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
13350 ],
13351 cflags: [
13352 "-fstack-protector",
13353 "-mno-outline",
13354 "-mno-outline-atomics",
13355 ],
13356 },
13357 android_x86: {
13358 srcs: [
13359 "net/disk_cache/blockfile/mapped_file_posix.cc",
13360 ],
13361 cflags: [
13362 "-msse3",
13363 ],
13364 },
13365 android_x86_64: {
13366 srcs: [
13367 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
13368 ],
13369 cflags: [
13370 "-fstack-protector",
13371 "-msse3",
13372 ],
13373 },
13374 },
13375}
13376
Patrick Rohrcb035942022-11-01 12:12:52 -070013377// GN: //net:net_deps
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013378cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070013379 name: "cronet_aml_net_net_deps",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013380 srcs: [
13381 ":cronet_aml_net_isolation_info_proto_gen",
13382 ],
13383 shared_libs: [
13384 "libandroid",
13385 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013386 "libprotobuf-cpp-lite",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080013387 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013388 ],
13389 static_libs: [
13390 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
13391 "cronet_aml_base_base",
13392 "cronet_aml_base_base_static",
13393 "cronet_aml_base_third_party_double_conversion_double_conversion",
13394 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
13395 "cronet_aml_net_preload_decoder",
13396 "cronet_aml_third_party_boringssl_boringssl",
13397 "cronet_aml_third_party_brotli_common",
13398 "cronet_aml_third_party_brotli_dec",
13399 "cronet_aml_third_party_icu_icui18n",
13400 "cronet_aml_third_party_icu_icuuc_private",
13401 "cronet_aml_third_party_libevent_libevent",
13402 "cronet_aml_third_party_modp_b64_modp_b64",
13403 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013404 ],
13405 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090013406 "cronet_aml_base_debugging_buildflags",
13407 "cronet_aml_base_logging_buildflags",
13408 "cronet_aml_build_chromeos_buildflags",
13409 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013410 "cronet_aml_net_isolation_info_proto_gen_headers",
Motomu Utsumie74bab82022-12-16 18:00:12 +090013411 "cronet_aml_net_net_jni_headers",
13412 "cronet_aml_url_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013413 ],
13414 defaults: [
13415 "cronet_aml_defaults",
13416 ],
13417 cflags: [
13418 "-DANDROID",
13419 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090013420 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
13421 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013422 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013423 "-DENABLE_BUILT_IN_DNS",
13424 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13425 "-DGOOGLE_PROTOBUF_NO_RTTI",
13426 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13427 "-DHAVE_PTHREAD",
13428 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013429 "-DNDEBUG",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013430 "-DNET_IMPLEMENTATION",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090013431 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013432 "-DNVALGRIND",
13433 "-DOFFICIAL_BUILD",
13434 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013435 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013436 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013437 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13438 "-D__STDC_CONSTANT_MACROS",
13439 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090013440 "-Oz",
13441 "-fdata-sections",
13442 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090013443 "-fno-asynchronous-unwind-tables",
13444 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090013445 "-fvisibility-inlines-hidden",
13446 "-fvisibility=hidden",
13447 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013448 ],
13449 local_include_dirs: [
13450 "./",
13451 "buildtools/third_party/libc++/",
13452 "buildtools/third_party/libc++/trunk/include",
13453 "buildtools/third_party/libc++abi/trunk/include",
13454 "third_party/abseil-cpp/",
13455 "third_party/boringssl/src/include/",
13456 "third_party/brotli/include/",
13457 "third_party/protobuf/src/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013458 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090013459 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090013460 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090013461 android_arm: {
13462 cflags: [
13463 "-fstack-protector",
13464 ],
13465 },
13466 android_arm64: {
13467 cflags: [
13468 "-fstack-protector",
13469 "-mno-outline",
13470 "-mno-outline-atomics",
13471 ],
13472 },
Motomu Utsumi55394632022-11-18 17:44:28 +090013473 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013474 cflags: [
13475 "-msse3",
13476 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090013477 },
13478 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013479 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090013480 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013481 "-msse3",
13482 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090013483 },
13484 },
Patrick Rohrcb035942022-11-01 12:12:52 -070013485}
13486
Mohannad Farragedb2fd02023-02-10 14:53:41 +000013487// GN: //net:net_deps__testing
13488cc_object {
13489 name: "cronet_aml_net_net_deps__testing",
13490 srcs: [
13491 ":cronet_aml_net_isolation_info_proto__testing_gen",
13492 ],
13493 shared_libs: [
13494 "libandroid",
13495 "liblog",
13496 "libprotobuf-cpp-lite",
13497 "libz",
13498 ],
13499 static_libs: [
13500 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
13501 "cronet_aml_base_base__testing",
13502 "cronet_aml_base_base_static__testing",
13503 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
13504 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
13505 "cronet_aml_net_preload_decoder__testing",
13506 "cronet_aml_third_party_boringssl_boringssl__testing",
13507 "cronet_aml_third_party_brotli_common__testing",
13508 "cronet_aml_third_party_brotli_dec__testing",
13509 "cronet_aml_third_party_icu_icui18n__testing",
13510 "cronet_aml_third_party_icu_icuuc_private__testing",
13511 "cronet_aml_third_party_libevent_libevent__testing",
13512 "cronet_aml_third_party_modp_b64_modp_b64__testing",
13513 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
13514 ],
13515 generated_headers: [
13516 "cronet_aml_base_debugging_buildflags__testing",
13517 "cronet_aml_base_logging_buildflags__testing",
13518 "cronet_aml_build_chromeos_buildflags__testing",
13519 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__testing",
13520 "cronet_aml_net_isolation_info_proto__testing_gen_headers",
13521 "cronet_aml_net_net_jni_headers__testing",
13522 "cronet_aml_url_buildflags__testing",
13523 ],
13524 defaults: [
13525 "cronet_aml_defaults",
13526 ],
13527 cflags: [
13528 "-DANDROID",
13529 "-DANDROID_NDK_VERSION_ROLL=r23_1",
13530 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
13531 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
13532 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
13533 "-DENABLE_BUILT_IN_DNS",
13534 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13535 "-DGOOGLE_PROTOBUF_NO_RTTI",
13536 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13537 "-DHAVE_PTHREAD",
13538 "-DHAVE_SYS_UIO_H",
13539 "-DNDEBUG",
13540 "-DNET_IMPLEMENTATION",
13541 "-DNO_UNWIND_TABLES",
13542 "-DNVALGRIND",
13543 "-DOFFICIAL_BUILD",
13544 "-D_FORTIFY_SOURCE=2",
13545 "-D_GNU_SOURCE",
13546 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13547 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13548 "-D__STDC_CONSTANT_MACROS",
13549 "-D__STDC_FORMAT_MACROS",
13550 "-Oz",
13551 "-fdata-sections",
13552 "-ffunction-sections",
13553 "-fno-asynchronous-unwind-tables",
13554 "-fno-unwind-tables",
13555 "-fvisibility-inlines-hidden",
13556 "-fvisibility=hidden",
13557 "-g1",
13558 ],
13559 local_include_dirs: [
13560 "./",
13561 "buildtools/third_party/libc++/",
13562 "buildtools/third_party/libc++/trunk/include",
13563 "buildtools/third_party/libc++abi/trunk/include",
13564 "third_party/abseil-cpp/",
13565 "third_party/boringssl/src/include/",
13566 "third_party/brotli/include/",
13567 "third_party/protobuf/src/",
13568 ],
13569 cpp_std: "c++17",
13570 target: {
13571 android_arm: {
13572 cflags: [
13573 "-fstack-protector",
13574 ],
13575 },
13576 android_arm64: {
13577 cflags: [
13578 "-fstack-protector",
13579 "-mno-outline",
13580 "-mno-outline-atomics",
13581 ],
13582 },
13583 android_x86: {
13584 cflags: [
13585 "-msse3",
13586 ],
13587 },
13588 android_x86_64: {
13589 cflags: [
13590 "-fstack-protector",
13591 "-msse3",
13592 ],
13593 },
13594 },
13595}
13596
Motomu Utsumie74bab82022-12-16 18:00:12 +090013597// GN: //net:net_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013598cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090013599 name: "cronet_aml_net_net_jni_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070013600 srcs: [
13601 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
13602 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
13603 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
13604 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
13605 "net/android/java/src/org/chromium/net/DnsStatus.java",
13606 "net/android/java/src/org/chromium/net/GURLUtils.java",
13607 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
13608 "net/android/java/src/org/chromium/net/HttpUtil.java",
13609 "net/android/java/src/org/chromium/net/NetStringUtil.java",
13610 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
13611 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
13612 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
13613 "net/android/java/src/org/chromium/net/X509Util.java",
13614 ],
13615 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
13616 "long " +
Patrick Rohrcb035942022-11-01 12:12:52 -070013617 "--output_dir " +
13618 "$(genDir)/net/net_jni_headers " +
13619 "--includes " +
13620 "base/android/jni_generator/jni_generator_helper.h " +
13621 "--use_proxy_hash " +
13622 "--output_name " +
13623 "AndroidCertVerifyResult_jni.h " +
13624 "--output_name " +
13625 "AndroidKeyStore_jni.h " +
13626 "--output_name " +
13627 "AndroidNetworkLibrary_jni.h " +
13628 "--output_name " +
13629 "AndroidTrafficStats_jni.h " +
13630 "--output_name " +
13631 "DnsStatus_jni.h " +
13632 "--output_name " +
13633 "GURLUtils_jni.h " +
13634 "--output_name " +
13635 "HttpNegotiateAuthenticator_jni.h " +
13636 "--output_name " +
13637 "HttpUtil_jni.h " +
13638 "--output_name " +
13639 "NetStringUtil_jni.h " +
13640 "--output_name " +
13641 "NetworkActiveNotifier_jni.h " +
13642 "--output_name " +
13643 "NetworkChangeNotifier_jni.h " +
13644 "--output_name " +
13645 "ProxyChangeListener_jni.h " +
13646 "--output_name " +
13647 "X509Util_jni.h " +
13648 "--input_file " +
13649 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
13650 "--input_file " +
13651 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
13652 "--input_file " +
13653 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
13654 "--input_file " +
13655 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
13656 "--input_file " +
13657 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
13658 "--input_file " +
13659 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
13660 "--input_file " +
13661 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
13662 "--input_file " +
13663 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
13664 "--input_file " +
13665 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
13666 "--input_file " +
13667 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
13668 "--input_file " +
13669 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
13670 "--input_file " +
13671 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
13672 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +000013673 "$(location net/android/java/src/org/chromium/net/X509Util.java) " +
13674 "--package_prefix " +
13675 "android.net.http.internal",
Patrick Rohrcb035942022-11-01 12:12:52 -070013676 out: [
13677 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
13678 "net/net_jni_headers/AndroidKeyStore_jni.h",
13679 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
13680 "net/net_jni_headers/AndroidTrafficStats_jni.h",
13681 "net/net_jni_headers/DnsStatus_jni.h",
13682 "net/net_jni_headers/GURLUtils_jni.h",
13683 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
13684 "net/net_jni_headers/HttpUtil_jni.h",
13685 "net/net_jni_headers/NetStringUtil_jni.h",
13686 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
13687 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
13688 "net/net_jni_headers/ProxyChangeListener_jni.h",
13689 "net/net_jni_headers/X509Util_jni.h",
13690 ],
13691 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +000013692 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -070013693 "base/android/jni_generator/jni_generator.py",
13694 "build/android/gyp/util/__init__.py",
13695 "build/android/gyp/util/build_utils.py",
13696 "build/gn_helpers.py",
13697 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090013698 apex_available: [
13699 "com.android.tethering",
13700 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070013701}
13702
Mohannad Farragedb2fd02023-02-10 14:53:41 +000013703// GN: //net:net_jni_headers__testing
13704cc_genrule {
13705 name: "cronet_aml_net_net_jni_headers__testing",
13706 srcs: [
13707 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
13708 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
13709 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
13710 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
13711 "net/android/java/src/org/chromium/net/DnsStatus.java",
13712 "net/android/java/src/org/chromium/net/GURLUtils.java",
13713 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
13714 "net/android/java/src/org/chromium/net/HttpUtil.java",
13715 "net/android/java/src/org/chromium/net/NetStringUtil.java",
13716 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
13717 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
13718 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
13719 "net/android/java/src/org/chromium/net/X509Util.java",
13720 ],
13721 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
13722 "long " +
13723 "--output_dir " +
13724 "$(genDir)/net/net_jni_headers " +
13725 "--includes " +
13726 "base/android/jni_generator/jni_generator_helper.h " +
13727 "--use_proxy_hash " +
13728 "--output_name " +
13729 "AndroidCertVerifyResult_jni.h " +
13730 "--output_name " +
13731 "AndroidKeyStore_jni.h " +
13732 "--output_name " +
13733 "AndroidNetworkLibrary_jni.h " +
13734 "--output_name " +
13735 "AndroidTrafficStats_jni.h " +
13736 "--output_name " +
13737 "DnsStatus_jni.h " +
13738 "--output_name " +
13739 "GURLUtils_jni.h " +
13740 "--output_name " +
13741 "HttpNegotiateAuthenticator_jni.h " +
13742 "--output_name " +
13743 "HttpUtil_jni.h " +
13744 "--output_name " +
13745 "NetStringUtil_jni.h " +
13746 "--output_name " +
13747 "NetworkActiveNotifier_jni.h " +
13748 "--output_name " +
13749 "NetworkChangeNotifier_jni.h " +
13750 "--output_name " +
13751 "ProxyChangeListener_jni.h " +
13752 "--output_name " +
13753 "X509Util_jni.h " +
13754 "--input_file " +
13755 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
13756 "--input_file " +
13757 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
13758 "--input_file " +
13759 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
13760 "--input_file " +
13761 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
13762 "--input_file " +
13763 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
13764 "--input_file " +
13765 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
13766 "--input_file " +
13767 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
13768 "--input_file " +
13769 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
13770 "--input_file " +
13771 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
13772 "--input_file " +
13773 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
13774 "--input_file " +
13775 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
13776 "--input_file " +
13777 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
13778 "--input_file " +
Mohannad Farragf27cd352023-02-10 17:41:19 +000013779 "$(location net/android/java/src/org/chromium/net/X509Util.java)",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000013780 out: [
13781 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
13782 "net/net_jni_headers/AndroidKeyStore_jni.h",
13783 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
13784 "net/net_jni_headers/AndroidTrafficStats_jni.h",
13785 "net/net_jni_headers/DnsStatus_jni.h",
13786 "net/net_jni_headers/GURLUtils_jni.h",
13787 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
13788 "net/net_jni_headers/HttpUtil_jni.h",
13789 "net/net_jni_headers/NetStringUtil_jni.h",
13790 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
13791 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
13792 "net/net_jni_headers/ProxyChangeListener_jni.h",
13793 "net/net_jni_headers/X509Util_jni.h",
13794 ],
13795 tool_files: [
13796 "base/android/jni_generator/android_jar.classes",
13797 "base/android/jni_generator/jni_generator.py",
13798 "build/android/gyp/util/__init__.py",
13799 "build/android/gyp/util/build_utils.py",
13800 "build/gn_helpers.py",
13801 ],
13802 apex_available: [
13803 "com.android.tethering",
13804 ],
13805}
13806
13807// GN: //net:net_nqe_proto__testing
13808cc_genrule {
13809 name: "cronet_aml_net_net_nqe_proto__testing_gen",
13810 srcs: [
13811 "net/nqe/proto/network_id_proto.proto",
13812 ],
13813 tools: [
13814 "cronet_aml_third_party_protobuf_protoc",
13815 ],
13816 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)",
13817 out: [
13818 "external/cronet/net/nqe/proto/network_id_proto.pb.cc",
13819 ],
13820 apex_available: [
13821 "com.android.tethering",
13822 ],
13823}
13824
13825// GN: //net:net_nqe_proto__testing
13826cc_genrule {
13827 name: "cronet_aml_net_net_nqe_proto__testing_gen_headers",
13828 srcs: [
13829 "net/nqe/proto/network_id_proto.proto",
13830 ],
13831 tools: [
13832 "cronet_aml_third_party_protobuf_protoc",
13833 ],
13834 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)",
13835 out: [
13836 "external/cronet/net/nqe/proto/network_id_proto.pb.h",
13837 ],
13838 export_include_dirs: [
13839 ".",
13840 "net/nqe/proto",
13841 "protos",
13842 ],
13843 apex_available: [
13844 "com.android.tethering",
13845 ],
13846}
13847
Patrick Rohrcb035942022-11-01 12:12:52 -070013848// GN: //net:net_nqe_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013849cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070013850 name: "cronet_aml_net_net_nqe_proto_gen",
13851 srcs: [
13852 "net/nqe/proto/network_id_proto.proto",
13853 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090013854 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090013855 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090013856 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090013857 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 -070013858 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090013859 "external/cronet/net/nqe/proto/network_id_proto.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090013860 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090013861 apex_available: [
13862 "com.android.tethering",
13863 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090013864}
13865
Patrick Rohrc5980782022-11-07 16:34:03 -080013866// GN: //net:net_nqe_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013867cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090013868 name: "cronet_aml_net_net_nqe_proto_gen_headers",
13869 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090013870 "net/nqe/proto/network_id_proto.proto",
13871 ],
13872 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090013873 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090013874 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090013875 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 +090013876 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090013877 "external/cronet/net/nqe/proto/network_id_proto.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070013878 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080013879 export_include_dirs: [
13880 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080013881 "net/nqe/proto",
Patrick Rohrc5980782022-11-07 16:34:03 -080013882 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070013883 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090013884 apex_available: [
13885 "com.android.tethering",
13886 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070013887}
13888
13889// GN: //net:net_public_deps
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013890cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070013891 name: "cronet_aml_net_net_public_deps",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013892 srcs: [
13893 ":cronet_aml_net_net_nqe_proto_gen",
13894 ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
13895 ],
13896 shared_libs: [
13897 "libandroid",
13898 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000013899 "libprotobuf-cpp-lite",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080013900 "libz",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013901 ],
13902 static_libs: [
13903 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
13904 "cronet_aml_base_base",
13905 "cronet_aml_base_base_static",
13906 "cronet_aml_base_third_party_double_conversion_double_conversion",
13907 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
13908 "cronet_aml_crypto_crypto",
13909 "cronet_aml_net_third_party_quiche_quiche",
13910 "cronet_aml_net_uri_template",
13911 "cronet_aml_third_party_boringssl_boringssl",
13912 "cronet_aml_third_party_icu_icui18n",
13913 "cronet_aml_third_party_icu_icuuc_private",
13914 "cronet_aml_third_party_libevent_libevent",
13915 "cronet_aml_third_party_modp_b64_modp_b64",
13916 "cronet_aml_third_party_protobuf_protobuf_lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013917 "cronet_aml_url_url",
13918 ],
13919 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090013920 "cronet_aml_build_chromeos_buildflags",
13921 "cronet_aml_net_buildflags",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013922 "cronet_aml_net_net_nqe_proto_gen_headers",
13923 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
13924 ],
13925 defaults: [
13926 "cronet_aml_defaults",
13927 ],
13928 cflags: [
13929 "-DANDROID",
13930 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090013931 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
13932 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013933 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013934 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
13935 "-DGOOGLE_PROTOBUF_NO_RTTI",
13936 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
13937 "-DHAVE_PTHREAD",
13938 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013939 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090013940 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090013941 "-DNVALGRIND",
13942 "-DOFFICIAL_BUILD",
13943 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013944 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013945 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013946 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13947 "-D__STDC_CONSTANT_MACROS",
13948 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090013949 "-Oz",
13950 "-fdata-sections",
13951 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090013952 "-fno-asynchronous-unwind-tables",
13953 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090013954 "-fvisibility-inlines-hidden",
13955 "-fvisibility=hidden",
13956 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013957 ],
13958 local_include_dirs: [
13959 "./",
13960 "buildtools/third_party/libc++/",
13961 "buildtools/third_party/libc++/trunk/include",
13962 "buildtools/third_party/libc++abi/trunk/include",
13963 "net/third_party/quiche/overrides/",
13964 "net/third_party/quiche/src/",
13965 "net/third_party/quiche/src/quiche/common/platform/default/",
13966 "third_party/abseil-cpp/",
13967 "third_party/boringssl/src/include/",
13968 "third_party/protobuf/src/",
13969 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090013970 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090013971 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090013972 android_arm: {
13973 cflags: [
13974 "-fstack-protector",
13975 ],
13976 },
13977 android_arm64: {
13978 cflags: [
13979 "-fstack-protector",
13980 "-mno-outline",
13981 "-mno-outline-atomics",
13982 ],
13983 },
Motomu Utsumi55394632022-11-18 17:44:28 +090013984 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013985 cflags: [
13986 "-msse3",
13987 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090013988 },
13989 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013990 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090013991 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013992 "-msse3",
13993 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090013994 },
13995 },
Patrick Rohrcb035942022-11-01 12:12:52 -070013996}
13997
Mohannad Farragedb2fd02023-02-10 14:53:41 +000013998// GN: //net:net_public_deps__testing
13999cc_object {
14000 name: "cronet_aml_net_net_public_deps__testing",
14001 srcs: [
14002 ":cronet_aml_net_net_nqe_proto__testing_gen",
14003 ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen",
14004 ],
14005 shared_libs: [
14006 "libandroid",
14007 "liblog",
14008 "libprotobuf-cpp-lite",
14009 "libz",
14010 ],
14011 static_libs: [
14012 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14013 "cronet_aml_base_base__testing",
14014 "cronet_aml_base_base_static__testing",
14015 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14016 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14017 "cronet_aml_crypto_crypto__testing",
14018 "cronet_aml_net_third_party_quiche_quiche__testing",
14019 "cronet_aml_net_uri_template__testing",
14020 "cronet_aml_third_party_boringssl_boringssl__testing",
14021 "cronet_aml_third_party_icu_icui18n__testing",
14022 "cronet_aml_third_party_icu_icuuc_private__testing",
14023 "cronet_aml_third_party_libevent_libevent__testing",
14024 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14025 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14026 "cronet_aml_url_url__testing",
14027 ],
14028 generated_headers: [
14029 "cronet_aml_build_chromeos_buildflags__testing",
14030 "cronet_aml_net_buildflags__testing",
14031 "cronet_aml_net_net_nqe_proto__testing_gen_headers",
14032 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
14033 ],
14034 defaults: [
14035 "cronet_aml_defaults",
14036 ],
14037 cflags: [
14038 "-DANDROID",
14039 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14040 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14041 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14042 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14043 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14044 "-DGOOGLE_PROTOBUF_NO_RTTI",
14045 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14046 "-DHAVE_PTHREAD",
14047 "-DHAVE_SYS_UIO_H",
14048 "-DNDEBUG",
14049 "-DNO_UNWIND_TABLES",
14050 "-DNVALGRIND",
14051 "-DOFFICIAL_BUILD",
14052 "-D_FORTIFY_SOURCE=2",
14053 "-D_GNU_SOURCE",
14054 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14055 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14056 "-D__STDC_CONSTANT_MACROS",
14057 "-D__STDC_FORMAT_MACROS",
14058 "-Oz",
14059 "-fdata-sections",
14060 "-ffunction-sections",
14061 "-fno-asynchronous-unwind-tables",
14062 "-fno-unwind-tables",
14063 "-fvisibility-inlines-hidden",
14064 "-fvisibility=hidden",
14065 "-g1",
14066 ],
14067 local_include_dirs: [
14068 "./",
14069 "buildtools/third_party/libc++/",
14070 "buildtools/third_party/libc++/trunk/include",
14071 "buildtools/third_party/libc++abi/trunk/include",
14072 "net/third_party/quiche/overrides/",
14073 "net/third_party/quiche/src/",
14074 "net/third_party/quiche/src/quiche/common/platform/default/",
14075 "third_party/abseil-cpp/",
14076 "third_party/boringssl/src/include/",
14077 "third_party/protobuf/src/",
14078 ],
14079 cpp_std: "c++17",
14080 target: {
14081 android_arm: {
14082 cflags: [
14083 "-fstack-protector",
14084 ],
14085 },
14086 android_arm64: {
14087 cflags: [
14088 "-fstack-protector",
14089 "-mno-outline",
14090 "-mno-outline-atomics",
14091 ],
14092 },
14093 android_x86: {
14094 cflags: [
14095 "-msse3",
14096 ],
14097 },
14098 android_x86_64: {
14099 cflags: [
14100 "-fstack-protector",
14101 "-msse3",
14102 ],
14103 },
14104 },
14105}
14106
Patrick Rohrcb035942022-11-01 12:12:52 -070014107// GN: //net:preload_decoder
14108cc_library_static {
14109 name: "cronet_aml_net_preload_decoder",
14110 srcs: [
14111 "net/extras/preload_data/decoder.cc",
14112 ],
14113 shared_libs: [
14114 "libandroid",
14115 "liblog",
14116 ],
14117 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080014118 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070014119 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080014120 "cronet_aml_base_base_static",
14121 "cronet_aml_base_third_party_double_conversion_double_conversion",
14122 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090014123 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080014124 "cronet_aml_third_party_icu_icui18n",
14125 "cronet_aml_third_party_icu_icuuc_private",
14126 "cronet_aml_third_party_libevent_libevent",
14127 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070014128 ],
14129 defaults: [
14130 "cronet_aml_defaults",
14131 ],
14132 cflags: [
14133 "-DANDROID",
14134 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090014135 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14136 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090014137 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070014138 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090014139 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090014140 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090014141 "-DNVALGRIND",
14142 "-DOFFICIAL_BUILD",
14143 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070014144 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070014145 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070014146 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14147 "-D__STDC_CONSTANT_MACROS",
14148 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090014149 "-Oz",
14150 "-fdata-sections",
14151 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090014152 "-fno-asynchronous-unwind-tables",
14153 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090014154 "-fvisibility-inlines-hidden",
14155 "-fvisibility=hidden",
14156 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070014157 ],
14158 local_include_dirs: [
14159 "./",
14160 "buildtools/third_party/libc++/",
14161 "buildtools/third_party/libc++/trunk/include",
14162 "buildtools/third_party/libc++abi/trunk/include",
14163 "third_party/abseil-cpp/",
14164 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070014165 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090014166 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090014167 ldflags: [
14168 "-Wl,--as-needed",
14169 "-Wl,--gc-sections",
14170 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000014171 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000014172 "-Wl,-wrap,asprintf",
14173 "-Wl,-wrap,calloc",
14174 "-Wl,-wrap,free",
14175 "-Wl,-wrap,getcwd",
14176 "-Wl,-wrap,malloc",
14177 "-Wl,-wrap,malloc_usable_size",
14178 "-Wl,-wrap,memalign",
14179 "-Wl,-wrap,posix_memalign",
14180 "-Wl,-wrap,pvalloc",
14181 "-Wl,-wrap,realloc",
14182 "-Wl,-wrap,realpath",
14183 "-Wl,-wrap,strdup",
14184 "-Wl,-wrap,strndup",
14185 "-Wl,-wrap,valloc",
14186 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090014187 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014188 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090014189 android_arm: {
14190 cflags: [
14191 "-fstack-protector",
14192 ],
14193 },
14194 android_arm64: {
14195 cflags: [
14196 "-fstack-protector",
14197 "-mno-outline",
14198 "-mno-outline-atomics",
14199 ],
14200 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014201 android_x86: {
14202 cflags: [
14203 "-msse3",
14204 ],
14205 },
14206 android_x86_64: {
14207 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090014208 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014209 "-msse3",
14210 ],
14211 },
14212 },
Patrick Rohrcb035942022-11-01 12:12:52 -070014213}
14214
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014215// GN: //net:preload_decoder__testing
14216cc_library_static {
14217 name: "cronet_aml_net_preload_decoder__testing",
14218 srcs: [
14219 "net/extras/preload_data/decoder.cc",
14220 ],
14221 shared_libs: [
14222 "libandroid",
14223 "liblog",
14224 ],
14225 static_libs: [
14226 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14227 "cronet_aml_base_base__testing",
14228 "cronet_aml_base_base_static__testing",
14229 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14230 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14231 "cronet_aml_third_party_boringssl_boringssl__testing",
14232 "cronet_aml_third_party_icu_icui18n__testing",
14233 "cronet_aml_third_party_icu_icuuc_private__testing",
14234 "cronet_aml_third_party_libevent_libevent__testing",
14235 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14236 ],
14237 defaults: [
14238 "cronet_aml_defaults",
14239 ],
14240 cflags: [
14241 "-DANDROID",
14242 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14243 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14244 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14245 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14246 "-DHAVE_SYS_UIO_H",
14247 "-DNDEBUG",
14248 "-DNO_UNWIND_TABLES",
14249 "-DNVALGRIND",
14250 "-DOFFICIAL_BUILD",
14251 "-D_FORTIFY_SOURCE=2",
14252 "-D_GNU_SOURCE",
14253 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14254 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14255 "-D__STDC_CONSTANT_MACROS",
14256 "-D__STDC_FORMAT_MACROS",
14257 "-Oz",
14258 "-fdata-sections",
14259 "-ffunction-sections",
14260 "-fno-asynchronous-unwind-tables",
14261 "-fno-unwind-tables",
14262 "-fvisibility-inlines-hidden",
14263 "-fvisibility=hidden",
14264 "-g1",
14265 ],
14266 local_include_dirs: [
14267 "./",
14268 "buildtools/third_party/libc++/",
14269 "buildtools/third_party/libc++/trunk/include",
14270 "buildtools/third_party/libc++abi/trunk/include",
14271 "third_party/abseil-cpp/",
14272 "third_party/boringssl/src/include/",
14273 ],
14274 cpp_std: "c++17",
14275 ldflags: [
14276 "-Wl,--as-needed",
14277 "-Wl,--gc-sections",
14278 "-Wl,--icf=all",
14279 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
14280 "-Wl,-wrap,asprintf",
14281 "-Wl,-wrap,calloc",
14282 "-Wl,-wrap,free",
14283 "-Wl,-wrap,getcwd",
14284 "-Wl,-wrap,malloc",
14285 "-Wl,-wrap,malloc_usable_size",
14286 "-Wl,-wrap,memalign",
14287 "-Wl,-wrap,posix_memalign",
14288 "-Wl,-wrap,pvalloc",
14289 "-Wl,-wrap,realloc",
14290 "-Wl,-wrap,realpath",
14291 "-Wl,-wrap,strdup",
14292 "-Wl,-wrap,strndup",
14293 "-Wl,-wrap,valloc",
14294 "-Wl,-wrap,vasprintf",
14295 ],
14296 target: {
14297 android_arm: {
14298 cflags: [
14299 "-fstack-protector",
14300 ],
14301 },
14302 android_arm64: {
14303 cflags: [
14304 "-fstack-protector",
14305 "-mno-outline",
14306 "-mno-outline-atomics",
14307 ],
14308 },
14309 android_x86: {
14310 cflags: [
14311 "-msse3",
14312 ],
14313 },
14314 android_x86_64: {
14315 cflags: [
14316 "-fstack-protector",
14317 "-msse3",
14318 ],
14319 },
14320 },
14321}
14322
14323// GN: //net:quic_test_flags_utils__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014324cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014325 name: "cronet_aml_net_quic_test_flags_utils__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014326 srcs: [
14327 "net/quic/platform/impl/quic_test_flags_utils.cc",
14328 ],
14329 shared_libs: [
14330 "libandroid",
14331 "liblog",
14332 "libz",
14333 ],
14334 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014335 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14336 "cronet_aml_base_base__testing",
14337 "cronet_aml_base_base_static__testing",
14338 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14339 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14340 "cronet_aml_crypto_crypto__testing",
14341 "cronet_aml_net_net__testing",
14342 "cronet_aml_net_preload_decoder__testing",
14343 "cronet_aml_net_third_party_quiche_quiche__testing",
14344 "cronet_aml_net_uri_template__testing",
14345 "cronet_aml_third_party_boringssl_boringssl__testing",
14346 "cronet_aml_third_party_brotli_common__testing",
14347 "cronet_aml_third_party_brotli_dec__testing",
14348 "cronet_aml_third_party_icu_icui18n__testing",
14349 "cronet_aml_third_party_icu_icuuc_private__testing",
14350 "cronet_aml_third_party_libevent_libevent__testing",
14351 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14352 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14353 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014354 ],
14355 defaults: [
14356 "cronet_aml_defaults",
14357 ],
14358 cflags: [
14359 "-DANDROID",
14360 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14361 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14362 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14363 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14364 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14365 "-DGOOGLE_PROTOBUF_NO_RTTI",
14366 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14367 "-DHAVE_PTHREAD",
14368 "-DHAVE_SYS_UIO_H",
14369 "-DNDEBUG",
14370 "-DNO_UNWIND_TABLES",
14371 "-DNVALGRIND",
14372 "-DOFFICIAL_BUILD",
14373 "-D_FORTIFY_SOURCE=2",
14374 "-D_GNU_SOURCE",
14375 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14376 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14377 "-D__STDC_CONSTANT_MACROS",
14378 "-D__STDC_FORMAT_MACROS",
14379 "-Oz",
14380 "-fdata-sections",
14381 "-ffunction-sections",
14382 "-fno-asynchronous-unwind-tables",
14383 "-fno-unwind-tables",
14384 "-fvisibility-inlines-hidden",
14385 "-fvisibility=hidden",
14386 "-g1",
14387 ],
14388 local_include_dirs: [
14389 "./",
14390 "buildtools/third_party/libc++/",
14391 "buildtools/third_party/libc++/trunk/include",
14392 "buildtools/third_party/libc++abi/trunk/include",
14393 "net/third_party/quiche/overrides/",
14394 "net/third_party/quiche/src/",
14395 "net/third_party/quiche/src/quiche/common/platform/default/",
14396 "third_party/abseil-cpp/",
14397 "third_party/boringssl/src/include/",
14398 "third_party/protobuf/src/",
14399 ],
14400 cpp_std: "c++17",
14401 target: {
14402 android_arm: {
14403 cflags: [
14404 "-fstack-protector",
14405 ],
14406 },
14407 android_arm64: {
14408 cflags: [
14409 "-fstack-protector",
14410 "-mno-outline",
14411 "-mno-outline-atomics",
14412 ],
14413 },
14414 android_x86: {
14415 cflags: [
14416 "-msse3",
14417 ],
14418 },
14419 android_x86_64: {
14420 cflags: [
14421 "-fstack-protector",
14422 "-msse3",
14423 ],
14424 },
14425 },
14426}
14427
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014428// GN: //net:simple_quic_tools__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014429cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014430 name: "cronet_aml_net_simple_quic_tools__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014431 srcs: [
14432 "net/tools/quic/quic_client_message_loop_network_helper.cc",
14433 "net/tools/quic/quic_simple_client.cc",
14434 "net/tools/quic/quic_simple_server.cc",
14435 "net/tools/quic/quic_simple_server_packet_writer.cc",
14436 "net/tools/quic/quic_simple_server_session_helper.cc",
14437 "net/tools/quic/quic_simple_server_socket.cc",
14438 "net/tools/quic/synchronous_host_resolver.cc",
14439 ],
14440 shared_libs: [
14441 "libandroid",
14442 "liblog",
14443 "libz",
14444 ],
14445 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014446 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14447 "cronet_aml_base_base__testing",
14448 "cronet_aml_base_base_static__testing",
14449 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14450 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14451 "cronet_aml_crypto_crypto__testing",
14452 "cronet_aml_net_net__testing",
14453 "cronet_aml_net_preload_decoder__testing",
14454 "cronet_aml_net_third_party_quiche_quiche__testing",
14455 "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
14456 "cronet_aml_net_uri_template__testing",
14457 "cronet_aml_third_party_boringssl_boringssl__testing",
14458 "cronet_aml_third_party_brotli_common__testing",
14459 "cronet_aml_third_party_brotli_dec__testing",
14460 "cronet_aml_third_party_icu_icui18n__testing",
14461 "cronet_aml_third_party_icu_icuuc_private__testing",
14462 "cronet_aml_third_party_libevent_libevent__testing",
14463 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14464 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14465 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014466 ],
14467 defaults: [
14468 "cronet_aml_defaults",
14469 ],
14470 cflags: [
14471 "-DANDROID",
14472 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14473 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14474 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14475 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14476 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14477 "-DGOOGLE_PROTOBUF_NO_RTTI",
14478 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14479 "-DHAVE_PTHREAD",
14480 "-DHAVE_SYS_UIO_H",
14481 "-DNDEBUG",
14482 "-DNO_UNWIND_TABLES",
14483 "-DNVALGRIND",
14484 "-DOFFICIAL_BUILD",
14485 "-D_FORTIFY_SOURCE=2",
14486 "-D_GNU_SOURCE",
14487 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14488 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14489 "-D__STDC_CONSTANT_MACROS",
14490 "-D__STDC_FORMAT_MACROS",
14491 "-Oz",
14492 "-fdata-sections",
14493 "-ffunction-sections",
14494 "-fno-asynchronous-unwind-tables",
14495 "-fno-unwind-tables",
14496 "-fvisibility-inlines-hidden",
14497 "-fvisibility=hidden",
14498 "-g1",
14499 ],
14500 local_include_dirs: [
14501 "./",
14502 "buildtools/third_party/libc++/",
14503 "buildtools/third_party/libc++/trunk/include",
14504 "buildtools/third_party/libc++abi/trunk/include",
14505 "net/third_party/quiche/overrides/",
14506 "net/third_party/quiche/src/",
14507 "net/third_party/quiche/src/quiche/common/platform/default/",
14508 "third_party/abseil-cpp/",
14509 "third_party/boringssl/src/include/",
14510 "third_party/protobuf/src/",
14511 ],
14512 cpp_std: "c++17",
14513 target: {
14514 android_arm: {
14515 cflags: [
14516 "-fstack-protector",
14517 ],
14518 },
14519 android_arm64: {
14520 cflags: [
14521 "-fstack-protector",
14522 "-mno-outline",
14523 "-mno-outline-atomics",
14524 ],
14525 },
14526 android_x86: {
14527 cflags: [
14528 "-msse3",
14529 ],
14530 },
14531 android_x86_64: {
14532 cflags: [
14533 "-fstack-protector",
14534 "-msse3",
14535 ],
14536 },
14537 },
14538}
14539
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014540// GN: //net:test_support__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014541cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014542 name: "cronet_aml_net_test_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014543 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014544 ":cronet_aml_net_dns_test_support__testing",
14545 ":cronet_aml_net_quic_test_flags_utils__testing",
14546 ":cronet_aml_net_simple_quic_tools__testing",
14547 ":cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing",
14548 ":cronet_aml_net_traffic_annotation_traffic_annotation__testing",
14549 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
14550 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
14551 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
14552 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
14553 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
14554 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
14555 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
14556 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
14557 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
14558 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
14559 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
14560 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
14561 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
14562 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
14563 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
14564 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
14565 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
14566 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
14567 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
14568 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
14569 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
14570 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
14571 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
14572 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
14573 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
14574 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
14575 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
14576 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
14577 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
14578 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
14579 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
14580 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
14581 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
14582 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
14583 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
14584 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
14585 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
14586 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
14587 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
14588 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
14589 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
14590 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
14591 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
14592 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
14593 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
14594 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
14595 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
14596 ":cronet_aml_third_party_googletest_gmock__testing",
14597 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014598 "net/base/connection_endpoint_metadata_test_util.cc",
14599 "net/base/load_timing_info_test_util.cc",
14600 "net/base/mock_file_stream.cc",
14601 "net/base/mock_network_change_notifier.cc",
14602 "net/base/test_completion_callback.cc",
14603 "net/base/test_data_stream.cc",
14604 "net/cert/mock_cert_net_fetcher.cc",
14605 "net/cert/mock_cert_verifier.cc",
14606 "net/cert/mock_client_cert_verifier.cc",
14607 "net/cookies/cookie_change_dispatcher_test_helpers.cc",
14608 "net/cookies/cookie_monster_store_test.cc",
14609 "net/cookies/cookie_store_test_callbacks.cc",
14610 "net/cookies/cookie_store_test_helpers.cc",
14611 "net/cookies/test_cookie_access_delegate.cc",
14612 "net/disk_cache/disk_cache_test_base.cc",
14613 "net/disk_cache/disk_cache_test_util.cc",
14614 "net/disk_cache/mock/mock_backend_impl.cc",
14615 "net/disk_cache/mock/mock_entry_impl.cc",
14616 "net/filter/filter_source_stream_test_util.cc",
14617 "net/filter/mock_source_stream.cc",
14618 "net/http/http_stream_factory_test_util.cc",
14619 "net/http/http_transaction_test_util.cc",
14620 "net/http/mock_http_cache.cc",
14621 "net/http/transport_security_state_test_util.cc",
14622 "net/log/test_net_log.cc",
14623 "net/log/test_net_log_util.cc",
14624 "net/network_error_logging/mock_persistent_nel_store.cc",
14625 "net/network_error_logging/network_error_logging_test_util.cc",
14626 "net/nqe/network_quality_estimator_test_util.cc",
14627 "net/proxy_resolution/mock_pac_file_fetcher.cc",
14628 "net/proxy_resolution/mock_proxy_resolver.cc",
14629 "net/proxy_resolution/proxy_config_service_common_unittest.cc",
14630 "net/quic/quic_test_packet_printer.cc",
14631 "net/reporting/mock_persistent_reporting_store.cc",
14632 "net/reporting/reporting_test_util.cc",
14633 "net/socket/read_buffering_stream_socket.cc",
14634 "net/socket/socket_test_util.cc",
14635 "net/socket/transport_client_socket_test_util.cc",
14636 "net/spdy/spdy_test_util_common.cc",
14637 "net/ssl/client_cert_identity_test_util.cc",
14638 "net/ssl/ssl_private_key_test_util.cc",
14639 "net/ssl/test_ssl_config_service.cc",
14640 "net/ssl/test_ssl_private_key.cc",
14641 "net/test/cert_builder.cc",
14642 "net/test/cert_test_util.cc",
14643 "net/test/ct_test_util.cc",
14644 "net/test/embedded_test_server/connection_tracker.cc",
14645 "net/test/embedded_test_server/controllable_http_response.cc",
14646 "net/test/embedded_test_server/default_handlers.cc",
14647 "net/test/embedded_test_server/embedded_test_server.cc",
14648 "net/test/embedded_test_server/embedded_test_server_connection_listener.cc",
14649 "net/test/embedded_test_server/http1_connection.cc",
14650 "net/test/embedded_test_server/http2_connection.cc",
14651 "net/test/embedded_test_server/http_connection.cc",
14652 "net/test/embedded_test_server/http_request.cc",
14653 "net/test/embedded_test_server/http_response.cc",
14654 "net/test/embedded_test_server/request_handler_util.cc",
14655 "net/test/embedded_test_server/simple_connection_listener.cc",
14656 "net/test/key_util.cc",
14657 "net/test/net_test_suite.cc",
14658 "net/test/quic_simple_test_server.cc",
14659 "net/test/revocation_builder.cc",
14660 "net/test/spawned_test_server/base_test_server.cc",
14661 "net/test/spawned_test_server/remote_test_server.cc",
14662 "net/test/spawned_test_server/remote_test_server_spawner_request.cc",
14663 "net/test/ssl_test_util.cc",
14664 "net/test/test_connection_cost_observer.cc",
14665 "net/test/test_data_directory.cc",
14666 "net/test/test_doh_server.cc",
14667 "net/test/url_request/ssl_certificate_error_job.cc",
14668 "net/test/url_request/url_request_failed_job.cc",
14669 "net/test/url_request/url_request_hanging_read_job.cc",
14670 "net/test/url_request/url_request_mock_data_job.cc",
14671 "net/url_request/url_request_test_job.cc",
14672 "net/url_request/url_request_test_util.cc",
14673 ],
14674 shared_libs: [
14675 "libandroid",
14676 "liblog",
14677 "libz",
14678 ],
14679 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014680 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
14681 "cronet_aml_base_base__testing",
14682 "cronet_aml_base_base_static__testing",
14683 "cronet_aml_base_i18n__testing",
14684 "cronet_aml_base_test_test_config__testing",
14685 "cronet_aml_base_test_test_support__testing",
14686 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
14687 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
14688 "cronet_aml_crypto_crypto__testing",
14689 "cronet_aml_net_gtest_util__testing",
14690 "cronet_aml_net_net__testing",
14691 "cronet_aml_net_preload_decoder__testing",
14692 "cronet_aml_net_third_party_quiche_quiche__testing",
14693 "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
14694 "cronet_aml_net_uri_template__testing",
14695 "cronet_aml_testing_gtest_gtest__testing",
14696 "cronet_aml_third_party_boringssl_boringssl__testing",
14697 "cronet_aml_third_party_brotli_common__testing",
14698 "cronet_aml_third_party_brotli_dec__testing",
14699 "cronet_aml_third_party_ced_ced__testing",
14700 "cronet_aml_third_party_icu_icui18n__testing",
14701 "cronet_aml_third_party_icu_icuuc_private__testing",
14702 "cronet_aml_third_party_libevent_libevent__testing",
14703 "cronet_aml_third_party_libxml_libxml__testing",
14704 "cronet_aml_third_party_libxml_libxml_utils__testing",
14705 "cronet_aml_third_party_libxml_xml_reader__testing",
14706 "cronet_aml_third_party_modp_b64_modp_b64__testing",
14707 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
14708 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014709 ],
14710 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014711 "cronet_aml_build_chromeos_buildflags__testing",
14712 "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014713 ],
14714 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014715 "cronet_aml_build_chromeos_buildflags__testing",
14716 "cronet_aml_net_http_transport_security_state_unittest_data_default__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000014717 ],
14718 defaults: [
14719 "cronet_aml_defaults",
14720 ],
14721 cflags: [
14722 "-DANDROID",
14723 "-DANDROID_NDK_VERSION_ROLL=r23_1",
14724 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
14725 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
14726 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
14727 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
14728 "-DGOOGLE_PROTOBUF_NO_RTTI",
14729 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
14730 "-DGTEST_API_=",
14731 "-DGTEST_HAS_ABSL=1",
14732 "-DGTEST_HAS_POSIX_RE=0",
14733 "-DGTEST_HAS_TR1_TUPLE=0",
14734 "-DGTEST_LANG_CXX11=1",
14735 "-DHAVE_PTHREAD",
14736 "-DHAVE_SYS_UIO_H",
14737 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
14738 "-DNDEBUG",
14739 "-DNO_UNWIND_TABLES",
14740 "-DNVALGRIND",
14741 "-DOFFICIAL_BUILD",
14742 "-DUNIT_TEST",
14743 "-DUSE_CHROMIUM_ICU=1",
14744 "-DUSE_REMOTE_TEST_SERVER",
14745 "-DU_ENABLE_DYLOAD=0",
14746 "-DU_ENABLE_RESOURCE_TRACING=0",
14747 "-DU_ENABLE_TRACING=1",
14748 "-DU_STATIC_IMPLEMENTATION",
14749 "-DU_USING_ICU_NAMESPACE=0",
14750 "-D_FORTIFY_SOURCE=2",
14751 "-D_GNU_SOURCE",
14752 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14753 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
14754 "-D__STDC_CONSTANT_MACROS",
14755 "-D__STDC_FORMAT_MACROS",
14756 "-Oz",
14757 "-fdata-sections",
14758 "-ffunction-sections",
14759 "-fno-asynchronous-unwind-tables",
14760 "-fno-unwind-tables",
14761 "-fvisibility-inlines-hidden",
14762 "-fvisibility=hidden",
14763 "-g1",
14764 ],
14765 local_include_dirs: [
14766 "./",
14767 "buildtools/third_party/libc++/",
14768 "buildtools/third_party/libc++/trunk/include",
14769 "buildtools/third_party/libc++abi/trunk/include",
14770 "net/third_party/quiche/overrides/",
14771 "net/third_party/quiche/src/",
14772 "net/third_party/quiche/src/quiche/common/platform/default/",
14773 "third_party/abseil-cpp/",
14774 "third_party/boringssl/src/include/",
14775 "third_party/ced/src/",
14776 "third_party/googletest/custom/",
14777 "third_party/googletest/src/googlemock/include/",
14778 "third_party/googletest/src/googletest/include/",
14779 "third_party/icu/source/common/",
14780 "third_party/icu/source/i18n/",
14781 "third_party/protobuf/src/",
14782 ],
14783 cpp_std: "c++17",
14784 ldflags: [
14785 "-Wl,--as-needed",
14786 "-Wl,--gc-sections",
14787 "-Wl,--icf=all",
14788 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
14789 "-Wl,-wrap,asprintf",
14790 "-Wl,-wrap,calloc",
14791 "-Wl,-wrap,free",
14792 "-Wl,-wrap,getcwd",
14793 "-Wl,-wrap,malloc",
14794 "-Wl,-wrap,malloc_usable_size",
14795 "-Wl,-wrap,memalign",
14796 "-Wl,-wrap,posix_memalign",
14797 "-Wl,-wrap,pvalloc",
14798 "-Wl,-wrap,realloc",
14799 "-Wl,-wrap,realpath",
14800 "-Wl,-wrap,strdup",
14801 "-Wl,-wrap,strndup",
14802 "-Wl,-wrap,valloc",
14803 "-Wl,-wrap,vasprintf",
14804 ],
14805 target: {
14806 android_arm: {
14807 cflags: [
14808 "-fstack-protector",
14809 ],
14810 },
14811 android_arm64: {
14812 cflags: [
14813 "-fstack-protector",
14814 "-mno-outline",
14815 "-mno-outline-atomics",
14816 ],
14817 },
14818 android_x86: {
14819 cflags: [
14820 "-msse3",
14821 ],
14822 },
14823 android_x86_64: {
14824 cflags: [
14825 "-fstack-protector",
14826 "-msse3",
14827 ],
14828 },
14829 },
14830}
14831
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014832// GN: //net/third_party/quiche:net_quic_proto__testing
14833cc_genrule {
14834 name: "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen",
14835 srcs: [
14836 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
14837 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
14838 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
14839 ],
14840 tools: [
14841 "cronet_aml_third_party_protobuf_protoc",
14842 ],
14843 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)",
14844 out: [
14845 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
14846 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
14847 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
14848 ],
14849 apex_available: [
14850 "com.android.tethering",
14851 ],
14852}
14853
14854// GN: //net/third_party/quiche:net_quic_proto__testing
14855cc_genrule {
14856 name: "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers",
14857 srcs: [
14858 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
14859 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
14860 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
14861 ],
14862 tools: [
14863 "cronet_aml_third_party_protobuf_protoc",
14864 ],
14865 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)",
14866 out: [
14867 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
14868 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
14869 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
14870 ],
14871 export_include_dirs: [
14872 ".",
14873 "net/third_party/quiche/src",
14874 "protos",
14875 ],
14876 apex_available: [
14877 "com.android.tethering",
14878 ],
14879}
14880
Patrick Rohrcb035942022-11-01 12:12:52 -070014881// GN: //net/third_party/quiche:net_quic_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000014882cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070014883 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen",
14884 srcs: [
14885 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
14886 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
14887 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
14888 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090014889 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090014890 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090014891 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014892 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 -070014893 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014894 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
14895 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
14896 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090014897 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090014898 apex_available: [
14899 "com.android.tethering",
14900 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090014901}
14902
Patrick Rohrc5980782022-11-07 16:34:03 -080014903// GN: //net/third_party/quiche:net_quic_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000014904cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090014905 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
14906 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090014907 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
14908 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
14909 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
14910 ],
14911 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090014912 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090014913 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014914 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 +090014915 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014916 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
14917 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
14918 "external/cronet/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070014919 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080014920 export_include_dirs: [
14921 ".",
Mohannad Farrage558ead2022-11-08 18:44:04 +000014922 "net/third_party/quiche/src",
Patrick Rohrc5980782022-11-07 16:34:03 -080014923 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070014924 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090014925 apex_available: [
14926 "com.android.tethering",
14927 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070014928}
14929
Mohannad Farragedb2fd02023-02-10 14:53:41 +000014930// GN: //net/third_party/quiche:net_quic_test_tools_proto__testing
14931cc_genrule {
14932 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen",
14933 srcs: [
14934 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
14935 ],
14936 tools: [
14937 "cronet_aml_third_party_protobuf_protoc",
14938 ],
14939 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)",
14940 out: [
14941 "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc",
14942 ],
14943 apex_available: [
14944 "com.android.tethering",
14945 ],
14946}
14947
14948// GN: //net/third_party/quiche:net_quic_test_tools_proto__testing
14949cc_genrule {
14950 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto__testing_gen_headers",
14951 srcs: [
14952 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
14953 ],
14954 tools: [
14955 "cronet_aml_third_party_protobuf_protoc",
14956 ],
14957 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)",
14958 out: [
14959 "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h",
14960 ],
14961 export_include_dirs: [
14962 ".",
14963 "net/third_party/quiche/src/quiche/quic/test_tools",
14964 "protos",
14965 ],
14966 apex_available: [
14967 "com.android.tethering",
14968 ],
14969}
14970
Patrick Rohrcb035942022-11-01 12:12:52 -070014971// GN: //net/third_party/quiche:net_quic_test_tools_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000014972cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070014973 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
14974 srcs: [
14975 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
14976 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090014977 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090014978 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090014979 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014980 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 -070014981 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014982 "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090014983 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090014984 apex_available: [
14985 "com.android.tethering",
14986 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090014987}
14988
Patrick Rohrc5980782022-11-07 16:34:03 -080014989// GN: //net/third_party/quiche:net_quic_test_tools_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000014990cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090014991 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
14992 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090014993 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
14994 ],
14995 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090014996 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090014997 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090014998 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 +090014999 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090015000 "external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070015001 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080015002 export_include_dirs: [
15003 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080015004 "net/third_party/quiche/src/quiche/quic/test_tools",
Patrick Rohrc5980782022-11-07 16:34:03 -080015005 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070015006 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090015007 apex_available: [
15008 "com.android.tethering",
15009 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070015010}
15011
15012// GN: //net/third_party/quiche:quiche
15013cc_library_static {
15014 name: "cronet_aml_net_third_party_quiche_quiche",
15015 srcs: [
Patrick Rohrc5980782022-11-07 16:34:03 -080015016 ":cronet_aml_net_third_party_quiche_net_quic_proto_gen",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015017 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
15018 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
15019 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
15020 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
15021 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
15022 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
15023 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
15024 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
15025 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
15026 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
15027 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
15028 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
15029 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
15030 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
15031 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
15032 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
15033 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
15034 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
15035 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
15036 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
15037 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
15038 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
15039 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
15040 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
15041 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
15042 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
15043 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
15044 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
15045 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
15046 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
15047 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
15048 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
15049 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
15050 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
15051 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
15052 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
15053 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
15054 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
15055 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
15056 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
15057 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
15058 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
15059 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
15060 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
15061 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
15062 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
15063 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Patrick Rohrcb035942022-11-01 12:12:52 -070015064 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
15065 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
15066 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
15067 "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
15068 "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
15069 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
15070 "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
15071 "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
15072 "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
15073 "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
15074 "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
15075 "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
15076 "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
15077 "net/third_party/quiche/src/quiche/common/quiche_random.cc",
15078 "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
15079 "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
15080 "net/third_party/quiche/src/quiche/common/structured_headers.cc",
15081 "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
15082 "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
15083 "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
15084 "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
15085 "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
15086 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
15087 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
15088 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
15089 "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
15090 "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
15091 "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
15092 "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
15093 "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
15094 "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
15095 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
15096 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
15097 "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
15098 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
15099 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
15100 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
15101 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
15102 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
15103 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
15104 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
15105 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
15106 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
15107 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
15108 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
15109 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
15110 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
15111 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
15112 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
15113 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
15114 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
15115 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
15116 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
15117 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
15118 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
15119 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
15120 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
15121 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
15122 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
15123 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
15124 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
15125 "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
15126 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
15127 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
15128 "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
15129 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
15130 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
15131 "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
15132 "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
15133 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
15134 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
15135 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
15136 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
15137 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
15138 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
15139 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
15140 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
15141 "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
15142 "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
15143 "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
15144 "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
15145 "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
15146 "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
15147 "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
15148 "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
15149 "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
15150 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
15151 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
15152 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
15153 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
15154 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
15155 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
15156 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
15157 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
15158 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
15159 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
15160 "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
15161 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
15162 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
15163 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
15164 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
15165 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
15166 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
15167 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
15168 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
15169 "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
15170 "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
15171 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
15172 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
15173 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
15174 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
15175 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
15176 "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
15177 "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
15178 "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
15179 "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
15180 "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
15181 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
15182 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
15183 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
15184 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
15185 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
15186 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
15187 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
15188 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
15189 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
15190 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
15191 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
15192 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
15193 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
15194 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
15195 "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
15196 "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
15197 "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
15198 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
15199 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
15200 "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
15201 "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
15202 "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
15203 "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
15204 "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
15205 "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
15206 "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
15207 "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
15208 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
15209 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
15210 "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
15211 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
15212 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
15213 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
15214 "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
15215 "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
15216 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
15217 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
15218 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
15219 "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
15220 "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
15221 "net/third_party/quiche/src/quiche/quic/core/http/capsule.cc",
15222 "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
15223 "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
15224 "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
15225 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc",
15226 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc",
15227 "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
15228 "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
15229 "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
15230 "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
15231 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
15232 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
15233 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
15234 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
15235 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
15236 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
15237 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
15238 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
15239 "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc",
15240 "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
15241 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
15242 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
15243 "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
15244 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
15245 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
15246 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
15247 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
15248 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
15249 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
15250 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
15251 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
15252 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
15253 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
15254 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
15255 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
15256 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
15257 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
15258 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
15259 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
15260 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
15261 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
15262 "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
15263 "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
15264 "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
15265 "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
15266 "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
15267 "net/third_party/quiche/src/quiche/quic/core/quic_clock.cc",
15268 "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
15269 "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
15270 "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
15271 "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
15272 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
15273 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
15274 "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
15275 "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
15276 "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
15277 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
15278 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
15279 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
15280 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
15281 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
15282 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
15283 "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
15284 "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
15285 "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
15286 "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
15287 "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
15288 "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
15289 "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090015290 "net/third_party/quiche/src/quiche/quic/core/quic_legacy_version_encapsulator.cc",
Patrick Rohrcb035942022-11-01 12:12:52 -070015291 "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
15292 "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
15293 "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
15294 "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
15295 "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
15296 "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
15297 "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
15298 "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
15299 "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
15300 "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
15301 "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
15302 "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
15303 "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
15304 "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
15305 "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
15306 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
15307 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
15308 "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
15309 "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
15310 "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
15311 "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
15312 "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
15313 "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
15314 "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
15315 "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
15316 "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
15317 "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
15318 "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
15319 "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
15320 "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
15321 "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
15322 "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
15323 "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
15324 "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
15325 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
15326 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
15327 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
15328 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
15329 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
15330 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
15331 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
15332 "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
15333 "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc",
15334 "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc",
15335 "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
15336 "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
15337 "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
15338 "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
15339 "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
15340 "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc",
15341 "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc",
15342 "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
15343 "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc",
15344 ],
15345 shared_libs: [
15346 "libandroid",
15347 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000015348 "libprotobuf-cpp-lite",
Patrick Rohr3d1059c2022-12-21 11:04:33 -080015349 "libz",
Patrick Rohrcb035942022-11-01 12:12:52 -070015350 ],
15351 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080015352 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070015353 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080015354 "cronet_aml_base_base_static",
15355 "cronet_aml_base_third_party_double_conversion_double_conversion",
15356 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Patrick Rohrcb035942022-11-01 12:12:52 -070015357 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090015358 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080015359 "cronet_aml_third_party_icu_icui18n",
15360 "cronet_aml_third_party_icu_icuuc_private",
15361 "cronet_aml_third_party_libevent_libevent",
15362 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090015363 "cronet_aml_third_party_protobuf_protobuf_lite",
Patrick Rohrcb035942022-11-01 12:12:52 -070015364 "cronet_aml_url_url",
15365 ],
15366 generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090015367 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -080015368 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070015369 ],
15370 export_generated_headers: [
Motomu Utsumie74bab82022-12-16 18:00:12 +090015371 "cronet_aml_build_chromeos_buildflags",
Patrick Rohrc5980782022-11-07 16:34:03 -080015372 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070015373 ],
15374 defaults: [
15375 "cronet_aml_defaults",
15376 ],
15377 cflags: [
Patrick Rohrcb035942022-11-01 12:12:52 -070015378 "-DANDROID",
15379 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090015380 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
15381 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090015382 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070015383 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15384 "-DGOOGLE_PROTOBUF_NO_RTTI",
15385 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15386 "-DHAVE_PTHREAD",
15387 "-DHAVE_SYS_UIO_H",
15388 "-DIS_QUICHE_IMPL",
Motomu Utsumic525cb72023-01-27 13:25:41 +090015389 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090015390 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090015391 "-DNVALGRIND",
15392 "-DOFFICIAL_BUILD",
15393 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070015394 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070015395 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070015396 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
15397 "-D__STDC_CONSTANT_MACROS",
15398 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090015399 "-Oz",
15400 "-fdata-sections",
15401 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090015402 "-fno-asynchronous-unwind-tables",
15403 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090015404 "-fvisibility-inlines-hidden",
15405 "-fvisibility=hidden",
15406 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070015407 ],
15408 local_include_dirs: [
15409 "./",
15410 "buildtools/third_party/libc++/",
15411 "buildtools/third_party/libc++/trunk/include",
15412 "buildtools/third_party/libc++abi/trunk/include",
15413 "net/third_party/quiche/overrides/",
15414 "net/third_party/quiche/src/",
15415 "net/third_party/quiche/src/quiche/common/platform/default/",
15416 "third_party/abseil-cpp/",
15417 "third_party/boringssl/src/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090015418 "third_party/protobuf/src/",
Patrick Rohrcb035942022-11-01 12:12:52 -070015419 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090015420 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090015421 ldflags: [
15422 "-Wl,--as-needed",
15423 "-Wl,--gc-sections",
15424 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000015425 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000015426 "-Wl,-wrap,asprintf",
15427 "-Wl,-wrap,calloc",
15428 "-Wl,-wrap,free",
15429 "-Wl,-wrap,getcwd",
15430 "-Wl,-wrap,malloc",
15431 "-Wl,-wrap,malloc_usable_size",
15432 "-Wl,-wrap,memalign",
15433 "-Wl,-wrap,posix_memalign",
15434 "-Wl,-wrap,pvalloc",
15435 "-Wl,-wrap,realloc",
15436 "-Wl,-wrap,realpath",
15437 "-Wl,-wrap,strdup",
15438 "-Wl,-wrap,strndup",
15439 "-Wl,-wrap,valloc",
15440 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090015441 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000015442 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090015443 android_arm: {
15444 cflags: [
15445 "-fstack-protector",
15446 ],
15447 },
15448 android_arm64: {
15449 cflags: [
15450 "-fstack-protector",
15451 "-mno-outline",
15452 "-mno-outline-atomics",
15453 ],
15454 },
Mohannad Farrag631443e2022-11-21 16:17:01 +000015455 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015456 cflags: [
15457 "-msse3",
15458 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000015459 },
15460 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015461 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090015462 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015463 "-msse3",
15464 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000015465 },
15466 },
Patrick Rohrcb035942022-11-01 12:12:52 -070015467}
15468
Mohannad Farragedb2fd02023-02-10 14:53:41 +000015469// GN: //net/third_party/quiche:quiche__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000015470cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000015471 name: "cronet_aml_net_third_party_quiche_quiche__testing",
15472 srcs: [
15473 ":cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen",
15474 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
15475 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
15476 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
15477 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
15478 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
15479 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
15480 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
15481 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
15482 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
15483 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
15484 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
15485 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
15486 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
15487 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
15488 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
15489 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
15490 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
15491 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
15492 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
15493 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
15494 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
15495 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
15496 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
15497 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
15498 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
15499 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
15500 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
15501 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
15502 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
15503 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
15504 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
15505 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
15506 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
15507 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
15508 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
15509 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
15510 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
15511 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
15512 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
15513 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
15514 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
15515 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
15516 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
15517 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
15518 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
15519 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
15520 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
15521 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
15522 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
15523 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
15524 "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
15525 "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
15526 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
15527 "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
15528 "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
15529 "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
15530 "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
15531 "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
15532 "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
15533 "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
15534 "net/third_party/quiche/src/quiche/common/quiche_random.cc",
15535 "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
15536 "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
15537 "net/third_party/quiche/src/quiche/common/structured_headers.cc",
15538 "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
15539 "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
15540 "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
15541 "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
15542 "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
15543 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
15544 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
15545 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
15546 "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
15547 "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
15548 "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
15549 "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
15550 "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
15551 "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
15552 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
15553 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
15554 "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
15555 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
15556 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
15557 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
15558 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
15559 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
15560 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
15561 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
15562 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
15563 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
15564 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
15565 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
15566 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
15567 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
15568 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
15569 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
15570 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
15571 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
15572 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
15573 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
15574 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
15575 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
15576 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
15577 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
15578 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
15579 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
15580 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
15581 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
15582 "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
15583 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
15584 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
15585 "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
15586 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
15587 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
15588 "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
15589 "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
15590 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
15591 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
15592 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
15593 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
15594 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
15595 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
15596 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
15597 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
15598 "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
15599 "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
15600 "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
15601 "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
15602 "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
15603 "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
15604 "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
15605 "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
15606 "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
15607 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
15608 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
15609 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
15610 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
15611 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
15612 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
15613 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
15614 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
15615 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
15616 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
15617 "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
15618 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
15619 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
15620 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
15621 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
15622 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
15623 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
15624 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
15625 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
15626 "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
15627 "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
15628 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
15629 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
15630 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
15631 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
15632 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
15633 "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
15634 "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
15635 "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
15636 "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
15637 "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
15638 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
15639 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
15640 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
15641 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
15642 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
15643 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
15644 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
15645 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
15646 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
15647 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
15648 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
15649 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
15650 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
15651 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
15652 "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
15653 "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
15654 "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
15655 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
15656 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
15657 "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
15658 "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
15659 "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
15660 "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
15661 "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
15662 "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
15663 "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
15664 "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
15665 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
15666 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
15667 "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
15668 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
15669 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
15670 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
15671 "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
15672 "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
15673 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
15674 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
15675 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
15676 "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
15677 "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
15678 "net/third_party/quiche/src/quiche/quic/core/http/capsule.cc",
15679 "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
15680 "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
15681 "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
15682 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc",
15683 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc",
15684 "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
15685 "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
15686 "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
15687 "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
15688 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
15689 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
15690 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
15691 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
15692 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
15693 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
15694 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
15695 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
15696 "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc",
15697 "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
15698 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
15699 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
15700 "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
15701 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
15702 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
15703 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
15704 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
15705 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
15706 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
15707 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
15708 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
15709 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
15710 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
15711 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
15712 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
15713 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
15714 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
15715 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
15716 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
15717 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
15718 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
15719 "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
15720 "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
15721 "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
15722 "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
15723 "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
15724 "net/third_party/quiche/src/quiche/quic/core/quic_clock.cc",
15725 "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
15726 "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
15727 "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
15728 "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
15729 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
15730 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
15731 "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
15732 "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
15733 "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
15734 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
15735 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
15736 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
15737 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
15738 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
15739 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
15740 "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
15741 "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
15742 "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
15743 "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
15744 "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
15745 "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
15746 "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
15747 "net/third_party/quiche/src/quiche/quic/core/quic_legacy_version_encapsulator.cc",
15748 "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
15749 "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
15750 "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
15751 "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
15752 "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
15753 "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
15754 "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
15755 "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
15756 "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
15757 "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
15758 "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
15759 "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
15760 "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
15761 "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
15762 "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
15763 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
15764 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
15765 "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
15766 "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
15767 "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
15768 "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
15769 "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
15770 "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
15771 "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
15772 "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
15773 "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
15774 "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
15775 "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
15776 "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
15777 "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
15778 "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
15779 "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
15780 "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
15781 "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
15782 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
15783 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
15784 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
15785 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
15786 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
15787 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
15788 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
15789 "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
15790 "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc",
15791 "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc",
15792 "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
15793 "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
15794 "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
15795 "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
15796 "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
15797 "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc",
15798 "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc",
15799 "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
15800 "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc",
15801 ],
15802 shared_libs: [
15803 "libandroid",
15804 "liblog",
15805 "libprotobuf-cpp-lite",
15806 "libz",
15807 ],
15808 static_libs: [
15809 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
15810 "cronet_aml_base_base__testing",
15811 "cronet_aml_base_base_static__testing",
15812 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
15813 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
15814 "cronet_aml_net_uri_template__testing",
15815 "cronet_aml_third_party_boringssl_boringssl__testing",
15816 "cronet_aml_third_party_icu_icui18n__testing",
15817 "cronet_aml_third_party_icu_icuuc_private__testing",
15818 "cronet_aml_third_party_libevent_libevent__testing",
15819 "cronet_aml_third_party_modp_b64_modp_b64__testing",
15820 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
15821 "cronet_aml_url_url__testing",
15822 ],
15823 generated_headers: [
15824 "cronet_aml_build_chromeos_buildflags__testing",
15825 "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers",
15826 ],
15827 export_generated_headers: [
15828 "cronet_aml_build_chromeos_buildflags__testing",
15829 "cronet_aml_net_third_party_quiche_net_quic_proto__testing_gen_headers",
15830 ],
15831 defaults: [
15832 "cronet_aml_defaults",
15833 ],
15834 cflags: [
15835 "-DANDROID",
15836 "-DANDROID_NDK_VERSION_ROLL=r23_1",
15837 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
15838 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
15839 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
15840 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15841 "-DGOOGLE_PROTOBUF_NO_RTTI",
15842 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15843 "-DHAVE_PTHREAD",
15844 "-DHAVE_SYS_UIO_H",
15845 "-DIS_QUICHE_IMPL",
15846 "-DNDEBUG",
15847 "-DNO_UNWIND_TABLES",
15848 "-DNVALGRIND",
15849 "-DOFFICIAL_BUILD",
15850 "-D_FORTIFY_SOURCE=2",
15851 "-D_GNU_SOURCE",
15852 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15853 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
15854 "-D__STDC_CONSTANT_MACROS",
15855 "-D__STDC_FORMAT_MACROS",
15856 "-Oz",
15857 "-fdata-sections",
15858 "-ffunction-sections",
15859 "-fno-asynchronous-unwind-tables",
15860 "-fno-unwind-tables",
15861 "-fvisibility-inlines-hidden",
15862 "-fvisibility=hidden",
15863 "-g1",
15864 ],
15865 local_include_dirs: [
15866 "./",
15867 "buildtools/third_party/libc++/",
15868 "buildtools/third_party/libc++/trunk/include",
15869 "buildtools/third_party/libc++abi/trunk/include",
15870 "net/third_party/quiche/overrides/",
15871 "net/third_party/quiche/src/",
15872 "net/third_party/quiche/src/quiche/common/platform/default/",
15873 "third_party/abseil-cpp/",
15874 "third_party/boringssl/src/include/",
15875 "third_party/protobuf/src/",
15876 ],
15877 cpp_std: "c++17",
15878 ldflags: [
15879 "-Wl,--as-needed",
15880 "-Wl,--gc-sections",
15881 "-Wl,--icf=all",
15882 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
15883 "-Wl,-wrap,asprintf",
15884 "-Wl,-wrap,calloc",
15885 "-Wl,-wrap,free",
15886 "-Wl,-wrap,getcwd",
15887 "-Wl,-wrap,malloc",
15888 "-Wl,-wrap,malloc_usable_size",
15889 "-Wl,-wrap,memalign",
15890 "-Wl,-wrap,posix_memalign",
15891 "-Wl,-wrap,pvalloc",
15892 "-Wl,-wrap,realloc",
15893 "-Wl,-wrap,realpath",
15894 "-Wl,-wrap,strdup",
15895 "-Wl,-wrap,strndup",
15896 "-Wl,-wrap,valloc",
15897 "-Wl,-wrap,vasprintf",
15898 ],
15899 target: {
15900 android_arm: {
15901 cflags: [
15902 "-fstack-protector",
15903 ],
15904 },
15905 android_arm64: {
15906 cflags: [
15907 "-fstack-protector",
15908 "-mno-outline",
15909 "-mno-outline-atomics",
15910 ],
15911 },
15912 android_x86: {
15913 cflags: [
15914 "-msse3",
15915 ],
15916 },
15917 android_x86_64: {
15918 cflags: [
15919 "-fstack-protector",
15920 "-msse3",
15921 ],
15922 },
15923 },
15924}
15925
15926// GN: //net/third_party/quiche:quiche_tool_support__testing
15927cc_library_static {
15928 name: "cronet_aml_net_third_party_quiche_quiche_tool_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000015929 srcs: [
15930 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_command_line_flags_impl.cc",
15931 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_default_proof_providers_impl.cc",
15932 "net/third_party/quiche/src/quiche/common/platform/api/quiche_file_utils.cc",
15933 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_file_utils_impl.cc",
15934 "net/third_party/quiche/src/quiche/quic/core/chlo_extractor.cc",
15935 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_server_stream_base.cc",
15936 "net/third_party/quiche/src/quiche/quic/core/quic_buffered_packet_store.cc",
15937 "net/third_party/quiche/src/quiche/quic/core/quic_dispatcher.cc",
15938 "net/third_party/quiche/src/quiche/quic/core/quic_packet_writer_wrapper.cc",
15939 "net/third_party/quiche/src/quiche/quic/core/quic_time_wait_list_manager.cc",
15940 "net/third_party/quiche/src/quiche/quic/core/tls_chlo_extractor.cc",
15941 "net/third_party/quiche/src/quiche/quic/tools/quic_backend_response.cc",
15942 "net/third_party/quiche/src/quiche/quic/tools/quic_client_base.cc",
15943 "net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend.cc",
15944 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_client_session.cc",
15945 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_client_stream.cc",
15946 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_crypto_server_stream_helper.cc",
15947 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_dispatcher.cc",
15948 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_session.cc",
15949 "net/third_party/quiche/src/quiche/quic/tools/quic_simple_server_stream.cc",
15950 "net/third_party/quiche/src/quiche/quic/tools/quic_spdy_client_base.cc",
15951 "net/third_party/quiche/src/quiche/quic/tools/quic_tcp_like_trace_converter.cc",
15952 "net/third_party/quiche/src/quiche/quic/tools/quic_url.cc",
15953 "net/third_party/quiche/src/quiche/quic/tools/simple_ticket_crypter.cc",
15954 ],
15955 shared_libs: [
15956 "libandroid",
15957 "liblog",
15958 "libz",
15959 ],
15960 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000015961 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
15962 "cronet_aml_base_base__testing",
15963 "cronet_aml_base_base_static__testing",
15964 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
15965 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
15966 "cronet_aml_crypto_crypto__testing",
15967 "cronet_aml_net_net__testing",
15968 "cronet_aml_net_preload_decoder__testing",
15969 "cronet_aml_net_third_party_quiche_quiche__testing",
15970 "cronet_aml_net_uri_template__testing",
15971 "cronet_aml_third_party_boringssl_boringssl__testing",
15972 "cronet_aml_third_party_brotli_common__testing",
15973 "cronet_aml_third_party_brotli_dec__testing",
15974 "cronet_aml_third_party_icu_icui18n__testing",
15975 "cronet_aml_third_party_icu_icuuc_private__testing",
15976 "cronet_aml_third_party_libevent_libevent__testing",
15977 "cronet_aml_third_party_modp_b64_modp_b64__testing",
15978 "cronet_aml_third_party_protobuf_protobuf_lite__testing",
15979 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000015980 ],
15981 defaults: [
15982 "cronet_aml_defaults",
15983 ],
15984 cflags: [
15985 "-DANDROID",
15986 "-DANDROID_NDK_VERSION_ROLL=r23_1",
15987 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
15988 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
15989 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
15990 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
15991 "-DGOOGLE_PROTOBUF_NO_RTTI",
15992 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
15993 "-DHAVE_PTHREAD",
15994 "-DHAVE_SYS_UIO_H",
15995 "-DNDEBUG",
15996 "-DNO_UNWIND_TABLES",
15997 "-DNVALGRIND",
15998 "-DOFFICIAL_BUILD",
15999 "-D_FORTIFY_SOURCE=2",
16000 "-D_GNU_SOURCE",
16001 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16002 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16003 "-D__STDC_CONSTANT_MACROS",
16004 "-D__STDC_FORMAT_MACROS",
16005 "-Oz",
16006 "-fdata-sections",
16007 "-ffunction-sections",
16008 "-fno-asynchronous-unwind-tables",
16009 "-fno-unwind-tables",
16010 "-fvisibility-inlines-hidden",
16011 "-fvisibility=hidden",
16012 "-g1",
16013 ],
16014 local_include_dirs: [
16015 "./",
16016 "buildtools/third_party/libc++/",
16017 "buildtools/third_party/libc++/trunk/include",
16018 "buildtools/third_party/libc++abi/trunk/include",
16019 "net/third_party/quiche/overrides/",
16020 "net/third_party/quiche/src/",
16021 "net/third_party/quiche/src/quiche/common/platform/default/",
16022 "third_party/abseil-cpp/",
16023 "third_party/boringssl/src/include/",
16024 "third_party/protobuf/src/",
16025 ],
16026 cpp_std: "c++17",
16027 ldflags: [
16028 "-Wl,--as-needed",
16029 "-Wl,--gc-sections",
16030 "-Wl,--icf=all",
16031 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
16032 "-Wl,-wrap,asprintf",
16033 "-Wl,-wrap,calloc",
16034 "-Wl,-wrap,free",
16035 "-Wl,-wrap,getcwd",
16036 "-Wl,-wrap,malloc",
16037 "-Wl,-wrap,malloc_usable_size",
16038 "-Wl,-wrap,memalign",
16039 "-Wl,-wrap,posix_memalign",
16040 "-Wl,-wrap,pvalloc",
16041 "-Wl,-wrap,realloc",
16042 "-Wl,-wrap,realpath",
16043 "-Wl,-wrap,strdup",
16044 "-Wl,-wrap,strndup",
16045 "-Wl,-wrap,valloc",
16046 "-Wl,-wrap,vasprintf",
16047 ],
16048 target: {
16049 android_arm: {
16050 cflags: [
16051 "-fstack-protector",
16052 ],
16053 },
16054 android_arm64: {
16055 cflags: [
16056 "-fstack-protector",
16057 "-mno-outline",
16058 "-mno-outline-atomics",
16059 ],
16060 },
16061 android_x86: {
16062 cflags: [
16063 "-msse3",
16064 ],
16065 },
16066 android_x86_64: {
16067 cflags: [
16068 "-fstack-protector",
16069 "-msse3",
16070 ],
16071 },
16072 },
16073}
16074
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016075// GN: //net/tools/huffman_trie:huffman_trie_generator_sources__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016076cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016077 name: "cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016078 srcs: [
16079 "net/tools/huffman_trie/bit_writer.cc",
16080 "net/tools/huffman_trie/huffman/huffman_builder.cc",
16081 "net/tools/huffman_trie/trie/trie_bit_buffer.cc",
16082 "net/tools/huffman_trie/trie/trie_writer.cc",
16083 "net/tools/huffman_trie/trie_entry.cc",
16084 ],
16085 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016086 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16087 "cronet_aml_base_base__testing",
16088 "cronet_aml_base_base_static__testing",
16089 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16090 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16091 "cronet_aml_base_third_party_symbolize_symbolize__testing",
16092 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
16093 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
16094 "cronet_aml_third_party_boringssl_boringssl__testing",
16095 "cronet_aml_third_party_icu_icui18n__testing",
16096 "cronet_aml_third_party_icu_icuuc_private__testing",
16097 "cronet_aml_third_party_libevent_libevent__testing",
16098 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016099 ],
16100 host_supported: true,
16101 device_supported: false,
16102 defaults: [
16103 "cronet_aml_defaults",
16104 ],
16105 cflags: [
16106 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16107 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16108 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
16109 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16110 "-DNDEBUG",
16111 "-DNO_UNWIND_TABLES",
16112 "-DNVALGRIND",
16113 "-DOFFICIAL_BUILD",
16114 "-DUSE_AURA=1",
16115 "-DUSE_OZONE=1",
16116 "-DUSE_UDEV",
16117 "-D_FILE_OFFSET_BITS=64",
16118 "-D_FORTIFY_SOURCE=2",
16119 "-D_GNU_SOURCE",
16120 "-D_LARGEFILE64_SOURCE",
16121 "-D_LARGEFILE_SOURCE",
16122 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16123 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16124 "-D__STDC_CONSTANT_MACROS",
16125 "-D__STDC_FORMAT_MACROS",
16126 "-O2",
16127 "-fdata-sections",
16128 "-ffunction-sections",
16129 "-fno-asynchronous-unwind-tables",
16130 "-fno-unwind-tables",
16131 "-fstack-protector",
16132 "-fvisibility-inlines-hidden",
16133 "-fvisibility=hidden",
16134 "-g1",
16135 "-msse3",
16136 ],
16137 local_include_dirs: [
16138 "./",
16139 "buildtools/third_party/libc++/",
16140 "buildtools/third_party/libc++/trunk/include",
16141 "buildtools/third_party/libc++abi/trunk/include",
16142 "third_party/abseil-cpp/",
16143 "third_party/boringssl/src/include/",
16144 ],
16145 cpp_std: "c++20",
16146}
16147
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016148// GN: //net/tools/tld_cleanup:tld_cleanup__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016149cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016150 name: "cronet_aml_net_tools_tld_cleanup_tld_cleanup__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016151 srcs: [
16152 "net/tools/tld_cleanup/tld_cleanup_util.cc",
16153 ],
16154 shared_libs: [
16155 "libandroid",
16156 "liblog",
16157 ],
16158 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016159 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16160 "cronet_aml_base_base__testing",
16161 "cronet_aml_base_base_static__testing",
16162 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16163 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16164 "cronet_aml_third_party_boringssl_boringssl__testing",
16165 "cronet_aml_third_party_icu_icui18n__testing",
16166 "cronet_aml_third_party_icu_icuuc_private__testing",
16167 "cronet_aml_third_party_libevent_libevent__testing",
16168 "cronet_aml_third_party_modp_b64_modp_b64__testing",
16169 "cronet_aml_url_url__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016170 ],
16171 defaults: [
16172 "cronet_aml_defaults",
16173 ],
16174 cflags: [
16175 "-DANDROID",
16176 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16177 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16178 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16179 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16180 "-DHAVE_SYS_UIO_H",
16181 "-DNDEBUG",
16182 "-DNO_UNWIND_TABLES",
16183 "-DNVALGRIND",
16184 "-DOFFICIAL_BUILD",
16185 "-D_FORTIFY_SOURCE=2",
16186 "-D_GNU_SOURCE",
16187 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16188 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16189 "-D__STDC_CONSTANT_MACROS",
16190 "-D__STDC_FORMAT_MACROS",
16191 "-Oz",
16192 "-fdata-sections",
16193 "-ffunction-sections",
16194 "-fno-asynchronous-unwind-tables",
16195 "-fno-unwind-tables",
16196 "-fvisibility-inlines-hidden",
16197 "-fvisibility=hidden",
16198 "-g1",
16199 ],
16200 local_include_dirs: [
16201 "./",
16202 "buildtools/third_party/libc++/",
16203 "buildtools/third_party/libc++/trunk/include",
16204 "buildtools/third_party/libc++abi/trunk/include",
16205 "third_party/abseil-cpp/",
16206 "third_party/boringssl/src/include/",
16207 ],
16208 cpp_std: "c++17",
16209 target: {
16210 android_arm: {
16211 cflags: [
16212 "-fstack-protector",
16213 ],
16214 },
16215 android_arm64: {
16216 cflags: [
16217 "-fstack-protector",
16218 "-mno-outline",
16219 "-mno-outline-atomics",
16220 ],
16221 },
16222 android_x86: {
16223 cflags: [
16224 "-msse3",
16225 ],
16226 },
16227 android_x86_64: {
16228 cflags: [
16229 "-fstack-protector",
16230 "-msse3",
16231 ],
16232 },
16233 },
16234}
16235
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016236// GN: //net/tools/transport_security_state_generator:transport_security_state_generator__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016237cc_binary {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016238 name: "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016239 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016240 ":cronet_aml_buildtools_third_party_libc___libc____testing",
16241 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi__testing",
16242 ":cronet_aml_net_tools_huffman_trie_huffman_trie_generator_sources__testing",
16243 ":cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator_sources__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016244 "net/tools/transport_security_state_generator/transport_security_state_generator.cc",
16245 ],
16246 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016247 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16248 "cronet_aml_base_base__testing",
16249 "cronet_aml_base_base_static__testing",
16250 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16251 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16252 "cronet_aml_base_third_party_symbolize_symbolize__testing",
16253 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
16254 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
16255 "cronet_aml_crypto_crypto__testing",
16256 "cronet_aml_third_party_boringssl_boringssl__testing",
16257 "cronet_aml_third_party_icu_icui18n__testing",
16258 "cronet_aml_third_party_icu_icuuc_private__testing",
16259 "cronet_aml_third_party_libevent_libevent__testing",
16260 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016261 ],
16262 host_supported: true,
16263 device_supported: false,
16264 defaults: [
16265 "cronet_aml_defaults",
16266 ],
16267 cflags: [
16268 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16269 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16270 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
16271 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16272 "-DNDEBUG",
16273 "-DNO_UNWIND_TABLES",
16274 "-DNVALGRIND",
16275 "-DOFFICIAL_BUILD",
16276 "-DUSE_AURA=1",
16277 "-DUSE_OZONE=1",
16278 "-DUSE_UDEV",
16279 "-D_FILE_OFFSET_BITS=64",
16280 "-D_FORTIFY_SOURCE=2",
16281 "-D_GNU_SOURCE",
16282 "-D_LARGEFILE64_SOURCE",
16283 "-D_LARGEFILE_SOURCE",
16284 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16285 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16286 "-D__STDC_CONSTANT_MACROS",
16287 "-D__STDC_FORMAT_MACROS",
16288 "-O2",
16289 "-fdata-sections",
16290 "-ffunction-sections",
16291 "-fno-asynchronous-unwind-tables",
16292 "-fno-unwind-tables",
16293 "-fstack-protector",
16294 "-fvisibility-inlines-hidden",
16295 "-fvisibility=hidden",
16296 "-g1",
16297 "-msse3",
16298 ],
16299 local_include_dirs: [
16300 "./",
16301 "buildtools/third_party/libc++/",
16302 "buildtools/third_party/libc++/trunk/include",
16303 "buildtools/third_party/libc++abi/trunk/include",
16304 "third_party/abseil-cpp/",
16305 "third_party/boringssl/src/include/",
16306 ],
16307 cpp_std: "c++20",
16308 ldflags: [
16309 "-Wl,--as-needed",
16310 "-Wl,--gc-sections",
16311 "-Wl,--icf=all",
16312 ],
16313}
16314
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016315// GN: //net/tools/transport_security_state_generator:transport_security_state_generator_sources__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016316cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016317 name: "cronet_aml_net_tools_transport_security_state_generator_transport_security_state_generator_sources__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016318 srcs: [
16319 "net/tools/transport_security_state_generator/cert_util.cc",
16320 "net/tools/transport_security_state_generator/input_file_parsers.cc",
16321 "net/tools/transport_security_state_generator/pinset.cc",
16322 "net/tools/transport_security_state_generator/pinsets.cc",
16323 "net/tools/transport_security_state_generator/preloaded_state_generator.cc",
16324 "net/tools/transport_security_state_generator/spki_hash.cc",
16325 "net/tools/transport_security_state_generator/transport_security_state_entry.cc",
16326 ],
16327 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016328 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16329 "cronet_aml_base_base__testing",
16330 "cronet_aml_base_base_static__testing",
16331 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16332 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16333 "cronet_aml_base_third_party_symbolize_symbolize__testing",
16334 "cronet_aml_base_third_party_xdg_mime_xdg_mime__testing",
16335 "cronet_aml_base_third_party_xdg_user_dirs_xdg_user_dirs__testing",
16336 "cronet_aml_third_party_boringssl_boringssl__testing",
16337 "cronet_aml_third_party_icu_icui18n__testing",
16338 "cronet_aml_third_party_icu_icuuc_private__testing",
16339 "cronet_aml_third_party_libevent_libevent__testing",
16340 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016341 ],
16342 host_supported: true,
16343 device_supported: false,
16344 defaults: [
16345 "cronet_aml_defaults",
16346 ],
16347 cflags: [
16348 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16349 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16350 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
16351 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16352 "-DNDEBUG",
16353 "-DNO_UNWIND_TABLES",
16354 "-DNVALGRIND",
16355 "-DOFFICIAL_BUILD",
16356 "-DUSE_AURA=1",
16357 "-DUSE_OZONE=1",
16358 "-DUSE_UDEV",
16359 "-D_FILE_OFFSET_BITS=64",
16360 "-D_FORTIFY_SOURCE=2",
16361 "-D_GNU_SOURCE",
16362 "-D_LARGEFILE64_SOURCE",
16363 "-D_LARGEFILE_SOURCE",
16364 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16365 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16366 "-D__STDC_CONSTANT_MACROS",
16367 "-D__STDC_FORMAT_MACROS",
16368 "-O2",
16369 "-fdata-sections",
16370 "-ffunction-sections",
16371 "-fno-asynchronous-unwind-tables",
16372 "-fno-unwind-tables",
16373 "-fstack-protector",
16374 "-fvisibility-inlines-hidden",
16375 "-fvisibility=hidden",
16376 "-g1",
16377 "-msse3",
16378 ],
16379 local_include_dirs: [
16380 "./",
16381 "buildtools/third_party/libc++/",
16382 "buildtools/third_party/libc++/trunk/include",
16383 "buildtools/third_party/libc++abi/trunk/include",
16384 "third_party/abseil-cpp/",
16385 "third_party/boringssl/src/include/",
16386 ],
16387 cpp_std: "c++20",
16388}
16389
Patrick Rohrcb035942022-11-01 12:12:52 -070016390// GN: //net/traffic_annotation:traffic_annotation
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016391cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070016392 name: "cronet_aml_net_traffic_annotation_traffic_annotation",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016393 srcs: [
16394 "net/traffic_annotation/network_traffic_annotation_android.cc",
16395 ],
16396 shared_libs: [
16397 "libandroid",
16398 "liblog",
16399 ],
16400 static_libs: [
16401 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
16402 "cronet_aml_base_base",
16403 "cronet_aml_base_base_static",
16404 "cronet_aml_base_third_party_double_conversion_double_conversion",
16405 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
16406 "cronet_aml_third_party_boringssl_boringssl",
16407 "cronet_aml_third_party_icu_icui18n",
16408 "cronet_aml_third_party_icu_icuuc_private",
16409 "cronet_aml_third_party_libevent_libevent",
16410 "cronet_aml_third_party_modp_b64_modp_b64",
16411 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090016412 generated_headers: [
16413 "cronet_aml_build_chromeos_buildflags",
16414 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016415 defaults: [
16416 "cronet_aml_defaults",
16417 ],
16418 cflags: [
16419 "-DANDROID",
16420 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016421 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16422 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016423 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016424 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016425 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090016426 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016427 "-DNVALGRIND",
16428 "-DOFFICIAL_BUILD",
16429 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016430 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016431 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016432 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16433 "-D__STDC_CONSTANT_MACROS",
16434 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016435 "-Oz",
16436 "-fdata-sections",
16437 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090016438 "-fno-asynchronous-unwind-tables",
16439 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016440 "-fvisibility-inlines-hidden",
16441 "-fvisibility=hidden",
16442 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016443 ],
16444 local_include_dirs: [
16445 "./",
16446 "buildtools/third_party/libc++/",
16447 "buildtools/third_party/libc++/trunk/include",
16448 "buildtools/third_party/libc++abi/trunk/include",
16449 "third_party/abseil-cpp/",
16450 "third_party/boringssl/src/include/",
16451 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016452 cpp_std: "c++17",
Motomu Utsumi55394632022-11-18 17:44:28 +090016453 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090016454 android_arm: {
16455 cflags: [
16456 "-fstack-protector",
16457 ],
16458 },
16459 android_arm64: {
16460 cflags: [
16461 "-fstack-protector",
16462 "-mno-outline",
16463 "-mno-outline-atomics",
16464 ],
16465 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016466 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016467 cflags: [
16468 "-msse3",
16469 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090016470 },
16471 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016472 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090016473 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016474 "-msse3",
16475 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090016476 },
16477 },
Patrick Rohrcb035942022-11-01 12:12:52 -070016478}
16479
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016480// GN: //net/traffic_annotation:traffic_annotation__testing
16481cc_object {
16482 name: "cronet_aml_net_traffic_annotation_traffic_annotation__testing",
16483 srcs: [
16484 "net/traffic_annotation/network_traffic_annotation_android.cc",
16485 ],
16486 shared_libs: [
16487 "libandroid",
16488 "liblog",
16489 ],
16490 static_libs: [
16491 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16492 "cronet_aml_base_base__testing",
16493 "cronet_aml_base_base_static__testing",
16494 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16495 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16496 "cronet_aml_third_party_boringssl_boringssl__testing",
16497 "cronet_aml_third_party_icu_icui18n__testing",
16498 "cronet_aml_third_party_icu_icuuc_private__testing",
16499 "cronet_aml_third_party_libevent_libevent__testing",
16500 "cronet_aml_third_party_modp_b64_modp_b64__testing",
16501 ],
16502 generated_headers: [
16503 "cronet_aml_build_chromeos_buildflags__testing",
16504 ],
16505 defaults: [
16506 "cronet_aml_defaults",
16507 ],
16508 cflags: [
16509 "-DANDROID",
16510 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16511 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16512 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16513 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16514 "-DHAVE_SYS_UIO_H",
16515 "-DNDEBUG",
16516 "-DNO_UNWIND_TABLES",
16517 "-DNVALGRIND",
16518 "-DOFFICIAL_BUILD",
16519 "-D_FORTIFY_SOURCE=2",
16520 "-D_GNU_SOURCE",
16521 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16522 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16523 "-D__STDC_CONSTANT_MACROS",
16524 "-D__STDC_FORMAT_MACROS",
16525 "-Oz",
16526 "-fdata-sections",
16527 "-ffunction-sections",
16528 "-fno-asynchronous-unwind-tables",
16529 "-fno-unwind-tables",
16530 "-fvisibility-inlines-hidden",
16531 "-fvisibility=hidden",
16532 "-g1",
16533 ],
16534 local_include_dirs: [
16535 "./",
16536 "buildtools/third_party/libc++/",
16537 "buildtools/third_party/libc++/trunk/include",
16538 "buildtools/third_party/libc++abi/trunk/include",
16539 "third_party/abseil-cpp/",
16540 "third_party/boringssl/src/include/",
16541 ],
16542 cpp_std: "c++17",
16543 target: {
16544 android_arm: {
16545 cflags: [
16546 "-fstack-protector",
16547 ],
16548 },
16549 android_arm64: {
16550 cflags: [
16551 "-fstack-protector",
16552 "-mno-outline",
16553 "-mno-outline-atomics",
16554 ],
16555 },
16556 android_x86: {
16557 cflags: [
16558 "-msse3",
16559 ],
16560 },
16561 android_x86_64: {
16562 cflags: [
16563 "-fstack-protector",
16564 "-msse3",
16565 ],
16566 },
16567 },
16568}
16569
Patrick Rohrcb035942022-11-01 12:12:52 -070016570// GN: //net:uri_template
16571cc_library_static {
16572 name: "cronet_aml_net_uri_template",
16573 srcs: [
16574 "net/third_party/uri_template/uri_template.cc",
16575 ],
16576 shared_libs: [
16577 "libandroid",
16578 "liblog",
16579 ],
16580 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080016581 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070016582 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080016583 "cronet_aml_base_base_static",
16584 "cronet_aml_base_third_party_double_conversion_double_conversion",
16585 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090016586 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080016587 "cronet_aml_third_party_icu_icui18n",
16588 "cronet_aml_third_party_icu_icuuc_private",
16589 "cronet_aml_third_party_libevent_libevent",
16590 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070016591 ],
16592 defaults: [
16593 "cronet_aml_defaults",
16594 ],
16595 cflags: [
16596 "-DANDROID",
16597 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016598 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16599 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016600 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070016601 "-DHAVE_SYS_UIO_H",
16602 "-DIS_URI_TEMPLATE_IMPL",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016603 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090016604 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016605 "-DNVALGRIND",
16606 "-DOFFICIAL_BUILD",
16607 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070016608 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070016609 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070016610 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16611 "-D__STDC_CONSTANT_MACROS",
16612 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016613 "-Oz",
16614 "-fdata-sections",
16615 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090016616 "-fno-asynchronous-unwind-tables",
16617 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016618 "-fvisibility-inlines-hidden",
16619 "-fvisibility=hidden",
16620 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070016621 ],
16622 local_include_dirs: [
16623 "./",
16624 "buildtools/third_party/libc++/",
16625 "buildtools/third_party/libc++/trunk/include",
16626 "buildtools/third_party/libc++abi/trunk/include",
16627 "third_party/abseil-cpp/",
16628 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070016629 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016630 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090016631 ldflags: [
16632 "-Wl,--as-needed",
16633 "-Wl,--gc-sections",
16634 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000016635 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000016636 "-Wl,-wrap,asprintf",
16637 "-Wl,-wrap,calloc",
16638 "-Wl,-wrap,free",
16639 "-Wl,-wrap,getcwd",
16640 "-Wl,-wrap,malloc",
16641 "-Wl,-wrap,malloc_usable_size",
16642 "-Wl,-wrap,memalign",
16643 "-Wl,-wrap,posix_memalign",
16644 "-Wl,-wrap,pvalloc",
16645 "-Wl,-wrap,realloc",
16646 "-Wl,-wrap,realpath",
16647 "-Wl,-wrap,strdup",
16648 "-Wl,-wrap,strndup",
16649 "-Wl,-wrap,valloc",
16650 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090016651 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016652 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090016653 android_arm: {
16654 cflags: [
16655 "-fstack-protector",
16656 ],
16657 },
16658 android_arm64: {
16659 cflags: [
16660 "-fstack-protector",
16661 "-mno-outline",
16662 "-mno-outline-atomics",
16663 ],
16664 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016665 android_x86: {
16666 cflags: [
16667 "-msse3",
16668 ],
16669 },
16670 android_x86_64: {
16671 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090016672 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016673 "-msse3",
16674 ],
16675 },
16676 },
Patrick Rohrcb035942022-11-01 12:12:52 -070016677}
16678
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016679// GN: //net:uri_template__testing
16680cc_library_static {
16681 name: "cronet_aml_net_uri_template__testing",
16682 srcs: [
16683 "net/third_party/uri_template/uri_template.cc",
16684 ],
16685 shared_libs: [
16686 "libandroid",
16687 "liblog",
16688 ],
16689 static_libs: [
16690 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16691 "cronet_aml_base_base__testing",
16692 "cronet_aml_base_base_static__testing",
16693 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16694 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16695 "cronet_aml_third_party_boringssl_boringssl__testing",
16696 "cronet_aml_third_party_icu_icui18n__testing",
16697 "cronet_aml_third_party_icu_icuuc_private__testing",
16698 "cronet_aml_third_party_libevent_libevent__testing",
16699 "cronet_aml_third_party_modp_b64_modp_b64__testing",
16700 ],
16701 defaults: [
16702 "cronet_aml_defaults",
16703 ],
16704 cflags: [
16705 "-DANDROID",
16706 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16707 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16708 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16709 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16710 "-DHAVE_SYS_UIO_H",
16711 "-DIS_URI_TEMPLATE_IMPL",
16712 "-DNDEBUG",
16713 "-DNO_UNWIND_TABLES",
16714 "-DNVALGRIND",
16715 "-DOFFICIAL_BUILD",
16716 "-D_FORTIFY_SOURCE=2",
16717 "-D_GNU_SOURCE",
16718 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16719 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16720 "-D__STDC_CONSTANT_MACROS",
16721 "-D__STDC_FORMAT_MACROS",
16722 "-Oz",
16723 "-fdata-sections",
16724 "-ffunction-sections",
16725 "-fno-asynchronous-unwind-tables",
16726 "-fno-unwind-tables",
16727 "-fvisibility-inlines-hidden",
16728 "-fvisibility=hidden",
16729 "-g1",
16730 ],
16731 local_include_dirs: [
16732 "./",
16733 "buildtools/third_party/libc++/",
16734 "buildtools/third_party/libc++/trunk/include",
16735 "buildtools/third_party/libc++abi/trunk/include",
16736 "third_party/abseil-cpp/",
16737 "third_party/boringssl/src/include/",
16738 ],
16739 cpp_std: "c++17",
16740 ldflags: [
16741 "-Wl,--as-needed",
16742 "-Wl,--gc-sections",
16743 "-Wl,--icf=all",
16744 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
16745 "-Wl,-wrap,asprintf",
16746 "-Wl,-wrap,calloc",
16747 "-Wl,-wrap,free",
16748 "-Wl,-wrap,getcwd",
16749 "-Wl,-wrap,malloc",
16750 "-Wl,-wrap,malloc_usable_size",
16751 "-Wl,-wrap,memalign",
16752 "-Wl,-wrap,posix_memalign",
16753 "-Wl,-wrap,pvalloc",
16754 "-Wl,-wrap,realloc",
16755 "-Wl,-wrap,realpath",
16756 "-Wl,-wrap,strdup",
16757 "-Wl,-wrap,strndup",
16758 "-Wl,-wrap,valloc",
16759 "-Wl,-wrap,vasprintf",
16760 ],
16761 target: {
16762 android_arm: {
16763 cflags: [
16764 "-fstack-protector",
16765 ],
16766 },
16767 android_arm64: {
16768 cflags: [
16769 "-fstack-protector",
16770 "-mno-outline",
16771 "-mno-outline-atomics",
16772 ],
16773 },
16774 android_x86: {
16775 cflags: [
16776 "-msse3",
16777 ],
16778 },
16779 android_x86_64: {
16780 cflags: [
16781 "-fstack-protector",
16782 "-msse3",
16783 ],
16784 },
16785 },
16786}
16787
16788// GN: //testing/android/native_test:native_test_jni_headers__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016789cc_genrule {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016790 name: "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016791 srcs: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016792 "testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java",
16793 "testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java",
16794 ],
16795 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
16796 "long " +
16797 "--output_dir " +
16798 "$(genDir)/testing/android/native_test/native_test_jni_headers " +
16799 "--includes " +
16800 "base/android/jni_generator/jni_generator_helper.h " +
16801 "--use_proxy_hash " +
16802 "--output_name " +
16803 "MainRunner_jni.h " +
16804 "--output_name " +
16805 "NativeTest_jni.h " +
16806 "--input_file " +
16807 "$(location testing/android/native_test/java/src/org/chromium/native_test/MainRunner.java) " +
16808 "--input_file " +
Mohannad Farragf27cd352023-02-10 17:41:19 +000016809 "$(location testing/android/native_test/java/src/org/chromium/native_test/NativeTest.java)",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016810 out: [
16811 "testing/android/native_test/native_test_jni_headers/MainRunner_jni.h",
16812 "testing/android/native_test/native_test_jni_headers/NativeTest_jni.h",
16813 ],
16814 tool_files: [
16815 "base/android/jni_generator/android_jar.classes",
16816 "base/android/jni_generator/jni_generator.py",
16817 "build/android/gyp/util/__init__.py",
16818 "build/android/gyp/util/build_utils.py",
16819 "build/gn_helpers.py",
16820 ],
16821 apex_available: [
16822 "com.android.tethering",
16823 ],
16824}
16825
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016826// GN: //testing/android/native_test:native_test_native_code__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016827cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016828 name: "cronet_aml_testing_android_native_test_native_test_native_code__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016829 srcs: [
16830 "testing/android/native_test/native_test_jni_onload.cc",
16831 ],
16832 shared_libs: [
16833 "libandroid",
16834 "liblog",
16835 "libz",
16836 ],
16837 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016838 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16839 "cronet_aml_base_base__testing",
16840 "cronet_aml_base_base_static__testing",
16841 "cronet_aml_base_i18n__testing",
16842 "cronet_aml_base_test_test_config__testing",
16843 "cronet_aml_base_test_test_support__testing",
16844 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16845 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16846 "cronet_aml_testing_gtest_gtest__testing",
16847 "cronet_aml_third_party_boringssl_boringssl__testing",
16848 "cronet_aml_third_party_ced_ced__testing",
16849 "cronet_aml_third_party_icu_icui18n__testing",
16850 "cronet_aml_third_party_icu_icuuc_private__testing",
16851 "cronet_aml_third_party_libevent_libevent__testing",
16852 "cronet_aml_third_party_libxml_libxml__testing",
16853 "cronet_aml_third_party_libxml_libxml_utils__testing",
16854 "cronet_aml_third_party_libxml_xml_reader__testing",
16855 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016856 ],
16857 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016858 "cronet_aml_base_debugging_buildflags__testing",
16859 "cronet_aml_base_logging_buildflags__testing",
16860 "cronet_aml_build_chromeos_buildflags__testing",
16861 "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016862 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016863 defaults: [
16864 "cronet_aml_defaults",
16865 ],
16866 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016867 "-DANDROID",
16868 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016869 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16870 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016871 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016872 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016873 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090016874 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090016875 "-DNVALGRIND",
16876 "-DOFFICIAL_BUILD",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016877 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016878 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016879 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016880 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016881 "-D__STDC_CONSTANT_MACROS",
16882 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016883 "-Oz",
16884 "-fdata-sections",
16885 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090016886 "-fno-asynchronous-unwind-tables",
16887 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090016888 "-fvisibility-inlines-hidden",
16889 "-fvisibility=hidden",
16890 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016891 ],
16892 local_include_dirs: [
16893 "./",
16894 "buildtools/third_party/libc++/",
16895 "buildtools/third_party/libc++/trunk/include",
16896 "buildtools/third_party/libc++abi/trunk/include",
16897 "third_party/abseil-cpp/",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016898 "third_party/boringssl/src/include/",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016899 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090016900 cpp_std: "c++17",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016901 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090016902 android_arm: {
16903 cflags: [
16904 "-fstack-protector",
16905 ],
16906 },
16907 android_arm64: {
16908 cflags: [
16909 "-fstack-protector",
16910 "-mno-outline",
16911 "-mno-outline-atomics",
16912 ],
16913 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016914 android_x86: {
16915 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016916 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016917 ],
16918 },
16919 android_x86_64: {
16920 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090016921 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016922 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090016923 ],
16924 },
16925 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016926}
16927
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016928// GN: //testing/android/native_test:native_test_support__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016929cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016930 name: "cronet_aml_testing_android_native_test_native_test_support__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016931 srcs: [
16932 "testing/android/native_test/main_runner.cc",
16933 "testing/android/native_test/native_test_launcher.cc",
16934 "testing/android/native_test/native_test_util.cc",
16935 ],
16936 shared_libs: [
16937 "libandroid",
16938 "liblog",
16939 "libz",
16940 ],
16941 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016942 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
16943 "cronet_aml_base_base__testing",
16944 "cronet_aml_base_base_static__testing",
16945 "cronet_aml_base_i18n__testing",
16946 "cronet_aml_base_test_test_config__testing",
16947 "cronet_aml_base_test_test_support__testing",
16948 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
16949 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
16950 "cronet_aml_testing_gtest_gtest__testing",
16951 "cronet_aml_third_party_boringssl_boringssl__testing",
16952 "cronet_aml_third_party_ced_ced__testing",
16953 "cronet_aml_third_party_icu_icui18n__testing",
16954 "cronet_aml_third_party_icu_icuuc_private__testing",
16955 "cronet_aml_third_party_libevent_libevent__testing",
16956 "cronet_aml_third_party_libxml_libxml__testing",
16957 "cronet_aml_third_party_libxml_libxml_utils__testing",
16958 "cronet_aml_third_party_libxml_xml_reader__testing",
16959 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016960 ],
16961 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000016962 "cronet_aml_base_debugging_buildflags__testing",
16963 "cronet_aml_base_logging_buildflags__testing",
16964 "cronet_aml_build_chromeos_buildflags__testing",
16965 "cronet_aml_testing_android_native_test_native_test_jni_headers__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000016966 ],
16967 defaults: [
16968 "cronet_aml_defaults",
16969 ],
16970 cflags: [
16971 "-DANDROID",
16972 "-DANDROID_NDK_VERSION_ROLL=r23_1",
16973 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
16974 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
16975 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
16976 "-DGTEST_API_=",
16977 "-DGTEST_HAS_ABSL=1",
16978 "-DGTEST_HAS_POSIX_RE=0",
16979 "-DGTEST_HAS_TR1_TUPLE=0",
16980 "-DGTEST_LANG_CXX11=1",
16981 "-DHAVE_SYS_UIO_H",
16982 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
16983 "-DNDEBUG",
16984 "-DNO_UNWIND_TABLES",
16985 "-DNVALGRIND",
16986 "-DOFFICIAL_BUILD",
16987 "-DUNIT_TEST",
16988 "-DUSE_CHROMIUM_ICU=1",
16989 "-DU_ENABLE_DYLOAD=0",
16990 "-DU_ENABLE_RESOURCE_TRACING=0",
16991 "-DU_ENABLE_TRACING=1",
16992 "-DU_STATIC_IMPLEMENTATION",
16993 "-DU_USING_ICU_NAMESPACE=0",
16994 "-D_FORTIFY_SOURCE=2",
16995 "-D_GNU_SOURCE",
16996 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16997 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
16998 "-D__STDC_CONSTANT_MACROS",
16999 "-D__STDC_FORMAT_MACROS",
17000 "-Oz",
17001 "-fdata-sections",
17002 "-ffunction-sections",
17003 "-fno-asynchronous-unwind-tables",
17004 "-fno-unwind-tables",
17005 "-fvisibility-inlines-hidden",
17006 "-fvisibility=hidden",
17007 "-g1",
17008 ],
17009 local_include_dirs: [
17010 "./",
17011 "buildtools/third_party/libc++/",
17012 "buildtools/third_party/libc++/trunk/include",
17013 "buildtools/third_party/libc++abi/trunk/include",
17014 "third_party/abseil-cpp/",
17015 "third_party/boringssl/src/include/",
17016 "third_party/ced/src/",
17017 "third_party/googletest/custom/",
17018 "third_party/googletest/src/googlemock/include/",
17019 "third_party/googletest/src/googletest/include/",
17020 "third_party/icu/source/common/",
17021 "third_party/icu/source/i18n/",
17022 ],
17023 cpp_std: "c++17",
17024 target: {
17025 android_arm: {
17026 cflags: [
17027 "-fstack-protector",
17028 ],
17029 },
17030 android_arm64: {
17031 cflags: [
17032 "-fstack-protector",
17033 "-mno-outline",
17034 "-mno-outline-atomics",
17035 ],
17036 },
17037 android_x86: {
17038 cflags: [
17039 "-msse3",
17040 ],
17041 },
17042 android_x86_64: {
17043 cflags: [
17044 "-fstack-protector",
17045 "-msse3",
17046 ],
17047 },
17048 },
17049}
17050
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017051// GN: //testing/gtest:gtest__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017052cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017053 name: "cronet_aml_testing_gtest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017054 srcs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017055 ":cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
17056 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
17057 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
17058 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
17059 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
17060 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
17061 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
17062 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
17063 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
17064 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
17065 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
17066 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
17067 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
17068 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
17069 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
17070 ":cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
17071 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
17072 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
17073 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
17074 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
17075 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
17076 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
17077 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
17078 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
17079 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
17080 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
17081 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
17082 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
17083 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
17084 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
17085 ":cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
17086 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
17087 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
17088 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
17089 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
17090 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
17091 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
17092 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
17093 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
17094 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
17095 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
17096 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
17097 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
17098 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
17099 ":cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
17100 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
17101 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
17102 ":cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017103 "testing/gtest/empty.cc",
17104 "testing/multiprocess_func_list.cc",
17105 ],
17106 shared_libs: [
17107 "libandroid",
17108 "liblog",
17109 ],
17110 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017111 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
17112 "cronet_aml_base_base__testing",
17113 "cronet_aml_base_base_static__testing",
17114 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
17115 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
17116 "cronet_aml_third_party_boringssl_boringssl__testing",
17117 "cronet_aml_third_party_icu_icui18n__testing",
17118 "cronet_aml_third_party_icu_icuuc_private__testing",
17119 "cronet_aml_third_party_libevent_libevent__testing",
17120 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017121 ],
17122 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017123 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017124 ],
17125 export_generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017126 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017127 ],
17128 defaults: [
17129 "cronet_aml_defaults",
17130 ],
17131 cflags: [
17132 "-DANDROID",
17133 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17134 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17135 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17136 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17137 "-DGTEST_API_=",
17138 "-DGTEST_HAS_ABSL=1",
17139 "-DGTEST_HAS_POSIX_RE=0",
17140 "-DGTEST_HAS_TR1_TUPLE=0",
17141 "-DGTEST_LANG_CXX11=1",
17142 "-DHAVE_SYS_UIO_H",
17143 "-DNDEBUG",
17144 "-DNO_UNWIND_TABLES",
17145 "-DNVALGRIND",
17146 "-DOFFICIAL_BUILD",
17147 "-DUNIT_TEST",
17148 "-D_FORTIFY_SOURCE=2",
17149 "-D_GNU_SOURCE",
17150 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17151 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17152 "-D__STDC_CONSTANT_MACROS",
17153 "-D__STDC_FORMAT_MACROS",
17154 "-Oz",
17155 "-fdata-sections",
17156 "-ffunction-sections",
17157 "-fno-asynchronous-unwind-tables",
17158 "-fno-unwind-tables",
17159 "-fvisibility-inlines-hidden",
17160 "-fvisibility=hidden",
17161 "-g1",
17162 ],
17163 local_include_dirs: [
17164 "./",
17165 "buildtools/third_party/libc++/",
17166 "buildtools/third_party/libc++/trunk/include",
17167 "buildtools/third_party/libc++abi/trunk/include",
17168 "third_party/abseil-cpp/",
17169 "third_party/googletest/custom/",
17170 "third_party/googletest/src/googletest/include/",
17171 ],
17172 cpp_std: "c++17",
17173 ldflags: [
17174 "-Wl,--as-needed",
17175 "-Wl,--gc-sections",
17176 "-Wl,--icf=all",
17177 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
17178 "-Wl,-wrap,asprintf",
17179 "-Wl,-wrap,calloc",
17180 "-Wl,-wrap,free",
17181 "-Wl,-wrap,getcwd",
17182 "-Wl,-wrap,malloc",
17183 "-Wl,-wrap,malloc_usable_size",
17184 "-Wl,-wrap,memalign",
17185 "-Wl,-wrap,posix_memalign",
17186 "-Wl,-wrap,pvalloc",
17187 "-Wl,-wrap,realloc",
17188 "-Wl,-wrap,realpath",
17189 "-Wl,-wrap,strdup",
17190 "-Wl,-wrap,strndup",
17191 "-Wl,-wrap,valloc",
17192 "-Wl,-wrap,vasprintf",
17193 ],
17194 target: {
17195 android_arm: {
17196 cflags: [
17197 "-fstack-protector",
17198 ],
17199 },
17200 android_arm64: {
17201 cflags: [
17202 "-fstack-protector",
17203 "-mno-outline",
17204 "-mno-outline-atomics",
17205 ],
17206 },
17207 android_x86: {
17208 cflags: [
17209 "-msse3",
17210 ],
17211 },
17212 android_x86_64: {
17213 cflags: [
17214 "-fstack-protector",
17215 "-msse3",
17216 ],
17217 },
17218 },
17219}
17220
17221// GN: //third_party/abseil-cpp/absl/base:base
17222cc_object {
17223 name: "cronet_aml_third_party_abseil_cpp_absl_base_base",
17224 srcs: [
17225 "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
17226 "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
17227 "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
17228 "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
17229 "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
17230 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017231 defaults: [
17232 "cronet_aml_defaults",
17233 ],
17234 cflags: [
17235 "-DABSL_ALLOCATOR_NOTHROW=1",
17236 "-DANDROID",
17237 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17238 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17239 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17240 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17241 "-DHAVE_SYS_UIO_H",
17242 "-DNDEBUG",
17243 "-DNO_UNWIND_TABLES",
17244 "-DNVALGRIND",
17245 "-DOFFICIAL_BUILD",
17246 "-D_GNU_SOURCE",
17247 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17248 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17249 "-Oz",
17250 "-fdata-sections",
17251 "-ffunction-sections",
17252 "-fno-asynchronous-unwind-tables",
17253 "-fno-unwind-tables",
17254 "-fvisibility-inlines-hidden",
17255 "-fvisibility=hidden",
17256 "-g1",
17257 ],
17258 local_include_dirs: [
17259 "./",
17260 "buildtools/third_party/libc++/",
17261 "buildtools/third_party/libc++/trunk/include",
17262 "buildtools/third_party/libc++abi/trunk/include",
17263 "third_party/abseil-cpp/",
17264 ],
17265 cpp_std: "c++17",
17266 target: {
17267 android_arm: {
17268 cflags: [
17269 "-fstack-protector",
17270 ],
17271 },
17272 android_arm64: {
17273 cflags: [
17274 "-fstack-protector",
17275 "-mno-outline",
17276 "-mno-outline-atomics",
17277 ],
17278 },
17279 android_x86: {
17280 cflags: [
17281 "-msse3",
17282 ],
17283 },
17284 android_x86_64: {
17285 cflags: [
17286 "-fstack-protector",
17287 "-msse3",
17288 ],
17289 },
17290 },
17291}
17292
17293// GN: //third_party/abseil-cpp/absl/base:base__testing
17294cc_object {
17295 name: "cronet_aml_third_party_abseil_cpp_absl_base_base__testing",
17296 srcs: [
17297 "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
17298 "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
17299 "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
17300 "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
17301 "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
17302 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017303 host_supported: true,
17304 defaults: [
17305 "cronet_aml_defaults",
17306 ],
17307 cflags: [
17308 "-DABSL_ALLOCATOR_NOTHROW=1",
17309 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17310 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17311 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17312 "-DNDEBUG",
17313 "-DNO_UNWIND_TABLES",
17314 "-DNVALGRIND",
17315 "-DOFFICIAL_BUILD",
17316 "-D_GNU_SOURCE",
17317 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17318 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17319 "-fdata-sections",
17320 "-ffunction-sections",
17321 "-fno-asynchronous-unwind-tables",
17322 "-fno-unwind-tables",
17323 "-fvisibility-inlines-hidden",
17324 "-fvisibility=hidden",
17325 "-g1",
17326 ],
17327 local_include_dirs: [
17328 "./",
17329 "buildtools/third_party/libc++/",
17330 "buildtools/third_party/libc++/trunk/include",
17331 "buildtools/third_party/libc++abi/trunk/include",
17332 "third_party/abseil-cpp/",
17333 ],
17334 target: {
17335 android_arm: {
17336 cflags: [
17337 "-DANDROID",
17338 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17339 "-DHAVE_SYS_UIO_H",
17340 "-Oz",
17341 "-fstack-protector",
17342 ],
17343 },
17344 android_arm64: {
17345 cflags: [
17346 "-DANDROID",
17347 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17348 "-DHAVE_SYS_UIO_H",
17349 "-Oz",
17350 "-fstack-protector",
17351 "-mno-outline",
17352 "-mno-outline-atomics",
17353 ],
17354 },
17355 android_x86: {
17356 cflags: [
17357 "-DANDROID",
17358 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17359 "-DHAVE_SYS_UIO_H",
17360 "-Oz",
17361 "-msse3",
17362 ],
17363 },
17364 android_x86_64: {
17365 cflags: [
17366 "-DANDROID",
17367 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17368 "-DHAVE_SYS_UIO_H",
17369 "-Oz",
17370 "-fstack-protector",
17371 "-msse3",
17372 ],
17373 },
17374 host: {
17375 cflags: [
17376 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
17377 "-DUSE_AURA=1",
17378 "-DUSE_OZONE=1",
17379 "-DUSE_UDEV",
17380 "-D_FILE_OFFSET_BITS=64",
17381 "-D_LARGEFILE64_SOURCE",
17382 "-D_LARGEFILE_SOURCE",
17383 "-O2",
17384 "-fstack-protector",
17385 "-msse3",
17386 ],
17387 },
17388 },
17389}
17390
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017391// GN: //third_party/abseil-cpp/absl/base:log_severity
17392cc_object {
17393 name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
17394 srcs: [
17395 "third_party/abseil-cpp/absl/base/log_severity.cc",
17396 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017397 defaults: [
17398 "cronet_aml_defaults",
17399 ],
17400 cflags: [
17401 "-DABSL_ALLOCATOR_NOTHROW=1",
17402 "-DANDROID",
17403 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17404 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17405 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17406 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17407 "-DHAVE_SYS_UIO_H",
17408 "-DNDEBUG",
17409 "-DNO_UNWIND_TABLES",
17410 "-DNVALGRIND",
17411 "-DOFFICIAL_BUILD",
17412 "-D_GNU_SOURCE",
17413 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17414 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17415 "-Oz",
17416 "-fdata-sections",
17417 "-ffunction-sections",
17418 "-fno-asynchronous-unwind-tables",
17419 "-fno-unwind-tables",
17420 "-fvisibility-inlines-hidden",
17421 "-fvisibility=hidden",
17422 "-g1",
17423 ],
17424 local_include_dirs: [
17425 "./",
17426 "buildtools/third_party/libc++/",
17427 "buildtools/third_party/libc++/trunk/include",
17428 "buildtools/third_party/libc++abi/trunk/include",
17429 "third_party/abseil-cpp/",
17430 ],
17431 cpp_std: "c++17",
17432 target: {
17433 android_arm: {
17434 cflags: [
17435 "-fstack-protector",
17436 ],
17437 },
17438 android_arm64: {
17439 cflags: [
17440 "-fstack-protector",
17441 "-mno-outline",
17442 "-mno-outline-atomics",
17443 ],
17444 },
17445 android_x86: {
17446 cflags: [
17447 "-msse3",
17448 ],
17449 },
17450 android_x86_64: {
17451 cflags: [
17452 "-fstack-protector",
17453 "-msse3",
17454 ],
17455 },
17456 },
17457}
17458
17459// GN: //third_party/abseil-cpp/absl/base:log_severity__testing
17460cc_object {
17461 name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity__testing",
17462 srcs: [
17463 "third_party/abseil-cpp/absl/base/log_severity.cc",
17464 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017465 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017466 defaults: [
17467 "cronet_aml_defaults",
17468 ],
17469 cflags: [
17470 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090017471 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17472 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017473 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017474 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090017475 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017476 "-DNVALGRIND",
17477 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017478 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017479 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017480 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017481 "-fdata-sections",
17482 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090017483 "-fno-asynchronous-unwind-tables",
17484 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017485 "-fvisibility-inlines-hidden",
17486 "-fvisibility=hidden",
17487 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017488 ],
17489 local_include_dirs: [
17490 "./",
17491 "buildtools/third_party/libc++/",
17492 "buildtools/third_party/libc++/trunk/include",
17493 "buildtools/third_party/libc++abi/trunk/include",
17494 "third_party/abseil-cpp/",
17495 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017496 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090017497 android_arm: {
17498 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017499 "-DANDROID",
17500 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17501 "-DHAVE_SYS_UIO_H",
17502 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017503 "-fstack-protector",
17504 ],
17505 },
17506 android_arm64: {
17507 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017508 "-DANDROID",
17509 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17510 "-DHAVE_SYS_UIO_H",
17511 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017512 "-fstack-protector",
17513 "-mno-outline",
17514 "-mno-outline-atomics",
17515 ],
17516 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017517 android_x86: {
17518 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017519 "-DANDROID",
17520 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17521 "-DHAVE_SYS_UIO_H",
17522 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017523 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017524 ],
17525 },
17526 android_x86_64: {
17527 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017528 "-DANDROID",
17529 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17530 "-DHAVE_SYS_UIO_H",
17531 "-Oz",
17532 "-fstack-protector",
17533 "-msse3",
17534 ],
17535 },
17536 host: {
17537 cflags: [
17538 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
17539 "-DUSE_AURA=1",
17540 "-DUSE_OZONE=1",
17541 "-DUSE_UDEV",
17542 "-D_FILE_OFFSET_BITS=64",
17543 "-D_LARGEFILE64_SOURCE",
17544 "-D_LARGEFILE_SOURCE",
17545 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017546 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017547 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017548 ],
17549 },
17550 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017551}
17552
17553// GN: //third_party/abseil-cpp/absl/base:malloc_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017554cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017555 name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017556 srcs: [
17557 "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
17558 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017559 defaults: [
17560 "cronet_aml_defaults",
17561 ],
17562 cflags: [
17563 "-DABSL_ALLOCATOR_NOTHROW=1",
17564 "-DANDROID",
17565 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17566 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17567 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17568 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17569 "-DHAVE_SYS_UIO_H",
17570 "-DNDEBUG",
17571 "-DNO_UNWIND_TABLES",
17572 "-DNVALGRIND",
17573 "-DOFFICIAL_BUILD",
17574 "-D_GNU_SOURCE",
17575 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17576 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17577 "-Oz",
17578 "-fdata-sections",
17579 "-ffunction-sections",
17580 "-fno-asynchronous-unwind-tables",
17581 "-fno-unwind-tables",
17582 "-fvisibility-inlines-hidden",
17583 "-fvisibility=hidden",
17584 "-g1",
17585 ],
17586 local_include_dirs: [
17587 "./",
17588 "buildtools/third_party/libc++/",
17589 "buildtools/third_party/libc++/trunk/include",
17590 "buildtools/third_party/libc++abi/trunk/include",
17591 "third_party/abseil-cpp/",
17592 ],
17593 cpp_std: "c++17",
17594 target: {
17595 android_arm: {
17596 cflags: [
17597 "-fstack-protector",
17598 ],
17599 },
17600 android_arm64: {
17601 cflags: [
17602 "-fstack-protector",
17603 "-mno-outline",
17604 "-mno-outline-atomics",
17605 ],
17606 },
17607 android_x86: {
17608 cflags: [
17609 "-msse3",
17610 ],
17611 },
17612 android_x86_64: {
17613 cflags: [
17614 "-fstack-protector",
17615 "-msse3",
17616 ],
17617 },
17618 },
17619}
17620
17621// GN: //third_party/abseil-cpp/absl/base:malloc_internal__testing
17622cc_object {
17623 name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal__testing",
17624 srcs: [
17625 "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
17626 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017627 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017628 defaults: [
17629 "cronet_aml_defaults",
17630 ],
17631 cflags: [
17632 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090017633 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17634 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017635 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017636 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090017637 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017638 "-DNVALGRIND",
17639 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017640 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017641 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017642 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017643 "-fdata-sections",
17644 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090017645 "-fno-asynchronous-unwind-tables",
17646 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017647 "-fvisibility-inlines-hidden",
17648 "-fvisibility=hidden",
17649 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017650 ],
17651 local_include_dirs: [
17652 "./",
17653 "buildtools/third_party/libc++/",
17654 "buildtools/third_party/libc++/trunk/include",
17655 "buildtools/third_party/libc++abi/trunk/include",
17656 "third_party/abseil-cpp/",
17657 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090017658 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090017659 android_arm: {
17660 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017661 "-DANDROID",
17662 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17663 "-DHAVE_SYS_UIO_H",
17664 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017665 "-fstack-protector",
17666 ],
17667 },
17668 android_arm64: {
17669 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017670 "-DANDROID",
17671 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17672 "-DHAVE_SYS_UIO_H",
17673 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017674 "-fstack-protector",
17675 "-mno-outline",
17676 "-mno-outline-atomics",
17677 ],
17678 },
Motomu Utsumi55394632022-11-18 17:44:28 +090017679 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017680 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017681 "-DANDROID",
17682 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17683 "-DHAVE_SYS_UIO_H",
17684 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017685 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017686 ],
17687 },
17688 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017689 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017690 "-DANDROID",
17691 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17692 "-DHAVE_SYS_UIO_H",
17693 "-Oz",
17694 "-fstack-protector",
17695 "-msse3",
17696 ],
17697 },
17698 host: {
17699 cflags: [
17700 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
17701 "-DUSE_AURA=1",
17702 "-DUSE_OZONE=1",
17703 "-DUSE_UDEV",
17704 "-D_FILE_OFFSET_BITS=64",
17705 "-D_LARGEFILE64_SOURCE",
17706 "-D_LARGEFILE_SOURCE",
17707 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017708 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017709 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017710 ],
17711 },
17712 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017713}
17714
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017715// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal
17716cc_object {
17717 name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
17718 srcs: [
17719 "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
17720 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017721 defaults: [
17722 "cronet_aml_defaults",
17723 ],
17724 cflags: [
17725 "-DABSL_ALLOCATOR_NOTHROW=1",
17726 "-DANDROID",
17727 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17728 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17729 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17730 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17731 "-DHAVE_SYS_UIO_H",
17732 "-DNDEBUG",
17733 "-DNO_UNWIND_TABLES",
17734 "-DNVALGRIND",
17735 "-DOFFICIAL_BUILD",
17736 "-D_GNU_SOURCE",
17737 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17738 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17739 "-Oz",
17740 "-fdata-sections",
17741 "-ffunction-sections",
17742 "-fno-asynchronous-unwind-tables",
17743 "-fno-unwind-tables",
17744 "-fvisibility-inlines-hidden",
17745 "-fvisibility=hidden",
17746 "-g1",
17747 ],
17748 local_include_dirs: [
17749 "./",
17750 "buildtools/third_party/libc++/",
17751 "buildtools/third_party/libc++/trunk/include",
17752 "buildtools/third_party/libc++abi/trunk/include",
17753 "third_party/abseil-cpp/",
17754 ],
17755 cpp_std: "c++17",
17756 target: {
17757 android_arm: {
17758 cflags: [
17759 "-fstack-protector",
17760 ],
17761 },
17762 android_arm64: {
17763 cflags: [
17764 "-fstack-protector",
17765 "-mno-outline",
17766 "-mno-outline-atomics",
17767 ],
17768 },
17769 android_x86: {
17770 cflags: [
17771 "-msse3",
17772 ],
17773 },
17774 android_x86_64: {
17775 cflags: [
17776 "-fstack-protector",
17777 "-msse3",
17778 ],
17779 },
17780 },
17781}
17782
17783// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal__testing
17784cc_object {
17785 name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal__testing",
17786 srcs: [
17787 "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
17788 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017789 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017790 defaults: [
17791 "cronet_aml_defaults",
17792 ],
17793 cflags: [
17794 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090017795 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17796 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017797 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017798 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090017799 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017800 "-DNVALGRIND",
17801 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017802 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017803 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017804 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017805 "-fdata-sections",
17806 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090017807 "-fno-asynchronous-unwind-tables",
17808 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017809 "-fvisibility-inlines-hidden",
17810 "-fvisibility=hidden",
17811 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017812 ],
17813 local_include_dirs: [
17814 "./",
17815 "buildtools/third_party/libc++/",
17816 "buildtools/third_party/libc++/trunk/include",
17817 "buildtools/third_party/libc++abi/trunk/include",
17818 "third_party/abseil-cpp/",
17819 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017820 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090017821 android_arm: {
17822 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017823 "-DANDROID",
17824 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17825 "-DHAVE_SYS_UIO_H",
17826 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017827 "-fstack-protector",
17828 ],
17829 },
17830 android_arm64: {
17831 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017832 "-DANDROID",
17833 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17834 "-DHAVE_SYS_UIO_H",
17835 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017836 "-fstack-protector",
17837 "-mno-outline",
17838 "-mno-outline-atomics",
17839 ],
17840 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017841 android_x86: {
17842 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017843 "-DANDROID",
17844 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17845 "-DHAVE_SYS_UIO_H",
17846 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017847 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017848 ],
17849 },
17850 android_x86_64: {
17851 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017852 "-DANDROID",
17853 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17854 "-DHAVE_SYS_UIO_H",
17855 "-Oz",
17856 "-fstack-protector",
17857 "-msse3",
17858 ],
17859 },
17860 host: {
17861 cflags: [
17862 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
17863 "-DUSE_AURA=1",
17864 "-DUSE_OZONE=1",
17865 "-DUSE_UDEV",
17866 "-D_FILE_OFFSET_BITS=64",
17867 "-D_LARGEFILE64_SOURCE",
17868 "-D_LARGEFILE_SOURCE",
17869 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017870 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017871 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017872 ],
17873 },
17874 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017875}
17876
17877// GN: //third_party/abseil-cpp/absl/base:spinlock_wait
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017878cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017879 name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017880 srcs: [
17881 "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
17882 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000017883 defaults: [
17884 "cronet_aml_defaults",
17885 ],
17886 cflags: [
17887 "-DABSL_ALLOCATOR_NOTHROW=1",
17888 "-DANDROID",
17889 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17890 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17891 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
17892 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
17893 "-DHAVE_SYS_UIO_H",
17894 "-DNDEBUG",
17895 "-DNO_UNWIND_TABLES",
17896 "-DNVALGRIND",
17897 "-DOFFICIAL_BUILD",
17898 "-D_GNU_SOURCE",
17899 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17900 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
17901 "-Oz",
17902 "-fdata-sections",
17903 "-ffunction-sections",
17904 "-fno-asynchronous-unwind-tables",
17905 "-fno-unwind-tables",
17906 "-fvisibility-inlines-hidden",
17907 "-fvisibility=hidden",
17908 "-g1",
17909 ],
17910 local_include_dirs: [
17911 "./",
17912 "buildtools/third_party/libc++/",
17913 "buildtools/third_party/libc++/trunk/include",
17914 "buildtools/third_party/libc++abi/trunk/include",
17915 "third_party/abseil-cpp/",
17916 ],
17917 cpp_std: "c++17",
17918 target: {
17919 android_arm: {
17920 cflags: [
17921 "-fstack-protector",
17922 ],
17923 },
17924 android_arm64: {
17925 cflags: [
17926 "-fstack-protector",
17927 "-mno-outline",
17928 "-mno-outline-atomics",
17929 ],
17930 },
17931 android_x86: {
17932 cflags: [
17933 "-msse3",
17934 ],
17935 },
17936 android_x86_64: {
17937 cflags: [
17938 "-fstack-protector",
17939 "-msse3",
17940 ],
17941 },
17942 },
17943}
17944
17945// GN: //third_party/abseil-cpp/absl/base:spinlock_wait__testing
17946cc_object {
17947 name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait__testing",
17948 srcs: [
17949 "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
17950 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017951 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017952 defaults: [
17953 "cronet_aml_defaults",
17954 ],
17955 cflags: [
17956 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090017957 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
17958 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017959 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017960 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090017961 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090017962 "-DNVALGRIND",
17963 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017964 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017965 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017966 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017967 "-fdata-sections",
17968 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090017969 "-fno-asynchronous-unwind-tables",
17970 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017971 "-fvisibility-inlines-hidden",
17972 "-fvisibility=hidden",
17973 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017974 ],
17975 local_include_dirs: [
17976 "./",
17977 "buildtools/third_party/libc++/",
17978 "buildtools/third_party/libc++/trunk/include",
17979 "buildtools/third_party/libc++abi/trunk/include",
17980 "third_party/abseil-cpp/",
17981 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090017982 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090017983 android_arm: {
17984 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017985 "-DANDROID",
17986 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17987 "-DHAVE_SYS_UIO_H",
17988 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017989 "-fstack-protector",
17990 ],
17991 },
17992 android_arm64: {
17993 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000017994 "-DANDROID",
17995 "-DANDROID_NDK_VERSION_ROLL=r23_1",
17996 "-DHAVE_SYS_UIO_H",
17997 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090017998 "-fstack-protector",
17999 "-mno-outline",
18000 "-mno-outline-atomics",
18001 ],
18002 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018003 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018004 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018005 "-DANDROID",
18006 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18007 "-DHAVE_SYS_UIO_H",
18008 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018009 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018010 ],
18011 },
18012 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018013 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018014 "-DANDROID",
18015 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18016 "-DHAVE_SYS_UIO_H",
18017 "-Oz",
18018 "-fstack-protector",
18019 "-msse3",
18020 ],
18021 },
18022 host: {
18023 cflags: [
18024 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18025 "-DUSE_AURA=1",
18026 "-DUSE_OZONE=1",
18027 "-DUSE_UDEV",
18028 "-D_FILE_OFFSET_BITS=64",
18029 "-D_LARGEFILE64_SOURCE",
18030 "-D_LARGEFILE_SOURCE",
18031 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018032 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018033 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018034 ],
18035 },
18036 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018037}
18038
18039// GN: //third_party/abseil-cpp/absl/base:strerror
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018040cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018041 name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018042 srcs: [
18043 "third_party/abseil-cpp/absl/base/internal/strerror.cc",
18044 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018045 defaults: [
18046 "cronet_aml_defaults",
18047 ],
18048 cflags: [
18049 "-DABSL_ALLOCATOR_NOTHROW=1",
18050 "-DANDROID",
18051 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18052 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18053 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18054 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18055 "-DHAVE_SYS_UIO_H",
18056 "-DNDEBUG",
18057 "-DNO_UNWIND_TABLES",
18058 "-DNVALGRIND",
18059 "-DOFFICIAL_BUILD",
18060 "-D_GNU_SOURCE",
18061 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18062 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18063 "-Oz",
18064 "-fdata-sections",
18065 "-ffunction-sections",
18066 "-fno-asynchronous-unwind-tables",
18067 "-fno-unwind-tables",
18068 "-fvisibility-inlines-hidden",
18069 "-fvisibility=hidden",
18070 "-g1",
18071 ],
18072 local_include_dirs: [
18073 "./",
18074 "buildtools/third_party/libc++/",
18075 "buildtools/third_party/libc++/trunk/include",
18076 "buildtools/third_party/libc++abi/trunk/include",
18077 "third_party/abseil-cpp/",
18078 ],
18079 cpp_std: "c++17",
18080 target: {
18081 android_arm: {
18082 cflags: [
18083 "-fstack-protector",
18084 ],
18085 },
18086 android_arm64: {
18087 cflags: [
18088 "-fstack-protector",
18089 "-mno-outline",
18090 "-mno-outline-atomics",
18091 ],
18092 },
18093 android_x86: {
18094 cflags: [
18095 "-msse3",
18096 ],
18097 },
18098 android_x86_64: {
18099 cflags: [
18100 "-fstack-protector",
18101 "-msse3",
18102 ],
18103 },
18104 },
18105}
18106
18107// GN: //third_party/abseil-cpp/absl/base:strerror__testing
18108cc_object {
18109 name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror__testing",
18110 srcs: [
18111 "third_party/abseil-cpp/absl/base/internal/strerror.cc",
18112 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018113 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018114 defaults: [
18115 "cronet_aml_defaults",
18116 ],
18117 cflags: [
18118 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018119 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18120 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018121 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018122 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018123 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018124 "-DNVALGRIND",
18125 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018126 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018127 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018128 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018129 "-fdata-sections",
18130 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018131 "-fno-asynchronous-unwind-tables",
18132 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018133 "-fvisibility-inlines-hidden",
18134 "-fvisibility=hidden",
18135 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018136 ],
18137 local_include_dirs: [
18138 "./",
18139 "buildtools/third_party/libc++/",
18140 "buildtools/third_party/libc++/trunk/include",
18141 "buildtools/third_party/libc++abi/trunk/include",
18142 "third_party/abseil-cpp/",
18143 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018144 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018145 android_arm: {
18146 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018147 "-DANDROID",
18148 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18149 "-DHAVE_SYS_UIO_H",
18150 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018151 "-fstack-protector",
18152 ],
18153 },
18154 android_arm64: {
18155 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018156 "-DANDROID",
18157 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18158 "-DHAVE_SYS_UIO_H",
18159 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018160 "-fstack-protector",
18161 "-mno-outline",
18162 "-mno-outline-atomics",
18163 ],
18164 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018165 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018166 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018167 "-DANDROID",
18168 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18169 "-DHAVE_SYS_UIO_H",
18170 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018171 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018172 ],
18173 },
18174 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018175 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018176 "-DANDROID",
18177 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18178 "-DHAVE_SYS_UIO_H",
18179 "-Oz",
18180 "-fstack-protector",
18181 "-msse3",
18182 ],
18183 },
18184 host: {
18185 cflags: [
18186 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18187 "-DUSE_AURA=1",
18188 "-DUSE_OZONE=1",
18189 "-DUSE_UDEV",
18190 "-D_FILE_OFFSET_BITS=64",
18191 "-D_LARGEFILE64_SOURCE",
18192 "-D_LARGEFILE_SOURCE",
18193 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018194 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018195 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018196 ],
18197 },
18198 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018199}
18200
18201// GN: //third_party/abseil-cpp/absl/base:throw_delegate
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018202cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018203 name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018204 srcs: [
18205 "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
18206 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018207 defaults: [
18208 "cronet_aml_defaults",
18209 ],
18210 cflags: [
18211 "-DABSL_ALLOCATOR_NOTHROW=1",
18212 "-DANDROID",
18213 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18214 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18215 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18216 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18217 "-DHAVE_SYS_UIO_H",
18218 "-DNDEBUG",
18219 "-DNO_UNWIND_TABLES",
18220 "-DNVALGRIND",
18221 "-DOFFICIAL_BUILD",
18222 "-D_GNU_SOURCE",
18223 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18224 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18225 "-Oz",
18226 "-fdata-sections",
18227 "-ffunction-sections",
18228 "-fno-asynchronous-unwind-tables",
18229 "-fno-unwind-tables",
18230 "-fvisibility-inlines-hidden",
18231 "-fvisibility=hidden",
18232 "-g1",
18233 ],
18234 local_include_dirs: [
18235 "./",
18236 "buildtools/third_party/libc++/",
18237 "buildtools/third_party/libc++/trunk/include",
18238 "buildtools/third_party/libc++abi/trunk/include",
18239 "third_party/abseil-cpp/",
18240 ],
18241 cpp_std: "c++17",
18242 target: {
18243 android_arm: {
18244 cflags: [
18245 "-fstack-protector",
18246 ],
18247 },
18248 android_arm64: {
18249 cflags: [
18250 "-fstack-protector",
18251 "-mno-outline",
18252 "-mno-outline-atomics",
18253 ],
18254 },
18255 android_x86: {
18256 cflags: [
18257 "-msse3",
18258 ],
18259 },
18260 android_x86_64: {
18261 cflags: [
18262 "-fstack-protector",
18263 "-msse3",
18264 ],
18265 },
18266 },
18267}
18268
18269// GN: //third_party/abseil-cpp/absl/base:throw_delegate__testing
18270cc_object {
18271 name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate__testing",
18272 srcs: [
18273 "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
18274 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018275 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018276 defaults: [
18277 "cronet_aml_defaults",
18278 ],
18279 cflags: [
18280 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018281 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18282 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018283 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018284 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018285 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018286 "-DNVALGRIND",
18287 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018288 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018289 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018290 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018291 "-fdata-sections",
18292 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018293 "-fno-asynchronous-unwind-tables",
18294 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018295 "-fvisibility-inlines-hidden",
18296 "-fvisibility=hidden",
18297 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018298 ],
18299 local_include_dirs: [
18300 "./",
18301 "buildtools/third_party/libc++/",
18302 "buildtools/third_party/libc++/trunk/include",
18303 "buildtools/third_party/libc++abi/trunk/include",
18304 "third_party/abseil-cpp/",
18305 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018306 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018307 android_arm: {
18308 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018309 "-DANDROID",
18310 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18311 "-DHAVE_SYS_UIO_H",
18312 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018313 "-fstack-protector",
18314 ],
18315 },
18316 android_arm64: {
18317 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018318 "-DANDROID",
18319 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18320 "-DHAVE_SYS_UIO_H",
18321 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018322 "-fstack-protector",
18323 "-mno-outline",
18324 "-mno-outline-atomics",
18325 ],
18326 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018327 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018328 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018329 "-DANDROID",
18330 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18331 "-DHAVE_SYS_UIO_H",
18332 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018333 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018334 ],
18335 },
18336 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018337 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018338 "-DANDROID",
18339 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18340 "-DHAVE_SYS_UIO_H",
18341 "-Oz",
18342 "-fstack-protector",
18343 "-msse3",
18344 ],
18345 },
18346 host: {
18347 cflags: [
18348 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18349 "-DUSE_AURA=1",
18350 "-DUSE_OZONE=1",
18351 "-DUSE_UDEV",
18352 "-D_FILE_OFFSET_BITS=64",
18353 "-D_LARGEFILE64_SOURCE",
18354 "-D_LARGEFILE_SOURCE",
18355 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018356 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018357 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018358 ],
18359 },
18360 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018361}
18362
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018363// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler
18364cc_object {
18365 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
18366 srcs: [
18367 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
18368 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
18369 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018370 defaults: [
18371 "cronet_aml_defaults",
18372 ],
18373 cflags: [
18374 "-DABSL_ALLOCATOR_NOTHROW=1",
18375 "-DANDROID",
18376 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18377 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18378 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18379 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18380 "-DHAVE_SYS_UIO_H",
18381 "-DNDEBUG",
18382 "-DNO_UNWIND_TABLES",
18383 "-DNVALGRIND",
18384 "-DOFFICIAL_BUILD",
18385 "-D_GNU_SOURCE",
18386 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18387 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18388 "-Oz",
18389 "-fdata-sections",
18390 "-ffunction-sections",
18391 "-fno-asynchronous-unwind-tables",
18392 "-fno-unwind-tables",
18393 "-fvisibility-inlines-hidden",
18394 "-fvisibility=hidden",
18395 "-g1",
18396 ],
18397 local_include_dirs: [
18398 "./",
18399 "buildtools/third_party/libc++/",
18400 "buildtools/third_party/libc++/trunk/include",
18401 "buildtools/third_party/libc++abi/trunk/include",
18402 "third_party/abseil-cpp/",
18403 ],
18404 cpp_std: "c++17",
18405 target: {
18406 android_arm: {
18407 cflags: [
18408 "-fstack-protector",
18409 ],
18410 },
18411 android_arm64: {
18412 cflags: [
18413 "-fstack-protector",
18414 "-mno-outline",
18415 "-mno-outline-atomics",
18416 ],
18417 },
18418 android_x86: {
18419 cflags: [
18420 "-msse3",
18421 ],
18422 },
18423 android_x86_64: {
18424 cflags: [
18425 "-fstack-protector",
18426 "-msse3",
18427 ],
18428 },
18429 },
18430}
18431
18432// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler__testing
18433cc_object {
18434 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing",
18435 srcs: [
18436 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
18437 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
18438 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018439 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018440 defaults: [
18441 "cronet_aml_defaults",
18442 ],
18443 cflags: [
18444 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018445 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18446 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018447 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018448 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018449 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018450 "-DNVALGRIND",
18451 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018452 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018453 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018454 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018455 "-fdata-sections",
18456 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018457 "-fno-asynchronous-unwind-tables",
18458 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018459 "-fvisibility-inlines-hidden",
18460 "-fvisibility=hidden",
18461 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018462 ],
18463 local_include_dirs: [
18464 "./",
18465 "buildtools/third_party/libc++/",
18466 "buildtools/third_party/libc++/trunk/include",
18467 "buildtools/third_party/libc++abi/trunk/include",
18468 "third_party/abseil-cpp/",
18469 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018470 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018471 android_arm: {
18472 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018473 "-DANDROID",
18474 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18475 "-DHAVE_SYS_UIO_H",
18476 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018477 "-fstack-protector",
18478 ],
18479 },
18480 android_arm64: {
18481 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018482 "-DANDROID",
18483 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18484 "-DHAVE_SYS_UIO_H",
18485 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018486 "-fstack-protector",
18487 "-mno-outline",
18488 "-mno-outline-atomics",
18489 ],
18490 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018491 android_x86: {
18492 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018493 "-DANDROID",
18494 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18495 "-DHAVE_SYS_UIO_H",
18496 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018497 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018498 ],
18499 },
18500 android_x86_64: {
18501 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018502 "-DANDROID",
18503 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18504 "-DHAVE_SYS_UIO_H",
18505 "-Oz",
18506 "-fstack-protector",
18507 "-msse3",
18508 ],
18509 },
18510 host: {
18511 cflags: [
18512 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18513 "-DUSE_AURA=1",
18514 "-DUSE_OZONE=1",
18515 "-DUSE_UDEV",
18516 "-D_FILE_OFFSET_BITS=64",
18517 "-D_LARGEFILE64_SOURCE",
18518 "-D_LARGEFILE_SOURCE",
18519 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018520 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018521 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018522 ],
18523 },
18524 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018525}
18526
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018527// GN: //third_party/abseil-cpp/absl/container:raw_hash_set
18528cc_object {
18529 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
18530 srcs: [
18531 "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
18532 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018533 defaults: [
18534 "cronet_aml_defaults",
18535 ],
18536 cflags: [
18537 "-DABSL_ALLOCATOR_NOTHROW=1",
18538 "-DANDROID",
18539 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18540 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18541 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18542 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18543 "-DHAVE_SYS_UIO_H",
18544 "-DNDEBUG",
18545 "-DNO_UNWIND_TABLES",
18546 "-DNVALGRIND",
18547 "-DOFFICIAL_BUILD",
18548 "-D_GNU_SOURCE",
18549 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18550 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18551 "-Oz",
18552 "-fdata-sections",
18553 "-ffunction-sections",
18554 "-fno-asynchronous-unwind-tables",
18555 "-fno-unwind-tables",
18556 "-fvisibility-inlines-hidden",
18557 "-fvisibility=hidden",
18558 "-g1",
18559 ],
18560 local_include_dirs: [
18561 "./",
18562 "buildtools/third_party/libc++/",
18563 "buildtools/third_party/libc++/trunk/include",
18564 "buildtools/third_party/libc++abi/trunk/include",
18565 "third_party/abseil-cpp/",
18566 ],
18567 cpp_std: "c++17",
18568 target: {
18569 android_arm: {
18570 cflags: [
18571 "-fstack-protector",
18572 ],
18573 },
18574 android_arm64: {
18575 cflags: [
18576 "-fstack-protector",
18577 "-mno-outline",
18578 "-mno-outline-atomics",
18579 ],
18580 },
18581 android_x86: {
18582 cflags: [
18583 "-msse3",
18584 ],
18585 },
18586 android_x86_64: {
18587 cflags: [
18588 "-fstack-protector",
18589 "-msse3",
18590 ],
18591 },
18592 },
18593}
18594
18595// GN: //third_party/abseil-cpp/absl/container:raw_hash_set__testing
18596cc_object {
18597 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set__testing",
18598 srcs: [
18599 "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
18600 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018601 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018602 defaults: [
18603 "cronet_aml_defaults",
18604 ],
18605 cflags: [
18606 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018607 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18608 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018609 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018610 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018611 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018612 "-DNVALGRIND",
18613 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018614 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018615 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018616 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018617 "-fdata-sections",
18618 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018619 "-fno-asynchronous-unwind-tables",
18620 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018621 "-fvisibility-inlines-hidden",
18622 "-fvisibility=hidden",
18623 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018624 ],
18625 local_include_dirs: [
18626 "./",
18627 "buildtools/third_party/libc++/",
18628 "buildtools/third_party/libc++/trunk/include",
18629 "buildtools/third_party/libc++abi/trunk/include",
18630 "third_party/abseil-cpp/",
18631 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018632 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018633 android_arm: {
18634 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018635 "-DANDROID",
18636 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18637 "-DHAVE_SYS_UIO_H",
18638 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018639 "-fstack-protector",
18640 ],
18641 },
18642 android_arm64: {
18643 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018644 "-DANDROID",
18645 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18646 "-DHAVE_SYS_UIO_H",
18647 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018648 "-fstack-protector",
18649 "-mno-outline",
18650 "-mno-outline-atomics",
18651 ],
18652 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018653 android_x86: {
18654 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018655 "-DANDROID",
18656 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18657 "-DHAVE_SYS_UIO_H",
18658 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018659 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018660 ],
18661 },
18662 android_x86_64: {
18663 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018664 "-DANDROID",
18665 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18666 "-DHAVE_SYS_UIO_H",
18667 "-Oz",
18668 "-fstack-protector",
18669 "-msse3",
18670 ],
18671 },
18672 host: {
18673 cflags: [
18674 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18675 "-DUSE_AURA=1",
18676 "-DUSE_OZONE=1",
18677 "-DUSE_UDEV",
18678 "-D_FILE_OFFSET_BITS=64",
18679 "-D_LARGEFILE64_SOURCE",
18680 "-D_LARGEFILE_SOURCE",
18681 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018682 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018683 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018684 ],
18685 },
18686 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018687}
18688
18689// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018690cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018691 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018692 srcs: [
18693 "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
18694 "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
18695 "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
18696 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018697 defaults: [
18698 "cronet_aml_defaults",
18699 ],
18700 cflags: [
18701 "-DABSL_ALLOCATOR_NOTHROW=1",
18702 "-DANDROID",
18703 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18704 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18705 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18706 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18707 "-DHAVE_SYS_UIO_H",
18708 "-DNDEBUG",
18709 "-DNO_UNWIND_TABLES",
18710 "-DNVALGRIND",
18711 "-DOFFICIAL_BUILD",
18712 "-D_GNU_SOURCE",
18713 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18714 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18715 "-Oz",
18716 "-fdata-sections",
18717 "-ffunction-sections",
18718 "-fno-asynchronous-unwind-tables",
18719 "-fno-unwind-tables",
18720 "-fvisibility-inlines-hidden",
18721 "-fvisibility=hidden",
18722 "-g1",
18723 ],
18724 local_include_dirs: [
18725 "./",
18726 "buildtools/third_party/libc++/",
18727 "buildtools/third_party/libc++/trunk/include",
18728 "buildtools/third_party/libc++abi/trunk/include",
18729 "third_party/abseil-cpp/",
18730 ],
18731 cpp_std: "c++17",
18732 target: {
18733 android_arm: {
18734 cflags: [
18735 "-fstack-protector",
18736 ],
18737 },
18738 android_arm64: {
18739 cflags: [
18740 "-fstack-protector",
18741 "-mno-outline",
18742 "-mno-outline-atomics",
18743 ],
18744 },
18745 android_x86: {
18746 cflags: [
18747 "-msse3",
18748 ],
18749 },
18750 android_x86_64: {
18751 cflags: [
18752 "-fstack-protector",
18753 "-msse3",
18754 ],
18755 },
18756 },
18757}
18758
18759// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal__testing
18760cc_object {
18761 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal__testing",
18762 srcs: [
18763 "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
18764 "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
18765 "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
18766 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018767 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018768 defaults: [
18769 "cronet_aml_defaults",
18770 ],
18771 cflags: [
18772 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018773 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18774 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018775 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018776 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018777 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018778 "-DNVALGRIND",
18779 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018780 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018781 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018782 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018783 "-fdata-sections",
18784 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018785 "-fno-asynchronous-unwind-tables",
18786 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018787 "-fvisibility-inlines-hidden",
18788 "-fvisibility=hidden",
18789 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018790 ],
18791 local_include_dirs: [
18792 "./",
18793 "buildtools/third_party/libc++/",
18794 "buildtools/third_party/libc++/trunk/include",
18795 "buildtools/third_party/libc++abi/trunk/include",
18796 "third_party/abseil-cpp/",
18797 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018798 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018799 android_arm: {
18800 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018801 "-DANDROID",
18802 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18803 "-DHAVE_SYS_UIO_H",
18804 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018805 "-fstack-protector",
18806 ],
18807 },
18808 android_arm64: {
18809 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018810 "-DANDROID",
18811 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18812 "-DHAVE_SYS_UIO_H",
18813 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018814 "-fstack-protector",
18815 "-mno-outline",
18816 "-mno-outline-atomics",
18817 ],
18818 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018819 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018820 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018821 "-DANDROID",
18822 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18823 "-DHAVE_SYS_UIO_H",
18824 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018825 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018826 ],
18827 },
18828 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018829 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018830 "-DANDROID",
18831 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18832 "-DHAVE_SYS_UIO_H",
18833 "-Oz",
18834 "-fstack-protector",
18835 "-msse3",
18836 ],
18837 },
18838 host: {
18839 cflags: [
18840 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
18841 "-DUSE_AURA=1",
18842 "-DUSE_OZONE=1",
18843 "-DUSE_UDEV",
18844 "-D_FILE_OFFSET_BITS=64",
18845 "-D_LARGEFILE64_SOURCE",
18846 "-D_LARGEFILE_SOURCE",
18847 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018848 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018849 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018850 ],
18851 },
18852 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018853}
18854
18855// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018856cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018857 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018858 srcs: [
18859 "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
18860 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000018861 defaults: [
18862 "cronet_aml_defaults",
18863 ],
18864 cflags: [
18865 "-DABSL_ALLOCATOR_NOTHROW=1",
18866 "-DANDROID",
18867 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18868 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18869 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
18870 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
18871 "-DHAVE_SYS_UIO_H",
18872 "-DNDEBUG",
18873 "-DNO_UNWIND_TABLES",
18874 "-DNVALGRIND",
18875 "-DOFFICIAL_BUILD",
18876 "-D_GNU_SOURCE",
18877 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18878 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18879 "-Oz",
18880 "-fdata-sections",
18881 "-ffunction-sections",
18882 "-fno-asynchronous-unwind-tables",
18883 "-fno-unwind-tables",
18884 "-fvisibility-inlines-hidden",
18885 "-fvisibility=hidden",
18886 "-g1",
18887 ],
18888 local_include_dirs: [
18889 "./",
18890 "buildtools/third_party/libc++/",
18891 "buildtools/third_party/libc++/trunk/include",
18892 "buildtools/third_party/libc++abi/trunk/include",
18893 "third_party/abseil-cpp/",
18894 ],
18895 cpp_std: "c++17",
18896 target: {
18897 android_arm: {
18898 cflags: [
18899 "-fstack-protector",
18900 ],
18901 },
18902 android_arm64: {
18903 cflags: [
18904 "-fstack-protector",
18905 "-mno-outline",
18906 "-mno-outline-atomics",
18907 ],
18908 },
18909 android_x86: {
18910 cflags: [
18911 "-msse3",
18912 ],
18913 },
18914 android_x86_64: {
18915 cflags: [
18916 "-fstack-protector",
18917 "-msse3",
18918 ],
18919 },
18920 },
18921}
18922
18923// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal__testing
18924cc_object {
18925 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal__testing",
18926 srcs: [
18927 "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
18928 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018929 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018930 defaults: [
18931 "cronet_aml_defaults",
18932 ],
18933 cflags: [
18934 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090018935 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
18936 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018937 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018938 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090018939 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090018940 "-DNVALGRIND",
18941 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018942 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018943 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018944 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018945 "-fdata-sections",
18946 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090018947 "-fno-asynchronous-unwind-tables",
18948 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018949 "-fvisibility-inlines-hidden",
18950 "-fvisibility=hidden",
18951 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018952 ],
18953 local_include_dirs: [
18954 "./",
18955 "buildtools/third_party/libc++/",
18956 "buildtools/third_party/libc++/trunk/include",
18957 "buildtools/third_party/libc++abi/trunk/include",
18958 "third_party/abseil-cpp/",
18959 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090018960 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090018961 android_arm: {
18962 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018963 "-DANDROID",
18964 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18965 "-DHAVE_SYS_UIO_H",
18966 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018967 "-fstack-protector",
18968 ],
18969 },
18970 android_arm64: {
18971 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018972 "-DANDROID",
18973 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18974 "-DHAVE_SYS_UIO_H",
18975 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090018976 "-fstack-protector",
18977 "-mno-outline",
18978 "-mno-outline-atomics",
18979 ],
18980 },
Motomu Utsumi55394632022-11-18 17:44:28 +090018981 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018982 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018983 "-DANDROID",
18984 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18985 "-DHAVE_SYS_UIO_H",
18986 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018987 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018988 ],
18989 },
18990 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018991 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000018992 "-DANDROID",
18993 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18994 "-DHAVE_SYS_UIO_H",
18995 "-Oz",
18996 "-fstack-protector",
18997 "-msse3",
18998 ],
18999 },
19000 host: {
19001 cflags: [
19002 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19003 "-DUSE_AURA=1",
19004 "-DUSE_OZONE=1",
19005 "-DUSE_UDEV",
19006 "-D_FILE_OFFSET_BITS=64",
19007 "-D_LARGEFILE64_SOURCE",
19008 "-D_LARGEFILE_SOURCE",
19009 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019010 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019011 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019012 ],
19013 },
19014 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019015}
19016
19017// GN: //third_party/abseil-cpp/absl/debugging:examine_stack
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019018cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019019 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019020 srcs: [
19021 "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
19022 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019023 defaults: [
19024 "cronet_aml_defaults",
19025 ],
19026 cflags: [
19027 "-DABSL_ALLOCATOR_NOTHROW=1",
19028 "-DANDROID",
19029 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19030 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19031 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19032 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19033 "-DHAVE_SYS_UIO_H",
19034 "-DNDEBUG",
19035 "-DNO_UNWIND_TABLES",
19036 "-DNVALGRIND",
19037 "-DOFFICIAL_BUILD",
19038 "-D_GNU_SOURCE",
19039 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19040 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19041 "-Oz",
19042 "-fdata-sections",
19043 "-ffunction-sections",
19044 "-fno-asynchronous-unwind-tables",
19045 "-fno-unwind-tables",
19046 "-fvisibility-inlines-hidden",
19047 "-fvisibility=hidden",
19048 "-g1",
19049 ],
19050 local_include_dirs: [
19051 "./",
19052 "buildtools/third_party/libc++/",
19053 "buildtools/third_party/libc++/trunk/include",
19054 "buildtools/third_party/libc++abi/trunk/include",
19055 "third_party/abseil-cpp/",
19056 ],
19057 cpp_std: "c++17",
19058 target: {
19059 android_arm: {
19060 cflags: [
19061 "-fstack-protector",
19062 ],
19063 },
19064 android_arm64: {
19065 cflags: [
19066 "-fstack-protector",
19067 "-mno-outline",
19068 "-mno-outline-atomics",
19069 ],
19070 },
19071 android_x86: {
19072 cflags: [
19073 "-msse3",
19074 ],
19075 },
19076 android_x86_64: {
19077 cflags: [
19078 "-fstack-protector",
19079 "-msse3",
19080 ],
19081 },
19082 },
19083}
19084
19085// GN: //third_party/abseil-cpp/absl/debugging:examine_stack__testing
19086cc_object {
19087 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack__testing",
19088 srcs: [
19089 "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
19090 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019091 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019092 defaults: [
19093 "cronet_aml_defaults",
19094 ],
19095 cflags: [
19096 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019097 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19098 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019099 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019100 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019101 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019102 "-DNVALGRIND",
19103 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019104 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019105 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019106 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019107 "-fdata-sections",
19108 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019109 "-fno-asynchronous-unwind-tables",
19110 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019111 "-fvisibility-inlines-hidden",
19112 "-fvisibility=hidden",
19113 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019114 ],
19115 local_include_dirs: [
19116 "./",
19117 "buildtools/third_party/libc++/",
19118 "buildtools/third_party/libc++/trunk/include",
19119 "buildtools/third_party/libc++abi/trunk/include",
19120 "third_party/abseil-cpp/",
19121 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019122 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019123 android_arm: {
19124 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019125 "-DANDROID",
19126 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19127 "-DHAVE_SYS_UIO_H",
19128 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019129 "-fstack-protector",
19130 ],
19131 },
19132 android_arm64: {
19133 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019134 "-DANDROID",
19135 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19136 "-DHAVE_SYS_UIO_H",
19137 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019138 "-fstack-protector",
19139 "-mno-outline",
19140 "-mno-outline-atomics",
19141 ],
19142 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019143 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019144 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019145 "-DANDROID",
19146 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19147 "-DHAVE_SYS_UIO_H",
19148 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019149 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019150 ],
19151 },
19152 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019153 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019154 "-DANDROID",
19155 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19156 "-DHAVE_SYS_UIO_H",
19157 "-Oz",
19158 "-fstack-protector",
19159 "-msse3",
19160 ],
19161 },
19162 host: {
19163 cflags: [
19164 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19165 "-DUSE_AURA=1",
19166 "-DUSE_OZONE=1",
19167 "-DUSE_UDEV",
19168 "-D_FILE_OFFSET_BITS=64",
19169 "-D_LARGEFILE64_SOURCE",
19170 "-D_LARGEFILE_SOURCE",
19171 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019172 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019173 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019174 ],
19175 },
19176 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019177}
19178
19179// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019180cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019181 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019182 srcs: [
19183 "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
19184 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019185 defaults: [
19186 "cronet_aml_defaults",
19187 ],
19188 cflags: [
19189 "-DABSL_ALLOCATOR_NOTHROW=1",
19190 "-DANDROID",
19191 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19192 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19193 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19194 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19195 "-DHAVE_SYS_UIO_H",
19196 "-DNDEBUG",
19197 "-DNO_UNWIND_TABLES",
19198 "-DNVALGRIND",
19199 "-DOFFICIAL_BUILD",
19200 "-D_GNU_SOURCE",
19201 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19202 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19203 "-Oz",
19204 "-fdata-sections",
19205 "-ffunction-sections",
19206 "-fno-asynchronous-unwind-tables",
19207 "-fno-unwind-tables",
19208 "-fvisibility-inlines-hidden",
19209 "-fvisibility=hidden",
19210 "-g1",
19211 ],
19212 local_include_dirs: [
19213 "./",
19214 "buildtools/third_party/libc++/",
19215 "buildtools/third_party/libc++/trunk/include",
19216 "buildtools/third_party/libc++abi/trunk/include",
19217 "third_party/abseil-cpp/",
19218 ],
19219 cpp_std: "c++17",
19220 target: {
19221 android_arm: {
19222 cflags: [
19223 "-fstack-protector",
19224 ],
19225 },
19226 android_arm64: {
19227 cflags: [
19228 "-fstack-protector",
19229 "-mno-outline",
19230 "-mno-outline-atomics",
19231 ],
19232 },
19233 android_x86: {
19234 cflags: [
19235 "-msse3",
19236 ],
19237 },
19238 android_x86_64: {
19239 cflags: [
19240 "-fstack-protector",
19241 "-msse3",
19242 ],
19243 },
19244 },
19245}
19246
19247// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler__testing
19248cc_object {
19249 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler__testing",
19250 srcs: [
19251 "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
19252 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019253 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019254 defaults: [
19255 "cronet_aml_defaults",
19256 ],
19257 cflags: [
19258 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019259 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19260 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019261 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019262 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019263 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019264 "-DNVALGRIND",
19265 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019266 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019267 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019268 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019269 "-fdata-sections",
19270 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019271 "-fno-asynchronous-unwind-tables",
19272 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019273 "-fvisibility-inlines-hidden",
19274 "-fvisibility=hidden",
19275 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019276 ],
19277 local_include_dirs: [
19278 "./",
19279 "buildtools/third_party/libc++/",
19280 "buildtools/third_party/libc++/trunk/include",
19281 "buildtools/third_party/libc++abi/trunk/include",
19282 "third_party/abseil-cpp/",
19283 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019284 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019285 android_arm: {
19286 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019287 "-DANDROID",
19288 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19289 "-DHAVE_SYS_UIO_H",
19290 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019291 "-fstack-protector",
19292 ],
19293 },
19294 android_arm64: {
19295 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019296 "-DANDROID",
19297 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19298 "-DHAVE_SYS_UIO_H",
19299 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019300 "-fstack-protector",
19301 "-mno-outline",
19302 "-mno-outline-atomics",
19303 ],
19304 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019305 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019306 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019307 "-DANDROID",
19308 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19309 "-DHAVE_SYS_UIO_H",
19310 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019311 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019312 ],
19313 },
19314 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019315 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019316 "-DANDROID",
19317 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19318 "-DHAVE_SYS_UIO_H",
19319 "-Oz",
19320 "-fstack-protector",
19321 "-msse3",
19322 ],
19323 },
19324 host: {
19325 cflags: [
19326 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19327 "-DUSE_AURA=1",
19328 "-DUSE_OZONE=1",
19329 "-DUSE_UDEV",
19330 "-D_FILE_OFFSET_BITS=64",
19331 "-D_LARGEFILE64_SOURCE",
19332 "-D_LARGEFILE_SOURCE",
19333 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019334 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019335 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019336 ],
19337 },
19338 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019339}
19340
19341// GN: //third_party/abseil-cpp/absl/debugging:stacktrace
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019342cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019343 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019344 srcs: [
19345 "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
19346 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019347 defaults: [
19348 "cronet_aml_defaults",
19349 ],
19350 cflags: [
19351 "-DABSL_ALLOCATOR_NOTHROW=1",
19352 "-DANDROID",
19353 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19354 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19355 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19356 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19357 "-DHAVE_SYS_UIO_H",
19358 "-DNDEBUG",
19359 "-DNO_UNWIND_TABLES",
19360 "-DNVALGRIND",
19361 "-DOFFICIAL_BUILD",
19362 "-D_GNU_SOURCE",
19363 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19364 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19365 "-Oz",
19366 "-fdata-sections",
19367 "-ffunction-sections",
19368 "-fno-asynchronous-unwind-tables",
19369 "-fno-unwind-tables",
19370 "-fvisibility-inlines-hidden",
19371 "-fvisibility=hidden",
19372 "-g1",
19373 ],
19374 local_include_dirs: [
19375 "./",
19376 "buildtools/third_party/libc++/",
19377 "buildtools/third_party/libc++/trunk/include",
19378 "buildtools/third_party/libc++abi/trunk/include",
19379 "third_party/abseil-cpp/",
19380 ],
19381 cpp_std: "c++17",
19382 target: {
19383 android_arm: {
19384 cflags: [
19385 "-fstack-protector",
19386 ],
19387 },
19388 android_arm64: {
19389 cflags: [
19390 "-fstack-protector",
19391 "-mno-outline",
19392 "-mno-outline-atomics",
19393 ],
19394 },
19395 android_x86: {
19396 cflags: [
19397 "-msse3",
19398 ],
19399 },
19400 android_x86_64: {
19401 cflags: [
19402 "-fstack-protector",
19403 "-msse3",
19404 ],
19405 },
19406 },
19407}
19408
19409// GN: //third_party/abseil-cpp/absl/debugging:stacktrace__testing
19410cc_object {
19411 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace__testing",
19412 srcs: [
19413 "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
19414 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019415 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019416 defaults: [
19417 "cronet_aml_defaults",
19418 ],
19419 cflags: [
19420 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019421 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19422 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019423 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019424 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019425 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019426 "-DNVALGRIND",
19427 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019428 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019429 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019430 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019431 "-fdata-sections",
19432 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019433 "-fno-asynchronous-unwind-tables",
19434 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019435 "-fvisibility-inlines-hidden",
19436 "-fvisibility=hidden",
19437 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019438 ],
19439 local_include_dirs: [
19440 "./",
19441 "buildtools/third_party/libc++/",
19442 "buildtools/third_party/libc++/trunk/include",
19443 "buildtools/third_party/libc++abi/trunk/include",
19444 "third_party/abseil-cpp/",
19445 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019446 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019447 android_arm: {
19448 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019449 "-DANDROID",
19450 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19451 "-DHAVE_SYS_UIO_H",
19452 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019453 "-fstack-protector",
19454 ],
19455 },
19456 android_arm64: {
19457 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019458 "-DANDROID",
19459 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19460 "-DHAVE_SYS_UIO_H",
19461 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019462 "-fstack-protector",
19463 "-mno-outline",
19464 "-mno-outline-atomics",
19465 ],
19466 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019467 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019468 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019469 "-DANDROID",
19470 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19471 "-DHAVE_SYS_UIO_H",
19472 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019473 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019474 ],
19475 },
19476 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019477 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019478 "-DANDROID",
19479 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19480 "-DHAVE_SYS_UIO_H",
19481 "-Oz",
19482 "-fstack-protector",
19483 "-msse3",
19484 ],
19485 },
19486 host: {
19487 cflags: [
19488 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19489 "-DUSE_AURA=1",
19490 "-DUSE_OZONE=1",
19491 "-DUSE_UDEV",
19492 "-D_FILE_OFFSET_BITS=64",
19493 "-D_LARGEFILE64_SOURCE",
19494 "-D_LARGEFILE_SOURCE",
19495 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019496 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019497 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019498 ],
19499 },
19500 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019501}
19502
19503// GN: //third_party/abseil-cpp/absl/debugging:symbolize
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019504cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019505 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019506 srcs: [
19507 "third_party/abseil-cpp/absl/debugging/symbolize.cc",
19508 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019509 defaults: [
19510 "cronet_aml_defaults",
19511 ],
19512 cflags: [
19513 "-DABSL_ALLOCATOR_NOTHROW=1",
19514 "-DANDROID",
19515 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19516 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19517 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19518 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19519 "-DHAVE_SYS_UIO_H",
19520 "-DNDEBUG",
19521 "-DNO_UNWIND_TABLES",
19522 "-DNVALGRIND",
19523 "-DOFFICIAL_BUILD",
19524 "-D_GNU_SOURCE",
19525 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19526 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19527 "-Oz",
19528 "-fdata-sections",
19529 "-ffunction-sections",
19530 "-fno-asynchronous-unwind-tables",
19531 "-fno-unwind-tables",
19532 "-fvisibility-inlines-hidden",
19533 "-fvisibility=hidden",
19534 "-g1",
19535 ],
19536 local_include_dirs: [
19537 "./",
19538 "buildtools/third_party/libc++/",
19539 "buildtools/third_party/libc++/trunk/include",
19540 "buildtools/third_party/libc++abi/trunk/include",
19541 "third_party/abseil-cpp/",
19542 ],
19543 cpp_std: "c++17",
19544 target: {
19545 android_arm: {
19546 cflags: [
19547 "-fstack-protector",
19548 ],
19549 },
19550 android_arm64: {
19551 cflags: [
19552 "-fstack-protector",
19553 "-mno-outline",
19554 "-mno-outline-atomics",
19555 ],
19556 },
19557 android_x86: {
19558 cflags: [
19559 "-msse3",
19560 ],
19561 },
19562 android_x86_64: {
19563 cflags: [
19564 "-fstack-protector",
19565 "-msse3",
19566 ],
19567 },
19568 },
19569}
19570
19571// GN: //third_party/abseil-cpp/absl/debugging:symbolize__testing
19572cc_object {
19573 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize__testing",
19574 srcs: [
19575 "third_party/abseil-cpp/absl/debugging/symbolize.cc",
19576 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019577 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019578 defaults: [
19579 "cronet_aml_defaults",
19580 ],
19581 cflags: [
19582 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019583 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19584 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019585 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019586 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019587 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019588 "-DNVALGRIND",
19589 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019590 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019591 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019592 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019593 "-fdata-sections",
19594 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019595 "-fno-asynchronous-unwind-tables",
19596 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019597 "-fvisibility-inlines-hidden",
19598 "-fvisibility=hidden",
19599 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019600 ],
19601 local_include_dirs: [
19602 "./",
19603 "buildtools/third_party/libc++/",
19604 "buildtools/third_party/libc++/trunk/include",
19605 "buildtools/third_party/libc++abi/trunk/include",
19606 "third_party/abseil-cpp/",
19607 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019608 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019609 android_arm: {
19610 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019611 "-DANDROID",
19612 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19613 "-DHAVE_SYS_UIO_H",
19614 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019615 "-fstack-protector",
19616 ],
19617 },
19618 android_arm64: {
19619 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019620 "-DANDROID",
19621 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19622 "-DHAVE_SYS_UIO_H",
19623 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019624 "-fstack-protector",
19625 "-mno-outline",
19626 "-mno-outline-atomics",
19627 ],
19628 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019629 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019630 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019631 "-DANDROID",
19632 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19633 "-DHAVE_SYS_UIO_H",
19634 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019635 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019636 ],
19637 },
19638 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019639 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019640 "-DANDROID",
19641 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19642 "-DHAVE_SYS_UIO_H",
19643 "-Oz",
19644 "-fstack-protector",
19645 "-msse3",
19646 ],
19647 },
19648 host: {
19649 cflags: [
19650 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19651 "-DUSE_AURA=1",
19652 "-DUSE_OZONE=1",
19653 "-DUSE_UDEV",
19654 "-D_FILE_OFFSET_BITS=64",
19655 "-D_LARGEFILE64_SOURCE",
19656 "-D_LARGEFILE_SOURCE",
19657 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019658 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019659 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019660 ],
19661 },
19662 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019663}
19664
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019665// GN: //third_party/abseil-cpp/absl/hash:city
19666cc_object {
19667 name: "cronet_aml_third_party_abseil_cpp_absl_hash_city",
19668 srcs: [
19669 "third_party/abseil-cpp/absl/hash/internal/city.cc",
19670 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019671 defaults: [
19672 "cronet_aml_defaults",
19673 ],
19674 cflags: [
19675 "-DABSL_ALLOCATOR_NOTHROW=1",
19676 "-DANDROID",
19677 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19678 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19679 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19680 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19681 "-DHAVE_SYS_UIO_H",
19682 "-DNDEBUG",
19683 "-DNO_UNWIND_TABLES",
19684 "-DNVALGRIND",
19685 "-DOFFICIAL_BUILD",
19686 "-D_GNU_SOURCE",
19687 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19688 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19689 "-Oz",
19690 "-fdata-sections",
19691 "-ffunction-sections",
19692 "-fno-asynchronous-unwind-tables",
19693 "-fno-unwind-tables",
19694 "-fvisibility-inlines-hidden",
19695 "-fvisibility=hidden",
19696 "-g1",
19697 ],
19698 local_include_dirs: [
19699 "./",
19700 "buildtools/third_party/libc++/",
19701 "buildtools/third_party/libc++/trunk/include",
19702 "buildtools/third_party/libc++abi/trunk/include",
19703 "third_party/abseil-cpp/",
19704 ],
19705 cpp_std: "c++17",
19706 target: {
19707 android_arm: {
19708 cflags: [
19709 "-fstack-protector",
19710 ],
19711 },
19712 android_arm64: {
19713 cflags: [
19714 "-fstack-protector",
19715 "-mno-outline",
19716 "-mno-outline-atomics",
19717 ],
19718 },
19719 android_x86: {
19720 cflags: [
19721 "-msse3",
19722 ],
19723 },
19724 android_x86_64: {
19725 cflags: [
19726 "-fstack-protector",
19727 "-msse3",
19728 ],
19729 },
19730 },
19731}
19732
19733// GN: //third_party/abseil-cpp/absl/hash:city__testing
19734cc_object {
19735 name: "cronet_aml_third_party_abseil_cpp_absl_hash_city__testing",
19736 srcs: [
19737 "third_party/abseil-cpp/absl/hash/internal/city.cc",
19738 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019739 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019740 defaults: [
19741 "cronet_aml_defaults",
19742 ],
19743 cflags: [
19744 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019745 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19746 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019747 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019748 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019749 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019750 "-DNVALGRIND",
19751 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019752 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019753 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019754 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019755 "-fdata-sections",
19756 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019757 "-fno-asynchronous-unwind-tables",
19758 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019759 "-fvisibility-inlines-hidden",
19760 "-fvisibility=hidden",
19761 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019762 ],
19763 local_include_dirs: [
19764 "./",
19765 "buildtools/third_party/libc++/",
19766 "buildtools/third_party/libc++/trunk/include",
19767 "buildtools/third_party/libc++abi/trunk/include",
19768 "third_party/abseil-cpp/",
19769 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019770 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019771 android_arm: {
19772 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019773 "-DANDROID",
19774 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19775 "-DHAVE_SYS_UIO_H",
19776 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019777 "-fstack-protector",
19778 ],
19779 },
19780 android_arm64: {
19781 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019782 "-DANDROID",
19783 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19784 "-DHAVE_SYS_UIO_H",
19785 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019786 "-fstack-protector",
19787 "-mno-outline",
19788 "-mno-outline-atomics",
19789 ],
19790 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019791 android_x86: {
19792 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019793 "-DANDROID",
19794 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19795 "-DHAVE_SYS_UIO_H",
19796 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019797 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019798 ],
19799 },
19800 android_x86_64: {
19801 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019802 "-DANDROID",
19803 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19804 "-DHAVE_SYS_UIO_H",
19805 "-Oz",
19806 "-fstack-protector",
19807 "-msse3",
19808 ],
19809 },
19810 host: {
19811 cflags: [
19812 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19813 "-DUSE_AURA=1",
19814 "-DUSE_OZONE=1",
19815 "-DUSE_UDEV",
19816 "-D_FILE_OFFSET_BITS=64",
19817 "-D_LARGEFILE64_SOURCE",
19818 "-D_LARGEFILE_SOURCE",
19819 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019820 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019821 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019822 ],
19823 },
19824 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019825}
19826
19827// GN: //third_party/abseil-cpp/absl/hash:hash
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019828cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019829 name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019830 srcs: [
19831 "third_party/abseil-cpp/absl/hash/internal/hash.cc",
19832 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019833 defaults: [
19834 "cronet_aml_defaults",
19835 ],
19836 cflags: [
19837 "-DABSL_ALLOCATOR_NOTHROW=1",
19838 "-DANDROID",
19839 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19840 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19841 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
19842 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
19843 "-DHAVE_SYS_UIO_H",
19844 "-DNDEBUG",
19845 "-DNO_UNWIND_TABLES",
19846 "-DNVALGRIND",
19847 "-DOFFICIAL_BUILD",
19848 "-D_GNU_SOURCE",
19849 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19850 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19851 "-Oz",
19852 "-fdata-sections",
19853 "-ffunction-sections",
19854 "-fno-asynchronous-unwind-tables",
19855 "-fno-unwind-tables",
19856 "-fvisibility-inlines-hidden",
19857 "-fvisibility=hidden",
19858 "-g1",
19859 ],
19860 local_include_dirs: [
19861 "./",
19862 "buildtools/third_party/libc++/",
19863 "buildtools/third_party/libc++/trunk/include",
19864 "buildtools/third_party/libc++abi/trunk/include",
19865 "third_party/abseil-cpp/",
19866 ],
19867 cpp_std: "c++17",
19868 target: {
19869 android_arm: {
19870 cflags: [
19871 "-fstack-protector",
19872 ],
19873 },
19874 android_arm64: {
19875 cflags: [
19876 "-fstack-protector",
19877 "-mno-outline",
19878 "-mno-outline-atomics",
19879 ],
19880 },
19881 android_x86: {
19882 cflags: [
19883 "-msse3",
19884 ],
19885 },
19886 android_x86_64: {
19887 cflags: [
19888 "-fstack-protector",
19889 "-msse3",
19890 ],
19891 },
19892 },
19893}
19894
19895// GN: //third_party/abseil-cpp/absl/hash:hash__testing
19896cc_object {
19897 name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash__testing",
19898 srcs: [
19899 "third_party/abseil-cpp/absl/hash/internal/hash.cc",
19900 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019901 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019902 defaults: [
19903 "cronet_aml_defaults",
19904 ],
19905 cflags: [
19906 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090019907 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
19908 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019909 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019910 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090019911 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090019912 "-DNVALGRIND",
19913 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019914 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019915 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019916 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019917 "-fdata-sections",
19918 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090019919 "-fno-asynchronous-unwind-tables",
19920 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019921 "-fvisibility-inlines-hidden",
19922 "-fvisibility=hidden",
19923 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019924 ],
19925 local_include_dirs: [
19926 "./",
19927 "buildtools/third_party/libc++/",
19928 "buildtools/third_party/libc++/trunk/include",
19929 "buildtools/third_party/libc++abi/trunk/include",
19930 "third_party/abseil-cpp/",
19931 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090019932 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090019933 android_arm: {
19934 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019935 "-DANDROID",
19936 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19937 "-DHAVE_SYS_UIO_H",
19938 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019939 "-fstack-protector",
19940 ],
19941 },
19942 android_arm64: {
19943 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019944 "-DANDROID",
19945 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19946 "-DHAVE_SYS_UIO_H",
19947 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019948 "-fstack-protector",
19949 "-mno-outline",
19950 "-mno-outline-atomics",
19951 ],
19952 },
Motomu Utsumi55394632022-11-18 17:44:28 +090019953 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019954 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019955 "-DANDROID",
19956 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19957 "-DHAVE_SYS_UIO_H",
19958 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019959 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019960 ],
19961 },
19962 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019963 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000019964 "-DANDROID",
19965 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19966 "-DHAVE_SYS_UIO_H",
19967 "-Oz",
19968 "-fstack-protector",
19969 "-msse3",
19970 ],
19971 },
19972 host: {
19973 cflags: [
19974 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
19975 "-DUSE_AURA=1",
19976 "-DUSE_OZONE=1",
19977 "-DUSE_UDEV",
19978 "-D_FILE_OFFSET_BITS=64",
19979 "-D_LARGEFILE64_SOURCE",
19980 "-D_LARGEFILE_SOURCE",
19981 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090019982 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019983 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090019984 ],
19985 },
19986 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019987}
19988
19989// GN: //third_party/abseil-cpp/absl/hash:low_level_hash
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019990cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019991 name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019992 srcs: [
19993 "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
19994 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000019995 defaults: [
19996 "cronet_aml_defaults",
19997 ],
19998 cflags: [
19999 "-DABSL_ALLOCATOR_NOTHROW=1",
20000 "-DANDROID",
20001 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20002 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20003 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20004 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20005 "-DHAVE_SYS_UIO_H",
20006 "-DNDEBUG",
20007 "-DNO_UNWIND_TABLES",
20008 "-DNVALGRIND",
20009 "-DOFFICIAL_BUILD",
20010 "-D_GNU_SOURCE",
20011 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20012 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20013 "-Oz",
20014 "-fdata-sections",
20015 "-ffunction-sections",
20016 "-fno-asynchronous-unwind-tables",
20017 "-fno-unwind-tables",
20018 "-fvisibility-inlines-hidden",
20019 "-fvisibility=hidden",
20020 "-g1",
20021 ],
20022 local_include_dirs: [
20023 "./",
20024 "buildtools/third_party/libc++/",
20025 "buildtools/third_party/libc++/trunk/include",
20026 "buildtools/third_party/libc++abi/trunk/include",
20027 "third_party/abseil-cpp/",
20028 ],
20029 cpp_std: "c++17",
20030 target: {
20031 android_arm: {
20032 cflags: [
20033 "-fstack-protector",
20034 ],
20035 },
20036 android_arm64: {
20037 cflags: [
20038 "-fstack-protector",
20039 "-mno-outline",
20040 "-mno-outline-atomics",
20041 ],
20042 },
20043 android_x86: {
20044 cflags: [
20045 "-msse3",
20046 ],
20047 },
20048 android_x86_64: {
20049 cflags: [
20050 "-fstack-protector",
20051 "-msse3",
20052 ],
20053 },
20054 },
20055}
20056
20057// GN: //third_party/abseil-cpp/absl/hash:low_level_hash__testing
20058cc_object {
20059 name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash__testing",
20060 srcs: [
20061 "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
20062 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020063 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020064 defaults: [
20065 "cronet_aml_defaults",
20066 ],
20067 cflags: [
20068 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020069 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20070 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020071 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020072 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020073 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020074 "-DNVALGRIND",
20075 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020076 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020077 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020078 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020079 "-fdata-sections",
20080 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020081 "-fno-asynchronous-unwind-tables",
20082 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020083 "-fvisibility-inlines-hidden",
20084 "-fvisibility=hidden",
20085 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020086 ],
20087 local_include_dirs: [
20088 "./",
20089 "buildtools/third_party/libc++/",
20090 "buildtools/third_party/libc++/trunk/include",
20091 "buildtools/third_party/libc++abi/trunk/include",
20092 "third_party/abseil-cpp/",
20093 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090020094 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020095 android_arm: {
20096 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020097 "-DANDROID",
20098 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20099 "-DHAVE_SYS_UIO_H",
20100 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020101 "-fstack-protector",
20102 ],
20103 },
20104 android_arm64: {
20105 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020106 "-DANDROID",
20107 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20108 "-DHAVE_SYS_UIO_H",
20109 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020110 "-fstack-protector",
20111 "-mno-outline",
20112 "-mno-outline-atomics",
20113 ],
20114 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020115 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020116 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020117 "-DANDROID",
20118 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20119 "-DHAVE_SYS_UIO_H",
20120 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020121 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020122 ],
20123 },
20124 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020125 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020126 "-DANDROID",
20127 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20128 "-DHAVE_SYS_UIO_H",
20129 "-Oz",
20130 "-fstack-protector",
20131 "-msse3",
20132 ],
20133 },
20134 host: {
20135 cflags: [
20136 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20137 "-DUSE_AURA=1",
20138 "-DUSE_OZONE=1",
20139 "-DUSE_UDEV",
20140 "-D_FILE_OFFSET_BITS=64",
20141 "-D_LARGEFILE64_SOURCE",
20142 "-D_LARGEFILE_SOURCE",
20143 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020144 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020145 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020146 ],
20147 },
20148 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020149}
20150
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020151// GN: //third_party/abseil-cpp/absl/numeric:int128
20152cc_object {
20153 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
20154 srcs: [
20155 "third_party/abseil-cpp/absl/numeric/int128.cc",
20156 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020157 defaults: [
20158 "cronet_aml_defaults",
20159 ],
20160 cflags: [
20161 "-DABSL_ALLOCATOR_NOTHROW=1",
20162 "-DANDROID",
20163 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20164 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20165 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20166 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20167 "-DHAVE_SYS_UIO_H",
20168 "-DNDEBUG",
20169 "-DNO_UNWIND_TABLES",
20170 "-DNVALGRIND",
20171 "-DOFFICIAL_BUILD",
20172 "-D_GNU_SOURCE",
20173 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20174 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20175 "-Oz",
20176 "-fdata-sections",
20177 "-ffunction-sections",
20178 "-fno-asynchronous-unwind-tables",
20179 "-fno-unwind-tables",
20180 "-fvisibility-inlines-hidden",
20181 "-fvisibility=hidden",
20182 "-g1",
20183 ],
20184 local_include_dirs: [
20185 "./",
20186 "buildtools/third_party/libc++/",
20187 "buildtools/third_party/libc++/trunk/include",
20188 "buildtools/third_party/libc++abi/trunk/include",
20189 "third_party/abseil-cpp/",
20190 ],
20191 cpp_std: "c++17",
20192 target: {
20193 android_arm: {
20194 cflags: [
20195 "-fstack-protector",
20196 ],
20197 },
20198 android_arm64: {
20199 cflags: [
20200 "-fstack-protector",
20201 "-mno-outline",
20202 "-mno-outline-atomics",
20203 ],
20204 },
20205 android_x86: {
20206 cflags: [
20207 "-msse3",
20208 ],
20209 },
20210 android_x86_64: {
20211 cflags: [
20212 "-fstack-protector",
20213 "-msse3",
20214 ],
20215 },
20216 },
20217}
20218
20219// GN: //third_party/abseil-cpp/absl/numeric:int128__testing
20220cc_object {
20221 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128__testing",
20222 srcs: [
20223 "third_party/abseil-cpp/absl/numeric/int128.cc",
20224 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020225 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020226 defaults: [
20227 "cronet_aml_defaults",
20228 ],
20229 cflags: [
20230 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020231 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20232 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020233 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020234 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020235 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020236 "-DNVALGRIND",
20237 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020238 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020239 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020240 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020241 "-fdata-sections",
20242 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020243 "-fno-asynchronous-unwind-tables",
20244 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020245 "-fvisibility-inlines-hidden",
20246 "-fvisibility=hidden",
20247 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020248 ],
20249 local_include_dirs: [
20250 "./",
20251 "buildtools/third_party/libc++/",
20252 "buildtools/third_party/libc++/trunk/include",
20253 "buildtools/third_party/libc++abi/trunk/include",
20254 "third_party/abseil-cpp/",
20255 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020256 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020257 android_arm: {
20258 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020259 "-DANDROID",
20260 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20261 "-DHAVE_SYS_UIO_H",
20262 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020263 "-fstack-protector",
20264 ],
20265 },
20266 android_arm64: {
20267 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020268 "-DANDROID",
20269 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20270 "-DHAVE_SYS_UIO_H",
20271 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020272 "-fstack-protector",
20273 "-mno-outline",
20274 "-mno-outline-atomics",
20275 ],
20276 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020277 android_x86: {
20278 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020279 "-DANDROID",
20280 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20281 "-DHAVE_SYS_UIO_H",
20282 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020283 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020284 ],
20285 },
20286 android_x86_64: {
20287 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020288 "-DANDROID",
20289 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20290 "-DHAVE_SYS_UIO_H",
20291 "-Oz",
20292 "-fstack-protector",
20293 "-msse3",
20294 ],
20295 },
20296 host: {
20297 cflags: [
20298 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20299 "-DUSE_AURA=1",
20300 "-DUSE_OZONE=1",
20301 "-DUSE_UDEV",
20302 "-D_FILE_OFFSET_BITS=64",
20303 "-D_LARGEFILE64_SOURCE",
20304 "-D_LARGEFILE_SOURCE",
20305 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020306 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020307 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020308 ],
20309 },
20310 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020311}
20312
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020313// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased
20314cc_object {
20315 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
20316 srcs: [
20317 "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
20318 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020319 defaults: [
20320 "cronet_aml_defaults",
20321 ],
20322 cflags: [
20323 "-DABSL_ALLOCATOR_NOTHROW=1",
20324 "-DANDROID",
20325 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20326 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20327 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20328 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20329 "-DHAVE_SYS_UIO_H",
20330 "-DNDEBUG",
20331 "-DNO_UNWIND_TABLES",
20332 "-DNVALGRIND",
20333 "-DOFFICIAL_BUILD",
20334 "-D_GNU_SOURCE",
20335 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20336 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20337 "-Oz",
20338 "-fdata-sections",
20339 "-ffunction-sections",
20340 "-fno-asynchronous-unwind-tables",
20341 "-fno-unwind-tables",
20342 "-fvisibility-inlines-hidden",
20343 "-fvisibility=hidden",
20344 "-g1",
20345 ],
20346 local_include_dirs: [
20347 "./",
20348 "buildtools/third_party/libc++/",
20349 "buildtools/third_party/libc++/trunk/include",
20350 "buildtools/third_party/libc++abi/trunk/include",
20351 "third_party/abseil-cpp/",
20352 ],
20353 cpp_std: "c++17",
20354 target: {
20355 android_arm: {
20356 cflags: [
20357 "-fstack-protector",
20358 ],
20359 },
20360 android_arm64: {
20361 cflags: [
20362 "-fstack-protector",
20363 "-mno-outline",
20364 "-mno-outline-atomics",
20365 ],
20366 },
20367 android_x86: {
20368 cflags: [
20369 "-msse3",
20370 ],
20371 },
20372 android_x86_64: {
20373 cflags: [
20374 "-fstack-protector",
20375 "-msse3",
20376 ],
20377 },
20378 },
20379}
20380
20381// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased__testing
20382cc_object {
20383 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
20384 srcs: [
20385 "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
20386 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020387 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020388 defaults: [
20389 "cronet_aml_defaults",
20390 ],
20391 cflags: [
20392 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020393 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20394 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020395 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020396 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020397 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020398 "-DNVALGRIND",
20399 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020400 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020401 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020402 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020403 "-fdata-sections",
20404 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020405 "-fno-asynchronous-unwind-tables",
20406 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020407 "-fvisibility-inlines-hidden",
20408 "-fvisibility=hidden",
20409 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020410 ],
20411 local_include_dirs: [
20412 "./",
20413 "buildtools/third_party/libc++/",
20414 "buildtools/third_party/libc++/trunk/include",
20415 "buildtools/third_party/libc++abi/trunk/include",
20416 "third_party/abseil-cpp/",
20417 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020418 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020419 android_arm: {
20420 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020421 "-DANDROID",
20422 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20423 "-DHAVE_SYS_UIO_H",
20424 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020425 "-fstack-protector",
20426 ],
20427 },
20428 android_arm64: {
20429 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020430 "-DANDROID",
20431 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20432 "-DHAVE_SYS_UIO_H",
20433 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020434 "-fstack-protector",
20435 "-mno-outline",
20436 "-mno-outline-atomics",
20437 ],
20438 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020439 android_x86: {
20440 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020441 "-DANDROID",
20442 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20443 "-DHAVE_SYS_UIO_H",
20444 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020445 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020446 ],
20447 },
20448 android_x86_64: {
20449 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020450 "-DANDROID",
20451 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20452 "-DHAVE_SYS_UIO_H",
20453 "-Oz",
20454 "-fstack-protector",
20455 "-msse3",
20456 ],
20457 },
20458 host: {
20459 cflags: [
20460 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20461 "-DUSE_AURA=1",
20462 "-DUSE_OZONE=1",
20463 "-DUSE_UDEV",
20464 "-D_FILE_OFFSET_BITS=64",
20465 "-D_LARGEFILE64_SOURCE",
20466 "-D_LARGEFILE_SOURCE",
20467 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020468 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020469 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020470 ],
20471 },
20472 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020473}
20474
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020475// GN: //third_party/abseil-cpp/absl/random:distributions
20476cc_object {
20477 name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions",
20478 srcs: [
20479 "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
20480 "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
20481 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020482 defaults: [
20483 "cronet_aml_defaults",
20484 ],
20485 cflags: [
20486 "-DABSL_ALLOCATOR_NOTHROW=1",
20487 "-DANDROID",
20488 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20489 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20490 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20491 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20492 "-DHAVE_SYS_UIO_H",
20493 "-DNDEBUG",
20494 "-DNO_UNWIND_TABLES",
20495 "-DNVALGRIND",
20496 "-DOFFICIAL_BUILD",
20497 "-D_GNU_SOURCE",
20498 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20499 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20500 "-Oz",
20501 "-fdata-sections",
20502 "-ffunction-sections",
20503 "-fno-asynchronous-unwind-tables",
20504 "-fno-unwind-tables",
20505 "-fvisibility-inlines-hidden",
20506 "-fvisibility=hidden",
20507 "-g1",
20508 ],
20509 local_include_dirs: [
20510 "./",
20511 "buildtools/third_party/libc++/",
20512 "buildtools/third_party/libc++/trunk/include",
20513 "buildtools/third_party/libc++abi/trunk/include",
20514 "third_party/abseil-cpp/",
20515 ],
20516 cpp_std: "c++17",
20517 target: {
20518 android_arm: {
20519 cflags: [
20520 "-fstack-protector",
20521 ],
20522 },
20523 android_arm64: {
20524 cflags: [
20525 "-fstack-protector",
20526 "-mno-outline",
20527 "-mno-outline-atomics",
20528 ],
20529 },
20530 android_x86: {
20531 cflags: [
20532 "-msse3",
20533 ],
20534 },
20535 android_x86_64: {
20536 cflags: [
20537 "-fstack-protector",
20538 "-msse3",
20539 ],
20540 },
20541 },
20542}
20543
20544// GN: //third_party/abseil-cpp/absl/random:distributions__testing
20545cc_object {
20546 name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions__testing",
20547 srcs: [
20548 "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
20549 "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
20550 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020551 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020552 defaults: [
20553 "cronet_aml_defaults",
20554 ],
20555 cflags: [
20556 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020557 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20558 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020559 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020560 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020561 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020562 "-DNVALGRIND",
20563 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020564 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020565 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020566 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020567 "-fdata-sections",
20568 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020569 "-fno-asynchronous-unwind-tables",
20570 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020571 "-fvisibility-inlines-hidden",
20572 "-fvisibility=hidden",
20573 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020574 ],
20575 local_include_dirs: [
20576 "./",
20577 "buildtools/third_party/libc++/",
20578 "buildtools/third_party/libc++/trunk/include",
20579 "buildtools/third_party/libc++abi/trunk/include",
20580 "third_party/abseil-cpp/",
20581 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020582 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020583 android_arm: {
20584 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020585 "-DANDROID",
20586 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20587 "-DHAVE_SYS_UIO_H",
20588 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020589 "-fstack-protector",
20590 ],
20591 },
20592 android_arm64: {
20593 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020594 "-DANDROID",
20595 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20596 "-DHAVE_SYS_UIO_H",
20597 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020598 "-fstack-protector",
20599 "-mno-outline",
20600 "-mno-outline-atomics",
20601 ],
20602 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020603 android_x86: {
20604 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020605 "-DANDROID",
20606 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20607 "-DHAVE_SYS_UIO_H",
20608 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020609 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020610 ],
20611 },
20612 android_x86_64: {
20613 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020614 "-DANDROID",
20615 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20616 "-DHAVE_SYS_UIO_H",
20617 "-Oz",
20618 "-fstack-protector",
20619 "-msse3",
20620 ],
20621 },
20622 host: {
20623 cflags: [
20624 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20625 "-DUSE_AURA=1",
20626 "-DUSE_OZONE=1",
20627 "-DUSE_UDEV",
20628 "-D_FILE_OFFSET_BITS=64",
20629 "-D_LARGEFILE64_SOURCE",
20630 "-D_LARGEFILE_SOURCE",
20631 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020632 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020633 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020634 ],
20635 },
20636 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020637}
20638
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020639// GN: //third_party/abseil-cpp/absl/random/internal:platform
20640cc_object {
20641 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
20642 srcs: [
20643 "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
20644 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090020645 generated_headers: [
20646 "cronet_aml_build_chromeos_buildflags",
20647 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020648 defaults: [
20649 "cronet_aml_defaults",
20650 ],
20651 cflags: [
20652 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020653 "-DANDROID",
20654 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20655 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20656 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20657 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20658 "-DHAVE_SYS_UIO_H",
20659 "-DNDEBUG",
20660 "-DNO_UNWIND_TABLES",
20661 "-DNVALGRIND",
20662 "-DOFFICIAL_BUILD",
20663 "-D_GNU_SOURCE",
20664 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20665 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20666 "-Oz",
20667 "-fdata-sections",
20668 "-ffunction-sections",
20669 "-fno-asynchronous-unwind-tables",
20670 "-fno-unwind-tables",
20671 "-fvisibility-inlines-hidden",
20672 "-fvisibility=hidden",
20673 "-g1",
20674 ],
20675 local_include_dirs: [
20676 "./",
20677 "buildtools/third_party/libc++/",
20678 "buildtools/third_party/libc++/trunk/include",
20679 "buildtools/third_party/libc++abi/trunk/include",
20680 "third_party/abseil-cpp/",
20681 ],
20682 cpp_std: "c++17",
20683 target: {
20684 android_arm: {
20685 cflags: [
20686 "-fstack-protector",
20687 ],
20688 },
20689 android_arm64: {
20690 cflags: [
20691 "-fstack-protector",
20692 "-mno-outline",
20693 "-mno-outline-atomics",
20694 ],
20695 },
20696 android_x86: {
20697 cflags: [
20698 "-msse3",
20699 ],
20700 },
20701 android_x86_64: {
20702 cflags: [
20703 "-fstack-protector",
20704 "-msse3",
20705 ],
20706 },
20707 },
20708}
20709
20710// GN: //third_party/abseil-cpp/absl/random/internal:platform__testing
20711cc_object {
20712 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform__testing",
20713 srcs: [
20714 "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
20715 ],
20716 host_supported: true,
20717 generated_headers: [
20718 "cronet_aml_build_chromeos_buildflags__testing",
20719 ],
20720 defaults: [
20721 "cronet_aml_defaults",
20722 ],
20723 cflags: [
20724 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020725 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20726 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020727 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020728 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020729 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020730 "-DNVALGRIND",
20731 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020732 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020733 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020734 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020735 "-fdata-sections",
20736 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020737 "-fno-asynchronous-unwind-tables",
20738 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020739 "-fvisibility-inlines-hidden",
20740 "-fvisibility=hidden",
20741 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020742 ],
20743 local_include_dirs: [
20744 "./",
20745 "buildtools/third_party/libc++/",
20746 "buildtools/third_party/libc++/trunk/include",
20747 "buildtools/third_party/libc++abi/trunk/include",
20748 "third_party/abseil-cpp/",
20749 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020750 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020751 android_arm: {
20752 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020753 "-DANDROID",
20754 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20755 "-DHAVE_SYS_UIO_H",
20756 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020757 "-fstack-protector",
20758 ],
20759 },
20760 android_arm64: {
20761 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020762 "-DANDROID",
20763 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20764 "-DHAVE_SYS_UIO_H",
20765 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020766 "-fstack-protector",
20767 "-mno-outline",
20768 "-mno-outline-atomics",
20769 ],
20770 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020771 android_x86: {
20772 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020773 "-DANDROID",
20774 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20775 "-DHAVE_SYS_UIO_H",
20776 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020777 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020778 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020779 },
20780 android_x86_64: {
20781 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020782 "-DANDROID",
20783 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20784 "-DHAVE_SYS_UIO_H",
20785 "-Oz",
20786 "-fstack-protector",
20787 "-msse3",
20788 ],
20789 },
20790 host: {
20791 cflags: [
20792 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20793 "-DUSE_AURA=1",
20794 "-DUSE_OZONE=1",
20795 "-DUSE_UDEV",
20796 "-D_FILE_OFFSET_BITS=64",
20797 "-D_LARGEFILE64_SOURCE",
20798 "-D_LARGEFILE_SOURCE",
20799 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020800 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020801 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020802 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020803 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020804 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020805}
20806
20807// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020808cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070020809 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020810 srcs: [
20811 "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
20812 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090020813 generated_headers: [
20814 "cronet_aml_build_chromeos_buildflags",
20815 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020816 defaults: [
20817 "cronet_aml_defaults",
20818 ],
20819 cflags: [
20820 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020821 "-DANDROID",
20822 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20823 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20824 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20825 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20826 "-DHAVE_SYS_UIO_H",
20827 "-DNDEBUG",
20828 "-DNO_UNWIND_TABLES",
20829 "-DNVALGRIND",
20830 "-DOFFICIAL_BUILD",
20831 "-D_GNU_SOURCE",
20832 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20833 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20834 "-Oz",
20835 "-fdata-sections",
20836 "-ffunction-sections",
20837 "-fno-asynchronous-unwind-tables",
20838 "-fno-unwind-tables",
20839 "-fvisibility-inlines-hidden",
20840 "-fvisibility=hidden",
20841 "-g1",
20842 ],
20843 local_include_dirs: [
20844 "./",
20845 "buildtools/third_party/libc++/",
20846 "buildtools/third_party/libc++/trunk/include",
20847 "buildtools/third_party/libc++abi/trunk/include",
20848 "third_party/abseil-cpp/",
20849 ],
20850 cpp_std: "c++17",
20851 target: {
20852 android_arm: {
20853 cflags: [
20854 "-fstack-protector",
20855 ],
20856 },
20857 android_arm64: {
20858 cflags: [
20859 "-fstack-protector",
20860 "-mno-outline",
20861 "-mno-outline-atomics",
20862 ],
20863 },
20864 android_x86: {
20865 cflags: [
20866 "-msse3",
20867 ],
20868 },
20869 android_x86_64: {
20870 cflags: [
20871 "-fstack-protector",
20872 "-msse3",
20873 ],
20874 },
20875 },
20876}
20877
20878// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg__testing
20879cc_object {
20880 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg__testing",
20881 srcs: [
20882 "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
20883 ],
20884 host_supported: true,
20885 generated_headers: [
20886 "cronet_aml_build_chromeos_buildflags__testing",
20887 ],
20888 defaults: [
20889 "cronet_aml_defaults",
20890 ],
20891 cflags: [
20892 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090020893 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20894 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020895 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020896 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090020897 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090020898 "-DNVALGRIND",
20899 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020900 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020901 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020902 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020903 "-fdata-sections",
20904 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090020905 "-fno-asynchronous-unwind-tables",
20906 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020907 "-fvisibility-inlines-hidden",
20908 "-fvisibility=hidden",
20909 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020910 ],
20911 local_include_dirs: [
20912 "./",
20913 "buildtools/third_party/libc++/",
20914 "buildtools/third_party/libc++/trunk/include",
20915 "buildtools/third_party/libc++abi/trunk/include",
20916 "third_party/abseil-cpp/",
20917 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090020918 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090020919 android_arm: {
20920 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020921 "-DANDROID",
20922 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20923 "-DHAVE_SYS_UIO_H",
20924 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020925 "-fstack-protector",
20926 ],
20927 },
20928 android_arm64: {
20929 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020930 "-DANDROID",
20931 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20932 "-DHAVE_SYS_UIO_H",
20933 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020934 "-fstack-protector",
20935 "-mno-outline",
20936 "-mno-outline-atomics",
20937 ],
20938 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020939 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020940 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020941 "-DANDROID",
20942 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20943 "-DHAVE_SYS_UIO_H",
20944 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020945 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020946 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090020947 },
20948 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020949 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000020950 "-DANDROID",
20951 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20952 "-DHAVE_SYS_UIO_H",
20953 "-Oz",
20954 "-fstack-protector",
20955 "-msse3",
20956 ],
20957 },
20958 host: {
20959 cflags: [
20960 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20961 "-DUSE_AURA=1",
20962 "-DUSE_OZONE=1",
20963 "-DUSE_UDEV",
20964 "-D_FILE_OFFSET_BITS=64",
20965 "-D_LARGEFILE64_SOURCE",
20966 "-D_LARGEFILE_SOURCE",
20967 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090020968 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020969 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020970 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090020971 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020972 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070020973}
20974
20975// GN: //third_party/abseil-cpp/absl/random/internal:randen
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020976cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070020977 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020978 srcs: [
20979 "third_party/abseil-cpp/absl/random/internal/randen.cc",
20980 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090020981 generated_headers: [
20982 "cronet_aml_build_chromeos_buildflags",
20983 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020984 defaults: [
20985 "cronet_aml_defaults",
20986 ],
20987 cflags: [
20988 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000020989 "-DANDROID",
20990 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20991 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
20992 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
20993 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
20994 "-DHAVE_SYS_UIO_H",
20995 "-DNDEBUG",
20996 "-DNO_UNWIND_TABLES",
20997 "-DNVALGRIND",
20998 "-DOFFICIAL_BUILD",
20999 "-D_GNU_SOURCE",
21000 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21001 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21002 "-Oz",
21003 "-fdata-sections",
21004 "-ffunction-sections",
21005 "-fno-asynchronous-unwind-tables",
21006 "-fno-unwind-tables",
21007 "-fvisibility-inlines-hidden",
21008 "-fvisibility=hidden",
21009 "-g1",
21010 ],
21011 local_include_dirs: [
21012 "./",
21013 "buildtools/third_party/libc++/",
21014 "buildtools/third_party/libc++/trunk/include",
21015 "buildtools/third_party/libc++abi/trunk/include",
21016 "third_party/abseil-cpp/",
21017 ],
21018 cpp_std: "c++17",
21019 target: {
21020 android_arm: {
21021 cflags: [
21022 "-fstack-protector",
21023 ],
21024 },
21025 android_arm64: {
21026 cflags: [
21027 "-fstack-protector",
21028 "-mno-outline",
21029 "-mno-outline-atomics",
21030 ],
21031 },
21032 android_x86: {
21033 cflags: [
21034 "-msse3",
21035 ],
21036 },
21037 android_x86_64: {
21038 cflags: [
21039 "-fstack-protector",
21040 "-msse3",
21041 ],
21042 },
21043 },
21044}
21045
21046// GN: //third_party/abseil-cpp/absl/random/internal:randen__testing
21047cc_object {
21048 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen__testing",
21049 srcs: [
21050 "third_party/abseil-cpp/absl/random/internal/randen.cc",
21051 ],
21052 host_supported: true,
21053 generated_headers: [
21054 "cronet_aml_build_chromeos_buildflags__testing",
21055 ],
21056 defaults: [
21057 "cronet_aml_defaults",
21058 ],
21059 cflags: [
21060 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021061 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21062 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021063 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021064 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021065 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021066 "-DNVALGRIND",
21067 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021068 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021069 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021070 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021071 "-fdata-sections",
21072 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021073 "-fno-asynchronous-unwind-tables",
21074 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021075 "-fvisibility-inlines-hidden",
21076 "-fvisibility=hidden",
21077 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021078 ],
21079 local_include_dirs: [
21080 "./",
21081 "buildtools/third_party/libc++/",
21082 "buildtools/third_party/libc++/trunk/include",
21083 "buildtools/third_party/libc++abi/trunk/include",
21084 "third_party/abseil-cpp/",
21085 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021086 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021087 android_arm: {
21088 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021089 "-DANDROID",
21090 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21091 "-DHAVE_SYS_UIO_H",
21092 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021093 "-fstack-protector",
21094 ],
21095 },
21096 android_arm64: {
21097 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021098 "-DANDROID",
21099 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21100 "-DHAVE_SYS_UIO_H",
21101 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021102 "-fstack-protector",
21103 "-mno-outline",
21104 "-mno-outline-atomics",
21105 ],
21106 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021107 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021108 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021109 "-DANDROID",
21110 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21111 "-DHAVE_SYS_UIO_H",
21112 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021113 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021114 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021115 },
21116 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021117 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021118 "-DANDROID",
21119 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21120 "-DHAVE_SYS_UIO_H",
21121 "-Oz",
21122 "-fstack-protector",
21123 "-msse3",
21124 ],
21125 },
21126 host: {
21127 cflags: [
21128 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21129 "-DUSE_AURA=1",
21130 "-DUSE_OZONE=1",
21131 "-DUSE_UDEV",
21132 "-D_FILE_OFFSET_BITS=64",
21133 "-D_LARGEFILE64_SOURCE",
21134 "-D_LARGEFILE_SOURCE",
21135 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021136 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021137 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021138 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021139 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021140 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021141}
21142
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021143// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes
21144cc_object {
21145 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
21146 srcs: [
21147 "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
21148 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090021149 generated_headers: [
21150 "cronet_aml_build_chromeos_buildflags",
21151 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021152 defaults: [
21153 "cronet_aml_defaults",
21154 ],
21155 cflags: [
21156 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021157 "-DANDROID",
21158 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21159 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21160 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21161 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21162 "-DHAVE_SYS_UIO_H",
21163 "-DNDEBUG",
21164 "-DNO_UNWIND_TABLES",
21165 "-DNVALGRIND",
21166 "-DOFFICIAL_BUILD",
21167 "-D_GNU_SOURCE",
21168 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21169 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21170 "-Oz",
21171 "-fdata-sections",
21172 "-ffunction-sections",
21173 "-fno-asynchronous-unwind-tables",
21174 "-fno-unwind-tables",
21175 "-fvisibility-inlines-hidden",
21176 "-fvisibility=hidden",
21177 "-g1",
21178 ],
21179 local_include_dirs: [
21180 "./",
21181 "buildtools/third_party/libc++/",
21182 "buildtools/third_party/libc++/trunk/include",
21183 "buildtools/third_party/libc++abi/trunk/include",
21184 "third_party/abseil-cpp/",
21185 ],
21186 cpp_std: "c++17",
21187 target: {
21188 android_arm: {
21189 cflags: [
21190 "-fstack-protector",
21191 ],
21192 },
21193 android_arm64: {
21194 cflags: [
21195 "-fstack-protector",
21196 "-mno-outline",
21197 "-mno-outline-atomics",
21198 ],
21199 },
21200 android_x86: {
21201 cflags: [
21202 "-msse3",
21203 ],
21204 },
21205 android_x86_64: {
21206 cflags: [
21207 "-fstack-protector",
21208 "-msse3",
21209 ],
21210 },
21211 },
21212}
21213
21214// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes__testing
21215cc_object {
21216 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes__testing",
21217 srcs: [
21218 "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
21219 ],
21220 host_supported: true,
21221 generated_headers: [
21222 "cronet_aml_build_chromeos_buildflags__testing",
21223 ],
21224 defaults: [
21225 "cronet_aml_defaults",
21226 ],
21227 cflags: [
21228 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021229 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21230 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021231 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021232 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021233 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021234 "-DNVALGRIND",
21235 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021236 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021237 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021238 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021239 "-fdata-sections",
21240 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021241 "-fno-asynchronous-unwind-tables",
21242 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021243 "-fvisibility-inlines-hidden",
21244 "-fvisibility=hidden",
21245 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021246 ],
21247 local_include_dirs: [
21248 "./",
21249 "buildtools/third_party/libc++/",
21250 "buildtools/third_party/libc++/trunk/include",
21251 "buildtools/third_party/libc++abi/trunk/include",
21252 "third_party/abseil-cpp/",
21253 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021254 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021255 android_arm: {
21256 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021257 "-DANDROID",
21258 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21259 "-DHAVE_SYS_UIO_H",
21260 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021261 "-fstack-protector",
21262 ],
21263 },
21264 android_arm64: {
21265 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021266 "-DANDROID",
21267 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21268 "-DHAVE_SYS_UIO_H",
21269 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021270 "-fstack-protector",
21271 "-mno-outline",
21272 "-mno-outline-atomics",
21273 ],
21274 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021275 android_x86: {
21276 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021277 "-DANDROID",
21278 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21279 "-DHAVE_SYS_UIO_H",
21280 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021281 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021282 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021283 },
21284 android_x86_64: {
21285 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021286 "-DANDROID",
21287 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21288 "-DHAVE_SYS_UIO_H",
21289 "-Oz",
21290 "-fstack-protector",
21291 "-msse3",
21292 ],
21293 },
21294 host: {
21295 cflags: [
21296 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21297 "-DUSE_AURA=1",
21298 "-DUSE_OZONE=1",
21299 "-DUSE_UDEV",
21300 "-D_FILE_OFFSET_BITS=64",
21301 "-D_LARGEFILE64_SOURCE",
21302 "-D_LARGEFILE_SOURCE",
21303 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021304 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021305 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021306 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021307 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021308 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021309}
21310
21311// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021312cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070021313 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021314 srcs: [
21315 "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
21316 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090021317 generated_headers: [
21318 "cronet_aml_build_chromeos_buildflags",
21319 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021320 defaults: [
21321 "cronet_aml_defaults",
21322 ],
21323 cflags: [
21324 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021325 "-DANDROID",
21326 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21327 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21328 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21329 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21330 "-DHAVE_SYS_UIO_H",
21331 "-DNDEBUG",
21332 "-DNO_UNWIND_TABLES",
21333 "-DNVALGRIND",
21334 "-DOFFICIAL_BUILD",
21335 "-D_GNU_SOURCE",
21336 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21337 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21338 "-Oz",
21339 "-fdata-sections",
21340 "-ffunction-sections",
21341 "-fno-asynchronous-unwind-tables",
21342 "-fno-unwind-tables",
21343 "-fvisibility-inlines-hidden",
21344 "-fvisibility=hidden",
21345 "-g1",
21346 ],
21347 local_include_dirs: [
21348 "./",
21349 "buildtools/third_party/libc++/",
21350 "buildtools/third_party/libc++/trunk/include",
21351 "buildtools/third_party/libc++abi/trunk/include",
21352 "third_party/abseil-cpp/",
21353 ],
21354 cpp_std: "c++17",
21355 target: {
21356 android_arm: {
21357 cflags: [
21358 "-fstack-protector",
21359 ],
21360 },
21361 android_arm64: {
21362 cflags: [
21363 "-fstack-protector",
21364 "-mno-outline",
21365 "-mno-outline-atomics",
21366 ],
21367 },
21368 android_x86: {
21369 cflags: [
21370 "-msse3",
21371 ],
21372 },
21373 android_x86_64: {
21374 cflags: [
21375 "-fstack-protector",
21376 "-msse3",
21377 ],
21378 },
21379 },
21380}
21381
21382// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl__testing
21383cc_object {
21384 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl__testing",
21385 srcs: [
21386 "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
21387 ],
21388 host_supported: true,
21389 generated_headers: [
21390 "cronet_aml_build_chromeos_buildflags__testing",
21391 ],
21392 defaults: [
21393 "cronet_aml_defaults",
21394 ],
21395 cflags: [
21396 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021397 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21398 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021399 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021400 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021401 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021402 "-DNVALGRIND",
21403 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021404 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021405 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021406 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021407 "-fdata-sections",
21408 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021409 "-fno-asynchronous-unwind-tables",
21410 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021411 "-fvisibility-inlines-hidden",
21412 "-fvisibility=hidden",
21413 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021414 ],
21415 local_include_dirs: [
21416 "./",
21417 "buildtools/third_party/libc++/",
21418 "buildtools/third_party/libc++/trunk/include",
21419 "buildtools/third_party/libc++abi/trunk/include",
21420 "third_party/abseil-cpp/",
21421 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021422 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021423 android_arm: {
21424 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021425 "-DANDROID",
21426 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21427 "-DHAVE_SYS_UIO_H",
21428 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021429 "-fstack-protector",
21430 ],
21431 },
21432 android_arm64: {
21433 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021434 "-DANDROID",
21435 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21436 "-DHAVE_SYS_UIO_H",
21437 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021438 "-fstack-protector",
21439 "-mno-outline",
21440 "-mno-outline-atomics",
21441 ],
21442 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021443 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021444 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021445 "-DANDROID",
21446 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21447 "-DHAVE_SYS_UIO_H",
21448 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021449 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021450 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021451 },
21452 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021453 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021454 "-DANDROID",
21455 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21456 "-DHAVE_SYS_UIO_H",
21457 "-Oz",
21458 "-fstack-protector",
21459 "-msse3",
21460 ],
21461 },
21462 host: {
21463 cflags: [
21464 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21465 "-DUSE_AURA=1",
21466 "-DUSE_OZONE=1",
21467 "-DUSE_UDEV",
21468 "-D_FILE_OFFSET_BITS=64",
21469 "-D_LARGEFILE64_SOURCE",
21470 "-D_LARGEFILE_SOURCE",
21471 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021472 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021473 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021474 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021475 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021476 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021477}
21478
21479// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021480cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070021481 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021482 srcs: [
21483 "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
21484 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090021485 generated_headers: [
21486 "cronet_aml_build_chromeos_buildflags",
21487 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021488 defaults: [
21489 "cronet_aml_defaults",
21490 ],
21491 cflags: [
21492 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021493 "-DANDROID",
21494 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21495 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21496 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21497 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21498 "-DHAVE_SYS_UIO_H",
21499 "-DNDEBUG",
21500 "-DNO_UNWIND_TABLES",
21501 "-DNVALGRIND",
21502 "-DOFFICIAL_BUILD",
21503 "-D_GNU_SOURCE",
21504 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21505 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21506 "-Oz",
21507 "-fdata-sections",
21508 "-ffunction-sections",
21509 "-fno-asynchronous-unwind-tables",
21510 "-fno-unwind-tables",
21511 "-fvisibility-inlines-hidden",
21512 "-fvisibility=hidden",
21513 "-g1",
21514 ],
21515 local_include_dirs: [
21516 "./",
21517 "buildtools/third_party/libc++/",
21518 "buildtools/third_party/libc++/trunk/include",
21519 "buildtools/third_party/libc++abi/trunk/include",
21520 "third_party/abseil-cpp/",
21521 ],
21522 cpp_std: "c++17",
21523 target: {
21524 android_arm: {
21525 cflags: [
21526 "-fstack-protector",
21527 ],
21528 },
21529 android_arm64: {
21530 cflags: [
21531 "-fstack-protector",
21532 "-mno-outline",
21533 "-mno-outline-atomics",
21534 ],
21535 },
21536 android_x86: {
21537 cflags: [
21538 "-msse3",
21539 ],
21540 },
21541 android_x86_64: {
21542 cflags: [
21543 "-fstack-protector",
21544 "-msse3",
21545 ],
21546 },
21547 },
21548}
21549
21550// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow__testing
21551cc_object {
21552 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow__testing",
21553 srcs: [
21554 "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
21555 ],
21556 host_supported: true,
21557 generated_headers: [
21558 "cronet_aml_build_chromeos_buildflags__testing",
21559 ],
21560 defaults: [
21561 "cronet_aml_defaults",
21562 ],
21563 cflags: [
21564 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021565 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21566 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021567 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021568 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021569 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021570 "-DNVALGRIND",
21571 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021572 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021573 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021574 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021575 "-fdata-sections",
21576 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021577 "-fno-asynchronous-unwind-tables",
21578 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021579 "-fvisibility-inlines-hidden",
21580 "-fvisibility=hidden",
21581 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021582 ],
21583 local_include_dirs: [
21584 "./",
21585 "buildtools/third_party/libc++/",
21586 "buildtools/third_party/libc++/trunk/include",
21587 "buildtools/third_party/libc++abi/trunk/include",
21588 "third_party/abseil-cpp/",
21589 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021590 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021591 android_arm: {
21592 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021593 "-DANDROID",
21594 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21595 "-DHAVE_SYS_UIO_H",
21596 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021597 "-fstack-protector",
21598 ],
21599 },
21600 android_arm64: {
21601 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021602 "-DANDROID",
21603 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21604 "-DHAVE_SYS_UIO_H",
21605 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021606 "-fstack-protector",
21607 "-mno-outline",
21608 "-mno-outline-atomics",
21609 ],
21610 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021611 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021612 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021613 "-DANDROID",
21614 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21615 "-DHAVE_SYS_UIO_H",
21616 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021617 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021618 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021619 },
21620 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021621 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021622 "-DANDROID",
21623 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21624 "-DHAVE_SYS_UIO_H",
21625 "-Oz",
21626 "-fstack-protector",
21627 "-msse3",
21628 ],
21629 },
21630 host: {
21631 cflags: [
21632 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21633 "-DUSE_AURA=1",
21634 "-DUSE_OZONE=1",
21635 "-DUSE_UDEV",
21636 "-D_FILE_OFFSET_BITS=64",
21637 "-D_LARGEFILE64_SOURCE",
21638 "-D_LARGEFILE_SOURCE",
21639 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021640 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021641 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021642 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090021643 },
Motomu Utsumi55394632022-11-18 17:44:28 +090021644 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021645}
21646
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021647// GN: //third_party/abseil-cpp/absl/random/internal:seed_material
21648cc_object {
21649 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
21650 srcs: [
21651 "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
21652 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021653 defaults: [
21654 "cronet_aml_defaults",
21655 ],
21656 cflags: [
21657 "-DABSL_ALLOCATOR_NOTHROW=1",
21658 "-DANDROID",
21659 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21660 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21661 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21662 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21663 "-DHAVE_SYS_UIO_H",
21664 "-DNDEBUG",
21665 "-DNO_UNWIND_TABLES",
21666 "-DNVALGRIND",
21667 "-DOFFICIAL_BUILD",
21668 "-D_GNU_SOURCE",
21669 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21670 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21671 "-Oz",
21672 "-fdata-sections",
21673 "-ffunction-sections",
21674 "-fno-asynchronous-unwind-tables",
21675 "-fno-unwind-tables",
21676 "-fvisibility-inlines-hidden",
21677 "-fvisibility=hidden",
21678 "-g1",
21679 ],
21680 local_include_dirs: [
21681 "./",
21682 "buildtools/third_party/libc++/",
21683 "buildtools/third_party/libc++/trunk/include",
21684 "buildtools/third_party/libc++abi/trunk/include",
21685 "third_party/abseil-cpp/",
21686 ],
21687 cpp_std: "c++17",
21688 target: {
21689 android_arm: {
21690 cflags: [
21691 "-fstack-protector",
21692 ],
21693 },
21694 android_arm64: {
21695 cflags: [
21696 "-fstack-protector",
21697 "-mno-outline",
21698 "-mno-outline-atomics",
21699 ],
21700 },
21701 android_x86: {
21702 cflags: [
21703 "-msse3",
21704 ],
21705 },
21706 android_x86_64: {
21707 cflags: [
21708 "-fstack-protector",
21709 "-msse3",
21710 ],
21711 },
21712 },
21713}
21714
21715// GN: //third_party/abseil-cpp/absl/random/internal:seed_material__testing
21716cc_object {
21717 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material__testing",
21718 srcs: [
21719 "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
21720 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021721 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021722 defaults: [
21723 "cronet_aml_defaults",
21724 ],
21725 cflags: [
21726 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021727 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21728 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021729 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021730 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021731 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021732 "-DNVALGRIND",
21733 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021734 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021735 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021736 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021737 "-fdata-sections",
21738 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021739 "-fno-asynchronous-unwind-tables",
21740 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021741 "-fvisibility-inlines-hidden",
21742 "-fvisibility=hidden",
21743 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021744 ],
21745 local_include_dirs: [
21746 "./",
21747 "buildtools/third_party/libc++/",
21748 "buildtools/third_party/libc++/trunk/include",
21749 "buildtools/third_party/libc++abi/trunk/include",
21750 "third_party/abseil-cpp/",
21751 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021752 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021753 android_arm: {
21754 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021755 "-DANDROID",
21756 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21757 "-DHAVE_SYS_UIO_H",
21758 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021759 "-fstack-protector",
21760 ],
21761 },
21762 android_arm64: {
21763 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021764 "-DANDROID",
21765 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21766 "-DHAVE_SYS_UIO_H",
21767 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021768 "-fstack-protector",
21769 "-mno-outline",
21770 "-mno-outline-atomics",
21771 ],
21772 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021773 android_x86: {
21774 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021775 "-DANDROID",
21776 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21777 "-DHAVE_SYS_UIO_H",
21778 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021779 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021780 ],
21781 },
21782 android_x86_64: {
21783 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021784 "-DANDROID",
21785 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21786 "-DHAVE_SYS_UIO_H",
21787 "-Oz",
21788 "-fstack-protector",
21789 "-msse3",
21790 ],
21791 },
21792 host: {
21793 cflags: [
21794 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21795 "-DUSE_AURA=1",
21796 "-DUSE_OZONE=1",
21797 "-DUSE_UDEV",
21798 "-D_FILE_OFFSET_BITS=64",
21799 "-D_LARGEFILE64_SOURCE",
21800 "-D_LARGEFILE_SOURCE",
21801 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021802 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021803 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090021804 ],
21805 },
21806 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021807}
21808
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021809// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception
21810cc_object {
21811 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
21812 srcs: [
21813 "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
21814 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021815 defaults: [
21816 "cronet_aml_defaults",
21817 ],
21818 cflags: [
21819 "-DABSL_ALLOCATOR_NOTHROW=1",
21820 "-DANDROID",
21821 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21822 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21823 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21824 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21825 "-DHAVE_SYS_UIO_H",
21826 "-DNDEBUG",
21827 "-DNO_UNWIND_TABLES",
21828 "-DNVALGRIND",
21829 "-DOFFICIAL_BUILD",
21830 "-D_GNU_SOURCE",
21831 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21832 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21833 "-Oz",
21834 "-fdata-sections",
21835 "-ffunction-sections",
21836 "-fno-asynchronous-unwind-tables",
21837 "-fno-unwind-tables",
21838 "-fvisibility-inlines-hidden",
21839 "-fvisibility=hidden",
21840 "-g1",
21841 ],
21842 local_include_dirs: [
21843 "./",
21844 "buildtools/third_party/libc++/",
21845 "buildtools/third_party/libc++/trunk/include",
21846 "buildtools/third_party/libc++abi/trunk/include",
21847 "third_party/abseil-cpp/",
21848 ],
21849 cpp_std: "c++17",
21850 target: {
21851 android_arm: {
21852 cflags: [
21853 "-fstack-protector",
21854 ],
21855 },
21856 android_arm64: {
21857 cflags: [
21858 "-fstack-protector",
21859 "-mno-outline",
21860 "-mno-outline-atomics",
21861 ],
21862 },
21863 android_x86: {
21864 cflags: [
21865 "-msse3",
21866 ],
21867 },
21868 android_x86_64: {
21869 cflags: [
21870 "-fstack-protector",
21871 "-msse3",
21872 ],
21873 },
21874 },
21875}
21876
21877// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception__testing
21878cc_object {
21879 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception__testing",
21880 srcs: [
21881 "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
21882 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021883 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021884 defaults: [
21885 "cronet_aml_defaults",
21886 ],
21887 cflags: [
21888 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090021889 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21890 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021891 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021892 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090021893 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090021894 "-DNVALGRIND",
21895 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021896 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021897 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021898 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021899 "-fdata-sections",
21900 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090021901 "-fno-asynchronous-unwind-tables",
21902 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021903 "-fvisibility-inlines-hidden",
21904 "-fvisibility=hidden",
21905 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021906 ],
21907 local_include_dirs: [
21908 "./",
21909 "buildtools/third_party/libc++/",
21910 "buildtools/third_party/libc++/trunk/include",
21911 "buildtools/third_party/libc++abi/trunk/include",
21912 "third_party/abseil-cpp/",
21913 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021914 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090021915 android_arm: {
21916 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021917 "-DANDROID",
21918 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21919 "-DHAVE_SYS_UIO_H",
21920 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021921 "-fstack-protector",
21922 ],
21923 },
21924 android_arm64: {
21925 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021926 "-DANDROID",
21927 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21928 "-DHAVE_SYS_UIO_H",
21929 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021930 "-fstack-protector",
21931 "-mno-outline",
21932 "-mno-outline-atomics",
21933 ],
21934 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021935 android_x86: {
21936 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021937 "-DANDROID",
21938 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21939 "-DHAVE_SYS_UIO_H",
21940 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021941 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021942 ],
21943 },
21944 android_x86_64: {
21945 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000021946 "-DANDROID",
21947 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21948 "-DHAVE_SYS_UIO_H",
21949 "-Oz",
21950 "-fstack-protector",
21951 "-msse3",
21952 ],
21953 },
21954 host: {
21955 cflags: [
21956 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
21957 "-DUSE_AURA=1",
21958 "-DUSE_OZONE=1",
21959 "-DUSE_UDEV",
21960 "-D_FILE_OFFSET_BITS=64",
21961 "-D_LARGEFILE64_SOURCE",
21962 "-D_LARGEFILE_SOURCE",
21963 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090021964 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021965 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090021966 ],
21967 },
21968 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070021969}
21970
21971// GN: //third_party/abseil-cpp/absl/random:seed_sequences
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021972cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070021973 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021974 srcs: [
21975 "third_party/abseil-cpp/absl/random/seed_sequences.cc",
21976 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090021977 generated_headers: [
21978 "cronet_aml_build_chromeos_buildflags",
21979 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021980 defaults: [
21981 "cronet_aml_defaults",
21982 ],
21983 cflags: [
21984 "-DABSL_ALLOCATOR_NOTHROW=1",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000021985 "-DANDROID",
21986 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21987 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
21988 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
21989 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
21990 "-DHAVE_SYS_UIO_H",
21991 "-DNDEBUG",
21992 "-DNO_UNWIND_TABLES",
21993 "-DNVALGRIND",
21994 "-DOFFICIAL_BUILD",
21995 "-D_GNU_SOURCE",
21996 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21997 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21998 "-Oz",
21999 "-fdata-sections",
22000 "-ffunction-sections",
22001 "-fno-asynchronous-unwind-tables",
22002 "-fno-unwind-tables",
22003 "-fvisibility-inlines-hidden",
22004 "-fvisibility=hidden",
22005 "-g1",
22006 ],
22007 local_include_dirs: [
22008 "./",
22009 "buildtools/third_party/libc++/",
22010 "buildtools/third_party/libc++/trunk/include",
22011 "buildtools/third_party/libc++abi/trunk/include",
22012 "third_party/abseil-cpp/",
22013 ],
22014 cpp_std: "c++17",
22015 target: {
22016 android_arm: {
22017 cflags: [
22018 "-fstack-protector",
22019 ],
22020 },
22021 android_arm64: {
22022 cflags: [
22023 "-fstack-protector",
22024 "-mno-outline",
22025 "-mno-outline-atomics",
22026 ],
22027 },
22028 android_x86: {
22029 cflags: [
22030 "-msse3",
22031 ],
22032 },
22033 android_x86_64: {
22034 cflags: [
22035 "-fstack-protector",
22036 "-msse3",
22037 ],
22038 },
22039 },
22040}
22041
22042// GN: //third_party/abseil-cpp/absl/random:seed_sequences__testing
22043cc_object {
22044 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences__testing",
22045 srcs: [
22046 "third_party/abseil-cpp/absl/random/seed_sequences.cc",
22047 ],
22048 host_supported: true,
22049 generated_headers: [
22050 "cronet_aml_build_chromeos_buildflags__testing",
22051 ],
22052 defaults: [
22053 "cronet_aml_defaults",
22054 ],
22055 cflags: [
22056 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022057 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22058 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022059 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022060 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022061 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022062 "-DNVALGRIND",
22063 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022064 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022065 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022066 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022067 "-fdata-sections",
22068 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022069 "-fno-asynchronous-unwind-tables",
22070 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022071 "-fvisibility-inlines-hidden",
22072 "-fvisibility=hidden",
22073 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022074 ],
22075 local_include_dirs: [
22076 "./",
22077 "buildtools/third_party/libc++/",
22078 "buildtools/third_party/libc++/trunk/include",
22079 "buildtools/third_party/libc++abi/trunk/include",
22080 "third_party/abseil-cpp/",
22081 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022082 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022083 android_arm: {
22084 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022085 "-DANDROID",
22086 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22087 "-DHAVE_SYS_UIO_H",
22088 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022089 "-fstack-protector",
22090 ],
22091 },
22092 android_arm64: {
22093 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022094 "-DANDROID",
22095 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22096 "-DHAVE_SYS_UIO_H",
22097 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022098 "-fstack-protector",
22099 "-mno-outline",
22100 "-mno-outline-atomics",
22101 ],
22102 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022103 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022104 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022105 "-DANDROID",
22106 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22107 "-DHAVE_SYS_UIO_H",
22108 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022109 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022110 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022111 },
22112 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022113 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022114 "-DANDROID",
22115 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22116 "-DHAVE_SYS_UIO_H",
22117 "-Oz",
22118 "-fstack-protector",
22119 "-msse3",
22120 ],
22121 },
22122 host: {
22123 cflags: [
22124 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22125 "-DUSE_AURA=1",
22126 "-DUSE_OZONE=1",
22127 "-DUSE_UDEV",
22128 "-D_FILE_OFFSET_BITS=64",
22129 "-D_LARGEFILE64_SOURCE",
22130 "-D_LARGEFILE_SOURCE",
22131 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022132 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022133 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022134 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022135 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022136 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022137}
22138
22139// GN: //third_party/abseil-cpp/absl/status:status
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022140cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022141 name: "cronet_aml_third_party_abseil_cpp_absl_status_status",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022142 srcs: [
22143 "third_party/abseil-cpp/absl/status/status.cc",
22144 "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
22145 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022146 defaults: [
22147 "cronet_aml_defaults",
22148 ],
22149 cflags: [
22150 "-DABSL_ALLOCATOR_NOTHROW=1",
22151 "-DANDROID",
22152 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22153 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22154 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22155 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22156 "-DHAVE_SYS_UIO_H",
22157 "-DNDEBUG",
22158 "-DNO_UNWIND_TABLES",
22159 "-DNVALGRIND",
22160 "-DOFFICIAL_BUILD",
22161 "-D_GNU_SOURCE",
22162 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22163 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22164 "-Oz",
22165 "-fdata-sections",
22166 "-ffunction-sections",
22167 "-fno-asynchronous-unwind-tables",
22168 "-fno-unwind-tables",
22169 "-fvisibility-inlines-hidden",
22170 "-fvisibility=hidden",
22171 "-g1",
22172 ],
22173 local_include_dirs: [
22174 "./",
22175 "buildtools/third_party/libc++/",
22176 "buildtools/third_party/libc++/trunk/include",
22177 "buildtools/third_party/libc++abi/trunk/include",
22178 "third_party/abseil-cpp/",
22179 ],
22180 cpp_std: "c++17",
22181 target: {
22182 android_arm: {
22183 cflags: [
22184 "-fstack-protector",
22185 ],
22186 },
22187 android_arm64: {
22188 cflags: [
22189 "-fstack-protector",
22190 "-mno-outline",
22191 "-mno-outline-atomics",
22192 ],
22193 },
22194 android_x86: {
22195 cflags: [
22196 "-msse3",
22197 ],
22198 },
22199 android_x86_64: {
22200 cflags: [
22201 "-fstack-protector",
22202 "-msse3",
22203 ],
22204 },
22205 },
22206}
22207
22208// GN: //third_party/abseil-cpp/absl/status:status__testing
22209cc_object {
22210 name: "cronet_aml_third_party_abseil_cpp_absl_status_status__testing",
22211 srcs: [
22212 "third_party/abseil-cpp/absl/status/status.cc",
22213 "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
22214 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022215 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022216 defaults: [
22217 "cronet_aml_defaults",
22218 ],
22219 cflags: [
22220 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022221 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22222 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022223 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022224 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022225 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022226 "-DNVALGRIND",
22227 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022228 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022229 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022230 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022231 "-fdata-sections",
22232 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022233 "-fno-asynchronous-unwind-tables",
22234 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022235 "-fvisibility-inlines-hidden",
22236 "-fvisibility=hidden",
22237 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022238 ],
22239 local_include_dirs: [
22240 "./",
22241 "buildtools/third_party/libc++/",
22242 "buildtools/third_party/libc++/trunk/include",
22243 "buildtools/third_party/libc++abi/trunk/include",
22244 "third_party/abseil-cpp/",
22245 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022246 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022247 android_arm: {
22248 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022249 "-DANDROID",
22250 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22251 "-DHAVE_SYS_UIO_H",
22252 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022253 "-fstack-protector",
22254 ],
22255 },
22256 android_arm64: {
22257 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022258 "-DANDROID",
22259 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22260 "-DHAVE_SYS_UIO_H",
22261 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022262 "-fstack-protector",
22263 "-mno-outline",
22264 "-mno-outline-atomics",
22265 ],
22266 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022267 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022268 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022269 "-DANDROID",
22270 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22271 "-DHAVE_SYS_UIO_H",
22272 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022273 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022274 ],
22275 },
22276 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022277 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022278 "-DANDROID",
22279 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22280 "-DHAVE_SYS_UIO_H",
22281 "-Oz",
22282 "-fstack-protector",
22283 "-msse3",
22284 ],
22285 },
22286 host: {
22287 cflags: [
22288 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22289 "-DUSE_AURA=1",
22290 "-DUSE_OZONE=1",
22291 "-DUSE_UDEV",
22292 "-D_FILE_OFFSET_BITS=64",
22293 "-D_LARGEFILE64_SOURCE",
22294 "-D_LARGEFILE_SOURCE",
22295 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022296 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022297 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022298 ],
22299 },
22300 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022301}
22302
22303// GN: //third_party/abseil-cpp/absl/status:statusor
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022304cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022305 name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022306 srcs: [
22307 "third_party/abseil-cpp/absl/status/statusor.cc",
22308 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022309 defaults: [
22310 "cronet_aml_defaults",
22311 ],
22312 cflags: [
22313 "-DABSL_ALLOCATOR_NOTHROW=1",
22314 "-DANDROID",
22315 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22316 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22317 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22318 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22319 "-DHAVE_SYS_UIO_H",
22320 "-DNDEBUG",
22321 "-DNO_UNWIND_TABLES",
22322 "-DNVALGRIND",
22323 "-DOFFICIAL_BUILD",
22324 "-D_GNU_SOURCE",
22325 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22326 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22327 "-Oz",
22328 "-fdata-sections",
22329 "-ffunction-sections",
22330 "-fno-asynchronous-unwind-tables",
22331 "-fno-unwind-tables",
22332 "-fvisibility-inlines-hidden",
22333 "-fvisibility=hidden",
22334 "-g1",
22335 ],
22336 local_include_dirs: [
22337 "./",
22338 "buildtools/third_party/libc++/",
22339 "buildtools/third_party/libc++/trunk/include",
22340 "buildtools/third_party/libc++abi/trunk/include",
22341 "third_party/abseil-cpp/",
22342 ],
22343 cpp_std: "c++17",
22344 target: {
22345 android_arm: {
22346 cflags: [
22347 "-fstack-protector",
22348 ],
22349 },
22350 android_arm64: {
22351 cflags: [
22352 "-fstack-protector",
22353 "-mno-outline",
22354 "-mno-outline-atomics",
22355 ],
22356 },
22357 android_x86: {
22358 cflags: [
22359 "-msse3",
22360 ],
22361 },
22362 android_x86_64: {
22363 cflags: [
22364 "-fstack-protector",
22365 "-msse3",
22366 ],
22367 },
22368 },
22369}
22370
22371// GN: //third_party/abseil-cpp/absl/status:statusor__testing
22372cc_object {
22373 name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor__testing",
22374 srcs: [
22375 "third_party/abseil-cpp/absl/status/statusor.cc",
22376 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022377 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022378 defaults: [
22379 "cronet_aml_defaults",
22380 ],
22381 cflags: [
22382 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022383 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22384 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022385 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022386 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022387 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022388 "-DNVALGRIND",
22389 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022390 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022391 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022392 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022393 "-fdata-sections",
22394 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022395 "-fno-asynchronous-unwind-tables",
22396 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022397 "-fvisibility-inlines-hidden",
22398 "-fvisibility=hidden",
22399 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022400 ],
22401 local_include_dirs: [
22402 "./",
22403 "buildtools/third_party/libc++/",
22404 "buildtools/third_party/libc++/trunk/include",
22405 "buildtools/third_party/libc++abi/trunk/include",
22406 "third_party/abseil-cpp/",
22407 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022408 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022409 android_arm: {
22410 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022411 "-DANDROID",
22412 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22413 "-DHAVE_SYS_UIO_H",
22414 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022415 "-fstack-protector",
22416 ],
22417 },
22418 android_arm64: {
22419 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022420 "-DANDROID",
22421 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22422 "-DHAVE_SYS_UIO_H",
22423 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022424 "-fstack-protector",
22425 "-mno-outline",
22426 "-mno-outline-atomics",
22427 ],
22428 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022429 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022430 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022431 "-DANDROID",
22432 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22433 "-DHAVE_SYS_UIO_H",
22434 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022435 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022436 ],
22437 },
22438 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022439 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022440 "-DANDROID",
22441 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22442 "-DHAVE_SYS_UIO_H",
22443 "-Oz",
22444 "-fstack-protector",
22445 "-msse3",
22446 ],
22447 },
22448 host: {
22449 cflags: [
22450 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22451 "-DUSE_AURA=1",
22452 "-DUSE_OZONE=1",
22453 "-DUSE_UDEV",
22454 "-D_FILE_OFFSET_BITS=64",
22455 "-D_LARGEFILE64_SOURCE",
22456 "-D_LARGEFILE_SOURCE",
22457 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022458 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022459 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022460 ],
22461 },
22462 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022463}
22464
22465// GN: //third_party/abseil-cpp/absl/strings:cord
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022466cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022467 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022468 srcs: [
22469 "third_party/abseil-cpp/absl/strings/cord.cc",
22470 "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
22471 "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
22472 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022473 defaults: [
22474 "cronet_aml_defaults",
22475 ],
22476 cflags: [
22477 "-DABSL_ALLOCATOR_NOTHROW=1",
22478 "-DANDROID",
22479 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22480 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22481 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22482 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22483 "-DHAVE_SYS_UIO_H",
22484 "-DNDEBUG",
22485 "-DNO_UNWIND_TABLES",
22486 "-DNVALGRIND",
22487 "-DOFFICIAL_BUILD",
22488 "-D_GNU_SOURCE",
22489 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22490 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22491 "-Oz",
22492 "-fdata-sections",
22493 "-ffunction-sections",
22494 "-fno-asynchronous-unwind-tables",
22495 "-fno-unwind-tables",
22496 "-fvisibility-inlines-hidden",
22497 "-fvisibility=hidden",
22498 "-g1",
22499 ],
22500 local_include_dirs: [
22501 "./",
22502 "buildtools/third_party/libc++/",
22503 "buildtools/third_party/libc++/trunk/include",
22504 "buildtools/third_party/libc++abi/trunk/include",
22505 "third_party/abseil-cpp/",
22506 ],
22507 cpp_std: "c++17",
22508 target: {
22509 android_arm: {
22510 cflags: [
22511 "-fstack-protector",
22512 ],
22513 },
22514 android_arm64: {
22515 cflags: [
22516 "-fstack-protector",
22517 "-mno-outline",
22518 "-mno-outline-atomics",
22519 ],
22520 },
22521 android_x86: {
22522 cflags: [
22523 "-msse3",
22524 ],
22525 },
22526 android_x86_64: {
22527 cflags: [
22528 "-fstack-protector",
22529 "-msse3",
22530 ],
22531 },
22532 },
22533}
22534
22535// GN: //third_party/abseil-cpp/absl/strings:cord__testing
22536cc_object {
22537 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord__testing",
22538 srcs: [
22539 "third_party/abseil-cpp/absl/strings/cord.cc",
22540 "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
22541 "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
22542 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022543 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022544 defaults: [
22545 "cronet_aml_defaults",
22546 ],
22547 cflags: [
22548 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022549 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22550 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022551 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022552 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022553 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022554 "-DNVALGRIND",
22555 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022556 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022557 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022558 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022559 "-fdata-sections",
22560 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022561 "-fno-asynchronous-unwind-tables",
22562 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022563 "-fvisibility-inlines-hidden",
22564 "-fvisibility=hidden",
22565 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022566 ],
22567 local_include_dirs: [
22568 "./",
22569 "buildtools/third_party/libc++/",
22570 "buildtools/third_party/libc++/trunk/include",
22571 "buildtools/third_party/libc++abi/trunk/include",
22572 "third_party/abseil-cpp/",
22573 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022574 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022575 android_arm: {
22576 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022577 "-DANDROID",
22578 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22579 "-DHAVE_SYS_UIO_H",
22580 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022581 "-fstack-protector",
22582 ],
22583 },
22584 android_arm64: {
22585 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022586 "-DANDROID",
22587 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22588 "-DHAVE_SYS_UIO_H",
22589 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022590 "-fstack-protector",
22591 "-mno-outline",
22592 "-mno-outline-atomics",
22593 ],
22594 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022595 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022596 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022597 "-DANDROID",
22598 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22599 "-DHAVE_SYS_UIO_H",
22600 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022601 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022602 ],
22603 },
22604 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022605 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022606 "-DANDROID",
22607 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22608 "-DHAVE_SYS_UIO_H",
22609 "-Oz",
22610 "-fstack-protector",
22611 "-msse3",
22612 ],
22613 },
22614 host: {
22615 cflags: [
22616 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22617 "-DUSE_AURA=1",
22618 "-DUSE_OZONE=1",
22619 "-DUSE_UDEV",
22620 "-D_FILE_OFFSET_BITS=64",
22621 "-D_LARGEFILE64_SOURCE",
22622 "-D_LARGEFILE_SOURCE",
22623 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022624 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022625 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022626 ],
22627 },
22628 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022629}
22630
22631// GN: //third_party/abseil-cpp/absl/strings:cord_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022632cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022633 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022634 srcs: [
22635 "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
22636 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
22637 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
22638 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
22639 "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
22640 "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
22641 "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
22642 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022643 defaults: [
22644 "cronet_aml_defaults",
22645 ],
22646 cflags: [
22647 "-DABSL_ALLOCATOR_NOTHROW=1",
22648 "-DANDROID",
22649 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22650 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22651 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22652 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22653 "-DHAVE_SYS_UIO_H",
22654 "-DNDEBUG",
22655 "-DNO_UNWIND_TABLES",
22656 "-DNVALGRIND",
22657 "-DOFFICIAL_BUILD",
22658 "-D_GNU_SOURCE",
22659 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22660 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22661 "-Oz",
22662 "-fdata-sections",
22663 "-ffunction-sections",
22664 "-fno-asynchronous-unwind-tables",
22665 "-fno-unwind-tables",
22666 "-fvisibility-inlines-hidden",
22667 "-fvisibility=hidden",
22668 "-g1",
22669 ],
22670 local_include_dirs: [
22671 "./",
22672 "buildtools/third_party/libc++/",
22673 "buildtools/third_party/libc++/trunk/include",
22674 "buildtools/third_party/libc++abi/trunk/include",
22675 "third_party/abseil-cpp/",
22676 ],
22677 cpp_std: "c++17",
22678 target: {
22679 android_arm: {
22680 cflags: [
22681 "-fstack-protector",
22682 ],
22683 },
22684 android_arm64: {
22685 cflags: [
22686 "-fstack-protector",
22687 "-mno-outline",
22688 "-mno-outline-atomics",
22689 ],
22690 },
22691 android_x86: {
22692 cflags: [
22693 "-msse3",
22694 ],
22695 },
22696 android_x86_64: {
22697 cflags: [
22698 "-fstack-protector",
22699 "-msse3",
22700 ],
22701 },
22702 },
22703}
22704
22705// GN: //third_party/abseil-cpp/absl/strings:cord_internal__testing
22706cc_object {
22707 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal__testing",
22708 srcs: [
22709 "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
22710 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
22711 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
22712 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
22713 "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
22714 "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
22715 "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
22716 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022717 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022718 defaults: [
22719 "cronet_aml_defaults",
22720 ],
22721 cflags: [
22722 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022723 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22724 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022725 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022726 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022727 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022728 "-DNVALGRIND",
22729 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022730 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022731 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022732 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022733 "-fdata-sections",
22734 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022735 "-fno-asynchronous-unwind-tables",
22736 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022737 "-fvisibility-inlines-hidden",
22738 "-fvisibility=hidden",
22739 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022740 ],
22741 local_include_dirs: [
22742 "./",
22743 "buildtools/third_party/libc++/",
22744 "buildtools/third_party/libc++/trunk/include",
22745 "buildtools/third_party/libc++abi/trunk/include",
22746 "third_party/abseil-cpp/",
22747 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022748 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022749 android_arm: {
22750 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022751 "-DANDROID",
22752 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22753 "-DHAVE_SYS_UIO_H",
22754 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022755 "-fstack-protector",
22756 ],
22757 },
22758 android_arm64: {
22759 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022760 "-DANDROID",
22761 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22762 "-DHAVE_SYS_UIO_H",
22763 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022764 "-fstack-protector",
22765 "-mno-outline",
22766 "-mno-outline-atomics",
22767 ],
22768 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022769 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022770 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022771 "-DANDROID",
22772 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22773 "-DHAVE_SYS_UIO_H",
22774 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022775 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022776 ],
22777 },
22778 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022779 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022780 "-DANDROID",
22781 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22782 "-DHAVE_SYS_UIO_H",
22783 "-Oz",
22784 "-fstack-protector",
22785 "-msse3",
22786 ],
22787 },
22788 host: {
22789 cflags: [
22790 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22791 "-DUSE_AURA=1",
22792 "-DUSE_OZONE=1",
22793 "-DUSE_UDEV",
22794 "-D_FILE_OFFSET_BITS=64",
22795 "-D_LARGEFILE64_SOURCE",
22796 "-D_LARGEFILE_SOURCE",
22797 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022798 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022799 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022800 ],
22801 },
22802 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022803}
22804
22805// GN: //third_party/abseil-cpp/absl/strings:cordz_functions
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022806cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022807 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022808 srcs: [
22809 "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
22810 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022811 defaults: [
22812 "cronet_aml_defaults",
22813 ],
22814 cflags: [
22815 "-DABSL_ALLOCATOR_NOTHROW=1",
22816 "-DANDROID",
22817 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22818 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22819 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22820 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22821 "-DHAVE_SYS_UIO_H",
22822 "-DNDEBUG",
22823 "-DNO_UNWIND_TABLES",
22824 "-DNVALGRIND",
22825 "-DOFFICIAL_BUILD",
22826 "-D_GNU_SOURCE",
22827 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22828 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22829 "-Oz",
22830 "-fdata-sections",
22831 "-ffunction-sections",
22832 "-fno-asynchronous-unwind-tables",
22833 "-fno-unwind-tables",
22834 "-fvisibility-inlines-hidden",
22835 "-fvisibility=hidden",
22836 "-g1",
22837 ],
22838 local_include_dirs: [
22839 "./",
22840 "buildtools/third_party/libc++/",
22841 "buildtools/third_party/libc++/trunk/include",
22842 "buildtools/third_party/libc++abi/trunk/include",
22843 "third_party/abseil-cpp/",
22844 ],
22845 cpp_std: "c++17",
22846 target: {
22847 android_arm: {
22848 cflags: [
22849 "-fstack-protector",
22850 ],
22851 },
22852 android_arm64: {
22853 cflags: [
22854 "-fstack-protector",
22855 "-mno-outline",
22856 "-mno-outline-atomics",
22857 ],
22858 },
22859 android_x86: {
22860 cflags: [
22861 "-msse3",
22862 ],
22863 },
22864 android_x86_64: {
22865 cflags: [
22866 "-fstack-protector",
22867 "-msse3",
22868 ],
22869 },
22870 },
22871}
22872
22873// GN: //third_party/abseil-cpp/absl/strings:cordz_functions__testing
22874cc_object {
22875 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions__testing",
22876 srcs: [
22877 "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
22878 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022879 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022880 defaults: [
22881 "cronet_aml_defaults",
22882 ],
22883 cflags: [
22884 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090022885 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22886 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022887 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022888 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090022889 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090022890 "-DNVALGRIND",
22891 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022892 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022893 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022894 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022895 "-fdata-sections",
22896 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090022897 "-fno-asynchronous-unwind-tables",
22898 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022899 "-fvisibility-inlines-hidden",
22900 "-fvisibility=hidden",
22901 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022902 ],
22903 local_include_dirs: [
22904 "./",
22905 "buildtools/third_party/libc++/",
22906 "buildtools/third_party/libc++/trunk/include",
22907 "buildtools/third_party/libc++abi/trunk/include",
22908 "third_party/abseil-cpp/",
22909 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090022910 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090022911 android_arm: {
22912 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022913 "-DANDROID",
22914 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22915 "-DHAVE_SYS_UIO_H",
22916 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022917 "-fstack-protector",
22918 ],
22919 },
22920 android_arm64: {
22921 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022922 "-DANDROID",
22923 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22924 "-DHAVE_SYS_UIO_H",
22925 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022926 "-fstack-protector",
22927 "-mno-outline",
22928 "-mno-outline-atomics",
22929 ],
22930 },
Motomu Utsumi55394632022-11-18 17:44:28 +090022931 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022932 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022933 "-DANDROID",
22934 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22935 "-DHAVE_SYS_UIO_H",
22936 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022937 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022938 ],
22939 },
22940 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022941 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000022942 "-DANDROID",
22943 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22944 "-DHAVE_SYS_UIO_H",
22945 "-Oz",
22946 "-fstack-protector",
22947 "-msse3",
22948 ],
22949 },
22950 host: {
22951 cflags: [
22952 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
22953 "-DUSE_AURA=1",
22954 "-DUSE_OZONE=1",
22955 "-DUSE_UDEV",
22956 "-D_FILE_OFFSET_BITS=64",
22957 "-D_LARGEFILE64_SOURCE",
22958 "-D_LARGEFILE_SOURCE",
22959 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090022960 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090022961 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090022962 ],
22963 },
22964 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070022965}
22966
22967// GN: //third_party/abseil-cpp/absl/strings:cordz_handle
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022968cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070022969 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000022970 srcs: [
22971 "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
22972 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000022973 defaults: [
22974 "cronet_aml_defaults",
22975 ],
22976 cflags: [
22977 "-DABSL_ALLOCATOR_NOTHROW=1",
22978 "-DANDROID",
22979 "-DANDROID_NDK_VERSION_ROLL=r23_1",
22980 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
22981 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
22982 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
22983 "-DHAVE_SYS_UIO_H",
22984 "-DNDEBUG",
22985 "-DNO_UNWIND_TABLES",
22986 "-DNVALGRIND",
22987 "-DOFFICIAL_BUILD",
22988 "-D_GNU_SOURCE",
22989 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
22990 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
22991 "-Oz",
22992 "-fdata-sections",
22993 "-ffunction-sections",
22994 "-fno-asynchronous-unwind-tables",
22995 "-fno-unwind-tables",
22996 "-fvisibility-inlines-hidden",
22997 "-fvisibility=hidden",
22998 "-g1",
22999 ],
23000 local_include_dirs: [
23001 "./",
23002 "buildtools/third_party/libc++/",
23003 "buildtools/third_party/libc++/trunk/include",
23004 "buildtools/third_party/libc++abi/trunk/include",
23005 "third_party/abseil-cpp/",
23006 ],
23007 cpp_std: "c++17",
23008 target: {
23009 android_arm: {
23010 cflags: [
23011 "-fstack-protector",
23012 ],
23013 },
23014 android_arm64: {
23015 cflags: [
23016 "-fstack-protector",
23017 "-mno-outline",
23018 "-mno-outline-atomics",
23019 ],
23020 },
23021 android_x86: {
23022 cflags: [
23023 "-msse3",
23024 ],
23025 },
23026 android_x86_64: {
23027 cflags: [
23028 "-fstack-protector",
23029 "-msse3",
23030 ],
23031 },
23032 },
23033}
23034
23035// GN: //third_party/abseil-cpp/absl/strings:cordz_handle__testing
23036cc_object {
23037 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle__testing",
23038 srcs: [
23039 "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
23040 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023041 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023042 defaults: [
23043 "cronet_aml_defaults",
23044 ],
23045 cflags: [
23046 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023047 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23048 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023049 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023050 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023051 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023052 "-DNVALGRIND",
23053 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023054 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023055 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023056 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023057 "-fdata-sections",
23058 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023059 "-fno-asynchronous-unwind-tables",
23060 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023061 "-fvisibility-inlines-hidden",
23062 "-fvisibility=hidden",
23063 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023064 ],
23065 local_include_dirs: [
23066 "./",
23067 "buildtools/third_party/libc++/",
23068 "buildtools/third_party/libc++/trunk/include",
23069 "buildtools/third_party/libc++abi/trunk/include",
23070 "third_party/abseil-cpp/",
23071 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090023072 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023073 android_arm: {
23074 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023075 "-DANDROID",
23076 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23077 "-DHAVE_SYS_UIO_H",
23078 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023079 "-fstack-protector",
23080 ],
23081 },
23082 android_arm64: {
23083 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023084 "-DANDROID",
23085 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23086 "-DHAVE_SYS_UIO_H",
23087 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023088 "-fstack-protector",
23089 "-mno-outline",
23090 "-mno-outline-atomics",
23091 ],
23092 },
Motomu Utsumi55394632022-11-18 17:44:28 +090023093 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023094 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023095 "-DANDROID",
23096 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23097 "-DHAVE_SYS_UIO_H",
23098 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023099 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023100 ],
23101 },
23102 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023103 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023104 "-DANDROID",
23105 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23106 "-DHAVE_SYS_UIO_H",
23107 "-Oz",
23108 "-fstack-protector",
23109 "-msse3",
23110 ],
23111 },
23112 host: {
23113 cflags: [
23114 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23115 "-DUSE_AURA=1",
23116 "-DUSE_OZONE=1",
23117 "-DUSE_UDEV",
23118 "-D_FILE_OFFSET_BITS=64",
23119 "-D_LARGEFILE64_SOURCE",
23120 "-D_LARGEFILE_SOURCE",
23121 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023122 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023123 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023124 ],
23125 },
23126 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023127}
23128
23129// GN: //third_party/abseil-cpp/absl/strings:cordz_info
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023130cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070023131 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023132 srcs: [
23133 "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
23134 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023135 defaults: [
23136 "cronet_aml_defaults",
23137 ],
23138 cflags: [
23139 "-DABSL_ALLOCATOR_NOTHROW=1",
23140 "-DANDROID",
23141 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23142 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23143 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23144 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23145 "-DHAVE_SYS_UIO_H",
23146 "-DNDEBUG",
23147 "-DNO_UNWIND_TABLES",
23148 "-DNVALGRIND",
23149 "-DOFFICIAL_BUILD",
23150 "-D_GNU_SOURCE",
23151 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23152 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23153 "-Oz",
23154 "-fdata-sections",
23155 "-ffunction-sections",
23156 "-fno-asynchronous-unwind-tables",
23157 "-fno-unwind-tables",
23158 "-fvisibility-inlines-hidden",
23159 "-fvisibility=hidden",
23160 "-g1",
23161 ],
23162 local_include_dirs: [
23163 "./",
23164 "buildtools/third_party/libc++/",
23165 "buildtools/third_party/libc++/trunk/include",
23166 "buildtools/third_party/libc++abi/trunk/include",
23167 "third_party/abseil-cpp/",
23168 ],
23169 cpp_std: "c++17",
23170 target: {
23171 android_arm: {
23172 cflags: [
23173 "-fstack-protector",
23174 ],
23175 },
23176 android_arm64: {
23177 cflags: [
23178 "-fstack-protector",
23179 "-mno-outline",
23180 "-mno-outline-atomics",
23181 ],
23182 },
23183 android_x86: {
23184 cflags: [
23185 "-msse3",
23186 ],
23187 },
23188 android_x86_64: {
23189 cflags: [
23190 "-fstack-protector",
23191 "-msse3",
23192 ],
23193 },
23194 },
23195}
23196
23197// GN: //third_party/abseil-cpp/absl/strings:cordz_info__testing
23198cc_object {
23199 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info__testing",
23200 srcs: [
23201 "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
23202 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023203 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023204 defaults: [
23205 "cronet_aml_defaults",
23206 ],
23207 cflags: [
23208 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023209 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23210 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023211 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023212 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023213 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023214 "-DNVALGRIND",
23215 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023216 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023217 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023218 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023219 "-fdata-sections",
23220 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023221 "-fno-asynchronous-unwind-tables",
23222 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023223 "-fvisibility-inlines-hidden",
23224 "-fvisibility=hidden",
23225 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023226 ],
23227 local_include_dirs: [
23228 "./",
23229 "buildtools/third_party/libc++/",
23230 "buildtools/third_party/libc++/trunk/include",
23231 "buildtools/third_party/libc++abi/trunk/include",
23232 "third_party/abseil-cpp/",
23233 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090023234 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023235 android_arm: {
23236 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023237 "-DANDROID",
23238 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23239 "-DHAVE_SYS_UIO_H",
23240 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023241 "-fstack-protector",
23242 ],
23243 },
23244 android_arm64: {
23245 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023246 "-DANDROID",
23247 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23248 "-DHAVE_SYS_UIO_H",
23249 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023250 "-fstack-protector",
23251 "-mno-outline",
23252 "-mno-outline-atomics",
23253 ],
23254 },
Motomu Utsumi55394632022-11-18 17:44:28 +090023255 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023256 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023257 "-DANDROID",
23258 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23259 "-DHAVE_SYS_UIO_H",
23260 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023261 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023262 ],
23263 },
23264 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023265 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023266 "-DANDROID",
23267 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23268 "-DHAVE_SYS_UIO_H",
23269 "-Oz",
23270 "-fstack-protector",
23271 "-msse3",
23272 ],
23273 },
23274 host: {
23275 cflags: [
23276 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23277 "-DUSE_AURA=1",
23278 "-DUSE_OZONE=1",
23279 "-DUSE_UDEV",
23280 "-D_FILE_OFFSET_BITS=64",
23281 "-D_LARGEFILE64_SOURCE",
23282 "-D_LARGEFILE_SOURCE",
23283 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023284 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023285 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023286 ],
23287 },
23288 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023289}
23290
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023291// GN: //third_party/abseil-cpp/absl/strings:internal
23292cc_object {
23293 name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal",
23294 srcs: [
23295 "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
23296 "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
23297 "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
23298 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023299 defaults: [
23300 "cronet_aml_defaults",
23301 ],
23302 cflags: [
23303 "-DABSL_ALLOCATOR_NOTHROW=1",
23304 "-DANDROID",
23305 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23306 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23307 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23308 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23309 "-DHAVE_SYS_UIO_H",
23310 "-DNDEBUG",
23311 "-DNO_UNWIND_TABLES",
23312 "-DNVALGRIND",
23313 "-DOFFICIAL_BUILD",
23314 "-D_GNU_SOURCE",
23315 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23316 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23317 "-Oz",
23318 "-fdata-sections",
23319 "-ffunction-sections",
23320 "-fno-asynchronous-unwind-tables",
23321 "-fno-unwind-tables",
23322 "-fvisibility-inlines-hidden",
23323 "-fvisibility=hidden",
23324 "-g1",
23325 ],
23326 local_include_dirs: [
23327 "./",
23328 "buildtools/third_party/libc++/",
23329 "buildtools/third_party/libc++/trunk/include",
23330 "buildtools/third_party/libc++abi/trunk/include",
23331 "third_party/abseil-cpp/",
23332 ],
23333 cpp_std: "c++17",
23334 target: {
23335 android_arm: {
23336 cflags: [
23337 "-fstack-protector",
23338 ],
23339 },
23340 android_arm64: {
23341 cflags: [
23342 "-fstack-protector",
23343 "-mno-outline",
23344 "-mno-outline-atomics",
23345 ],
23346 },
23347 android_x86: {
23348 cflags: [
23349 "-msse3",
23350 ],
23351 },
23352 android_x86_64: {
23353 cflags: [
23354 "-fstack-protector",
23355 "-msse3",
23356 ],
23357 },
23358 },
23359}
23360
23361// GN: //third_party/abseil-cpp/absl/strings:internal__testing
23362cc_object {
23363 name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal__testing",
23364 srcs: [
23365 "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
23366 "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
23367 "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
23368 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023369 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023370 defaults: [
23371 "cronet_aml_defaults",
23372 ],
23373 cflags: [
23374 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023375 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23376 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023377 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023378 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023379 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023380 "-DNVALGRIND",
23381 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023382 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023383 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023384 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023385 "-fdata-sections",
23386 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023387 "-fno-asynchronous-unwind-tables",
23388 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023389 "-fvisibility-inlines-hidden",
23390 "-fvisibility=hidden",
23391 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023392 ],
23393 local_include_dirs: [
23394 "./",
23395 "buildtools/third_party/libc++/",
23396 "buildtools/third_party/libc++/trunk/include",
23397 "buildtools/third_party/libc++abi/trunk/include",
23398 "third_party/abseil-cpp/",
23399 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023400 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023401 android_arm: {
23402 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023403 "-DANDROID",
23404 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23405 "-DHAVE_SYS_UIO_H",
23406 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023407 "-fstack-protector",
23408 ],
23409 },
23410 android_arm64: {
23411 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023412 "-DANDROID",
23413 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23414 "-DHAVE_SYS_UIO_H",
23415 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023416 "-fstack-protector",
23417 "-mno-outline",
23418 "-mno-outline-atomics",
23419 ],
23420 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023421 android_x86: {
23422 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023423 "-DANDROID",
23424 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23425 "-DHAVE_SYS_UIO_H",
23426 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023427 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023428 ],
23429 },
23430 android_x86_64: {
23431 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023432 "-DANDROID",
23433 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23434 "-DHAVE_SYS_UIO_H",
23435 "-Oz",
23436 "-fstack-protector",
23437 "-msse3",
23438 ],
23439 },
23440 host: {
23441 cflags: [
23442 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23443 "-DUSE_AURA=1",
23444 "-DUSE_OZONE=1",
23445 "-DUSE_UDEV",
23446 "-D_FILE_OFFSET_BITS=64",
23447 "-D_LARGEFILE64_SOURCE",
23448 "-D_LARGEFILE_SOURCE",
23449 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023450 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023451 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023452 ],
23453 },
23454 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023455}
23456
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023457// GN: //third_party/abseil-cpp/absl/strings:str_format_internal
23458cc_object {
23459 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
23460 srcs: [
23461 "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
23462 "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
23463 "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
23464 "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
23465 "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
23466 "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
23467 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023468 defaults: [
23469 "cronet_aml_defaults",
23470 ],
23471 cflags: [
23472 "-DABSL_ALLOCATOR_NOTHROW=1",
23473 "-DANDROID",
23474 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23475 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23476 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23477 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23478 "-DHAVE_SYS_UIO_H",
23479 "-DNDEBUG",
23480 "-DNO_UNWIND_TABLES",
23481 "-DNVALGRIND",
23482 "-DOFFICIAL_BUILD",
23483 "-D_GNU_SOURCE",
23484 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23485 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23486 "-Oz",
23487 "-fdata-sections",
23488 "-ffunction-sections",
23489 "-fno-asynchronous-unwind-tables",
23490 "-fno-unwind-tables",
23491 "-fvisibility-inlines-hidden",
23492 "-fvisibility=hidden",
23493 "-g1",
23494 ],
23495 local_include_dirs: [
23496 "./",
23497 "buildtools/third_party/libc++/",
23498 "buildtools/third_party/libc++/trunk/include",
23499 "buildtools/third_party/libc++abi/trunk/include",
23500 "third_party/abseil-cpp/",
23501 ],
23502 cpp_std: "c++17",
23503 target: {
23504 android_arm: {
23505 cflags: [
23506 "-fstack-protector",
23507 ],
23508 },
23509 android_arm64: {
23510 cflags: [
23511 "-fstack-protector",
23512 "-mno-outline",
23513 "-mno-outline-atomics",
23514 ],
23515 },
23516 android_x86: {
23517 cflags: [
23518 "-msse3",
23519 ],
23520 },
23521 android_x86_64: {
23522 cflags: [
23523 "-fstack-protector",
23524 "-msse3",
23525 ],
23526 },
23527 },
23528}
23529
23530// GN: //third_party/abseil-cpp/absl/strings:str_format_internal__testing
23531cc_object {
23532 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal__testing",
23533 srcs: [
23534 "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
23535 "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
23536 "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
23537 "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
23538 "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
23539 "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
23540 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023541 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023542 defaults: [
23543 "cronet_aml_defaults",
23544 ],
23545 cflags: [
23546 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023547 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23548 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023549 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023550 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023551 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023552 "-DNVALGRIND",
23553 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023554 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023555 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023556 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023557 "-fdata-sections",
23558 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023559 "-fno-asynchronous-unwind-tables",
23560 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023561 "-fvisibility-inlines-hidden",
23562 "-fvisibility=hidden",
23563 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023564 ],
23565 local_include_dirs: [
23566 "./",
23567 "buildtools/third_party/libc++/",
23568 "buildtools/third_party/libc++/trunk/include",
23569 "buildtools/third_party/libc++abi/trunk/include",
23570 "third_party/abseil-cpp/",
23571 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023572 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023573 android_arm: {
23574 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023575 "-DANDROID",
23576 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23577 "-DHAVE_SYS_UIO_H",
23578 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023579 "-fstack-protector",
23580 ],
23581 },
23582 android_arm64: {
23583 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023584 "-DANDROID",
23585 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23586 "-DHAVE_SYS_UIO_H",
23587 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023588 "-fstack-protector",
23589 "-mno-outline",
23590 "-mno-outline-atomics",
23591 ],
23592 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023593 android_x86: {
23594 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023595 "-DANDROID",
23596 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23597 "-DHAVE_SYS_UIO_H",
23598 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023599 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023600 ],
23601 },
23602 android_x86_64: {
23603 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023604 "-DANDROID",
23605 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23606 "-DHAVE_SYS_UIO_H",
23607 "-Oz",
23608 "-fstack-protector",
23609 "-msse3",
23610 ],
23611 },
23612 host: {
23613 cflags: [
23614 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23615 "-DUSE_AURA=1",
23616 "-DUSE_OZONE=1",
23617 "-DUSE_UDEV",
23618 "-D_FILE_OFFSET_BITS=64",
23619 "-D_LARGEFILE64_SOURCE",
23620 "-D_LARGEFILE_SOURCE",
23621 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023622 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023623 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023624 ],
23625 },
23626 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023627}
23628
23629// GN: //third_party/abseil-cpp/absl/strings:strings
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023630cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070023631 name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023632 srcs: [
23633 "third_party/abseil-cpp/absl/strings/ascii.cc",
23634 "third_party/abseil-cpp/absl/strings/charconv.cc",
23635 "third_party/abseil-cpp/absl/strings/escaping.cc",
23636 "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
23637 "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023638 "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
23639 "third_party/abseil-cpp/absl/strings/match.cc",
23640 "third_party/abseil-cpp/absl/strings/numbers.cc",
23641 "third_party/abseil-cpp/absl/strings/str_cat.cc",
23642 "third_party/abseil-cpp/absl/strings/str_replace.cc",
23643 "third_party/abseil-cpp/absl/strings/str_split.cc",
23644 "third_party/abseil-cpp/absl/strings/string_view.cc",
23645 "third_party/abseil-cpp/absl/strings/substitute.cc",
23646 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023647 defaults: [
23648 "cronet_aml_defaults",
23649 ],
23650 cflags: [
23651 "-DABSL_ALLOCATOR_NOTHROW=1",
23652 "-DANDROID",
23653 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23654 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23655 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23656 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23657 "-DHAVE_SYS_UIO_H",
23658 "-DNDEBUG",
23659 "-DNO_UNWIND_TABLES",
23660 "-DNVALGRIND",
23661 "-DOFFICIAL_BUILD",
23662 "-D_GNU_SOURCE",
23663 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23664 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23665 "-Oz",
23666 "-fdata-sections",
23667 "-ffunction-sections",
23668 "-fno-asynchronous-unwind-tables",
23669 "-fno-unwind-tables",
23670 "-fvisibility-inlines-hidden",
23671 "-fvisibility=hidden",
23672 "-g1",
23673 ],
23674 local_include_dirs: [
23675 "./",
23676 "buildtools/third_party/libc++/",
23677 "buildtools/third_party/libc++/trunk/include",
23678 "buildtools/third_party/libc++abi/trunk/include",
23679 "third_party/abseil-cpp/",
23680 ],
23681 cpp_std: "c++17",
23682 target: {
23683 android_arm: {
23684 cflags: [
23685 "-fstack-protector",
23686 ],
23687 },
23688 android_arm64: {
23689 cflags: [
23690 "-fstack-protector",
23691 "-mno-outline",
23692 "-mno-outline-atomics",
23693 ],
23694 },
23695 android_x86: {
23696 cflags: [
23697 "-msse3",
23698 ],
23699 },
23700 android_x86_64: {
23701 cflags: [
23702 "-fstack-protector",
23703 "-msse3",
23704 ],
23705 },
23706 },
23707}
23708
23709// GN: //third_party/abseil-cpp/absl/strings:strings__testing
23710cc_object {
23711 name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings__testing",
23712 srcs: [
23713 "third_party/abseil-cpp/absl/strings/ascii.cc",
23714 "third_party/abseil-cpp/absl/strings/charconv.cc",
23715 "third_party/abseil-cpp/absl/strings/escaping.cc",
23716 "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
23717 "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
23718 "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
23719 "third_party/abseil-cpp/absl/strings/match.cc",
23720 "third_party/abseil-cpp/absl/strings/numbers.cc",
23721 "third_party/abseil-cpp/absl/strings/str_cat.cc",
23722 "third_party/abseil-cpp/absl/strings/str_replace.cc",
23723 "third_party/abseil-cpp/absl/strings/str_split.cc",
23724 "third_party/abseil-cpp/absl/strings/string_view.cc",
23725 "third_party/abseil-cpp/absl/strings/substitute.cc",
23726 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023727 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023728 defaults: [
23729 "cronet_aml_defaults",
23730 ],
23731 cflags: [
23732 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023733 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23734 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023735 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023736 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023737 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023738 "-DNVALGRIND",
23739 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023740 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023741 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023742 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023743 "-fdata-sections",
23744 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023745 "-fno-asynchronous-unwind-tables",
23746 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023747 "-fvisibility-inlines-hidden",
23748 "-fvisibility=hidden",
23749 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023750 ],
23751 local_include_dirs: [
23752 "./",
23753 "buildtools/third_party/libc++/",
23754 "buildtools/third_party/libc++/trunk/include",
23755 "buildtools/third_party/libc++abi/trunk/include",
23756 "third_party/abseil-cpp/",
23757 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090023758 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023759 android_arm: {
23760 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023761 "-DANDROID",
23762 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23763 "-DHAVE_SYS_UIO_H",
23764 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023765 "-fstack-protector",
23766 ],
23767 },
23768 android_arm64: {
23769 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023770 "-DANDROID",
23771 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23772 "-DHAVE_SYS_UIO_H",
23773 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023774 "-fstack-protector",
23775 "-mno-outline",
23776 "-mno-outline-atomics",
23777 ],
23778 },
Motomu Utsumi55394632022-11-18 17:44:28 +090023779 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023780 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023781 "-DANDROID",
23782 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23783 "-DHAVE_SYS_UIO_H",
23784 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023785 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023786 ],
23787 },
23788 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023789 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023790 "-DANDROID",
23791 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23792 "-DHAVE_SYS_UIO_H",
23793 "-Oz",
23794 "-fstack-protector",
23795 "-msse3",
23796 ],
23797 },
23798 host: {
23799 cflags: [
23800 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23801 "-DUSE_AURA=1",
23802 "-DUSE_OZONE=1",
23803 "-DUSE_UDEV",
23804 "-D_FILE_OFFSET_BITS=64",
23805 "-D_LARGEFILE64_SOURCE",
23806 "-D_LARGEFILE_SOURCE",
23807 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023808 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023809 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023810 ],
23811 },
23812 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023813}
23814
23815// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023816cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070023817 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023818 srcs: [
23819 "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
23820 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023821 defaults: [
23822 "cronet_aml_defaults",
23823 ],
23824 cflags: [
23825 "-DABSL_ALLOCATOR_NOTHROW=1",
23826 "-DANDROID",
23827 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23828 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23829 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23830 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23831 "-DHAVE_SYS_UIO_H",
23832 "-DNDEBUG",
23833 "-DNO_UNWIND_TABLES",
23834 "-DNVALGRIND",
23835 "-DOFFICIAL_BUILD",
23836 "-D_GNU_SOURCE",
23837 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
23838 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
23839 "-Oz",
23840 "-fdata-sections",
23841 "-ffunction-sections",
23842 "-fno-asynchronous-unwind-tables",
23843 "-fno-unwind-tables",
23844 "-fvisibility-inlines-hidden",
23845 "-fvisibility=hidden",
23846 "-g1",
23847 ],
23848 local_include_dirs: [
23849 "./",
23850 "buildtools/third_party/libc++/",
23851 "buildtools/third_party/libc++/trunk/include",
23852 "buildtools/third_party/libc++abi/trunk/include",
23853 "third_party/abseil-cpp/",
23854 ],
23855 cpp_std: "c++17",
23856 target: {
23857 android_arm: {
23858 cflags: [
23859 "-fstack-protector",
23860 ],
23861 },
23862 android_arm64: {
23863 cflags: [
23864 "-fstack-protector",
23865 "-mno-outline",
23866 "-mno-outline-atomics",
23867 ],
23868 },
23869 android_x86: {
23870 cflags: [
23871 "-msse3",
23872 ],
23873 },
23874 android_x86_64: {
23875 cflags: [
23876 "-fstack-protector",
23877 "-msse3",
23878 ],
23879 },
23880 },
23881}
23882
23883// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal__testing
23884cc_object {
23885 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
23886 srcs: [
23887 "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
23888 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023889 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023890 defaults: [
23891 "cronet_aml_defaults",
23892 ],
23893 cflags: [
23894 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090023895 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23896 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023897 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023898 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090023899 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090023900 "-DNVALGRIND",
23901 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023902 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023903 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023904 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023905 "-fdata-sections",
23906 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090023907 "-fno-asynchronous-unwind-tables",
23908 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023909 "-fvisibility-inlines-hidden",
23910 "-fvisibility=hidden",
23911 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023912 ],
23913 local_include_dirs: [
23914 "./",
23915 "buildtools/third_party/libc++/",
23916 "buildtools/third_party/libc++/trunk/include",
23917 "buildtools/third_party/libc++abi/trunk/include",
23918 "third_party/abseil-cpp/",
23919 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090023920 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090023921 android_arm: {
23922 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023923 "-DANDROID",
23924 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23925 "-DHAVE_SYS_UIO_H",
23926 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023927 "-fstack-protector",
23928 ],
23929 },
23930 android_arm64: {
23931 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023932 "-DANDROID",
23933 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23934 "-DHAVE_SYS_UIO_H",
23935 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023936 "-fstack-protector",
23937 "-mno-outline",
23938 "-mno-outline-atomics",
23939 ],
23940 },
Motomu Utsumi55394632022-11-18 17:44:28 +090023941 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023942 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023943 "-DANDROID",
23944 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23945 "-DHAVE_SYS_UIO_H",
23946 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023947 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023948 ],
23949 },
23950 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023951 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000023952 "-DANDROID",
23953 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23954 "-DHAVE_SYS_UIO_H",
23955 "-Oz",
23956 "-fstack-protector",
23957 "-msse3",
23958 ],
23959 },
23960 host: {
23961 cflags: [
23962 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
23963 "-DUSE_AURA=1",
23964 "-DUSE_OZONE=1",
23965 "-DUSE_UDEV",
23966 "-D_FILE_OFFSET_BITS=64",
23967 "-D_LARGEFILE64_SOURCE",
23968 "-D_LARGEFILE_SOURCE",
23969 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090023970 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090023971 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090023972 ],
23973 },
23974 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070023975}
23976
Mohannad Farrag7f29d832022-11-23 19:52:41 +000023977// GN: //third_party/abseil-cpp/absl/synchronization:synchronization
23978cc_object {
23979 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
23980 srcs: [
23981 "third_party/abseil-cpp/absl/synchronization/barrier.cc",
23982 "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
23983 "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
23984 "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
23985 "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
23986 "third_party/abseil-cpp/absl/synchronization/mutex.cc",
23987 "third_party/abseil-cpp/absl/synchronization/notification.cc",
23988 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000023989 defaults: [
23990 "cronet_aml_defaults",
23991 ],
23992 cflags: [
23993 "-DABSL_ALLOCATOR_NOTHROW=1",
23994 "-DANDROID",
23995 "-DANDROID_NDK_VERSION_ROLL=r23_1",
23996 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
23997 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
23998 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
23999 "-DHAVE_SYS_UIO_H",
24000 "-DNDEBUG",
24001 "-DNO_UNWIND_TABLES",
24002 "-DNVALGRIND",
24003 "-DOFFICIAL_BUILD",
24004 "-D_GNU_SOURCE",
24005 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24006 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24007 "-Oz",
24008 "-fdata-sections",
24009 "-ffunction-sections",
24010 "-fno-asynchronous-unwind-tables",
24011 "-fno-unwind-tables",
24012 "-fvisibility-inlines-hidden",
24013 "-fvisibility=hidden",
24014 "-g1",
24015 ],
24016 local_include_dirs: [
24017 "./",
24018 "buildtools/third_party/libc++/",
24019 "buildtools/third_party/libc++/trunk/include",
24020 "buildtools/third_party/libc++abi/trunk/include",
24021 "third_party/abseil-cpp/",
24022 ],
24023 cpp_std: "c++17",
24024 target: {
24025 android_arm: {
24026 cflags: [
24027 "-fstack-protector",
24028 ],
24029 },
24030 android_arm64: {
24031 cflags: [
24032 "-fstack-protector",
24033 "-mno-outline",
24034 "-mno-outline-atomics",
24035 ],
24036 },
24037 android_x86: {
24038 cflags: [
24039 "-msse3",
24040 ],
24041 },
24042 android_x86_64: {
24043 cflags: [
24044 "-fstack-protector",
24045 "-msse3",
24046 ],
24047 },
24048 },
24049}
24050
24051// GN: //third_party/abseil-cpp/absl/synchronization:synchronization__testing
24052cc_object {
24053 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
24054 srcs: [
24055 "third_party/abseil-cpp/absl/synchronization/barrier.cc",
24056 "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
24057 "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
24058 "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
24059 "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
24060 "third_party/abseil-cpp/absl/synchronization/mutex.cc",
24061 "third_party/abseil-cpp/absl/synchronization/notification.cc",
24062 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024063 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024064 defaults: [
24065 "cronet_aml_defaults",
24066 ],
24067 cflags: [
24068 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024069 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24070 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024071 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024072 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024073 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024074 "-DNVALGRIND",
24075 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024076 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024077 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024078 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024079 "-fdata-sections",
24080 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024081 "-fno-asynchronous-unwind-tables",
24082 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024083 "-fvisibility-inlines-hidden",
24084 "-fvisibility=hidden",
24085 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024086 ],
24087 local_include_dirs: [
24088 "./",
24089 "buildtools/third_party/libc++/",
24090 "buildtools/third_party/libc++/trunk/include",
24091 "buildtools/third_party/libc++abi/trunk/include",
24092 "third_party/abseil-cpp/",
24093 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024094 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024095 android_arm: {
24096 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024097 "-DANDROID",
24098 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24099 "-DHAVE_SYS_UIO_H",
24100 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024101 "-fstack-protector",
24102 ],
24103 },
24104 android_arm64: {
24105 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024106 "-DANDROID",
24107 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24108 "-DHAVE_SYS_UIO_H",
24109 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024110 "-fstack-protector",
24111 "-mno-outline",
24112 "-mno-outline-atomics",
24113 ],
24114 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024115 android_x86: {
24116 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024117 "-DANDROID",
24118 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24119 "-DHAVE_SYS_UIO_H",
24120 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024121 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024122 ],
24123 },
24124 android_x86_64: {
24125 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024126 "-DANDROID",
24127 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24128 "-DHAVE_SYS_UIO_H",
24129 "-Oz",
24130 "-fstack-protector",
24131 "-msse3",
24132 ],
24133 },
24134 host: {
24135 cflags: [
24136 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24137 "-DUSE_AURA=1",
24138 "-DUSE_OZONE=1",
24139 "-DUSE_UDEV",
24140 "-D_FILE_OFFSET_BITS=64",
24141 "-D_LARGEFILE64_SOURCE",
24142 "-D_LARGEFILE_SOURCE",
24143 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024144 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024145 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024146 ],
24147 },
24148 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024149}
24150
24151// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024152cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024153 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024154 srcs: [
24155 "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
24156 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024157 defaults: [
24158 "cronet_aml_defaults",
24159 ],
24160 cflags: [
24161 "-DABSL_ALLOCATOR_NOTHROW=1",
24162 "-DANDROID",
24163 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24164 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24165 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24166 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24167 "-DHAVE_SYS_UIO_H",
24168 "-DNDEBUG",
24169 "-DNO_UNWIND_TABLES",
24170 "-DNVALGRIND",
24171 "-DOFFICIAL_BUILD",
24172 "-D_GNU_SOURCE",
24173 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24174 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24175 "-Oz",
24176 "-fdata-sections",
24177 "-ffunction-sections",
24178 "-fno-asynchronous-unwind-tables",
24179 "-fno-unwind-tables",
24180 "-fvisibility-inlines-hidden",
24181 "-fvisibility=hidden",
24182 "-g1",
24183 ],
24184 local_include_dirs: [
24185 "./",
24186 "buildtools/third_party/libc++/",
24187 "buildtools/third_party/libc++/trunk/include",
24188 "buildtools/third_party/libc++abi/trunk/include",
24189 "third_party/abseil-cpp/",
24190 ],
24191 cpp_std: "c++17",
24192 target: {
24193 android_arm: {
24194 cflags: [
24195 "-fstack-protector",
24196 ],
24197 },
24198 android_arm64: {
24199 cflags: [
24200 "-fstack-protector",
24201 "-mno-outline",
24202 "-mno-outline-atomics",
24203 ],
24204 },
24205 android_x86: {
24206 cflags: [
24207 "-msse3",
24208 ],
24209 },
24210 android_x86_64: {
24211 cflags: [
24212 "-fstack-protector",
24213 "-msse3",
24214 ],
24215 },
24216 },
24217}
24218
24219// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time__testing
24220cc_object {
24221 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time__testing",
24222 srcs: [
24223 "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
24224 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024225 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024226 defaults: [
24227 "cronet_aml_defaults",
24228 ],
24229 cflags: [
24230 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024231 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24232 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024233 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024234 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024235 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024236 "-DNVALGRIND",
24237 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024238 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024239 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024240 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024241 "-fdata-sections",
24242 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024243 "-fno-asynchronous-unwind-tables",
24244 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024245 "-fvisibility-inlines-hidden",
24246 "-fvisibility=hidden",
24247 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024248 ],
24249 local_include_dirs: [
24250 "./",
24251 "buildtools/third_party/libc++/",
24252 "buildtools/third_party/libc++/trunk/include",
24253 "buildtools/third_party/libc++abi/trunk/include",
24254 "third_party/abseil-cpp/",
24255 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024256 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024257 android_arm: {
24258 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024259 "-DANDROID",
24260 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24261 "-DHAVE_SYS_UIO_H",
24262 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024263 "-fstack-protector",
24264 ],
24265 },
24266 android_arm64: {
24267 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024268 "-DANDROID",
24269 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24270 "-DHAVE_SYS_UIO_H",
24271 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024272 "-fstack-protector",
24273 "-mno-outline",
24274 "-mno-outline-atomics",
24275 ],
24276 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024277 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024278 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024279 "-DANDROID",
24280 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24281 "-DHAVE_SYS_UIO_H",
24282 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024283 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024284 ],
24285 },
24286 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024287 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024288 "-DANDROID",
24289 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24290 "-DHAVE_SYS_UIO_H",
24291 "-Oz",
24292 "-fstack-protector",
24293 "-msse3",
24294 ],
24295 },
24296 host: {
24297 cflags: [
24298 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24299 "-DUSE_AURA=1",
24300 "-DUSE_OZONE=1",
24301 "-DUSE_UDEV",
24302 "-D_FILE_OFFSET_BITS=64",
24303 "-D_LARGEFILE64_SOURCE",
24304 "-D_LARGEFILE_SOURCE",
24305 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024306 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024307 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024308 ],
24309 },
24310 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024311}
24312
24313// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024314cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024315 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024316 srcs: [
24317 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
24318 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
24319 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
24320 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
24321 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
24322 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
24323 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
24324 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
24325 "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
24326 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024327 defaults: [
24328 "cronet_aml_defaults",
24329 ],
24330 cflags: [
24331 "-DABSL_ALLOCATOR_NOTHROW=1",
24332 "-DANDROID",
24333 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24334 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24335 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24336 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24337 "-DHAVE_SYS_UIO_H",
24338 "-DNDEBUG",
24339 "-DNO_UNWIND_TABLES",
24340 "-DNVALGRIND",
24341 "-DOFFICIAL_BUILD",
24342 "-D_GNU_SOURCE",
24343 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24344 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24345 "-Oz",
24346 "-fdata-sections",
24347 "-ffunction-sections",
24348 "-fno-asynchronous-unwind-tables",
24349 "-fno-unwind-tables",
24350 "-fvisibility-inlines-hidden",
24351 "-fvisibility=hidden",
24352 "-g1",
24353 ],
24354 local_include_dirs: [
24355 "./",
24356 "buildtools/third_party/libc++/",
24357 "buildtools/third_party/libc++/trunk/include",
24358 "buildtools/third_party/libc++abi/trunk/include",
24359 "third_party/abseil-cpp/",
24360 ],
24361 cpp_std: "c++17",
24362 target: {
24363 android_arm: {
24364 cflags: [
24365 "-fstack-protector",
24366 ],
24367 },
24368 android_arm64: {
24369 cflags: [
24370 "-fstack-protector",
24371 "-mno-outline",
24372 "-mno-outline-atomics",
24373 ],
24374 },
24375 android_x86: {
24376 cflags: [
24377 "-msse3",
24378 ],
24379 },
24380 android_x86_64: {
24381 cflags: [
24382 "-fstack-protector",
24383 "-msse3",
24384 ],
24385 },
24386 },
24387}
24388
24389// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone__testing
24390cc_object {
24391 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone__testing",
24392 srcs: [
24393 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
24394 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
24395 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
24396 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
24397 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
24398 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
24399 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
24400 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
24401 "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
24402 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024403 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024404 defaults: [
24405 "cronet_aml_defaults",
24406 ],
24407 cflags: [
24408 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024409 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24410 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024411 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024412 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024413 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024414 "-DNVALGRIND",
24415 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024416 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024417 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024418 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024419 "-fdata-sections",
24420 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024421 "-fno-asynchronous-unwind-tables",
24422 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024423 "-fvisibility-inlines-hidden",
24424 "-fvisibility=hidden",
24425 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024426 ],
24427 local_include_dirs: [
24428 "./",
24429 "buildtools/third_party/libc++/",
24430 "buildtools/third_party/libc++/trunk/include",
24431 "buildtools/third_party/libc++abi/trunk/include",
24432 "third_party/abseil-cpp/",
24433 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024434 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024435 android_arm: {
24436 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024437 "-DANDROID",
24438 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24439 "-DHAVE_SYS_UIO_H",
24440 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024441 "-fstack-protector",
24442 ],
24443 },
24444 android_arm64: {
24445 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024446 "-DANDROID",
24447 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24448 "-DHAVE_SYS_UIO_H",
24449 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024450 "-fstack-protector",
24451 "-mno-outline",
24452 "-mno-outline-atomics",
24453 ],
24454 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024455 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024456 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024457 "-DANDROID",
24458 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24459 "-DHAVE_SYS_UIO_H",
24460 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024461 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024462 ],
24463 },
24464 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024465 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024466 "-DANDROID",
24467 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24468 "-DHAVE_SYS_UIO_H",
24469 "-Oz",
24470 "-fstack-protector",
24471 "-msse3",
24472 ],
24473 },
24474 host: {
24475 cflags: [
24476 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24477 "-DUSE_AURA=1",
24478 "-DUSE_OZONE=1",
24479 "-DUSE_UDEV",
24480 "-D_FILE_OFFSET_BITS=64",
24481 "-D_LARGEFILE64_SOURCE",
24482 "-D_LARGEFILE_SOURCE",
24483 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024484 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024485 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024486 ],
24487 },
24488 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024489}
24490
24491// GN: //third_party/abseil-cpp/absl/time:time
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024492cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024493 name: "cronet_aml_third_party_abseil_cpp_absl_time_time",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024494 srcs: [
24495 "third_party/abseil-cpp/absl/time/civil_time.cc",
24496 "third_party/abseil-cpp/absl/time/clock.cc",
24497 "third_party/abseil-cpp/absl/time/duration.cc",
24498 "third_party/abseil-cpp/absl/time/format.cc",
24499 "third_party/abseil-cpp/absl/time/time.cc",
24500 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024501 defaults: [
24502 "cronet_aml_defaults",
24503 ],
24504 cflags: [
24505 "-DABSL_ALLOCATOR_NOTHROW=1",
24506 "-DANDROID",
24507 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24508 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24509 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24510 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24511 "-DHAVE_SYS_UIO_H",
24512 "-DNDEBUG",
24513 "-DNO_UNWIND_TABLES",
24514 "-DNVALGRIND",
24515 "-DOFFICIAL_BUILD",
24516 "-D_GNU_SOURCE",
24517 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24518 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24519 "-Oz",
24520 "-fdata-sections",
24521 "-ffunction-sections",
24522 "-fno-asynchronous-unwind-tables",
24523 "-fno-unwind-tables",
24524 "-fvisibility-inlines-hidden",
24525 "-fvisibility=hidden",
24526 "-g1",
24527 ],
24528 local_include_dirs: [
24529 "./",
24530 "buildtools/third_party/libc++/",
24531 "buildtools/third_party/libc++/trunk/include",
24532 "buildtools/third_party/libc++abi/trunk/include",
24533 "third_party/abseil-cpp/",
24534 ],
24535 cpp_std: "c++17",
24536 target: {
24537 android_arm: {
24538 cflags: [
24539 "-fstack-protector",
24540 ],
24541 },
24542 android_arm64: {
24543 cflags: [
24544 "-fstack-protector",
24545 "-mno-outline",
24546 "-mno-outline-atomics",
24547 ],
24548 },
24549 android_x86: {
24550 cflags: [
24551 "-msse3",
24552 ],
24553 },
24554 android_x86_64: {
24555 cflags: [
24556 "-fstack-protector",
24557 "-msse3",
24558 ],
24559 },
24560 },
24561}
24562
24563// GN: //third_party/abseil-cpp/absl/time:time__testing
24564cc_object {
24565 name: "cronet_aml_third_party_abseil_cpp_absl_time_time__testing",
24566 srcs: [
24567 "third_party/abseil-cpp/absl/time/civil_time.cc",
24568 "third_party/abseil-cpp/absl/time/clock.cc",
24569 "third_party/abseil-cpp/absl/time/duration.cc",
24570 "third_party/abseil-cpp/absl/time/format.cc",
24571 "third_party/abseil-cpp/absl/time/time.cc",
24572 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024573 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024574 defaults: [
24575 "cronet_aml_defaults",
24576 ],
24577 cflags: [
24578 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024579 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24580 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024581 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024582 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024583 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024584 "-DNVALGRIND",
24585 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024586 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024587 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024588 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024589 "-fdata-sections",
24590 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024591 "-fno-asynchronous-unwind-tables",
24592 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024593 "-fvisibility-inlines-hidden",
24594 "-fvisibility=hidden",
24595 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024596 ],
24597 local_include_dirs: [
24598 "./",
24599 "buildtools/third_party/libc++/",
24600 "buildtools/third_party/libc++/trunk/include",
24601 "buildtools/third_party/libc++abi/trunk/include",
24602 "third_party/abseil-cpp/",
24603 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024604 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024605 android_arm: {
24606 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024607 "-DANDROID",
24608 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24609 "-DHAVE_SYS_UIO_H",
24610 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024611 "-fstack-protector",
24612 ],
24613 },
24614 android_arm64: {
24615 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024616 "-DANDROID",
24617 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24618 "-DHAVE_SYS_UIO_H",
24619 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024620 "-fstack-protector",
24621 "-mno-outline",
24622 "-mno-outline-atomics",
24623 ],
24624 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024625 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024626 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024627 "-DANDROID",
24628 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24629 "-DHAVE_SYS_UIO_H",
24630 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024631 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024632 ],
24633 },
24634 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024635 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024636 "-DANDROID",
24637 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24638 "-DHAVE_SYS_UIO_H",
24639 "-Oz",
24640 "-fstack-protector",
24641 "-msse3",
24642 ],
24643 },
24644 host: {
24645 cflags: [
24646 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24647 "-DUSE_AURA=1",
24648 "-DUSE_OZONE=1",
24649 "-DUSE_UDEV",
24650 "-D_FILE_OFFSET_BITS=64",
24651 "-D_LARGEFILE64_SOURCE",
24652 "-D_LARGEFILE_SOURCE",
24653 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024654 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024655 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024656 ],
24657 },
24658 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024659}
24660
24661// GN: //third_party/abseil-cpp/absl/types:bad_optional_access
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024662cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024663 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024664 srcs: [
24665 "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
24666 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024667 defaults: [
24668 "cronet_aml_defaults",
24669 ],
24670 cflags: [
24671 "-DABSL_ALLOCATOR_NOTHROW=1",
24672 "-DANDROID",
24673 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24674 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24675 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24676 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24677 "-DHAVE_SYS_UIO_H",
24678 "-DNDEBUG",
24679 "-DNO_UNWIND_TABLES",
24680 "-DNVALGRIND",
24681 "-DOFFICIAL_BUILD",
24682 "-D_GNU_SOURCE",
24683 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24684 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24685 "-Oz",
24686 "-fdata-sections",
24687 "-ffunction-sections",
24688 "-fno-asynchronous-unwind-tables",
24689 "-fno-unwind-tables",
24690 "-fvisibility-inlines-hidden",
24691 "-fvisibility=hidden",
24692 "-g1",
24693 ],
24694 local_include_dirs: [
24695 "./",
24696 "buildtools/third_party/libc++/",
24697 "buildtools/third_party/libc++/trunk/include",
24698 "buildtools/third_party/libc++abi/trunk/include",
24699 "third_party/abseil-cpp/",
24700 ],
24701 cpp_std: "c++17",
24702 target: {
24703 android_arm: {
24704 cflags: [
24705 "-fstack-protector",
24706 ],
24707 },
24708 android_arm64: {
24709 cflags: [
24710 "-fstack-protector",
24711 "-mno-outline",
24712 "-mno-outline-atomics",
24713 ],
24714 },
24715 android_x86: {
24716 cflags: [
24717 "-msse3",
24718 ],
24719 },
24720 android_x86_64: {
24721 cflags: [
24722 "-fstack-protector",
24723 "-msse3",
24724 ],
24725 },
24726 },
24727}
24728
24729// GN: //third_party/abseil-cpp/absl/types:bad_optional_access__testing
24730cc_object {
24731 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access__testing",
24732 srcs: [
24733 "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
24734 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024735 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024736 defaults: [
24737 "cronet_aml_defaults",
24738 ],
24739 cflags: [
24740 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024741 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24742 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024743 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024744 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024745 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024746 "-DNVALGRIND",
24747 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024748 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024749 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024750 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024751 "-fdata-sections",
24752 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024753 "-fno-asynchronous-unwind-tables",
24754 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024755 "-fvisibility-inlines-hidden",
24756 "-fvisibility=hidden",
24757 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024758 ],
24759 local_include_dirs: [
24760 "./",
24761 "buildtools/third_party/libc++/",
24762 "buildtools/third_party/libc++/trunk/include",
24763 "buildtools/third_party/libc++abi/trunk/include",
24764 "third_party/abseil-cpp/",
24765 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024766 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024767 android_arm: {
24768 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024769 "-DANDROID",
24770 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24771 "-DHAVE_SYS_UIO_H",
24772 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024773 "-fstack-protector",
24774 ],
24775 },
24776 android_arm64: {
24777 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024778 "-DANDROID",
24779 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24780 "-DHAVE_SYS_UIO_H",
24781 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024782 "-fstack-protector",
24783 "-mno-outline",
24784 "-mno-outline-atomics",
24785 ],
24786 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024787 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024788 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024789 "-DANDROID",
24790 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24791 "-DHAVE_SYS_UIO_H",
24792 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024793 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024794 ],
24795 },
24796 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024797 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024798 "-DANDROID",
24799 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24800 "-DHAVE_SYS_UIO_H",
24801 "-Oz",
24802 "-fstack-protector",
24803 "-msse3",
24804 ],
24805 },
24806 host: {
24807 cflags: [
24808 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24809 "-DUSE_AURA=1",
24810 "-DUSE_OZONE=1",
24811 "-DUSE_UDEV",
24812 "-D_FILE_OFFSET_BITS=64",
24813 "-D_LARGEFILE64_SOURCE",
24814 "-D_LARGEFILE_SOURCE",
24815 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024816 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024817 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024818 ],
24819 },
24820 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024821}
24822
24823// GN: //third_party/abseil-cpp/absl/types:bad_variant_access
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024824cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070024825 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024826 srcs: [
24827 "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
24828 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000024829 defaults: [
24830 "cronet_aml_defaults",
24831 ],
24832 cflags: [
24833 "-DABSL_ALLOCATOR_NOTHROW=1",
24834 "-DANDROID",
24835 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24836 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24837 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
24838 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
24839 "-DHAVE_SYS_UIO_H",
24840 "-DNDEBUG",
24841 "-DNO_UNWIND_TABLES",
24842 "-DNVALGRIND",
24843 "-DOFFICIAL_BUILD",
24844 "-D_GNU_SOURCE",
24845 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
24846 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
24847 "-Oz",
24848 "-fdata-sections",
24849 "-ffunction-sections",
24850 "-fno-asynchronous-unwind-tables",
24851 "-fno-unwind-tables",
24852 "-fvisibility-inlines-hidden",
24853 "-fvisibility=hidden",
24854 "-g1",
24855 ],
24856 local_include_dirs: [
24857 "./",
24858 "buildtools/third_party/libc++/",
24859 "buildtools/third_party/libc++/trunk/include",
24860 "buildtools/third_party/libc++abi/trunk/include",
24861 "third_party/abseil-cpp/",
24862 ],
24863 cpp_std: "c++17",
24864 target: {
24865 android_arm: {
24866 cflags: [
24867 "-fstack-protector",
24868 ],
24869 },
24870 android_arm64: {
24871 cflags: [
24872 "-fstack-protector",
24873 "-mno-outline",
24874 "-mno-outline-atomics",
24875 ],
24876 },
24877 android_x86: {
24878 cflags: [
24879 "-msse3",
24880 ],
24881 },
24882 android_x86_64: {
24883 cflags: [
24884 "-fstack-protector",
24885 "-msse3",
24886 ],
24887 },
24888 },
24889}
24890
24891// GN: //third_party/abseil-cpp/absl/types:bad_variant_access__testing
24892cc_object {
24893 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access__testing",
24894 srcs: [
24895 "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
24896 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024897 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024898 defaults: [
24899 "cronet_aml_defaults",
24900 ],
24901 cflags: [
24902 "-DABSL_ALLOCATOR_NOTHROW=1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024903 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24904 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024905 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024906 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090024907 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024908 "-DNVALGRIND",
24909 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024910 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024911 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024912 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024913 "-fdata-sections",
24914 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090024915 "-fno-asynchronous-unwind-tables",
24916 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024917 "-fvisibility-inlines-hidden",
24918 "-fvisibility=hidden",
24919 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024920 ],
24921 local_include_dirs: [
24922 "./",
24923 "buildtools/third_party/libc++/",
24924 "buildtools/third_party/libc++/trunk/include",
24925 "buildtools/third_party/libc++abi/trunk/include",
24926 "third_party/abseil-cpp/",
24927 ],
Motomu Utsumi55394632022-11-18 17:44:28 +090024928 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090024929 android_arm: {
24930 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024931 "-DANDROID",
24932 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24933 "-DHAVE_SYS_UIO_H",
24934 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024935 "-fstack-protector",
24936 ],
24937 },
24938 android_arm64: {
24939 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024940 "-DANDROID",
24941 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24942 "-DHAVE_SYS_UIO_H",
24943 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024944 "-fstack-protector",
24945 "-mno-outline",
24946 "-mno-outline-atomics",
24947 ],
24948 },
Motomu Utsumi55394632022-11-18 17:44:28 +090024949 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024950 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024951 "-DANDROID",
24952 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24953 "-DHAVE_SYS_UIO_H",
24954 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024955 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024956 ],
24957 },
24958 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024959 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000024960 "-DANDROID",
24961 "-DANDROID_NDK_VERSION_ROLL=r23_1",
24962 "-DHAVE_SYS_UIO_H",
24963 "-Oz",
24964 "-fstack-protector",
24965 "-msse3",
24966 ],
24967 },
24968 host: {
24969 cflags: [
24970 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
24971 "-DUSE_AURA=1",
24972 "-DUSE_OZONE=1",
24973 "-DUSE_UDEV",
24974 "-D_FILE_OFFSET_BITS=64",
24975 "-D_LARGEFILE64_SOURCE",
24976 "-D_LARGEFILE_SOURCE",
24977 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090024978 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090024979 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090024980 ],
24981 },
24982 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070024983}
24984
Motomu Utsumifcac4852022-10-26 19:28:31 +090024985// GN: //third_party/android_ndk:cpu_features
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024986cc_object {
Motomu Utsumifcac4852022-10-26 19:28:31 +090024987 name: "cronet_aml_third_party_android_ndk_cpu_features",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000024988 srcs: [
24989 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
24990 ],
24991 defaults: [
24992 "cronet_aml_defaults",
24993 ],
24994 cflags: [
24995 "-DANDROID",
24996 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090024997 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
24998 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090024999 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025000 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025001 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090025002 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025003 "-DNVALGRIND",
25004 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025005 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025006 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025007 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025008 "-Oz",
25009 "-fdata-sections",
25010 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090025011 "-fno-asynchronous-unwind-tables",
25012 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025013 "-fvisibility-inlines-hidden",
25014 "-fvisibility=hidden",
25015 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025016 ],
25017 local_include_dirs: [
25018 "./",
25019 "buildtools/third_party/libc++/",
25020 "buildtools/third_party/libc++/trunk/include",
25021 "buildtools/third_party/libc++abi/trunk/include",
25022 "third_party/android_ndk/sources/android/cpufeatures/",
25023 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025024 cpp_std: "c++17",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025025 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090025026 android_arm: {
25027 cflags: [
25028 "-fstack-protector",
25029 ],
25030 },
25031 android_arm64: {
25032 cflags: [
25033 "-fstack-protector",
25034 "-mno-outline",
25035 "-mno-outline-atomics",
25036 ],
25037 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025038 android_x86: {
25039 cflags: [
25040 "-msse3",
25041 ],
25042 },
25043 android_x86_64: {
25044 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090025045 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025046 "-msse3",
25047 ],
25048 },
25049 },
Motomu Utsumifcac4852022-10-26 19:28:31 +090025050}
25051
Mohannad Farragedb2fd02023-02-10 14:53:41 +000025052// GN: //third_party/android_ndk:cpu_features__testing
25053cc_object {
25054 name: "cronet_aml_third_party_android_ndk_cpu_features__testing",
25055 srcs: [
25056 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
25057 ],
25058 defaults: [
25059 "cronet_aml_defaults",
25060 ],
25061 cflags: [
25062 "-DANDROID",
25063 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25064 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25065 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
25066 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25067 "-DHAVE_SYS_UIO_H",
25068 "-DNDEBUG",
25069 "-DNO_UNWIND_TABLES",
25070 "-DNVALGRIND",
25071 "-DOFFICIAL_BUILD",
25072 "-D_GNU_SOURCE",
25073 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
25074 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25075 "-Oz",
25076 "-fdata-sections",
25077 "-ffunction-sections",
25078 "-fno-asynchronous-unwind-tables",
25079 "-fno-unwind-tables",
25080 "-fvisibility-inlines-hidden",
25081 "-fvisibility=hidden",
25082 "-g1",
25083 ],
25084 local_include_dirs: [
25085 "./",
25086 "buildtools/third_party/libc++/",
25087 "buildtools/third_party/libc++/trunk/include",
25088 "buildtools/third_party/libc++abi/trunk/include",
25089 "third_party/android_ndk/sources/android/cpufeatures/",
25090 ],
25091 cpp_std: "c++17",
25092 target: {
25093 android_arm: {
25094 cflags: [
25095 "-fstack-protector",
25096 ],
25097 },
25098 android_arm64: {
25099 cflags: [
25100 "-fstack-protector",
25101 "-mno-outline",
25102 "-mno-outline-atomics",
25103 ],
25104 },
25105 android_x86: {
25106 cflags: [
25107 "-msse3",
25108 ],
25109 },
25110 android_x86_64: {
25111 cflags: [
25112 "-fstack-protector",
25113 "-msse3",
25114 ],
25115 },
25116 },
25117}
25118
Patrick Rohrcc377df2022-10-28 09:27:15 -070025119// GN: //third_party/ashmem:ashmem
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025120cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070025121 name: "cronet_aml_third_party_ashmem_ashmem",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025122 srcs: [
25123 "third_party/ashmem/ashmem-dev.c",
25124 ],
25125 defaults: [
25126 "cronet_aml_defaults",
25127 ],
25128 cflags: [
25129 "-DANDROID",
25130 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025131 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25132 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025133 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025134 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025135 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090025136 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025137 "-DNVALGRIND",
25138 "-DOFFICIAL_BUILD",
25139 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025140 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025141 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025142 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25143 "-D__STDC_CONSTANT_MACROS",
25144 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025145 "-Oz",
25146 "-fdata-sections",
25147 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090025148 "-fno-asynchronous-unwind-tables",
25149 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025150 "-fvisibility-inlines-hidden",
25151 "-fvisibility=hidden",
25152 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025153 ],
25154 local_include_dirs: [
25155 "./",
25156 "buildtools/third_party/libc++/",
25157 "buildtools/third_party/libc++/trunk/include",
25158 "buildtools/third_party/libc++abi/trunk/include",
25159 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025160 cpp_std: "c++17",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025161 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090025162 android_arm: {
25163 cflags: [
25164 "-fstack-protector",
25165 ],
25166 },
25167 android_arm64: {
25168 cflags: [
25169 "-fstack-protector",
25170 "-mno-outline",
25171 "-mno-outline-atomics",
25172 ],
25173 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025174 android_x86: {
25175 cflags: [
25176 "-msse3",
25177 ],
25178 },
25179 android_x86_64: {
25180 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090025181 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025182 "-msse3",
25183 ],
25184 },
25185 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070025186}
25187
Mohannad Farragedb2fd02023-02-10 14:53:41 +000025188// GN: //third_party/ashmem:ashmem__testing
25189cc_object {
25190 name: "cronet_aml_third_party_ashmem_ashmem__testing",
25191 srcs: [
25192 "third_party/ashmem/ashmem-dev.c",
25193 ],
25194 defaults: [
25195 "cronet_aml_defaults",
25196 ],
25197 cflags: [
25198 "-DANDROID",
25199 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25200 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25201 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
25202 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25203 "-DHAVE_SYS_UIO_H",
25204 "-DNDEBUG",
25205 "-DNO_UNWIND_TABLES",
25206 "-DNVALGRIND",
25207 "-DOFFICIAL_BUILD",
25208 "-D_FORTIFY_SOURCE=2",
25209 "-D_GNU_SOURCE",
25210 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
25211 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25212 "-D__STDC_CONSTANT_MACROS",
25213 "-D__STDC_FORMAT_MACROS",
25214 "-Oz",
25215 "-fdata-sections",
25216 "-ffunction-sections",
25217 "-fno-asynchronous-unwind-tables",
25218 "-fno-unwind-tables",
25219 "-fvisibility-inlines-hidden",
25220 "-fvisibility=hidden",
25221 "-g1",
25222 ],
25223 local_include_dirs: [
25224 "./",
25225 "buildtools/third_party/libc++/",
25226 "buildtools/third_party/libc++/trunk/include",
25227 "buildtools/third_party/libc++abi/trunk/include",
25228 ],
25229 cpp_std: "c++17",
25230 target: {
25231 android_arm: {
25232 cflags: [
25233 "-fstack-protector",
25234 ],
25235 },
25236 android_arm64: {
25237 cflags: [
25238 "-fstack-protector",
25239 "-mno-outline",
25240 "-mno-outline-atomics",
25241 ],
25242 },
25243 android_x86: {
25244 cflags: [
25245 "-msse3",
25246 ],
25247 },
25248 android_x86_64: {
25249 cflags: [
25250 "-fstack-protector",
25251 "-msse3",
25252 ],
25253 },
25254 },
25255}
25256
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025257// GN: //third_party/boringssl:boringssl
25258cc_library_static {
25259 name: "cronet_aml_third_party_boringssl_boringssl",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +090025260 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025261 ":cronet_aml_third_party_boringssl_boringssl_asm",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +090025262 "third_party/boringssl/err_data.c",
25263 "third_party/boringssl/src/crypto/asn1/a_bitstr.c",
25264 "third_party/boringssl/src/crypto/asn1/a_bool.c",
25265 "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c",
25266 "third_party/boringssl/src/crypto/asn1/a_dup.c",
25267 "third_party/boringssl/src/crypto/asn1/a_gentm.c",
25268 "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c",
25269 "third_party/boringssl/src/crypto/asn1/a_int.c",
25270 "third_party/boringssl/src/crypto/asn1/a_mbstr.c",
25271 "third_party/boringssl/src/crypto/asn1/a_object.c",
25272 "third_party/boringssl/src/crypto/asn1/a_octet.c",
25273 "third_party/boringssl/src/crypto/asn1/a_print.c",
25274 "third_party/boringssl/src/crypto/asn1/a_strex.c",
25275 "third_party/boringssl/src/crypto/asn1/a_strnid.c",
25276 "third_party/boringssl/src/crypto/asn1/a_time.c",
25277 "third_party/boringssl/src/crypto/asn1/a_type.c",
25278 "third_party/boringssl/src/crypto/asn1/a_utctm.c",
25279 "third_party/boringssl/src/crypto/asn1/a_utf8.c",
25280 "third_party/boringssl/src/crypto/asn1/asn1_lib.c",
25281 "third_party/boringssl/src/crypto/asn1/asn1_par.c",
25282 "third_party/boringssl/src/crypto/asn1/asn_pack.c",
25283 "third_party/boringssl/src/crypto/asn1/f_int.c",
25284 "third_party/boringssl/src/crypto/asn1/f_string.c",
25285 "third_party/boringssl/src/crypto/asn1/posix_time.c",
25286 "third_party/boringssl/src/crypto/asn1/tasn_dec.c",
25287 "third_party/boringssl/src/crypto/asn1/tasn_enc.c",
25288 "third_party/boringssl/src/crypto/asn1/tasn_fre.c",
25289 "third_party/boringssl/src/crypto/asn1/tasn_new.c",
25290 "third_party/boringssl/src/crypto/asn1/tasn_typ.c",
25291 "third_party/boringssl/src/crypto/asn1/tasn_utl.c",
25292 "third_party/boringssl/src/crypto/base64/base64.c",
25293 "third_party/boringssl/src/crypto/bio/bio.c",
25294 "third_party/boringssl/src/crypto/bio/bio_mem.c",
25295 "third_party/boringssl/src/crypto/bio/connect.c",
25296 "third_party/boringssl/src/crypto/bio/fd.c",
25297 "third_party/boringssl/src/crypto/bio/file.c",
25298 "third_party/boringssl/src/crypto/bio/hexdump.c",
25299 "third_party/boringssl/src/crypto/bio/pair.c",
25300 "third_party/boringssl/src/crypto/bio/printf.c",
25301 "third_party/boringssl/src/crypto/bio/socket.c",
25302 "third_party/boringssl/src/crypto/bio/socket_helper.c",
25303 "third_party/boringssl/src/crypto/blake2/blake2.c",
25304 "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c",
25305 "third_party/boringssl/src/crypto/bn_extra/convert.c",
25306 "third_party/boringssl/src/crypto/buf/buf.c",
25307 "third_party/boringssl/src/crypto/bytestring/asn1_compat.c",
25308 "third_party/boringssl/src/crypto/bytestring/ber.c",
25309 "third_party/boringssl/src/crypto/bytestring/cbb.c",
25310 "third_party/boringssl/src/crypto/bytestring/cbs.c",
25311 "third_party/boringssl/src/crypto/bytestring/unicode.c",
25312 "third_party/boringssl/src/crypto/chacha/chacha.c",
25313 "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c",
25314 "third_party/boringssl/src/crypto/cipher_extra/derive_key.c",
25315 "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c",
25316 "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c",
25317 "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c",
25318 "third_party/boringssl/src/crypto/cipher_extra/e_des.c",
25319 "third_party/boringssl/src/crypto/cipher_extra/e_null.c",
25320 "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c",
25321 "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c",
25322 "third_party/boringssl/src/crypto/cipher_extra/e_tls.c",
25323 "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c",
25324 "third_party/boringssl/src/crypto/conf/conf.c",
25325 "third_party/boringssl/src/crypto/cpu_aarch64_apple.c",
25326 "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c",
25327 "third_party/boringssl/src/crypto/cpu_aarch64_linux.c",
25328 "third_party/boringssl/src/crypto/cpu_aarch64_win.c",
25329 "third_party/boringssl/src/crypto/cpu_arm.c",
25330 "third_party/boringssl/src/crypto/cpu_arm_linux.c",
25331 "third_party/boringssl/src/crypto/cpu_intel.c",
25332 "third_party/boringssl/src/crypto/cpu_ppc64le.c",
25333 "third_party/boringssl/src/crypto/crypto.c",
25334 "third_party/boringssl/src/crypto/curve25519/curve25519.c",
25335 "third_party/boringssl/src/crypto/curve25519/spake25519.c",
25336 "third_party/boringssl/src/crypto/des/des.c",
25337 "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c",
25338 "third_party/boringssl/src/crypto/dh_extra/params.c",
25339 "third_party/boringssl/src/crypto/digest_extra/digest_extra.c",
25340 "third_party/boringssl/src/crypto/dsa/dsa.c",
25341 "third_party/boringssl/src/crypto/dsa/dsa_asn1.c",
25342 "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c",
25343 "third_party/boringssl/src/crypto/ec_extra/ec_derive.c",
25344 "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c",
25345 "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c",
25346 "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c",
25347 "third_party/boringssl/src/crypto/engine/engine.c",
25348 "third_party/boringssl/src/crypto/err/err.c",
25349 "third_party/boringssl/src/crypto/evp/evp.c",
25350 "third_party/boringssl/src/crypto/evp/evp_asn1.c",
25351 "third_party/boringssl/src/crypto/evp/evp_ctx.c",
25352 "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c",
25353 "third_party/boringssl/src/crypto/evp/p_ec.c",
25354 "third_party/boringssl/src/crypto/evp/p_ec_asn1.c",
25355 "third_party/boringssl/src/crypto/evp/p_ed25519.c",
25356 "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c",
25357 "third_party/boringssl/src/crypto/evp/p_hkdf.c",
25358 "third_party/boringssl/src/crypto/evp/p_rsa.c",
25359 "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c",
25360 "third_party/boringssl/src/crypto/evp/p_x25519.c",
25361 "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c",
25362 "third_party/boringssl/src/crypto/evp/pbkdf.c",
25363 "third_party/boringssl/src/crypto/evp/print.c",
25364 "third_party/boringssl/src/crypto/evp/scrypt.c",
25365 "third_party/boringssl/src/crypto/evp/sign.c",
25366 "third_party/boringssl/src/crypto/ex_data.c",
25367 "third_party/boringssl/src/crypto/fipsmodule/bcm.c",
25368 "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c",
25369 "third_party/boringssl/src/crypto/hkdf/hkdf.c",
25370 "third_party/boringssl/src/crypto/hpke/hpke.c",
25371 "third_party/boringssl/src/crypto/hrss/hrss.c",
25372 "third_party/boringssl/src/crypto/lhash/lhash.c",
25373 "third_party/boringssl/src/crypto/mem.c",
25374 "third_party/boringssl/src/crypto/obj/obj.c",
25375 "third_party/boringssl/src/crypto/obj/obj_xref.c",
25376 "third_party/boringssl/src/crypto/pem/pem_all.c",
25377 "third_party/boringssl/src/crypto/pem/pem_info.c",
25378 "third_party/boringssl/src/crypto/pem/pem_lib.c",
25379 "third_party/boringssl/src/crypto/pem/pem_oth.c",
25380 "third_party/boringssl/src/crypto/pem/pem_pk8.c",
25381 "third_party/boringssl/src/crypto/pem/pem_pkey.c",
25382 "third_party/boringssl/src/crypto/pem/pem_x509.c",
25383 "third_party/boringssl/src/crypto/pem/pem_xaux.c",
25384 "third_party/boringssl/src/crypto/pkcs7/pkcs7.c",
25385 "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c",
25386 "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c",
25387 "third_party/boringssl/src/crypto/pkcs8/pkcs8.c",
25388 "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c",
25389 "third_party/boringssl/src/crypto/poly1305/poly1305.c",
25390 "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c",
25391 "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c",
25392 "third_party/boringssl/src/crypto/pool/pool.c",
25393 "third_party/boringssl/src/crypto/rand_extra/deterministic.c",
25394 "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c",
25395 "third_party/boringssl/src/crypto/rand_extra/fuchsia.c",
25396 "third_party/boringssl/src/crypto/rand_extra/passive.c",
25397 "third_party/boringssl/src/crypto/rand_extra/rand_extra.c",
25398 "third_party/boringssl/src/crypto/rand_extra/windows.c",
25399 "third_party/boringssl/src/crypto/rc4/rc4.c",
25400 "third_party/boringssl/src/crypto/refcount_c11.c",
25401 "third_party/boringssl/src/crypto/refcount_lock.c",
25402 "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c",
25403 "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c",
25404 "third_party/boringssl/src/crypto/siphash/siphash.c",
25405 "third_party/boringssl/src/crypto/stack/stack.c",
25406 "third_party/boringssl/src/crypto/thread.c",
25407 "third_party/boringssl/src/crypto/thread_none.c",
25408 "third_party/boringssl/src/crypto/thread_pthread.c",
25409 "third_party/boringssl/src/crypto/thread_win.c",
25410 "third_party/boringssl/src/crypto/trust_token/pmbtoken.c",
25411 "third_party/boringssl/src/crypto/trust_token/trust_token.c",
25412 "third_party/boringssl/src/crypto/trust_token/voprf.c",
25413 "third_party/boringssl/src/crypto/x509/a_digest.c",
25414 "third_party/boringssl/src/crypto/x509/a_sign.c",
25415 "third_party/boringssl/src/crypto/x509/a_verify.c",
25416 "third_party/boringssl/src/crypto/x509/algorithm.c",
25417 "third_party/boringssl/src/crypto/x509/asn1_gen.c",
25418 "third_party/boringssl/src/crypto/x509/by_dir.c",
25419 "third_party/boringssl/src/crypto/x509/by_file.c",
25420 "third_party/boringssl/src/crypto/x509/i2d_pr.c",
25421 "third_party/boringssl/src/crypto/x509/name_print.c",
25422 "third_party/boringssl/src/crypto/x509/rsa_pss.c",
25423 "third_party/boringssl/src/crypto/x509/t_crl.c",
25424 "third_party/boringssl/src/crypto/x509/t_req.c",
25425 "third_party/boringssl/src/crypto/x509/t_x509.c",
25426 "third_party/boringssl/src/crypto/x509/t_x509a.c",
25427 "third_party/boringssl/src/crypto/x509/x509.c",
25428 "third_party/boringssl/src/crypto/x509/x509_att.c",
25429 "third_party/boringssl/src/crypto/x509/x509_cmp.c",
25430 "third_party/boringssl/src/crypto/x509/x509_d2.c",
25431 "third_party/boringssl/src/crypto/x509/x509_def.c",
25432 "third_party/boringssl/src/crypto/x509/x509_ext.c",
25433 "third_party/boringssl/src/crypto/x509/x509_lu.c",
25434 "third_party/boringssl/src/crypto/x509/x509_obj.c",
25435 "third_party/boringssl/src/crypto/x509/x509_req.c",
25436 "third_party/boringssl/src/crypto/x509/x509_set.c",
25437 "third_party/boringssl/src/crypto/x509/x509_trs.c",
25438 "third_party/boringssl/src/crypto/x509/x509_txt.c",
25439 "third_party/boringssl/src/crypto/x509/x509_v3.c",
25440 "third_party/boringssl/src/crypto/x509/x509_vfy.c",
25441 "third_party/boringssl/src/crypto/x509/x509_vpm.c",
25442 "third_party/boringssl/src/crypto/x509/x509cset.c",
25443 "third_party/boringssl/src/crypto/x509/x509name.c",
25444 "third_party/boringssl/src/crypto/x509/x509rset.c",
25445 "third_party/boringssl/src/crypto/x509/x509spki.c",
25446 "third_party/boringssl/src/crypto/x509/x_algor.c",
25447 "third_party/boringssl/src/crypto/x509/x_all.c",
25448 "third_party/boringssl/src/crypto/x509/x_attrib.c",
25449 "third_party/boringssl/src/crypto/x509/x_crl.c",
25450 "third_party/boringssl/src/crypto/x509/x_exten.c",
25451 "third_party/boringssl/src/crypto/x509/x_info.c",
25452 "third_party/boringssl/src/crypto/x509/x_name.c",
25453 "third_party/boringssl/src/crypto/x509/x_pkey.c",
25454 "third_party/boringssl/src/crypto/x509/x_pubkey.c",
25455 "third_party/boringssl/src/crypto/x509/x_req.c",
25456 "third_party/boringssl/src/crypto/x509/x_sig.c",
25457 "third_party/boringssl/src/crypto/x509/x_spki.c",
25458 "third_party/boringssl/src/crypto/x509/x_val.c",
25459 "third_party/boringssl/src/crypto/x509/x_x509.c",
25460 "third_party/boringssl/src/crypto/x509/x_x509a.c",
25461 "third_party/boringssl/src/crypto/x509v3/pcy_cache.c",
25462 "third_party/boringssl/src/crypto/x509v3/pcy_data.c",
25463 "third_party/boringssl/src/crypto/x509v3/pcy_map.c",
25464 "third_party/boringssl/src/crypto/x509v3/pcy_node.c",
25465 "third_party/boringssl/src/crypto/x509v3/pcy_tree.c",
25466 "third_party/boringssl/src/crypto/x509v3/v3_akey.c",
25467 "third_party/boringssl/src/crypto/x509v3/v3_akeya.c",
25468 "third_party/boringssl/src/crypto/x509v3/v3_alt.c",
25469 "third_party/boringssl/src/crypto/x509v3/v3_bcons.c",
25470 "third_party/boringssl/src/crypto/x509v3/v3_bitst.c",
25471 "third_party/boringssl/src/crypto/x509v3/v3_conf.c",
25472 "third_party/boringssl/src/crypto/x509v3/v3_cpols.c",
25473 "third_party/boringssl/src/crypto/x509v3/v3_crld.c",
25474 "third_party/boringssl/src/crypto/x509v3/v3_enum.c",
25475 "third_party/boringssl/src/crypto/x509v3/v3_extku.c",
25476 "third_party/boringssl/src/crypto/x509v3/v3_genn.c",
25477 "third_party/boringssl/src/crypto/x509v3/v3_ia5.c",
25478 "third_party/boringssl/src/crypto/x509v3/v3_info.c",
25479 "third_party/boringssl/src/crypto/x509v3/v3_int.c",
25480 "third_party/boringssl/src/crypto/x509v3/v3_lib.c",
25481 "third_party/boringssl/src/crypto/x509v3/v3_ncons.c",
25482 "third_party/boringssl/src/crypto/x509v3/v3_ocsp.c",
25483 "third_party/boringssl/src/crypto/x509v3/v3_pci.c",
25484 "third_party/boringssl/src/crypto/x509v3/v3_pcia.c",
25485 "third_party/boringssl/src/crypto/x509v3/v3_pcons.c",
25486 "third_party/boringssl/src/crypto/x509v3/v3_pmaps.c",
25487 "third_party/boringssl/src/crypto/x509v3/v3_prn.c",
25488 "third_party/boringssl/src/crypto/x509v3/v3_purp.c",
25489 "third_party/boringssl/src/crypto/x509v3/v3_skey.c",
25490 "third_party/boringssl/src/crypto/x509v3/v3_utl.c",
25491 "third_party/boringssl/src/ssl/bio_ssl.cc",
25492 "third_party/boringssl/src/ssl/d1_both.cc",
25493 "third_party/boringssl/src/ssl/d1_lib.cc",
25494 "third_party/boringssl/src/ssl/d1_pkt.cc",
25495 "third_party/boringssl/src/ssl/d1_srtp.cc",
25496 "third_party/boringssl/src/ssl/dtls_method.cc",
25497 "third_party/boringssl/src/ssl/dtls_record.cc",
25498 "third_party/boringssl/src/ssl/encrypted_client_hello.cc",
25499 "third_party/boringssl/src/ssl/extensions.cc",
25500 "third_party/boringssl/src/ssl/handoff.cc",
25501 "third_party/boringssl/src/ssl/handshake.cc",
25502 "third_party/boringssl/src/ssl/handshake_client.cc",
25503 "third_party/boringssl/src/ssl/handshake_server.cc",
25504 "third_party/boringssl/src/ssl/s3_both.cc",
25505 "third_party/boringssl/src/ssl/s3_lib.cc",
25506 "third_party/boringssl/src/ssl/s3_pkt.cc",
25507 "third_party/boringssl/src/ssl/ssl_aead_ctx.cc",
25508 "third_party/boringssl/src/ssl/ssl_asn1.cc",
25509 "third_party/boringssl/src/ssl/ssl_buffer.cc",
25510 "third_party/boringssl/src/ssl/ssl_cert.cc",
25511 "third_party/boringssl/src/ssl/ssl_cipher.cc",
25512 "third_party/boringssl/src/ssl/ssl_file.cc",
25513 "third_party/boringssl/src/ssl/ssl_key_share.cc",
25514 "third_party/boringssl/src/ssl/ssl_lib.cc",
25515 "third_party/boringssl/src/ssl/ssl_privkey.cc",
25516 "third_party/boringssl/src/ssl/ssl_session.cc",
25517 "third_party/boringssl/src/ssl/ssl_stat.cc",
25518 "third_party/boringssl/src/ssl/ssl_transcript.cc",
25519 "third_party/boringssl/src/ssl/ssl_versions.cc",
25520 "third_party/boringssl/src/ssl/ssl_x509.cc",
25521 "third_party/boringssl/src/ssl/t1_enc.cc",
25522 "third_party/boringssl/src/ssl/tls13_both.cc",
25523 "third_party/boringssl/src/ssl/tls13_client.cc",
25524 "third_party/boringssl/src/ssl/tls13_enc.cc",
25525 "third_party/boringssl/src/ssl/tls13_server.cc",
25526 "third_party/boringssl/src/ssl/tls_method.cc",
25527 "third_party/boringssl/src/ssl/tls_record.cc",
25528 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000025529 defaults: [
25530 "cronet_aml_defaults",
25531 ],
25532 cflags: [
25533 "-DANDROID",
25534 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25535 "-DBORINGSSL_ALLOW_CXX_RUNTIME",
25536 "-DBORINGSSL_IMPLEMENTATION",
25537 "-DBORINGSSL_NO_STATIC_INITIALIZER",
25538 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25539 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
25540 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25541 "-DHAVE_SYS_UIO_H",
25542 "-DNDEBUG",
25543 "-DNO_UNWIND_TABLES",
25544 "-DNVALGRIND",
25545 "-DOFFICIAL_BUILD",
25546 "-DOPENSSL_SMALL",
25547 "-D_GNU_SOURCE",
25548 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
25549 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25550 "-Oz",
25551 "-fdata-sections",
25552 "-ffunction-sections",
25553 "-fno-asynchronous-unwind-tables",
25554 "-fno-unwind-tables",
25555 "-fvisibility-inlines-hidden",
25556 "-fvisibility=hidden",
25557 "-g1",
25558 ],
25559 local_include_dirs: [
25560 "./",
25561 "buildtools/third_party/libc++/",
25562 "buildtools/third_party/libc++/trunk/include",
25563 "buildtools/third_party/libc++abi/trunk/include",
25564 "third_party/boringssl/src/include/",
25565 ],
25566 cpp_std: "c++17",
25567 ldflags: [
25568 "-Wl,--as-needed",
25569 "-Wl,--gc-sections",
25570 "-Wl,--icf=all",
25571 ],
25572 target: {
25573 android_arm: {
25574 cflags: [
25575 "-fstack-protector",
25576 ],
25577 },
25578 android_arm64: {
25579 cflags: [
25580 "-fstack-protector",
25581 "-mno-outline",
25582 "-mno-outline-atomics",
25583 ],
25584 },
25585 android_x86: {
25586 cflags: [
25587 "-msse3",
25588 ],
25589 },
25590 android_x86_64: {
25591 cflags: [
25592 "-fstack-protector",
25593 "-msse3",
25594 ],
25595 },
25596 },
25597}
25598
25599// GN: //third_party/boringssl:boringssl__testing
25600cc_library_static {
25601 name: "cronet_aml_third_party_boringssl_boringssl__testing",
25602 srcs: [
25603 ":cronet_aml_third_party_boringssl_boringssl_asm__testing",
25604 "third_party/boringssl/err_data.c",
25605 "third_party/boringssl/src/crypto/asn1/a_bitstr.c",
25606 "third_party/boringssl/src/crypto/asn1/a_bool.c",
25607 "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c",
25608 "third_party/boringssl/src/crypto/asn1/a_dup.c",
25609 "third_party/boringssl/src/crypto/asn1/a_gentm.c",
25610 "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c",
25611 "third_party/boringssl/src/crypto/asn1/a_int.c",
25612 "third_party/boringssl/src/crypto/asn1/a_mbstr.c",
25613 "third_party/boringssl/src/crypto/asn1/a_object.c",
25614 "third_party/boringssl/src/crypto/asn1/a_octet.c",
25615 "third_party/boringssl/src/crypto/asn1/a_print.c",
25616 "third_party/boringssl/src/crypto/asn1/a_strex.c",
25617 "third_party/boringssl/src/crypto/asn1/a_strnid.c",
25618 "third_party/boringssl/src/crypto/asn1/a_time.c",
25619 "third_party/boringssl/src/crypto/asn1/a_type.c",
25620 "third_party/boringssl/src/crypto/asn1/a_utctm.c",
25621 "third_party/boringssl/src/crypto/asn1/a_utf8.c",
25622 "third_party/boringssl/src/crypto/asn1/asn1_lib.c",
25623 "third_party/boringssl/src/crypto/asn1/asn1_par.c",
25624 "third_party/boringssl/src/crypto/asn1/asn_pack.c",
25625 "third_party/boringssl/src/crypto/asn1/f_int.c",
25626 "third_party/boringssl/src/crypto/asn1/f_string.c",
25627 "third_party/boringssl/src/crypto/asn1/posix_time.c",
25628 "third_party/boringssl/src/crypto/asn1/tasn_dec.c",
25629 "third_party/boringssl/src/crypto/asn1/tasn_enc.c",
25630 "third_party/boringssl/src/crypto/asn1/tasn_fre.c",
25631 "third_party/boringssl/src/crypto/asn1/tasn_new.c",
25632 "third_party/boringssl/src/crypto/asn1/tasn_typ.c",
25633 "third_party/boringssl/src/crypto/asn1/tasn_utl.c",
25634 "third_party/boringssl/src/crypto/base64/base64.c",
25635 "third_party/boringssl/src/crypto/bio/bio.c",
25636 "third_party/boringssl/src/crypto/bio/bio_mem.c",
25637 "third_party/boringssl/src/crypto/bio/connect.c",
25638 "third_party/boringssl/src/crypto/bio/fd.c",
25639 "third_party/boringssl/src/crypto/bio/file.c",
25640 "third_party/boringssl/src/crypto/bio/hexdump.c",
25641 "third_party/boringssl/src/crypto/bio/pair.c",
25642 "third_party/boringssl/src/crypto/bio/printf.c",
25643 "third_party/boringssl/src/crypto/bio/socket.c",
25644 "third_party/boringssl/src/crypto/bio/socket_helper.c",
25645 "third_party/boringssl/src/crypto/blake2/blake2.c",
25646 "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c",
25647 "third_party/boringssl/src/crypto/bn_extra/convert.c",
25648 "third_party/boringssl/src/crypto/buf/buf.c",
25649 "third_party/boringssl/src/crypto/bytestring/asn1_compat.c",
25650 "third_party/boringssl/src/crypto/bytestring/ber.c",
25651 "third_party/boringssl/src/crypto/bytestring/cbb.c",
25652 "third_party/boringssl/src/crypto/bytestring/cbs.c",
25653 "third_party/boringssl/src/crypto/bytestring/unicode.c",
25654 "third_party/boringssl/src/crypto/chacha/chacha.c",
25655 "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c",
25656 "third_party/boringssl/src/crypto/cipher_extra/derive_key.c",
25657 "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c",
25658 "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c",
25659 "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c",
25660 "third_party/boringssl/src/crypto/cipher_extra/e_des.c",
25661 "third_party/boringssl/src/crypto/cipher_extra/e_null.c",
25662 "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c",
25663 "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c",
25664 "third_party/boringssl/src/crypto/cipher_extra/e_tls.c",
25665 "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c",
25666 "third_party/boringssl/src/crypto/conf/conf.c",
25667 "third_party/boringssl/src/crypto/cpu_aarch64_apple.c",
25668 "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c",
25669 "third_party/boringssl/src/crypto/cpu_aarch64_linux.c",
25670 "third_party/boringssl/src/crypto/cpu_aarch64_win.c",
25671 "third_party/boringssl/src/crypto/cpu_arm.c",
25672 "third_party/boringssl/src/crypto/cpu_arm_linux.c",
25673 "third_party/boringssl/src/crypto/cpu_intel.c",
25674 "third_party/boringssl/src/crypto/cpu_ppc64le.c",
25675 "third_party/boringssl/src/crypto/crypto.c",
25676 "third_party/boringssl/src/crypto/curve25519/curve25519.c",
25677 "third_party/boringssl/src/crypto/curve25519/spake25519.c",
25678 "third_party/boringssl/src/crypto/des/des.c",
25679 "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c",
25680 "third_party/boringssl/src/crypto/dh_extra/params.c",
25681 "third_party/boringssl/src/crypto/digest_extra/digest_extra.c",
25682 "third_party/boringssl/src/crypto/dsa/dsa.c",
25683 "third_party/boringssl/src/crypto/dsa/dsa_asn1.c",
25684 "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c",
25685 "third_party/boringssl/src/crypto/ec_extra/ec_derive.c",
25686 "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c",
25687 "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c",
25688 "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c",
25689 "third_party/boringssl/src/crypto/engine/engine.c",
25690 "third_party/boringssl/src/crypto/err/err.c",
25691 "third_party/boringssl/src/crypto/evp/evp.c",
25692 "third_party/boringssl/src/crypto/evp/evp_asn1.c",
25693 "third_party/boringssl/src/crypto/evp/evp_ctx.c",
25694 "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c",
25695 "third_party/boringssl/src/crypto/evp/p_ec.c",
25696 "third_party/boringssl/src/crypto/evp/p_ec_asn1.c",
25697 "third_party/boringssl/src/crypto/evp/p_ed25519.c",
25698 "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c",
25699 "third_party/boringssl/src/crypto/evp/p_hkdf.c",
25700 "third_party/boringssl/src/crypto/evp/p_rsa.c",
25701 "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c",
25702 "third_party/boringssl/src/crypto/evp/p_x25519.c",
25703 "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c",
25704 "third_party/boringssl/src/crypto/evp/pbkdf.c",
25705 "third_party/boringssl/src/crypto/evp/print.c",
25706 "third_party/boringssl/src/crypto/evp/scrypt.c",
25707 "third_party/boringssl/src/crypto/evp/sign.c",
25708 "third_party/boringssl/src/crypto/ex_data.c",
25709 "third_party/boringssl/src/crypto/fipsmodule/bcm.c",
25710 "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c",
25711 "third_party/boringssl/src/crypto/hkdf/hkdf.c",
25712 "third_party/boringssl/src/crypto/hpke/hpke.c",
25713 "third_party/boringssl/src/crypto/hrss/hrss.c",
25714 "third_party/boringssl/src/crypto/lhash/lhash.c",
25715 "third_party/boringssl/src/crypto/mem.c",
25716 "third_party/boringssl/src/crypto/obj/obj.c",
25717 "third_party/boringssl/src/crypto/obj/obj_xref.c",
25718 "third_party/boringssl/src/crypto/pem/pem_all.c",
25719 "third_party/boringssl/src/crypto/pem/pem_info.c",
25720 "third_party/boringssl/src/crypto/pem/pem_lib.c",
25721 "third_party/boringssl/src/crypto/pem/pem_oth.c",
25722 "third_party/boringssl/src/crypto/pem/pem_pk8.c",
25723 "third_party/boringssl/src/crypto/pem/pem_pkey.c",
25724 "third_party/boringssl/src/crypto/pem/pem_x509.c",
25725 "third_party/boringssl/src/crypto/pem/pem_xaux.c",
25726 "third_party/boringssl/src/crypto/pkcs7/pkcs7.c",
25727 "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c",
25728 "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c",
25729 "third_party/boringssl/src/crypto/pkcs8/pkcs8.c",
25730 "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c",
25731 "third_party/boringssl/src/crypto/poly1305/poly1305.c",
25732 "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c",
25733 "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c",
25734 "third_party/boringssl/src/crypto/pool/pool.c",
25735 "third_party/boringssl/src/crypto/rand_extra/deterministic.c",
25736 "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c",
25737 "third_party/boringssl/src/crypto/rand_extra/fuchsia.c",
25738 "third_party/boringssl/src/crypto/rand_extra/passive.c",
25739 "third_party/boringssl/src/crypto/rand_extra/rand_extra.c",
25740 "third_party/boringssl/src/crypto/rand_extra/windows.c",
25741 "third_party/boringssl/src/crypto/rc4/rc4.c",
25742 "third_party/boringssl/src/crypto/refcount_c11.c",
25743 "third_party/boringssl/src/crypto/refcount_lock.c",
25744 "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c",
25745 "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c",
25746 "third_party/boringssl/src/crypto/siphash/siphash.c",
25747 "third_party/boringssl/src/crypto/stack/stack.c",
25748 "third_party/boringssl/src/crypto/thread.c",
25749 "third_party/boringssl/src/crypto/thread_none.c",
25750 "third_party/boringssl/src/crypto/thread_pthread.c",
25751 "third_party/boringssl/src/crypto/thread_win.c",
25752 "third_party/boringssl/src/crypto/trust_token/pmbtoken.c",
25753 "third_party/boringssl/src/crypto/trust_token/trust_token.c",
25754 "third_party/boringssl/src/crypto/trust_token/voprf.c",
25755 "third_party/boringssl/src/crypto/x509/a_digest.c",
25756 "third_party/boringssl/src/crypto/x509/a_sign.c",
25757 "third_party/boringssl/src/crypto/x509/a_verify.c",
25758 "third_party/boringssl/src/crypto/x509/algorithm.c",
25759 "third_party/boringssl/src/crypto/x509/asn1_gen.c",
25760 "third_party/boringssl/src/crypto/x509/by_dir.c",
25761 "third_party/boringssl/src/crypto/x509/by_file.c",
25762 "third_party/boringssl/src/crypto/x509/i2d_pr.c",
25763 "third_party/boringssl/src/crypto/x509/name_print.c",
25764 "third_party/boringssl/src/crypto/x509/rsa_pss.c",
25765 "third_party/boringssl/src/crypto/x509/t_crl.c",
25766 "third_party/boringssl/src/crypto/x509/t_req.c",
25767 "third_party/boringssl/src/crypto/x509/t_x509.c",
25768 "third_party/boringssl/src/crypto/x509/t_x509a.c",
25769 "third_party/boringssl/src/crypto/x509/x509.c",
25770 "third_party/boringssl/src/crypto/x509/x509_att.c",
25771 "third_party/boringssl/src/crypto/x509/x509_cmp.c",
25772 "third_party/boringssl/src/crypto/x509/x509_d2.c",
25773 "third_party/boringssl/src/crypto/x509/x509_def.c",
25774 "third_party/boringssl/src/crypto/x509/x509_ext.c",
25775 "third_party/boringssl/src/crypto/x509/x509_lu.c",
25776 "third_party/boringssl/src/crypto/x509/x509_obj.c",
25777 "third_party/boringssl/src/crypto/x509/x509_req.c",
25778 "third_party/boringssl/src/crypto/x509/x509_set.c",
25779 "third_party/boringssl/src/crypto/x509/x509_trs.c",
25780 "third_party/boringssl/src/crypto/x509/x509_txt.c",
25781 "third_party/boringssl/src/crypto/x509/x509_v3.c",
25782 "third_party/boringssl/src/crypto/x509/x509_vfy.c",
25783 "third_party/boringssl/src/crypto/x509/x509_vpm.c",
25784 "third_party/boringssl/src/crypto/x509/x509cset.c",
25785 "third_party/boringssl/src/crypto/x509/x509name.c",
25786 "third_party/boringssl/src/crypto/x509/x509rset.c",
25787 "third_party/boringssl/src/crypto/x509/x509spki.c",
25788 "third_party/boringssl/src/crypto/x509/x_algor.c",
25789 "third_party/boringssl/src/crypto/x509/x_all.c",
25790 "third_party/boringssl/src/crypto/x509/x_attrib.c",
25791 "third_party/boringssl/src/crypto/x509/x_crl.c",
25792 "third_party/boringssl/src/crypto/x509/x_exten.c",
25793 "third_party/boringssl/src/crypto/x509/x_info.c",
25794 "third_party/boringssl/src/crypto/x509/x_name.c",
25795 "third_party/boringssl/src/crypto/x509/x_pkey.c",
25796 "third_party/boringssl/src/crypto/x509/x_pubkey.c",
25797 "third_party/boringssl/src/crypto/x509/x_req.c",
25798 "third_party/boringssl/src/crypto/x509/x_sig.c",
25799 "third_party/boringssl/src/crypto/x509/x_spki.c",
25800 "third_party/boringssl/src/crypto/x509/x_val.c",
25801 "third_party/boringssl/src/crypto/x509/x_x509.c",
25802 "third_party/boringssl/src/crypto/x509/x_x509a.c",
25803 "third_party/boringssl/src/crypto/x509v3/pcy_cache.c",
25804 "third_party/boringssl/src/crypto/x509v3/pcy_data.c",
25805 "third_party/boringssl/src/crypto/x509v3/pcy_map.c",
25806 "third_party/boringssl/src/crypto/x509v3/pcy_node.c",
25807 "third_party/boringssl/src/crypto/x509v3/pcy_tree.c",
25808 "third_party/boringssl/src/crypto/x509v3/v3_akey.c",
25809 "third_party/boringssl/src/crypto/x509v3/v3_akeya.c",
25810 "third_party/boringssl/src/crypto/x509v3/v3_alt.c",
25811 "third_party/boringssl/src/crypto/x509v3/v3_bcons.c",
25812 "third_party/boringssl/src/crypto/x509v3/v3_bitst.c",
25813 "third_party/boringssl/src/crypto/x509v3/v3_conf.c",
25814 "third_party/boringssl/src/crypto/x509v3/v3_cpols.c",
25815 "third_party/boringssl/src/crypto/x509v3/v3_crld.c",
25816 "third_party/boringssl/src/crypto/x509v3/v3_enum.c",
25817 "third_party/boringssl/src/crypto/x509v3/v3_extku.c",
25818 "third_party/boringssl/src/crypto/x509v3/v3_genn.c",
25819 "third_party/boringssl/src/crypto/x509v3/v3_ia5.c",
25820 "third_party/boringssl/src/crypto/x509v3/v3_info.c",
25821 "third_party/boringssl/src/crypto/x509v3/v3_int.c",
25822 "third_party/boringssl/src/crypto/x509v3/v3_lib.c",
25823 "third_party/boringssl/src/crypto/x509v3/v3_ncons.c",
25824 "third_party/boringssl/src/crypto/x509v3/v3_ocsp.c",
25825 "third_party/boringssl/src/crypto/x509v3/v3_pci.c",
25826 "third_party/boringssl/src/crypto/x509v3/v3_pcia.c",
25827 "third_party/boringssl/src/crypto/x509v3/v3_pcons.c",
25828 "third_party/boringssl/src/crypto/x509v3/v3_pmaps.c",
25829 "third_party/boringssl/src/crypto/x509v3/v3_prn.c",
25830 "third_party/boringssl/src/crypto/x509v3/v3_purp.c",
25831 "third_party/boringssl/src/crypto/x509v3/v3_skey.c",
25832 "third_party/boringssl/src/crypto/x509v3/v3_utl.c",
25833 "third_party/boringssl/src/ssl/bio_ssl.cc",
25834 "third_party/boringssl/src/ssl/d1_both.cc",
25835 "third_party/boringssl/src/ssl/d1_lib.cc",
25836 "third_party/boringssl/src/ssl/d1_pkt.cc",
25837 "third_party/boringssl/src/ssl/d1_srtp.cc",
25838 "third_party/boringssl/src/ssl/dtls_method.cc",
25839 "third_party/boringssl/src/ssl/dtls_record.cc",
25840 "third_party/boringssl/src/ssl/encrypted_client_hello.cc",
25841 "third_party/boringssl/src/ssl/extensions.cc",
25842 "third_party/boringssl/src/ssl/handoff.cc",
25843 "third_party/boringssl/src/ssl/handshake.cc",
25844 "third_party/boringssl/src/ssl/handshake_client.cc",
25845 "third_party/boringssl/src/ssl/handshake_server.cc",
25846 "third_party/boringssl/src/ssl/s3_both.cc",
25847 "third_party/boringssl/src/ssl/s3_lib.cc",
25848 "third_party/boringssl/src/ssl/s3_pkt.cc",
25849 "third_party/boringssl/src/ssl/ssl_aead_ctx.cc",
25850 "third_party/boringssl/src/ssl/ssl_asn1.cc",
25851 "third_party/boringssl/src/ssl/ssl_buffer.cc",
25852 "third_party/boringssl/src/ssl/ssl_cert.cc",
25853 "third_party/boringssl/src/ssl/ssl_cipher.cc",
25854 "third_party/boringssl/src/ssl/ssl_file.cc",
25855 "third_party/boringssl/src/ssl/ssl_key_share.cc",
25856 "third_party/boringssl/src/ssl/ssl_lib.cc",
25857 "third_party/boringssl/src/ssl/ssl_privkey.cc",
25858 "third_party/boringssl/src/ssl/ssl_session.cc",
25859 "third_party/boringssl/src/ssl/ssl_stat.cc",
25860 "third_party/boringssl/src/ssl/ssl_transcript.cc",
25861 "third_party/boringssl/src/ssl/ssl_versions.cc",
25862 "third_party/boringssl/src/ssl/ssl_x509.cc",
25863 "third_party/boringssl/src/ssl/t1_enc.cc",
25864 "third_party/boringssl/src/ssl/tls13_both.cc",
25865 "third_party/boringssl/src/ssl/tls13_client.cc",
25866 "third_party/boringssl/src/ssl/tls13_enc.cc",
25867 "third_party/boringssl/src/ssl/tls13_server.cc",
25868 "third_party/boringssl/src/ssl/tls_method.cc",
25869 "third_party/boringssl/src/ssl/tls_record.cc",
25870 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025871 host_supported: true,
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025872 defaults: [
25873 "cronet_aml_defaults",
25874 ],
25875 cflags: [
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025876 "-DBORINGSSL_ALLOW_CXX_RUNTIME",
25877 "-DBORINGSSL_IMPLEMENTATION",
25878 "-DBORINGSSL_NO_STATIC_INITIALIZER",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090025879 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25880 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025881 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025882 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090025883 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090025884 "-DNVALGRIND",
25885 "-DOFFICIAL_BUILD",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025886 "-DOPENSSL_SMALL",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025887 "-D_GNU_SOURCE",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025888 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025889 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025890 "-fdata-sections",
25891 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090025892 "-fno-asynchronous-unwind-tables",
25893 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025894 "-fvisibility-inlines-hidden",
25895 "-fvisibility=hidden",
25896 "-g1",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025897 ],
25898 local_include_dirs: [
25899 "./",
25900 "buildtools/third_party/libc++/",
25901 "buildtools/third_party/libc++/trunk/include",
25902 "buildtools/third_party/libc++abi/trunk/include",
25903 "third_party/boringssl/src/include/",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025904 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090025905 ldflags: [
25906 "-Wl,--as-needed",
25907 "-Wl,--gc-sections",
25908 "-Wl,--icf=all",
25909 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090025910 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090025911 android_arm: {
25912 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025913 "-DANDROID",
25914 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25915 "-DHAVE_SYS_UIO_H",
25916 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025917 "-fstack-protector",
25918 ],
25919 },
25920 android_arm64: {
25921 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025922 "-DANDROID",
25923 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25924 "-DHAVE_SYS_UIO_H",
25925 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025926 "-fstack-protector",
25927 "-mno-outline",
25928 "-mno-outline-atomics",
25929 ],
25930 },
Motomu Utsumi65501182022-11-18 15:26:35 +090025931 android_x86: {
25932 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025933 "-DANDROID",
25934 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25935 "-DHAVE_SYS_UIO_H",
25936 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025937 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090025938 ],
25939 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090025940 android_x86_64: {
25941 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000025942 "-DANDROID",
25943 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25944 "-DHAVE_SYS_UIO_H",
25945 "-Oz",
25946 "-fstack-protector",
25947 "-msse3",
25948 ],
25949 },
25950 host: {
25951 cflags: [
25952 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
25953 "-DUSE_AURA=1",
25954 "-DUSE_OZONE=1",
25955 "-DUSE_UDEV",
25956 "-D_FILE_OFFSET_BITS=64",
25957 "-D_LARGEFILE64_SOURCE",
25958 "-D_LARGEFILE_SOURCE",
25959 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090025960 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090025961 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090025962 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090025963 },
25964 },
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025965}
25966
25967// GN: //third_party/boringssl:boringssl_asm
Mohannad Farrag7f29d832022-11-23 19:52:41 +000025968cc_object {
Motomu Utsumib568c6d2022-11-14 15:28:22 +090025969 name: "cronet_aml_third_party_boringssl_boringssl_asm",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000025970 defaults: [
25971 "cronet_aml_defaults",
25972 ],
25973 cflags: [
25974 "-DANDROID",
25975 "-DANDROID_NDK_VERSION_ROLL=r23_1",
25976 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
25977 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
25978 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
25979 "-DHAVE_SYS_UIO_H",
25980 "-DNDEBUG",
25981 "-DNO_UNWIND_TABLES",
25982 "-DNVALGRIND",
25983 "-DOFFICIAL_BUILD",
25984 "-D_FORTIFY_SOURCE=2",
25985 "-D_GNU_SOURCE",
25986 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
25987 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
25988 "-D__STDC_CONSTANT_MACROS",
25989 "-D__STDC_FORMAT_MACROS",
25990 "-Oz",
25991 "-fdata-sections",
25992 "-ffunction-sections",
25993 "-fno-asynchronous-unwind-tables",
25994 "-fno-unwind-tables",
25995 "-fvisibility-inlines-hidden",
25996 "-fvisibility=hidden",
25997 "-g1",
25998 ],
25999 local_include_dirs: [
26000 "./",
26001 "buildtools/third_party/libc++/",
26002 "buildtools/third_party/libc++/trunk/include",
26003 "buildtools/third_party/libc++abi/trunk/include",
26004 "third_party/boringssl/src/include/",
26005 ],
26006 cpp_std: "c++17",
26007 target: {
26008 android_arm: {
26009 srcs: [
26010 "third_party/boringssl/linux-arm/crypto/chacha/chacha-armv4.S",
26011 "third_party/boringssl/linux-arm/crypto/fipsmodule/aesv8-armx32.S",
26012 "third_party/boringssl/linux-arm/crypto/fipsmodule/armv4-mont.S",
26013 "third_party/boringssl/linux-arm/crypto/fipsmodule/bsaes-armv7.S",
26014 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghash-armv4.S",
26015 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghashv8-armx32.S",
26016 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha1-armv4-large.S",
26017 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha256-armv4.S",
26018 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha512-armv4.S",
26019 "third_party/boringssl/linux-arm/crypto/fipsmodule/vpaes-armv7.S",
26020 "third_party/boringssl/linux-arm/crypto/test/trampoline-armv4.S",
26021 "third_party/boringssl/src/crypto/curve25519/asm/x25519-asm-arm.S",
26022 "third_party/boringssl/src/crypto/poly1305/poly1305_arm_asm.S",
26023 ],
26024 cflags: [
26025 "-fstack-protector",
26026 ],
26027 },
26028 android_arm64: {
26029 srcs: [
26030 "third_party/boringssl/linux-aarch64/crypto/chacha/chacha-armv8.S",
26031 "third_party/boringssl/linux-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S",
26032 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/aesv8-armx64.S",
26033 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/armv8-mont.S",
26034 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghash-neon-armv8.S",
26035 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghashv8-armx64.S",
26036 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256-armv8-asm.S",
26037 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S",
26038 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha1-armv8.S",
26039 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha256-armv8.S",
26040 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha512-armv8.S",
26041 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/vpaes-armv8.S",
26042 "third_party/boringssl/linux-aarch64/crypto/test/trampoline-armv8.S",
26043 ],
26044 cflags: [
26045 "-fstack-protector",
26046 "-mno-outline",
26047 "-mno-outline-atomics",
26048 ],
26049 },
26050 android_x86: {
26051 srcs: [
26052 "third_party/boringssl/linux-x86/crypto/chacha/chacha-x86.S",
26053 "third_party/boringssl/linux-x86/crypto/fipsmodule/aesni-x86.S",
26054 "third_party/boringssl/linux-x86/crypto/fipsmodule/bn-586.S",
26055 "third_party/boringssl/linux-x86/crypto/fipsmodule/co-586.S",
26056 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-ssse3-x86.S",
26057 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-x86.S",
26058 "third_party/boringssl/linux-x86/crypto/fipsmodule/md5-586.S",
26059 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha1-586.S",
26060 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha256-586.S",
26061 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha512-586.S",
26062 "third_party/boringssl/linux-x86/crypto/fipsmodule/vpaes-x86.S",
26063 "third_party/boringssl/linux-x86/crypto/fipsmodule/x86-mont.S",
26064 "third_party/boringssl/linux-x86/crypto/test/trampoline-x86.S",
26065 ],
26066 cflags: [
26067 "-msse3",
26068 ],
26069 },
26070 android_x86_64: {
26071 srcs: [
26072 "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64.S",
26073 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
26074 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
26075 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
26076 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
26077 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S",
26078 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
26079 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
26080 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
26081 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S",
26082 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
26083 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
26084 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
26085 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
26086 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
26087 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
26088 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
26089 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
26090 "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64.S",
26091 "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S",
26092 ],
26093 cflags: [
26094 "-fstack-protector",
26095 "-msse3",
26096 ],
26097 },
26098 },
26099}
26100
26101// GN: //third_party/boringssl:boringssl_asm__testing
26102cc_object {
26103 name: "cronet_aml_third_party_boringssl_boringssl_asm__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026104 host_supported: true,
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026105 defaults: [
26106 "cronet_aml_defaults",
26107 ],
26108 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026109 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26110 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026111 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026112 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090026113 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026114 "-DNVALGRIND",
26115 "-DOFFICIAL_BUILD",
26116 "-D_FORTIFY_SOURCE=2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026117 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026118 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026119 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26120 "-D__STDC_CONSTANT_MACROS",
26121 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026122 "-fdata-sections",
26123 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090026124 "-fno-asynchronous-unwind-tables",
26125 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026126 "-fvisibility-inlines-hidden",
26127 "-fvisibility=hidden",
26128 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026129 ],
26130 local_include_dirs: [
26131 "./",
26132 "buildtools/third_party/libc++/",
26133 "buildtools/third_party/libc++/trunk/include",
26134 "buildtools/third_party/libc++abi/trunk/include",
26135 "third_party/boringssl/src/include/",
26136 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090026137 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026138 android_arm: {
26139 srcs: [
26140 "third_party/boringssl/linux-arm/crypto/chacha/chacha-armv4.S",
26141 "third_party/boringssl/linux-arm/crypto/fipsmodule/aesv8-armx32.S",
26142 "third_party/boringssl/linux-arm/crypto/fipsmodule/armv4-mont.S",
26143 "third_party/boringssl/linux-arm/crypto/fipsmodule/bsaes-armv7.S",
26144 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghash-armv4.S",
26145 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghashv8-armx32.S",
26146 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha1-armv4-large.S",
26147 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha256-armv4.S",
26148 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha512-armv4.S",
26149 "third_party/boringssl/linux-arm/crypto/fipsmodule/vpaes-armv7.S",
26150 "third_party/boringssl/linux-arm/crypto/test/trampoline-armv4.S",
26151 "third_party/boringssl/src/crypto/curve25519/asm/x25519-asm-arm.S",
26152 "third_party/boringssl/src/crypto/poly1305/poly1305_arm_asm.S",
26153 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +090026154 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026155 "-DANDROID",
26156 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26157 "-DHAVE_SYS_UIO_H",
26158 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026159 "-fstack-protector",
26160 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026161 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090026162 android_arm64: {
26163 srcs: [
26164 "third_party/boringssl/linux-aarch64/crypto/chacha/chacha-armv8.S",
26165 "third_party/boringssl/linux-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S",
26166 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/aesv8-armx64.S",
26167 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/armv8-mont.S",
26168 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghash-neon-armv8.S",
26169 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghashv8-armx64.S",
26170 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256-armv8-asm.S",
26171 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S",
26172 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha1-armv8.S",
26173 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha256-armv8.S",
26174 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha512-armv8.S",
26175 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/vpaes-armv8.S",
26176 "third_party/boringssl/linux-aarch64/crypto/test/trampoline-armv8.S",
26177 ],
Motomu Utsumicac340f2023-02-09 16:11:34 +090026178 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026179 "-DANDROID",
26180 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26181 "-DHAVE_SYS_UIO_H",
26182 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026183 "-fstack-protector",
26184 "-mno-outline",
26185 "-mno-outline-atomics",
26186 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090026187 },
Motomu Utsumi65501182022-11-18 15:26:35 +090026188 android_x86: {
26189 srcs: [
26190 "third_party/boringssl/linux-x86/crypto/chacha/chacha-x86.S",
26191 "third_party/boringssl/linux-x86/crypto/fipsmodule/aesni-x86.S",
26192 "third_party/boringssl/linux-x86/crypto/fipsmodule/bn-586.S",
26193 "third_party/boringssl/linux-x86/crypto/fipsmodule/co-586.S",
26194 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-ssse3-x86.S",
26195 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-x86.S",
26196 "third_party/boringssl/linux-x86/crypto/fipsmodule/md5-586.S",
26197 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha1-586.S",
26198 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha256-586.S",
26199 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha512-586.S",
26200 "third_party/boringssl/linux-x86/crypto/fipsmodule/vpaes-x86.S",
26201 "third_party/boringssl/linux-x86/crypto/fipsmodule/x86-mont.S",
26202 "third_party/boringssl/linux-x86/crypto/test/trampoline-x86.S",
26203 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026204 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026205 "-DANDROID",
26206 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26207 "-DHAVE_SYS_UIO_H",
26208 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026209 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026210 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090026211 },
26212 android_x86_64: {
26213 srcs: [
26214 "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64.S",
26215 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
26216 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
26217 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
26218 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
26219 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S",
26220 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
26221 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
26222 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
26223 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S",
26224 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
26225 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
26226 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
26227 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
26228 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
26229 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
26230 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
26231 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
26232 "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64.S",
26233 "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S",
26234 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026235 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026236 "-DANDROID",
26237 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26238 "-DHAVE_SYS_UIO_H",
26239 "-Oz",
26240 "-fstack-protector",
26241 "-msse3",
26242 ],
26243 },
26244 host: {
26245 srcs: [
26246 "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64.S",
26247 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
26248 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
26249 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
26250 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
26251 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S",
26252 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
26253 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
26254 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
26255 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S",
26256 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
26257 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
26258 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
26259 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
26260 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
26261 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
26262 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
26263 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
26264 "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64.S",
26265 "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S",
26266 ],
26267 cflags: [
26268 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
26269 "-DUSE_AURA=1",
26270 "-DUSE_OZONE=1",
26271 "-DUSE_UDEV",
26272 "-D_FILE_OFFSET_BITS=64",
26273 "-D_LARGEFILE64_SOURCE",
26274 "-D_LARGEFILE_SOURCE",
26275 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026276 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026277 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026278 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090026279 },
26280 },
Motomu Utsumib568c6d2022-11-14 15:28:22 +090026281}
26282
Patrick Rohrcb035942022-11-01 12:12:52 -070026283// GN: //third_party/brotli:common
26284cc_library_static {
26285 name: "cronet_aml_third_party_brotli_common",
26286 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070026287 "third_party/brotli/common/constants.c",
26288 "third_party/brotli/common/context.c",
26289 "third_party/brotli/common/dictionary.c",
26290 "third_party/brotli/common/platform.c",
26291 "third_party/brotli/common/shared_dictionary.c",
26292 "third_party/brotli/common/transform.c",
26293 ],
26294 defaults: [
26295 "cronet_aml_defaults",
26296 ],
26297 cflags: [
26298 "-DANDROID",
26299 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026300 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26301 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026302 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070026303 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026304 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090026305 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026306 "-DNVALGRIND",
26307 "-DOFFICIAL_BUILD",
26308 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070026309 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070026310 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070026311 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26312 "-D__STDC_CONSTANT_MACROS",
26313 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026314 "-Oz",
26315 "-fdata-sections",
26316 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090026317 "-fno-asynchronous-unwind-tables",
26318 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026319 "-fvisibility-inlines-hidden",
26320 "-fvisibility=hidden",
26321 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070026322 ],
26323 local_include_dirs: [
26324 "./",
26325 "buildtools/third_party/libc++/",
26326 "buildtools/third_party/libc++/trunk/include",
26327 "buildtools/third_party/libc++abi/trunk/include",
26328 "third_party/brotli/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070026329 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026330 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090026331 ldflags: [
26332 "-Wl,--as-needed",
26333 "-Wl,--gc-sections",
26334 "-Wl,--icf=all",
26335 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026336 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090026337 android_arm: {
26338 cflags: [
26339 "-fstack-protector",
26340 ],
26341 },
26342 android_arm64: {
26343 cflags: [
26344 "-fstack-protector",
26345 "-mno-outline",
26346 "-mno-outline-atomics",
26347 ],
26348 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026349 android_x86: {
26350 cflags: [
26351 "-msse3",
26352 ],
26353 },
26354 android_x86_64: {
26355 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090026356 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026357 "-msse3",
26358 ],
26359 },
26360 },
Patrick Rohrcb035942022-11-01 12:12:52 -070026361}
26362
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026363// GN: //third_party/brotli:common__testing
26364cc_library_static {
26365 name: "cronet_aml_third_party_brotli_common__testing",
26366 srcs: [
26367 "third_party/brotli/common/constants.c",
26368 "third_party/brotli/common/context.c",
26369 "third_party/brotli/common/dictionary.c",
26370 "third_party/brotli/common/platform.c",
26371 "third_party/brotli/common/shared_dictionary.c",
26372 "third_party/brotli/common/transform.c",
26373 ],
26374 defaults: [
26375 "cronet_aml_defaults",
26376 ],
26377 cflags: [
26378 "-DANDROID",
26379 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26380 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26381 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26382 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26383 "-DHAVE_SYS_UIO_H",
26384 "-DNDEBUG",
26385 "-DNO_UNWIND_TABLES",
26386 "-DNVALGRIND",
26387 "-DOFFICIAL_BUILD",
26388 "-D_FORTIFY_SOURCE=2",
26389 "-D_GNU_SOURCE",
26390 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26391 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26392 "-D__STDC_CONSTANT_MACROS",
26393 "-D__STDC_FORMAT_MACROS",
26394 "-Oz",
26395 "-fdata-sections",
26396 "-ffunction-sections",
26397 "-fno-asynchronous-unwind-tables",
26398 "-fno-unwind-tables",
26399 "-fvisibility-inlines-hidden",
26400 "-fvisibility=hidden",
26401 "-g1",
26402 ],
26403 local_include_dirs: [
26404 "./",
26405 "buildtools/third_party/libc++/",
26406 "buildtools/third_party/libc++/trunk/include",
26407 "buildtools/third_party/libc++abi/trunk/include",
26408 "third_party/brotli/include/",
26409 ],
26410 cpp_std: "c++17",
26411 ldflags: [
26412 "-Wl,--as-needed",
26413 "-Wl,--gc-sections",
26414 "-Wl,--icf=all",
26415 ],
26416 target: {
26417 android_arm: {
26418 cflags: [
26419 "-fstack-protector",
26420 ],
26421 },
26422 android_arm64: {
26423 cflags: [
26424 "-fstack-protector",
26425 "-mno-outline",
26426 "-mno-outline-atomics",
26427 ],
26428 },
26429 android_x86: {
26430 cflags: [
26431 "-msse3",
26432 ],
26433 },
26434 android_x86_64: {
26435 cflags: [
26436 "-fstack-protector",
26437 "-msse3",
26438 ],
26439 },
26440 },
26441}
26442
Patrick Rohrcb035942022-11-01 12:12:52 -070026443// GN: //third_party/brotli:dec
26444cc_library_static {
26445 name: "cronet_aml_third_party_brotli_dec",
26446 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070026447 "third_party/brotli/dec/bit_reader.c",
26448 "third_party/brotli/dec/decode.c",
26449 "third_party/brotli/dec/huffman.c",
26450 "third_party/brotli/dec/state.c",
26451 ],
26452 static_libs: [
26453 "cronet_aml_third_party_brotli_common",
26454 ],
26455 defaults: [
26456 "cronet_aml_defaults",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026457 ],
26458 cflags: [
26459 "-DANDROID",
26460 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026461 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26462 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026463 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026464 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026465 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090026466 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090026467 "-DNVALGRIND",
26468 "-DOFFICIAL_BUILD",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026469 "-D_GNU_SOURCE",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026470 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026471 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026472 "-O2",
26473 "-fdata-sections",
26474 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090026475 "-fno-asynchronous-unwind-tables",
26476 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090026477 "-fvisibility-inlines-hidden",
26478 "-fvisibility=hidden",
26479 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026480 ],
26481 local_include_dirs: [
26482 "./",
26483 "buildtools/third_party/libc++/",
26484 "buildtools/third_party/libc++/trunk/include",
26485 "buildtools/third_party/libc++abi/trunk/include",
26486 "third_party/brotli/include/",
26487 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090026488 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090026489 ldflags: [
26490 "-Wl,--as-needed",
26491 "-Wl,--gc-sections",
26492 "-Wl,--icf=all",
26493 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026494 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090026495 android_arm: {
26496 cflags: [
26497 "-fstack-protector",
26498 ],
26499 },
26500 android_arm64: {
26501 cflags: [
26502 "-fstack-protector",
26503 "-mno-outline",
26504 "-mno-outline-atomics",
26505 ],
26506 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026507 android_x86: {
26508 cflags: [
26509 "-msse3",
26510 ],
26511 },
26512 android_x86_64: {
26513 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090026514 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090026515 "-msse3",
26516 ],
26517 },
26518 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000026519}
26520
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026521// GN: //third_party/brotli:dec__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026522cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026523 name: "cronet_aml_third_party_brotli_dec__testing",
26524 srcs: [
26525 "third_party/brotli/dec/bit_reader.c",
26526 "third_party/brotli/dec/decode.c",
26527 "third_party/brotli/dec/huffman.c",
26528 "third_party/brotli/dec/state.c",
26529 ],
26530 static_libs: [
26531 "cronet_aml_third_party_brotli_common__testing",
26532 ],
26533 defaults: [
26534 "cronet_aml_defaults",
26535 ],
26536 cflags: [
26537 "-DANDROID",
26538 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26539 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26540 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26541 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26542 "-DHAVE_SYS_UIO_H",
26543 "-DNDEBUG",
26544 "-DNO_UNWIND_TABLES",
26545 "-DNVALGRIND",
26546 "-DOFFICIAL_BUILD",
26547 "-D_GNU_SOURCE",
26548 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26549 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26550 "-O2",
26551 "-fdata-sections",
26552 "-ffunction-sections",
26553 "-fno-asynchronous-unwind-tables",
26554 "-fno-unwind-tables",
26555 "-fvisibility-inlines-hidden",
26556 "-fvisibility=hidden",
26557 "-g1",
26558 ],
26559 local_include_dirs: [
26560 "./",
26561 "buildtools/third_party/libc++/",
26562 "buildtools/third_party/libc++/trunk/include",
26563 "buildtools/third_party/libc++abi/trunk/include",
26564 "third_party/brotli/include/",
26565 ],
26566 cpp_std: "c++17",
26567 ldflags: [
26568 "-Wl,--as-needed",
26569 "-Wl,--gc-sections",
26570 "-Wl,--icf=all",
26571 ],
26572 target: {
26573 android_arm: {
26574 cflags: [
26575 "-fstack-protector",
26576 ],
26577 },
26578 android_arm64: {
26579 cflags: [
26580 "-fstack-protector",
26581 "-mno-outline",
26582 "-mno-outline-atomics",
26583 ],
26584 },
26585 android_x86: {
26586 cflags: [
26587 "-msse3",
26588 ],
26589 },
26590 android_x86_64: {
26591 cflags: [
26592 "-fstack-protector",
26593 "-msse3",
26594 ],
26595 },
26596 },
26597}
26598
26599// GN: //third_party/ced:ced__testing
26600cc_library_static {
26601 name: "cronet_aml_third_party_ced_ced__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026602 srcs: [
26603 "third_party/ced/src/compact_enc_det/compact_enc_det.cc",
26604 "third_party/ced/src/compact_enc_det/compact_enc_det_hint_code.cc",
26605 "third_party/ced/src/util/encodings/encodings.cc",
26606 "third_party/ced/src/util/languages/languages.cc",
26607 ],
26608 defaults: [
26609 "cronet_aml_defaults",
26610 ],
26611 cflags: [
26612 "-DANDROID",
26613 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26614 "-DCOMPILER_GCC",
26615 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26616 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26617 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26618 "-DHAVE_SYS_UIO_H",
26619 "-DHTML5_MODE",
26620 "-DNDEBUG",
26621 "-DNO_UNWIND_TABLES",
26622 "-DNVALGRIND",
26623 "-DOFFICIAL_BUILD",
26624 "-D_GNU_SOURCE",
26625 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26626 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26627 "-Oz",
26628 "-fdata-sections",
26629 "-ffunction-sections",
26630 "-fno-asynchronous-unwind-tables",
26631 "-fno-unwind-tables",
26632 "-fvisibility-inlines-hidden",
26633 "-fvisibility=hidden",
26634 "-g1",
26635 ],
26636 local_include_dirs: [
26637 "./",
26638 "buildtools/third_party/libc++/",
26639 "buildtools/third_party/libc++/trunk/include",
26640 "buildtools/third_party/libc++abi/trunk/include",
26641 "third_party/ced/src/",
26642 ],
26643 cpp_std: "c++17",
26644 ldflags: [
26645 "-Wl,--as-needed",
26646 "-Wl,--gc-sections",
26647 "-Wl,--icf=all",
26648 ],
26649 target: {
26650 android_arm: {
26651 cflags: [
26652 "-fstack-protector",
26653 ],
26654 },
26655 android_arm64: {
26656 cflags: [
26657 "-fstack-protector",
26658 "-mno-outline",
26659 "-mno-outline-atomics",
26660 ],
26661 },
26662 android_x86: {
26663 cflags: [
26664 "-msse3",
26665 ],
26666 },
26667 android_x86_64: {
26668 cflags: [
26669 "-fstack-protector",
26670 "-msse3",
26671 ],
26672 },
26673 },
26674}
26675
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026676// GN: //third_party/googletest:gmock__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026677cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026678 name: "cronet_aml_third_party_googletest_gmock__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026679 srcs: [
26680 "third_party/googletest/src/googlemock/src/gmock-cardinalities.cc",
26681 "third_party/googletest/src/googlemock/src/gmock-internal-utils.cc",
26682 "third_party/googletest/src/googlemock/src/gmock-matchers.cc",
26683 "third_party/googletest/src/googlemock/src/gmock-spec-builders.cc",
26684 "third_party/googletest/src/googlemock/src/gmock.cc",
26685 ],
26686 shared_libs: [
26687 "libandroid",
26688 "liblog",
26689 ],
26690 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026691 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
26692 "cronet_aml_base_base__testing",
26693 "cronet_aml_base_base_static__testing",
26694 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
26695 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
26696 "cronet_aml_third_party_boringssl_boringssl__testing",
26697 "cronet_aml_third_party_icu_icui18n__testing",
26698 "cronet_aml_third_party_icu_icuuc_private__testing",
26699 "cronet_aml_third_party_libevent_libevent__testing",
26700 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026701 ],
26702 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026703 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026704 ],
26705 defaults: [
26706 "cronet_aml_defaults",
26707 ],
26708 cflags: [
26709 "-DANDROID",
26710 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26711 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26712 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26713 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26714 "-DGTEST_API_=",
26715 "-DGTEST_HAS_ABSL=1",
26716 "-DGTEST_HAS_POSIX_RE=0",
26717 "-DGTEST_HAS_TR1_TUPLE=0",
26718 "-DGTEST_LANG_CXX11=1",
26719 "-DHAVE_SYS_UIO_H",
26720 "-DNDEBUG",
26721 "-DNO_UNWIND_TABLES",
26722 "-DNVALGRIND",
26723 "-DOFFICIAL_BUILD",
26724 "-D_FORTIFY_SOURCE=2",
26725 "-D_GNU_SOURCE",
26726 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26727 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26728 "-D__STDC_CONSTANT_MACROS",
26729 "-D__STDC_FORMAT_MACROS",
26730 "-Oz",
26731 "-fdata-sections",
26732 "-ffunction-sections",
26733 "-fno-asynchronous-unwind-tables",
26734 "-fno-unwind-tables",
26735 "-fvisibility-inlines-hidden",
26736 "-fvisibility=hidden",
26737 "-g1",
26738 ],
26739 local_include_dirs: [
26740 "./",
26741 "buildtools/third_party/libc++/",
26742 "buildtools/third_party/libc++/trunk/include",
26743 "buildtools/third_party/libc++abi/trunk/include",
26744 "third_party/abseil-cpp/",
26745 "third_party/googletest/custom/",
26746 "third_party/googletest/src/googlemock/include/",
26747 "third_party/googletest/src/googletest/include/",
26748 ],
26749 cpp_std: "c++17",
26750 target: {
26751 android_arm: {
26752 cflags: [
26753 "-fstack-protector",
26754 ],
26755 },
26756 android_arm64: {
26757 cflags: [
26758 "-fstack-protector",
26759 "-mno-outline",
26760 "-mno-outline-atomics",
26761 ],
26762 },
26763 android_x86: {
26764 cflags: [
26765 "-msse3",
26766 ],
26767 },
26768 android_x86_64: {
26769 cflags: [
26770 "-fstack-protector",
26771 "-msse3",
26772 ],
26773 },
26774 },
26775}
26776
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026777// GN: //third_party/googletest:gtest__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026778cc_object {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026779 name: "cronet_aml_third_party_googletest_gtest__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026780 srcs: [
26781 "third_party/googletest/custom/gtest/internal/custom/chrome_custom_temp_dir.cc",
26782 "third_party/googletest/custom/gtest/internal/custom/gtest_port_wrapper.cc",
26783 "third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc",
26784 "third_party/googletest/src/googletest/src/gtest-assertion-result.cc",
26785 "third_party/googletest/src/googletest/src/gtest-death-test.cc",
26786 "third_party/googletest/src/googletest/src/gtest-filepath.cc",
26787 "third_party/googletest/src/googletest/src/gtest-matchers.cc",
26788 "third_party/googletest/src/googletest/src/gtest-printers.cc",
26789 "third_party/googletest/src/googletest/src/gtest-test-part.cc",
26790 "third_party/googletest/src/googletest/src/gtest-typed-test.cc",
26791 "third_party/googletest/src/googletest/src/gtest.cc",
26792 ],
26793 shared_libs: [
26794 "libandroid",
26795 "liblog",
26796 ],
26797 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026798 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
26799 "cronet_aml_base_base__testing",
26800 "cronet_aml_base_base_static__testing",
26801 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
26802 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
26803 "cronet_aml_third_party_boringssl_boringssl__testing",
26804 "cronet_aml_third_party_icu_icui18n__testing",
26805 "cronet_aml_third_party_icu_icuuc_private__testing",
26806 "cronet_aml_third_party_libevent_libevent__testing",
26807 "cronet_aml_third_party_modp_b64_modp_b64__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026808 ],
26809 generated_headers: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000026810 "cronet_aml_build_chromeos_buildflags__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000026811 ],
26812 defaults: [
26813 "cronet_aml_defaults",
26814 ],
26815 cflags: [
26816 "-DANDROID",
26817 "-DANDROID_NDK_VERSION_ROLL=r23_1",
26818 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
26819 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
26820 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
26821 "-DGTEST_API_=",
26822 "-DGTEST_HAS_ABSL=1",
26823 "-DGTEST_HAS_POSIX_RE=0",
26824 "-DGTEST_HAS_TR1_TUPLE=0",
26825 "-DGTEST_LANG_CXX11=1",
26826 "-DHAVE_SYS_UIO_H",
26827 "-DNDEBUG",
26828 "-DNO_UNWIND_TABLES",
26829 "-DNVALGRIND",
26830 "-DOFFICIAL_BUILD",
26831 "-D_GNU_SOURCE",
26832 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
26833 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
26834 "-Oz",
26835 "-fdata-sections",
26836 "-ffunction-sections",
26837 "-fno-asynchronous-unwind-tables",
26838 "-fno-unwind-tables",
26839 "-fvisibility-inlines-hidden",
26840 "-fvisibility=hidden",
26841 "-g1",
26842 ],
26843 local_include_dirs: [
26844 "./",
26845 "buildtools/third_party/libc++/",
26846 "buildtools/third_party/libc++/trunk/include",
26847 "buildtools/third_party/libc++abi/trunk/include",
26848 "third_party/abseil-cpp/",
26849 "third_party/boringssl/src/include/",
26850 "third_party/googletest/custom/",
26851 "third_party/googletest/src/googletest/",
26852 "third_party/googletest/src/googletest/include/",
26853 ],
26854 cpp_std: "c++17",
26855 target: {
26856 android_arm: {
26857 cflags: [
26858 "-fstack-protector",
26859 ],
26860 },
26861 android_arm64: {
26862 cflags: [
26863 "-fstack-protector",
26864 "-mno-outline",
26865 "-mno-outline-atomics",
26866 ],
26867 },
26868 android_x86: {
26869 cflags: [
26870 "-msse3",
26871 ],
26872 },
26873 android_x86_64: {
26874 cflags: [
26875 "-fstack-protector",
26876 "-msse3",
26877 ],
26878 },
26879 },
26880}
26881
Patrick Rohrcc377df2022-10-28 09:27:15 -070026882// GN: //third_party/icu:icui18n
26883cc_library_static {
26884 name: "cronet_aml_third_party_icu_icui18n",
Patrick Rohr971e03c2022-11-10 19:09:46 -080026885 srcs: [
26886 "third_party/icu/source/i18n/alphaindex.cpp",
26887 "third_party/icu/source/i18n/anytrans.cpp",
26888 "third_party/icu/source/i18n/astro.cpp",
26889 "third_party/icu/source/i18n/basictz.cpp",
26890 "third_party/icu/source/i18n/bocsu.cpp",
26891 "third_party/icu/source/i18n/brktrans.cpp",
26892 "third_party/icu/source/i18n/buddhcal.cpp",
26893 "third_party/icu/source/i18n/calendar.cpp",
26894 "third_party/icu/source/i18n/casetrn.cpp",
26895 "third_party/icu/source/i18n/cecal.cpp",
26896 "third_party/icu/source/i18n/chnsecal.cpp",
26897 "third_party/icu/source/i18n/choicfmt.cpp",
26898 "third_party/icu/source/i18n/coleitr.cpp",
26899 "third_party/icu/source/i18n/coll.cpp",
26900 "third_party/icu/source/i18n/collation.cpp",
26901 "third_party/icu/source/i18n/collationbuilder.cpp",
26902 "third_party/icu/source/i18n/collationcompare.cpp",
26903 "third_party/icu/source/i18n/collationdata.cpp",
26904 "third_party/icu/source/i18n/collationdatabuilder.cpp",
26905 "third_party/icu/source/i18n/collationdatareader.cpp",
26906 "third_party/icu/source/i18n/collationdatawriter.cpp",
26907 "third_party/icu/source/i18n/collationfastlatin.cpp",
26908 "third_party/icu/source/i18n/collationfastlatinbuilder.cpp",
26909 "third_party/icu/source/i18n/collationfcd.cpp",
26910 "third_party/icu/source/i18n/collationiterator.cpp",
26911 "third_party/icu/source/i18n/collationkeys.cpp",
26912 "third_party/icu/source/i18n/collationroot.cpp",
26913 "third_party/icu/source/i18n/collationrootelements.cpp",
26914 "third_party/icu/source/i18n/collationruleparser.cpp",
26915 "third_party/icu/source/i18n/collationsets.cpp",
26916 "third_party/icu/source/i18n/collationsettings.cpp",
26917 "third_party/icu/source/i18n/collationtailoring.cpp",
26918 "third_party/icu/source/i18n/collationweights.cpp",
26919 "third_party/icu/source/i18n/compactdecimalformat.cpp",
26920 "third_party/icu/source/i18n/coptccal.cpp",
26921 "third_party/icu/source/i18n/cpdtrans.cpp",
26922 "third_party/icu/source/i18n/csdetect.cpp",
26923 "third_party/icu/source/i18n/csmatch.cpp",
26924 "third_party/icu/source/i18n/csr2022.cpp",
26925 "third_party/icu/source/i18n/csrecog.cpp",
26926 "third_party/icu/source/i18n/csrmbcs.cpp",
26927 "third_party/icu/source/i18n/csrsbcs.cpp",
26928 "third_party/icu/source/i18n/csrucode.cpp",
26929 "third_party/icu/source/i18n/csrutf8.cpp",
26930 "third_party/icu/source/i18n/curramt.cpp",
26931 "third_party/icu/source/i18n/currfmt.cpp",
26932 "third_party/icu/source/i18n/currpinf.cpp",
26933 "third_party/icu/source/i18n/currunit.cpp",
26934 "third_party/icu/source/i18n/dangical.cpp",
26935 "third_party/icu/source/i18n/datefmt.cpp",
26936 "third_party/icu/source/i18n/dayperiodrules.cpp",
26937 "third_party/icu/source/i18n/dcfmtsym.cpp",
26938 "third_party/icu/source/i18n/decContext.cpp",
26939 "third_party/icu/source/i18n/decNumber.cpp",
26940 "third_party/icu/source/i18n/decimfmt.cpp",
26941 "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
26942 "third_party/icu/source/i18n/double-conversion-bignum.cpp",
26943 "third_party/icu/source/i18n/double-conversion-cached-powers.cpp",
26944 "third_party/icu/source/i18n/double-conversion-double-to-string.cpp",
26945 "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp",
26946 "third_party/icu/source/i18n/double-conversion-string-to-double.cpp",
26947 "third_party/icu/source/i18n/double-conversion-strtod.cpp",
26948 "third_party/icu/source/i18n/dtfmtsym.cpp",
26949 "third_party/icu/source/i18n/dtitvfmt.cpp",
26950 "third_party/icu/source/i18n/dtitvinf.cpp",
26951 "third_party/icu/source/i18n/dtptngen.cpp",
26952 "third_party/icu/source/i18n/dtrule.cpp",
26953 "third_party/icu/source/i18n/erarules.cpp",
26954 "third_party/icu/source/i18n/esctrn.cpp",
26955 "third_party/icu/source/i18n/ethpccal.cpp",
26956 "third_party/icu/source/i18n/fmtable.cpp",
26957 "third_party/icu/source/i18n/fmtable_cnv.cpp",
26958 "third_party/icu/source/i18n/format.cpp",
26959 "third_party/icu/source/i18n/formatted_string_builder.cpp",
26960 "third_party/icu/source/i18n/formattedval_iterimpl.cpp",
26961 "third_party/icu/source/i18n/formattedval_sbimpl.cpp",
26962 "third_party/icu/source/i18n/formattedvalue.cpp",
26963 "third_party/icu/source/i18n/fphdlimp.cpp",
26964 "third_party/icu/source/i18n/fpositer.cpp",
26965 "third_party/icu/source/i18n/funcrepl.cpp",
26966 "third_party/icu/source/i18n/gender.cpp",
26967 "third_party/icu/source/i18n/gregocal.cpp",
26968 "third_party/icu/source/i18n/gregoimp.cpp",
26969 "third_party/icu/source/i18n/hebrwcal.cpp",
26970 "third_party/icu/source/i18n/indiancal.cpp",
26971 "third_party/icu/source/i18n/inputext.cpp",
26972 "third_party/icu/source/i18n/islamcal.cpp",
26973 "third_party/icu/source/i18n/japancal.cpp",
26974 "third_party/icu/source/i18n/listformatter.cpp",
26975 "third_party/icu/source/i18n/measfmt.cpp",
26976 "third_party/icu/source/i18n/measunit.cpp",
26977 "third_party/icu/source/i18n/measunit_extra.cpp",
26978 "third_party/icu/source/i18n/measure.cpp",
26979 "third_party/icu/source/i18n/msgfmt.cpp",
26980 "third_party/icu/source/i18n/name2uni.cpp",
26981 "third_party/icu/source/i18n/nfrs.cpp",
26982 "third_party/icu/source/i18n/nfrule.cpp",
26983 "third_party/icu/source/i18n/nfsubs.cpp",
26984 "third_party/icu/source/i18n/nortrans.cpp",
26985 "third_party/icu/source/i18n/nultrans.cpp",
26986 "third_party/icu/source/i18n/number_affixutils.cpp",
26987 "third_party/icu/source/i18n/number_asformat.cpp",
26988 "third_party/icu/source/i18n/number_capi.cpp",
26989 "third_party/icu/source/i18n/number_compact.cpp",
26990 "third_party/icu/source/i18n/number_currencysymbols.cpp",
26991 "third_party/icu/source/i18n/number_decimalquantity.cpp",
26992 "third_party/icu/source/i18n/number_decimfmtprops.cpp",
26993 "third_party/icu/source/i18n/number_fluent.cpp",
26994 "third_party/icu/source/i18n/number_formatimpl.cpp",
26995 "third_party/icu/source/i18n/number_grouping.cpp",
26996 "third_party/icu/source/i18n/number_integerwidth.cpp",
26997 "third_party/icu/source/i18n/number_longnames.cpp",
26998 "third_party/icu/source/i18n/number_mapper.cpp",
26999 "third_party/icu/source/i18n/number_modifiers.cpp",
27000 "third_party/icu/source/i18n/number_multiplier.cpp",
27001 "third_party/icu/source/i18n/number_notation.cpp",
27002 "third_party/icu/source/i18n/number_output.cpp",
27003 "third_party/icu/source/i18n/number_padding.cpp",
27004 "third_party/icu/source/i18n/number_patternmodifier.cpp",
27005 "third_party/icu/source/i18n/number_patternstring.cpp",
27006 "third_party/icu/source/i18n/number_rounding.cpp",
27007 "third_party/icu/source/i18n/number_scientific.cpp",
27008 "third_party/icu/source/i18n/number_skeletons.cpp",
27009 "third_party/icu/source/i18n/number_symbolswrapper.cpp",
27010 "third_party/icu/source/i18n/number_usageprefs.cpp",
27011 "third_party/icu/source/i18n/number_utils.cpp",
27012 "third_party/icu/source/i18n/numfmt.cpp",
27013 "third_party/icu/source/i18n/numparse_affixes.cpp",
27014 "third_party/icu/source/i18n/numparse_compositions.cpp",
27015 "third_party/icu/source/i18n/numparse_currency.cpp",
27016 "third_party/icu/source/i18n/numparse_decimal.cpp",
27017 "third_party/icu/source/i18n/numparse_impl.cpp",
27018 "third_party/icu/source/i18n/numparse_parsednumber.cpp",
27019 "third_party/icu/source/i18n/numparse_scientific.cpp",
27020 "third_party/icu/source/i18n/numparse_symbols.cpp",
27021 "third_party/icu/source/i18n/numparse_validators.cpp",
27022 "third_party/icu/source/i18n/numrange_capi.cpp",
27023 "third_party/icu/source/i18n/numrange_fluent.cpp",
27024 "third_party/icu/source/i18n/numrange_impl.cpp",
27025 "third_party/icu/source/i18n/numsys.cpp",
27026 "third_party/icu/source/i18n/olsontz.cpp",
27027 "third_party/icu/source/i18n/persncal.cpp",
27028 "third_party/icu/source/i18n/pluralranges.cpp",
27029 "third_party/icu/source/i18n/plurfmt.cpp",
27030 "third_party/icu/source/i18n/plurrule.cpp",
27031 "third_party/icu/source/i18n/quant.cpp",
27032 "third_party/icu/source/i18n/quantityformatter.cpp",
27033 "third_party/icu/source/i18n/rbnf.cpp",
27034 "third_party/icu/source/i18n/rbt.cpp",
27035 "third_party/icu/source/i18n/rbt_data.cpp",
27036 "third_party/icu/source/i18n/rbt_pars.cpp",
27037 "third_party/icu/source/i18n/rbt_rule.cpp",
27038 "third_party/icu/source/i18n/rbt_set.cpp",
27039 "third_party/icu/source/i18n/rbtz.cpp",
27040 "third_party/icu/source/i18n/regexcmp.cpp",
27041 "third_party/icu/source/i18n/regeximp.cpp",
27042 "third_party/icu/source/i18n/regexst.cpp",
27043 "third_party/icu/source/i18n/regextxt.cpp",
27044 "third_party/icu/source/i18n/region.cpp",
27045 "third_party/icu/source/i18n/reldatefmt.cpp",
27046 "third_party/icu/source/i18n/reldtfmt.cpp",
27047 "third_party/icu/source/i18n/rematch.cpp",
27048 "third_party/icu/source/i18n/remtrans.cpp",
27049 "third_party/icu/source/i18n/repattrn.cpp",
27050 "third_party/icu/source/i18n/rulebasedcollator.cpp",
27051 "third_party/icu/source/i18n/scientificnumberformatter.cpp",
27052 "third_party/icu/source/i18n/scriptset.cpp",
27053 "third_party/icu/source/i18n/search.cpp",
27054 "third_party/icu/source/i18n/selfmt.cpp",
27055 "third_party/icu/source/i18n/sharedbreakiterator.cpp",
27056 "third_party/icu/source/i18n/simpletz.cpp",
27057 "third_party/icu/source/i18n/smpdtfmt.cpp",
27058 "third_party/icu/source/i18n/smpdtfst.cpp",
27059 "third_party/icu/source/i18n/sortkey.cpp",
27060 "third_party/icu/source/i18n/standardplural.cpp",
27061 "third_party/icu/source/i18n/string_segment.cpp",
27062 "third_party/icu/source/i18n/strmatch.cpp",
27063 "third_party/icu/source/i18n/strrepl.cpp",
27064 "third_party/icu/source/i18n/stsearch.cpp",
27065 "third_party/icu/source/i18n/taiwncal.cpp",
27066 "third_party/icu/source/i18n/timezone.cpp",
27067 "third_party/icu/source/i18n/titletrn.cpp",
27068 "third_party/icu/source/i18n/tmunit.cpp",
27069 "third_party/icu/source/i18n/tmutamt.cpp",
27070 "third_party/icu/source/i18n/tmutfmt.cpp",
27071 "third_party/icu/source/i18n/tolowtrn.cpp",
27072 "third_party/icu/source/i18n/toupptrn.cpp",
27073 "third_party/icu/source/i18n/translit.cpp",
27074 "third_party/icu/source/i18n/transreg.cpp",
27075 "third_party/icu/source/i18n/tridpars.cpp",
27076 "third_party/icu/source/i18n/tzfmt.cpp",
27077 "third_party/icu/source/i18n/tzgnames.cpp",
27078 "third_party/icu/source/i18n/tznames.cpp",
27079 "third_party/icu/source/i18n/tznames_impl.cpp",
27080 "third_party/icu/source/i18n/tzrule.cpp",
27081 "third_party/icu/source/i18n/tztrans.cpp",
27082 "third_party/icu/source/i18n/ucal.cpp",
27083 "third_party/icu/source/i18n/ucln_in.cpp",
27084 "third_party/icu/source/i18n/ucol.cpp",
27085 "third_party/icu/source/i18n/ucol_res.cpp",
27086 "third_party/icu/source/i18n/ucol_sit.cpp",
27087 "third_party/icu/source/i18n/ucoleitr.cpp",
27088 "third_party/icu/source/i18n/ucsdet.cpp",
27089 "third_party/icu/source/i18n/udat.cpp",
27090 "third_party/icu/source/i18n/udateintervalformat.cpp",
27091 "third_party/icu/source/i18n/udatpg.cpp",
27092 "third_party/icu/source/i18n/ufieldpositer.cpp",
27093 "third_party/icu/source/i18n/uitercollationiterator.cpp",
27094 "third_party/icu/source/i18n/ulistformatter.cpp",
27095 "third_party/icu/source/i18n/ulocdata.cpp",
27096 "third_party/icu/source/i18n/umsg.cpp",
27097 "third_party/icu/source/i18n/unesctrn.cpp",
27098 "third_party/icu/source/i18n/uni2name.cpp",
27099 "third_party/icu/source/i18n/units_complexconverter.cpp",
27100 "third_party/icu/source/i18n/units_converter.cpp",
27101 "third_party/icu/source/i18n/units_data.cpp",
27102 "third_party/icu/source/i18n/units_router.cpp",
27103 "third_party/icu/source/i18n/unum.cpp",
27104 "third_party/icu/source/i18n/unumsys.cpp",
27105 "third_party/icu/source/i18n/upluralrules.cpp",
27106 "third_party/icu/source/i18n/uregex.cpp",
27107 "third_party/icu/source/i18n/uregexc.cpp",
27108 "third_party/icu/source/i18n/uregion.cpp",
27109 "third_party/icu/source/i18n/usearch.cpp",
27110 "third_party/icu/source/i18n/uspoof.cpp",
27111 "third_party/icu/source/i18n/uspoof_build.cpp",
27112 "third_party/icu/source/i18n/uspoof_conf.cpp",
27113 "third_party/icu/source/i18n/uspoof_impl.cpp",
27114 "third_party/icu/source/i18n/utf16collationiterator.cpp",
27115 "third_party/icu/source/i18n/utf8collationiterator.cpp",
27116 "third_party/icu/source/i18n/utmscale.cpp",
27117 "third_party/icu/source/i18n/utrans.cpp",
27118 "third_party/icu/source/i18n/vtzone.cpp",
27119 "third_party/icu/source/i18n/vzone.cpp",
27120 "third_party/icu/source/i18n/windtfmt.cpp",
27121 "third_party/icu/source/i18n/winnmfmt.cpp",
27122 "third_party/icu/source/i18n/wintzimpl.cpp",
27123 "third_party/icu/source/i18n/zonemeta.cpp",
27124 "third_party/icu/source/i18n/zrule.cpp",
27125 "third_party/icu/source/i18n/ztrans.cpp",
27126 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -070027127 static_libs: [
27128 "cronet_aml_third_party_icu_icuuc_private",
27129 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000027130 defaults: [
27131 "cronet_aml_defaults",
27132 ],
27133 cflags: [
27134 "-DANDROID",
27135 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27136 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
27137 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
27138 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
27139 "-DHAVE_DLOPEN=0",
27140 "-DHAVE_SYS_UIO_H",
27141 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
27142 "-DNDEBUG",
27143 "-DNO_UNWIND_TABLES",
27144 "-DNVALGRIND",
27145 "-DOFFICIAL_BUILD",
27146 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
27147 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
27148 "-DUSE_CHROMIUM_ICU=1",
27149 "-DU_CHARSET_IS_UTF8=1",
27150 "-DU_ENABLE_DYLOAD=0",
27151 "-DU_ENABLE_RESOURCE_TRACING=0",
27152 "-DU_ENABLE_TRACING=1",
27153 "-DU_I18N_IMPLEMENTATION",
27154 "-DU_STATIC_IMPLEMENTATION",
27155 "-DU_USING_ICU_NAMESPACE=0",
27156 "-D_GNU_SOURCE",
27157 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
27158 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
27159 "-Oz",
27160 "-fdata-sections",
27161 "-ffunction-sections",
27162 "-fno-asynchronous-unwind-tables",
27163 "-fno-unwind-tables",
27164 "-fvisibility-inlines-hidden",
27165 "-fvisibility=hidden",
27166 "-g1",
27167 ],
27168 local_include_dirs: [
27169 "./",
27170 "buildtools/third_party/libc++/",
27171 "buildtools/third_party/libc++/trunk/include",
27172 "buildtools/third_party/libc++abi/trunk/include",
27173 "third_party/icu/source/common/",
27174 "third_party/icu/source/i18n/",
27175 ],
27176 cpp_std: "c++17",
27177 ldflags: [
27178 "-Wl,--as-needed",
27179 "-Wl,--gc-sections",
27180 "-Wl,--icf=all",
27181 ],
27182 rtti: true,
27183 target: {
27184 android_arm: {
27185 cflags: [
27186 "-fstack-protector",
27187 ],
27188 },
27189 android_arm64: {
27190 cflags: [
27191 "-fstack-protector",
27192 "-mno-outline",
27193 "-mno-outline-atomics",
27194 ],
27195 },
27196 android_x86: {
27197 cflags: [
27198 "-msse3",
27199 ],
27200 },
27201 android_x86_64: {
27202 cflags: [
27203 "-fstack-protector",
27204 "-msse3",
27205 ],
27206 },
27207 },
27208}
27209
27210// GN: //third_party/icu:icui18n__testing
27211cc_library_static {
27212 name: "cronet_aml_third_party_icu_icui18n__testing",
27213 srcs: [
27214 "third_party/icu/source/i18n/alphaindex.cpp",
27215 "third_party/icu/source/i18n/anytrans.cpp",
27216 "third_party/icu/source/i18n/astro.cpp",
27217 "third_party/icu/source/i18n/basictz.cpp",
27218 "third_party/icu/source/i18n/bocsu.cpp",
27219 "third_party/icu/source/i18n/brktrans.cpp",
27220 "third_party/icu/source/i18n/buddhcal.cpp",
27221 "third_party/icu/source/i18n/calendar.cpp",
27222 "third_party/icu/source/i18n/casetrn.cpp",
27223 "third_party/icu/source/i18n/cecal.cpp",
27224 "third_party/icu/source/i18n/chnsecal.cpp",
27225 "third_party/icu/source/i18n/choicfmt.cpp",
27226 "third_party/icu/source/i18n/coleitr.cpp",
27227 "third_party/icu/source/i18n/coll.cpp",
27228 "third_party/icu/source/i18n/collation.cpp",
27229 "third_party/icu/source/i18n/collationbuilder.cpp",
27230 "third_party/icu/source/i18n/collationcompare.cpp",
27231 "third_party/icu/source/i18n/collationdata.cpp",
27232 "third_party/icu/source/i18n/collationdatabuilder.cpp",
27233 "third_party/icu/source/i18n/collationdatareader.cpp",
27234 "third_party/icu/source/i18n/collationdatawriter.cpp",
27235 "third_party/icu/source/i18n/collationfastlatin.cpp",
27236 "third_party/icu/source/i18n/collationfastlatinbuilder.cpp",
27237 "third_party/icu/source/i18n/collationfcd.cpp",
27238 "third_party/icu/source/i18n/collationiterator.cpp",
27239 "third_party/icu/source/i18n/collationkeys.cpp",
27240 "third_party/icu/source/i18n/collationroot.cpp",
27241 "third_party/icu/source/i18n/collationrootelements.cpp",
27242 "third_party/icu/source/i18n/collationruleparser.cpp",
27243 "third_party/icu/source/i18n/collationsets.cpp",
27244 "third_party/icu/source/i18n/collationsettings.cpp",
27245 "third_party/icu/source/i18n/collationtailoring.cpp",
27246 "third_party/icu/source/i18n/collationweights.cpp",
27247 "third_party/icu/source/i18n/compactdecimalformat.cpp",
27248 "third_party/icu/source/i18n/coptccal.cpp",
27249 "third_party/icu/source/i18n/cpdtrans.cpp",
27250 "third_party/icu/source/i18n/csdetect.cpp",
27251 "third_party/icu/source/i18n/csmatch.cpp",
27252 "third_party/icu/source/i18n/csr2022.cpp",
27253 "third_party/icu/source/i18n/csrecog.cpp",
27254 "third_party/icu/source/i18n/csrmbcs.cpp",
27255 "third_party/icu/source/i18n/csrsbcs.cpp",
27256 "third_party/icu/source/i18n/csrucode.cpp",
27257 "third_party/icu/source/i18n/csrutf8.cpp",
27258 "third_party/icu/source/i18n/curramt.cpp",
27259 "third_party/icu/source/i18n/currfmt.cpp",
27260 "third_party/icu/source/i18n/currpinf.cpp",
27261 "third_party/icu/source/i18n/currunit.cpp",
27262 "third_party/icu/source/i18n/dangical.cpp",
27263 "third_party/icu/source/i18n/datefmt.cpp",
27264 "third_party/icu/source/i18n/dayperiodrules.cpp",
27265 "third_party/icu/source/i18n/dcfmtsym.cpp",
27266 "third_party/icu/source/i18n/decContext.cpp",
27267 "third_party/icu/source/i18n/decNumber.cpp",
27268 "third_party/icu/source/i18n/decimfmt.cpp",
27269 "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
27270 "third_party/icu/source/i18n/double-conversion-bignum.cpp",
27271 "third_party/icu/source/i18n/double-conversion-cached-powers.cpp",
27272 "third_party/icu/source/i18n/double-conversion-double-to-string.cpp",
27273 "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp",
27274 "third_party/icu/source/i18n/double-conversion-string-to-double.cpp",
27275 "third_party/icu/source/i18n/double-conversion-strtod.cpp",
27276 "third_party/icu/source/i18n/dtfmtsym.cpp",
27277 "third_party/icu/source/i18n/dtitvfmt.cpp",
27278 "third_party/icu/source/i18n/dtitvinf.cpp",
27279 "third_party/icu/source/i18n/dtptngen.cpp",
27280 "third_party/icu/source/i18n/dtrule.cpp",
27281 "third_party/icu/source/i18n/erarules.cpp",
27282 "third_party/icu/source/i18n/esctrn.cpp",
27283 "third_party/icu/source/i18n/ethpccal.cpp",
27284 "third_party/icu/source/i18n/fmtable.cpp",
27285 "third_party/icu/source/i18n/fmtable_cnv.cpp",
27286 "third_party/icu/source/i18n/format.cpp",
27287 "third_party/icu/source/i18n/formatted_string_builder.cpp",
27288 "third_party/icu/source/i18n/formattedval_iterimpl.cpp",
27289 "third_party/icu/source/i18n/formattedval_sbimpl.cpp",
27290 "third_party/icu/source/i18n/formattedvalue.cpp",
27291 "third_party/icu/source/i18n/fphdlimp.cpp",
27292 "third_party/icu/source/i18n/fpositer.cpp",
27293 "third_party/icu/source/i18n/funcrepl.cpp",
27294 "third_party/icu/source/i18n/gender.cpp",
27295 "third_party/icu/source/i18n/gregocal.cpp",
27296 "third_party/icu/source/i18n/gregoimp.cpp",
27297 "third_party/icu/source/i18n/hebrwcal.cpp",
27298 "third_party/icu/source/i18n/indiancal.cpp",
27299 "third_party/icu/source/i18n/inputext.cpp",
27300 "third_party/icu/source/i18n/islamcal.cpp",
27301 "third_party/icu/source/i18n/japancal.cpp",
27302 "third_party/icu/source/i18n/listformatter.cpp",
27303 "third_party/icu/source/i18n/measfmt.cpp",
27304 "third_party/icu/source/i18n/measunit.cpp",
27305 "third_party/icu/source/i18n/measunit_extra.cpp",
27306 "third_party/icu/source/i18n/measure.cpp",
27307 "third_party/icu/source/i18n/msgfmt.cpp",
27308 "third_party/icu/source/i18n/name2uni.cpp",
27309 "third_party/icu/source/i18n/nfrs.cpp",
27310 "third_party/icu/source/i18n/nfrule.cpp",
27311 "third_party/icu/source/i18n/nfsubs.cpp",
27312 "third_party/icu/source/i18n/nortrans.cpp",
27313 "third_party/icu/source/i18n/nultrans.cpp",
27314 "third_party/icu/source/i18n/number_affixutils.cpp",
27315 "third_party/icu/source/i18n/number_asformat.cpp",
27316 "third_party/icu/source/i18n/number_capi.cpp",
27317 "third_party/icu/source/i18n/number_compact.cpp",
27318 "third_party/icu/source/i18n/number_currencysymbols.cpp",
27319 "third_party/icu/source/i18n/number_decimalquantity.cpp",
27320 "third_party/icu/source/i18n/number_decimfmtprops.cpp",
27321 "third_party/icu/source/i18n/number_fluent.cpp",
27322 "third_party/icu/source/i18n/number_formatimpl.cpp",
27323 "third_party/icu/source/i18n/number_grouping.cpp",
27324 "third_party/icu/source/i18n/number_integerwidth.cpp",
27325 "third_party/icu/source/i18n/number_longnames.cpp",
27326 "third_party/icu/source/i18n/number_mapper.cpp",
27327 "third_party/icu/source/i18n/number_modifiers.cpp",
27328 "third_party/icu/source/i18n/number_multiplier.cpp",
27329 "third_party/icu/source/i18n/number_notation.cpp",
27330 "third_party/icu/source/i18n/number_output.cpp",
27331 "third_party/icu/source/i18n/number_padding.cpp",
27332 "third_party/icu/source/i18n/number_patternmodifier.cpp",
27333 "third_party/icu/source/i18n/number_patternstring.cpp",
27334 "third_party/icu/source/i18n/number_rounding.cpp",
27335 "third_party/icu/source/i18n/number_scientific.cpp",
27336 "third_party/icu/source/i18n/number_skeletons.cpp",
27337 "third_party/icu/source/i18n/number_symbolswrapper.cpp",
27338 "third_party/icu/source/i18n/number_usageprefs.cpp",
27339 "third_party/icu/source/i18n/number_utils.cpp",
27340 "third_party/icu/source/i18n/numfmt.cpp",
27341 "third_party/icu/source/i18n/numparse_affixes.cpp",
27342 "third_party/icu/source/i18n/numparse_compositions.cpp",
27343 "third_party/icu/source/i18n/numparse_currency.cpp",
27344 "third_party/icu/source/i18n/numparse_decimal.cpp",
27345 "third_party/icu/source/i18n/numparse_impl.cpp",
27346 "third_party/icu/source/i18n/numparse_parsednumber.cpp",
27347 "third_party/icu/source/i18n/numparse_scientific.cpp",
27348 "third_party/icu/source/i18n/numparse_symbols.cpp",
27349 "third_party/icu/source/i18n/numparse_validators.cpp",
27350 "third_party/icu/source/i18n/numrange_capi.cpp",
27351 "third_party/icu/source/i18n/numrange_fluent.cpp",
27352 "third_party/icu/source/i18n/numrange_impl.cpp",
27353 "third_party/icu/source/i18n/numsys.cpp",
27354 "third_party/icu/source/i18n/olsontz.cpp",
27355 "third_party/icu/source/i18n/persncal.cpp",
27356 "third_party/icu/source/i18n/pluralranges.cpp",
27357 "third_party/icu/source/i18n/plurfmt.cpp",
27358 "third_party/icu/source/i18n/plurrule.cpp",
27359 "third_party/icu/source/i18n/quant.cpp",
27360 "third_party/icu/source/i18n/quantityformatter.cpp",
27361 "third_party/icu/source/i18n/rbnf.cpp",
27362 "third_party/icu/source/i18n/rbt.cpp",
27363 "third_party/icu/source/i18n/rbt_data.cpp",
27364 "third_party/icu/source/i18n/rbt_pars.cpp",
27365 "third_party/icu/source/i18n/rbt_rule.cpp",
27366 "third_party/icu/source/i18n/rbt_set.cpp",
27367 "third_party/icu/source/i18n/rbtz.cpp",
27368 "third_party/icu/source/i18n/regexcmp.cpp",
27369 "third_party/icu/source/i18n/regeximp.cpp",
27370 "third_party/icu/source/i18n/regexst.cpp",
27371 "third_party/icu/source/i18n/regextxt.cpp",
27372 "third_party/icu/source/i18n/region.cpp",
27373 "third_party/icu/source/i18n/reldatefmt.cpp",
27374 "third_party/icu/source/i18n/reldtfmt.cpp",
27375 "third_party/icu/source/i18n/rematch.cpp",
27376 "third_party/icu/source/i18n/remtrans.cpp",
27377 "third_party/icu/source/i18n/repattrn.cpp",
27378 "third_party/icu/source/i18n/rulebasedcollator.cpp",
27379 "third_party/icu/source/i18n/scientificnumberformatter.cpp",
27380 "third_party/icu/source/i18n/scriptset.cpp",
27381 "third_party/icu/source/i18n/search.cpp",
27382 "third_party/icu/source/i18n/selfmt.cpp",
27383 "third_party/icu/source/i18n/sharedbreakiterator.cpp",
27384 "third_party/icu/source/i18n/simpletz.cpp",
27385 "third_party/icu/source/i18n/smpdtfmt.cpp",
27386 "third_party/icu/source/i18n/smpdtfst.cpp",
27387 "third_party/icu/source/i18n/sortkey.cpp",
27388 "third_party/icu/source/i18n/standardplural.cpp",
27389 "third_party/icu/source/i18n/string_segment.cpp",
27390 "third_party/icu/source/i18n/strmatch.cpp",
27391 "third_party/icu/source/i18n/strrepl.cpp",
27392 "third_party/icu/source/i18n/stsearch.cpp",
27393 "third_party/icu/source/i18n/taiwncal.cpp",
27394 "third_party/icu/source/i18n/timezone.cpp",
27395 "third_party/icu/source/i18n/titletrn.cpp",
27396 "third_party/icu/source/i18n/tmunit.cpp",
27397 "third_party/icu/source/i18n/tmutamt.cpp",
27398 "third_party/icu/source/i18n/tmutfmt.cpp",
27399 "third_party/icu/source/i18n/tolowtrn.cpp",
27400 "third_party/icu/source/i18n/toupptrn.cpp",
27401 "third_party/icu/source/i18n/translit.cpp",
27402 "third_party/icu/source/i18n/transreg.cpp",
27403 "third_party/icu/source/i18n/tridpars.cpp",
27404 "third_party/icu/source/i18n/tzfmt.cpp",
27405 "third_party/icu/source/i18n/tzgnames.cpp",
27406 "third_party/icu/source/i18n/tznames.cpp",
27407 "third_party/icu/source/i18n/tznames_impl.cpp",
27408 "third_party/icu/source/i18n/tzrule.cpp",
27409 "third_party/icu/source/i18n/tztrans.cpp",
27410 "third_party/icu/source/i18n/ucal.cpp",
27411 "third_party/icu/source/i18n/ucln_in.cpp",
27412 "third_party/icu/source/i18n/ucol.cpp",
27413 "third_party/icu/source/i18n/ucol_res.cpp",
27414 "third_party/icu/source/i18n/ucol_sit.cpp",
27415 "third_party/icu/source/i18n/ucoleitr.cpp",
27416 "third_party/icu/source/i18n/ucsdet.cpp",
27417 "third_party/icu/source/i18n/udat.cpp",
27418 "third_party/icu/source/i18n/udateintervalformat.cpp",
27419 "third_party/icu/source/i18n/udatpg.cpp",
27420 "third_party/icu/source/i18n/ufieldpositer.cpp",
27421 "third_party/icu/source/i18n/uitercollationiterator.cpp",
27422 "third_party/icu/source/i18n/ulistformatter.cpp",
27423 "third_party/icu/source/i18n/ulocdata.cpp",
27424 "third_party/icu/source/i18n/umsg.cpp",
27425 "third_party/icu/source/i18n/unesctrn.cpp",
27426 "third_party/icu/source/i18n/uni2name.cpp",
27427 "third_party/icu/source/i18n/units_complexconverter.cpp",
27428 "third_party/icu/source/i18n/units_converter.cpp",
27429 "third_party/icu/source/i18n/units_data.cpp",
27430 "third_party/icu/source/i18n/units_router.cpp",
27431 "third_party/icu/source/i18n/unum.cpp",
27432 "third_party/icu/source/i18n/unumsys.cpp",
27433 "third_party/icu/source/i18n/upluralrules.cpp",
27434 "third_party/icu/source/i18n/uregex.cpp",
27435 "third_party/icu/source/i18n/uregexc.cpp",
27436 "third_party/icu/source/i18n/uregion.cpp",
27437 "third_party/icu/source/i18n/usearch.cpp",
27438 "third_party/icu/source/i18n/uspoof.cpp",
27439 "third_party/icu/source/i18n/uspoof_build.cpp",
27440 "third_party/icu/source/i18n/uspoof_conf.cpp",
27441 "third_party/icu/source/i18n/uspoof_impl.cpp",
27442 "third_party/icu/source/i18n/utf16collationiterator.cpp",
27443 "third_party/icu/source/i18n/utf8collationiterator.cpp",
27444 "third_party/icu/source/i18n/utmscale.cpp",
27445 "third_party/icu/source/i18n/utrans.cpp",
27446 "third_party/icu/source/i18n/vtzone.cpp",
27447 "third_party/icu/source/i18n/vzone.cpp",
27448 "third_party/icu/source/i18n/windtfmt.cpp",
27449 "third_party/icu/source/i18n/winnmfmt.cpp",
27450 "third_party/icu/source/i18n/wintzimpl.cpp",
27451 "third_party/icu/source/i18n/zonemeta.cpp",
27452 "third_party/icu/source/i18n/zrule.cpp",
27453 "third_party/icu/source/i18n/ztrans.cpp",
27454 ],
27455 static_libs: [
27456 "cronet_aml_third_party_icu_icuuc_private__testing",
27457 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027458 host_supported: true,
Patrick Rohrcc377df2022-10-28 09:27:15 -070027459 defaults: [
27460 "cronet_aml_defaults",
27461 ],
27462 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090027463 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
27464 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090027465 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027466 "-DHAVE_DLOPEN=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027467 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +090027468 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090027469 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090027470 "-DNVALGRIND",
27471 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027472 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
27473 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
27474 "-DUSE_CHROMIUM_ICU=1",
27475 "-DU_CHARSET_IS_UTF8=1",
27476 "-DU_ENABLE_DYLOAD=0",
27477 "-DU_ENABLE_RESOURCE_TRACING=0",
27478 "-DU_ENABLE_TRACING=1",
27479 "-DU_I18N_IMPLEMENTATION",
27480 "-DU_STATIC_IMPLEMENTATION",
27481 "-DU_USING_ICU_NAMESPACE=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027482 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027483 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027484 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027485 "-fdata-sections",
27486 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090027487 "-fno-asynchronous-unwind-tables",
27488 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027489 "-fvisibility-inlines-hidden",
27490 "-fvisibility=hidden",
27491 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027492 ],
27493 local_include_dirs: [
27494 "./",
27495 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070027496 "buildtools/third_party/libc++/trunk/include",
27497 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027498 "third_party/icu/source/common/",
27499 "third_party/icu/source/i18n/",
27500 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090027501 ldflags: [
27502 "-Wl,--as-needed",
27503 "-Wl,--gc-sections",
27504 "-Wl,--icf=all",
27505 ],
Patrick Rohr5fae90f2022-11-11 08:22:52 -080027506 rtti: true,
Motomu Utsumif0f47682022-11-17 22:34:39 +090027507 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090027508 android_arm: {
27509 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027510 "-DANDROID",
27511 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27512 "-DHAVE_SYS_UIO_H",
27513 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027514 "-fstack-protector",
27515 ],
27516 },
27517 android_arm64: {
27518 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027519 "-DANDROID",
27520 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27521 "-DHAVE_SYS_UIO_H",
27522 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027523 "-fstack-protector",
27524 "-mno-outline",
27525 "-mno-outline-atomics",
27526 ],
27527 },
Motomu Utsumi65501182022-11-18 15:26:35 +090027528 android_x86: {
27529 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027530 "-DANDROID",
27531 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27532 "-DHAVE_SYS_UIO_H",
27533 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090027534 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090027535 ],
27536 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090027537 android_x86_64: {
27538 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000027539 "-DANDROID",
27540 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27541 "-DHAVE_SYS_UIO_H",
27542 "-Oz",
27543 "-fstack-protector",
27544 "-msse3",
27545 ],
27546 },
27547 host: {
27548 cflags: [
27549 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
27550 "-DUSE_AURA=1",
27551 "-DUSE_OZONE=1",
27552 "-DUSE_UDEV",
27553 "-D_FILE_OFFSET_BITS=64",
27554 "-D_LARGEFILE64_SOURCE",
27555 "-D_LARGEFILE_SOURCE",
27556 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090027557 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090027558 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090027559 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090027560 },
27561 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070027562}
27563
27564// GN: //third_party/icu:icuuc_private
27565cc_library_static {
27566 name: "cronet_aml_third_party_icu_icuuc_private",
27567 srcs: [
Patrick Rohr971e03c2022-11-10 19:09:46 -080027568 "third_party/icu/source/common/appendable.cpp",
27569 "third_party/icu/source/common/bmpset.cpp",
27570 "third_party/icu/source/common/brkeng.cpp",
27571 "third_party/icu/source/common/brkiter.cpp",
27572 "third_party/icu/source/common/bytesinkutil.cpp",
27573 "third_party/icu/source/common/bytestream.cpp",
27574 "third_party/icu/source/common/bytestrie.cpp",
27575 "third_party/icu/source/common/bytestriebuilder.cpp",
27576 "third_party/icu/source/common/bytestrieiterator.cpp",
27577 "third_party/icu/source/common/caniter.cpp",
27578 "third_party/icu/source/common/characterproperties.cpp",
27579 "third_party/icu/source/common/chariter.cpp",
27580 "third_party/icu/source/common/charstr.cpp",
27581 "third_party/icu/source/common/cmemory.cpp",
27582 "third_party/icu/source/common/cstr.cpp",
27583 "third_party/icu/source/common/cstring.cpp",
27584 "third_party/icu/source/common/cwchar.cpp",
27585 "third_party/icu/source/common/dictbe.cpp",
27586 "third_party/icu/source/common/dictionarydata.cpp",
27587 "third_party/icu/source/common/dtintrv.cpp",
27588 "third_party/icu/source/common/edits.cpp",
27589 "third_party/icu/source/common/emojiprops.cpp",
27590 "third_party/icu/source/common/errorcode.cpp",
27591 "third_party/icu/source/common/filteredbrk.cpp",
27592 "third_party/icu/source/common/filterednormalizer2.cpp",
27593 "third_party/icu/source/common/icudataver.cpp",
27594 "third_party/icu/source/common/icuplug.cpp",
27595 "third_party/icu/source/common/loadednormalizer2impl.cpp",
27596 "third_party/icu/source/common/localebuilder.cpp",
27597 "third_party/icu/source/common/localematcher.cpp",
27598 "third_party/icu/source/common/localeprioritylist.cpp",
27599 "third_party/icu/source/common/locavailable.cpp",
27600 "third_party/icu/source/common/locbased.cpp",
27601 "third_party/icu/source/common/locdispnames.cpp",
27602 "third_party/icu/source/common/locdistance.cpp",
27603 "third_party/icu/source/common/locdspnm.cpp",
27604 "third_party/icu/source/common/locid.cpp",
27605 "third_party/icu/source/common/loclikely.cpp",
27606 "third_party/icu/source/common/loclikelysubtags.cpp",
27607 "third_party/icu/source/common/locmap.cpp",
27608 "third_party/icu/source/common/locresdata.cpp",
27609 "third_party/icu/source/common/locutil.cpp",
27610 "third_party/icu/source/common/lsr.cpp",
27611 "third_party/icu/source/common/lstmbe.cpp",
27612 "third_party/icu/source/common/messagepattern.cpp",
27613 "third_party/icu/source/common/normalizer2.cpp",
27614 "third_party/icu/source/common/normalizer2impl.cpp",
27615 "third_party/icu/source/common/normlzr.cpp",
27616 "third_party/icu/source/common/parsepos.cpp",
27617 "third_party/icu/source/common/patternprops.cpp",
27618 "third_party/icu/source/common/pluralmap.cpp",
27619 "third_party/icu/source/common/propname.cpp",
27620 "third_party/icu/source/common/propsvec.cpp",
27621 "third_party/icu/source/common/punycode.cpp",
27622 "third_party/icu/source/common/putil.cpp",
27623 "third_party/icu/source/common/rbbi.cpp",
27624 "third_party/icu/source/common/rbbi_cache.cpp",
27625 "third_party/icu/source/common/rbbidata.cpp",
27626 "third_party/icu/source/common/rbbinode.cpp",
27627 "third_party/icu/source/common/rbbirb.cpp",
27628 "third_party/icu/source/common/rbbiscan.cpp",
27629 "third_party/icu/source/common/rbbisetb.cpp",
27630 "third_party/icu/source/common/rbbistbl.cpp",
27631 "third_party/icu/source/common/rbbitblb.cpp",
27632 "third_party/icu/source/common/resbund.cpp",
27633 "third_party/icu/source/common/resbund_cnv.cpp",
27634 "third_party/icu/source/common/resource.cpp",
27635 "third_party/icu/source/common/restrace.cpp",
27636 "third_party/icu/source/common/ruleiter.cpp",
27637 "third_party/icu/source/common/schriter.cpp",
27638 "third_party/icu/source/common/serv.cpp",
27639 "third_party/icu/source/common/servlk.cpp",
27640 "third_party/icu/source/common/servlkf.cpp",
27641 "third_party/icu/source/common/servls.cpp",
27642 "third_party/icu/source/common/servnotf.cpp",
27643 "third_party/icu/source/common/servrbf.cpp",
27644 "third_party/icu/source/common/servslkf.cpp",
27645 "third_party/icu/source/common/sharedobject.cpp",
27646 "third_party/icu/source/common/simpleformatter.cpp",
27647 "third_party/icu/source/common/static_unicode_sets.cpp",
27648 "third_party/icu/source/common/stringpiece.cpp",
27649 "third_party/icu/source/common/stringtriebuilder.cpp",
27650 "third_party/icu/source/common/uarrsort.cpp",
27651 "third_party/icu/source/common/ubidi.cpp",
27652 "third_party/icu/source/common/ubidi_props.cpp",
27653 "third_party/icu/source/common/ubidiln.cpp",
27654 "third_party/icu/source/common/ubiditransform.cpp",
27655 "third_party/icu/source/common/ubidiwrt.cpp",
27656 "third_party/icu/source/common/ubrk.cpp",
27657 "third_party/icu/source/common/ucase.cpp",
27658 "third_party/icu/source/common/ucasemap.cpp",
27659 "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp",
27660 "third_party/icu/source/common/ucat.cpp",
27661 "third_party/icu/source/common/uchar.cpp",
27662 "third_party/icu/source/common/ucharstrie.cpp",
27663 "third_party/icu/source/common/ucharstriebuilder.cpp",
27664 "third_party/icu/source/common/ucharstrieiterator.cpp",
27665 "third_party/icu/source/common/uchriter.cpp",
27666 "third_party/icu/source/common/ucln_cmn.cpp",
27667 "third_party/icu/source/common/ucmndata.cpp",
27668 "third_party/icu/source/common/ucnv.cpp",
27669 "third_party/icu/source/common/ucnv2022.cpp",
27670 "third_party/icu/source/common/ucnv_bld.cpp",
27671 "third_party/icu/source/common/ucnv_cb.cpp",
27672 "third_party/icu/source/common/ucnv_cnv.cpp",
27673 "third_party/icu/source/common/ucnv_ct.cpp",
27674 "third_party/icu/source/common/ucnv_err.cpp",
27675 "third_party/icu/source/common/ucnv_ext.cpp",
27676 "third_party/icu/source/common/ucnv_io.cpp",
27677 "third_party/icu/source/common/ucnv_lmb.cpp",
27678 "third_party/icu/source/common/ucnv_set.cpp",
27679 "third_party/icu/source/common/ucnv_u16.cpp",
27680 "third_party/icu/source/common/ucnv_u32.cpp",
27681 "third_party/icu/source/common/ucnv_u7.cpp",
27682 "third_party/icu/source/common/ucnv_u8.cpp",
27683 "third_party/icu/source/common/ucnvbocu.cpp",
27684 "third_party/icu/source/common/ucnvdisp.cpp",
27685 "third_party/icu/source/common/ucnvhz.cpp",
27686 "third_party/icu/source/common/ucnvisci.cpp",
27687 "third_party/icu/source/common/ucnvlat1.cpp",
27688 "third_party/icu/source/common/ucnvmbcs.cpp",
27689 "third_party/icu/source/common/ucnvscsu.cpp",
27690 "third_party/icu/source/common/ucnvsel.cpp",
27691 "third_party/icu/source/common/ucol_swp.cpp",
27692 "third_party/icu/source/common/ucptrie.cpp",
27693 "third_party/icu/source/common/ucurr.cpp",
27694 "third_party/icu/source/common/udata.cpp",
27695 "third_party/icu/source/common/udatamem.cpp",
27696 "third_party/icu/source/common/udataswp.cpp",
27697 "third_party/icu/source/common/uenum.cpp",
27698 "third_party/icu/source/common/uhash.cpp",
27699 "third_party/icu/source/common/uhash_us.cpp",
27700 "third_party/icu/source/common/uidna.cpp",
27701 "third_party/icu/source/common/uinit.cpp",
27702 "third_party/icu/source/common/uinvchar.cpp",
27703 "third_party/icu/source/common/uiter.cpp",
27704 "third_party/icu/source/common/ulist.cpp",
27705 "third_party/icu/source/common/uloc.cpp",
27706 "third_party/icu/source/common/uloc_keytype.cpp",
27707 "third_party/icu/source/common/uloc_tag.cpp",
27708 "third_party/icu/source/common/umapfile.cpp",
27709 "third_party/icu/source/common/umath.cpp",
27710 "third_party/icu/source/common/umutablecptrie.cpp",
27711 "third_party/icu/source/common/umutex.cpp",
27712 "third_party/icu/source/common/unames.cpp",
27713 "third_party/icu/source/common/unifiedcache.cpp",
27714 "third_party/icu/source/common/unifilt.cpp",
27715 "third_party/icu/source/common/unifunct.cpp",
27716 "third_party/icu/source/common/uniset.cpp",
27717 "third_party/icu/source/common/uniset_closure.cpp",
27718 "third_party/icu/source/common/uniset_props.cpp",
27719 "third_party/icu/source/common/unisetspan.cpp",
27720 "third_party/icu/source/common/unistr.cpp",
27721 "third_party/icu/source/common/unistr_case.cpp",
27722 "third_party/icu/source/common/unistr_case_locale.cpp",
27723 "third_party/icu/source/common/unistr_cnv.cpp",
27724 "third_party/icu/source/common/unistr_props.cpp",
27725 "third_party/icu/source/common/unistr_titlecase_brkiter.cpp",
27726 "third_party/icu/source/common/unorm.cpp",
27727 "third_party/icu/source/common/unormcmp.cpp",
27728 "third_party/icu/source/common/uobject.cpp",
27729 "third_party/icu/source/common/uprops.cpp",
27730 "third_party/icu/source/common/ures_cnv.cpp",
27731 "third_party/icu/source/common/uresbund.cpp",
27732 "third_party/icu/source/common/uresdata.cpp",
27733 "third_party/icu/source/common/usc_impl.cpp",
27734 "third_party/icu/source/common/uscript.cpp",
27735 "third_party/icu/source/common/uscript_props.cpp",
27736 "third_party/icu/source/common/uset.cpp",
27737 "third_party/icu/source/common/uset_props.cpp",
27738 "third_party/icu/source/common/usetiter.cpp",
27739 "third_party/icu/source/common/ushape.cpp",
27740 "third_party/icu/source/common/usprep.cpp",
27741 "third_party/icu/source/common/ustack.cpp",
27742 "third_party/icu/source/common/ustr_cnv.cpp",
27743 "third_party/icu/source/common/ustr_titlecase_brkiter.cpp",
27744 "third_party/icu/source/common/ustr_wcs.cpp",
27745 "third_party/icu/source/common/ustrcase.cpp",
27746 "third_party/icu/source/common/ustrcase_locale.cpp",
27747 "third_party/icu/source/common/ustrenum.cpp",
27748 "third_party/icu/source/common/ustrfmt.cpp",
27749 "third_party/icu/source/common/ustring.cpp",
27750 "third_party/icu/source/common/ustrtrns.cpp",
27751 "third_party/icu/source/common/utext.cpp",
27752 "third_party/icu/source/common/utf_impl.cpp",
27753 "third_party/icu/source/common/util.cpp",
27754 "third_party/icu/source/common/util_props.cpp",
27755 "third_party/icu/source/common/utrace.cpp",
27756 "third_party/icu/source/common/utrie.cpp",
27757 "third_party/icu/source/common/utrie2.cpp",
27758 "third_party/icu/source/common/utrie2_builder.cpp",
27759 "third_party/icu/source/common/utrie_swap.cpp",
27760 "third_party/icu/source/common/uts46.cpp",
27761 "third_party/icu/source/common/utypes.cpp",
27762 "third_party/icu/source/common/uvector.cpp",
27763 "third_party/icu/source/common/uvectr32.cpp",
27764 "third_party/icu/source/common/uvectr64.cpp",
27765 "third_party/icu/source/common/wintz.cpp",
27766 "third_party/icu/source/stubdata/stubdata.cpp",
Patrick Rohrcc377df2022-10-28 09:27:15 -070027767 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000027768 defaults: [
27769 "cronet_aml_defaults",
27770 ],
27771 cflags: [
27772 "-DANDROID",
27773 "-DANDROID_NDK_VERSION_ROLL=r23_1",
27774 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
27775 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
27776 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
27777 "-DHAVE_DLOPEN=0",
27778 "-DHAVE_SYS_UIO_H",
27779 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
27780 "-DNDEBUG",
27781 "-DNO_UNWIND_TABLES",
27782 "-DNVALGRIND",
27783 "-DOFFICIAL_BUILD",
27784 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
27785 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
27786 "-DUSE_CHROMIUM_ICU=1",
27787 "-DU_CHARSET_IS_UTF8=1",
27788 "-DU_COMMON_IMPLEMENTATION",
27789 "-DU_ENABLE_DYLOAD=0",
27790 "-DU_ENABLE_RESOURCE_TRACING=0",
27791 "-DU_ENABLE_TRACING=1",
27792 "-DU_ICUDATAENTRY_IN_COMMON",
27793 "-DU_STATIC_IMPLEMENTATION",
27794 "-DU_USING_ICU_NAMESPACE=0",
27795 "-D_GNU_SOURCE",
27796 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
27797 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
27798 "-Oz",
27799 "-fdata-sections",
27800 "-ffunction-sections",
27801 "-fno-asynchronous-unwind-tables",
27802 "-fno-unwind-tables",
27803 "-fvisibility-inlines-hidden",
27804 "-fvisibility=hidden",
27805 "-g1",
27806 ],
27807 local_include_dirs: [
27808 "./",
27809 "buildtools/third_party/libc++/",
27810 "buildtools/third_party/libc++/trunk/include",
27811 "buildtools/third_party/libc++abi/trunk/include",
27812 "third_party/icu/source/common/",
27813 "third_party/icu/source/i18n/",
27814 ],
27815 cpp_std: "c++17",
27816 ldflags: [
27817 "-Wl,--as-needed",
27818 "-Wl,--gc-sections",
27819 "-Wl,--icf=all",
27820 ],
27821 rtti: true,
27822 target: {
27823 android_arm: {
27824 cflags: [
27825 "-fstack-protector",
27826 ],
27827 },
27828 android_arm64: {
27829 cflags: [
27830 "-fstack-protector",
27831 "-mno-outline",
27832 "-mno-outline-atomics",
27833 ],
27834 },
27835 android_x86: {
27836 cflags: [
27837 "-msse3",
27838 ],
27839 },
27840 android_x86_64: {
27841 cflags: [
27842 "-fstack-protector",
27843 "-msse3",
27844 ],
27845 },
27846 },
27847}
27848
27849// GN: //third_party/icu:icuuc_private__testing
27850cc_library_static {
27851 name: "cronet_aml_third_party_icu_icuuc_private__testing",
27852 srcs: [
27853 "third_party/icu/source/common/appendable.cpp",
27854 "third_party/icu/source/common/bmpset.cpp",
27855 "third_party/icu/source/common/brkeng.cpp",
27856 "third_party/icu/source/common/brkiter.cpp",
27857 "third_party/icu/source/common/bytesinkutil.cpp",
27858 "third_party/icu/source/common/bytestream.cpp",
27859 "third_party/icu/source/common/bytestrie.cpp",
27860 "third_party/icu/source/common/bytestriebuilder.cpp",
27861 "third_party/icu/source/common/bytestrieiterator.cpp",
27862 "third_party/icu/source/common/caniter.cpp",
27863 "third_party/icu/source/common/characterproperties.cpp",
27864 "third_party/icu/source/common/chariter.cpp",
27865 "third_party/icu/source/common/charstr.cpp",
27866 "third_party/icu/source/common/cmemory.cpp",
27867 "third_party/icu/source/common/cstr.cpp",
27868 "third_party/icu/source/common/cstring.cpp",
27869 "third_party/icu/source/common/cwchar.cpp",
27870 "third_party/icu/source/common/dictbe.cpp",
27871 "third_party/icu/source/common/dictionarydata.cpp",
27872 "third_party/icu/source/common/dtintrv.cpp",
27873 "third_party/icu/source/common/edits.cpp",
27874 "third_party/icu/source/common/emojiprops.cpp",
27875 "third_party/icu/source/common/errorcode.cpp",
27876 "third_party/icu/source/common/filteredbrk.cpp",
27877 "third_party/icu/source/common/filterednormalizer2.cpp",
27878 "third_party/icu/source/common/icudataver.cpp",
27879 "third_party/icu/source/common/icuplug.cpp",
27880 "third_party/icu/source/common/loadednormalizer2impl.cpp",
27881 "third_party/icu/source/common/localebuilder.cpp",
27882 "third_party/icu/source/common/localematcher.cpp",
27883 "third_party/icu/source/common/localeprioritylist.cpp",
27884 "third_party/icu/source/common/locavailable.cpp",
27885 "third_party/icu/source/common/locbased.cpp",
27886 "third_party/icu/source/common/locdispnames.cpp",
27887 "third_party/icu/source/common/locdistance.cpp",
27888 "third_party/icu/source/common/locdspnm.cpp",
27889 "third_party/icu/source/common/locid.cpp",
27890 "third_party/icu/source/common/loclikely.cpp",
27891 "third_party/icu/source/common/loclikelysubtags.cpp",
27892 "third_party/icu/source/common/locmap.cpp",
27893 "third_party/icu/source/common/locresdata.cpp",
27894 "third_party/icu/source/common/locutil.cpp",
27895 "third_party/icu/source/common/lsr.cpp",
27896 "third_party/icu/source/common/lstmbe.cpp",
27897 "third_party/icu/source/common/messagepattern.cpp",
27898 "third_party/icu/source/common/normalizer2.cpp",
27899 "third_party/icu/source/common/normalizer2impl.cpp",
27900 "third_party/icu/source/common/normlzr.cpp",
27901 "third_party/icu/source/common/parsepos.cpp",
27902 "third_party/icu/source/common/patternprops.cpp",
27903 "third_party/icu/source/common/pluralmap.cpp",
27904 "third_party/icu/source/common/propname.cpp",
27905 "third_party/icu/source/common/propsvec.cpp",
27906 "third_party/icu/source/common/punycode.cpp",
27907 "third_party/icu/source/common/putil.cpp",
27908 "third_party/icu/source/common/rbbi.cpp",
27909 "third_party/icu/source/common/rbbi_cache.cpp",
27910 "third_party/icu/source/common/rbbidata.cpp",
27911 "third_party/icu/source/common/rbbinode.cpp",
27912 "third_party/icu/source/common/rbbirb.cpp",
27913 "third_party/icu/source/common/rbbiscan.cpp",
27914 "third_party/icu/source/common/rbbisetb.cpp",
27915 "third_party/icu/source/common/rbbistbl.cpp",
27916 "third_party/icu/source/common/rbbitblb.cpp",
27917 "third_party/icu/source/common/resbund.cpp",
27918 "third_party/icu/source/common/resbund_cnv.cpp",
27919 "third_party/icu/source/common/resource.cpp",
27920 "third_party/icu/source/common/restrace.cpp",
27921 "third_party/icu/source/common/ruleiter.cpp",
27922 "third_party/icu/source/common/schriter.cpp",
27923 "third_party/icu/source/common/serv.cpp",
27924 "third_party/icu/source/common/servlk.cpp",
27925 "third_party/icu/source/common/servlkf.cpp",
27926 "third_party/icu/source/common/servls.cpp",
27927 "third_party/icu/source/common/servnotf.cpp",
27928 "third_party/icu/source/common/servrbf.cpp",
27929 "third_party/icu/source/common/servslkf.cpp",
27930 "third_party/icu/source/common/sharedobject.cpp",
27931 "third_party/icu/source/common/simpleformatter.cpp",
27932 "third_party/icu/source/common/static_unicode_sets.cpp",
27933 "third_party/icu/source/common/stringpiece.cpp",
27934 "third_party/icu/source/common/stringtriebuilder.cpp",
27935 "third_party/icu/source/common/uarrsort.cpp",
27936 "third_party/icu/source/common/ubidi.cpp",
27937 "third_party/icu/source/common/ubidi_props.cpp",
27938 "third_party/icu/source/common/ubidiln.cpp",
27939 "third_party/icu/source/common/ubiditransform.cpp",
27940 "third_party/icu/source/common/ubidiwrt.cpp",
27941 "third_party/icu/source/common/ubrk.cpp",
27942 "third_party/icu/source/common/ucase.cpp",
27943 "third_party/icu/source/common/ucasemap.cpp",
27944 "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp",
27945 "third_party/icu/source/common/ucat.cpp",
27946 "third_party/icu/source/common/uchar.cpp",
27947 "third_party/icu/source/common/ucharstrie.cpp",
27948 "third_party/icu/source/common/ucharstriebuilder.cpp",
27949 "third_party/icu/source/common/ucharstrieiterator.cpp",
27950 "third_party/icu/source/common/uchriter.cpp",
27951 "third_party/icu/source/common/ucln_cmn.cpp",
27952 "third_party/icu/source/common/ucmndata.cpp",
27953 "third_party/icu/source/common/ucnv.cpp",
27954 "third_party/icu/source/common/ucnv2022.cpp",
27955 "third_party/icu/source/common/ucnv_bld.cpp",
27956 "third_party/icu/source/common/ucnv_cb.cpp",
27957 "third_party/icu/source/common/ucnv_cnv.cpp",
27958 "third_party/icu/source/common/ucnv_ct.cpp",
27959 "third_party/icu/source/common/ucnv_err.cpp",
27960 "third_party/icu/source/common/ucnv_ext.cpp",
27961 "third_party/icu/source/common/ucnv_io.cpp",
27962 "third_party/icu/source/common/ucnv_lmb.cpp",
27963 "third_party/icu/source/common/ucnv_set.cpp",
27964 "third_party/icu/source/common/ucnv_u16.cpp",
27965 "third_party/icu/source/common/ucnv_u32.cpp",
27966 "third_party/icu/source/common/ucnv_u7.cpp",
27967 "third_party/icu/source/common/ucnv_u8.cpp",
27968 "third_party/icu/source/common/ucnvbocu.cpp",
27969 "third_party/icu/source/common/ucnvdisp.cpp",
27970 "third_party/icu/source/common/ucnvhz.cpp",
27971 "third_party/icu/source/common/ucnvisci.cpp",
27972 "third_party/icu/source/common/ucnvlat1.cpp",
27973 "third_party/icu/source/common/ucnvmbcs.cpp",
27974 "third_party/icu/source/common/ucnvscsu.cpp",
27975 "third_party/icu/source/common/ucnvsel.cpp",
27976 "third_party/icu/source/common/ucol_swp.cpp",
27977 "third_party/icu/source/common/ucptrie.cpp",
27978 "third_party/icu/source/common/ucurr.cpp",
27979 "third_party/icu/source/common/udata.cpp",
27980 "third_party/icu/source/common/udatamem.cpp",
27981 "third_party/icu/source/common/udataswp.cpp",
27982 "third_party/icu/source/common/uenum.cpp",
27983 "third_party/icu/source/common/uhash.cpp",
27984 "third_party/icu/source/common/uhash_us.cpp",
27985 "third_party/icu/source/common/uidna.cpp",
27986 "third_party/icu/source/common/uinit.cpp",
27987 "third_party/icu/source/common/uinvchar.cpp",
27988 "third_party/icu/source/common/uiter.cpp",
27989 "third_party/icu/source/common/ulist.cpp",
27990 "third_party/icu/source/common/uloc.cpp",
27991 "third_party/icu/source/common/uloc_keytype.cpp",
27992 "third_party/icu/source/common/uloc_tag.cpp",
27993 "third_party/icu/source/common/umapfile.cpp",
27994 "third_party/icu/source/common/umath.cpp",
27995 "third_party/icu/source/common/umutablecptrie.cpp",
27996 "third_party/icu/source/common/umutex.cpp",
27997 "third_party/icu/source/common/unames.cpp",
27998 "third_party/icu/source/common/unifiedcache.cpp",
27999 "third_party/icu/source/common/unifilt.cpp",
28000 "third_party/icu/source/common/unifunct.cpp",
28001 "third_party/icu/source/common/uniset.cpp",
28002 "third_party/icu/source/common/uniset_closure.cpp",
28003 "third_party/icu/source/common/uniset_props.cpp",
28004 "third_party/icu/source/common/unisetspan.cpp",
28005 "third_party/icu/source/common/unistr.cpp",
28006 "third_party/icu/source/common/unistr_case.cpp",
28007 "third_party/icu/source/common/unistr_case_locale.cpp",
28008 "third_party/icu/source/common/unistr_cnv.cpp",
28009 "third_party/icu/source/common/unistr_props.cpp",
28010 "third_party/icu/source/common/unistr_titlecase_brkiter.cpp",
28011 "third_party/icu/source/common/unorm.cpp",
28012 "third_party/icu/source/common/unormcmp.cpp",
28013 "third_party/icu/source/common/uobject.cpp",
28014 "third_party/icu/source/common/uprops.cpp",
28015 "third_party/icu/source/common/ures_cnv.cpp",
28016 "third_party/icu/source/common/uresbund.cpp",
28017 "third_party/icu/source/common/uresdata.cpp",
28018 "third_party/icu/source/common/usc_impl.cpp",
28019 "third_party/icu/source/common/uscript.cpp",
28020 "third_party/icu/source/common/uscript_props.cpp",
28021 "third_party/icu/source/common/uset.cpp",
28022 "third_party/icu/source/common/uset_props.cpp",
28023 "third_party/icu/source/common/usetiter.cpp",
28024 "third_party/icu/source/common/ushape.cpp",
28025 "third_party/icu/source/common/usprep.cpp",
28026 "third_party/icu/source/common/ustack.cpp",
28027 "third_party/icu/source/common/ustr_cnv.cpp",
28028 "third_party/icu/source/common/ustr_titlecase_brkiter.cpp",
28029 "third_party/icu/source/common/ustr_wcs.cpp",
28030 "third_party/icu/source/common/ustrcase.cpp",
28031 "third_party/icu/source/common/ustrcase_locale.cpp",
28032 "third_party/icu/source/common/ustrenum.cpp",
28033 "third_party/icu/source/common/ustrfmt.cpp",
28034 "third_party/icu/source/common/ustring.cpp",
28035 "third_party/icu/source/common/ustrtrns.cpp",
28036 "third_party/icu/source/common/utext.cpp",
28037 "third_party/icu/source/common/utf_impl.cpp",
28038 "third_party/icu/source/common/util.cpp",
28039 "third_party/icu/source/common/util_props.cpp",
28040 "third_party/icu/source/common/utrace.cpp",
28041 "third_party/icu/source/common/utrie.cpp",
28042 "third_party/icu/source/common/utrie2.cpp",
28043 "third_party/icu/source/common/utrie2_builder.cpp",
28044 "third_party/icu/source/common/utrie_swap.cpp",
28045 "third_party/icu/source/common/uts46.cpp",
28046 "third_party/icu/source/common/utypes.cpp",
28047 "third_party/icu/source/common/uvector.cpp",
28048 "third_party/icu/source/common/uvectr32.cpp",
28049 "third_party/icu/source/common/uvectr64.cpp",
28050 "third_party/icu/source/common/wintz.cpp",
28051 "third_party/icu/source/stubdata/stubdata.cpp",
28052 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028053 host_supported: true,
Patrick Rohrcc377df2022-10-28 09:27:15 -070028054 defaults: [
28055 "cronet_aml_defaults",
28056 ],
28057 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090028058 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28059 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028060 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028061 "-DHAVE_DLOPEN=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028062 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028063 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090028064 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028065 "-DNVALGRIND",
28066 "-DOFFICIAL_BUILD",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028067 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
28068 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
28069 "-DUSE_CHROMIUM_ICU=1",
28070 "-DU_CHARSET_IS_UTF8=1",
28071 "-DU_COMMON_IMPLEMENTATION",
28072 "-DU_ENABLE_DYLOAD=0",
28073 "-DU_ENABLE_RESOURCE_TRACING=0",
28074 "-DU_ENABLE_TRACING=1",
28075 "-DU_ICUDATAENTRY_IN_COMMON",
28076 "-DU_STATIC_IMPLEMENTATION",
28077 "-DU_USING_ICU_NAMESPACE=0",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028078 "-D_GNU_SOURCE",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028079 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028080 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090028081 "-fdata-sections",
28082 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090028083 "-fno-asynchronous-unwind-tables",
28084 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090028085 "-fvisibility-inlines-hidden",
28086 "-fvisibility=hidden",
28087 "-g1",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028088 ],
28089 local_include_dirs: [
28090 "./",
28091 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070028092 "buildtools/third_party/libc++/trunk/include",
28093 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -070028094 "third_party/icu/source/common/",
28095 "third_party/icu/source/i18n/",
28096 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090028097 ldflags: [
28098 "-Wl,--as-needed",
28099 "-Wl,--gc-sections",
28100 "-Wl,--icf=all",
28101 ],
Patrick Rohr5fae90f2022-11-11 08:22:52 -080028102 rtti: true,
Motomu Utsumif0f47682022-11-17 22:34:39 +090028103 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090028104 android_arm: {
28105 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028106 "-DANDROID",
28107 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28108 "-DHAVE_SYS_UIO_H",
28109 "-Oz",
28110 "-fstack-protector",
28111 ],
28112 },
28113 android_arm64: {
28114 cflags: [
28115 "-DANDROID",
28116 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28117 "-DHAVE_SYS_UIO_H",
28118 "-Oz",
28119 "-fstack-protector",
28120 "-mno-outline",
28121 "-mno-outline-atomics",
28122 ],
28123 },
28124 android_x86: {
28125 cflags: [
28126 "-DANDROID",
28127 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28128 "-DHAVE_SYS_UIO_H",
28129 "-Oz",
28130 "-msse3",
28131 ],
28132 },
28133 android_x86_64: {
28134 cflags: [
28135 "-DANDROID",
28136 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28137 "-DHAVE_SYS_UIO_H",
28138 "-Oz",
28139 "-fstack-protector",
28140 "-msse3",
28141 ],
28142 },
28143 host: {
28144 cflags: [
28145 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
28146 "-DUSE_AURA=1",
28147 "-DUSE_OZONE=1",
28148 "-DUSE_UDEV",
28149 "-D_FILE_OFFSET_BITS=64",
28150 "-D_LARGEFILE64_SOURCE",
28151 "-D_LARGEFILE_SOURCE",
28152 "-O2",
28153 "-fstack-protector",
28154 "-msse3",
28155 ],
28156 },
28157 },
28158}
28159
28160// GN: //third_party/libevent:libevent
28161cc_library_static {
28162 name: "cronet_aml_third_party_libevent_libevent",
28163 srcs: [
28164 "third_party/libevent/buffer.c",
28165 "third_party/libevent/epoll.c",
28166 "third_party/libevent/evbuffer.c",
28167 "third_party/libevent/evdns.c",
28168 "third_party/libevent/event.c",
28169 "third_party/libevent/event_tagging.c",
28170 "third_party/libevent/evrpc.c",
28171 "third_party/libevent/evutil.c",
28172 "third_party/libevent/http.c",
28173 "third_party/libevent/log.c",
28174 "third_party/libevent/poll.c",
28175 "third_party/libevent/select.c",
28176 "third_party/libevent/signal.c",
28177 "third_party/libevent/strlcpy.c",
28178 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028179 defaults: [
28180 "cronet_aml_defaults",
28181 ],
28182 cflags: [
28183 "-DANDROID",
28184 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28185 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28186 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28187 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28188 "-DHAVE_CONFIG_H",
28189 "-DHAVE_SYS_UIO_H",
28190 "-DNDEBUG",
28191 "-DNO_UNWIND_TABLES",
28192 "-DNVALGRIND",
28193 "-DOFFICIAL_BUILD",
28194 "-D_GNU_SOURCE",
28195 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28196 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28197 "-O2",
28198 "-fdata-sections",
28199 "-ffunction-sections",
28200 "-fno-asynchronous-unwind-tables",
28201 "-fno-unwind-tables",
28202 "-fvisibility-inlines-hidden",
28203 "-fvisibility=hidden",
28204 "-g1",
28205 ],
28206 local_include_dirs: [
28207 "./",
28208 "buildtools/third_party/libc++/",
28209 "buildtools/third_party/libc++/trunk/include",
28210 "buildtools/third_party/libc++abi/trunk/include",
28211 "third_party/libevent/android/",
28212 ],
28213 cpp_std: "c++17",
28214 ldflags: [
28215 "-Wl,--as-needed",
28216 "-Wl,--gc-sections",
28217 "-Wl,--icf=all",
28218 ],
28219 target: {
28220 android_arm: {
28221 cflags: [
28222 "-fstack-protector",
28223 ],
28224 },
28225 android_arm64: {
28226 cflags: [
28227 "-fstack-protector",
28228 "-mno-outline",
28229 "-mno-outline-atomics",
28230 ],
28231 },
28232 android_x86: {
28233 cflags: [
28234 "-msse3",
28235 ],
28236 },
28237 android_x86_64: {
28238 cflags: [
28239 "-fstack-protector",
28240 "-msse3",
28241 ],
28242 },
28243 },
28244}
28245
28246// GN: //third_party/libevent:libevent__testing
28247cc_library_static {
28248 name: "cronet_aml_third_party_libevent_libevent__testing",
28249 srcs: [
28250 "third_party/libevent/buffer.c",
28251 "third_party/libevent/epoll.c",
28252 "third_party/libevent/evbuffer.c",
28253 "third_party/libevent/evdns.c",
28254 "third_party/libevent/event.c",
28255 "third_party/libevent/event_tagging.c",
28256 "third_party/libevent/evrpc.c",
28257 "third_party/libevent/evutil.c",
28258 "third_party/libevent/http.c",
28259 "third_party/libevent/log.c",
28260 "third_party/libevent/poll.c",
28261 "third_party/libevent/select.c",
28262 "third_party/libevent/signal.c",
28263 "third_party/libevent/strlcpy.c",
28264 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028265 host_supported: true,
28266 defaults: [
28267 "cronet_aml_defaults",
28268 ],
28269 cflags: [
28270 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28271 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28272 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28273 "-DHAVE_CONFIG_H",
28274 "-DNDEBUG",
28275 "-DNO_UNWIND_TABLES",
28276 "-DNVALGRIND",
28277 "-DOFFICIAL_BUILD",
28278 "-D_GNU_SOURCE",
28279 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28280 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28281 "-O2",
28282 "-fdata-sections",
28283 "-ffunction-sections",
28284 "-fno-asynchronous-unwind-tables",
28285 "-fno-unwind-tables",
28286 "-fvisibility-inlines-hidden",
28287 "-fvisibility=hidden",
28288 "-g1",
28289 ],
28290 local_include_dirs: [
28291 "./",
28292 "buildtools/third_party/libc++/",
28293 "buildtools/third_party/libc++/trunk/include",
28294 "buildtools/third_party/libc++abi/trunk/include",
28295 ],
28296 ldflags: [
28297 "-Wl,--as-needed",
28298 "-Wl,--gc-sections",
28299 "-Wl,--icf=all",
28300 ],
28301 target: {
28302 android_arm: {
28303 cflags: [
28304 "-DANDROID",
28305 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28306 "-DHAVE_SYS_UIO_H",
28307 "-fstack-protector",
28308 ],
28309 local_include_dirs: [
28310 "third_party/libevent/android/",
28311 ],
28312 },
28313 android_arm64: {
28314 cflags: [
28315 "-DANDROID",
28316 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28317 "-DHAVE_SYS_UIO_H",
28318 "-fstack-protector",
28319 "-mno-outline",
28320 "-mno-outline-atomics",
28321 ],
28322 local_include_dirs: [
28323 "third_party/libevent/android/",
28324 ],
28325 },
28326 android_x86: {
28327 cflags: [
28328 "-DANDROID",
28329 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28330 "-DHAVE_SYS_UIO_H",
28331 "-msse3",
28332 ],
28333 local_include_dirs: [
28334 "third_party/libevent/android/",
28335 ],
28336 },
28337 android_x86_64: {
28338 cflags: [
28339 "-DANDROID",
28340 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28341 "-DHAVE_SYS_UIO_H",
28342 "-fstack-protector",
28343 "-msse3",
28344 ],
28345 local_include_dirs: [
28346 "third_party/libevent/android/",
28347 ],
28348 },
28349 host: {
28350 cflags: [
28351 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
28352 "-DUSE_AURA=1",
28353 "-DUSE_OZONE=1",
28354 "-DUSE_UDEV",
28355 "-D_FILE_OFFSET_BITS=64",
28356 "-D_LARGEFILE64_SOURCE",
28357 "-D_LARGEFILE_SOURCE",
28358 "-fstack-protector",
28359 "-msse3",
28360 ],
28361 local_include_dirs: [
28362 "third_party/libevent/linux/",
28363 ],
28364 },
28365 },
28366}
28367
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028368// GN: //third_party/libxml:libxml__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028369cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028370 name: "cronet_aml_third_party_libxml_libxml__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028371 srcs: [
28372 "third_party/libxml/src/HTMLparser.c",
28373 "third_party/libxml/src/HTMLtree.c",
28374 "third_party/libxml/src/SAX2.c",
28375 "third_party/libxml/src/buf.c",
28376 "third_party/libxml/src/chvalid.c",
28377 "third_party/libxml/src/dict.c",
28378 "third_party/libxml/src/encoding.c",
28379 "third_party/libxml/src/entities.c",
28380 "third_party/libxml/src/error.c",
28381 "third_party/libxml/src/globals.c",
28382 "third_party/libxml/src/hash.c",
28383 "third_party/libxml/src/list.c",
28384 "third_party/libxml/src/parser.c",
28385 "third_party/libxml/src/parserInternals.c",
28386 "third_party/libxml/src/pattern.c",
28387 "third_party/libxml/src/threads.c",
28388 "third_party/libxml/src/tree.c",
28389 "third_party/libxml/src/uri.c",
28390 "third_party/libxml/src/valid.c",
28391 "third_party/libxml/src/xmlIO.c",
28392 "third_party/libxml/src/xmlmemory.c",
28393 "third_party/libxml/src/xmlreader.c",
28394 "third_party/libxml/src/xmlsave.c",
28395 "third_party/libxml/src/xmlstring.c",
28396 "third_party/libxml/src/xmlunicode.c",
28397 "third_party/libxml/src/xmlwriter.c",
28398 "third_party/libxml/src/xpath.c",
28399 ],
28400 shared_libs: [
28401 "libz",
28402 ],
28403 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028404 "cronet_aml_third_party_icu_icuuc_private__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028405 ],
28406 defaults: [
28407 "cronet_aml_defaults",
28408 ],
28409 cflags: [
28410 "-DANDROID",
28411 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28412 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28413 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28414 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28415 "-DHAVE_SYS_UIO_H",
28416 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
28417 "-DNDEBUG",
28418 "-DNO_UNWIND_TABLES",
28419 "-DNVALGRIND",
28420 "-DOFFICIAL_BUILD",
28421 "-DUSE_CHROMIUM_ICU=1",
28422 "-DU_ENABLE_DYLOAD=0",
28423 "-DU_ENABLE_RESOURCE_TRACING=0",
28424 "-DU_ENABLE_TRACING=1",
28425 "-DU_STATIC_IMPLEMENTATION",
28426 "-DU_USING_ICU_NAMESPACE=0",
28427 "-D_GNU_SOURCE",
28428 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28429 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28430 "-D_REENTRANT",
28431 "-Oz",
28432 "-fdata-sections",
28433 "-ffunction-sections",
28434 "-fno-asynchronous-unwind-tables",
28435 "-fno-unwind-tables",
28436 "-fvisibility-inlines-hidden",
28437 "-fvisibility=hidden",
28438 "-g1",
28439 ],
28440 local_include_dirs: [
28441 "./",
28442 "buildtools/third_party/libc++/",
28443 "buildtools/third_party/libc++/trunk/include",
28444 "buildtools/third_party/libc++abi/trunk/include",
28445 "third_party/icu/source/common/",
28446 "third_party/icu/source/i18n/",
28447 "third_party/libxml/linux/",
28448 "third_party/libxml/linux/include/",
28449 "third_party/libxml/src/include/",
28450 ],
28451 cpp_std: "c++17",
28452 ldflags: [
28453 "-Wl,--as-needed",
28454 "-Wl,--gc-sections",
28455 "-Wl,--icf=all",
28456 ],
28457 target: {
28458 android_arm: {
28459 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090028460 "-fstack-protector",
28461 ],
28462 },
28463 android_arm64: {
28464 cflags: [
28465 "-fstack-protector",
28466 "-mno-outline",
28467 "-mno-outline-atomics",
28468 ],
28469 },
Motomu Utsumi65501182022-11-18 15:26:35 +090028470 android_x86: {
28471 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090028472 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090028473 ],
28474 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090028475 android_x86_64: {
28476 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090028477 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090028478 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090028479 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090028480 },
28481 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070028482}
28483
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028484// GN: //third_party/libxml:libxml_utils__testing
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028485cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028486 name: "cronet_aml_third_party_libxml_libxml_utils__testing",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028487 srcs: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028488 "third_party/libxml/chromium/libxml_utils.cc",
28489 ],
28490 shared_libs: [
28491 "libz",
28492 ],
28493 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028494 "cronet_aml_third_party_icu_icuuc_private__testing",
28495 "cronet_aml_third_party_libxml_libxml__testing",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028496 ],
28497 defaults: [
28498 "cronet_aml_defaults",
28499 ],
28500 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080028501 "-DANDROID",
28502 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090028503 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28504 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028505 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080028506 "-DHAVE_SYS_UIO_H",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028507 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028508 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090028509 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090028510 "-DNVALGRIND",
28511 "-DOFFICIAL_BUILD",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028512 "-DUSE_CHROMIUM_ICU=1",
28513 "-DU_ENABLE_DYLOAD=0",
28514 "-DU_ENABLE_RESOURCE_TRACING=0",
28515 "-DU_ENABLE_TRACING=1",
28516 "-DU_STATIC_IMPLEMENTATION",
28517 "-DU_USING_ICU_NAMESPACE=0",
28518 "-D_FORTIFY_SOURCE=2",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028519 "-D_GNU_SOURCE",
28520 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28521 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028522 "-D__STDC_CONSTANT_MACROS",
28523 "-D__STDC_FORMAT_MACROS",
28524 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090028525 "-fdata-sections",
28526 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090028527 "-fno-asynchronous-unwind-tables",
28528 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090028529 "-fvisibility-inlines-hidden",
28530 "-fvisibility=hidden",
28531 "-g1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028532 ],
28533 local_include_dirs: [
28534 "./",
28535 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070028536 "buildtools/third_party/libc++/trunk/include",
28537 "buildtools/third_party/libc++abi/trunk/include",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028538 "third_party/icu/source/common/",
28539 "third_party/icu/source/i18n/",
28540 "third_party/libxml/linux/include/",
28541 "third_party/libxml/src/include/",
28542 ],
28543 cpp_std: "c++17",
28544 ldflags: [
28545 "-Wl,--as-needed",
28546 "-Wl,--gc-sections",
28547 "-Wl,--icf=all",
28548 ],
28549 target: {
28550 android_arm: {
28551 cflags: [
28552 "-fstack-protector",
28553 ],
28554 },
28555 android_arm64: {
28556 cflags: [
28557 "-fstack-protector",
28558 "-mno-outline",
28559 "-mno-outline-atomics",
28560 ],
28561 },
28562 android_x86: {
28563 cflags: [
28564 "-msse3",
28565 ],
28566 },
28567 android_x86_64: {
28568 cflags: [
28569 "-fstack-protector",
28570 "-msse3",
28571 ],
28572 },
28573 },
28574}
28575
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028576// GN: //third_party/libxml:xml_reader__testing
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028577cc_library_static {
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028578 name: "cronet_aml_third_party_libxml_xml_reader__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028579 srcs: [
28580 "third_party/libxml/chromium/xml_reader.cc",
28581 ],
28582 shared_libs: [
28583 "libz",
28584 ],
28585 static_libs: [
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028586 "cronet_aml_third_party_icu_icuuc_private__testing",
28587 "cronet_aml_third_party_libxml_libxml__testing",
28588 "cronet_aml_third_party_libxml_libxml_utils__testing",
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000028589 ],
28590 defaults: [
28591 "cronet_aml_defaults",
28592 ],
28593 cflags: [
28594 "-DANDROID",
28595 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28596 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28597 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28598 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28599 "-DHAVE_SYS_UIO_H",
28600 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
28601 "-DNDEBUG",
28602 "-DNO_UNWIND_TABLES",
28603 "-DNVALGRIND",
28604 "-DOFFICIAL_BUILD",
28605 "-DUSE_CHROMIUM_ICU=1",
28606 "-DU_ENABLE_DYLOAD=0",
28607 "-DU_ENABLE_RESOURCE_TRACING=0",
28608 "-DU_ENABLE_TRACING=1",
28609 "-DU_STATIC_IMPLEMENTATION",
28610 "-DU_USING_ICU_NAMESPACE=0",
28611 "-D_FORTIFY_SOURCE=2",
28612 "-D_GNU_SOURCE",
28613 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28614 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28615 "-D__STDC_CONSTANT_MACROS",
28616 "-D__STDC_FORMAT_MACROS",
28617 "-Oz",
28618 "-fdata-sections",
28619 "-ffunction-sections",
28620 "-fno-asynchronous-unwind-tables",
28621 "-fno-unwind-tables",
28622 "-fvisibility-inlines-hidden",
28623 "-fvisibility=hidden",
28624 "-g1",
28625 ],
28626 local_include_dirs: [
28627 "./",
28628 "buildtools/third_party/libc++/",
28629 "buildtools/third_party/libc++/trunk/include",
28630 "buildtools/third_party/libc++abi/trunk/include",
28631 "third_party/icu/source/common/",
28632 "third_party/icu/source/i18n/",
28633 "third_party/libxml/linux/include/",
28634 "third_party/libxml/src/include/",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028635 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090028636 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090028637 ldflags: [
28638 "-Wl,--as-needed",
28639 "-Wl,--gc-sections",
28640 "-Wl,--icf=all",
28641 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090028642 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090028643 android_arm: {
28644 cflags: [
28645 "-fstack-protector",
28646 ],
28647 },
28648 android_arm64: {
28649 cflags: [
28650 "-fstack-protector",
28651 "-mno-outline",
28652 "-mno-outline-atomics",
28653 ],
28654 },
Motomu Utsumi65501182022-11-18 15:26:35 +090028655 android_x86: {
28656 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090028657 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090028658 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090028659 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090028660 android_x86_64: {
28661 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090028662 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090028663 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090028664 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090028665 },
28666 },
Motomu Utsumifa7e9262022-10-26 19:43:02 +090028667}
28668
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028669// GN: //third_party/metrics_proto:metrics_proto__testing
28670cc_genrule {
28671 name: "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen",
28672 srcs: [
28673 "third_party/metrics_proto/call_stack_profile.proto",
28674 "third_party/metrics_proto/cast_logs.proto",
28675 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
28676 "third_party/metrics_proto/chrome_searchbox_stats.proto",
28677 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
28678 "third_party/metrics_proto/custom_tab_session.proto",
28679 "third_party/metrics_proto/execution_context.proto",
28680 "third_party/metrics_proto/extension_install.proto",
28681 "third_party/metrics_proto/histogram_event.proto",
28682 "third_party/metrics_proto/omnibox_event.proto",
28683 "third_party/metrics_proto/omnibox_focus_type.proto",
28684 "third_party/metrics_proto/omnibox_input_type.proto",
28685 "third_party/metrics_proto/perf_data.proto",
28686 "third_party/metrics_proto/perf_stat.proto",
28687 "third_party/metrics_proto/printer_event.proto",
28688 "third_party/metrics_proto/reporting_info.proto",
28689 "third_party/metrics_proto/sampled_profile.proto",
28690 "third_party/metrics_proto/structured_data.proto",
28691 "third_party/metrics_proto/system_profile.proto",
28692 "third_party/metrics_proto/trace_log.proto",
28693 "third_party/metrics_proto/translate_event.proto",
28694 "third_party/metrics_proto/ukm/aggregate.proto",
28695 "third_party/metrics_proto/ukm/entry.proto",
28696 "third_party/metrics_proto/ukm/report.proto",
28697 "third_party/metrics_proto/ukm/source.proto",
28698 "third_party/metrics_proto/user_action_event.proto",
28699 "third_party/metrics_proto/user_demographics.proto",
28700 ],
28701 tools: [
28702 "cronet_aml_third_party_protobuf_protoc",
28703 ],
28704 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)",
28705 out: [
28706 "external/cronet/third_party/metrics_proto/call_stack_profile.pb.cc",
28707 "external/cronet/third_party/metrics_proto/cast_logs.pb.cc",
28708 "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc",
28709 "external/cronet/third_party/metrics_proto/chrome_searchbox_stats.pb.cc",
28710 "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc",
28711 "external/cronet/third_party/metrics_proto/custom_tab_session.pb.cc",
28712 "external/cronet/third_party/metrics_proto/execution_context.pb.cc",
28713 "external/cronet/third_party/metrics_proto/extension_install.pb.cc",
28714 "external/cronet/third_party/metrics_proto/histogram_event.pb.cc",
28715 "external/cronet/third_party/metrics_proto/omnibox_event.pb.cc",
28716 "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.cc",
28717 "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.cc",
28718 "external/cronet/third_party/metrics_proto/perf_data.pb.cc",
28719 "external/cronet/third_party/metrics_proto/perf_stat.pb.cc",
28720 "external/cronet/third_party/metrics_proto/printer_event.pb.cc",
28721 "external/cronet/third_party/metrics_proto/reporting_info.pb.cc",
28722 "external/cronet/third_party/metrics_proto/sampled_profile.pb.cc",
28723 "external/cronet/third_party/metrics_proto/structured_data.pb.cc",
28724 "external/cronet/third_party/metrics_proto/system_profile.pb.cc",
28725 "external/cronet/third_party/metrics_proto/trace_log.pb.cc",
28726 "external/cronet/third_party/metrics_proto/translate_event.pb.cc",
28727 "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.cc",
28728 "external/cronet/third_party/metrics_proto/ukm/entry.pb.cc",
28729 "external/cronet/third_party/metrics_proto/ukm/report.pb.cc",
28730 "external/cronet/third_party/metrics_proto/ukm/source.pb.cc",
28731 "external/cronet/third_party/metrics_proto/user_action_event.pb.cc",
28732 "external/cronet/third_party/metrics_proto/user_demographics.pb.cc",
28733 ],
28734 apex_available: [
28735 "com.android.tethering",
28736 ],
28737}
28738
28739// GN: //third_party/metrics_proto:metrics_proto__testing
28740cc_genrule {
28741 name: "cronet_aml_third_party_metrics_proto_metrics_proto__testing_gen_headers",
28742 srcs: [
28743 "third_party/metrics_proto/call_stack_profile.proto",
28744 "third_party/metrics_proto/cast_logs.proto",
28745 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
28746 "third_party/metrics_proto/chrome_searchbox_stats.proto",
28747 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
28748 "third_party/metrics_proto/custom_tab_session.proto",
28749 "third_party/metrics_proto/execution_context.proto",
28750 "third_party/metrics_proto/extension_install.proto",
28751 "third_party/metrics_proto/histogram_event.proto",
28752 "third_party/metrics_proto/omnibox_event.proto",
28753 "third_party/metrics_proto/omnibox_focus_type.proto",
28754 "third_party/metrics_proto/omnibox_input_type.proto",
28755 "third_party/metrics_proto/perf_data.proto",
28756 "third_party/metrics_proto/perf_stat.proto",
28757 "third_party/metrics_proto/printer_event.proto",
28758 "third_party/metrics_proto/reporting_info.proto",
28759 "third_party/metrics_proto/sampled_profile.proto",
28760 "third_party/metrics_proto/structured_data.proto",
28761 "third_party/metrics_proto/system_profile.proto",
28762 "third_party/metrics_proto/trace_log.proto",
28763 "third_party/metrics_proto/translate_event.proto",
28764 "third_party/metrics_proto/ukm/aggregate.proto",
28765 "third_party/metrics_proto/ukm/entry.proto",
28766 "third_party/metrics_proto/ukm/report.proto",
28767 "third_party/metrics_proto/ukm/source.proto",
28768 "third_party/metrics_proto/user_action_event.proto",
28769 "third_party/metrics_proto/user_demographics.proto",
28770 ],
28771 tools: [
28772 "cronet_aml_third_party_protobuf_protoc",
28773 ],
28774 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)",
28775 out: [
28776 "external/cronet/third_party/metrics_proto/call_stack_profile.pb.h",
28777 "external/cronet/third_party/metrics_proto/cast_logs.pb.h",
28778 "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h",
28779 "external/cronet/third_party/metrics_proto/chrome_searchbox_stats.pb.h",
28780 "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.h",
28781 "external/cronet/third_party/metrics_proto/custom_tab_session.pb.h",
28782 "external/cronet/third_party/metrics_proto/execution_context.pb.h",
28783 "external/cronet/third_party/metrics_proto/extension_install.pb.h",
28784 "external/cronet/third_party/metrics_proto/histogram_event.pb.h",
28785 "external/cronet/third_party/metrics_proto/omnibox_event.pb.h",
28786 "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.h",
28787 "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.h",
28788 "external/cronet/third_party/metrics_proto/perf_data.pb.h",
28789 "external/cronet/third_party/metrics_proto/perf_stat.pb.h",
28790 "external/cronet/third_party/metrics_proto/printer_event.pb.h",
28791 "external/cronet/third_party/metrics_proto/reporting_info.pb.h",
28792 "external/cronet/third_party/metrics_proto/sampled_profile.pb.h",
28793 "external/cronet/third_party/metrics_proto/structured_data.pb.h",
28794 "external/cronet/third_party/metrics_proto/system_profile.pb.h",
28795 "external/cronet/third_party/metrics_proto/trace_log.pb.h",
28796 "external/cronet/third_party/metrics_proto/translate_event.pb.h",
28797 "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.h",
28798 "external/cronet/third_party/metrics_proto/ukm/entry.pb.h",
28799 "external/cronet/third_party/metrics_proto/ukm/report.pb.h",
28800 "external/cronet/third_party/metrics_proto/ukm/source.pb.h",
28801 "external/cronet/third_party/metrics_proto/user_action_event.pb.h",
28802 "external/cronet/third_party/metrics_proto/user_demographics.pb.h",
28803 ],
28804 export_include_dirs: [
28805 ".",
28806 "protos",
28807 "third_party/metrics_proto",
28808 ],
28809 apex_available: [
28810 "com.android.tethering",
28811 ],
28812}
28813
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028814// GN: //third_party/metrics_proto:metrics_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000028815cc_genrule {
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028816 name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen",
28817 srcs: [
28818 "third_party/metrics_proto/call_stack_profile.proto",
28819 "third_party/metrics_proto/cast_logs.proto",
28820 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
28821 "third_party/metrics_proto/chrome_searchbox_stats.proto",
28822 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
28823 "third_party/metrics_proto/custom_tab_session.proto",
28824 "third_party/metrics_proto/execution_context.proto",
28825 "third_party/metrics_proto/extension_install.proto",
28826 "third_party/metrics_proto/histogram_event.proto",
28827 "third_party/metrics_proto/omnibox_event.proto",
28828 "third_party/metrics_proto/omnibox_focus_type.proto",
28829 "third_party/metrics_proto/omnibox_input_type.proto",
28830 "third_party/metrics_proto/perf_data.proto",
28831 "third_party/metrics_proto/perf_stat.proto",
28832 "third_party/metrics_proto/printer_event.proto",
28833 "third_party/metrics_proto/reporting_info.proto",
28834 "third_party/metrics_proto/sampled_profile.proto",
28835 "third_party/metrics_proto/structured_data.proto",
28836 "third_party/metrics_proto/system_profile.proto",
28837 "third_party/metrics_proto/trace_log.proto",
28838 "third_party/metrics_proto/translate_event.proto",
28839 "third_party/metrics_proto/ukm/aggregate.proto",
28840 "third_party/metrics_proto/ukm/entry.proto",
28841 "third_party/metrics_proto/ukm/report.proto",
28842 "third_party/metrics_proto/ukm/source.proto",
28843 "third_party/metrics_proto/user_action_event.proto",
28844 "third_party/metrics_proto/user_demographics.proto",
28845 ],
28846 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090028847 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028848 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090028849 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 +090028850 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090028851 "external/cronet/third_party/metrics_proto/call_stack_profile.pb.cc",
28852 "external/cronet/third_party/metrics_proto/cast_logs.pb.cc",
28853 "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc",
28854 "external/cronet/third_party/metrics_proto/chrome_searchbox_stats.pb.cc",
28855 "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc",
28856 "external/cronet/third_party/metrics_proto/custom_tab_session.pb.cc",
28857 "external/cronet/third_party/metrics_proto/execution_context.pb.cc",
28858 "external/cronet/third_party/metrics_proto/extension_install.pb.cc",
28859 "external/cronet/third_party/metrics_proto/histogram_event.pb.cc",
28860 "external/cronet/third_party/metrics_proto/omnibox_event.pb.cc",
28861 "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.cc",
28862 "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.cc",
28863 "external/cronet/third_party/metrics_proto/perf_data.pb.cc",
28864 "external/cronet/third_party/metrics_proto/perf_stat.pb.cc",
28865 "external/cronet/third_party/metrics_proto/printer_event.pb.cc",
28866 "external/cronet/third_party/metrics_proto/reporting_info.pb.cc",
28867 "external/cronet/third_party/metrics_proto/sampled_profile.pb.cc",
28868 "external/cronet/third_party/metrics_proto/structured_data.pb.cc",
28869 "external/cronet/third_party/metrics_proto/system_profile.pb.cc",
28870 "external/cronet/third_party/metrics_proto/trace_log.pb.cc",
28871 "external/cronet/third_party/metrics_proto/translate_event.pb.cc",
28872 "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.cc",
28873 "external/cronet/third_party/metrics_proto/ukm/entry.pb.cc",
28874 "external/cronet/third_party/metrics_proto/ukm/report.pb.cc",
28875 "external/cronet/third_party/metrics_proto/ukm/source.pb.cc",
28876 "external/cronet/third_party/metrics_proto/user_action_event.pb.cc",
28877 "external/cronet/third_party/metrics_proto/user_demographics.pb.cc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028878 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090028879 apex_available: [
28880 "com.android.tethering",
28881 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028882}
28883
28884// GN: //third_party/metrics_proto:metrics_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000028885cc_genrule {
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028886 name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
28887 srcs: [
28888 "third_party/metrics_proto/call_stack_profile.proto",
28889 "third_party/metrics_proto/cast_logs.proto",
28890 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
28891 "third_party/metrics_proto/chrome_searchbox_stats.proto",
28892 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
28893 "third_party/metrics_proto/custom_tab_session.proto",
28894 "third_party/metrics_proto/execution_context.proto",
28895 "third_party/metrics_proto/extension_install.proto",
28896 "third_party/metrics_proto/histogram_event.proto",
28897 "third_party/metrics_proto/omnibox_event.proto",
28898 "third_party/metrics_proto/omnibox_focus_type.proto",
28899 "third_party/metrics_proto/omnibox_input_type.proto",
28900 "third_party/metrics_proto/perf_data.proto",
28901 "third_party/metrics_proto/perf_stat.proto",
28902 "third_party/metrics_proto/printer_event.proto",
28903 "third_party/metrics_proto/reporting_info.proto",
28904 "third_party/metrics_proto/sampled_profile.proto",
28905 "third_party/metrics_proto/structured_data.proto",
28906 "third_party/metrics_proto/system_profile.proto",
28907 "third_party/metrics_proto/trace_log.proto",
28908 "third_party/metrics_proto/translate_event.proto",
28909 "third_party/metrics_proto/ukm/aggregate.proto",
28910 "third_party/metrics_proto/ukm/entry.proto",
28911 "third_party/metrics_proto/ukm/report.proto",
28912 "third_party/metrics_proto/ukm/source.proto",
28913 "third_party/metrics_proto/user_action_event.proto",
28914 "third_party/metrics_proto/user_demographics.proto",
28915 ],
28916 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090028917 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028918 ],
Motomu Utsumiad6323c2022-12-22 19:20:01 +090028919 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 +090028920 out: [
Motomu Utsumiad6323c2022-12-22 19:20:01 +090028921 "external/cronet/third_party/metrics_proto/call_stack_profile.pb.h",
28922 "external/cronet/third_party/metrics_proto/cast_logs.pb.h",
28923 "external/cronet/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h",
28924 "external/cronet/third_party/metrics_proto/chrome_searchbox_stats.pb.h",
28925 "external/cronet/third_party/metrics_proto/chrome_user_metrics_extension.pb.h",
28926 "external/cronet/third_party/metrics_proto/custom_tab_session.pb.h",
28927 "external/cronet/third_party/metrics_proto/execution_context.pb.h",
28928 "external/cronet/third_party/metrics_proto/extension_install.pb.h",
28929 "external/cronet/third_party/metrics_proto/histogram_event.pb.h",
28930 "external/cronet/third_party/metrics_proto/omnibox_event.pb.h",
28931 "external/cronet/third_party/metrics_proto/omnibox_focus_type.pb.h",
28932 "external/cronet/third_party/metrics_proto/omnibox_input_type.pb.h",
28933 "external/cronet/third_party/metrics_proto/perf_data.pb.h",
28934 "external/cronet/third_party/metrics_proto/perf_stat.pb.h",
28935 "external/cronet/third_party/metrics_proto/printer_event.pb.h",
28936 "external/cronet/third_party/metrics_proto/reporting_info.pb.h",
28937 "external/cronet/third_party/metrics_proto/sampled_profile.pb.h",
28938 "external/cronet/third_party/metrics_proto/structured_data.pb.h",
28939 "external/cronet/third_party/metrics_proto/system_profile.pb.h",
28940 "external/cronet/third_party/metrics_proto/trace_log.pb.h",
28941 "external/cronet/third_party/metrics_proto/translate_event.pb.h",
28942 "external/cronet/third_party/metrics_proto/ukm/aggregate.pb.h",
28943 "external/cronet/third_party/metrics_proto/ukm/entry.pb.h",
28944 "external/cronet/third_party/metrics_proto/ukm/report.pb.h",
28945 "external/cronet/third_party/metrics_proto/ukm/source.pb.h",
28946 "external/cronet/third_party/metrics_proto/user_action_event.pb.h",
28947 "external/cronet/third_party/metrics_proto/user_demographics.pb.h",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028948 ],
28949 export_include_dirs: [
28950 ".",
28951 "protos",
28952 "third_party/metrics_proto",
28953 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090028954 apex_available: [
28955 "com.android.tethering",
28956 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +090028957}
28958
Patrick Rohrcc377df2022-10-28 09:27:15 -070028959// GN: //third_party/modp_b64:modp_b64
Motomu Utsumifcac4852022-10-26 19:28:31 +090028960cc_library_static {
Patrick Rohrcc377df2022-10-28 09:27:15 -070028961 name: "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumifcac4852022-10-26 19:28:31 +090028962 srcs: [
Patrick Rohrcc377df2022-10-28 09:27:15 -070028963 "third_party/modp_b64/modp_b64.cc",
Motomu Utsumifcac4852022-10-26 19:28:31 +090028964 ],
Mohannad Farragedb2fd02023-02-10 14:53:41 +000028965 defaults: [
28966 "cronet_aml_defaults",
28967 ],
28968 cflags: [
28969 "-DANDROID",
28970 "-DANDROID_NDK_VERSION_ROLL=r23_1",
28971 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
28972 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
28973 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
28974 "-DHAVE_SYS_UIO_H",
28975 "-DNDEBUG",
28976 "-DNO_UNWIND_TABLES",
28977 "-DNVALGRIND",
28978 "-DOFFICIAL_BUILD",
28979 "-D_FORTIFY_SOURCE=2",
28980 "-D_GNU_SOURCE",
28981 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
28982 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
28983 "-D__STDC_CONSTANT_MACROS",
28984 "-D__STDC_FORMAT_MACROS",
28985 "-Oz",
28986 "-fdata-sections",
28987 "-ffunction-sections",
28988 "-fno-asynchronous-unwind-tables",
28989 "-fno-unwind-tables",
28990 "-fvisibility-inlines-hidden",
28991 "-fvisibility=hidden",
28992 "-g1",
28993 ],
28994 local_include_dirs: [
28995 "./",
28996 "buildtools/third_party/libc++/",
28997 "buildtools/third_party/libc++/trunk/include",
28998 "buildtools/third_party/libc++abi/trunk/include",
28999 ],
29000 cpp_std: "c++17",
29001 ldflags: [
29002 "-Wl,--as-needed",
29003 "-Wl,--gc-sections",
29004 "-Wl,--icf=all",
29005 ],
29006 target: {
29007 android_arm: {
29008 cflags: [
29009 "-fstack-protector",
29010 ],
29011 },
29012 android_arm64: {
29013 cflags: [
29014 "-fstack-protector",
29015 "-mno-outline",
29016 "-mno-outline-atomics",
29017 ],
29018 },
29019 android_x86: {
29020 cflags: [
29021 "-msse3",
29022 ],
29023 },
29024 android_x86_64: {
29025 cflags: [
29026 "-fstack-protector",
29027 "-msse3",
29028 ],
29029 },
29030 },
29031}
29032
29033// GN: //third_party/modp_b64:modp_b64__testing
29034cc_library_static {
29035 name: "cronet_aml_third_party_modp_b64_modp_b64__testing",
29036 srcs: [
29037 "third_party/modp_b64/modp_b64.cc",
29038 ],
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029039 host_supported: true,
Motomu Utsumifcac4852022-10-26 19:28:31 +090029040 defaults: [
29041 "cronet_aml_defaults",
29042 ],
29043 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029044 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29045 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029046 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029047 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029048 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029049 "-DNVALGRIND",
29050 "-DOFFICIAL_BUILD",
29051 "-D_FORTIFY_SOURCE=2",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090029052 "-D_GNU_SOURCE",
29053 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29054 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -070029055 "-D__STDC_CONSTANT_MACROS",
29056 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029057 "-fdata-sections",
29058 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029059 "-fno-asynchronous-unwind-tables",
29060 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029061 "-fvisibility-inlines-hidden",
29062 "-fvisibility=hidden",
29063 "-g1",
Motomu Utsumifcac4852022-10-26 19:28:31 +090029064 ],
29065 local_include_dirs: [
29066 "./",
29067 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070029068 "buildtools/third_party/libc++/trunk/include",
29069 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumifcac4852022-10-26 19:28:31 +090029070 ],
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029071 ldflags: [
29072 "-Wl,--as-needed",
29073 "-Wl,--gc-sections",
29074 "-Wl,--icf=all",
29075 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090029076 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090029077 android_arm: {
29078 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029079 "-DANDROID",
29080 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29081 "-DHAVE_SYS_UIO_H",
29082 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029083 "-fstack-protector",
29084 ],
29085 },
29086 android_arm64: {
29087 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029088 "-DANDROID",
29089 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29090 "-DHAVE_SYS_UIO_H",
29091 "-Oz",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029092 "-fstack-protector",
29093 "-mno-outline",
29094 "-mno-outline-atomics",
29095 ],
29096 },
Motomu Utsumi65501182022-11-18 15:26:35 +090029097 android_x86: {
29098 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029099 "-DANDROID",
29100 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29101 "-DHAVE_SYS_UIO_H",
29102 "-Oz",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029103 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090029104 ],
29105 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090029106 android_x86_64: {
29107 cflags: [
Mohannad Farrag6f8b0bf2023-01-16 14:46:36 +000029108 "-DANDROID",
29109 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29110 "-DHAVE_SYS_UIO_H",
29111 "-Oz",
29112 "-fstack-protector",
29113 "-msse3",
29114 ],
29115 },
29116 host: {
29117 cflags: [
29118 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
29119 "-DUSE_AURA=1",
29120 "-DUSE_OZONE=1",
29121 "-DUSE_UDEV",
29122 "-D_FILE_OFFSET_BITS=64",
29123 "-D_LARGEFILE64_SOURCE",
29124 "-D_LARGEFILE_SOURCE",
29125 "-O2",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029126 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029127 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090029128 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090029129 },
29130 },
Motomu Utsumifcac4852022-10-26 19:28:31 +090029131}
29132
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029133// GN: //third_party/protobuf:protobuf_full
29134cc_library_static {
29135 name: "cronet_aml_third_party_protobuf_protobuf_full",
29136 srcs: [
29137 "third_party/protobuf/src/google/protobuf/any.cc",
29138 "third_party/protobuf/src/google/protobuf/any.pb.cc",
29139 "third_party/protobuf/src/google/protobuf/any_lite.cc",
29140 "third_party/protobuf/src/google/protobuf/api.pb.cc",
29141 "third_party/protobuf/src/google/protobuf/arena.cc",
29142 "third_party/protobuf/src/google/protobuf/arenastring.cc",
29143 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
29144 "third_party/protobuf/src/google/protobuf/compiler/importer.cc",
29145 "third_party/protobuf/src/google/protobuf/compiler/parser.cc",
29146 "third_party/protobuf/src/google/protobuf/descriptor.cc",
29147 "third_party/protobuf/src/google/protobuf/descriptor.pb.cc",
29148 "third_party/protobuf/src/google/protobuf/descriptor_database.cc",
29149 "third_party/protobuf/src/google/protobuf/duration.pb.cc",
29150 "third_party/protobuf/src/google/protobuf/dynamic_message.cc",
29151 "third_party/protobuf/src/google/protobuf/empty.pb.cc",
29152 "third_party/protobuf/src/google/protobuf/extension_set.cc",
29153 "third_party/protobuf/src/google/protobuf/extension_set_heavy.cc",
29154 "third_party/protobuf/src/google/protobuf/field_mask.pb.cc",
29155 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
29156 "third_party/protobuf/src/google/protobuf/generated_message_bases.cc",
29157 "third_party/protobuf/src/google/protobuf/generated_message_reflection.cc",
29158 "third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc",
29159 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
29160 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
29161 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
29162 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
29163 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
29164 "third_party/protobuf/src/google/protobuf/io/gzip_stream.cc",
29165 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
29166 "third_party/protobuf/src/google/protobuf/io/printer.cc",
29167 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
29168 "third_party/protobuf/src/google/protobuf/io/tokenizer.cc",
29169 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
29170 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
29171 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
29172 "third_party/protobuf/src/google/protobuf/map.cc",
29173 "third_party/protobuf/src/google/protobuf/map_field.cc",
29174 "third_party/protobuf/src/google/protobuf/message.cc",
29175 "third_party/protobuf/src/google/protobuf/message_lite.cc",
29176 "third_party/protobuf/src/google/protobuf/parse_context.cc",
29177 "third_party/protobuf/src/google/protobuf/reflection_ops.cc",
29178 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
29179 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
29180 "third_party/protobuf/src/google/protobuf/service.cc",
29181 "third_party/protobuf/src/google/protobuf/source_context.pb.cc",
29182 "third_party/protobuf/src/google/protobuf/struct.pb.cc",
29183 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
29184 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
29185 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
29186 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
29187 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
29188 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
29189 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
29190 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
29191 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
29192 "third_party/protobuf/src/google/protobuf/stubs/substitute.cc",
29193 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
29194 "third_party/protobuf/src/google/protobuf/text_format.cc",
29195 "third_party/protobuf/src/google/protobuf/timestamp.pb.cc",
29196 "third_party/protobuf/src/google/protobuf/type.pb.cc",
29197 "third_party/protobuf/src/google/protobuf/unknown_field_set.cc",
29198 "third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc",
29199 "third_party/protobuf/src/google/protobuf/util/field_comparator.cc",
29200 "third_party/protobuf/src/google/protobuf/util/field_mask_util.cc",
29201 "third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc",
29202 "third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc",
29203 "third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc",
29204 "third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc",
29205 "third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc",
29206 "third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc",
29207 "third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc",
29208 "third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc",
29209 "third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc",
29210 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc",
29211 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc",
29212 "third_party/protobuf/src/google/protobuf/util/internal/type_info.cc",
29213 "third_party/protobuf/src/google/protobuf/util/internal/utility.cc",
29214 "third_party/protobuf/src/google/protobuf/util/json_util.cc",
29215 "third_party/protobuf/src/google/protobuf/util/message_differencer.cc",
29216 "third_party/protobuf/src/google/protobuf/util/time_util.cc",
29217 "third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc",
29218 "third_party/protobuf/src/google/protobuf/wire_format.cc",
29219 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
29220 "third_party/protobuf/src/google/protobuf/wrappers.pb.cc",
29221 ],
Patrick Rohr3d1059c2022-12-21 11:04:33 -080029222 shared_libs: [
29223 "libz",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029224 ],
29225 host_supported: true,
29226 device_supported: false,
29227 defaults: [
29228 "cronet_aml_defaults",
29229 ],
29230 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029231 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29232 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029233 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029234 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029235 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29236 "-DGOOGLE_PROTOBUF_NO_RTTI",
29237 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29238 "-DHAVE_PTHREAD",
29239 "-DHAVE_ZLIB",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029240 "-DNDEBUG",
29241 "-DNO_UNWIND_TABLES",
29242 "-DNVALGRIND",
29243 "-DOFFICIAL_BUILD",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029244 "-DUSE_AURA=1",
29245 "-DUSE_OZONE=1",
29246 "-DUSE_UDEV",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029247 "-D_FILE_OFFSET_BITS=64",
29248 "-D_GNU_SOURCE",
29249 "-D_LARGEFILE64_SOURCE",
29250 "-D_LARGEFILE_SOURCE",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029251 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029252 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029253 "-O2",
29254 "-fdata-sections",
29255 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029256 "-fno-asynchronous-unwind-tables",
29257 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029258 "-fstack-protector",
29259 "-fvisibility-inlines-hidden",
29260 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029261 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000029262 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029263 ],
29264 local_include_dirs: [
29265 "./",
29266 "buildtools/third_party/libc++/",
29267 "buildtools/third_party/libc++/trunk/include",
29268 "buildtools/third_party/libc++abi/trunk/include",
29269 "third_party/protobuf/src/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029270 ],
29271 cpp_std: "c++20",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029272 ldflags: [
29273 "-Wl,--as-needed",
29274 "-Wl,--gc-sections",
29275 "-Wl,--icf=all",
29276 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029277}
29278
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029279// GN: //third_party/protobuf:protobuf_lite
29280cc_library_static {
29281 name: "cronet_aml_third_party_protobuf_protobuf_lite",
29282 srcs: [
29283 "third_party/protobuf/src/google/protobuf/any_lite.cc",
29284 "third_party/protobuf/src/google/protobuf/arena.cc",
29285 "third_party/protobuf/src/google/protobuf/arenastring.cc",
29286 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
29287 "third_party/protobuf/src/google/protobuf/extension_set.cc",
29288 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
29289 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
29290 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
29291 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
29292 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
29293 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
29294 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
29295 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
29296 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
29297 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
29298 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
29299 "third_party/protobuf/src/google/protobuf/map.cc",
29300 "third_party/protobuf/src/google/protobuf/message_lite.cc",
29301 "third_party/protobuf/src/google/protobuf/parse_context.cc",
29302 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
29303 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
29304 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
29305 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
29306 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
29307 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
29308 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
29309 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
29310 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
29311 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
29312 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
29313 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
29314 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
29315 ],
29316 shared_libs: [
29317 "liblog",
29318 ],
29319 defaults: [
29320 "cronet_aml_defaults",
29321 ],
29322 cflags: [
29323 "-DANDROID",
29324 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029325 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29326 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029327 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029328 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29329 "-DGOOGLE_PROTOBUF_NO_RTTI",
29330 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29331 "-DHAVE_PTHREAD",
29332 "-DHAVE_SYS_UIO_H",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029333 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029334 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029335 "-DNVALGRIND",
29336 "-DOFFICIAL_BUILD",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029337 "-D_GNU_SOURCE",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029338 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029339 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029340 "-O2",
29341 "-fdata-sections",
29342 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029343 "-fno-asynchronous-unwind-tables",
29344 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029345 "-fvisibility-inlines-hidden",
29346 "-fvisibility=hidden",
29347 "-g1",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029348 ],
29349 local_include_dirs: [
29350 "./",
29351 "buildtools/third_party/libc++/",
29352 "buildtools/third_party/libc++/trunk/include",
29353 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090029354 "third_party/protobuf/src/",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029355 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029356 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029357 ldflags: [
29358 "-Wl,--as-needed",
29359 "-Wl,--gc-sections",
29360 "-Wl,--icf=all",
29361 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029362 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090029363 android_arm: {
29364 cflags: [
29365 "-fstack-protector",
29366 ],
29367 },
29368 android_arm64: {
29369 cflags: [
29370 "-fstack-protector",
29371 "-mno-outline",
29372 "-mno-outline-atomics",
29373 ],
29374 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029375 android_x86: {
29376 cflags: [
29377 "-msse3",
29378 ],
29379 },
29380 android_x86_64: {
29381 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090029382 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029383 "-msse3",
29384 ],
29385 },
29386 },
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090029387}
29388
Mohannad Farragedb2fd02023-02-10 14:53:41 +000029389// GN: //third_party/protobuf:protobuf_lite__testing
29390cc_library_static {
29391 name: "cronet_aml_third_party_protobuf_protobuf_lite__testing",
29392 srcs: [
29393 "third_party/protobuf/src/google/protobuf/any_lite.cc",
29394 "third_party/protobuf/src/google/protobuf/arena.cc",
29395 "third_party/protobuf/src/google/protobuf/arenastring.cc",
29396 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
29397 "third_party/protobuf/src/google/protobuf/extension_set.cc",
29398 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
29399 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
29400 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
29401 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
29402 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
29403 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
29404 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
29405 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
29406 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
29407 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
29408 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
29409 "third_party/protobuf/src/google/protobuf/map.cc",
29410 "third_party/protobuf/src/google/protobuf/message_lite.cc",
29411 "third_party/protobuf/src/google/protobuf/parse_context.cc",
29412 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
29413 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
29414 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
29415 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
29416 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
29417 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
29418 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
29419 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
29420 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
29421 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
29422 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
29423 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
29424 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
29425 ],
29426 shared_libs: [
29427 "liblog",
29428 ],
29429 defaults: [
29430 "cronet_aml_defaults",
29431 ],
29432 cflags: [
29433 "-DANDROID",
29434 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29435 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29436 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
29437 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
29438 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29439 "-DGOOGLE_PROTOBUF_NO_RTTI",
29440 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29441 "-DHAVE_PTHREAD",
29442 "-DHAVE_SYS_UIO_H",
29443 "-DNDEBUG",
29444 "-DNO_UNWIND_TABLES",
29445 "-DNVALGRIND",
29446 "-DOFFICIAL_BUILD",
29447 "-D_GNU_SOURCE",
29448 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29449 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29450 "-O2",
29451 "-fdata-sections",
29452 "-ffunction-sections",
29453 "-fno-asynchronous-unwind-tables",
29454 "-fno-unwind-tables",
29455 "-fvisibility-inlines-hidden",
29456 "-fvisibility=hidden",
29457 "-g1",
29458 ],
29459 local_include_dirs: [
29460 "./",
29461 "buildtools/third_party/libc++/",
29462 "buildtools/third_party/libc++/trunk/include",
29463 "buildtools/third_party/libc++abi/trunk/include",
29464 "third_party/protobuf/src/",
29465 ],
29466 cpp_std: "c++17",
29467 ldflags: [
29468 "-Wl,--as-needed",
29469 "-Wl,--gc-sections",
29470 "-Wl,--icf=all",
29471 ],
29472 target: {
29473 android_arm: {
29474 cflags: [
29475 "-fstack-protector",
29476 ],
29477 },
29478 android_arm64: {
29479 cflags: [
29480 "-fstack-protector",
29481 "-mno-outline",
29482 "-mno-outline-atomics",
29483 ],
29484 },
29485 android_x86: {
29486 cflags: [
29487 "-msse3",
29488 ],
29489 },
29490 android_x86_64: {
29491 cflags: [
29492 "-fstack-protector",
29493 "-msse3",
29494 ],
29495 },
29496 },
29497}
29498
Patrick Rohrad7a29c2022-11-16 21:48:09 -080029499// GN: //third_party/protobuf:protoc
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029500cc_binary {
Patrick Rohrad7a29c2022-11-16 21:48:09 -080029501 name: "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029502 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000029503 ":cronet_aml_buildtools_third_party_libc___libc__",
29504 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029505 "third_party/protobuf/src/google/protobuf/compiler/main.cc",
29506 ],
Patrick Rohr3d1059c2022-12-21 11:04:33 -080029507 shared_libs: [
29508 "libz",
29509 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029510 static_libs: [
Motomu Utsumi6ccc9d82022-11-16 18:05:45 +090029511 "cronet_aml_third_party_protobuf_protobuf_full",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029512 "cronet_aml_third_party_protobuf_protoc_lib",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029513 ],
29514 host_supported: true,
29515 device_supported: false,
29516 defaults: [
29517 "cronet_aml_defaults",
29518 ],
29519 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029520 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29521 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029522 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029523 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029524 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29525 "-DGOOGLE_PROTOBUF_NO_RTTI",
29526 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29527 "-DHAVE_PTHREAD",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029528 "-DNDEBUG",
29529 "-DNO_UNWIND_TABLES",
29530 "-DNVALGRIND",
29531 "-DOFFICIAL_BUILD",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029532 "-DUSE_AURA=1",
29533 "-DUSE_OZONE=1",
29534 "-DUSE_UDEV",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029535 "-D_FILE_OFFSET_BITS=64",
29536 "-D_GNU_SOURCE",
29537 "-D_LARGEFILE64_SOURCE",
29538 "-D_LARGEFILE_SOURCE",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029539 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029540 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029541 "-O2",
29542 "-fdata-sections",
29543 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029544 "-fno-asynchronous-unwind-tables",
29545 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029546 "-fstack-protector",
29547 "-fvisibility-inlines-hidden",
29548 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029549 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000029550 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029551 ],
29552 local_include_dirs: [
29553 "./",
29554 "buildtools/third_party/libc++/",
29555 "buildtools/third_party/libc++/trunk/include",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029556 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029557 "third_party/protobuf/src/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029558 ],
29559 cpp_std: "c++20",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029560 ldflags: [
29561 "-Wl,--as-needed",
29562 "-Wl,--gc-sections",
29563 "-Wl,--icf=all",
29564 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029565}
29566
29567// GN: //third_party/protobuf:protoc_lib
29568cc_library_static {
29569 name: "cronet_aml_third_party_protobuf_protoc_lib",
29570 srcs: [
29571 "third_party/protobuf/src/google/protobuf/compiler/code_generator.cc",
29572 "third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc",
29573 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc",
29574 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc",
29575 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc",
29576 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc",
29577 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc",
29578 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc",
29579 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc",
29580 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc",
29581 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc",
29582 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc",
29583 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc",
29584 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc",
29585 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc",
29586 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc",
29587 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc",
29588 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc",
29589 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc",
29590 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc",
29591 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc",
29592 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc",
29593 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc",
29594 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc",
29595 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc",
29596 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc",
29597 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc",
29598 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc",
29599 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc",
29600 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc",
29601 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc",
29602 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc",
29603 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc",
29604 "third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc",
29605 "third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc",
29606 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc",
29607 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc",
29608 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc",
29609 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc",
29610 "third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc",
29611 "third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc",
29612 "third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc",
29613 "third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc",
29614 "third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc",
29615 "third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc",
29616 "third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc",
29617 "third_party/protobuf/src/google/protobuf/compiler/java/java_kotlin_generator.cc",
29618 "third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.cc",
29619 "third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc",
29620 "third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc",
29621 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc",
29622 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc",
29623 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.cc",
29624 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc",
29625 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.cc",
29626 "third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc",
29627 "third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc",
29628 "third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc",
29629 "third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc",
29630 "third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc",
29631 "third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.cc",
29632 "third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc",
29633 "third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc",
29634 "third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc",
29635 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc",
29636 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc",
29637 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc",
29638 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc",
29639 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc",
29640 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc",
29641 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc",
29642 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc",
29643 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc",
29644 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc",
29645 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc",
29646 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc",
29647 "third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc",
29648 "third_party/protobuf/src/google/protobuf/compiler/plugin.cc",
29649 "third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc",
29650 "third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc",
29651 "third_party/protobuf/src/google/protobuf/compiler/python/python_helpers.cc",
29652 "third_party/protobuf/src/google/protobuf/compiler/python/python_pyi_generator.cc",
29653 "third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc",
29654 "third_party/protobuf/src/google/protobuf/compiler/subprocess.cc",
29655 "third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc",
29656 ],
Patrick Rohr3d1059c2022-12-21 11:04:33 -080029657 shared_libs: [
29658 "libz",
29659 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029660 static_libs: [
29661 "cronet_aml_third_party_protobuf_protobuf_full",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029662 ],
29663 host_supported: true,
29664 device_supported: false,
29665 defaults: [
29666 "cronet_aml_defaults",
29667 ],
29668 cflags: [
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029669 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29670 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029671 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029672 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029673 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
29674 "-DGOOGLE_PROTOBUF_NO_RTTI",
29675 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
29676 "-DHAVE_PTHREAD",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029677 "-DNDEBUG",
29678 "-DNO_UNWIND_TABLES",
29679 "-DNVALGRIND",
29680 "-DOFFICIAL_BUILD",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029681 "-DUSE_AURA=1",
29682 "-DUSE_OZONE=1",
29683 "-DUSE_UDEV",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029684 "-D_FILE_OFFSET_BITS=64",
29685 "-D_GNU_SOURCE",
29686 "-D_LARGEFILE64_SOURCE",
29687 "-D_LARGEFILE_SOURCE",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029688 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029689 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029690 "-O2",
29691 "-fdata-sections",
29692 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029693 "-fno-asynchronous-unwind-tables",
29694 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029695 "-fstack-protector",
29696 "-fvisibility-inlines-hidden",
29697 "-fvisibility=hidden",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029698 "-g1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000029699 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029700 ],
29701 local_include_dirs: [
29702 "./",
29703 "buildtools/third_party/libc++/",
29704 "buildtools/third_party/libc++/trunk/include",
29705 "buildtools/third_party/libc++abi/trunk/include",
29706 "third_party/protobuf/src/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029707 ],
29708 cpp_std: "c++20",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029709 ldflags: [
29710 "-Wl,--as-needed",
29711 "-Wl,--gc-sections",
29712 "-Wl,--icf=all",
29713 ],
Motomu Utsumidee9ce02022-11-16 18:02:41 +090029714}
29715
Motomu Utsumie74bab82022-12-16 18:00:12 +090029716// GN: //url:buildflags
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000029717cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090029718 name: "cronet_aml_url_buildflags",
Patrick Rohrcb035942022-11-01 12:12:52 -070029719 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
29720 "$(location build/write_buildflag_header.py) --output " +
29721 "$(out) " +
29722 "--rulename " +
29723 "//url:buildflags " +
29724 "--gen-dir " +
29725 ". " +
29726 "--definitions " +
29727 "/dev/stdin",
29728 out: [
29729 "url/buildflags.h",
29730 ],
29731 tool_files: [
29732 "build/write_buildflag_header.py",
29733 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090029734 apex_available: [
29735 "com.android.tethering",
29736 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070029737}
29738
Mohannad Farragedb2fd02023-02-10 14:53:41 +000029739// GN: //url:buildflags__testing
29740cc_genrule {
29741 name: "cronet_aml_url_buildflags__testing",
29742 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
29743 "$(location build/write_buildflag_header.py) --output " +
29744 "$(out) " +
29745 "--rulename " +
29746 "//url:buildflags " +
29747 "--gen-dir " +
29748 ". " +
29749 "--definitions " +
29750 "/dev/stdin",
29751 out: [
29752 "url/buildflags.h",
29753 ],
29754 tool_files: [
29755 "build/write_buildflag_header.py",
29756 ],
29757 apex_available: [
29758 "com.android.tethering",
29759 ],
29760}
29761
Patrick Rohrcb035942022-11-01 12:12:52 -070029762// GN: //url:url
29763cc_library_static {
29764 name: "cronet_aml_url_url",
29765 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070029766 "url/gurl.cc",
29767 "url/origin.cc",
29768 "url/scheme_host_port.cc",
29769 "url/third_party/mozilla/url_parse.cc",
29770 "url/url_canon.cc",
29771 "url/url_canon_etc.cc",
29772 "url/url_canon_filesystemurl.cc",
29773 "url/url_canon_fileurl.cc",
29774 "url/url_canon_host.cc",
29775 "url/url_canon_internal.cc",
29776 "url/url_canon_ip.cc",
29777 "url/url_canon_mailtourl.cc",
29778 "url/url_canon_path.cc",
29779 "url/url_canon_pathurl.cc",
29780 "url/url_canon_query.cc",
29781 "url/url_canon_relative.cc",
29782 "url/url_canon_stdstring.cc",
29783 "url/url_canon_stdurl.cc",
29784 "url/url_constants.cc",
29785 "url/url_idna_icu_alternatives_android.cc",
29786 "url/url_parse_file.cc",
29787 "url/url_util.cc",
29788 ],
29789 shared_libs: [
29790 "libandroid",
29791 "liblog",
29792 ],
29793 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080029794 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070029795 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080029796 "cronet_aml_base_base_static",
29797 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -070029798 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090029799 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080029800 "cronet_aml_third_party_icu_icui18n",
29801 "cronet_aml_third_party_icu_icuuc_private",
29802 "cronet_aml_third_party_libevent_libevent",
29803 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070029804 ],
Motomu Utsumie74bab82022-12-16 18:00:12 +090029805 generated_headers: [
29806 "cronet_aml_base_debugging_buildflags",
29807 "cronet_aml_base_logging_buildflags",
29808 "cronet_aml_build_chromeos_buildflags",
29809 "cronet_aml_url_buildflags",
29810 "cronet_aml_url_url_jni_headers",
29811 ],
29812 export_generated_headers: [
29813 "cronet_aml_base_debugging_buildflags",
29814 "cronet_aml_base_logging_buildflags",
29815 "cronet_aml_build_chromeos_buildflags",
29816 "cronet_aml_url_buildflags",
29817 "cronet_aml_url_url_jni_headers",
29818 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070029819 defaults: [
29820 "cronet_aml_defaults",
29821 ],
29822 cflags: [
29823 "-DANDROID",
29824 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029825 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29826 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029827 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
Patrick Rohrcb035942022-11-01 12:12:52 -070029828 "-DHAVE_SYS_UIO_H",
29829 "-DIS_URL_IMPL",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029830 "-DNDEBUG",
Motomu Utsumi8d9a6222023-02-10 16:02:21 +090029831 "-DNO_UNWIND_TABLES",
Motomu Utsumic525cb72023-01-27 13:25:41 +090029832 "-DNVALGRIND",
29833 "-DOFFICIAL_BUILD",
29834 "-D_FORTIFY_SOURCE=2",
Patrick Rohrcb035942022-11-01 12:12:52 -070029835 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070029836 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070029837 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29838 "-D__STDC_CONSTANT_MACROS",
29839 "-D__STDC_FORMAT_MACROS",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029840 "-Oz",
29841 "-fdata-sections",
29842 "-ffunction-sections",
Motomu Utsumi925a9d52023-02-10 18:22:34 +090029843 "-fno-asynchronous-unwind-tables",
29844 "-fno-unwind-tables",
Motomu Utsumicac340f2023-02-09 16:11:34 +090029845 "-fvisibility-inlines-hidden",
29846 "-fvisibility=hidden",
29847 "-g1",
Patrick Rohrcb035942022-11-01 12:12:52 -070029848 ],
29849 local_include_dirs: [
29850 "./",
29851 "buildtools/third_party/libc++/",
29852 "buildtools/third_party/libc++/trunk/include",
29853 "buildtools/third_party/libc++abi/trunk/include",
29854 "third_party/abseil-cpp/",
29855 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070029856 ],
Motomu Utsumiddcc9082022-12-22 15:53:28 +090029857 cpp_std: "c++17",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029858 ldflags: [
29859 "-Wl,--as-needed",
29860 "-Wl,--gc-sections",
29861 "-Wl,--icf=all",
Mohannad Farrag0bf6a692023-01-16 16:08:40 +000029862 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
Mohannad Farrag875d83b2023-01-16 16:02:32 +000029863 "-Wl,-wrap,asprintf",
29864 "-Wl,-wrap,calloc",
29865 "-Wl,-wrap,free",
29866 "-Wl,-wrap,getcwd",
29867 "-Wl,-wrap,malloc",
29868 "-Wl,-wrap,malloc_usable_size",
29869 "-Wl,-wrap,memalign",
29870 "-Wl,-wrap,posix_memalign",
29871 "-Wl,-wrap,pvalloc",
29872 "-Wl,-wrap,realloc",
29873 "-Wl,-wrap,realpath",
29874 "-Wl,-wrap,strdup",
29875 "-Wl,-wrap,strndup",
29876 "-Wl,-wrap,valloc",
29877 "-Wl,-wrap,vasprintf",
Motomu Utsumiea38e4e2023-02-09 16:00:33 +090029878 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000029879 target: {
Motomu Utsumicac340f2023-02-09 16:11:34 +090029880 android_arm: {
29881 cflags: [
29882 "-fstack-protector",
29883 ],
29884 },
29885 android_arm64: {
29886 cflags: [
29887 "-fstack-protector",
29888 "-mno-outline",
29889 "-mno-outline-atomics",
29890 ],
29891 },
Mohannad Farrag631443e2022-11-21 16:17:01 +000029892 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029893 cflags: [
29894 "-msse3",
29895 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000029896 },
29897 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029898 cflags: [
Motomu Utsumicac340f2023-02-09 16:11:34 +090029899 "-fstack-protector",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090029900 "-msse3",
29901 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000029902 },
29903 },
Patrick Rohrcb035942022-11-01 12:12:52 -070029904}
29905
Mohannad Farragedb2fd02023-02-10 14:53:41 +000029906// GN: //url:url__testing
29907cc_library_static {
29908 name: "cronet_aml_url_url__testing",
29909 srcs: [
29910 "url/gurl.cc",
29911 "url/origin.cc",
29912 "url/scheme_host_port.cc",
29913 "url/third_party/mozilla/url_parse.cc",
29914 "url/url_canon.cc",
29915 "url/url_canon_etc.cc",
29916 "url/url_canon_filesystemurl.cc",
29917 "url/url_canon_fileurl.cc",
29918 "url/url_canon_host.cc",
29919 "url/url_canon_internal.cc",
29920 "url/url_canon_ip.cc",
29921 "url/url_canon_mailtourl.cc",
29922 "url/url_canon_path.cc",
29923 "url/url_canon_pathurl.cc",
29924 "url/url_canon_query.cc",
29925 "url/url_canon_relative.cc",
29926 "url/url_canon_stdstring.cc",
29927 "url/url_canon_stdurl.cc",
29928 "url/url_constants.cc",
29929 "url/url_idna_icu_alternatives_android.cc",
29930 "url/url_parse_file.cc",
29931 "url/url_util.cc",
29932 ],
29933 shared_libs: [
29934 "libandroid",
29935 "liblog",
29936 ],
29937 static_libs: [
29938 "cronet_aml_base_allocator_partition_allocator_partition_alloc__testing",
29939 "cronet_aml_base_base__testing",
29940 "cronet_aml_base_base_static__testing",
29941 "cronet_aml_base_third_party_double_conversion_double_conversion__testing",
29942 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations__testing",
29943 "cronet_aml_third_party_boringssl_boringssl__testing",
29944 "cronet_aml_third_party_icu_icui18n__testing",
29945 "cronet_aml_third_party_icu_icuuc_private__testing",
29946 "cronet_aml_third_party_libevent_libevent__testing",
29947 "cronet_aml_third_party_modp_b64_modp_b64__testing",
29948 ],
29949 generated_headers: [
29950 "cronet_aml_base_debugging_buildflags__testing",
29951 "cronet_aml_base_logging_buildflags__testing",
29952 "cronet_aml_build_chromeos_buildflags__testing",
29953 "cronet_aml_url_buildflags__testing",
29954 "cronet_aml_url_url_jni_headers__testing",
29955 ],
29956 export_generated_headers: [
29957 "cronet_aml_base_debugging_buildflags__testing",
29958 "cronet_aml_base_logging_buildflags__testing",
29959 "cronet_aml_build_chromeos_buildflags__testing",
29960 "cronet_aml_url_buildflags__testing",
29961 "cronet_aml_url_url_jni_headers__testing",
29962 ],
29963 defaults: [
29964 "cronet_aml_defaults",
29965 ],
29966 cflags: [
29967 "-DANDROID",
29968 "-DANDROID_NDK_VERSION_ROLL=r23_1",
29969 "-DCR_CLANG_REVISION=\"llvmorg-16-init-6578-g0d30e92f-2\"",
29970 "-DCR_LIBCXX_REVISION=64d36e572d3f9719c5d75011a718f33f11126851",
29971 "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
29972 "-DHAVE_SYS_UIO_H",
29973 "-DIS_URL_IMPL",
29974 "-DNDEBUG",
29975 "-DNO_UNWIND_TABLES",
29976 "-DNVALGRIND",
29977 "-DOFFICIAL_BUILD",
29978 "-D_FORTIFY_SOURCE=2",
29979 "-D_GNU_SOURCE",
29980 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
29981 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
29982 "-D__STDC_CONSTANT_MACROS",
29983 "-D__STDC_FORMAT_MACROS",
29984 "-Oz",
29985 "-fdata-sections",
29986 "-ffunction-sections",
29987 "-fno-asynchronous-unwind-tables",
29988 "-fno-unwind-tables",
29989 "-fvisibility-inlines-hidden",
29990 "-fvisibility=hidden",
29991 "-g1",
29992 ],
29993 local_include_dirs: [
29994 "./",
29995 "buildtools/third_party/libc++/",
29996 "buildtools/third_party/libc++/trunk/include",
29997 "buildtools/third_party/libc++abi/trunk/include",
29998 "third_party/abseil-cpp/",
29999 "third_party/boringssl/src/include/",
30000 ],
30001 cpp_std: "c++17",
30002 ldflags: [
30003 "-Wl,--as-needed",
30004 "-Wl,--gc-sections",
30005 "-Wl,--icf=all",
30006 "-Wl,--script,external/cronet/base/android/library_loader/anchor_functions.lds",
30007 "-Wl,-wrap,asprintf",
30008 "-Wl,-wrap,calloc",
30009 "-Wl,-wrap,free",
30010 "-Wl,-wrap,getcwd",
30011 "-Wl,-wrap,malloc",
30012 "-Wl,-wrap,malloc_usable_size",
30013 "-Wl,-wrap,memalign",
30014 "-Wl,-wrap,posix_memalign",
30015 "-Wl,-wrap,pvalloc",
30016 "-Wl,-wrap,realloc",
30017 "-Wl,-wrap,realpath",
30018 "-Wl,-wrap,strdup",
30019 "-Wl,-wrap,strndup",
30020 "-Wl,-wrap,valloc",
30021 "-Wl,-wrap,vasprintf",
30022 ],
30023 target: {
30024 android_arm: {
30025 cflags: [
30026 "-fstack-protector",
30027 ],
30028 },
30029 android_arm64: {
30030 cflags: [
30031 "-fstack-protector",
30032 "-mno-outline",
30033 "-mno-outline-atomics",
30034 ],
30035 },
30036 android_x86: {
30037 cflags: [
30038 "-msse3",
30039 ],
30040 },
30041 android_x86_64: {
30042 cflags: [
30043 "-fstack-protector",
30044 "-msse3",
30045 ],
30046 },
30047 },
30048}
30049
Motomu Utsumie74bab82022-12-16 18:00:12 +090030050// GN: //url:url_jni_headers
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000030051cc_genrule {
Motomu Utsumie74bab82022-12-16 18:00:12 +090030052 name: "cronet_aml_url_url_jni_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070030053 srcs: [
30054 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
30055 "url/android/java/src/org/chromium/url/Origin.java",
30056 ],
30057 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
30058 "long " +
Patrick Rohrcb035942022-11-01 12:12:52 -070030059 "--output_dir " +
30060 "$(genDir)/url/url_jni_headers " +
30061 "--includes " +
30062 "base/android/jni_generator/jni_generator_helper.h " +
30063 "--use_proxy_hash " +
30064 "--output_name " +
30065 "IDNStringUtil_jni.h " +
30066 "--output_name " +
30067 "Origin_jni.h " +
30068 "--input_file " +
30069 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
30070 "--input_file " +
Mohannad Farraga4191eb2023-01-04 14:41:17 +000030071 "$(location url/android/java/src/org/chromium/url/Origin.java) " +
30072 "--package_prefix " +
30073 "android.net.http.internal",
Patrick Rohrcb035942022-11-01 12:12:52 -070030074 out: [
30075 "url/url_jni_headers/IDNStringUtil_jni.h",
30076 "url/url_jni_headers/Origin_jni.h",
30077 ],
30078 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +000030079 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -070030080 "base/android/jni_generator/jni_generator.py",
30081 "build/android/gyp/util/__init__.py",
30082 "build/android/gyp/util/build_utils.py",
30083 "build/gn_helpers.py",
30084 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090030085 apex_available: [
30086 "com.android.tethering",
30087 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070030088}
30089
Mohannad Farragedb2fd02023-02-10 14:53:41 +000030090// GN: //url:url_jni_headers__testing
30091cc_genrule {
30092 name: "cronet_aml_url_url_jni_headers__testing",
30093 srcs: [
30094 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
30095 "url/android/java/src/org/chromium/url/Origin.java",
30096 ],
30097 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
30098 "long " +
30099 "--output_dir " +
30100 "$(genDir)/url/url_jni_headers " +
30101 "--includes " +
30102 "base/android/jni_generator/jni_generator_helper.h " +
30103 "--use_proxy_hash " +
30104 "--output_name " +
30105 "IDNStringUtil_jni.h " +
30106 "--output_name " +
30107 "Origin_jni.h " +
30108 "--input_file " +
30109 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
30110 "--input_file " +
Mohannad Farragf27cd352023-02-10 17:41:19 +000030111 "$(location url/android/java/src/org/chromium/url/Origin.java)",
Mohannad Farragedb2fd02023-02-10 14:53:41 +000030112 out: [
30113 "url/url_jni_headers/IDNStringUtil_jni.h",
30114 "url/url_jni_headers/Origin_jni.h",
30115 ],
30116 tool_files: [
30117 "base/android/jni_generator/android_jar.classes",
30118 "base/android/jni_generator/jni_generator.py",
30119 "build/android/gyp/util/__init__.py",
30120 "build/android/gyp/util/build_utils.py",
30121 "build/gn_helpers.py",
30122 ],
30123 apex_available: [
30124 "com.android.tethering",
30125 ],
30126}
30127
Mohannad Farragce711af2022-12-28 18:18:33 +000030128// GN: LICENSE
30129license {
30130 name: "external_cronet_license",
30131 license_kinds: [
30132 "SPDX-license-identifier-AFL-2.0",
30133 "SPDX-license-identifier-Apache-2.0",
30134 "SPDX-license-identifier-BSD",
30135 "SPDX-license-identifier-BSL-1.0",
Mohannad Farragce711af2022-12-28 18:18:33 +000030136 "SPDX-license-identifier-ICU",
30137 "SPDX-license-identifier-ISC",
Mohannad Farragce711af2022-12-28 18:18:33 +000030138 "SPDX-license-identifier-MIT",
30139 "SPDX-license-identifier-MPL",
Mohannad Farrag0e2a1e12023-01-30 16:55:10 +000030140 "SPDX-license-identifier-MPL-1.1",
Mohannad Farragce711af2022-12-28 18:18:33 +000030141 "SPDX-license-identifier-MPL-2.0",
30142 "SPDX-license-identifier-NCSA",
30143 "SPDX-license-identifier-OpenSSL",
30144 "SPDX-license-identifier-Unicode-DFS",
30145 "legacy_unencumbered",
30146 ],
30147 license_text: [
30148 "LICENSE",
30149 "base/third_party/double_conversion/LICENSE",
30150 "base/third_party/dynamic_annotations/LICENSE",
30151 "base/third_party/icu/LICENSE",
30152 "base/third_party/nspr/LICENSE",
30153 "base/third_party/superfasthash/LICENSE",
30154 "base/third_party/symbolize/LICENSE",
30155 "base/third_party/valgrind/LICENSE",
30156 "base/third_party/xdg_user_dirs/LICENSE",
30157 "net/third_party/quiche/src/LICENSE",
30158 "net/third_party/uri_template/LICENSE",
30159 "third_party/abseil-cpp/LICENSE",
30160 "third_party/ashmem/LICENSE",
30161 "third_party/boringssl/src/LICENSE",
30162 "third_party/boringssl/src/third_party/fiat/LICENSE",
30163 "third_party/boringssl/src/third_party/googletest/LICENSE",
30164 "third_party/boringssl/src/third_party/wycheproof_testvectors/LICENSE",
30165 "third_party/brotli/LICENSE",
30166 "third_party/icu/LICENSE",
30167 "third_party/icu/scripts/LICENSE",
30168 "third_party/libevent/LICENSE",
30169 "third_party/metrics_proto/LICENSE",
30170 "third_party/modp_b64/LICENSE",
30171 "third_party/protobuf/LICENSE",
30172 "third_party/protobuf/third_party/utf8_range/LICENSE",
30173 ],
30174}
30175