blob: 78ae260976bde4b6606bd021da0422c853724aa7 [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
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017// GN: //base/allocator:buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000018cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019 name: "cronet_aml_base_allocator_buildflags__android_arm",
20 cmd: "echo '--flags USE_PARTITION_ALLOC=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" USE_BACKUP_REF_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\" USE_MTE_CHECKED_PTR=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\"' | " +
21 "$(location build/write_buildflag_header.py) --output " +
22 "$(out) " +
23 "--rulename " +
24 "//base/allocator:buildflags " +
25 "--gen-dir " +
26 ". " +
27 "--definitions " +
28 "/dev/stdin",
29 out: [
30 "base/allocator/buildflags.h",
31 ],
32 tool_files: [
33 "build/write_buildflag_header.py",
34 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090035 apex_available: [
36 "com.android.tethering",
37 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090038}
39
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090040// GN: //base/allocator:buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000041cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090042 name: "cronet_aml_base_allocator_buildflags__android_arm64",
43 cmd: "echo '--flags USE_PARTITION_ALLOC=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" USE_BACKUP_REF_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\" USE_MTE_CHECKED_PTR=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\"' | " +
44 "$(location build/write_buildflag_header.py) --output " +
45 "$(out) " +
46 "--rulename " +
47 "//base/allocator:buildflags " +
48 "--gen-dir " +
49 ". " +
50 "--definitions " +
51 "/dev/stdin",
52 out: [
53 "base/allocator/buildflags.h",
54 ],
55 tool_files: [
56 "build/write_buildflag_header.py",
57 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090058 apex_available: [
59 "com.android.tethering",
60 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090061}
62
Patrick Rohr98600682022-11-18 18:29:15 -080063// GN: //base/allocator:buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000064cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080065 name: "cronet_aml_base_allocator_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -070066 cmd: "echo '--flags USE_PARTITION_ALLOC=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" USE_BACKUP_REF_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\" USE_MTE_CHECKED_PTR=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -070067 "$(location build/write_buildflag_header.py) --output " +
68 "$(out) " +
69 "--rulename " +
70 "//base/allocator:buildflags " +
71 "--gen-dir " +
72 ". " +
73 "--definitions " +
74 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -070075 out: [
76 "base/allocator/buildflags.h",
77 ],
78 tool_files: [
79 "build/write_buildflag_header.py",
80 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090081 apex_available: [
82 "com.android.tethering",
83 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -070084}
85
Patrick Rohr98600682022-11-18 18:29:15 -080086// GN: //base/allocator:buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000087cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080088 name: "cronet_aml_base_allocator_buildflags__android_x86_64",
89 cmd: "echo '--flags USE_PARTITION_ALLOC=\"false\" USE_ALLOCATOR_SHIM=\"true\" USE_PARTITION_ALLOC_AS_MALLOC=\"false\" USE_BACKUP_REF_PTR=\"false\" USE_ASAN_BACKUP_REF_PTR=\"false\" USE_PARTITION_ALLOC_AS_GWP_ASAN_STORE=\"false\" USE_MTE_CHECKED_PTR=\"false\" FORCE_ENABLE_RAW_PTR_EXCLUSION=\"false\"' | " +
90 "$(location build/write_buildflag_header.py) --output " +
91 "$(out) " +
92 "--rulename " +
93 "//base/allocator:buildflags " +
94 "--gen-dir " +
95 ". " +
96 "--definitions " +
97 "/dev/stdin",
98 out: [
99 "base/allocator/buildflags.h",
100 ],
101 tool_files: [
102 "build/write_buildflag_header.py",
103 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900104 apex_available: [
105 "com.android.tethering",
106 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800107}
108
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900109// GN: //base/allocator/partition_allocator:chromecast_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000110cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900111 name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_arm",
112 cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
113 "$(location build/write_buildflag_header.py) --output " +
114 "$(out) " +
115 "--rulename " +
116 "//base/allocator/partition_allocator:chromecast_buildflags " +
117 "--gen-dir " +
118 ". " +
119 "--definitions " +
120 "/dev/stdin",
121 out: [
122 "base/allocator/partition_allocator/chromecast_buildflags.h",
123 ],
124 tool_files: [
125 "build/write_buildflag_header.py",
126 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900127 apex_available: [
128 "com.android.tethering",
129 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900130}
131
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900132// GN: //base/allocator/partition_allocator:chromecast_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000133cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900134 name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_arm64",
135 cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
136 "$(location build/write_buildflag_header.py) --output " +
137 "$(out) " +
138 "--rulename " +
139 "//base/allocator/partition_allocator:chromecast_buildflags " +
140 "--gen-dir " +
141 ". " +
142 "--definitions " +
143 "/dev/stdin",
144 out: [
145 "base/allocator/partition_allocator/chromecast_buildflags.h",
146 ],
147 tool_files: [
148 "build/write_buildflag_header.py",
149 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900150 apex_available: [
151 "com.android.tethering",
152 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900153}
154
Patrick Rohr98600682022-11-18 18:29:15 -0800155// GN: //base/allocator/partition_allocator:chromecast_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000156cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800157 name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -0700158 cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700159 "$(location build/write_buildflag_header.py) --output " +
160 "$(out) " +
161 "--rulename " +
162 "//base/allocator/partition_allocator:chromecast_buildflags " +
163 "--gen-dir " +
164 ". " +
165 "--definitions " +
166 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700167 out: [
168 "base/allocator/partition_allocator/chromecast_buildflags.h",
169 ],
170 tool_files: [
171 "build/write_buildflag_header.py",
172 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900173 apex_available: [
174 "com.android.tethering",
175 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700176}
177
Patrick Rohr98600682022-11-18 18:29:15 -0800178// GN: //base/allocator/partition_allocator:chromecast_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000179cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800180 name: "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_x86_64",
181 cmd: "echo '--flags PA_IS_CAST_ANDROID=\"false\" PA_IS_CASTOS=\"false\"' | " +
182 "$(location build/write_buildflag_header.py) --output " +
183 "$(out) " +
184 "--rulename " +
185 "//base/allocator/partition_allocator:chromecast_buildflags " +
186 "--gen-dir " +
187 ". " +
188 "--definitions " +
189 "/dev/stdin",
190 out: [
191 "base/allocator/partition_allocator/chromecast_buildflags.h",
192 ],
193 tool_files: [
194 "build/write_buildflag_header.py",
195 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900196 apex_available: [
197 "com.android.tethering",
198 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800199}
200
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900201// GN: //base/allocator/partition_allocator:chromeos_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000202cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900203 name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_arm",
204 cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
205 "$(location build/write_buildflag_header.py) --output " +
206 "$(out) " +
207 "--rulename " +
208 "//base/allocator/partition_allocator:chromeos_buildflags " +
209 "--gen-dir " +
210 ". " +
211 "--definitions " +
212 "/dev/stdin",
213 out: [
214 "base/allocator/partition_allocator/chromeos_buildflags.h",
215 ],
216 tool_files: [
217 "build/write_buildflag_header.py",
218 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900219 apex_available: [
220 "com.android.tethering",
221 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900222}
223
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900224// GN: //base/allocator/partition_allocator:chromeos_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000225cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900226 name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_arm64",
227 cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
228 "$(location build/write_buildflag_header.py) --output " +
229 "$(out) " +
230 "--rulename " +
231 "//base/allocator/partition_allocator:chromeos_buildflags " +
232 "--gen-dir " +
233 ". " +
234 "--definitions " +
235 "/dev/stdin",
236 out: [
237 "base/allocator/partition_allocator/chromeos_buildflags.h",
238 ],
239 tool_files: [
240 "build/write_buildflag_header.py",
241 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900242 apex_available: [
243 "com.android.tethering",
244 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900245}
246
Patrick Rohr98600682022-11-18 18:29:15 -0800247// GN: //base/allocator/partition_allocator:chromeos_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000248cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800249 name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -0700250 cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700251 "$(location build/write_buildflag_header.py) --output " +
252 "$(out) " +
253 "--rulename " +
254 "//base/allocator/partition_allocator:chromeos_buildflags " +
255 "--gen-dir " +
256 ". " +
257 "--definitions " +
258 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700259 out: [
260 "base/allocator/partition_allocator/chromeos_buildflags.h",
261 ],
262 tool_files: [
263 "build/write_buildflag_header.py",
264 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900265 apex_available: [
266 "com.android.tethering",
267 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700268}
269
Patrick Rohr98600682022-11-18 18:29:15 -0800270// GN: //base/allocator/partition_allocator:chromeos_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000271cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800272 name: "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_x86_64",
273 cmd: "echo '--flags PA_IS_CHROMEOS_ASH=\"false\"' | " +
274 "$(location build/write_buildflag_header.py) --output " +
275 "$(out) " +
276 "--rulename " +
277 "//base/allocator/partition_allocator:chromeos_buildflags " +
278 "--gen-dir " +
279 ". " +
280 "--definitions " +
281 "/dev/stdin",
282 out: [
283 "base/allocator/partition_allocator/chromeos_buildflags.h",
284 ],
285 tool_files: [
286 "build/write_buildflag_header.py",
287 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900288 apex_available: [
289 "com.android.tethering",
290 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800291}
292
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900293// GN: //base/allocator/partition_allocator:debugging_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000294cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900295 name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_arm",
296 cmd: "echo '--flags PA_DCHECK_IS_ON=\"true\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"true\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " +
297 "$(location build/write_buildflag_header.py) --output " +
298 "$(out) " +
299 "--rulename " +
300 "//base/allocator/partition_allocator:debugging_buildflags " +
301 "--gen-dir " +
302 ". " +
303 "--definitions " +
304 "/dev/stdin",
305 out: [
306 "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h",
307 ],
308 tool_files: [
309 "build/write_buildflag_header.py",
310 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900311 apex_available: [
312 "com.android.tethering",
313 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900314}
315
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900316// GN: //base/allocator/partition_allocator:debugging_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000317cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900318 name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_arm64",
319 cmd: "echo '--flags PA_DCHECK_IS_ON=\"true\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"true\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " +
320 "$(location build/write_buildflag_header.py) --output " +
321 "$(out) " +
322 "--rulename " +
323 "//base/allocator/partition_allocator:debugging_buildflags " +
324 "--gen-dir " +
325 ". " +
326 "--definitions " +
327 "/dev/stdin",
328 out: [
329 "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h",
330 ],
331 tool_files: [
332 "build/write_buildflag_header.py",
333 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900334 apex_available: [
335 "com.android.tethering",
336 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900337}
338
Patrick Rohr98600682022-11-18 18:29:15 -0800339// GN: //base/allocator/partition_allocator:debugging_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000340cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800341 name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -0700342 cmd: "echo '--flags PA_DCHECK_IS_ON=\"true\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"true\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700343 "$(location build/write_buildflag_header.py) --output " +
344 "$(out) " +
345 "--rulename " +
346 "//base/allocator/partition_allocator:debugging_buildflags " +
347 "--gen-dir " +
348 ". " +
349 "--definitions " +
350 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700351 out: [
352 "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h",
353 ],
354 tool_files: [
355 "build/write_buildflag_header.py",
356 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900357 apex_available: [
358 "com.android.tethering",
359 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700360}
361
Patrick Rohr98600682022-11-18 18:29:15 -0800362// GN: //base/allocator/partition_allocator:debugging_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000363cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800364 name: "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_x86_64",
365 cmd: "echo '--flags PA_DCHECK_IS_ON=\"true\" PA_EXPENSIVE_DCHECKS_ARE_ON=\"true\" PA_DCHECK_IS_CONFIGURABLE=\"false\"' | " +
366 "$(location build/write_buildflag_header.py) --output " +
367 "$(out) " +
368 "--rulename " +
369 "//base/allocator/partition_allocator:debugging_buildflags " +
370 "--gen-dir " +
371 ". " +
372 "--definitions " +
373 "/dev/stdin",
374 out: [
375 "base/allocator/partition_allocator/partition_alloc_base/debug/debugging_buildflags.h",
376 ],
377 tool_files: [
378 "build/write_buildflag_header.py",
379 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900380 apex_available: [
381 "com.android.tethering",
382 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800383}
384
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900385// GN: //base/allocator/partition_allocator:logging_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000386cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900387 name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_arm",
388 cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
389 "$(location build/write_buildflag_header.py) --output " +
390 "$(out) " +
391 "--rulename " +
392 "//base/allocator/partition_allocator:logging_buildflags " +
393 "--gen-dir " +
394 ". " +
395 "--definitions " +
396 "/dev/stdin",
397 out: [
398 "base/allocator/partition_allocator/logging_buildflags.h",
399 ],
400 tool_files: [
401 "build/write_buildflag_header.py",
402 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900403 apex_available: [
404 "com.android.tethering",
405 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900406}
407
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900408// GN: //base/allocator/partition_allocator:logging_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000409cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900410 name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_arm64",
411 cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
412 "$(location build/write_buildflag_header.py) --output " +
413 "$(out) " +
414 "--rulename " +
415 "//base/allocator/partition_allocator:logging_buildflags " +
416 "--gen-dir " +
417 ". " +
418 "--definitions " +
419 "/dev/stdin",
420 out: [
421 "base/allocator/partition_allocator/logging_buildflags.h",
422 ],
423 tool_files: [
424 "build/write_buildflag_header.py",
425 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900426 apex_available: [
427 "com.android.tethering",
428 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900429}
430
Patrick Rohr98600682022-11-18 18:29:15 -0800431// GN: //base/allocator/partition_allocator:logging_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000432cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800433 name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_x86",
434 cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
435 "$(location build/write_buildflag_header.py) --output " +
436 "$(out) " +
437 "--rulename " +
438 "//base/allocator/partition_allocator:logging_buildflags " +
439 "--gen-dir " +
440 ". " +
441 "--definitions " +
442 "/dev/stdin",
443 out: [
444 "base/allocator/partition_allocator/logging_buildflags.h",
445 ],
446 tool_files: [
447 "build/write_buildflag_header.py",
448 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900449 apex_available: [
450 "com.android.tethering",
451 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800452}
453
454// GN: //base/allocator/partition_allocator:logging_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000455cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800456 name: "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_x86_64",
457 cmd: "echo '--flags PA_ENABLE_LOG_ERROR_NOT_REACHED=\"false\"' | " +
458 "$(location build/write_buildflag_header.py) --output " +
459 "$(out) " +
460 "--rulename " +
461 "//base/allocator/partition_allocator:logging_buildflags " +
462 "--gen-dir " +
463 ". " +
464 "--definitions " +
465 "/dev/stdin",
466 out: [
467 "base/allocator/partition_allocator/logging_buildflags.h",
468 ],
469 tool_files: [
470 "build/write_buildflag_header.py",
471 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900472 apex_available: [
473 "com.android.tethering",
474 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800475}
476
Patrick Rohrcc377df2022-10-28 09:27:15 -0700477// GN: //base/allocator/partition_allocator:partition_alloc
478cc_library_static {
479 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900480 srcs: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -0800481 ":cronet_aml_third_party_android_ndk_cpu_features",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900482 "base/allocator/partition_allocator/address_pool_manager.cc",
483 "base/allocator/partition_allocator/address_pool_manager_bitmap.cc",
484 "base/allocator/partition_allocator/address_space_randomization.cc",
485 "base/allocator/partition_allocator/allocation_guard.cc",
486 "base/allocator/partition_allocator/dangling_raw_ptr_checks.cc",
487 "base/allocator/partition_allocator/gwp_asan_support.cc",
488 "base/allocator/partition_allocator/memory_reclaimer.cc",
489 "base/allocator/partition_allocator/oom.cc",
490 "base/allocator/partition_allocator/oom_callback.cc",
491 "base/allocator/partition_allocator/page_allocator.cc",
492 "base/allocator/partition_allocator/page_allocator_internals_posix.cc",
493 "base/allocator/partition_allocator/partition_address_space.cc",
494 "base/allocator/partition_allocator/partition_alloc.cc",
495 "base/allocator/partition_allocator/partition_alloc_base/check.cc",
496 "base/allocator/partition_allocator/partition_alloc_base/cpu.cc",
497 "base/allocator/partition_allocator/partition_alloc_base/debug/alias.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -0800498 "base/allocator/partition_allocator/partition_alloc_base/files/file_path.cc",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900499 "base/allocator/partition_allocator/partition_alloc_base/files/file_util_posix.cc",
500 "base/allocator/partition_allocator/partition_alloc_base/logging.cc",
501 "base/allocator/partition_allocator/partition_alloc_base/memory/ref_counted.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -0800502 "base/allocator/partition_allocator/partition_alloc_base/native_library.cc",
503 "base/allocator/partition_allocator/partition_alloc_base/native_library_posix.cc",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900504 "base/allocator/partition_allocator/partition_alloc_base/pkey.cc",
505 "base/allocator/partition_allocator/partition_alloc_base/posix/safe_strerror.cc",
506 "base/allocator/partition_allocator/partition_alloc_base/rand_util.cc",
507 "base/allocator/partition_allocator/partition_alloc_base/rand_util_posix.cc",
508 "base/allocator/partition_allocator/partition_alloc_base/strings/stringprintf.cc",
509 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread.cc",
510 "base/allocator/partition_allocator/partition_alloc_base/threading/platform_thread_posix.cc",
511 "base/allocator/partition_allocator/partition_alloc_base/time/time.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -0800512 "base/allocator/partition_allocator/partition_alloc_base/time/time_android.cc",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900513 "base/allocator/partition_allocator/partition_alloc_base/time/time_conversion_posix.cc",
514 "base/allocator/partition_allocator/partition_alloc_base/time/time_now_posix.cc",
515 "base/allocator/partition_allocator/partition_alloc_base/time/time_override.cc",
516 "base/allocator/partition_allocator/partition_alloc_hooks.cc",
517 "base/allocator/partition_allocator/partition_bucket.cc",
518 "base/allocator/partition_allocator/partition_oom.cc",
519 "base/allocator/partition_allocator/partition_page.cc",
520 "base/allocator/partition_allocator/partition_root.cc",
521 "base/allocator/partition_allocator/partition_stats.cc",
522 "base/allocator/partition_allocator/random.cc",
523 "base/allocator/partition_allocator/reservation_offset_table.cc",
524 "base/allocator/partition_allocator/spinning_mutex.cc",
525 "base/allocator/partition_allocator/starscan/metadata_allocator.cc",
526 "base/allocator/partition_allocator/starscan/pcscan.cc",
527 "base/allocator/partition_allocator/starscan/pcscan_internal.cc",
528 "base/allocator/partition_allocator/starscan/pcscan_scheduling.cc",
529 "base/allocator/partition_allocator/starscan/snapshot.cc",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +0900530 "base/allocator/partition_allocator/starscan/stack/stack.cc",
531 "base/allocator/partition_allocator/starscan/stats_collector.cc",
532 "base/allocator/partition_allocator/starscan/write_protector.cc",
533 "base/allocator/partition_allocator/tagging.cc",
534 "base/allocator/partition_allocator/thread_cache.cc",
535 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700536 defaults: [
537 "cronet_aml_defaults",
538 ],
539 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -0800540 "-DANDROID",
541 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700542 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
543 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
544 "-DDCHECK_ALWAYS_ON=1",
545 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -0800546 "-DHAVE_SYS_UIO_H",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700547 "-DIS_PARTITION_ALLOC_IMPL",
548 "-DPA_PCSCAN_STACK_SUPPORTED",
549 "-D_DEBUG",
550 "-D_GNU_SOURCE",
551 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
552 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
553 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
554 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
555 "-D__STDC_CONSTANT_MACROS",
556 "-D__STDC_FORMAT_MACROS",
557 ],
558 local_include_dirs: [
559 "./",
560 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -0700561 "buildtools/third_party/libc++/trunk/include",
562 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohr0913f0b2022-12-13 09:13:20 -0800563 "third_party/android_ndk/sources/android/cpufeatures/",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700564 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -0700565 cpp_std: "c++20",
Patrick Rohr3b5ff762022-11-16 10:22:16 -0800566 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900567 android_arm: {
568 srcs: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900569 "base/allocator/partition_allocator/starscan/stack/asm/arm/push_registers_asm.cc",
570 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900571 generated_headers: [
572 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_arm",
573 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_arm",
574 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_arm",
575 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_arm",
576 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_arm",
577 ],
578 export_generated_headers: [
579 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_arm",
580 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_arm",
581 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_arm",
582 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_arm",
583 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_arm",
584 ],
585 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900586 android_arm64: {
587 srcs: [
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900588 "base/allocator/partition_allocator/starscan/stack/asm/arm64/push_registers_asm.cc",
589 ],
590 cflags: [
Motomu Utsumi3371d682022-11-28 16:56:52 +0900591 "-march=armv8-a+memtag",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900592 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900593 generated_headers: [
594 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_arm64",
595 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_arm64",
596 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_arm64",
597 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_arm64",
598 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_arm64",
599 ],
600 export_generated_headers: [
601 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_arm64",
602 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_arm64",
603 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_arm64",
604 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_arm64",
605 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_arm64",
606 ],
607 },
Motomu Utsumi65501182022-11-18 15:26:35 +0900608 android_x86: {
609 srcs: [
Motomu Utsumi65501182022-11-18 15:26:35 +0900610 "base/allocator/partition_allocator/starscan/stack/asm/x86/push_registers_asm.cc",
611 ],
612 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900613 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +0900614 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +0000615 generated_headers: [
616 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_x86",
617 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_x86",
618 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_x86",
619 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_x86",
620 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_x86",
621 ],
622 export_generated_headers: [
623 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_x86",
624 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_x86",
625 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_x86",
626 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_x86",
627 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_x86",
628 ],
Motomu Utsumi65501182022-11-18 15:26:35 +0900629 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -0800630 android_x86_64: {
631 srcs: [
Motomu Utsumi65501182022-11-18 15:26:35 +0900632 "base/allocator/partition_allocator/starscan/stack/asm/x64/push_registers_asm.cc",
Patrick Rohr3b5ff762022-11-16 10:22:16 -0800633 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +0900634 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900635 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +0900636 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +0000637 generated_headers: [
638 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_x86_64",
639 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_x86_64",
640 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_x86_64",
641 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_x86_64",
642 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_x86_64",
643 ],
644 export_generated_headers: [
645 "cronet_aml_base_allocator_partition_allocator_chromecast_buildflags__android_x86_64",
646 "cronet_aml_base_allocator_partition_allocator_chromeos_buildflags__android_x86_64",
647 "cronet_aml_base_allocator_partition_allocator_debugging_buildflags__android_x86_64",
648 "cronet_aml_base_allocator_partition_allocator_logging_buildflags__android_x86_64",
649 "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_x86_64",
650 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +0900651 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -0800652 },
Patrick Rohrcc377df2022-10-28 09:27:15 -0700653}
654
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900655// GN: //base/allocator/partition_allocator:partition_alloc_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000656cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900657 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_arm",
658 cmd: "echo '--flags ENABLE_PARTITION_ALLOC_AS_MALLOC_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"true\" ENABLE_GWP_ASAN_SUPPORT=\"true\" ENABLE_MTE_CHECKED_PTR_SUPPORT=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
659 "$(location build/write_buildflag_header.py) --output " +
660 "$(out) " +
661 "--rulename " +
662 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
663 "--gen-dir " +
664 ". " +
665 "--definitions " +
666 "/dev/stdin",
667 out: [
668 "base/allocator/partition_allocator/partition_alloc_buildflags.h",
669 ],
670 tool_files: [
671 "build/write_buildflag_header.py",
672 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900673 apex_available: [
674 "com.android.tethering",
675 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900676}
677
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900678// GN: //base/allocator/partition_allocator:partition_alloc_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000679cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900680 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_arm64",
681 cmd: "echo '--flags ENABLE_PARTITION_ALLOC_AS_MALLOC_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"true\" ENABLE_GWP_ASAN_SUPPORT=\"true\" ENABLE_MTE_CHECKED_PTR_SUPPORT=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
682 "$(location build/write_buildflag_header.py) --output " +
683 "$(out) " +
684 "--rulename " +
685 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
686 "--gen-dir " +
687 ". " +
688 "--definitions " +
689 "/dev/stdin",
690 out: [
691 "base/allocator/partition_allocator/partition_alloc_buildflags.h",
692 ],
693 tool_files: [
694 "build/write_buildflag_header.py",
695 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900696 apex_available: [
697 "com.android.tethering",
698 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900699}
700
Patrick Rohr98600682022-11-18 18:29:15 -0800701// GN: //base/allocator/partition_allocator:partition_alloc_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000702cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800703 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_x86",
Motomu Utsumi65501182022-11-18 15:26:35 +0900704 cmd: "echo '--flags ENABLE_PARTITION_ALLOC_AS_MALLOC_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"true\" ENABLE_GWP_ASAN_SUPPORT=\"true\" ENABLE_MTE_CHECKED_PTR_SUPPORT=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700705 "$(location build/write_buildflag_header.py) --output " +
706 "$(out) " +
707 "--rulename " +
708 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
709 "--gen-dir " +
710 ". " +
711 "--definitions " +
712 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700713 out: [
714 "base/allocator/partition_allocator/partition_alloc_buildflags.h",
715 ],
716 tool_files: [
717 "build/write_buildflag_header.py",
718 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900719 apex_available: [
720 "com.android.tethering",
721 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700722}
723
Patrick Rohr98600682022-11-18 18:29:15 -0800724// GN: //base/allocator/partition_allocator:partition_alloc_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000725cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800726 name: "cronet_aml_base_allocator_partition_allocator_partition_alloc_buildflags__android_x86_64",
727 cmd: "echo '--flags ENABLE_PARTITION_ALLOC_AS_MALLOC_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SUPPORT=\"true\" ENABLE_BACKUP_REF_PTR_SLOW_CHECKS=\"false\" ENABLE_DANGLING_RAW_PTR_CHECKS=\"false\" PUT_REF_COUNT_IN_PREVIOUS_SLOT=\"true\" ENABLE_GWP_ASAN_SUPPORT=\"true\" ENABLE_MTE_CHECKED_PTR_SUPPORT=\"false\" RECORD_ALLOC_INFO=\"false\" USE_FREESLOT_BITMAP=\"false\" GLUE_CORE_POOLS=\"false\" ENABLE_SHADOW_METADATA_FOR_64_BITS_POINTERS=\"false\" STARSCAN=\"true\" PA_USE_BASE_TRACING=\"true\" ENABLE_PKEYS=\"false\"' | " +
728 "$(location build/write_buildflag_header.py) --output " +
729 "$(out) " +
730 "--rulename " +
731 "//base/allocator/partition_allocator:partition_alloc_buildflags " +
732 "--gen-dir " +
733 ". " +
734 "--definitions " +
735 "/dev/stdin",
736 out: [
737 "base/allocator/partition_allocator/partition_alloc_buildflags.h",
738 ],
739 tool_files: [
740 "build/write_buildflag_header.py",
741 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900742 apex_available: [
743 "com.android.tethering",
744 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800745}
746
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900747// GN: //base:anchor_functions_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000748cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900749 name: "cronet_aml_base_anchor_functions_buildflags__android_arm",
750 cmd: "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
751 "$(location build/write_buildflag_header.py) --output " +
752 "$(out) " +
753 "--rulename " +
754 "//base:anchor_functions_buildflags " +
755 "--gen-dir " +
756 ". " +
757 "--definitions " +
758 "/dev/stdin",
759 out: [
760 "base/android/library_loader/anchor_functions_buildflags.h",
761 ],
762 tool_files: [
763 "build/write_buildflag_header.py",
764 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900765 apex_available: [
766 "com.android.tethering",
767 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900768}
769
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900770// GN: //base:anchor_functions_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000771cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900772 name: "cronet_aml_base_anchor_functions_buildflags__android_arm64",
773 cmd: "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
774 "$(location build/write_buildflag_header.py) --output " +
775 "$(out) " +
776 "--rulename " +
777 "//base:anchor_functions_buildflags " +
778 "--gen-dir " +
779 ". " +
780 "--definitions " +
781 "/dev/stdin",
782 out: [
783 "base/android/library_loader/anchor_functions_buildflags.h",
784 ],
785 tool_files: [
786 "build/write_buildflag_header.py",
787 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900788 apex_available: [
789 "com.android.tethering",
790 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900791}
792
Patrick Rohr98600682022-11-18 18:29:15 -0800793// GN: //base:anchor_functions_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000794cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800795 name: "cronet_aml_base_anchor_functions_buildflags__android_x86",
Motomu Utsumi65501182022-11-18 15:26:35 +0900796 cmd: "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700797 "$(location build/write_buildflag_header.py) --output " +
798 "$(out) " +
799 "--rulename " +
800 "//base:anchor_functions_buildflags " +
801 "--gen-dir " +
802 ". " +
803 "--definitions " +
804 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700805 out: [
806 "base/android/library_loader/anchor_functions_buildflags.h",
807 ],
808 tool_files: [
809 "build/write_buildflag_header.py",
810 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900811 apex_available: [
812 "com.android.tethering",
813 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700814}
815
Patrick Rohr98600682022-11-18 18:29:15 -0800816// GN: //base:anchor_functions_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000817cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800818 name: "cronet_aml_base_anchor_functions_buildflags__android_x86_64",
819 cmd: "echo '--flags USE_LLD=\"true\" SUPPORTS_CODE_ORDERING=\"true\"' | " +
820 "$(location build/write_buildflag_header.py) --output " +
821 "$(out) " +
822 "--rulename " +
823 "//base:anchor_functions_buildflags " +
824 "--gen-dir " +
825 ". " +
826 "--definitions " +
827 "/dev/stdin",
828 out: [
829 "base/android/library_loader/anchor_functions_buildflags.h",
830 ],
831 tool_files: [
832 "build/write_buildflag_header.py",
833 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900834 apex_available: [
835 "com.android.tethering",
836 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800837}
838
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900839// GN: //base:android_runtime_jni_headers__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000840cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900841 name: "cronet_aml_base_android_runtime_jni_headers__android_arm",
842 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
843 "long " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900844 "--output_dir " +
845 "$(genDir)/base/android_runtime_jni_headers " +
846 "--includes " +
847 "base/android/jni_generator/jni_generator_helper.h " +
848 "--jar_file " +
849 "$(location third_party/android_sdk/public/platforms/android-33/android.jar) " +
850 "--output_name " +
851 "Runnable_jni.h " +
852 "--output_name " +
853 "Runtime_jni.h " +
854 "--input_file " +
855 "java/lang/Runnable.class " +
856 "--input_file " +
857 "java/lang/Runtime.class " +
858 "--javap " +
859 "$$(find out/.path -name javap)",
860 out: [
861 "base/android_runtime_jni_headers/Runnable_jni.h",
862 "base/android_runtime_jni_headers/Runtime_jni.h",
863 ],
864 tool_files: [
865 "base/android/jni_generator/android_jar.classes",
866 "base/android/jni_generator/jni_generator.py",
867 "build/android/gyp/util/__init__.py",
868 "build/android/gyp/util/build_utils.py",
869 "build/gn_helpers.py",
870 "third_party/android_sdk/public/platforms/android-33/android.jar",
871 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900872 apex_available: [
873 "com.android.tethering",
874 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +0900875}
876
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900877// GN: //base:android_runtime_jni_headers__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000878cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900879 name: "cronet_aml_base_android_runtime_jni_headers__android_arm64",
880 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
881 "long " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900882 "--output_dir " +
883 "$(genDir)/base/android_runtime_jni_headers " +
884 "--includes " +
885 "base/android/jni_generator/jni_generator_helper.h " +
886 "--jar_file " +
887 "$(location third_party/android_sdk/public/platforms/android-33/android.jar) " +
888 "--output_name " +
889 "Runnable_jni.h " +
890 "--output_name " +
891 "Runtime_jni.h " +
892 "--input_file " +
893 "java/lang/Runnable.class " +
894 "--input_file " +
895 "java/lang/Runtime.class " +
896 "--javap " +
897 "$$(find out/.path -name javap)",
898 out: [
899 "base/android_runtime_jni_headers/Runnable_jni.h",
900 "base/android_runtime_jni_headers/Runtime_jni.h",
901 ],
902 tool_files: [
903 "base/android/jni_generator/android_jar.classes",
904 "base/android/jni_generator/jni_generator.py",
905 "build/android/gyp/util/__init__.py",
906 "build/android/gyp/util/build_utils.py",
907 "build/gn_helpers.py",
908 "third_party/android_sdk/public/platforms/android-33/android.jar",
909 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900910 apex_available: [
911 "com.android.tethering",
912 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +0900913}
914
Patrick Rohr98600682022-11-18 18:29:15 -0800915// GN: //base:android_runtime_jni_headers__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000916cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800917 name: "cronet_aml_base_android_runtime_jni_headers__android_x86",
918 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
919 "long " +
Patrick Rohr98600682022-11-18 18:29:15 -0800920 "--output_dir " +
921 "$(genDir)/base/android_runtime_jni_headers " +
922 "--includes " +
923 "base/android/jni_generator/jni_generator_helper.h " +
924 "--jar_file " +
925 "$(location third_party/android_sdk/public/platforms/android-33/android.jar) " +
926 "--output_name " +
927 "Runnable_jni.h " +
928 "--output_name " +
929 "Runtime_jni.h " +
930 "--input_file " +
931 "java/lang/Runnable.class " +
932 "--input_file " +
933 "java/lang/Runtime.class " +
934 "--javap " +
935 "$$(find out/.path -name javap)",
936 out: [
937 "base/android_runtime_jni_headers/Runnable_jni.h",
938 "base/android_runtime_jni_headers/Runtime_jni.h",
939 ],
940 tool_files: [
941 "base/android/jni_generator/android_jar.classes",
942 "base/android/jni_generator/jni_generator.py",
943 "build/android/gyp/util/__init__.py",
944 "build/android/gyp/util/build_utils.py",
945 "build/gn_helpers.py",
946 "third_party/android_sdk/public/platforms/android-33/android.jar",
947 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900948 apex_available: [
949 "com.android.tethering",
950 ],
Patrick Rohr98600682022-11-18 18:29:15 -0800951}
952
953// GN: //base:android_runtime_jni_headers__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +0000954cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -0800955 name: "cronet_aml_base_android_runtime_jni_headers__android_x86_64",
Patrick Rohr9b99a982022-10-28 11:00:57 -0700956 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
957 "long " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700958 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -0700959 "$(genDir)/base/android_runtime_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700960 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -0700961 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700962 "--jar_file " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700963 "$(location third_party/android_sdk/public/platforms/android-33/android.jar) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -0700964 "--output_name " +
965 "Runnable_jni.h " +
966 "--output_name " +
967 "Runtime_jni.h " +
968 "--input_file " +
969 "java/lang/Runnable.class " +
970 "--input_file " +
Patrick Rohr131ba282022-10-31 16:36:20 -0700971 "java/lang/Runtime.class " +
972 "--javap " +
973 "$$(find out/.path -name javap)",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700974 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -0700975 "base/android_runtime_jni_headers/Runnable_jni.h",
976 "base/android_runtime_jni_headers/Runtime_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700977 ],
978 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +0000979 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -0700980 "base/android/jni_generator/jni_generator.py",
981 "build/android/gyp/util/__init__.py",
982 "build/android/gyp/util/build_utils.py",
983 "build/gn_helpers.py",
984 "third_party/android_sdk/public/platforms/android-33/android.jar",
985 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +0900986 apex_available: [
987 "com.android.tethering",
988 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -0700989}
990
991// GN: //base:base
992cc_library_static {
993 name: "cronet_aml_base_base",
994 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +0000995 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
996 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
997 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
998 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
999 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
1000 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
1001 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
1002 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
1003 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
1004 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
1005 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
1006 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
1007 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
1008 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
1009 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
1010 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
1011 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
1012 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
1013 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
1014 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
1015 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
1016 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
1017 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
1018 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
1019 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
1020 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
1021 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
1022 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
1023 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
1024 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
1025 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
1026 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
1027 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
1028 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
1029 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
1030 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
1031 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
1032 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
1033 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
1034 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
1035 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
1036 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
1037 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
1038 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
1039 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
1040 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
1041 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001042 ":cronet_aml_third_party_android_ndk_cpu_features",
1043 ":cronet_aml_third_party_ashmem_ashmem",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001044 "base/allocator/allocator_check.cc",
1045 "base/allocator/allocator_extension.cc",
1046 "base/allocator/dispatcher/dispatcher.cc",
1047 "base/allocator/dispatcher/internal/dispatch_data.cc",
1048 "base/allocator/dispatcher/reentry_guard.cc",
1049 "base/allocator/partition_allocator/shim/allocator_shim.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001050 "base/allocator/partition_allocator/shim/allocator_shim_default_dispatch_to_linker_wrapped_symbols.cc",
1051 "base/android/android_hardware_buffer_compat.cc",
1052 "base/android/android_image_reader_compat.cc",
1053 "base/android/apk_assets.cc",
1054 "base/android/application_status_listener.cc",
1055 "base/android/base_feature_list.cc",
1056 "base/android/base_features.cc",
1057 "base/android/base_jni_onload.cc",
1058 "base/android/build_info.cc",
1059 "base/android/bundle_utils.cc",
1060 "base/android/callback_android.cc",
1061 "base/android/child_process_service.cc",
1062 "base/android/command_line_android.cc",
1063 "base/android/content_uri_utils.cc",
1064 "base/android/cpu_features.cc",
1065 "base/android/early_trace_event_binding.cc",
1066 "base/android/event_log.cc",
1067 "base/android/feature_list_jni.cc",
1068 "base/android/features_jni.cc",
1069 "base/android/field_trial_list.cc",
1070 "base/android/important_file_writer_android.cc",
1071 "base/android/int_string_callback.cc",
1072 "base/android/jank_metric_uma_recorder.cc",
1073 "base/android/java_exception_reporter.cc",
1074 "base/android/java_handler_thread.cc",
1075 "base/android/java_heap_dump_generator.cc",
1076 "base/android/java_runtime.cc",
1077 "base/android/jni_android.cc",
1078 "base/android/jni_array.cc",
1079 "base/android/jni_registrar.cc",
1080 "base/android/jni_string.cc",
1081 "base/android/jni_utils.cc",
1082 "base/android/jni_weak_ref.cc",
1083 "base/android/library_loader/anchor_functions.cc",
1084 "base/android/library_loader/library_loader_hooks.cc",
1085 "base/android/library_loader/library_prefetcher.cc",
1086 "base/android/library_loader/library_prefetcher_hooks.cc",
1087 "base/android/locale_utils.cc",
1088 "base/android/memory_pressure_listener_android.cc",
1089 "base/android/native_uma_recorder.cc",
1090 "base/android/path_service_android.cc",
1091 "base/android/path_utils.cc",
1092 "base/android/radio_utils.cc",
1093 "base/android/reached_addresses_bitset.cc",
1094 "base/android/remove_stale_data.cc",
1095 "base/android/scoped_hardware_buffer_fence_sync.cc",
1096 "base/android/scoped_hardware_buffer_handle.cc",
1097 "base/android/scoped_java_ref.cc",
1098 "base/android/statistics_recorder_android.cc",
1099 "base/android/sys_utils.cc",
1100 "base/android/task_scheduler/post_task_android.cc",
1101 "base/android/task_scheduler/task_runner_android.cc",
1102 "base/android/thread_instruction_count.cc",
1103 "base/android/timezone_utils.cc",
1104 "base/android/trace_event_binding.cc",
1105 "base/android/unguessable_token_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001106 "base/at_exit.cc",
1107 "base/barrier_closure.cc",
1108 "base/base64.cc",
1109 "base/base64url.cc",
1110 "base/base_paths.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001111 "base/base_paths_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001112 "base/big_endian.cc",
1113 "base/build_time.cc",
1114 "base/callback_list.cc",
1115 "base/check.cc",
1116 "base/check_is_test.cc",
1117 "base/check_op.cc",
1118 "base/command_line.cc",
1119 "base/containers/flat_tree.cc",
1120 "base/containers/intrusive_heap.cc",
1121 "base/containers/linked_list.cc",
1122 "base/cpu.cc",
1123 "base/cpu_reduction_experiment.cc",
1124 "base/debug/activity_analyzer.cc",
1125 "base/debug/activity_tracker.cc",
1126 "base/debug/alias.cc",
1127 "base/debug/asan_invalid_access.cc",
1128 "base/debug/buffered_dwarf_reader.cc",
1129 "base/debug/crash_logging.cc",
1130 "base/debug/debugger.cc",
1131 "base/debug/debugger_posix.cc",
1132 "base/debug/dump_without_crashing.cc",
1133 "base/debug/dwarf_line_no.cc",
1134 "base/debug/elf_reader.cc",
1135 "base/debug/proc_maps_linux.cc",
1136 "base/debug/profiler.cc",
1137 "base/debug/stack_trace.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001138 "base/debug/stack_trace_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001139 "base/debug/task_trace.cc",
1140 "base/environment.cc",
1141 "base/feature_list.cc",
1142 "base/features.cc",
1143 "base/file_descriptor_posix.cc",
1144 "base/file_descriptor_store.cc",
1145 "base/files/file.cc",
1146 "base/files/file_descriptor_watcher_posix.cc",
1147 "base/files/file_enumerator.cc",
1148 "base/files/file_enumerator_posix.cc",
1149 "base/files/file_path.cc",
1150 "base/files/file_path_watcher.cc",
1151 "base/files/file_path_watcher_inotify.cc",
1152 "base/files/file_posix.cc",
1153 "base/files/file_proxy.cc",
1154 "base/files/file_tracing.cc",
1155 "base/files/file_util.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001156 "base/files/file_util_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001157 "base/files/file_util_posix.cc",
1158 "base/files/important_file_writer.cc",
1159 "base/files/important_file_writer_cleaner.cc",
1160 "base/files/memory_mapped_file.cc",
1161 "base/files/memory_mapped_file_posix.cc",
1162 "base/files/safe_base_name.cc",
1163 "base/files/scoped_file.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001164 "base/files/scoped_file_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001165 "base/files/scoped_temp_dir.cc",
1166 "base/functional/callback_helpers.cc",
1167 "base/functional/callback_internal.cc",
1168 "base/guid.cc",
1169 "base/hash/hash.cc",
1170 "base/hash/legacy_hash.cc",
1171 "base/hash/md5_boringssl.cc",
1172 "base/hash/sha1_boringssl.cc",
1173 "base/json/json_file_value_serializer.cc",
1174 "base/json/json_parser.cc",
1175 "base/json/json_reader.cc",
1176 "base/json/json_string_value_serializer.cc",
1177 "base/json/json_value_converter.cc",
1178 "base/json/json_writer.cc",
1179 "base/json/string_escape.cc",
1180 "base/json/values_util.cc",
1181 "base/lazy_instance_helpers.cc",
1182 "base/linux_util.cc",
1183 "base/location.cc",
1184 "base/logging.cc",
1185 "base/memory/aligned_memory.cc",
1186 "base/memory/discardable_memory.cc",
1187 "base/memory/discardable_memory_allocator.cc",
1188 "base/memory/discardable_shared_memory.cc",
1189 "base/memory/madv_free_discardable_memory_allocator_posix.cc",
1190 "base/memory/madv_free_discardable_memory_posix.cc",
1191 "base/memory/memory_pressure_listener.cc",
1192 "base/memory/memory_pressure_monitor.cc",
1193 "base/memory/nonscannable_memory.cc",
1194 "base/memory/page_size_posix.cc",
1195 "base/memory/platform_shared_memory_handle.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001196 "base/memory/platform_shared_memory_mapper_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001197 "base/memory/platform_shared_memory_region.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001198 "base/memory/platform_shared_memory_region_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001199 "base/memory/raw_ptr.cc",
1200 "base/memory/raw_ptr_asan_bound_arg_tracker.cc",
1201 "base/memory/raw_ptr_asan_service.cc",
1202 "base/memory/read_only_shared_memory_region.cc",
1203 "base/memory/ref_counted.cc",
1204 "base/memory/ref_counted_memory.cc",
1205 "base/memory/shared_memory_mapper.cc",
1206 "base/memory/shared_memory_mapping.cc",
1207 "base/memory/shared_memory_security_policy.cc",
1208 "base/memory/shared_memory_tracker.cc",
1209 "base/memory/unsafe_shared_memory_pool.cc",
1210 "base/memory/unsafe_shared_memory_region.cc",
1211 "base/memory/weak_ptr.cc",
1212 "base/memory/writable_shared_memory_region.cc",
1213 "base/message_loop/message_pump.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001214 "base/message_loop/message_pump_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001215 "base/message_loop/message_pump_default.cc",
1216 "base/message_loop/message_pump_epoll.cc",
1217 "base/message_loop/message_pump_libevent.cc",
1218 "base/message_loop/watchable_io_message_pump_posix.cc",
1219 "base/message_loop/work_id_provider.cc",
1220 "base/metrics/bucket_ranges.cc",
1221 "base/metrics/crc32.cc",
1222 "base/metrics/dummy_histogram.cc",
1223 "base/metrics/field_trial.cc",
1224 "base/metrics/field_trial_param_associator.cc",
1225 "base/metrics/field_trial_params.cc",
1226 "base/metrics/histogram.cc",
1227 "base/metrics/histogram_base.cc",
1228 "base/metrics/histogram_delta_serialization.cc",
1229 "base/metrics/histogram_functions.cc",
1230 "base/metrics/histogram_samples.cc",
1231 "base/metrics/histogram_snapshot_manager.cc",
1232 "base/metrics/metrics_hashes.cc",
1233 "base/metrics/persistent_histogram_allocator.cc",
1234 "base/metrics/persistent_histogram_storage.cc",
1235 "base/metrics/persistent_memory_allocator.cc",
1236 "base/metrics/persistent_sample_map.cc",
1237 "base/metrics/ranges_manager.cc",
1238 "base/metrics/sample_map.cc",
1239 "base/metrics/sample_vector.cc",
1240 "base/metrics/single_sample_metrics.cc",
1241 "base/metrics/sparse_histogram.cc",
1242 "base/metrics/statistics_recorder.cc",
1243 "base/metrics/user_metrics.cc",
1244 "base/native_library.cc",
1245 "base/native_library_posix.cc",
1246 "base/observer_list_internal.cc",
1247 "base/observer_list_threadsafe.cc",
1248 "base/observer_list_types.cc",
1249 "base/one_shot_event.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001250 "base/os_compat_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001251 "base/path_service.cc",
1252 "base/pending_task.cc",
1253 "base/pickle.cc",
1254 "base/posix/can_lower_nice_to.cc",
1255 "base/posix/file_descriptor_shuffle.cc",
1256 "base/posix/global_descriptors.cc",
1257 "base/posix/safe_strerror.cc",
1258 "base/posix/unix_domain_socket.cc",
1259 "base/power_monitor/battery_level_provider.cc",
1260 "base/power_monitor/battery_state_sampler.cc",
1261 "base/power_monitor/moving_average.cc",
1262 "base/power_monitor/power_monitor.cc",
1263 "base/power_monitor/power_monitor_device_source.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001264 "base/power_monitor/power_monitor_device_source_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001265 "base/power_monitor/power_monitor_features.cc",
1266 "base/power_monitor/power_monitor_source.cc",
1267 "base/power_monitor/sampling_event_source.cc",
1268 "base/power_monitor/timer_sampling_event_source.cc",
1269 "base/process/environment_internal.cc",
1270 "base/process/internal_linux.cc",
1271 "base/process/kill.cc",
1272 "base/process/kill_posix.cc",
1273 "base/process/launch.cc",
1274 "base/process/launch_posix.cc",
1275 "base/process/memory.cc",
1276 "base/process/memory_linux.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001277 "base/process/process_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001278 "base/process/process_handle.cc",
1279 "base/process/process_handle_linux.cc",
1280 "base/process/process_handle_posix.cc",
1281 "base/process/process_iterator.cc",
1282 "base/process/process_iterator_linux.cc",
1283 "base/process/process_metrics.cc",
1284 "base/process/process_metrics_linux.cc",
1285 "base/process/process_metrics_posix.cc",
1286 "base/process/process_posix.cc",
1287 "base/profiler/arm_cfi_table.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001288 "base/profiler/frame.cc",
1289 "base/profiler/metadata_recorder.cc",
1290 "base/profiler/module_cache.cc",
1291 "base/profiler/module_cache_posix.cc",
1292 "base/profiler/sample_metadata.cc",
1293 "base/profiler/sampling_profiler_thread_token.cc",
1294 "base/profiler/stack_base_address_posix.cc",
1295 "base/profiler/stack_buffer.cc",
1296 "base/profiler/stack_copier.cc",
1297 "base/profiler/stack_copier_signal.cc",
1298 "base/profiler/stack_copier_suspend.cc",
1299 "base/profiler/stack_sampler.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001300 "base/profiler/stack_sampler_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001301 "base/profiler/stack_sampler_impl.cc",
1302 "base/profiler/stack_sampling_profiler.cc",
1303 "base/profiler/thread_delegate_posix.cc",
1304 "base/profiler/unwinder.cc",
1305 "base/rand_util.cc",
1306 "base/rand_util_posix.cc",
1307 "base/run_loop.cc",
1308 "base/sampling_heap_profiler/lock_free_address_hash_set.cc",
1309 "base/sampling_heap_profiler/poisson_allocation_sampler.cc",
1310 "base/sampling_heap_profiler/sampling_heap_profiler.cc",
1311 "base/scoped_add_feature_flags.cc",
1312 "base/scoped_environment_variable_override.cc",
1313 "base/scoped_native_library.cc",
1314 "base/sequence_checker.cc",
1315 "base/sequence_checker_impl.cc",
1316 "base/sequence_token.cc",
1317 "base/strings/abseil_string_conversions.cc",
1318 "base/strings/abseil_string_number_conversions.cc",
1319 "base/strings/escape.cc",
1320 "base/strings/latin1_string_conversions.cc",
1321 "base/strings/pattern.cc",
1322 "base/strings/safe_sprintf.cc",
1323 "base/strings/strcat.cc",
1324 "base/strings/string_number_conversions.cc",
1325 "base/strings/string_piece.cc",
1326 "base/strings/string_split.cc",
1327 "base/strings/string_util.cc",
1328 "base/strings/string_util_constants.cc",
1329 "base/strings/stringprintf.cc",
1330 "base/strings/sys_string_conversions_posix.cc",
1331 "base/strings/utf_offset_string_conversions.cc",
1332 "base/strings/utf_string_conversion_utils.cc",
1333 "base/strings/utf_string_conversions.cc",
1334 "base/substring_set_matcher/matcher_string_pattern.cc",
1335 "base/substring_set_matcher/substring_set_matcher.cc",
1336 "base/supports_user_data.cc",
1337 "base/sync_socket.cc",
1338 "base/sync_socket_posix.cc",
1339 "base/synchronization/atomic_flag.cc",
1340 "base/synchronization/condition_variable_posix.cc",
1341 "base/synchronization/lock.cc",
1342 "base/synchronization/lock_impl_posix.cc",
1343 "base/synchronization/waitable_event_posix.cc",
1344 "base/synchronization/waitable_event_watcher_posix.cc",
1345 "base/syslog_logging.cc",
1346 "base/system/sys_info.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001347 "base/system/sys_info_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001348 "base/system/sys_info_linux.cc",
1349 "base/system/sys_info_posix.cc",
1350 "base/system/system_monitor.cc",
1351 "base/task/cancelable_task_tracker.cc",
1352 "base/task/common/checked_lock_impl.cc",
1353 "base/task/common/lazy_now.cc",
1354 "base/task/common/operations_controller.cc",
1355 "base/task/common/scoped_defer_task_posting.cc",
1356 "base/task/common/task_annotator.cc",
1357 "base/task/current_thread.cc",
1358 "base/task/default_delayed_task_handle_delegate.cc",
1359 "base/task/deferred_sequenced_task_runner.cc",
1360 "base/task/delayed_task_handle.cc",
1361 "base/task/lazy_thread_pool_task_runner.cc",
1362 "base/task/post_job.cc",
1363 "base/task/scoped_set_task_priority_for_current_thread.cc",
1364 "base/task/sequence_manager/associated_thread_id.cc",
1365 "base/task/sequence_manager/atomic_flag_set.cc",
1366 "base/task/sequence_manager/delayed_task_handle_delegate.cc",
1367 "base/task/sequence_manager/enqueue_order_generator.cc",
1368 "base/task/sequence_manager/fence.cc",
1369 "base/task/sequence_manager/hierarchical_timing_wheel.cc",
1370 "base/task/sequence_manager/sequence_manager.cc",
1371 "base/task/sequence_manager/sequence_manager_impl.cc",
1372 "base/task/sequence_manager/sequenced_task_source.cc",
1373 "base/task/sequence_manager/task_order.cc",
1374 "base/task/sequence_manager/task_queue.cc",
1375 "base/task/sequence_manager/task_queue_impl.cc",
1376 "base/task/sequence_manager/task_queue_selector.cc",
1377 "base/task/sequence_manager/tasks.cc",
1378 "base/task/sequence_manager/thread_controller.cc",
1379 "base/task/sequence_manager/thread_controller_impl.cc",
1380 "base/task/sequence_manager/thread_controller_power_monitor.cc",
1381 "base/task/sequence_manager/thread_controller_with_message_pump_impl.cc",
1382 "base/task/sequence_manager/time_domain.cc",
1383 "base/task/sequence_manager/timing_wheel.cc",
1384 "base/task/sequence_manager/wake_up_queue.cc",
1385 "base/task/sequence_manager/work_deduplicator.cc",
1386 "base/task/sequence_manager/work_queue.cc",
1387 "base/task/sequence_manager/work_queue_sets.cc",
1388 "base/task/sequenced_task_runner.cc",
1389 "base/task/simple_task_executor.cc",
1390 "base/task/single_thread_task_executor.cc",
1391 "base/task/single_thread_task_runner.cc",
1392 "base/task/task_executor.cc",
1393 "base/task/task_features.cc",
1394 "base/task/task_runner.cc",
1395 "base/task/task_traits.cc",
1396 "base/task/thread_pool.cc",
1397 "base/task/thread_pool/delayed_priority_queue.cc",
1398 "base/task/thread_pool/delayed_task_manager.cc",
1399 "base/task/thread_pool/environment_config.cc",
1400 "base/task/thread_pool/initialization_util.cc",
1401 "base/task/thread_pool/job_task_source.cc",
1402 "base/task/thread_pool/pooled_parallel_task_runner.cc",
1403 "base/task/thread_pool/pooled_sequenced_task_runner.cc",
1404 "base/task/thread_pool/pooled_single_thread_task_runner_manager.cc",
1405 "base/task/thread_pool/pooled_task_runner_delegate.cc",
1406 "base/task/thread_pool/priority_queue.cc",
1407 "base/task/thread_pool/sequence.cc",
1408 "base/task/thread_pool/service_thread.cc",
1409 "base/task/thread_pool/task.cc",
1410 "base/task/thread_pool/task_source.cc",
1411 "base/task/thread_pool/task_source_sort_key.cc",
1412 "base/task/thread_pool/task_tracker.cc",
1413 "base/task/thread_pool/thread_group.cc",
1414 "base/task/thread_pool/thread_group_impl.cc",
1415 "base/task/thread_pool/thread_group_native.cc",
1416 "base/task/thread_pool/thread_pool_impl.cc",
1417 "base/task/thread_pool/thread_pool_instance.cc",
1418 "base/task/thread_pool/worker_thread.cc",
1419 "base/task/thread_pool/worker_thread_stack.cc",
1420 "base/third_party/cityhash/city.cc",
1421 "base/third_party/cityhash_v103/src/city_v103.cc",
1422 "base/third_party/nspr/prtime.cc",
1423 "base/third_party/superfasthash/superfasthash.c",
1424 "base/threading/hang_watcher.cc",
1425 "base/threading/platform_thread.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001426 "base/threading/platform_thread_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001427 "base/threading/platform_thread_internal_posix.cc",
1428 "base/threading/platform_thread_posix.cc",
1429 "base/threading/platform_thread_ref.cc",
1430 "base/threading/post_task_and_reply_impl.cc",
1431 "base/threading/scoped_blocking_call.cc",
1432 "base/threading/scoped_blocking_call_internal.cc",
1433 "base/threading/scoped_thread_priority.cc",
1434 "base/threading/sequence_local_storage_map.cc",
1435 "base/threading/sequence_local_storage_slot.cc",
1436 "base/threading/sequenced_task_runner_handle.cc",
1437 "base/threading/simple_thread.cc",
1438 "base/threading/thread.cc",
1439 "base/threading/thread_checker.cc",
1440 "base/threading/thread_checker_impl.cc",
1441 "base/threading/thread_collision_warner.cc",
1442 "base/threading/thread_id_name_manager.cc",
1443 "base/threading/thread_local_storage.cc",
1444 "base/threading/thread_local_storage_posix.cc",
1445 "base/threading/thread_restrictions.cc",
1446 "base/threading/thread_task_runner_handle.cc",
1447 "base/threading/watchdog.cc",
1448 "base/time/clock.cc",
1449 "base/time/default_clock.cc",
1450 "base/time/default_tick_clock.cc",
1451 "base/time/tick_clock.cc",
1452 "base/time/time.cc",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001453 "base/time/time_android.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001454 "base/time/time_conversion_posix.cc",
1455 "base/time/time_delta_from_string.cc",
1456 "base/time/time_exploded_icu.cc",
1457 "base/time/time_exploded_posix.cc",
1458 "base/time/time_now_posix.cc",
1459 "base/time/time_override.cc",
1460 "base/time/time_to_iso8601.cc",
1461 "base/timer/elapsed_timer.cc",
1462 "base/timer/hi_res_timer_manager_posix.cc",
1463 "base/timer/lap_timer.cc",
1464 "base/timer/timer.cc",
1465 "base/timer/wall_clock_timer.cc",
1466 "base/token.cc",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001467 "base/trace_event/heap_profiler_allocation_context.cc",
1468 "base/trace_event/heap_profiler_allocation_context_tracker.cc",
1469 "base/trace_event/memory_allocator_dump_guid.cc",
1470 "base/trace_event/trace_event_stub.cc",
1471 "base/trace_event/trace_id_helper.cc",
1472 "base/unguessable_token.cc",
1473 "base/value_iterators.cc",
1474 "base/values.cc",
1475 "base/version.cc",
1476 "base/vlog.cc",
1477 ],
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001478 shared_libs: [
1479 "libandroid",
1480 "liblog",
1481 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07001482 static_libs: [
1483 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
1484 "cronet_aml_base_base_static",
1485 "cronet_aml_base_third_party_double_conversion_double_conversion",
1486 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +09001487 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001488 "cronet_aml_third_party_icu_icui18n",
1489 "cronet_aml_third_party_icu_icuuc_private",
1490 "cronet_aml_third_party_libevent_libevent",
1491 "cronet_aml_third_party_modp_b64_modp_b64",
1492 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07001493 defaults: [
1494 "cronet_aml_defaults",
1495 ],
1496 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001497 "-DANDROID",
1498 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001499 "-DBASE_IMPLEMENTATION",
1500 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
1501 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
1502 "-DDCHECK_ALWAYS_ON=1",
1503 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001504 "-DHAVE_SYS_UIO_H",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001505 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
1506 "-DUSE_CHROMIUM_ICU=1",
1507 "-DU_ENABLE_DYLOAD=0",
1508 "-DU_ENABLE_RESOURCE_TRACING=0",
1509 "-DU_ENABLE_TRACING=1",
1510 "-DU_STATIC_IMPLEMENTATION",
1511 "-DU_USING_ICU_NAMESPACE=0",
1512 "-D_DEBUG",
1513 "-D_GNU_SOURCE",
1514 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
1515 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
1516 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
1517 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
1518 "-D__STDC_CONSTANT_MACROS",
1519 "-D__STDC_FORMAT_MACROS",
1520 ],
1521 local_include_dirs: [
1522 "./",
1523 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07001524 "buildtools/third_party/libc++/trunk/include",
1525 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001526 "third_party/abseil-cpp/",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08001527 "third_party/android_ndk/sources/android/cpufeatures/",
Patrick Rohrcc377df2022-10-28 09:27:15 -07001528 "third_party/boringssl/src/include/",
1529 "third_party/icu/source/common/",
1530 "third_party/icu/source/i18n/",
1531 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07001532 cpp_std: "c++20",
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08001533 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001534 android_arm: {
1535 srcs: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001536 "base/android/reached_code_profiler.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001537 "base/profiler/chrome_unwind_info_android.cc",
1538 "base/profiler/chrome_unwinder_android.cc",
1539 "base/profiler/chrome_unwinder_android_v2.cc",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001540 "base/trace_event/cfi_backtrace_android.cc",
1541 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001542 generated_headers: [
1543 "cronet_aml_base_allocator_buildflags__android_arm",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001544 "cronet_aml_base_anchor_functions_buildflags__android_arm",
1545 "cronet_aml_base_android_runtime_jni_headers__android_arm",
1546 "cronet_aml_base_base_jni_headers__android_arm",
1547 "cronet_aml_base_build_date__android_arm",
1548 "cronet_aml_base_cfi_buildflags__android_arm",
1549 "cronet_aml_base_clang_profiling_buildflags__android_arm",
1550 "cronet_aml_base_debugging_buildflags__android_arm",
1551 "cronet_aml_base_feature_list_buildflags__android_arm",
1552 "cronet_aml_base_ios_cronet_buildflags__android_arm",
1553 "cronet_aml_base_logging_buildflags__android_arm",
1554 "cronet_aml_base_message_pump_buildflags__android_arm",
1555 "cronet_aml_base_orderfile_buildflags__android_arm",
1556 "cronet_aml_base_parsing_buildflags__android_arm",
1557 "cronet_aml_base_power_monitor_buildflags__android_arm",
1558 "cronet_aml_base_profiler_buildflags__android_arm",
1559 "cronet_aml_base_sanitizer_buildflags__android_arm",
1560 "cronet_aml_base_synchronization_buildflags__android_arm",
1561 "cronet_aml_base_tracing_buildflags__android_arm",
1562 "cronet_aml_build_branding_buildflags__android_arm",
1563 "cronet_aml_build_chromecast_buildflags__android_arm",
1564 "cronet_aml_build_chromeos_buildflags__android_arm",
1565 "cronet_aml_build_config_compiler_compiler_buildflags__android_arm",
1566 ],
1567 export_generated_headers: [
1568 "cronet_aml_base_allocator_buildflags__android_arm",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001569 "cronet_aml_base_anchor_functions_buildflags__android_arm",
1570 "cronet_aml_base_android_runtime_jni_headers__android_arm",
1571 "cronet_aml_base_base_jni_headers__android_arm",
1572 "cronet_aml_base_build_date__android_arm",
1573 "cronet_aml_base_cfi_buildflags__android_arm",
1574 "cronet_aml_base_clang_profiling_buildflags__android_arm",
1575 "cronet_aml_base_debugging_buildflags__android_arm",
1576 "cronet_aml_base_feature_list_buildflags__android_arm",
1577 "cronet_aml_base_ios_cronet_buildflags__android_arm",
1578 "cronet_aml_base_logging_buildflags__android_arm",
1579 "cronet_aml_base_message_pump_buildflags__android_arm",
1580 "cronet_aml_base_orderfile_buildflags__android_arm",
1581 "cronet_aml_base_parsing_buildflags__android_arm",
1582 "cronet_aml_base_power_monitor_buildflags__android_arm",
1583 "cronet_aml_base_profiler_buildflags__android_arm",
1584 "cronet_aml_base_sanitizer_buildflags__android_arm",
1585 "cronet_aml_base_synchronization_buildflags__android_arm",
1586 "cronet_aml_base_tracing_buildflags__android_arm",
1587 "cronet_aml_build_branding_buildflags__android_arm",
1588 "cronet_aml_build_chromecast_buildflags__android_arm",
1589 "cronet_aml_build_chromeos_buildflags__android_arm",
1590 "cronet_aml_build_config_compiler_compiler_buildflags__android_arm",
1591 ],
1592 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09001593 android_arm64: {
1594 srcs: [
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09001595 "base/android/reached_code_profiler.cc",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09001596 ],
1597 generated_headers: [
1598 "cronet_aml_base_allocator_buildflags__android_arm64",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09001599 "cronet_aml_base_anchor_functions_buildflags__android_arm64",
1600 "cronet_aml_base_android_runtime_jni_headers__android_arm64",
1601 "cronet_aml_base_base_jni_headers__android_arm64",
1602 "cronet_aml_base_build_date__android_arm64",
1603 "cronet_aml_base_cfi_buildflags__android_arm64",
1604 "cronet_aml_base_clang_profiling_buildflags__android_arm64",
1605 "cronet_aml_base_debugging_buildflags__android_arm64",
1606 "cronet_aml_base_feature_list_buildflags__android_arm64",
1607 "cronet_aml_base_ios_cronet_buildflags__android_arm64",
1608 "cronet_aml_base_logging_buildflags__android_arm64",
1609 "cronet_aml_base_message_pump_buildflags__android_arm64",
1610 "cronet_aml_base_orderfile_buildflags__android_arm64",
1611 "cronet_aml_base_parsing_buildflags__android_arm64",
1612 "cronet_aml_base_power_monitor_buildflags__android_arm64",
1613 "cronet_aml_base_profiler_buildflags__android_arm64",
1614 "cronet_aml_base_sanitizer_buildflags__android_arm64",
1615 "cronet_aml_base_synchronization_buildflags__android_arm64",
1616 "cronet_aml_base_tracing_buildflags__android_arm64",
1617 "cronet_aml_build_branding_buildflags__android_arm64",
1618 "cronet_aml_build_chromecast_buildflags__android_arm64",
1619 "cronet_aml_build_chromeos_buildflags__android_arm64",
1620 "cronet_aml_build_config_compiler_compiler_buildflags__android_arm64",
1621 ],
1622 export_generated_headers: [
1623 "cronet_aml_base_allocator_buildflags__android_arm64",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09001624 "cronet_aml_base_anchor_functions_buildflags__android_arm64",
1625 "cronet_aml_base_android_runtime_jni_headers__android_arm64",
1626 "cronet_aml_base_base_jni_headers__android_arm64",
1627 "cronet_aml_base_build_date__android_arm64",
1628 "cronet_aml_base_cfi_buildflags__android_arm64",
1629 "cronet_aml_base_clang_profiling_buildflags__android_arm64",
1630 "cronet_aml_base_debugging_buildflags__android_arm64",
1631 "cronet_aml_base_feature_list_buildflags__android_arm64",
1632 "cronet_aml_base_ios_cronet_buildflags__android_arm64",
1633 "cronet_aml_base_logging_buildflags__android_arm64",
1634 "cronet_aml_base_message_pump_buildflags__android_arm64",
1635 "cronet_aml_base_orderfile_buildflags__android_arm64",
1636 "cronet_aml_base_parsing_buildflags__android_arm64",
1637 "cronet_aml_base_power_monitor_buildflags__android_arm64",
1638 "cronet_aml_base_profiler_buildflags__android_arm64",
1639 "cronet_aml_base_sanitizer_buildflags__android_arm64",
1640 "cronet_aml_base_synchronization_buildflags__android_arm64",
1641 "cronet_aml_base_tracing_buildflags__android_arm64",
1642 "cronet_aml_build_branding_buildflags__android_arm64",
1643 "cronet_aml_build_chromecast_buildflags__android_arm64",
1644 "cronet_aml_build_chromeos_buildflags__android_arm64",
1645 "cronet_aml_build_config_compiler_compiler_buildflags__android_arm64",
1646 ],
1647 },
Motomu Utsumi65501182022-11-18 15:26:35 +09001648 android_x86: {
1649 srcs: [
Motomu Utsumi65501182022-11-18 15:26:35 +09001650 "base/android/reached_code_profiler_stub.cc",
Motomu Utsumi65501182022-11-18 15:26:35 +09001651 ],
1652 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001653 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09001654 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00001655 generated_headers: [
1656 "cronet_aml_base_allocator_buildflags__android_x86",
Mohannad Farrag631443e2022-11-21 16:17:01 +00001657 "cronet_aml_base_anchor_functions_buildflags__android_x86",
1658 "cronet_aml_base_android_runtime_jni_headers__android_x86",
1659 "cronet_aml_base_base_jni_headers__android_x86",
1660 "cronet_aml_base_build_date__android_x86",
1661 "cronet_aml_base_cfi_buildflags__android_x86",
1662 "cronet_aml_base_clang_profiling_buildflags__android_x86",
1663 "cronet_aml_base_debugging_buildflags__android_x86",
1664 "cronet_aml_base_feature_list_buildflags__android_x86",
1665 "cronet_aml_base_ios_cronet_buildflags__android_x86",
1666 "cronet_aml_base_logging_buildflags__android_x86",
1667 "cronet_aml_base_message_pump_buildflags__android_x86",
1668 "cronet_aml_base_orderfile_buildflags__android_x86",
1669 "cronet_aml_base_parsing_buildflags__android_x86",
1670 "cronet_aml_base_power_monitor_buildflags__android_x86",
1671 "cronet_aml_base_profiler_buildflags__android_x86",
1672 "cronet_aml_base_sanitizer_buildflags__android_x86",
1673 "cronet_aml_base_synchronization_buildflags__android_x86",
1674 "cronet_aml_base_tracing_buildflags__android_x86",
1675 "cronet_aml_build_branding_buildflags__android_x86",
1676 "cronet_aml_build_chromecast_buildflags__android_x86",
1677 "cronet_aml_build_chromeos_buildflags__android_x86",
1678 "cronet_aml_build_config_compiler_compiler_buildflags__android_x86",
1679 ],
1680 export_generated_headers: [
1681 "cronet_aml_base_allocator_buildflags__android_x86",
Mohannad Farrag631443e2022-11-21 16:17:01 +00001682 "cronet_aml_base_anchor_functions_buildflags__android_x86",
1683 "cronet_aml_base_android_runtime_jni_headers__android_x86",
1684 "cronet_aml_base_base_jni_headers__android_x86",
1685 "cronet_aml_base_build_date__android_x86",
1686 "cronet_aml_base_cfi_buildflags__android_x86",
1687 "cronet_aml_base_clang_profiling_buildflags__android_x86",
1688 "cronet_aml_base_debugging_buildflags__android_x86",
1689 "cronet_aml_base_feature_list_buildflags__android_x86",
1690 "cronet_aml_base_ios_cronet_buildflags__android_x86",
1691 "cronet_aml_base_logging_buildflags__android_x86",
1692 "cronet_aml_base_message_pump_buildflags__android_x86",
1693 "cronet_aml_base_orderfile_buildflags__android_x86",
1694 "cronet_aml_base_parsing_buildflags__android_x86",
1695 "cronet_aml_base_power_monitor_buildflags__android_x86",
1696 "cronet_aml_base_profiler_buildflags__android_x86",
1697 "cronet_aml_base_sanitizer_buildflags__android_x86",
1698 "cronet_aml_base_synchronization_buildflags__android_x86",
1699 "cronet_aml_base_tracing_buildflags__android_x86",
1700 "cronet_aml_build_branding_buildflags__android_x86",
1701 "cronet_aml_build_chromecast_buildflags__android_x86",
1702 "cronet_aml_build_chromeos_buildflags__android_x86",
1703 "cronet_aml_build_config_compiler_compiler_buildflags__android_x86",
1704 ],
Motomu Utsumi65501182022-11-18 15:26:35 +09001705 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08001706 android_x86_64: {
1707 srcs: [
Patrick Rohr3b5ff762022-11-16 10:22:16 -08001708 "base/android/reached_code_profiler_stub.cc",
Patrick Rohr3b5ff762022-11-16 10:22:16 -08001709 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09001710 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001711 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09001712 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00001713 generated_headers: [
1714 "cronet_aml_base_allocator_buildflags__android_x86_64",
Mohannad Farrag631443e2022-11-21 16:17:01 +00001715 "cronet_aml_base_anchor_functions_buildflags__android_x86_64",
1716 "cronet_aml_base_android_runtime_jni_headers__android_x86_64",
1717 "cronet_aml_base_base_jni_headers__android_x86_64",
1718 "cronet_aml_base_build_date__android_x86_64",
1719 "cronet_aml_base_cfi_buildflags__android_x86_64",
1720 "cronet_aml_base_clang_profiling_buildflags__android_x86_64",
1721 "cronet_aml_base_debugging_buildflags__android_x86_64",
1722 "cronet_aml_base_feature_list_buildflags__android_x86_64",
1723 "cronet_aml_base_ios_cronet_buildflags__android_x86_64",
1724 "cronet_aml_base_logging_buildflags__android_x86_64",
1725 "cronet_aml_base_message_pump_buildflags__android_x86_64",
1726 "cronet_aml_base_orderfile_buildflags__android_x86_64",
1727 "cronet_aml_base_parsing_buildflags__android_x86_64",
1728 "cronet_aml_base_power_monitor_buildflags__android_x86_64",
1729 "cronet_aml_base_profiler_buildflags__android_x86_64",
1730 "cronet_aml_base_sanitizer_buildflags__android_x86_64",
1731 "cronet_aml_base_synchronization_buildflags__android_x86_64",
1732 "cronet_aml_base_tracing_buildflags__android_x86_64",
1733 "cronet_aml_build_branding_buildflags__android_x86_64",
1734 "cronet_aml_build_chromecast_buildflags__android_x86_64",
1735 "cronet_aml_build_chromeos_buildflags__android_x86_64",
1736 "cronet_aml_build_config_compiler_compiler_buildflags__android_x86_64",
1737 ],
1738 export_generated_headers: [
1739 "cronet_aml_base_allocator_buildflags__android_x86_64",
Mohannad Farrag631443e2022-11-21 16:17:01 +00001740 "cronet_aml_base_anchor_functions_buildflags__android_x86_64",
1741 "cronet_aml_base_android_runtime_jni_headers__android_x86_64",
1742 "cronet_aml_base_base_jni_headers__android_x86_64",
1743 "cronet_aml_base_build_date__android_x86_64",
1744 "cronet_aml_base_cfi_buildflags__android_x86_64",
1745 "cronet_aml_base_clang_profiling_buildflags__android_x86_64",
1746 "cronet_aml_base_debugging_buildflags__android_x86_64",
1747 "cronet_aml_base_feature_list_buildflags__android_x86_64",
1748 "cronet_aml_base_ios_cronet_buildflags__android_x86_64",
1749 "cronet_aml_base_logging_buildflags__android_x86_64",
1750 "cronet_aml_base_message_pump_buildflags__android_x86_64",
1751 "cronet_aml_base_orderfile_buildflags__android_x86_64",
1752 "cronet_aml_base_parsing_buildflags__android_x86_64",
1753 "cronet_aml_base_power_monitor_buildflags__android_x86_64",
1754 "cronet_aml_base_profiler_buildflags__android_x86_64",
1755 "cronet_aml_base_sanitizer_buildflags__android_x86_64",
1756 "cronet_aml_base_synchronization_buildflags__android_x86_64",
1757 "cronet_aml_base_tracing_buildflags__android_x86_64",
1758 "cronet_aml_build_branding_buildflags__android_x86_64",
1759 "cronet_aml_build_chromecast_buildflags__android_x86_64",
1760 "cronet_aml_build_chromeos_buildflags__android_x86_64",
1761 "cronet_aml_build_config_compiler_compiler_buildflags__android_x86_64",
1762 ],
Patrick Rohr3b5ff762022-11-16 10:22:16 -08001763 },
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08001764 },
Patrick Rohrcc377df2022-10-28 09:27:15 -07001765}
1766
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00001767// GN: //base:base_android_java_enums_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00001768java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00001769 name: "cronet_aml_base_base_android_java_enums_srcjar",
1770 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00001771 "$(out) " +
1772 "$(location base/android/application_status_listener.h) " +
1773 "$(location base/android/child_process_binding_types.h) " +
1774 "$(location base/android/library_loader/library_loader_hooks.h) " +
1775 "$(location base/android/linker/modern_linker_jni.h) " +
1776 "$(location base/android/task_scheduler/task_runner_android.h) " +
1777 "$(location base/memory/memory_pressure_listener.h) " +
1778 "$(location base/metrics/histogram_base.h) " +
1779 "$(location base/task/task_traits.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00001780 out: [
1781 "base/base_android_java_enums_srcjar.srcjar",
1782 ],
1783 tool_files: [
1784 "base/android/application_status_listener.h",
1785 "base/android/child_process_binding_types.h",
1786 "base/android/library_loader/library_loader_hooks.h",
1787 "base/android/linker/modern_linker_jni.h",
1788 "base/android/task_scheduler/task_runner_android.h",
1789 "base/memory/memory_pressure_listener.h",
1790 "base/metrics/histogram_base.h",
1791 "base/task/task_traits.h",
1792 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09001793 "build/android/gyp/util/__init__.py",
1794 "build/android/gyp/util/build_utils.py",
1795 "build/android/gyp/util/java_cpp_utils.py",
1796 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00001797 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00001798}
1799
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001800// GN: //base:base_jni_headers__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00001801cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001802 name: "cronet_aml_base_base_jni_headers__android_arm",
1803 srcs: [
1804 "base/android/java/src/org/chromium/base/ApkAssets.java",
1805 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
1806 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
1807 "base/android/java/src/org/chromium/base/BuildInfo.java",
1808 "base/android/java/src/org/chromium/base/BundleUtils.java",
1809 "base/android/java/src/org/chromium/base/Callback.java",
1810 "base/android/java/src/org/chromium/base/CommandLine.java",
1811 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
1812 "base/android/java/src/org/chromium/base/CpuFeatures.java",
1813 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
1814 "base/android/java/src/org/chromium/base/EventLog.java",
1815 "base/android/java/src/org/chromium/base/FeatureList.java",
1816 "base/android/java/src/org/chromium/base/Features.java",
1817 "base/android/java/src/org/chromium/base/FieldTrialList.java",
1818 "base/android/java/src/org/chromium/base/FileUtils.java",
1819 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
1820 "base/android/java/src/org/chromium/base/IntStringCallback.java",
1821 "base/android/java/src/org/chromium/base/JNIUtils.java",
1822 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
1823 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
1824 "base/android/java/src/org/chromium/base/LocaleUtils.java",
1825 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
1826 "base/android/java/src/org/chromium/base/PathService.java",
1827 "base/android/java/src/org/chromium/base/PathUtils.java",
1828 "base/android/java/src/org/chromium/base/PowerMonitor.java",
1829 "base/android/java/src/org/chromium/base/RadioUtils.java",
1830 "base/android/java/src/org/chromium/base/SysUtils.java",
1831 "base/android/java/src/org/chromium/base/ThreadUtils.java",
1832 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
1833 "base/android/java/src/org/chromium/base/TraceEvent.java",
1834 "base/android/java/src/org/chromium/base/UnguessableToken.java",
1835 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
1836 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
1837 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
1838 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
1839 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
1840 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
1841 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
1842 "base/android/java/src/org/chromium/base/task/PostTask.java",
1843 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
1844 ],
1845 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
1846 "long " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09001847 "--output_dir " +
1848 "$(genDir)/base/base_jni_headers " +
1849 "--includes " +
1850 "base/android/jni_generator/jni_generator_helper.h " +
1851 "--use_proxy_hash " +
1852 "--output_name " +
1853 "ApkAssets_jni.h " +
1854 "--output_name " +
1855 "ApplicationStatus_jni.h " +
1856 "--output_name " +
1857 "BaseFeatureList_jni.h " +
1858 "--output_name " +
1859 "BuildInfo_jni.h " +
1860 "--output_name " +
1861 "BundleUtils_jni.h " +
1862 "--output_name " +
1863 "Callback_jni.h " +
1864 "--output_name " +
1865 "CommandLine_jni.h " +
1866 "--output_name " +
1867 "ContentUriUtils_jni.h " +
1868 "--output_name " +
1869 "CpuFeatures_jni.h " +
1870 "--output_name " +
1871 "EarlyTraceEvent_jni.h " +
1872 "--output_name " +
1873 "EventLog_jni.h " +
1874 "--output_name " +
1875 "FeatureList_jni.h " +
1876 "--output_name " +
1877 "Features_jni.h " +
1878 "--output_name " +
1879 "FieldTrialList_jni.h " +
1880 "--output_name " +
1881 "FileUtils_jni.h " +
1882 "--output_name " +
1883 "ImportantFileWriterAndroid_jni.h " +
1884 "--output_name " +
1885 "IntStringCallback_jni.h " +
1886 "--output_name " +
1887 "JNIUtils_jni.h " +
1888 "--output_name " +
1889 "JavaExceptionReporter_jni.h " +
1890 "--output_name " +
1891 "JavaHandlerThread_jni.h " +
1892 "--output_name " +
1893 "LocaleUtils_jni.h " +
1894 "--output_name " +
1895 "MemoryPressureListener_jni.h " +
1896 "--output_name " +
1897 "PathService_jni.h " +
1898 "--output_name " +
1899 "PathUtils_jni.h " +
1900 "--output_name " +
1901 "PowerMonitor_jni.h " +
1902 "--output_name " +
1903 "RadioUtils_jni.h " +
1904 "--output_name " +
1905 "SysUtils_jni.h " +
1906 "--output_name " +
1907 "ThreadUtils_jni.h " +
1908 "--output_name " +
1909 "TimezoneUtils_jni.h " +
1910 "--output_name " +
1911 "TraceEvent_jni.h " +
1912 "--output_name " +
1913 "UnguessableToken_jni.h " +
1914 "--output_name " +
1915 "JankMetricUMARecorder_jni.h " +
1916 "--output_name " +
1917 "LibraryLoader_jni.h " +
1918 "--output_name " +
1919 "LibraryPrefetcher_jni.h " +
1920 "--output_name " +
1921 "JavaHeapDumpGenerator_jni.h " +
1922 "--output_name " +
1923 "NativeUmaRecorder_jni.h " +
1924 "--output_name " +
1925 "StatisticsRecorderAndroid_jni.h " +
1926 "--output_name " +
1927 "ChildProcessService_jni.h " +
1928 "--output_name " +
1929 "PostTask_jni.h " +
1930 "--output_name " +
1931 "TaskRunnerImpl_jni.h " +
1932 "--input_file " +
1933 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
1934 "--input_file " +
1935 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
1936 "--input_file " +
1937 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
1938 "--input_file " +
1939 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
1940 "--input_file " +
1941 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
1942 "--input_file " +
1943 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
1944 "--input_file " +
1945 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
1946 "--input_file " +
1947 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
1948 "--input_file " +
1949 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
1950 "--input_file " +
1951 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
1952 "--input_file " +
1953 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
1954 "--input_file " +
1955 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
1956 "--input_file " +
1957 "$(location base/android/java/src/org/chromium/base/Features.java) " +
1958 "--input_file " +
1959 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
1960 "--input_file " +
1961 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
1962 "--input_file " +
1963 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
1964 "--input_file " +
1965 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
1966 "--input_file " +
1967 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
1968 "--input_file " +
1969 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
1970 "--input_file " +
1971 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
1972 "--input_file " +
1973 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
1974 "--input_file " +
1975 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
1976 "--input_file " +
1977 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
1978 "--input_file " +
1979 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
1980 "--input_file " +
1981 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
1982 "--input_file " +
1983 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
1984 "--input_file " +
1985 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
1986 "--input_file " +
1987 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
1988 "--input_file " +
1989 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
1990 "--input_file " +
1991 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
1992 "--input_file " +
1993 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
1994 "--input_file " +
1995 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
1996 "--input_file " +
1997 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
1998 "--input_file " +
1999 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
2000 "--input_file " +
2001 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
2002 "--input_file " +
2003 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
2004 "--input_file " +
2005 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
2006 "--input_file " +
2007 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
2008 "--input_file " +
2009 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
2010 "--input_file " +
2011 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
2012 out: [
2013 "base/base_jni_headers/ApkAssets_jni.h",
2014 "base/base_jni_headers/ApplicationStatus_jni.h",
2015 "base/base_jni_headers/BaseFeatureList_jni.h",
2016 "base/base_jni_headers/BuildInfo_jni.h",
2017 "base/base_jni_headers/BundleUtils_jni.h",
2018 "base/base_jni_headers/Callback_jni.h",
2019 "base/base_jni_headers/ChildProcessService_jni.h",
2020 "base/base_jni_headers/CommandLine_jni.h",
2021 "base/base_jni_headers/ContentUriUtils_jni.h",
2022 "base/base_jni_headers/CpuFeatures_jni.h",
2023 "base/base_jni_headers/EarlyTraceEvent_jni.h",
2024 "base/base_jni_headers/EventLog_jni.h",
2025 "base/base_jni_headers/FeatureList_jni.h",
2026 "base/base_jni_headers/Features_jni.h",
2027 "base/base_jni_headers/FieldTrialList_jni.h",
2028 "base/base_jni_headers/FileUtils_jni.h",
2029 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
2030 "base/base_jni_headers/IntStringCallback_jni.h",
2031 "base/base_jni_headers/JNIUtils_jni.h",
2032 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
2033 "base/base_jni_headers/JavaExceptionReporter_jni.h",
2034 "base/base_jni_headers/JavaHandlerThread_jni.h",
2035 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
2036 "base/base_jni_headers/LibraryLoader_jni.h",
2037 "base/base_jni_headers/LibraryPrefetcher_jni.h",
2038 "base/base_jni_headers/LocaleUtils_jni.h",
2039 "base/base_jni_headers/MemoryPressureListener_jni.h",
2040 "base/base_jni_headers/NativeUmaRecorder_jni.h",
2041 "base/base_jni_headers/PathService_jni.h",
2042 "base/base_jni_headers/PathUtils_jni.h",
2043 "base/base_jni_headers/PostTask_jni.h",
2044 "base/base_jni_headers/PowerMonitor_jni.h",
2045 "base/base_jni_headers/RadioUtils_jni.h",
2046 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
2047 "base/base_jni_headers/SysUtils_jni.h",
2048 "base/base_jni_headers/TaskRunnerImpl_jni.h",
2049 "base/base_jni_headers/ThreadUtils_jni.h",
2050 "base/base_jni_headers/TimezoneUtils_jni.h",
2051 "base/base_jni_headers/TraceEvent_jni.h",
2052 "base/base_jni_headers/UnguessableToken_jni.h",
2053 ],
2054 tool_files: [
2055 "base/android/jni_generator/android_jar.classes",
2056 "base/android/jni_generator/jni_generator.py",
2057 "build/android/gyp/util/__init__.py",
2058 "build/android/gyp/util/build_utils.py",
2059 "build/gn_helpers.py",
2060 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002061 apex_available: [
2062 "com.android.tethering",
2063 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002064}
2065
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002066// GN: //base:base_jni_headers__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002067cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002068 name: "cronet_aml_base_base_jni_headers__android_arm64",
2069 srcs: [
2070 "base/android/java/src/org/chromium/base/ApkAssets.java",
2071 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
2072 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
2073 "base/android/java/src/org/chromium/base/BuildInfo.java",
2074 "base/android/java/src/org/chromium/base/BundleUtils.java",
2075 "base/android/java/src/org/chromium/base/Callback.java",
2076 "base/android/java/src/org/chromium/base/CommandLine.java",
2077 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
2078 "base/android/java/src/org/chromium/base/CpuFeatures.java",
2079 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
2080 "base/android/java/src/org/chromium/base/EventLog.java",
2081 "base/android/java/src/org/chromium/base/FeatureList.java",
2082 "base/android/java/src/org/chromium/base/Features.java",
2083 "base/android/java/src/org/chromium/base/FieldTrialList.java",
2084 "base/android/java/src/org/chromium/base/FileUtils.java",
2085 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
2086 "base/android/java/src/org/chromium/base/IntStringCallback.java",
2087 "base/android/java/src/org/chromium/base/JNIUtils.java",
2088 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
2089 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
2090 "base/android/java/src/org/chromium/base/LocaleUtils.java",
2091 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
2092 "base/android/java/src/org/chromium/base/PathService.java",
2093 "base/android/java/src/org/chromium/base/PathUtils.java",
2094 "base/android/java/src/org/chromium/base/PowerMonitor.java",
2095 "base/android/java/src/org/chromium/base/RadioUtils.java",
2096 "base/android/java/src/org/chromium/base/SysUtils.java",
2097 "base/android/java/src/org/chromium/base/ThreadUtils.java",
2098 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
2099 "base/android/java/src/org/chromium/base/TraceEvent.java",
2100 "base/android/java/src/org/chromium/base/UnguessableToken.java",
2101 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
2102 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
2103 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
2104 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
2105 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
2106 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
2107 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
2108 "base/android/java/src/org/chromium/base/task/PostTask.java",
2109 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
2110 ],
2111 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2112 "long " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002113 "--output_dir " +
2114 "$(genDir)/base/base_jni_headers " +
2115 "--includes " +
2116 "base/android/jni_generator/jni_generator_helper.h " +
2117 "--use_proxy_hash " +
2118 "--output_name " +
2119 "ApkAssets_jni.h " +
2120 "--output_name " +
2121 "ApplicationStatus_jni.h " +
2122 "--output_name " +
2123 "BaseFeatureList_jni.h " +
2124 "--output_name " +
2125 "BuildInfo_jni.h " +
2126 "--output_name " +
2127 "BundleUtils_jni.h " +
2128 "--output_name " +
2129 "Callback_jni.h " +
2130 "--output_name " +
2131 "CommandLine_jni.h " +
2132 "--output_name " +
2133 "ContentUriUtils_jni.h " +
2134 "--output_name " +
2135 "CpuFeatures_jni.h " +
2136 "--output_name " +
2137 "EarlyTraceEvent_jni.h " +
2138 "--output_name " +
2139 "EventLog_jni.h " +
2140 "--output_name " +
2141 "FeatureList_jni.h " +
2142 "--output_name " +
2143 "Features_jni.h " +
2144 "--output_name " +
2145 "FieldTrialList_jni.h " +
2146 "--output_name " +
2147 "FileUtils_jni.h " +
2148 "--output_name " +
2149 "ImportantFileWriterAndroid_jni.h " +
2150 "--output_name " +
2151 "IntStringCallback_jni.h " +
2152 "--output_name " +
2153 "JNIUtils_jni.h " +
2154 "--output_name " +
2155 "JavaExceptionReporter_jni.h " +
2156 "--output_name " +
2157 "JavaHandlerThread_jni.h " +
2158 "--output_name " +
2159 "LocaleUtils_jni.h " +
2160 "--output_name " +
2161 "MemoryPressureListener_jni.h " +
2162 "--output_name " +
2163 "PathService_jni.h " +
2164 "--output_name " +
2165 "PathUtils_jni.h " +
2166 "--output_name " +
2167 "PowerMonitor_jni.h " +
2168 "--output_name " +
2169 "RadioUtils_jni.h " +
2170 "--output_name " +
2171 "SysUtils_jni.h " +
2172 "--output_name " +
2173 "ThreadUtils_jni.h " +
2174 "--output_name " +
2175 "TimezoneUtils_jni.h " +
2176 "--output_name " +
2177 "TraceEvent_jni.h " +
2178 "--output_name " +
2179 "UnguessableToken_jni.h " +
2180 "--output_name " +
2181 "JankMetricUMARecorder_jni.h " +
2182 "--output_name " +
2183 "LibraryLoader_jni.h " +
2184 "--output_name " +
2185 "LibraryPrefetcher_jni.h " +
2186 "--output_name " +
2187 "JavaHeapDumpGenerator_jni.h " +
2188 "--output_name " +
2189 "NativeUmaRecorder_jni.h " +
2190 "--output_name " +
2191 "StatisticsRecorderAndroid_jni.h " +
2192 "--output_name " +
2193 "ChildProcessService_jni.h " +
2194 "--output_name " +
2195 "PostTask_jni.h " +
2196 "--output_name " +
2197 "TaskRunnerImpl_jni.h " +
2198 "--input_file " +
2199 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
2200 "--input_file " +
2201 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
2202 "--input_file " +
2203 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
2204 "--input_file " +
2205 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
2206 "--input_file " +
2207 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
2208 "--input_file " +
2209 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
2210 "--input_file " +
2211 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
2212 "--input_file " +
2213 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
2214 "--input_file " +
2215 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
2216 "--input_file " +
2217 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
2218 "--input_file " +
2219 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
2220 "--input_file " +
2221 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
2222 "--input_file " +
2223 "$(location base/android/java/src/org/chromium/base/Features.java) " +
2224 "--input_file " +
2225 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
2226 "--input_file " +
2227 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
2228 "--input_file " +
2229 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
2230 "--input_file " +
2231 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
2232 "--input_file " +
2233 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
2234 "--input_file " +
2235 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
2236 "--input_file " +
2237 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
2238 "--input_file " +
2239 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
2240 "--input_file " +
2241 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
2242 "--input_file " +
2243 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
2244 "--input_file " +
2245 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
2246 "--input_file " +
2247 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
2248 "--input_file " +
2249 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
2250 "--input_file " +
2251 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
2252 "--input_file " +
2253 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
2254 "--input_file " +
2255 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
2256 "--input_file " +
2257 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
2258 "--input_file " +
2259 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
2260 "--input_file " +
2261 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
2262 "--input_file " +
2263 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
2264 "--input_file " +
2265 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
2266 "--input_file " +
2267 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
2268 "--input_file " +
2269 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
2270 "--input_file " +
2271 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
2272 "--input_file " +
2273 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
2274 "--input_file " +
2275 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
2276 "--input_file " +
2277 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
2278 out: [
2279 "base/base_jni_headers/ApkAssets_jni.h",
2280 "base/base_jni_headers/ApplicationStatus_jni.h",
2281 "base/base_jni_headers/BaseFeatureList_jni.h",
2282 "base/base_jni_headers/BuildInfo_jni.h",
2283 "base/base_jni_headers/BundleUtils_jni.h",
2284 "base/base_jni_headers/Callback_jni.h",
2285 "base/base_jni_headers/ChildProcessService_jni.h",
2286 "base/base_jni_headers/CommandLine_jni.h",
2287 "base/base_jni_headers/ContentUriUtils_jni.h",
2288 "base/base_jni_headers/CpuFeatures_jni.h",
2289 "base/base_jni_headers/EarlyTraceEvent_jni.h",
2290 "base/base_jni_headers/EventLog_jni.h",
2291 "base/base_jni_headers/FeatureList_jni.h",
2292 "base/base_jni_headers/Features_jni.h",
2293 "base/base_jni_headers/FieldTrialList_jni.h",
2294 "base/base_jni_headers/FileUtils_jni.h",
2295 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
2296 "base/base_jni_headers/IntStringCallback_jni.h",
2297 "base/base_jni_headers/JNIUtils_jni.h",
2298 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
2299 "base/base_jni_headers/JavaExceptionReporter_jni.h",
2300 "base/base_jni_headers/JavaHandlerThread_jni.h",
2301 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
2302 "base/base_jni_headers/LibraryLoader_jni.h",
2303 "base/base_jni_headers/LibraryPrefetcher_jni.h",
2304 "base/base_jni_headers/LocaleUtils_jni.h",
2305 "base/base_jni_headers/MemoryPressureListener_jni.h",
2306 "base/base_jni_headers/NativeUmaRecorder_jni.h",
2307 "base/base_jni_headers/PathService_jni.h",
2308 "base/base_jni_headers/PathUtils_jni.h",
2309 "base/base_jni_headers/PostTask_jni.h",
2310 "base/base_jni_headers/PowerMonitor_jni.h",
2311 "base/base_jni_headers/RadioUtils_jni.h",
2312 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
2313 "base/base_jni_headers/SysUtils_jni.h",
2314 "base/base_jni_headers/TaskRunnerImpl_jni.h",
2315 "base/base_jni_headers/ThreadUtils_jni.h",
2316 "base/base_jni_headers/TimezoneUtils_jni.h",
2317 "base/base_jni_headers/TraceEvent_jni.h",
2318 "base/base_jni_headers/UnguessableToken_jni.h",
2319 ],
2320 tool_files: [
2321 "base/android/jni_generator/android_jar.classes",
2322 "base/android/jni_generator/jni_generator.py",
2323 "build/android/gyp/util/__init__.py",
2324 "build/android/gyp/util/build_utils.py",
2325 "build/gn_helpers.py",
2326 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002327 apex_available: [
2328 "com.android.tethering",
2329 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002330}
2331
Patrick Rohr98600682022-11-18 18:29:15 -08002332// GN: //base:base_jni_headers__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002333cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08002334 name: "cronet_aml_base_base_jni_headers__android_x86",
2335 srcs: [
2336 "base/android/java/src/org/chromium/base/ApkAssets.java",
2337 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
2338 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
2339 "base/android/java/src/org/chromium/base/BuildInfo.java",
2340 "base/android/java/src/org/chromium/base/BundleUtils.java",
2341 "base/android/java/src/org/chromium/base/Callback.java",
2342 "base/android/java/src/org/chromium/base/CommandLine.java",
2343 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
2344 "base/android/java/src/org/chromium/base/CpuFeatures.java",
2345 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
2346 "base/android/java/src/org/chromium/base/EventLog.java",
2347 "base/android/java/src/org/chromium/base/FeatureList.java",
2348 "base/android/java/src/org/chromium/base/Features.java",
2349 "base/android/java/src/org/chromium/base/FieldTrialList.java",
2350 "base/android/java/src/org/chromium/base/FileUtils.java",
2351 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
2352 "base/android/java/src/org/chromium/base/IntStringCallback.java",
2353 "base/android/java/src/org/chromium/base/JNIUtils.java",
2354 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
2355 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
2356 "base/android/java/src/org/chromium/base/LocaleUtils.java",
2357 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
2358 "base/android/java/src/org/chromium/base/PathService.java",
2359 "base/android/java/src/org/chromium/base/PathUtils.java",
2360 "base/android/java/src/org/chromium/base/PowerMonitor.java",
2361 "base/android/java/src/org/chromium/base/RadioUtils.java",
2362 "base/android/java/src/org/chromium/base/SysUtils.java",
2363 "base/android/java/src/org/chromium/base/ThreadUtils.java",
2364 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
2365 "base/android/java/src/org/chromium/base/TraceEvent.java",
2366 "base/android/java/src/org/chromium/base/UnguessableToken.java",
2367 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
2368 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
2369 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
2370 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
2371 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
2372 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
2373 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
2374 "base/android/java/src/org/chromium/base/task/PostTask.java",
2375 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
2376 ],
2377 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2378 "long " +
Patrick Rohr98600682022-11-18 18:29:15 -08002379 "--output_dir " +
2380 "$(genDir)/base/base_jni_headers " +
2381 "--includes " +
2382 "base/android/jni_generator/jni_generator_helper.h " +
2383 "--use_proxy_hash " +
2384 "--output_name " +
2385 "ApkAssets_jni.h " +
2386 "--output_name " +
2387 "ApplicationStatus_jni.h " +
2388 "--output_name " +
2389 "BaseFeatureList_jni.h " +
2390 "--output_name " +
2391 "BuildInfo_jni.h " +
2392 "--output_name " +
2393 "BundleUtils_jni.h " +
2394 "--output_name " +
2395 "Callback_jni.h " +
2396 "--output_name " +
2397 "CommandLine_jni.h " +
2398 "--output_name " +
2399 "ContentUriUtils_jni.h " +
2400 "--output_name " +
2401 "CpuFeatures_jni.h " +
2402 "--output_name " +
2403 "EarlyTraceEvent_jni.h " +
2404 "--output_name " +
2405 "EventLog_jni.h " +
2406 "--output_name " +
2407 "FeatureList_jni.h " +
2408 "--output_name " +
2409 "Features_jni.h " +
2410 "--output_name " +
2411 "FieldTrialList_jni.h " +
2412 "--output_name " +
2413 "FileUtils_jni.h " +
2414 "--output_name " +
2415 "ImportantFileWriterAndroid_jni.h " +
2416 "--output_name " +
2417 "IntStringCallback_jni.h " +
2418 "--output_name " +
2419 "JNIUtils_jni.h " +
2420 "--output_name " +
2421 "JavaExceptionReporter_jni.h " +
2422 "--output_name " +
2423 "JavaHandlerThread_jni.h " +
2424 "--output_name " +
2425 "LocaleUtils_jni.h " +
2426 "--output_name " +
2427 "MemoryPressureListener_jni.h " +
2428 "--output_name " +
2429 "PathService_jni.h " +
2430 "--output_name " +
2431 "PathUtils_jni.h " +
2432 "--output_name " +
2433 "PowerMonitor_jni.h " +
2434 "--output_name " +
2435 "RadioUtils_jni.h " +
2436 "--output_name " +
2437 "SysUtils_jni.h " +
2438 "--output_name " +
2439 "ThreadUtils_jni.h " +
2440 "--output_name " +
2441 "TimezoneUtils_jni.h " +
2442 "--output_name " +
2443 "TraceEvent_jni.h " +
2444 "--output_name " +
2445 "UnguessableToken_jni.h " +
2446 "--output_name " +
2447 "JankMetricUMARecorder_jni.h " +
2448 "--output_name " +
2449 "LibraryLoader_jni.h " +
2450 "--output_name " +
2451 "LibraryPrefetcher_jni.h " +
2452 "--output_name " +
2453 "JavaHeapDumpGenerator_jni.h " +
2454 "--output_name " +
2455 "NativeUmaRecorder_jni.h " +
2456 "--output_name " +
2457 "StatisticsRecorderAndroid_jni.h " +
2458 "--output_name " +
2459 "ChildProcessService_jni.h " +
2460 "--output_name " +
2461 "PostTask_jni.h " +
2462 "--output_name " +
2463 "TaskRunnerImpl_jni.h " +
2464 "--input_file " +
2465 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
2466 "--input_file " +
2467 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
2468 "--input_file " +
2469 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
2470 "--input_file " +
2471 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
2472 "--input_file " +
2473 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
2474 "--input_file " +
2475 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
2476 "--input_file " +
2477 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
2478 "--input_file " +
2479 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
2480 "--input_file " +
2481 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
2482 "--input_file " +
2483 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
2484 "--input_file " +
2485 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
2486 "--input_file " +
2487 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
2488 "--input_file " +
2489 "$(location base/android/java/src/org/chromium/base/Features.java) " +
2490 "--input_file " +
2491 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
2492 "--input_file " +
2493 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
2494 "--input_file " +
2495 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
2496 "--input_file " +
2497 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
2498 "--input_file " +
2499 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
2500 "--input_file " +
2501 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
2502 "--input_file " +
2503 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
2504 "--input_file " +
2505 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
2506 "--input_file " +
2507 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
2508 "--input_file " +
2509 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
2510 "--input_file " +
2511 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
2512 "--input_file " +
2513 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
2514 "--input_file " +
2515 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
2516 "--input_file " +
2517 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
2518 "--input_file " +
2519 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
2520 "--input_file " +
2521 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
2522 "--input_file " +
2523 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
2524 "--input_file " +
2525 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
2526 "--input_file " +
2527 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
2528 "--input_file " +
2529 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
2530 "--input_file " +
2531 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
2532 "--input_file " +
2533 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
2534 "--input_file " +
2535 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
2536 "--input_file " +
2537 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
2538 "--input_file " +
2539 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
2540 "--input_file " +
2541 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
2542 "--input_file " +
2543 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
2544 out: [
2545 "base/base_jni_headers/ApkAssets_jni.h",
2546 "base/base_jni_headers/ApplicationStatus_jni.h",
2547 "base/base_jni_headers/BaseFeatureList_jni.h",
2548 "base/base_jni_headers/BuildInfo_jni.h",
2549 "base/base_jni_headers/BundleUtils_jni.h",
2550 "base/base_jni_headers/Callback_jni.h",
2551 "base/base_jni_headers/ChildProcessService_jni.h",
2552 "base/base_jni_headers/CommandLine_jni.h",
2553 "base/base_jni_headers/ContentUriUtils_jni.h",
2554 "base/base_jni_headers/CpuFeatures_jni.h",
2555 "base/base_jni_headers/EarlyTraceEvent_jni.h",
2556 "base/base_jni_headers/EventLog_jni.h",
2557 "base/base_jni_headers/FeatureList_jni.h",
2558 "base/base_jni_headers/Features_jni.h",
2559 "base/base_jni_headers/FieldTrialList_jni.h",
2560 "base/base_jni_headers/FileUtils_jni.h",
2561 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
2562 "base/base_jni_headers/IntStringCallback_jni.h",
2563 "base/base_jni_headers/JNIUtils_jni.h",
2564 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
2565 "base/base_jni_headers/JavaExceptionReporter_jni.h",
2566 "base/base_jni_headers/JavaHandlerThread_jni.h",
2567 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
2568 "base/base_jni_headers/LibraryLoader_jni.h",
2569 "base/base_jni_headers/LibraryPrefetcher_jni.h",
2570 "base/base_jni_headers/LocaleUtils_jni.h",
2571 "base/base_jni_headers/MemoryPressureListener_jni.h",
2572 "base/base_jni_headers/NativeUmaRecorder_jni.h",
2573 "base/base_jni_headers/PathService_jni.h",
2574 "base/base_jni_headers/PathUtils_jni.h",
2575 "base/base_jni_headers/PostTask_jni.h",
2576 "base/base_jni_headers/PowerMonitor_jni.h",
2577 "base/base_jni_headers/RadioUtils_jni.h",
2578 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
2579 "base/base_jni_headers/SysUtils_jni.h",
2580 "base/base_jni_headers/TaskRunnerImpl_jni.h",
2581 "base/base_jni_headers/ThreadUtils_jni.h",
2582 "base/base_jni_headers/TimezoneUtils_jni.h",
2583 "base/base_jni_headers/TraceEvent_jni.h",
2584 "base/base_jni_headers/UnguessableToken_jni.h",
2585 ],
2586 tool_files: [
2587 "base/android/jni_generator/android_jar.classes",
2588 "base/android/jni_generator/jni_generator.py",
2589 "build/android/gyp/util/__init__.py",
2590 "build/android/gyp/util/build_utils.py",
2591 "build/gn_helpers.py",
2592 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002593 apex_available: [
2594 "com.android.tethering",
2595 ],
Patrick Rohr98600682022-11-18 18:29:15 -08002596}
2597
2598// GN: //base:base_jni_headers__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002599cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08002600 name: "cronet_aml_base_base_jni_headers__android_x86_64",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002601 srcs: [
2602 "base/android/java/src/org/chromium/base/ApkAssets.java",
2603 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
2604 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
2605 "base/android/java/src/org/chromium/base/BuildInfo.java",
2606 "base/android/java/src/org/chromium/base/BundleUtils.java",
2607 "base/android/java/src/org/chromium/base/Callback.java",
2608 "base/android/java/src/org/chromium/base/CommandLine.java",
2609 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
2610 "base/android/java/src/org/chromium/base/CpuFeatures.java",
2611 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
2612 "base/android/java/src/org/chromium/base/EventLog.java",
2613 "base/android/java/src/org/chromium/base/FeatureList.java",
2614 "base/android/java/src/org/chromium/base/Features.java",
2615 "base/android/java/src/org/chromium/base/FieldTrialList.java",
2616 "base/android/java/src/org/chromium/base/FileUtils.java",
2617 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
2618 "base/android/java/src/org/chromium/base/IntStringCallback.java",
2619 "base/android/java/src/org/chromium/base/JNIUtils.java",
2620 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
2621 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
2622 "base/android/java/src/org/chromium/base/LocaleUtils.java",
2623 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
2624 "base/android/java/src/org/chromium/base/PathService.java",
2625 "base/android/java/src/org/chromium/base/PathUtils.java",
2626 "base/android/java/src/org/chromium/base/PowerMonitor.java",
2627 "base/android/java/src/org/chromium/base/RadioUtils.java",
2628 "base/android/java/src/org/chromium/base/SysUtils.java",
2629 "base/android/java/src/org/chromium/base/ThreadUtils.java",
2630 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
2631 "base/android/java/src/org/chromium/base/TraceEvent.java",
2632 "base/android/java/src/org/chromium/base/UnguessableToken.java",
2633 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
2634 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
2635 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
2636 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
2637 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
2638 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
2639 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
2640 "base/android/java/src/org/chromium/base/task/PostTask.java",
2641 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
2642 ],
Patrick Rohr9b99a982022-10-28 11:00:57 -07002643 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
2644 "long " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002645 "--output_dir " +
Patrick Rohrf1d08f82022-10-31 14:43:59 -07002646 "$(genDir)/base/base_jni_headers " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002647 "--includes " +
Patrick Rohrd89e8bf2022-10-31 14:51:05 -07002648 "base/android/jni_generator/jni_generator_helper.h " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002649 "--use_proxy_hash " +
2650 "--output_name " +
2651 "ApkAssets_jni.h " +
2652 "--output_name " +
2653 "ApplicationStatus_jni.h " +
2654 "--output_name " +
2655 "BaseFeatureList_jni.h " +
2656 "--output_name " +
2657 "BuildInfo_jni.h " +
2658 "--output_name " +
2659 "BundleUtils_jni.h " +
2660 "--output_name " +
2661 "Callback_jni.h " +
2662 "--output_name " +
2663 "CommandLine_jni.h " +
2664 "--output_name " +
2665 "ContentUriUtils_jni.h " +
2666 "--output_name " +
2667 "CpuFeatures_jni.h " +
2668 "--output_name " +
2669 "EarlyTraceEvent_jni.h " +
2670 "--output_name " +
2671 "EventLog_jni.h " +
2672 "--output_name " +
2673 "FeatureList_jni.h " +
2674 "--output_name " +
2675 "Features_jni.h " +
2676 "--output_name " +
2677 "FieldTrialList_jni.h " +
2678 "--output_name " +
2679 "FileUtils_jni.h " +
2680 "--output_name " +
2681 "ImportantFileWriterAndroid_jni.h " +
2682 "--output_name " +
2683 "IntStringCallback_jni.h " +
2684 "--output_name " +
2685 "JNIUtils_jni.h " +
2686 "--output_name " +
2687 "JavaExceptionReporter_jni.h " +
2688 "--output_name " +
2689 "JavaHandlerThread_jni.h " +
2690 "--output_name " +
2691 "LocaleUtils_jni.h " +
2692 "--output_name " +
2693 "MemoryPressureListener_jni.h " +
2694 "--output_name " +
2695 "PathService_jni.h " +
2696 "--output_name " +
2697 "PathUtils_jni.h " +
2698 "--output_name " +
2699 "PowerMonitor_jni.h " +
2700 "--output_name " +
2701 "RadioUtils_jni.h " +
2702 "--output_name " +
2703 "SysUtils_jni.h " +
2704 "--output_name " +
2705 "ThreadUtils_jni.h " +
2706 "--output_name " +
2707 "TimezoneUtils_jni.h " +
2708 "--output_name " +
2709 "TraceEvent_jni.h " +
2710 "--output_name " +
2711 "UnguessableToken_jni.h " +
2712 "--output_name " +
2713 "JankMetricUMARecorder_jni.h " +
2714 "--output_name " +
2715 "LibraryLoader_jni.h " +
2716 "--output_name " +
2717 "LibraryPrefetcher_jni.h " +
2718 "--output_name " +
2719 "JavaHeapDumpGenerator_jni.h " +
2720 "--output_name " +
2721 "NativeUmaRecorder_jni.h " +
2722 "--output_name " +
2723 "StatisticsRecorderAndroid_jni.h " +
2724 "--output_name " +
2725 "ChildProcessService_jni.h " +
2726 "--output_name " +
2727 "PostTask_jni.h " +
2728 "--output_name " +
2729 "TaskRunnerImpl_jni.h " +
2730 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002731 "$(location base/android/java/src/org/chromium/base/ApkAssets.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002732 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002733 "$(location base/android/java/src/org/chromium/base/ApplicationStatus.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002734 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002735 "$(location base/android/java/src/org/chromium/base/BaseFeatureList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002736 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002737 "$(location base/android/java/src/org/chromium/base/BuildInfo.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002738 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002739 "$(location base/android/java/src/org/chromium/base/BundleUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002740 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002741 "$(location base/android/java/src/org/chromium/base/Callback.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002742 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002743 "$(location base/android/java/src/org/chromium/base/CommandLine.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002744 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002745 "$(location base/android/java/src/org/chromium/base/ContentUriUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002746 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002747 "$(location base/android/java/src/org/chromium/base/CpuFeatures.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002748 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002749 "$(location base/android/java/src/org/chromium/base/EarlyTraceEvent.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002750 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002751 "$(location base/android/java/src/org/chromium/base/EventLog.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002752 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002753 "$(location base/android/java/src/org/chromium/base/FeatureList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002754 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002755 "$(location base/android/java/src/org/chromium/base/Features.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002756 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002757 "$(location base/android/java/src/org/chromium/base/FieldTrialList.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002758 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002759 "$(location base/android/java/src/org/chromium/base/FileUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002760 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002761 "$(location base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002762 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002763 "$(location base/android/java/src/org/chromium/base/IntStringCallback.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002764 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002765 "$(location base/android/java/src/org/chromium/base/JNIUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002766 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002767 "$(location base/android/java/src/org/chromium/base/JavaExceptionReporter.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002768 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002769 "$(location base/android/java/src/org/chromium/base/JavaHandlerThread.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002770 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002771 "$(location base/android/java/src/org/chromium/base/LocaleUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002772 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002773 "$(location base/android/java/src/org/chromium/base/MemoryPressureListener.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002774 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002775 "$(location base/android/java/src/org/chromium/base/PathService.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002776 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002777 "$(location base/android/java/src/org/chromium/base/PathUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002778 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002779 "$(location base/android/java/src/org/chromium/base/PowerMonitor.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002780 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002781 "$(location base/android/java/src/org/chromium/base/RadioUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002782 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002783 "$(location base/android/java/src/org/chromium/base/SysUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002784 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002785 "$(location base/android/java/src/org/chromium/base/ThreadUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002786 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002787 "$(location base/android/java/src/org/chromium/base/TimezoneUtils.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002788 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002789 "$(location base/android/java/src/org/chromium/base/TraceEvent.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002790 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002791 "$(location base/android/java/src/org/chromium/base/UnguessableToken.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002792 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002793 "$(location base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002794 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002795 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002796 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002797 "$(location base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002798 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002799 "$(location base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002800 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002801 "$(location base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002802 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002803 "$(location base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002804 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002805 "$(location base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002806 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002807 "$(location base/android/java/src/org/chromium/base/task/PostTask.java) " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07002808 "--input_file " +
Patrick Rohr8acccca2022-10-28 10:39:06 -07002809 "$(location base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java)",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002810 out: [
Patrick Rohrf1d08f82022-10-31 14:43:59 -07002811 "base/base_jni_headers/ApkAssets_jni.h",
2812 "base/base_jni_headers/ApplicationStatus_jni.h",
2813 "base/base_jni_headers/BaseFeatureList_jni.h",
2814 "base/base_jni_headers/BuildInfo_jni.h",
2815 "base/base_jni_headers/BundleUtils_jni.h",
2816 "base/base_jni_headers/Callback_jni.h",
2817 "base/base_jni_headers/ChildProcessService_jni.h",
2818 "base/base_jni_headers/CommandLine_jni.h",
2819 "base/base_jni_headers/ContentUriUtils_jni.h",
2820 "base/base_jni_headers/CpuFeatures_jni.h",
2821 "base/base_jni_headers/EarlyTraceEvent_jni.h",
2822 "base/base_jni_headers/EventLog_jni.h",
2823 "base/base_jni_headers/FeatureList_jni.h",
2824 "base/base_jni_headers/Features_jni.h",
2825 "base/base_jni_headers/FieldTrialList_jni.h",
2826 "base/base_jni_headers/FileUtils_jni.h",
2827 "base/base_jni_headers/ImportantFileWriterAndroid_jni.h",
2828 "base/base_jni_headers/IntStringCallback_jni.h",
2829 "base/base_jni_headers/JNIUtils_jni.h",
2830 "base/base_jni_headers/JankMetricUMARecorder_jni.h",
2831 "base/base_jni_headers/JavaExceptionReporter_jni.h",
2832 "base/base_jni_headers/JavaHandlerThread_jni.h",
2833 "base/base_jni_headers/JavaHeapDumpGenerator_jni.h",
2834 "base/base_jni_headers/LibraryLoader_jni.h",
2835 "base/base_jni_headers/LibraryPrefetcher_jni.h",
2836 "base/base_jni_headers/LocaleUtils_jni.h",
2837 "base/base_jni_headers/MemoryPressureListener_jni.h",
2838 "base/base_jni_headers/NativeUmaRecorder_jni.h",
2839 "base/base_jni_headers/PathService_jni.h",
2840 "base/base_jni_headers/PathUtils_jni.h",
2841 "base/base_jni_headers/PostTask_jni.h",
2842 "base/base_jni_headers/PowerMonitor_jni.h",
2843 "base/base_jni_headers/RadioUtils_jni.h",
2844 "base/base_jni_headers/StatisticsRecorderAndroid_jni.h",
2845 "base/base_jni_headers/SysUtils_jni.h",
2846 "base/base_jni_headers/TaskRunnerImpl_jni.h",
2847 "base/base_jni_headers/ThreadUtils_jni.h",
2848 "base/base_jni_headers/TimezoneUtils_jni.h",
2849 "base/base_jni_headers/TraceEvent_jni.h",
2850 "base/base_jni_headers/UnguessableToken_jni.h",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002851 ],
2852 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +00002853 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcc377df2022-10-28 09:27:15 -07002854 "base/android/jni_generator/jni_generator.py",
2855 "build/android/gyp/util/__init__.py",
2856 "build/android/gyp/util/build_utils.py",
2857 "build/gn_helpers.py",
2858 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002859 apex_available: [
2860 "com.android.tethering",
2861 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07002862}
2863
Motomu Utsumibf569d42022-10-28 16:47:34 +09002864// GN: //base:base_static
2865cc_library_static {
2866 name: "cronet_aml_base_base_static",
2867 srcs: [
2868 "base/base_switches.cc",
2869 ],
Motomu Utsumibf569d42022-10-28 16:47:34 +09002870 defaults: [
2871 "cronet_aml_defaults",
2872 ],
2873 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08002874 "-DANDROID",
2875 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumibf569d42022-10-28 16:47:34 +09002876 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
2877 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
2878 "-DDCHECK_ALWAYS_ON=1",
2879 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08002880 "-DHAVE_SYS_UIO_H",
Motomu Utsumibf569d42022-10-28 16:47:34 +09002881 "-D_DEBUG",
2882 "-D_GNU_SOURCE",
2883 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
2884 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
2885 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
2886 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
2887 "-D__STDC_CONSTANT_MACROS",
2888 "-D__STDC_FORMAT_MACROS",
2889 ],
2890 local_include_dirs: [
2891 "./",
2892 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07002893 "buildtools/third_party/libc++/trunk/include",
2894 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumibf569d42022-10-28 16:47:34 +09002895 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07002896 cpp_std: "c++20",
Motomu Utsumif0f47682022-11-17 22:34:39 +09002897 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002898 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002899 generated_headers: [
2900 "cronet_aml_build_chromeos_buildflags__android_arm",
2901 ],
2902 export_generated_headers: [
2903 "cronet_aml_build_chromeos_buildflags__android_arm",
2904 ],
2905 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002906 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002907 generated_headers: [
2908 "cronet_aml_build_chromeos_buildflags__android_arm64",
2909 ],
2910 export_generated_headers: [
2911 "cronet_aml_build_chromeos_buildflags__android_arm64",
2912 ],
2913 },
Motomu Utsumi65501182022-11-18 15:26:35 +09002914 android_x86: {
2915 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002916 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09002917 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00002918 generated_headers: [
2919 "cronet_aml_build_chromeos_buildflags__android_x86",
2920 ],
2921 export_generated_headers: [
2922 "cronet_aml_build_chromeos_buildflags__android_x86",
2923 ],
Motomu Utsumi65501182022-11-18 15:26:35 +09002924 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09002925 android_x86_64: {
2926 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002927 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09002928 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00002929 generated_headers: [
2930 "cronet_aml_build_chromeos_buildflags__android_x86_64",
2931 ],
2932 export_generated_headers: [
2933 "cronet_aml_build_chromeos_buildflags__android_x86_64",
2934 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09002935 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09002936 },
Motomu Utsumibf569d42022-10-28 16:47:34 +09002937}
2938
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002939// GN: //base:build_date__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002940cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002941 name: "cronet_aml_base_build_date__android_arm",
2942 cmd: "$(location build/write_build_date_header.py) $(out) " +
2943 "1664686800",
2944 out: [
2945 "base/generated_build_date.h",
2946 ],
2947 tool_files: [
2948 "build/write_build_date_header.py",
2949 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002950 apex_available: [
2951 "com.android.tethering",
2952 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09002953}
2954
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002955// GN: //base:build_date__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002956cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002957 name: "cronet_aml_base_build_date__android_arm64",
2958 cmd: "$(location build/write_build_date_header.py) $(out) " +
2959 "1664686800",
2960 out: [
2961 "base/generated_build_date.h",
2962 ],
2963 tool_files: [
2964 "build/write_build_date_header.py",
2965 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002966 apex_available: [
2967 "com.android.tethering",
2968 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09002969}
2970
Patrick Rohr98600682022-11-18 18:29:15 -08002971// GN: //base:build_date__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002972cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08002973 name: "cronet_aml_base_build_date__android_x86",
Patrick Rohr9b99a982022-10-28 11:00:57 -07002974 cmd: "$(location build/write_build_date_header.py) $(out) " +
2975 "1664686800",
Motomu Utsumie0d20212022-10-28 17:06:46 +09002976 out: [
2977 "base/generated_build_date.h",
2978 ],
2979 tool_files: [
2980 "build/write_build_date_header.py",
2981 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002982 apex_available: [
2983 "com.android.tethering",
2984 ],
Motomu Utsumie0d20212022-10-28 17:06:46 +09002985}
2986
Patrick Rohr98600682022-11-18 18:29:15 -08002987// GN: //base:build_date__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00002988cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08002989 name: "cronet_aml_base_build_date__android_x86_64",
2990 cmd: "$(location build/write_build_date_header.py) $(out) " +
2991 "1664686800",
2992 out: [
2993 "base/generated_build_date.h",
2994 ],
2995 tool_files: [
2996 "build/write_build_date_header.py",
2997 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09002998 apex_available: [
2999 "com.android.tethering",
3000 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003001}
3002
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003003// GN: //base:cfi_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003004cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003005 name: "cronet_aml_base_cfi_buildflags__android_arm",
3006 cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_DIAG=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
3007 "$(location build/write_buildflag_header.py) --output " +
3008 "$(out) " +
3009 "--rulename " +
3010 "//base:cfi_buildflags " +
3011 "--gen-dir " +
3012 ". " +
3013 "--definitions " +
3014 "/dev/stdin",
3015 out: [
3016 "base/cfi_buildflags.h",
3017 ],
3018 tool_files: [
3019 "build/write_buildflag_header.py",
3020 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003021 apex_available: [
3022 "com.android.tethering",
3023 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003024}
3025
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003026// GN: //base:cfi_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003027cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003028 name: "cronet_aml_base_cfi_buildflags__android_arm64",
3029 cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_DIAG=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
3030 "$(location build/write_buildflag_header.py) --output " +
3031 "$(out) " +
3032 "--rulename " +
3033 "//base:cfi_buildflags " +
3034 "--gen-dir " +
3035 ". " +
3036 "--definitions " +
3037 "/dev/stdin",
3038 out: [
3039 "base/cfi_buildflags.h",
3040 ],
3041 tool_files: [
3042 "build/write_buildflag_header.py",
3043 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003044 apex_available: [
3045 "com.android.tethering",
3046 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003047}
3048
Patrick Rohr98600682022-11-18 18:29:15 -08003049// GN: //base:cfi_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003050cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003051 name: "cronet_aml_base_cfi_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07003052 cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_DIAG=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003053 "$(location build/write_buildflag_header.py) --output " +
3054 "$(out) " +
3055 "--rulename " +
3056 "//base:cfi_buildflags " +
3057 "--gen-dir " +
3058 ". " +
3059 "--definitions " +
3060 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003061 out: [
3062 "base/cfi_buildflags.h",
3063 ],
3064 tool_files: [
3065 "build/write_buildflag_header.py",
3066 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003067 apex_available: [
3068 "com.android.tethering",
3069 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003070}
3071
Patrick Rohr98600682022-11-18 18:29:15 -08003072// GN: //base:cfi_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003073cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003074 name: "cronet_aml_base_cfi_buildflags__android_x86_64",
3075 cmd: "echo '--flags CFI_CAST_CHECK=\"false && false\" CFI_DIAG=\"false && false\" CFI_ICALL_CHECK=\"false && false\" CFI_ENFORCEMENT_TRAP=\"false && !false\" CFI_ENFORCEMENT_DIAGNOSTIC=\"false && false && !false\"' | " +
3076 "$(location build/write_buildflag_header.py) --output " +
3077 "$(out) " +
3078 "--rulename " +
3079 "//base:cfi_buildflags " +
3080 "--gen-dir " +
3081 ". " +
3082 "--definitions " +
3083 "/dev/stdin",
3084 out: [
3085 "base/cfi_buildflags.h",
3086 ],
3087 tool_files: [
3088 "build/write_buildflag_header.py",
3089 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003090 apex_available: [
3091 "com.android.tethering",
3092 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003093}
3094
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003095// GN: //base:clang_profiling_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003096cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003097 name: "cronet_aml_base_clang_profiling_buildflags__android_arm",
3098 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
3099 "$(location build/write_buildflag_header.py) --output " +
3100 "$(out) " +
3101 "--rulename " +
3102 "//base:clang_profiling_buildflags " +
3103 "--gen-dir " +
3104 ". " +
3105 "--definitions " +
3106 "/dev/stdin",
3107 out: [
3108 "base/clang_profiling_buildflags.h",
3109 ],
3110 tool_files: [
3111 "build/write_buildflag_header.py",
3112 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003113 apex_available: [
3114 "com.android.tethering",
3115 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003116}
3117
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003118// GN: //base:clang_profiling_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003119cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003120 name: "cronet_aml_base_clang_profiling_buildflags__android_arm64",
3121 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
3122 "$(location build/write_buildflag_header.py) --output " +
3123 "$(out) " +
3124 "--rulename " +
3125 "//base:clang_profiling_buildflags " +
3126 "--gen-dir " +
3127 ". " +
3128 "--definitions " +
3129 "/dev/stdin",
3130 out: [
3131 "base/clang_profiling_buildflags.h",
3132 ],
3133 tool_files: [
3134 "build/write_buildflag_header.py",
3135 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003136 apex_available: [
3137 "com.android.tethering",
3138 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003139}
3140
Patrick Rohr98600682022-11-18 18:29:15 -08003141// GN: //base:clang_profiling_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003142cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003143 name: "cronet_aml_base_clang_profiling_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07003144 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003145 "$(location build/write_buildflag_header.py) --output " +
3146 "$(out) " +
3147 "--rulename " +
3148 "//base:clang_profiling_buildflags " +
3149 "--gen-dir " +
3150 ". " +
3151 "--definitions " +
3152 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003153 out: [
3154 "base/clang_profiling_buildflags.h",
3155 ],
3156 tool_files: [
3157 "build/write_buildflag_header.py",
3158 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003159 apex_available: [
3160 "com.android.tethering",
3161 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003162}
3163
Patrick Rohr98600682022-11-18 18:29:15 -08003164// GN: //base:clang_profiling_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003165cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003166 name: "cronet_aml_base_clang_profiling_buildflags__android_x86_64",
3167 cmd: "echo '--flags CLANG_PROFILING=\"false\" CLANG_PROFILING_INSIDE_SANDBOX=\"false\" USE_CLANG_COVERAGE=\"false\"' | " +
3168 "$(location build/write_buildflag_header.py) --output " +
3169 "$(out) " +
3170 "--rulename " +
3171 "//base:clang_profiling_buildflags " +
3172 "--gen-dir " +
3173 ". " +
3174 "--definitions " +
3175 "/dev/stdin",
3176 out: [
3177 "base/clang_profiling_buildflags.h",
3178 ],
3179 tool_files: [
3180 "build/write_buildflag_header.py",
3181 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003182 apex_available: [
3183 "com.android.tethering",
3184 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003185}
3186
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003187// GN: //base:debugging_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003188cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003189 name: "cronet_aml_base_debugging_buildflags__android_arm",
3190 cmd: "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"true\" CAN_UNWIND_WITH_CFI_TABLE=\"true\" EXCLUDE_UNWIND_TABLES=\"false\" ENABLE_GDBINIT_WARNING=\"true\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"true\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
3191 "$(location build/write_buildflag_header.py) --output " +
3192 "$(out) " +
3193 "--rulename " +
3194 "//base:debugging_buildflags " +
3195 "--gen-dir " +
3196 ". " +
3197 "--definitions " +
3198 "/dev/stdin",
3199 out: [
3200 "base/debug/debugging_buildflags.h",
3201 ],
3202 tool_files: [
3203 "build/write_buildflag_header.py",
3204 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003205 apex_available: [
3206 "com.android.tethering",
3207 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003208}
3209
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003210// GN: //base:debugging_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003211cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003212 name: "cronet_aml_base_debugging_buildflags__android_arm64",
3213 cmd: "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"true\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"false\" ENABLE_GDBINIT_WARNING=\"true\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"true\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
3214 "$(location build/write_buildflag_header.py) --output " +
3215 "$(out) " +
3216 "--rulename " +
3217 "//base:debugging_buildflags " +
3218 "--gen-dir " +
3219 ". " +
3220 "--definitions " +
3221 "/dev/stdin",
3222 out: [
3223 "base/debug/debugging_buildflags.h",
3224 ],
3225 tool_files: [
3226 "build/write_buildflag_header.py",
3227 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003228 apex_available: [
3229 "com.android.tethering",
3230 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003231}
3232
Patrick Rohr98600682022-11-18 18:29:15 -08003233// GN: //base:debugging_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003234cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003235 name: "cronet_aml_base_debugging_buildflags__android_x86",
Patrick Rohr81a4ac32022-11-15 14:38:21 -08003236 cmd: "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"true\" UNSAFE_DEVELOPER_BUILD=\"true\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"false\" ENABLE_GDBINIT_WARNING=\"true\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"true\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003237 "$(location build/write_buildflag_header.py) --output " +
3238 "$(out) " +
3239 "--rulename " +
3240 "//base:debugging_buildflags " +
3241 "--gen-dir " +
3242 ". " +
3243 "--definitions " +
3244 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003245 out: [
3246 "base/debug/debugging_buildflags.h",
3247 ],
3248 tool_files: [
3249 "build/write_buildflag_header.py",
3250 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003251 apex_available: [
3252 "com.android.tethering",
3253 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003254}
3255
Patrick Rohr98600682022-11-18 18:29:15 -08003256// GN: //base:debugging_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003257cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003258 name: "cronet_aml_base_debugging_buildflags__android_x86_64",
3259 cmd: "echo '--flags DCHECK_IS_CONFIGURABLE=\"false\" ENABLE_LOCATION_SOURCE=\"true\" ENABLE_PROFILING=\"false\" CAN_UNWIND_WITH_FRAME_POINTERS=\"false\" UNSAFE_DEVELOPER_BUILD=\"true\" CAN_UNWIND_WITH_CFI_TABLE=\"false\" EXCLUDE_UNWIND_TABLES=\"false\" ENABLE_GDBINIT_WARNING=\"true\" ENABLE_LLDBINIT_WARNING=\"false\" EXPENSIVE_DCHECKS_ARE_ON=\"true\" ENABLE_STACK_TRACE_LINE_NUMBERS=\"false\"' | " +
3260 "$(location build/write_buildflag_header.py) --output " +
3261 "$(out) " +
3262 "--rulename " +
3263 "//base:debugging_buildflags " +
3264 "--gen-dir " +
3265 ". " +
3266 "--definitions " +
3267 "/dev/stdin",
3268 out: [
3269 "base/debug/debugging_buildflags.h",
3270 ],
3271 tool_files: [
3272 "build/write_buildflag_header.py",
3273 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003274 apex_available: [
3275 "com.android.tethering",
3276 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003277}
3278
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003279// GN: //base:feature_list_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003280cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003281 name: "cronet_aml_base_feature_list_buildflags__android_arm",
3282 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
3283 "$(location build/write_buildflag_header.py) --output " +
3284 "$(out) " +
3285 "--rulename " +
3286 "//base:feature_list_buildflags " +
3287 "--gen-dir " +
3288 ". " +
3289 "--definitions " +
3290 "/dev/stdin",
3291 out: [
3292 "base/feature_list_buildflags.h",
3293 ],
3294 tool_files: [
3295 "build/write_buildflag_header.py",
3296 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003297 apex_available: [
3298 "com.android.tethering",
3299 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003300}
3301
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003302// GN: //base:feature_list_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003303cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003304 name: "cronet_aml_base_feature_list_buildflags__android_arm64",
3305 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
3306 "$(location build/write_buildflag_header.py) --output " +
3307 "$(out) " +
3308 "--rulename " +
3309 "//base:feature_list_buildflags " +
3310 "--gen-dir " +
3311 ". " +
3312 "--definitions " +
3313 "/dev/stdin",
3314 out: [
3315 "base/feature_list_buildflags.h",
3316 ],
3317 tool_files: [
3318 "build/write_buildflag_header.py",
3319 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003320 apex_available: [
3321 "com.android.tethering",
3322 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003323}
3324
Patrick Rohr98600682022-11-18 18:29:15 -08003325// GN: //base:feature_list_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003326cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003327 name: "cronet_aml_base_feature_list_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07003328 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003329 "$(location build/write_buildflag_header.py) --output " +
3330 "$(out) " +
3331 "--rulename " +
3332 "//base:feature_list_buildflags " +
3333 "--gen-dir " +
3334 ". " +
3335 "--definitions " +
3336 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003337 out: [
3338 "base/feature_list_buildflags.h",
3339 ],
3340 tool_files: [
3341 "build/write_buildflag_header.py",
3342 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003343 apex_available: [
3344 "com.android.tethering",
3345 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003346}
3347
Patrick Rohr98600682022-11-18 18:29:15 -08003348// GN: //base:feature_list_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003349cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003350 name: "cronet_aml_base_feature_list_buildflags__android_x86_64",
3351 cmd: "echo '--flags ENABLE_BANNED_BASE_FEATURE_PREFIX=\"false\"' | " +
3352 "$(location build/write_buildflag_header.py) --output " +
3353 "$(out) " +
3354 "--rulename " +
3355 "//base:feature_list_buildflags " +
3356 "--gen-dir " +
3357 ". " +
3358 "--definitions " +
3359 "/dev/stdin",
3360 out: [
3361 "base/feature_list_buildflags.h",
3362 ],
3363 tool_files: [
3364 "build/write_buildflag_header.py",
3365 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003366 apex_available: [
3367 "com.android.tethering",
3368 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003369}
3370
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003371// GN: //base:ios_cronet_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003372cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003373 name: "cronet_aml_base_ios_cronet_buildflags__android_arm",
3374 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
3375 "$(location build/write_buildflag_header.py) --output " +
3376 "$(out) " +
3377 "--rulename " +
3378 "//base:ios_cronet_buildflags " +
3379 "--gen-dir " +
3380 ". " +
3381 "--definitions " +
3382 "/dev/stdin",
3383 out: [
3384 "base/message_loop/ios_cronet_buildflags.h",
3385 ],
3386 tool_files: [
3387 "build/write_buildflag_header.py",
3388 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003389 apex_available: [
3390 "com.android.tethering",
3391 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003392}
3393
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003394// GN: //base:ios_cronet_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003395cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003396 name: "cronet_aml_base_ios_cronet_buildflags__android_arm64",
3397 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
3398 "$(location build/write_buildflag_header.py) --output " +
3399 "$(out) " +
3400 "--rulename " +
3401 "//base:ios_cronet_buildflags " +
3402 "--gen-dir " +
3403 ". " +
3404 "--definitions " +
3405 "/dev/stdin",
3406 out: [
3407 "base/message_loop/ios_cronet_buildflags.h",
3408 ],
3409 tool_files: [
3410 "build/write_buildflag_header.py",
3411 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003412 apex_available: [
3413 "com.android.tethering",
3414 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003415}
3416
Patrick Rohr98600682022-11-18 18:29:15 -08003417// GN: //base:ios_cronet_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003418cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003419 name: "cronet_aml_base_ios_cronet_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07003420 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003421 "$(location build/write_buildflag_header.py) --output " +
3422 "$(out) " +
3423 "--rulename " +
3424 "//base:ios_cronet_buildflags " +
3425 "--gen-dir " +
3426 ". " +
3427 "--definitions " +
3428 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003429 out: [
3430 "base/message_loop/ios_cronet_buildflags.h",
3431 ],
3432 tool_files: [
3433 "build/write_buildflag_header.py",
3434 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003435 apex_available: [
3436 "com.android.tethering",
3437 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003438}
3439
Patrick Rohr98600682022-11-18 18:29:15 -08003440// GN: //base:ios_cronet_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003441cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003442 name: "cronet_aml_base_ios_cronet_buildflags__android_x86_64",
3443 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
3444 "$(location build/write_buildflag_header.py) --output " +
3445 "$(out) " +
3446 "--rulename " +
3447 "//base:ios_cronet_buildflags " +
3448 "--gen-dir " +
3449 ". " +
3450 "--definitions " +
3451 "/dev/stdin",
3452 out: [
3453 "base/message_loop/ios_cronet_buildflags.h",
3454 ],
3455 tool_files: [
3456 "build/write_buildflag_header.py",
3457 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003458 apex_available: [
3459 "com.android.tethering",
3460 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003461}
3462
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003463// GN: //base:java_features_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00003464java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003465 name: "cronet_aml_base_java_features_srcjar",
3466 srcs: [
3467 "base/android/base_features.cc",
3468 "base/features.cc",
3469 "base/task/task_features.cc",
3470 ],
3471 cmd: "$(location build/android/gyp/java_cpp_features.py) --srcjar " +
Motomu Utsumid7c36772022-12-05 16:04:37 +09003472 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003473 "--template " +
Motomu Utsumid7c36772022-12-05 16:04:37 +09003474 "$(location base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl) " +
3475 "$(location base/android/base_features.cc) " +
3476 "$(location base/features.cc) " +
3477 "$(location base/task/task_features.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003478 out: [
3479 "base/java_features_srcjar.srcjar",
3480 ],
3481 tool_files: [
3482 "base/android/java/src/org/chromium/base/BaseFeatures.java.tmpl",
3483 "build/android/gyp/java_cpp_features.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09003484 "build/android/gyp/util/__init__.py",
3485 "build/android/gyp/util/build_utils.py",
3486 "build/android/gyp/util/java_cpp_utils.py",
3487 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003488 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003489}
3490
3491// GN: //base:java_switches_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00003492java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003493 name: "cronet_aml_base_java_switches_srcjar",
3494 srcs: [
3495 "base/base_switches.cc",
3496 ],
3497 cmd: "$(location build/android/gyp/java_cpp_strings.py) --srcjar " +
Motomu Utsumi3f7ab312022-12-05 16:12:21 +09003498 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003499 "--template " +
Motomu Utsumi3f7ab312022-12-05 16:12:21 +09003500 "$(location base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl) " +
3501 "$(location base/base_switches.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003502 out: [
3503 "base/java_switches_srcjar.srcjar",
3504 ],
3505 tool_files: [
3506 "base/android/java/src/org/chromium/base/BaseSwitches.java.tmpl",
3507 "build/android/gyp/java_cpp_strings.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09003508 "build/android/gyp/util/__init__.py",
3509 "build/android/gyp/util/build_utils.py",
3510 "build/android/gyp/util/java_cpp_utils.py",
3511 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003512 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00003513}
3514
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003515// GN: //base:logging_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003516cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003517 name: "cronet_aml_base_logging_buildflags__android_arm",
3518 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
3519 "$(location build/write_buildflag_header.py) --output " +
3520 "$(out) " +
3521 "--rulename " +
3522 "//base:logging_buildflags " +
3523 "--gen-dir " +
3524 ". " +
3525 "--definitions " +
3526 "/dev/stdin",
3527 out: [
3528 "base/logging_buildflags.h",
3529 ],
3530 tool_files: [
3531 "build/write_buildflag_header.py",
3532 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003533 apex_available: [
3534 "com.android.tethering",
3535 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003536}
3537
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003538// GN: //base:logging_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003539cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003540 name: "cronet_aml_base_logging_buildflags__android_arm64",
3541 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
3542 "$(location build/write_buildflag_header.py) --output " +
3543 "$(out) " +
3544 "--rulename " +
3545 "//base:logging_buildflags " +
3546 "--gen-dir " +
3547 ". " +
3548 "--definitions " +
3549 "/dev/stdin",
3550 out: [
3551 "base/logging_buildflags.h",
3552 ],
3553 tool_files: [
3554 "build/write_buildflag_header.py",
3555 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003556 apex_available: [
3557 "com.android.tethering",
3558 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003559}
3560
Patrick Rohr98600682022-11-18 18:29:15 -08003561// GN: //base:logging_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003562cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003563 name: "cronet_aml_base_logging_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07003564 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003565 "$(location build/write_buildflag_header.py) --output " +
3566 "$(out) " +
3567 "--rulename " +
3568 "//base:logging_buildflags " +
3569 "--gen-dir " +
3570 ". " +
3571 "--definitions " +
3572 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003573 out: [
3574 "base/logging_buildflags.h",
3575 ],
3576 tool_files: [
3577 "build/write_buildflag_header.py",
3578 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003579 apex_available: [
3580 "com.android.tethering",
3581 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003582}
3583
Patrick Rohr98600682022-11-18 18:29:15 -08003584// GN: //base:logging_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003585cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003586 name: "cronet_aml_base_logging_buildflags__android_x86_64",
3587 cmd: "echo '--flags ENABLE_LOG_ERROR_NOT_REACHED=\"false\" USE_RUNTIME_VLOG=\"true\"' | " +
3588 "$(location build/write_buildflag_header.py) --output " +
3589 "$(out) " +
3590 "--rulename " +
3591 "//base:logging_buildflags " +
3592 "--gen-dir " +
3593 ". " +
3594 "--definitions " +
3595 "/dev/stdin",
3596 out: [
3597 "base/logging_buildflags.h",
3598 ],
3599 tool_files: [
3600 "build/write_buildflag_header.py",
3601 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003602 apex_available: [
3603 "com.android.tethering",
3604 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003605}
3606
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003607// GN: //base:message_pump_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003608cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003609 name: "cronet_aml_base_message_pump_buildflags__android_arm",
3610 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
3611 "$(location build/write_buildflag_header.py) --output " +
3612 "$(out) " +
3613 "--rulename " +
3614 "//base:message_pump_buildflags " +
3615 "--gen-dir " +
3616 ". " +
3617 "--definitions " +
3618 "/dev/stdin",
3619 out: [
3620 "base/message_loop/message_pump_buildflags.h",
3621 ],
3622 tool_files: [
3623 "build/write_buildflag_header.py",
3624 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003625 apex_available: [
3626 "com.android.tethering",
3627 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003628}
3629
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003630// GN: //base:message_pump_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003631cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003632 name: "cronet_aml_base_message_pump_buildflags__android_arm64",
3633 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
3634 "$(location build/write_buildflag_header.py) --output " +
3635 "$(out) " +
3636 "--rulename " +
3637 "//base:message_pump_buildflags " +
3638 "--gen-dir " +
3639 ". " +
3640 "--definitions " +
3641 "/dev/stdin",
3642 out: [
3643 "base/message_loop/message_pump_buildflags.h",
3644 ],
3645 tool_files: [
3646 "build/write_buildflag_header.py",
3647 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003648 apex_available: [
3649 "com.android.tethering",
3650 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003651}
3652
Patrick Rohr98600682022-11-18 18:29:15 -08003653// GN: //base:message_pump_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003654cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003655 name: "cronet_aml_base_message_pump_buildflags__android_x86",
3656 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
3657 "$(location build/write_buildflag_header.py) --output " +
3658 "$(out) " +
3659 "--rulename " +
3660 "//base:message_pump_buildflags " +
3661 "--gen-dir " +
3662 ". " +
3663 "--definitions " +
3664 "/dev/stdin",
3665 out: [
3666 "base/message_loop/message_pump_buildflags.h",
3667 ],
3668 tool_files: [
3669 "build/write_buildflag_header.py",
3670 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003671 apex_available: [
3672 "com.android.tethering",
3673 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003674}
3675
3676// GN: //base:message_pump_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003677cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003678 name: "cronet_aml_base_message_pump_buildflags__android_x86_64",
3679 cmd: "echo '--flags ENABLE_MESSAGE_PUMP_EPOLL=\"true\"' | " +
3680 "$(location build/write_buildflag_header.py) --output " +
3681 "$(out) " +
3682 "--rulename " +
3683 "//base:message_pump_buildflags " +
3684 "--gen-dir " +
3685 ". " +
3686 "--definitions " +
3687 "/dev/stdin",
3688 out: [
3689 "base/message_loop/message_pump_buildflags.h",
3690 ],
3691 tool_files: [
3692 "build/write_buildflag_header.py",
3693 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003694 apex_available: [
3695 "com.android.tethering",
3696 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003697}
3698
Patrick Rohrcc377df2022-10-28 09:27:15 -07003699// GN: //base/numerics:base_numerics
Mohannad Farrag7f29d832022-11-23 19:52:41 +00003700cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -07003701 name: "cronet_aml_base_numerics_base_numerics",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00003702 defaults: [
3703 "cronet_aml_defaults",
3704 ],
3705 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08003706 "-DANDROID",
3707 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00003708 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
3709 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
3710 "-DDCHECK_ALWAYS_ON=1",
3711 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08003712 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00003713 "-D_DEBUG",
3714 "-D_GNU_SOURCE",
3715 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
3716 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
3717 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
3718 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
3719 "-D__STDC_CONSTANT_MACROS",
3720 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00003721 ],
3722 local_include_dirs: [
3723 "./",
3724 "buildtools/third_party/libc++/",
3725 "buildtools/third_party/libc++/trunk/include",
3726 "buildtools/third_party/libc++abi/trunk/include",
3727 ],
3728 cpp_std: "c++20",
3729 target: {
3730 android_x86: {
3731 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003732 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00003733 ],
3734 },
3735 android_x86_64: {
3736 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003737 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00003738 ],
3739 },
3740 },
Patrick Rohrcc377df2022-10-28 09:27:15 -07003741}
3742
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003743// GN: //base:orderfile_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003744cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003745 name: "cronet_aml_base_orderfile_buildflags__android_arm",
3746 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
3747 "$(location build/write_buildflag_header.py) --output " +
3748 "$(out) " +
3749 "--rulename " +
3750 "//base:orderfile_buildflags " +
3751 "--gen-dir " +
3752 ". " +
3753 "--definitions " +
3754 "/dev/stdin",
3755 out: [
3756 "base/android/orderfile/orderfile_buildflags.h",
3757 ],
3758 tool_files: [
3759 "build/write_buildflag_header.py",
3760 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003761 apex_available: [
3762 "com.android.tethering",
3763 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003764}
3765
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003766// GN: //base:orderfile_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003767cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003768 name: "cronet_aml_base_orderfile_buildflags__android_arm64",
3769 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
3770 "$(location build/write_buildflag_header.py) --output " +
3771 "$(out) " +
3772 "--rulename " +
3773 "//base:orderfile_buildflags " +
3774 "--gen-dir " +
3775 ". " +
3776 "--definitions " +
3777 "/dev/stdin",
3778 out: [
3779 "base/android/orderfile/orderfile_buildflags.h",
3780 ],
3781 tool_files: [
3782 "build/write_buildflag_header.py",
3783 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003784 apex_available: [
3785 "com.android.tethering",
3786 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003787}
3788
Patrick Rohr98600682022-11-18 18:29:15 -08003789// GN: //base:orderfile_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003790cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003791 name: "cronet_aml_base_orderfile_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07003792 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003793 "$(location build/write_buildflag_header.py) --output " +
3794 "$(out) " +
3795 "--rulename " +
3796 "//base:orderfile_buildflags " +
3797 "--gen-dir " +
3798 ". " +
3799 "--definitions " +
3800 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003801 out: [
3802 "base/android/orderfile/orderfile_buildflags.h",
3803 ],
3804 tool_files: [
3805 "build/write_buildflag_header.py",
3806 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003807 apex_available: [
3808 "com.android.tethering",
3809 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003810}
3811
Patrick Rohr98600682022-11-18 18:29:15 -08003812// GN: //base:orderfile_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003813cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003814 name: "cronet_aml_base_orderfile_buildflags__android_x86_64",
3815 cmd: "echo '--flags DEVTOOLS_INSTRUMENTATION_DUMPING=\"false\" ORDERFILE_INSTRUMENTATION=\"false\"' | " +
3816 "$(location build/write_buildflag_header.py) --output " +
3817 "$(out) " +
3818 "--rulename " +
3819 "//base:orderfile_buildflags " +
3820 "--gen-dir " +
3821 ". " +
3822 "--definitions " +
3823 "/dev/stdin",
3824 out: [
3825 "base/android/orderfile/orderfile_buildflags.h",
3826 ],
3827 tool_files: [
3828 "build/write_buildflag_header.py",
3829 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003830 apex_available: [
3831 "com.android.tethering",
3832 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003833}
3834
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003835// GN: //base:parsing_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003836cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003837 name: "cronet_aml_base_parsing_buildflags__android_arm",
3838 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
3839 "$(location build/write_buildflag_header.py) --output " +
3840 "$(out) " +
3841 "--rulename " +
3842 "//base:parsing_buildflags " +
3843 "--gen-dir " +
3844 ". " +
3845 "--definitions " +
3846 "/dev/stdin",
3847 out: [
3848 "base/parsing_buildflags.h",
3849 ],
3850 tool_files: [
3851 "build/write_buildflag_header.py",
3852 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003853 apex_available: [
3854 "com.android.tethering",
3855 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003856}
3857
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003858// GN: //base:parsing_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003859cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003860 name: "cronet_aml_base_parsing_buildflags__android_arm64",
3861 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
3862 "$(location build/write_buildflag_header.py) --output " +
3863 "$(out) " +
3864 "--rulename " +
3865 "//base:parsing_buildflags " +
3866 "--gen-dir " +
3867 ". " +
3868 "--definitions " +
3869 "/dev/stdin",
3870 out: [
3871 "base/parsing_buildflags.h",
3872 ],
3873 tool_files: [
3874 "build/write_buildflag_header.py",
3875 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003876 apex_available: [
3877 "com.android.tethering",
3878 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003879}
3880
Patrick Rohr98600682022-11-18 18:29:15 -08003881// GN: //base:parsing_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003882cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003883 name: "cronet_aml_base_parsing_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07003884 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003885 "$(location build/write_buildflag_header.py) --output " +
3886 "$(out) " +
3887 "--rulename " +
3888 "//base:parsing_buildflags " +
3889 "--gen-dir " +
3890 ". " +
3891 "--definitions " +
3892 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003893 out: [
3894 "base/parsing_buildflags.h",
3895 ],
3896 tool_files: [
3897 "build/write_buildflag_header.py",
3898 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003899 apex_available: [
3900 "com.android.tethering",
3901 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003902}
3903
Patrick Rohr98600682022-11-18 18:29:15 -08003904// GN: //base:parsing_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003905cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003906 name: "cronet_aml_base_parsing_buildflags__android_x86_64",
3907 cmd: "echo '--flags BUILD_RUST_JSON_PARSER=\"false\"' | " +
3908 "$(location build/write_buildflag_header.py) --output " +
3909 "$(out) " +
3910 "--rulename " +
3911 "//base:parsing_buildflags " +
3912 "--gen-dir " +
3913 ". " +
3914 "--definitions " +
3915 "/dev/stdin",
3916 out: [
3917 "base/parsing_buildflags.h",
3918 ],
3919 tool_files: [
3920 "build/write_buildflag_header.py",
3921 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003922 apex_available: [
3923 "com.android.tethering",
3924 ],
Patrick Rohr98600682022-11-18 18:29:15 -08003925}
3926
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003927// GN: //base:power_monitor_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003928cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003929 name: "cronet_aml_base_power_monitor_buildflags__android_arm",
3930 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
3931 "$(location build/write_buildflag_header.py) --output " +
3932 "$(out) " +
3933 "--rulename " +
3934 "//base:power_monitor_buildflags " +
3935 "--gen-dir " +
3936 ". " +
3937 "--definitions " +
3938 "/dev/stdin",
3939 out: [
3940 "base/power_monitor/power_monitor_buildflags.h",
3941 ],
3942 tool_files: [
3943 "build/write_buildflag_header.py",
3944 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003945 apex_available: [
3946 "com.android.tethering",
3947 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09003948}
3949
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003950// GN: //base:power_monitor_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003951cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003952 name: "cronet_aml_base_power_monitor_buildflags__android_arm64",
3953 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
3954 "$(location build/write_buildflag_header.py) --output " +
3955 "$(out) " +
3956 "--rulename " +
3957 "//base:power_monitor_buildflags " +
3958 "--gen-dir " +
3959 ". " +
3960 "--definitions " +
3961 "/dev/stdin",
3962 out: [
3963 "base/power_monitor/power_monitor_buildflags.h",
3964 ],
3965 tool_files: [
3966 "build/write_buildflag_header.py",
3967 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003968 apex_available: [
3969 "com.android.tethering",
3970 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09003971}
3972
Patrick Rohr98600682022-11-18 18:29:15 -08003973// GN: //base:power_monitor_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003974cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003975 name: "cronet_aml_base_power_monitor_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07003976 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07003977 "$(location build/write_buildflag_header.py) --output " +
3978 "$(out) " +
3979 "--rulename " +
3980 "//base:power_monitor_buildflags " +
3981 "--gen-dir " +
3982 ". " +
3983 "--definitions " +
3984 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07003985 out: [
3986 "base/power_monitor/power_monitor_buildflags.h",
3987 ],
3988 tool_files: [
3989 "build/write_buildflag_header.py",
3990 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09003991 apex_available: [
3992 "com.android.tethering",
3993 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07003994}
3995
Patrick Rohr98600682022-11-18 18:29:15 -08003996// GN: //base:power_monitor_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00003997cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08003998 name: "cronet_aml_base_power_monitor_buildflags__android_x86_64",
3999 cmd: "echo '--flags HAS_BATTERY_LEVEL_PROVIDER_IMPL=\"false\"' | " +
4000 "$(location build/write_buildflag_header.py) --output " +
4001 "$(out) " +
4002 "--rulename " +
4003 "//base:power_monitor_buildflags " +
4004 "--gen-dir " +
4005 ". " +
4006 "--definitions " +
4007 "/dev/stdin",
4008 out: [
4009 "base/power_monitor/power_monitor_buildflags.h",
4010 ],
4011 tool_files: [
4012 "build/write_buildflag_header.py",
4013 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004014 apex_available: [
4015 "com.android.tethering",
4016 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004017}
4018
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004019// GN: //base:profiler_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004020cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004021 name: "cronet_aml_base_profiler_buildflags__android_arm",
4022 cmd: "echo '--flags ENABLE_ARM_CFI_TABLE=\"true\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4023 "$(location build/write_buildflag_header.py) --output " +
4024 "$(out) " +
4025 "--rulename " +
4026 "//base:profiler_buildflags " +
4027 "--gen-dir " +
4028 ". " +
4029 "--definitions " +
4030 "/dev/stdin",
4031 out: [
4032 "base/profiler/profiler_buildflags.h",
4033 ],
4034 tool_files: [
4035 "build/write_buildflag_header.py",
4036 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004037 apex_available: [
4038 "com.android.tethering",
4039 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004040}
4041
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004042// GN: //base:profiler_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004043cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004044 name: "cronet_aml_base_profiler_buildflags__android_arm64",
4045 cmd: "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4046 "$(location build/write_buildflag_header.py) --output " +
4047 "$(out) " +
4048 "--rulename " +
4049 "//base:profiler_buildflags " +
4050 "--gen-dir " +
4051 ". " +
4052 "--definitions " +
4053 "/dev/stdin",
4054 out: [
4055 "base/profiler/profiler_buildflags.h",
4056 ],
4057 tool_files: [
4058 "build/write_buildflag_header.py",
4059 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004060 apex_available: [
4061 "com.android.tethering",
4062 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004063}
4064
Patrick Rohr98600682022-11-18 18:29:15 -08004065// GN: //base:profiler_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004066cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004067 name: "cronet_aml_base_profiler_buildflags__android_x86",
Motomu Utsumid03217b2022-11-01 12:16:19 +09004068 cmd: "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07004069 "$(location build/write_buildflag_header.py) --output " +
4070 "$(out) " +
4071 "--rulename " +
4072 "//base:profiler_buildflags " +
4073 "--gen-dir " +
4074 ". " +
4075 "--definitions " +
4076 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004077 out: [
4078 "base/profiler/profiler_buildflags.h",
4079 ],
4080 tool_files: [
4081 "build/write_buildflag_header.py",
4082 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004083 apex_available: [
4084 "com.android.tethering",
4085 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07004086}
4087
Patrick Rohr98600682022-11-18 18:29:15 -08004088// GN: //base:profiler_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004089cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004090 name: "cronet_aml_base_profiler_buildflags__android_x86_64",
4091 cmd: "echo '--flags ENABLE_ARM_CFI_TABLE=\"false\" IOS_STACK_PROFILER_ENABLED=\"true\" USE_ANDROID_UNWINDER_V2=\"true\"' | " +
4092 "$(location build/write_buildflag_header.py) --output " +
4093 "$(out) " +
4094 "--rulename " +
4095 "//base:profiler_buildflags " +
4096 "--gen-dir " +
4097 ". " +
4098 "--definitions " +
4099 "/dev/stdin",
4100 out: [
4101 "base/profiler/profiler_buildflags.h",
4102 ],
4103 tool_files: [
4104 "build/write_buildflag_header.py",
4105 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004106 apex_available: [
4107 "com.android.tethering",
4108 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004109}
4110
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004111// GN: //base:sanitizer_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004112cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004113 name: "cronet_aml_base_sanitizer_buildflags__android_arm",
4114 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
4115 "$(location build/write_buildflag_header.py) --output " +
4116 "$(out) " +
4117 "--rulename " +
4118 "//base:sanitizer_buildflags " +
4119 "--gen-dir " +
4120 ". " +
4121 "--definitions " +
4122 "/dev/stdin",
4123 out: [
4124 "base/sanitizer_buildflags.h",
4125 ],
4126 tool_files: [
4127 "build/write_buildflag_header.py",
4128 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004129 apex_available: [
4130 "com.android.tethering",
4131 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004132}
4133
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004134// GN: //base:sanitizer_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004135cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004136 name: "cronet_aml_base_sanitizer_buildflags__android_arm64",
4137 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
4138 "$(location build/write_buildflag_header.py) --output " +
4139 "$(out) " +
4140 "--rulename " +
4141 "//base:sanitizer_buildflags " +
4142 "--gen-dir " +
4143 ". " +
4144 "--definitions " +
4145 "/dev/stdin",
4146 out: [
4147 "base/sanitizer_buildflags.h",
4148 ],
4149 tool_files: [
4150 "build/write_buildflag_header.py",
4151 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004152 apex_available: [
4153 "com.android.tethering",
4154 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004155}
4156
Patrick Rohr98600682022-11-18 18:29:15 -08004157// GN: //base:sanitizer_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004158cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004159 name: "cronet_aml_base_sanitizer_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07004160 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07004161 "$(location build/write_buildflag_header.py) --output " +
4162 "$(out) " +
4163 "--rulename " +
4164 "//base:sanitizer_buildflags " +
4165 "--gen-dir " +
4166 ". " +
4167 "--definitions " +
4168 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004169 out: [
4170 "base/sanitizer_buildflags.h",
4171 ],
4172 tool_files: [
4173 "build/write_buildflag_header.py",
4174 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004175 apex_available: [
4176 "com.android.tethering",
4177 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07004178}
4179
Patrick Rohr98600682022-11-18 18:29:15 -08004180// GN: //base:sanitizer_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004181cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004182 name: "cronet_aml_base_sanitizer_buildflags__android_x86_64",
4183 cmd: "echo '--flags IS_HWASAN=\"false\" USING_SANITIZER=\"false\"' | " +
4184 "$(location build/write_buildflag_header.py) --output " +
4185 "$(out) " +
4186 "--rulename " +
4187 "//base:sanitizer_buildflags " +
4188 "--gen-dir " +
4189 ". " +
4190 "--definitions " +
4191 "/dev/stdin",
4192 out: [
4193 "base/sanitizer_buildflags.h",
4194 ],
4195 tool_files: [
4196 "build/write_buildflag_header.py",
4197 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004198 apex_available: [
4199 "com.android.tethering",
4200 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004201}
4202
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004203// GN: //base:synchronization_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004204cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004205 name: "cronet_aml_base_synchronization_buildflags__android_arm",
4206 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
4207 "$(location build/write_buildflag_header.py) --output " +
4208 "$(out) " +
4209 "--rulename " +
4210 "//base:synchronization_buildflags " +
4211 "--gen-dir " +
4212 ". " +
4213 "--definitions " +
4214 "/dev/stdin",
4215 out: [
4216 "base/synchronization/synchronization_buildflags.h",
4217 ],
4218 tool_files: [
4219 "build/write_buildflag_header.py",
4220 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004221 apex_available: [
4222 "com.android.tethering",
4223 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004224}
4225
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004226// GN: //base:synchronization_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004227cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004228 name: "cronet_aml_base_synchronization_buildflags__android_arm64",
4229 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
4230 "$(location build/write_buildflag_header.py) --output " +
4231 "$(out) " +
4232 "--rulename " +
4233 "//base:synchronization_buildflags " +
4234 "--gen-dir " +
4235 ". " +
4236 "--definitions " +
4237 "/dev/stdin",
4238 out: [
4239 "base/synchronization/synchronization_buildflags.h",
4240 ],
4241 tool_files: [
4242 "build/write_buildflag_header.py",
4243 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004244 apex_available: [
4245 "com.android.tethering",
4246 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004247}
4248
Patrick Rohr98600682022-11-18 18:29:15 -08004249// GN: //base:synchronization_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004250cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004251 name: "cronet_aml_base_synchronization_buildflags__android_x86",
4252 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
4253 "$(location build/write_buildflag_header.py) --output " +
4254 "$(out) " +
4255 "--rulename " +
4256 "//base:synchronization_buildflags " +
4257 "--gen-dir " +
4258 ". " +
4259 "--definitions " +
4260 "/dev/stdin",
4261 out: [
4262 "base/synchronization/synchronization_buildflags.h",
4263 ],
4264 tool_files: [
4265 "build/write_buildflag_header.py",
4266 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004267 apex_available: [
4268 "com.android.tethering",
4269 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004270}
4271
4272// GN: //base:synchronization_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004273cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004274 name: "cronet_aml_base_synchronization_buildflags__android_x86_64",
4275 cmd: "echo '--flags ENABLE_MUTEX_PRIORITY_INHERITANCE=\"false\"' | " +
4276 "$(location build/write_buildflag_header.py) --output " +
4277 "$(out) " +
4278 "--rulename " +
4279 "//base:synchronization_buildflags " +
4280 "--gen-dir " +
4281 ". " +
4282 "--definitions " +
4283 "/dev/stdin",
4284 out: [
4285 "base/synchronization/synchronization_buildflags.h",
4286 ],
4287 tool_files: [
4288 "build/write_buildflag_header.py",
4289 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004290 apex_available: [
4291 "com.android.tethering",
4292 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004293}
4294
Patrick Rohrcc377df2022-10-28 09:27:15 -07004295// GN: //base/third_party/double_conversion:double_conversion
4296cc_library_static {
4297 name: "cronet_aml_base_third_party_double_conversion_double_conversion",
4298 srcs: [
4299 "base/third_party/double_conversion/double-conversion/bignum-dtoa.cc",
4300 "base/third_party/double_conversion/double-conversion/bignum.cc",
4301 "base/third_party/double_conversion/double-conversion/cached-powers.cc",
4302 "base/third_party/double_conversion/double-conversion/double-to-string.cc",
4303 "base/third_party/double_conversion/double-conversion/fast-dtoa.cc",
4304 "base/third_party/double_conversion/double-conversion/fixed-dtoa.cc",
4305 "base/third_party/double_conversion/double-conversion/string-to-double.cc",
4306 "base/third_party/double_conversion/double-conversion/strtod.cc",
4307 ],
4308 defaults: [
4309 "cronet_aml_defaults",
4310 ],
4311 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004312 "-DANDROID",
4313 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004314 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4315 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4316 "-DDCHECK_ALWAYS_ON=1",
4317 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004318 "-DHAVE_SYS_UIO_H",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004319 "-D_DEBUG",
4320 "-D_GNU_SOURCE",
4321 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4322 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4323 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4324 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4325 "-D__STDC_CONSTANT_MACROS",
4326 "-D__STDC_FORMAT_MACROS",
4327 ],
4328 local_include_dirs: [
4329 "./",
4330 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07004331 "buildtools/third_party/libc++/trunk/include",
4332 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004333 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -07004334 cpp_std: "c++20",
Motomu Utsumif0f47682022-11-17 22:34:39 +09004335 target: {
Motomu Utsumi65501182022-11-18 15:26:35 +09004336 android_x86: {
4337 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004338 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09004339 ],
4340 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09004341 android_x86_64: {
4342 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004343 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09004344 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09004345 },
4346 },
Patrick Rohrcc377df2022-10-28 09:27:15 -07004347}
4348
4349// GN: //base/third_party/dynamic_annotations:dynamic_annotations
4350cc_library_static {
4351 name: "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
4352 srcs: [
4353 "base/third_party/dynamic_annotations/dynamic_annotations.c",
4354 ],
4355 defaults: [
4356 "cronet_aml_defaults",
4357 ],
4358 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004359 "-DANDROID",
4360 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004361 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4362 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4363 "-DDCHECK_ALWAYS_ON=1",
4364 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004365 "-DHAVE_SYS_UIO_H",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004366 "-D_DEBUG",
4367 "-D_GNU_SOURCE",
4368 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4369 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4370 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4371 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4372 ],
4373 local_include_dirs: [
4374 "./",
4375 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -07004376 "buildtools/third_party/libc++/trunk/include",
4377 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohr81a4ac32022-11-15 14:38:21 -08004378 ],
4379 cpp_std: "c++20",
Motomu Utsumif0f47682022-11-17 22:34:39 +09004380 target: {
Motomu Utsumi65501182022-11-18 15:26:35 +09004381 android_x86: {
4382 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004383 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09004384 ],
4385 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09004386 android_x86_64: {
4387 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004388 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09004389 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09004390 },
4391 },
Patrick Rohr81a4ac32022-11-15 14:38:21 -08004392}
4393
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004394// GN: //base:tracing_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004395cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004396 name: "cronet_aml_base_tracing_buildflags__android_arm",
4397 cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
4398 "$(location build/write_buildflag_header.py) --output " +
4399 "$(out) " +
4400 "--rulename " +
4401 "//base:tracing_buildflags " +
4402 "--gen-dir " +
4403 ". " +
4404 "--definitions " +
4405 "/dev/stdin",
4406 out: [
4407 "base/tracing_buildflags.h",
4408 ],
4409 tool_files: [
4410 "build/write_buildflag_header.py",
4411 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004412 apex_available: [
4413 "com.android.tethering",
4414 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004415}
4416
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004417// GN: //base:tracing_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004418cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004419 name: "cronet_aml_base_tracing_buildflags__android_arm64",
4420 cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
4421 "$(location build/write_buildflag_header.py) --output " +
4422 "$(out) " +
4423 "--rulename " +
4424 "//base:tracing_buildflags " +
4425 "--gen-dir " +
4426 ". " +
4427 "--definitions " +
4428 "/dev/stdin",
4429 out: [
4430 "base/tracing_buildflags.h",
4431 ],
4432 tool_files: [
4433 "build/write_buildflag_header.py",
4434 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004435 apex_available: [
4436 "com.android.tethering",
4437 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004438}
4439
Patrick Rohr98600682022-11-18 18:29:15 -08004440// GN: //base:tracing_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004441cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004442 name: "cronet_aml_base_tracing_buildflags__android_x86",
Motomu Utsumi65501182022-11-18 15:26:35 +09004443 cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07004444 "$(location build/write_buildflag_header.py) --output " +
4445 "$(out) " +
4446 "--rulename " +
4447 "//base:tracing_buildflags " +
4448 "--gen-dir " +
4449 ". " +
4450 "--definitions " +
4451 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004452 out: [
4453 "base/tracing_buildflags.h",
4454 ],
4455 tool_files: [
4456 "build/write_buildflag_header.py",
4457 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004458 apex_available: [
4459 "com.android.tethering",
4460 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07004461}
4462
Patrick Rohr98600682022-11-18 18:29:15 -08004463// GN: //base:tracing_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004464cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004465 name: "cronet_aml_base_tracing_buildflags__android_x86_64",
4466 cmd: "echo '--flags ENABLE_BASE_TRACING=\"false\" USE_PERFETTO_CLIENT_LIBRARY=\"false\" OPTIONAL_TRACE_EVENTS_ENABLED=\"false\"' | " +
4467 "$(location build/write_buildflag_header.py) --output " +
4468 "$(out) " +
4469 "--rulename " +
4470 "//base:tracing_buildflags " +
4471 "--gen-dir " +
4472 ". " +
4473 "--definitions " +
4474 "/dev/stdin",
4475 out: [
4476 "base/tracing_buildflags.h",
4477 ],
4478 tool_files: [
4479 "build/write_buildflag_header.py",
4480 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004481 apex_available: [
4482 "com.android.tethering",
4483 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004484}
4485
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004486// GN: //build/android:build_config_gen
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00004487genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004488 name: "cronet_aml_build_android_build_config_gen",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00004489 srcs: [
4490 ":cronet_aml_build_android_build_config_gen_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004491 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00004492 tools: [
4493 "soong_zip",
4494 ],
4495 cmd: "cp $(in) $(genDir)/BuildConfig.java && " +
4496 "$(location soong_zip) -o $(out) -srcjar -f $(genDir)/BuildConfig.java",
4497 out: [
4498 "BuildConfig.srcjar",
4499 ],
4500}
4501
4502// GN: //build/android:build_config_gen
4503cc_object {
4504 name: "cronet_aml_build_android_build_config_gen_preprocess",
4505 srcs: [
4506 ":cronet_aml_build_android_build_config_gen_rename",
4507 ],
4508 cflags: [
4509 "-DANDROID",
4510 "-D_ENABLE_ASSERTS",
4511 "-E",
4512 "-P",
4513 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09004514 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00004515}
4516
4517// GN: //build/android:build_config_gen
4518genrule {
4519 name: "cronet_aml_build_android_build_config_gen_rename",
4520 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004521 "build/android/java/templates/BuildConfig.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00004522 ],
4523 cmd: "cp $(in) $(out)",
4524 out: [
4525 "BuildConfig.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004526 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004527}
4528
4529// GN: //build/android:native_libraries_gen
Mohannad Farrag7ff99912022-11-29 17:16:00 +00004530java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004531 name: "cronet_aml_build_android_native_libraries_gen",
4532 cmd: "$(location build/android/gyp/write_native_libraries_java.py) --output " +
Motomu Utsumi3dbc2762022-12-05 16:20:21 +09004533 "$(out) " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004534 "--cpu-family " +
4535 "CPU_FAMILY_ARM",
4536 out: [
4537 "build/android/native_libraries_gen.srcjar",
4538 ],
4539 tool_files: [
4540 "build/android/gyp/util/__init__.py",
4541 "build/android/gyp/util/build_utils.py",
4542 "build/android/gyp/write_native_libraries_java.py",
4543 "build/gn_helpers.py",
4544 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00004545}
4546
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004547// GN: //build:branding_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004548cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004549 name: "cronet_aml_build_branding_buildflags__android_arm",
4550 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
4551 "$(location build/write_buildflag_header.py) --output " +
4552 "$(out) " +
4553 "--rulename " +
4554 "//build:branding_buildflags " +
4555 "--gen-dir " +
4556 ". " +
4557 "--definitions " +
4558 "/dev/stdin",
4559 out: [
4560 "build/branding_buildflags.h",
4561 ],
4562 tool_files: [
4563 "build/write_buildflag_header.py",
4564 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004565 apex_available: [
4566 "com.android.tethering",
4567 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004568}
4569
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004570// GN: //build:branding_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004571cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004572 name: "cronet_aml_build_branding_buildflags__android_arm64",
4573 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
4574 "$(location build/write_buildflag_header.py) --output " +
4575 "$(out) " +
4576 "--rulename " +
4577 "//build:branding_buildflags " +
4578 "--gen-dir " +
4579 ". " +
4580 "--definitions " +
4581 "/dev/stdin",
4582 out: [
4583 "build/branding_buildflags.h",
4584 ],
4585 tool_files: [
4586 "build/write_buildflag_header.py",
4587 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004588 apex_available: [
4589 "com.android.tethering",
4590 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004591}
4592
Patrick Rohr98600682022-11-18 18:29:15 -08004593// GN: //build:branding_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004594cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004595 name: "cronet_aml_build_branding_buildflags__android_x86",
4596 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
4597 "$(location build/write_buildflag_header.py) --output " +
4598 "$(out) " +
4599 "--rulename " +
4600 "//build:branding_buildflags " +
4601 "--gen-dir " +
4602 ". " +
4603 "--definitions " +
4604 "/dev/stdin",
4605 out: [
4606 "build/branding_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
4616// GN: //build:branding_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004617cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004618 name: "cronet_aml_build_branding_buildflags__android_x86_64",
4619 cmd: "echo '--flags CHROMIUM_BRANDING=\"1\" GOOGLE_CHROME_BRANDING=\"0\"' | " +
4620 "$(location build/write_buildflag_header.py) --output " +
4621 "$(out) " +
4622 "--rulename " +
4623 "//build:branding_buildflags " +
4624 "--gen-dir " +
4625 ". " +
4626 "--definitions " +
4627 "/dev/stdin",
4628 out: [
4629 "build/branding_buildflags.h",
4630 ],
4631 tool_files: [
4632 "build/write_buildflag_header.py",
4633 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004634 apex_available: [
4635 "com.android.tethering",
4636 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004637}
4638
Motomu Utsumibf569d42022-10-28 16:47:34 +09004639// GN: //build:buildflag_header_h
Mohannad Farrag7f29d832022-11-23 19:52:41 +00004640cc_object {
Motomu Utsumibf569d42022-10-28 16:47:34 +09004641 name: "cronet_aml_build_buildflag_header_h",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00004642 defaults: [
4643 "cronet_aml_defaults",
4644 ],
4645 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004646 "-DANDROID",
4647 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00004648 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
4649 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
4650 "-DDCHECK_ALWAYS_ON=1",
4651 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08004652 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00004653 "-D_DEBUG",
4654 "-D_GNU_SOURCE",
4655 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
4656 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
4657 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
4658 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
4659 "-D__STDC_CONSTANT_MACROS",
4660 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00004661 ],
4662 local_include_dirs: [
4663 "./",
4664 "buildtools/third_party/libc++/",
4665 "buildtools/third_party/libc++/trunk/include",
4666 "buildtools/third_party/libc++abi/trunk/include",
4667 ],
4668 cpp_std: "c++20",
4669 target: {
4670 android_x86: {
4671 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004672 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00004673 ],
4674 },
4675 android_x86_64: {
4676 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004677 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00004678 ],
4679 },
4680 },
Motomu Utsumibf569d42022-10-28 16:47:34 +09004681}
4682
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004683// GN: //build:chromecast_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004684cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004685 name: "cronet_aml_build_chromecast_buildflags__android_arm",
4686 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
4687 "$(location build/write_buildflag_header.py) --output " +
4688 "$(out) " +
4689 "--rulename " +
4690 "//build:chromecast_buildflags " +
4691 "--gen-dir " +
4692 ". " +
4693 "--definitions " +
4694 "/dev/stdin",
4695 out: [
4696 "build/chromecast_buildflags.h",
4697 ],
4698 tool_files: [
4699 "build/write_buildflag_header.py",
4700 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004701 apex_available: [
4702 "com.android.tethering",
4703 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004704}
4705
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004706// GN: //build:chromecast_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004707cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004708 name: "cronet_aml_build_chromecast_buildflags__android_arm64",
4709 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
4710 "$(location build/write_buildflag_header.py) --output " +
4711 "$(out) " +
4712 "--rulename " +
4713 "//build:chromecast_buildflags " +
4714 "--gen-dir " +
4715 ". " +
4716 "--definitions " +
4717 "/dev/stdin",
4718 out: [
4719 "build/chromecast_buildflags.h",
4720 ],
4721 tool_files: [
4722 "build/write_buildflag_header.py",
4723 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004724 apex_available: [
4725 "com.android.tethering",
4726 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004727}
4728
Patrick Rohr98600682022-11-18 18:29:15 -08004729// GN: //build:chromecast_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004730cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004731 name: "cronet_aml_build_chromecast_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07004732 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07004733 "$(location build/write_buildflag_header.py) --output " +
4734 "$(out) " +
4735 "--rulename " +
4736 "//build:chromecast_buildflags " +
4737 "--gen-dir " +
4738 ". " +
4739 "--definitions " +
4740 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004741 out: [
4742 "build/chromecast_buildflags.h",
4743 ],
4744 tool_files: [
4745 "build/write_buildflag_header.py",
4746 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004747 apex_available: [
4748 "com.android.tethering",
4749 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07004750}
4751
Patrick Rohr98600682022-11-18 18:29:15 -08004752// GN: //build:chromecast_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004753cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004754 name: "cronet_aml_build_chromecast_buildflags__android_x86_64",
4755 cmd: "echo '--flags IS_CASTOS=\"false\" IS_CAST_ANDROID=\"false\" ENABLE_CAST_RECEIVER=\"false\" IS_CHROMECAST=\"false\"' | " +
4756 "$(location build/write_buildflag_header.py) --output " +
4757 "$(out) " +
4758 "--rulename " +
4759 "//build:chromecast_buildflags " +
4760 "--gen-dir " +
4761 ". " +
4762 "--definitions " +
4763 "/dev/stdin",
4764 out: [
4765 "build/chromecast_buildflags.h",
4766 ],
4767 tool_files: [
4768 "build/write_buildflag_header.py",
4769 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004770 apex_available: [
4771 "com.android.tethering",
4772 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004773}
4774
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004775// GN: //build:chromeos_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004776cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004777 name: "cronet_aml_build_chromeos_buildflags__android_arm",
4778 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
4779 "$(location build/write_buildflag_header.py) --output " +
4780 "$(out) " +
4781 "--rulename " +
4782 "//build:chromeos_buildflags " +
4783 "--gen-dir " +
4784 ". " +
4785 "--definitions " +
4786 "/dev/stdin",
4787 out: [
4788 "build/chromeos_buildflags.h",
4789 ],
4790 tool_files: [
4791 "build/write_buildflag_header.py",
4792 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004793 apex_available: [
4794 "com.android.tethering",
4795 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004796}
4797
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004798// GN: //build:chromeos_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004799cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004800 name: "cronet_aml_build_chromeos_buildflags__android_arm64",
4801 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
4802 "$(location build/write_buildflag_header.py) --output " +
4803 "$(out) " +
4804 "--rulename " +
4805 "//build:chromeos_buildflags " +
4806 "--gen-dir " +
4807 ". " +
4808 "--definitions " +
4809 "/dev/stdin",
4810 out: [
4811 "build/chromeos_buildflags.h",
4812 ],
4813 tool_files: [
4814 "build/write_buildflag_header.py",
4815 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004816 apex_available: [
4817 "com.android.tethering",
4818 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004819}
4820
Patrick Rohr98600682022-11-18 18:29:15 -08004821// GN: //build:chromeos_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004822cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004823 name: "cronet_aml_build_chromeos_buildflags__android_x86",
Patrick Rohrc20887d2022-10-28 12:59:20 -07004824 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07004825 "$(location build/write_buildflag_header.py) --output " +
4826 "$(out) " +
4827 "--rulename " +
4828 "//build:chromeos_buildflags " +
4829 "--gen-dir " +
4830 ". " +
4831 "--definitions " +
4832 "/dev/stdin",
Motomu Utsumibf569d42022-10-28 16:47:34 +09004833 out: [
4834 "build/chromeos_buildflags.h",
4835 ],
4836 tool_files: [
4837 "build/write_buildflag_header.py",
4838 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004839 apex_available: [
4840 "com.android.tethering",
4841 ],
Motomu Utsumibf569d42022-10-28 16:47:34 +09004842}
4843
Patrick Rohr98600682022-11-18 18:29:15 -08004844// GN: //build:chromeos_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004845cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004846 name: "cronet_aml_build_chromeos_buildflags__android_x86_64",
4847 cmd: "echo '--flags IS_CHROMEOS_DEVICE=\"false\" IS_CHROMEOS_LACROS=\"false\" IS_CHROMEOS_ASH=\"false\" IS_CHROMEOS_WITH_HW_DETAILS=\"false\" IS_REVEN=\"false\"' | " +
4848 "$(location build/write_buildflag_header.py) --output " +
4849 "$(out) " +
4850 "--rulename " +
4851 "//build:chromeos_buildflags " +
4852 "--gen-dir " +
4853 ". " +
4854 "--definitions " +
4855 "/dev/stdin",
4856 out: [
4857 "build/chromeos_buildflags.h",
4858 ],
4859 tool_files: [
4860 "build/write_buildflag_header.py",
4861 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004862 apex_available: [
4863 "com.android.tethering",
4864 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004865}
4866
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004867// GN: //build/config/compiler:compiler_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004868cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004869 name: "cronet_aml_build_config_compiler_compiler_buildflags__android_arm",
4870 cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
4871 "$(location build/write_buildflag_header.py) --output " +
4872 "$(out) " +
4873 "--rulename " +
4874 "//build/config/compiler:compiler_buildflags " +
4875 "--gen-dir " +
4876 ". " +
4877 "--definitions " +
4878 "/dev/stdin",
4879 out: [
4880 "build/config/compiler/compiler_buildflags.h",
4881 ],
4882 tool_files: [
4883 "build/write_buildflag_header.py",
4884 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004885 apex_available: [
4886 "com.android.tethering",
4887 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09004888}
4889
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004890// GN: //build/config/compiler:compiler_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004891cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004892 name: "cronet_aml_build_config_compiler_compiler_buildflags__android_arm64",
4893 cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
4894 "$(location build/write_buildflag_header.py) --output " +
4895 "$(out) " +
4896 "--rulename " +
4897 "//build/config/compiler:compiler_buildflags " +
4898 "--gen-dir " +
4899 ". " +
4900 "--definitions " +
4901 "/dev/stdin",
4902 out: [
4903 "build/config/compiler/compiler_buildflags.h",
4904 ],
4905 tool_files: [
4906 "build/write_buildflag_header.py",
4907 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004908 apex_available: [
4909 "com.android.tethering",
4910 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09004911}
4912
Patrick Rohr98600682022-11-18 18:29:15 -08004913// GN: //build/config/compiler:compiler_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004914cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004915 name: "cronet_aml_build_config_compiler_compiler_buildflags__android_x86",
Motomu Utsumi65501182022-11-18 15:26:35 +09004916 cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
Patrick Rohr9b99a982022-10-28 11:00:57 -07004917 "$(location build/write_buildflag_header.py) --output " +
4918 "$(out) " +
4919 "--rulename " +
4920 "//build/config/compiler:compiler_buildflags " +
4921 "--gen-dir " +
4922 ". " +
4923 "--definitions " +
4924 "/dev/stdin",
Patrick Rohrcc377df2022-10-28 09:27:15 -07004925 out: [
4926 "build/config/compiler/compiler_buildflags.h",
4927 ],
4928 tool_files: [
4929 "build/write_buildflag_header.py",
4930 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004931 apex_available: [
4932 "com.android.tethering",
4933 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -07004934}
4935
Patrick Rohr98600682022-11-18 18:29:15 -08004936// GN: //build/config/compiler:compiler_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00004937cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08004938 name: "cronet_aml_build_config_compiler_compiler_buildflags__android_x86_64",
4939 cmd: "echo '--flags CLANG_PGO=\"0\" SYMBOL_LEVEL=\"1\"' | " +
4940 "$(location build/write_buildflag_header.py) --output " +
4941 "$(out) " +
4942 "--rulename " +
4943 "//build/config/compiler:compiler_buildflags " +
4944 "--gen-dir " +
4945 ". " +
4946 "--definitions " +
4947 "/dev/stdin",
4948 out: [
4949 "build/config/compiler/compiler_buildflags.h",
4950 ],
4951 tool_files: [
4952 "build/write_buildflag_header.py",
4953 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09004954 apex_available: [
4955 "com.android.tethering",
4956 ],
Patrick Rohr98600682022-11-18 18:29:15 -08004957}
4958
Patrick Rohrcb035942022-11-01 12:12:52 -07004959// GN: //buildtools/third_party/libc++:libc++
Mohannad Farrag7f29d832022-11-23 19:52:41 +00004960cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07004961 name: "cronet_aml_buildtools_third_party_libc___libc__",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00004962 srcs: [
4963 "buildtools/third_party/libc++/trunk/src/algorithm.cpp",
4964 "buildtools/third_party/libc++/trunk/src/any.cpp",
4965 "buildtools/third_party/libc++/trunk/src/atomic.cpp",
4966 "buildtools/third_party/libc++/trunk/src/barrier.cpp",
4967 "buildtools/third_party/libc++/trunk/src/bind.cpp",
4968 "buildtools/third_party/libc++/trunk/src/charconv.cpp",
4969 "buildtools/third_party/libc++/trunk/src/chrono.cpp",
4970 "buildtools/third_party/libc++/trunk/src/condition_variable.cpp",
4971 "buildtools/third_party/libc++/trunk/src/condition_variable_destructor.cpp",
4972 "buildtools/third_party/libc++/trunk/src/exception.cpp",
4973 "buildtools/third_party/libc++/trunk/src/format.cpp",
4974 "buildtools/third_party/libc++/trunk/src/functional.cpp",
4975 "buildtools/third_party/libc++/trunk/src/future.cpp",
4976 "buildtools/third_party/libc++/trunk/src/hash.cpp",
4977 "buildtools/third_party/libc++/trunk/src/ios.cpp",
4978 "buildtools/third_party/libc++/trunk/src/ios.instantiations.cpp",
4979 "buildtools/third_party/libc++/trunk/src/iostream.cpp",
4980 "buildtools/third_party/libc++/trunk/src/legacy_pointer_safety.cpp",
4981 "buildtools/third_party/libc++/trunk/src/locale.cpp",
4982 "buildtools/third_party/libc++/trunk/src/memory.cpp",
4983 "buildtools/third_party/libc++/trunk/src/mutex.cpp",
4984 "buildtools/third_party/libc++/trunk/src/mutex_destructor.cpp",
4985 "buildtools/third_party/libc++/trunk/src/new.cpp",
4986 "buildtools/third_party/libc++/trunk/src/optional.cpp",
4987 "buildtools/third_party/libc++/trunk/src/random.cpp",
4988 "buildtools/third_party/libc++/trunk/src/random_shuffle.cpp",
4989 "buildtools/third_party/libc++/trunk/src/regex.cpp",
4990 "buildtools/third_party/libc++/trunk/src/ryu/d2fixed.cpp",
4991 "buildtools/third_party/libc++/trunk/src/ryu/d2s.cpp",
4992 "buildtools/third_party/libc++/trunk/src/ryu/f2s.cpp",
4993 "buildtools/third_party/libc++/trunk/src/shared_mutex.cpp",
4994 "buildtools/third_party/libc++/trunk/src/stdexcept.cpp",
4995 "buildtools/third_party/libc++/trunk/src/string.cpp",
4996 "buildtools/third_party/libc++/trunk/src/strstream.cpp",
4997 "buildtools/third_party/libc++/trunk/src/system_error.cpp",
4998 "buildtools/third_party/libc++/trunk/src/thread.cpp",
4999 "buildtools/third_party/libc++/trunk/src/typeinfo.cpp",
5000 "buildtools/third_party/libc++/trunk/src/utility.cpp",
5001 "buildtools/third_party/libc++/trunk/src/valarray.cpp",
5002 "buildtools/third_party/libc++/trunk/src/variant.cpp",
5003 "buildtools/third_party/libc++/trunk/src/vector.cpp",
5004 "buildtools/third_party/libc++/trunk/src/verbose_abort.cpp",
5005 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005006 host_supported: true,
5007 defaults: [
5008 "cronet_aml_defaults",
5009 ],
5010 cflags: [
5011 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5012 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5013 "-DDCHECK_ALWAYS_ON=1",
5014 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5015 "-DLIBCXX_BUILDING_LIBCXXABI",
5016 "-D_DEBUG",
5017 "-D_GNU_SOURCE",
5018 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5019 "-D_LIBCPP_BUILDING_LIBRARY",
5020 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5021 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5022 "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))",
5023 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5024 ],
5025 local_include_dirs: [
5026 "./",
5027 "buildtools/third_party/libc++/",
5028 "buildtools/third_party/libc++/trunk/include",
5029 "buildtools/third_party/libc++/trunk/src/",
5030 "buildtools/third_party/libc++abi/trunk/include",
5031 ],
5032 cpp_std: "c++20",
5033 cppflags: [
5034 "-fexceptions",
5035 ],
5036 rtti: true,
Motomu Utsumi55394632022-11-18 17:44:28 +09005037 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005038 android_arm: {
5039 cflags: [
5040 "-DANDROID",
5041 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5042 "-DHAVE_SYS_UIO_H",
5043 ],
5044 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005045 android_arm64: {
5046 cflags: [
5047 "-DANDROID",
5048 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5049 "-DHAVE_SYS_UIO_H",
5050 ],
5051 },
Motomu Utsumi55394632022-11-18 17:44:28 +09005052 android_x86: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005053 cflags: [
5054 "-DANDROID",
5055 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5056 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005057 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09005058 ],
5059 },
5060 android_x86_64: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005061 cflags: [
5062 "-DANDROID",
5063 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5064 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005065 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09005066 ],
5067 },
5068 host: {
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005069 cflags: [
5070 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5071 "-DUSE_AURA=1",
5072 "-DUSE_OZONE=1",
5073 "-DUSE_UDEV",
5074 "-D_FILE_OFFSET_BITS=64",
5075 "-D_LARGEFILE64_SOURCE",
5076 "-D_LARGEFILE_SOURCE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005077 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +09005078 ],
5079 },
5080 },
Patrick Rohrcb035942022-11-01 12:12:52 -07005081}
5082
5083// GN: //buildtools/third_party/libc++abi:libc++abi
Mohannad Farrag7f29d832022-11-23 19:52:41 +00005084cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07005085 name: "cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005086 srcs: [
5087 "buildtools/third_party/libc++abi/trunk/src/abort_message.cpp",
5088 "buildtools/third_party/libc++abi/trunk/src/cxa_aux_runtime.cpp",
5089 "buildtools/third_party/libc++abi/trunk/src/cxa_default_handlers.cpp",
5090 "buildtools/third_party/libc++abi/trunk/src/cxa_exception.cpp",
5091 "buildtools/third_party/libc++abi/trunk/src/cxa_exception_storage.cpp",
5092 "buildtools/third_party/libc++abi/trunk/src/cxa_guard.cpp",
5093 "buildtools/third_party/libc++abi/trunk/src/cxa_handlers.cpp",
5094 "buildtools/third_party/libc++abi/trunk/src/cxa_personality.cpp",
5095 "buildtools/third_party/libc++abi/trunk/src/cxa_thread_atexit.cpp",
5096 "buildtools/third_party/libc++abi/trunk/src/cxa_vector.cpp",
5097 "buildtools/third_party/libc++abi/trunk/src/cxa_virtual.cpp",
5098 "buildtools/third_party/libc++abi/trunk/src/fallback_malloc.cpp",
5099 "buildtools/third_party/libc++abi/trunk/src/private_typeinfo.cpp",
5100 "buildtools/third_party/libc++abi/trunk/src/stdlib_exception.cpp",
5101 "buildtools/third_party/libc++abi/trunk/src/stdlib_stdexcept.cpp",
5102 "buildtools/third_party/libc++abi/trunk/src/stdlib_typeinfo.cpp",
5103 ],
5104 host_supported: true,
5105 defaults: [
5106 "cronet_aml_defaults",
5107 ],
5108 cflags: [
5109 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5110 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5111 "-DDCHECK_ALWAYS_ON=1",
5112 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5113 "-DLIBCXXABI_SILENT_TERMINATE",
5114 "-D_DEBUG",
5115 "-D_GNU_SOURCE",
5116 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
5117 "-D_LIBCPP_BUILDING_LIBRARY",
5118 "-D_LIBCPP_CONSTINIT=constinit",
5119 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5120 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
5121 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
5122 ],
5123 local_include_dirs: [
5124 "./",
5125 "buildtools/third_party/libc++/",
5126 "buildtools/third_party/libc++/trunk/include",
5127 "buildtools/third_party/libc++/trunk/src/",
5128 "buildtools/third_party/libc++abi/trunk/include",
5129 ],
5130 cpp_std: "c++20",
5131 cppflags: [
5132 "-fexceptions",
5133 ],
5134 rtti: true,
Patrick Rohr3b5ff762022-11-16 10:22:16 -08005135 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005136 android_arm: {
5137 srcs: [
5138 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
5139 ],
5140 cflags: [
5141 "-DANDROID",
5142 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5143 "-DHAVE_SYS_UIO_H",
5144 ],
5145 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005146 android_arm64: {
5147 srcs: [
5148 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
5149 ],
5150 cflags: [
5151 "-DANDROID",
5152 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5153 "-DHAVE_SYS_UIO_H",
5154 ],
5155 },
Motomu Utsumi65501182022-11-18 15:26:35 +09005156 android_x86: {
5157 srcs: [
5158 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005159 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005160 cflags: [
5161 "-DANDROID",
5162 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5163 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005164 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09005165 ],
5166 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08005167 android_x86_64: {
5168 srcs: [
5169 "buildtools/third_party/libc++abi/cxa_demangle_stub.cc",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005170 ],
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005171 cflags: [
5172 "-DANDROID",
5173 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5174 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005175 "-msse3",
Patrick Rohr3b5ff762022-11-16 10:22:16 -08005176 ],
5177 },
Patrick Rohr09ee70e2022-11-16 15:20:03 -08005178 host: {
5179 srcs: [
5180 "buildtools/third_party/libc++abi/trunk/src/cxa_demangle.cpp",
Mohannad Farragbaf0d572022-11-22 11:53:54 +00005181 ],
5182 cflags: [
5183 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
5184 "-DUSE_AURA=1",
5185 "-DUSE_OZONE=1",
5186 "-DUSE_UDEV",
5187 "-D_FILE_OFFSET_BITS=64",
5188 "-D_LARGEFILE64_SOURCE",
5189 "-D_LARGEFILE_SOURCE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005190 "-msse3",
Patrick Rohr09ee70e2022-11-16 15:20:03 -08005191 ],
5192 },
Patrick Rohr3b5ff762022-11-16 10:22:16 -08005193 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005194}
5195
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005196// GN: //components/cronet/android:buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005197cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005198 name: "cronet_aml_components_cronet_android_buildflags__android_arm",
5199 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
5200 "$(location build/write_buildflag_header.py) --output " +
5201 "$(out) " +
5202 "--rulename " +
5203 "//components/cronet/android:buildflags " +
5204 "--gen-dir " +
5205 ". " +
5206 "--definitions " +
5207 "/dev/stdin",
5208 out: [
5209 "components/cronet/android/buildflags.h",
5210 ],
5211 tool_files: [
5212 "build/write_buildflag_header.py",
5213 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005214 apex_available: [
5215 "com.android.tethering",
5216 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005217}
5218
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005219// GN: //components/cronet/android:buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005220cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005221 name: "cronet_aml_components_cronet_android_buildflags__android_arm64",
5222 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
5223 "$(location build/write_buildflag_header.py) --output " +
5224 "$(out) " +
5225 "--rulename " +
5226 "//components/cronet/android:buildflags " +
5227 "--gen-dir " +
5228 ". " +
5229 "--definitions " +
5230 "/dev/stdin",
5231 out: [
5232 "components/cronet/android/buildflags.h",
5233 ],
5234 tool_files: [
5235 "build/write_buildflag_header.py",
5236 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005237 apex_available: [
5238 "com.android.tethering",
5239 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005240}
5241
Patrick Rohr98600682022-11-18 18:29:15 -08005242// GN: //components/cronet/android:buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005243cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08005244 name: "cronet_aml_components_cronet_android_buildflags__android_x86",
5245 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
5246 "$(location build/write_buildflag_header.py) --output " +
5247 "$(out) " +
5248 "--rulename " +
5249 "//components/cronet/android:buildflags " +
5250 "--gen-dir " +
5251 ". " +
5252 "--definitions " +
5253 "/dev/stdin",
5254 out: [
5255 "components/cronet/android/buildflags.h",
5256 ],
5257 tool_files: [
5258 "build/write_buildflag_header.py",
5259 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005260 apex_available: [
5261 "com.android.tethering",
5262 ],
Patrick Rohr98600682022-11-18 18:29:15 -08005263}
5264
5265// GN: //components/cronet/android:buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005266cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08005267 name: "cronet_aml_components_cronet_android_buildflags__android_x86_64",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005268 cmd: "echo '--flags INTEGRATED_MODE=\"false\"' | " +
5269 "$(location build/write_buildflag_header.py) --output " +
5270 "$(out) " +
5271 "--rulename " +
5272 "//components/cronet/android:buildflags " +
5273 "--gen-dir " +
5274 ". " +
5275 "--definitions " +
5276 "/dev/stdin",
5277 out: [
5278 "components/cronet/android/buildflags.h",
5279 ],
5280 tool_files: [
5281 "build/write_buildflag_header.py",
5282 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005283 apex_available: [
5284 "com.android.tethering",
5285 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005286}
5287
5288// GN: //components/cronet/android:cronet
5289cc_library_shared {
5290 name: "cronet_aml_components_cronet_android_cronet",
5291 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +00005292 ":cronet_aml_buildtools_third_party_libc___libc__",
5293 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00005294 ":cronet_aml_components_cronet_android_cronet_static",
5295 ":cronet_aml_components_cronet_cronet_common",
5296 ":cronet_aml_components_cronet_metrics_util",
5297 ":cronet_aml_components_cronet_native_cronet_native_impl",
5298 ":cronet_aml_components_grpc_support_grpc_support",
5299 ":cronet_aml_components_metrics_library_support",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005300 "components/cronet/android/cronet_jni.cc",
5301 ],
5302 shared_libs: [
5303 "libandroid",
5304 "liblog",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005305 ],
5306 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08005307 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005308 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08005309 "cronet_aml_base_base_static",
5310 "cronet_aml_base_third_party_double_conversion_double_conversion",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005311 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
5312 "cronet_aml_components_prefs_prefs",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08005313 "cronet_aml_crypto_crypto",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005314 "cronet_aml_net_net",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08005315 "cronet_aml_net_preload_decoder",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08005316 "cronet_aml_net_third_party_quiche_quiche",
5317 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +09005318 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohra9c1dda2022-11-14 19:02:40 -08005319 "cronet_aml_third_party_brotli_common",
5320 "cronet_aml_third_party_brotli_dec",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08005321 "cronet_aml_third_party_icu_icui18n",
5322 "cronet_aml_third_party_icu_icuuc_private",
5323 "cronet_aml_third_party_libevent_libevent",
5324 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumi6ccc9d82022-11-16 18:05:45 +09005325 "cronet_aml_third_party_protobuf_protobuf_lite",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005326 "cronet_aml_third_party_zlib_zlib",
5327 "cronet_aml_url_url",
5328 ],
5329 generated_headers: [
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005330 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
Mohannad Farrag631443e2022-11-21 16:17:01 +00005331 ],
5332 export_generated_headers: [
5333 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005334 ],
5335 defaults: [
5336 "cronet_aml_defaults",
5337 ],
5338 cflags: [
5339 "-DANDROID",
5340 "-DANDROID_NDK_VERSION_ROLL=r23_1",
5341 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
5342 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
5343 "-DDCHECK_ALWAYS_ON=1",
5344 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
5345 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
5346 "-DGOOGLE_PROTOBUF_NO_RTTI",
5347 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
5348 "-DHAVE_PTHREAD",
5349 "-DHAVE_SYS_UIO_H",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005350 "-D_DEBUG",
5351 "-D_GNU_SOURCE",
5352 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005353 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
5354 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005355 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005356 "-D__STDC_CONSTANT_MACROS",
5357 "-D__STDC_FORMAT_MACROS",
5358 ],
5359 local_include_dirs: [
5360 "./",
5361 "buildtools/third_party/libc++/",
5362 "buildtools/third_party/libc++/trunk/include",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005363 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005364 "net/third_party/quiche/overrides/",
5365 "net/third_party/quiche/src/",
5366 "net/third_party/quiche/src/quiche/common/platform/default/",
5367 "third_party/abseil-cpp/",
5368 "third_party/boringssl/src/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +09005369 "third_party/protobuf/src/",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005370 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005371 cpp_std: "c++20",
Patrick Rohrd90025f2022-11-11 14:18:35 -08005372 linker_scripts: [
5373 "base/android/library_loader/anchor_functions.lds",
5374 ],
Motomu Utsumiee47af62022-11-30 16:41:15 +09005375 stem: "libcronet.109.0.5386.0",
Mohannad Farrag631443e2022-11-21 16:17:01 +00005376 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005377 android_arm: {
5378 generated_headers: [
5379 "cronet_aml_base_debugging_buildflags__android_arm",
5380 "cronet_aml_base_logging_buildflags__android_arm",
5381 "cronet_aml_build_chromeos_buildflags__android_arm",
5382 "cronet_aml_components_cronet_android_buildflags__android_arm",
5383 "cronet_aml_components_cronet_android_cronet_jni_headers__android_arm",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005384 "cronet_aml_components_cronet_android_cronet_jni_registration__android_arm",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005385 "cronet_aml_components_cronet_cronet_buildflags__android_arm",
5386 "cronet_aml_components_cronet_cronet_version_header_action__android_arm",
5387 "cronet_aml_url_buildflags__android_arm",
5388 ],
5389 export_generated_headers: [
5390 "cronet_aml_base_debugging_buildflags__android_arm",
5391 "cronet_aml_base_logging_buildflags__android_arm",
5392 "cronet_aml_build_chromeos_buildflags__android_arm",
5393 "cronet_aml_components_cronet_android_buildflags__android_arm",
5394 "cronet_aml_components_cronet_android_cronet_jni_headers__android_arm",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005395 "cronet_aml_components_cronet_android_cronet_jni_registration__android_arm",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005396 "cronet_aml_components_cronet_cronet_buildflags__android_arm",
5397 "cronet_aml_components_cronet_cronet_version_header_action__android_arm",
5398 "cronet_aml_url_buildflags__android_arm",
5399 ],
5400 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005401 android_arm64: {
5402 generated_headers: [
5403 "cronet_aml_base_debugging_buildflags__android_arm64",
5404 "cronet_aml_base_logging_buildflags__android_arm64",
5405 "cronet_aml_build_chromeos_buildflags__android_arm64",
5406 "cronet_aml_components_cronet_android_buildflags__android_arm64",
5407 "cronet_aml_components_cronet_android_cronet_jni_headers__android_arm64",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005408 "cronet_aml_components_cronet_android_cronet_jni_registration__android_arm64",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005409 "cronet_aml_components_cronet_cronet_buildflags__android_arm64",
5410 "cronet_aml_components_cronet_cronet_version_header_action__android_arm64",
5411 "cronet_aml_url_buildflags__android_arm64",
5412 ],
5413 export_generated_headers: [
5414 "cronet_aml_base_debugging_buildflags__android_arm64",
5415 "cronet_aml_base_logging_buildflags__android_arm64",
5416 "cronet_aml_build_chromeos_buildflags__android_arm64",
5417 "cronet_aml_components_cronet_android_buildflags__android_arm64",
5418 "cronet_aml_components_cronet_android_cronet_jni_headers__android_arm64",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005419 "cronet_aml_components_cronet_android_cronet_jni_registration__android_arm64",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005420 "cronet_aml_components_cronet_cronet_buildflags__android_arm64",
5421 "cronet_aml_components_cronet_cronet_version_header_action__android_arm64",
5422 "cronet_aml_url_buildflags__android_arm64",
5423 ],
5424 },
Mohannad Farrag631443e2022-11-21 16:17:01 +00005425 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005426 cflags: [
5427 "-msse3",
5428 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00005429 generated_headers: [
5430 "cronet_aml_base_debugging_buildflags__android_x86",
5431 "cronet_aml_base_logging_buildflags__android_x86",
5432 "cronet_aml_build_chromeos_buildflags__android_x86",
5433 "cronet_aml_components_cronet_android_buildflags__android_x86",
5434 "cronet_aml_components_cronet_android_cronet_jni_headers__android_x86",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005435 "cronet_aml_components_cronet_android_cronet_jni_registration__android_x86",
Mohannad Farrag631443e2022-11-21 16:17:01 +00005436 "cronet_aml_components_cronet_cronet_buildflags__android_x86",
5437 "cronet_aml_components_cronet_cronet_version_header_action__android_x86",
5438 "cronet_aml_url_buildflags__android_x86",
5439 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00005440 export_generated_headers: [
5441 "cronet_aml_base_debugging_buildflags__android_x86",
5442 "cronet_aml_base_logging_buildflags__android_x86",
5443 "cronet_aml_build_chromeos_buildflags__android_x86",
5444 "cronet_aml_components_cronet_android_buildflags__android_x86",
5445 "cronet_aml_components_cronet_android_cronet_jni_headers__android_x86",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005446 "cronet_aml_components_cronet_android_cronet_jni_registration__android_x86",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00005447 "cronet_aml_components_cronet_cronet_buildflags__android_x86",
5448 "cronet_aml_components_cronet_cronet_version_header_action__android_x86",
5449 "cronet_aml_url_buildflags__android_x86",
5450 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00005451 },
5452 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005453 cflags: [
5454 "-msse3",
5455 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00005456 generated_headers: [
5457 "cronet_aml_base_debugging_buildflags__android_x86_64",
5458 "cronet_aml_base_logging_buildflags__android_x86_64",
5459 "cronet_aml_build_chromeos_buildflags__android_x86_64",
5460 "cronet_aml_components_cronet_android_buildflags__android_x86_64",
5461 "cronet_aml_components_cronet_android_cronet_jni_headers__android_x86_64",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005462 "cronet_aml_components_cronet_android_cronet_jni_registration__android_x86_64",
Mohannad Farrag631443e2022-11-21 16:17:01 +00005463 "cronet_aml_components_cronet_cronet_buildflags__android_x86_64",
5464 "cronet_aml_components_cronet_cronet_version_header_action__android_x86_64",
5465 "cronet_aml_url_buildflags__android_x86_64",
5466 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00005467 export_generated_headers: [
5468 "cronet_aml_base_debugging_buildflags__android_x86_64",
5469 "cronet_aml_base_logging_buildflags__android_x86_64",
5470 "cronet_aml_build_chromeos_buildflags__android_x86_64",
5471 "cronet_aml_components_cronet_android_buildflags__android_x86_64",
5472 "cronet_aml_components_cronet_android_cronet_jni_headers__android_x86_64",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005473 "cronet_aml_components_cronet_android_cronet_jni_registration__android_x86_64",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00005474 "cronet_aml_components_cronet_cronet_buildflags__android_x86_64",
5475 "cronet_aml_components_cronet_cronet_version_header_action__android_x86_64",
5476 "cronet_aml_url_buildflags__android_x86_64",
5477 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00005478 },
5479 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005480}
5481
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005482// GN: //components/cronet/android:cronet_jni_headers__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005483cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005484 name: "cronet_aml_components_cronet_android_cronet_jni_headers__android_arm",
5485 srcs: [
5486 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
5487 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
5488 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
5489 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
5490 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
5491 ],
5492 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
5493 "long " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005494 "--output_dir " +
5495 "$(genDir)/components/cronet/android/cronet_jni_headers " +
5496 "--includes " +
5497 "base/android/jni_generator/jni_generator_helper.h " +
5498 "--use_proxy_hash " +
5499 "--output_name " +
5500 "CronetBidirectionalStream_jni.h " +
5501 "--output_name " +
5502 "CronetLibraryLoader_jni.h " +
5503 "--output_name " +
5504 "CronetUploadDataStream_jni.h " +
5505 "--output_name " +
5506 "CronetUrlRequest_jni.h " +
5507 "--output_name " +
5508 "CronetUrlRequestContext_jni.h " +
5509 "--input_file " +
5510 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
5511 "--input_file " +
5512 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
5513 "--input_file " +
5514 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
5515 "--input_file " +
5516 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
5517 "--input_file " +
5518 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)",
5519 out: [
5520 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
5521 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
5522 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
5523 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
5524 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
5525 ],
5526 tool_files: [
5527 "base/android/jni_generator/android_jar.classes",
5528 "base/android/jni_generator/jni_generator.py",
5529 "build/android/gyp/util/__init__.py",
5530 "build/android/gyp/util/build_utils.py",
5531 "build/gn_helpers.py",
5532 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005533 apex_available: [
5534 "com.android.tethering",
5535 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09005536}
5537
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005538// GN: //components/cronet/android:cronet_jni_headers__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005539cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005540 name: "cronet_aml_components_cronet_android_cronet_jni_headers__android_arm64",
5541 srcs: [
5542 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
5543 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
5544 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
5545 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
5546 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
5547 ],
5548 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
5549 "long " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005550 "--output_dir " +
5551 "$(genDir)/components/cronet/android/cronet_jni_headers " +
5552 "--includes " +
5553 "base/android/jni_generator/jni_generator_helper.h " +
5554 "--use_proxy_hash " +
5555 "--output_name " +
5556 "CronetBidirectionalStream_jni.h " +
5557 "--output_name " +
5558 "CronetLibraryLoader_jni.h " +
5559 "--output_name " +
5560 "CronetUploadDataStream_jni.h " +
5561 "--output_name " +
5562 "CronetUrlRequest_jni.h " +
5563 "--output_name " +
5564 "CronetUrlRequestContext_jni.h " +
5565 "--input_file " +
5566 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
5567 "--input_file " +
5568 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
5569 "--input_file " +
5570 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
5571 "--input_file " +
5572 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
5573 "--input_file " +
5574 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)",
5575 out: [
5576 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
5577 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
5578 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
5579 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
5580 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
5581 ],
5582 tool_files: [
5583 "base/android/jni_generator/android_jar.classes",
5584 "base/android/jni_generator/jni_generator.py",
5585 "build/android/gyp/util/__init__.py",
5586 "build/android/gyp/util/build_utils.py",
5587 "build/gn_helpers.py",
5588 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005589 apex_available: [
5590 "com.android.tethering",
5591 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09005592}
5593
Patrick Rohr98600682022-11-18 18:29:15 -08005594// GN: //components/cronet/android:cronet_jni_headers__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005595cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08005596 name: "cronet_aml_components_cronet_android_cronet_jni_headers__android_x86",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005597 srcs: [
5598 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
5599 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
5600 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
5601 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
5602 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
5603 ],
5604 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
5605 "long " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005606 "--output_dir " +
5607 "$(genDir)/components/cronet/android/cronet_jni_headers " +
5608 "--includes " +
5609 "base/android/jni_generator/jni_generator_helper.h " +
5610 "--use_proxy_hash " +
5611 "--output_name " +
5612 "CronetBidirectionalStream_jni.h " +
5613 "--output_name " +
5614 "CronetLibraryLoader_jni.h " +
5615 "--output_name " +
5616 "CronetUploadDataStream_jni.h " +
5617 "--output_name " +
5618 "CronetUrlRequest_jni.h " +
5619 "--output_name " +
5620 "CronetUrlRequestContext_jni.h " +
5621 "--input_file " +
5622 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
5623 "--input_file " +
5624 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
5625 "--input_file " +
5626 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
5627 "--input_file " +
5628 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
5629 "--input_file " +
5630 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)",
5631 out: [
5632 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
5633 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
5634 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
5635 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
5636 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
5637 ],
5638 tool_files: [
5639 "base/android/jni_generator/android_jar.classes",
5640 "base/android/jni_generator/jni_generator.py",
5641 "build/android/gyp/util/__init__.py",
5642 "build/android/gyp/util/build_utils.py",
5643 "build/gn_helpers.py",
5644 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005645 apex_available: [
5646 "com.android.tethering",
5647 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09005648}
5649
Patrick Rohr98600682022-11-18 18:29:15 -08005650// GN: //components/cronet/android:cronet_jni_headers__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005651cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08005652 name: "cronet_aml_components_cronet_android_cronet_jni_headers__android_x86_64",
Motomu Utsumie3ce7702022-11-10 16:22:11 +09005653 srcs: [
Patrick Rohr98600682022-11-18 18:29:15 -08005654 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
5655 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
5656 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
Motomu Utsumi79bd0c82022-11-10 17:52:24 +09005657 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
Patrick Rohr98600682022-11-18 18:29:15 -08005658 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
5659 ],
5660 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
5661 "long " +
Patrick Rohr98600682022-11-18 18:29:15 -08005662 "--output_dir " +
5663 "$(genDir)/components/cronet/android/cronet_jni_headers " +
5664 "--includes " +
5665 "base/android/jni_generator/jni_generator_helper.h " +
5666 "--use_proxy_hash " +
5667 "--output_name " +
5668 "CronetBidirectionalStream_jni.h " +
5669 "--output_name " +
5670 "CronetLibraryLoader_jni.h " +
5671 "--output_name " +
5672 "CronetUploadDataStream_jni.h " +
5673 "--output_name " +
5674 "CronetUrlRequest_jni.h " +
5675 "--output_name " +
5676 "CronetUrlRequestContext_jni.h " +
5677 "--input_file " +
5678 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java) " +
5679 "--input_file " +
5680 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java) " +
5681 "--input_file " +
5682 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java) " +
5683 "--input_file " +
5684 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java) " +
5685 "--input_file " +
5686 "$(location components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java)",
5687 out: [
5688 "components/cronet/android/cronet_jni_headers/CronetBidirectionalStream_jni.h",
5689 "components/cronet/android/cronet_jni_headers/CronetLibraryLoader_jni.h",
5690 "components/cronet/android/cronet_jni_headers/CronetUploadDataStream_jni.h",
5691 "components/cronet/android/cronet_jni_headers/CronetUrlRequestContext_jni.h",
5692 "components/cronet/android/cronet_jni_headers/CronetUrlRequest_jni.h",
5693 ],
5694 tool_files: [
5695 "base/android/jni_generator/android_jar.classes",
5696 "base/android/jni_generator/jni_generator.py",
5697 "build/android/gyp/util/__init__.py",
5698 "build/android/gyp/util/build_utils.py",
5699 "build/gn_helpers.py",
5700 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09005701 apex_available: [
5702 "com.android.tethering",
5703 ],
Patrick Rohr98600682022-11-18 18:29:15 -08005704}
5705
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005706// GN: //components/cronet/android:cronet_jni_registration__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00005707cc_genrule {
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005708 name: "cronet_aml_components_cronet_android_cronet_jni_registration__android_arm",
5709 srcs: [
5710 "base/android/java/src/org/chromium/base/ActivityState.java",
5711 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
5712 "base/android/java/src/org/chromium/base/ApkAssets.java",
5713 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
5714 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
5715 "base/android/java/src/org/chromium/base/BuildInfo.java",
5716 "base/android/java/src/org/chromium/base/BundleUtils.java",
5717 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
5718 "base/android/java/src/org/chromium/base/Callback.java",
5719 "base/android/java/src/org/chromium/base/CallbackController.java",
5720 "base/android/java/src/org/chromium/base/CollectionUtil.java",
5721 "base/android/java/src/org/chromium/base/CommandLine.java",
5722 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
5723 "base/android/java/src/org/chromium/base/Consumer.java",
5724 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
5725 "base/android/java/src/org/chromium/base/ContextUtils.java",
5726 "base/android/java/src/org/chromium/base/CpuFeatures.java",
5727 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
5728 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
5729 "base/android/java/src/org/chromium/base/EventLog.java",
5730 "base/android/java/src/org/chromium/base/FeatureList.java",
5731 "base/android/java/src/org/chromium/base/Features.java",
5732 "base/android/java/src/org/chromium/base/FieldTrialList.java",
5733 "base/android/java/src/org/chromium/base/FileUtils.java",
5734 "base/android/java/src/org/chromium/base/Function.java",
5735 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
5736 "base/android/java/src/org/chromium/base/IntStringCallback.java",
5737 "base/android/java/src/org/chromium/base/IntentUtils.java",
5738 "base/android/java/src/org/chromium/base/JNIUtils.java",
5739 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
5740 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
5741 "base/android/java/src/org/chromium/base/JniException.java",
5742 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
5743 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
5744 "base/android/java/src/org/chromium/base/LocaleUtils.java",
5745 "base/android/java/src/org/chromium/base/Log.java",
5746 "base/android/java/src/org/chromium/base/MathUtils.java",
5747 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
5748 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
5749 "base/android/java/src/org/chromium/base/ObserverList.java",
5750 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
5751 "base/android/java/src/org/chromium/base/PackageUtils.java",
5752 "base/android/java/src/org/chromium/base/PathService.java",
5753 "base/android/java/src/org/chromium/base/PathUtils.java",
5754 "base/android/java/src/org/chromium/base/PiiElider.java",
5755 "base/android/java/src/org/chromium/base/PowerMonitor.java",
5756 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
5757 "base/android/java/src/org/chromium/base/Predicate.java",
5758 "base/android/java/src/org/chromium/base/Promise.java",
5759 "base/android/java/src/org/chromium/base/RadioUtils.java",
5760 "base/android/java/src/org/chromium/base/StreamUtil.java",
5761 "base/android/java/src/org/chromium/base/StrictModeContext.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08005762 "base/android/java/src/org/chromium/base/SysUtils.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005763 "base/android/java/src/org/chromium/base/ThreadUtils.java",
5764 "base/android/java/src/org/chromium/base/TimeUtils.java",
5765 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
5766 "base/android/java/src/org/chromium/base/TraceEvent.java",
5767 "base/android/java/src/org/chromium/base/UnguessableToken.java",
5768 "base/android/java/src/org/chromium/base/UnownedUserData.java",
5769 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
5770 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
5771 "base/android/java/src/org/chromium/base/UserData.java",
5772 "base/android/java/src/org/chromium/base/UserDataHost.java",
5773 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
5774 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
5775 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
5776 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
5777 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
5778 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
5779 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
5780 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
5781 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
5782 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
5783 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
5784 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
5785 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
5786 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
5787 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
5788 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
5789 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
5790 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
5791 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
5792 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
5793 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
5794 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
5795 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
5796 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
5797 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
5798 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
5799 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
5800 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
5801 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
5802 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
5803 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
5804 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08005805 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
5806 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005807 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
5808 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
5809 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
5810 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
5811 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
5812 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
5813 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
5814 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
5815 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
5816 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
5817 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
5818 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
5819 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
5820 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
5821 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
5822 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
5823 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
5824 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
5825 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
5826 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
5827 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
5828 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
5829 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
5830 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
5831 "base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java",
5832 "base/android/java/src/org/chromium/base/process_launcher/BindService.java",
5833 "base/android/java/src/org/chromium/base/process_launcher/ChildConnectionAllocator.java",
5834 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConnection.java",
5835 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConstants.java",
5836 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessLauncher.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08005837 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08005838 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessServiceDelegate.java",
5839 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnection.java",
5840 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionDelegate.java",
5841 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionFactory.java",
5842 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionImpl.java",
5843 "base/android/java/src/org/chromium/base/process_launcher/FileDescriptorInfo.java",
5844 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
5845 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
5846 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
5847 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
5848 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
5849 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
5850 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
5851 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
5852 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
5853 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
5854 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
5855 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
5856 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
5857 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
5858 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
5859 "base/android/java/src/org/chromium/base/task/PostTask.java",
5860 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
5861 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
5862 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
5863 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
5864 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
5865 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
5866 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
5867 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
5868 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
5869 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
5870 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
5871 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
5872 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
5873 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
5874 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
5875 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
5876 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
5877 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
5878 "components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java",
5879 "components/cronet/android/api/src/org/chromium/net/CallbackException.java",
5880 "components/cronet/android/api/src/org/chromium/net/CronetEngine.java",
5881 "components/cronet/android/api/src/org/chromium/net/CronetException.java",
5882 "components/cronet/android/api/src/org/chromium/net/CronetProvider.java",
5883 "components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java",
5884 "components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java",
5885 "components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java",
5886 "components/cronet/android/api/src/org/chromium/net/ICronetEngineBuilder.java",
5887 "components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java",
5888 "components/cronet/android/api/src/org/chromium/net/NetworkException.java",
5889 "components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java",
5890 "components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java",
5891 "components/cronet/android/api/src/org/chromium/net/QuicException.java",
5892 "components/cronet/android/api/src/org/chromium/net/RequestFinishedInfo.java",
5893 "components/cronet/android/api/src/org/chromium/net/UploadDataProvider.java",
5894 "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
5895 "components/cronet/android/api/src/org/chromium/net/UploadDataSink.java",
5896 "components/cronet/android/api/src/org/chromium/net/UrlRequest.java",
5897 "components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java",
5898 "components/cronet/android/api/src/org/chromium/net/apihelpers/ByteArrayCronetCallback.java",
5899 "components/cronet/android/api/src/org/chromium/net/apihelpers/ContentTypeParametersParser.java",
5900 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetRequestCompletionListener.java",
5901 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetResponse.java",
5902 "components/cronet/android/api/src/org/chromium/net/apihelpers/ImplicitFlowControlCallback.java",
5903 "components/cronet/android/api/src/org/chromium/net/apihelpers/InMemoryTransformCronetCallback.java",
5904 "components/cronet/android/api/src/org/chromium/net/apihelpers/JsonCronetCallback.java",
5905 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandler.java",
5906 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandlers.java",
5907 "components/cronet/android/api/src/org/chromium/net/apihelpers/StringCronetCallback.java",
5908 "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
5909 "components/cronet/android/api/src/org/chromium/net/apihelpers/UrlRequestCallbacks.java",
5910 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetController.java",
5911 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetEngine.java",
5912 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetProvider.java",
5913 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlRequest.java",
5914 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlResponse.java",
5915 "components/cronet/android/fake/java/org/chromium/net/test/ResponseMatcher.java",
5916 "components/cronet/android/fake/java/org/chromium/net/test/UrlResponseMatcher.java",
5917 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
5918 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
5919 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
5920 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
5921 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
5922 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
5923 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
5924 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
5925 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
5926 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
5927 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
5928 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
5929 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
5930 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
5931 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
5932 "components/cronet/android/java/src/org/chromium/net/impl/InputStreamChannel.java",
5933 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java",
5934 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngineBuilderImpl.java",
5935 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetProvider.java",
5936 "components/cronet/android/java/src/org/chromium/net/impl/JavaUploadDataSinkBase.java",
5937 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequest.java",
5938 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequestUtils.java",
5939 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
5940 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderWithLibraryLoaderImpl.java",
5941 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetProvider.java",
5942 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
5943 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
5944 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
5945 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
5946 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
5947 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
5948 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
5949 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
5950 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
5951 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
5952 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
5953 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
5954 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
5955 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
5956 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
5957 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
5958 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
5959 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
5960 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
5961 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
5962 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
5963 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
5964 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
5965 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
5966 "net/android/java/src/org/chromium/net/DnsStatus.java",
5967 "net/android/java/src/org/chromium/net/GURLUtils.java",
5968 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
5969 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
5970 "net/android/java/src/org/chromium/net/HttpUtil.java",
5971 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
5972 "net/android/java/src/org/chromium/net/NetStringUtil.java",
5973 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
5974 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
5975 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
5976 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
5977 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
5978 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
5979 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
5980 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
5981 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
5982 "net/android/java/src/org/chromium/net/X509Util.java",
5983 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
5984 ],
5985 cmd: "current_dir=`basename \\`pwd\\``; " +
5986 "for f in $(in); " +
5987 "do " +
5988 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
5989 "done; " +
5990 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
5991 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
5992 "--depfile " +
5993 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
5994 "--sources-files " +
5995 "$(genDir)/java.sources " +
5996 "--include_test_only " +
5997 "--use_proxy_hash " +
5998 "--header-path " +
5999 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
6000 "--manual_jni_registration " +
6001 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
6002 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
6003 out: [
6004 "components/cronet/android/cronet_jni_registration.h",
6005 "components/cronet/android/cronet_jni_registration.srcjar",
6006 ],
6007 tool_files: [
6008 "base/android/jni_generator/jni_generator.py",
6009 "base/android/jni_generator/jni_registration_generator.py",
6010 "build/android/gyp/util/__init__.py",
6011 "build/android/gyp/util/build_utils.py",
6012 "build/gn_helpers.py",
6013 ],
6014 apex_available: [
6015 "com.android.tethering",
6016 ],
6017}
6018
6019// GN: //components/cronet/android:cronet_jni_registration__android_arm64
6020cc_genrule {
6021 name: "cronet_aml_components_cronet_android_cronet_jni_registration__android_arm64",
6022 srcs: [
6023 "base/android/java/src/org/chromium/base/ActivityState.java",
6024 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
6025 "base/android/java/src/org/chromium/base/ApkAssets.java",
6026 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
6027 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
6028 "base/android/java/src/org/chromium/base/BuildInfo.java",
6029 "base/android/java/src/org/chromium/base/BundleUtils.java",
6030 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
6031 "base/android/java/src/org/chromium/base/Callback.java",
6032 "base/android/java/src/org/chromium/base/CallbackController.java",
6033 "base/android/java/src/org/chromium/base/CollectionUtil.java",
6034 "base/android/java/src/org/chromium/base/CommandLine.java",
6035 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
6036 "base/android/java/src/org/chromium/base/Consumer.java",
6037 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
6038 "base/android/java/src/org/chromium/base/ContextUtils.java",
6039 "base/android/java/src/org/chromium/base/CpuFeatures.java",
6040 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
6041 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
6042 "base/android/java/src/org/chromium/base/EventLog.java",
6043 "base/android/java/src/org/chromium/base/FeatureList.java",
6044 "base/android/java/src/org/chromium/base/Features.java",
6045 "base/android/java/src/org/chromium/base/FieldTrialList.java",
6046 "base/android/java/src/org/chromium/base/FileUtils.java",
6047 "base/android/java/src/org/chromium/base/Function.java",
6048 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
6049 "base/android/java/src/org/chromium/base/IntStringCallback.java",
6050 "base/android/java/src/org/chromium/base/IntentUtils.java",
6051 "base/android/java/src/org/chromium/base/JNIUtils.java",
6052 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
6053 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
6054 "base/android/java/src/org/chromium/base/JniException.java",
6055 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
6056 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
6057 "base/android/java/src/org/chromium/base/LocaleUtils.java",
6058 "base/android/java/src/org/chromium/base/Log.java",
6059 "base/android/java/src/org/chromium/base/MathUtils.java",
6060 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
6061 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
6062 "base/android/java/src/org/chromium/base/ObserverList.java",
6063 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
6064 "base/android/java/src/org/chromium/base/PackageUtils.java",
6065 "base/android/java/src/org/chromium/base/PathService.java",
6066 "base/android/java/src/org/chromium/base/PathUtils.java",
6067 "base/android/java/src/org/chromium/base/PiiElider.java",
6068 "base/android/java/src/org/chromium/base/PowerMonitor.java",
6069 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
6070 "base/android/java/src/org/chromium/base/Predicate.java",
6071 "base/android/java/src/org/chromium/base/Promise.java",
6072 "base/android/java/src/org/chromium/base/RadioUtils.java",
6073 "base/android/java/src/org/chromium/base/StreamUtil.java",
6074 "base/android/java/src/org/chromium/base/StrictModeContext.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08006075 "base/android/java/src/org/chromium/base/SysUtils.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08006076 "base/android/java/src/org/chromium/base/ThreadUtils.java",
6077 "base/android/java/src/org/chromium/base/TimeUtils.java",
6078 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
6079 "base/android/java/src/org/chromium/base/TraceEvent.java",
6080 "base/android/java/src/org/chromium/base/UnguessableToken.java",
6081 "base/android/java/src/org/chromium/base/UnownedUserData.java",
6082 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
6083 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
6084 "base/android/java/src/org/chromium/base/UserData.java",
6085 "base/android/java/src/org/chromium/base/UserDataHost.java",
6086 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
6087 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
6088 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
6089 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
6090 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
6091 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
6092 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
6093 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
6094 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
6095 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
6096 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
6097 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
6098 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
6099 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
6100 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
6101 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
6102 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
6103 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
6104 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
6105 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
6106 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
6107 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
6108 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
6109 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
6110 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
6111 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
6112 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
6113 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
6114 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
6115 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
6116 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
6117 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08006118 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
6119 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08006120 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
6121 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
6122 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
6123 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
6124 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
6125 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
6126 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
6127 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
6128 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
6129 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
6130 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
6131 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
6132 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
6133 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
6134 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
6135 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
6136 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
6137 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
6138 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
6139 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
6140 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
6141 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
6142 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
6143 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
6144 "base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java",
6145 "base/android/java/src/org/chromium/base/process_launcher/BindService.java",
6146 "base/android/java/src/org/chromium/base/process_launcher/ChildConnectionAllocator.java",
6147 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConnection.java",
6148 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConstants.java",
6149 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessLauncher.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08006150 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08006151 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessServiceDelegate.java",
6152 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnection.java",
6153 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionDelegate.java",
6154 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionFactory.java",
6155 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionImpl.java",
6156 "base/android/java/src/org/chromium/base/process_launcher/FileDescriptorInfo.java",
6157 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
6158 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
6159 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
6160 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
6161 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
6162 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
6163 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
6164 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
6165 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
6166 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
6167 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
6168 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
6169 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
6170 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
6171 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
6172 "base/android/java/src/org/chromium/base/task/PostTask.java",
6173 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
6174 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
6175 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
6176 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
6177 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
6178 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
6179 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
6180 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
6181 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
6182 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
6183 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
6184 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
6185 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
6186 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
6187 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
6188 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
6189 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
6190 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
6191 "components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java",
6192 "components/cronet/android/api/src/org/chromium/net/CallbackException.java",
6193 "components/cronet/android/api/src/org/chromium/net/CronetEngine.java",
6194 "components/cronet/android/api/src/org/chromium/net/CronetException.java",
6195 "components/cronet/android/api/src/org/chromium/net/CronetProvider.java",
6196 "components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java",
6197 "components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java",
6198 "components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java",
6199 "components/cronet/android/api/src/org/chromium/net/ICronetEngineBuilder.java",
6200 "components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java",
6201 "components/cronet/android/api/src/org/chromium/net/NetworkException.java",
6202 "components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java",
6203 "components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java",
6204 "components/cronet/android/api/src/org/chromium/net/QuicException.java",
6205 "components/cronet/android/api/src/org/chromium/net/RequestFinishedInfo.java",
6206 "components/cronet/android/api/src/org/chromium/net/UploadDataProvider.java",
6207 "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
6208 "components/cronet/android/api/src/org/chromium/net/UploadDataSink.java",
6209 "components/cronet/android/api/src/org/chromium/net/UrlRequest.java",
6210 "components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java",
6211 "components/cronet/android/api/src/org/chromium/net/apihelpers/ByteArrayCronetCallback.java",
6212 "components/cronet/android/api/src/org/chromium/net/apihelpers/ContentTypeParametersParser.java",
6213 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetRequestCompletionListener.java",
6214 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetResponse.java",
6215 "components/cronet/android/api/src/org/chromium/net/apihelpers/ImplicitFlowControlCallback.java",
6216 "components/cronet/android/api/src/org/chromium/net/apihelpers/InMemoryTransformCronetCallback.java",
6217 "components/cronet/android/api/src/org/chromium/net/apihelpers/JsonCronetCallback.java",
6218 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandler.java",
6219 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandlers.java",
6220 "components/cronet/android/api/src/org/chromium/net/apihelpers/StringCronetCallback.java",
6221 "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
6222 "components/cronet/android/api/src/org/chromium/net/apihelpers/UrlRequestCallbacks.java",
6223 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetController.java",
6224 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetEngine.java",
6225 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetProvider.java",
6226 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlRequest.java",
6227 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlResponse.java",
6228 "components/cronet/android/fake/java/org/chromium/net/test/ResponseMatcher.java",
6229 "components/cronet/android/fake/java/org/chromium/net/test/UrlResponseMatcher.java",
6230 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
6231 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
6232 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
6233 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
6234 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
6235 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
6236 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
6237 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
6238 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
6239 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
6240 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
6241 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
6242 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
6243 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
6244 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
6245 "components/cronet/android/java/src/org/chromium/net/impl/InputStreamChannel.java",
6246 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java",
6247 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngineBuilderImpl.java",
6248 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetProvider.java",
6249 "components/cronet/android/java/src/org/chromium/net/impl/JavaUploadDataSinkBase.java",
6250 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequest.java",
6251 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequestUtils.java",
6252 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
6253 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderWithLibraryLoaderImpl.java",
6254 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetProvider.java",
6255 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
6256 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
6257 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
6258 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
6259 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
6260 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
6261 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
6262 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
6263 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
6264 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
6265 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
6266 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
6267 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
6268 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
6269 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
6270 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
6271 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
6272 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
6273 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
6274 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
6275 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
6276 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
6277 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
6278 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
6279 "net/android/java/src/org/chromium/net/DnsStatus.java",
6280 "net/android/java/src/org/chromium/net/GURLUtils.java",
6281 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
6282 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
6283 "net/android/java/src/org/chromium/net/HttpUtil.java",
6284 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
6285 "net/android/java/src/org/chromium/net/NetStringUtil.java",
6286 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
6287 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
6288 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
6289 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
6290 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
6291 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
6292 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
6293 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
6294 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
6295 "net/android/java/src/org/chromium/net/X509Util.java",
6296 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
6297 ],
6298 cmd: "current_dir=`basename \\`pwd\\``; " +
6299 "for f in $(in); " +
6300 "do " +
6301 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
6302 "done; " +
6303 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
6304 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
6305 "--depfile " +
6306 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
6307 "--sources-files " +
6308 "$(genDir)/java.sources " +
6309 "--include_test_only " +
6310 "--use_proxy_hash " +
6311 "--header-path " +
6312 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
6313 "--manual_jni_registration " +
6314 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
6315 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
6316 out: [
6317 "components/cronet/android/cronet_jni_registration.h",
6318 "components/cronet/android/cronet_jni_registration.srcjar",
6319 ],
6320 tool_files: [
6321 "base/android/jni_generator/jni_generator.py",
6322 "base/android/jni_generator/jni_registration_generator.py",
6323 "build/android/gyp/util/__init__.py",
6324 "build/android/gyp/util/build_utils.py",
6325 "build/gn_helpers.py",
6326 ],
6327 apex_available: [
6328 "com.android.tethering",
6329 ],
6330}
6331
6332// GN: //components/cronet/android:cronet_jni_registration__android_x86
6333cc_genrule {
6334 name: "cronet_aml_components_cronet_android_cronet_jni_registration__android_x86",
6335 srcs: [
6336 "base/android/java/src/org/chromium/base/ActivityState.java",
6337 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
6338 "base/android/java/src/org/chromium/base/ApkAssets.java",
6339 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
6340 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
6341 "base/android/java/src/org/chromium/base/BuildInfo.java",
6342 "base/android/java/src/org/chromium/base/BundleUtils.java",
6343 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
6344 "base/android/java/src/org/chromium/base/Callback.java",
6345 "base/android/java/src/org/chromium/base/CallbackController.java",
6346 "base/android/java/src/org/chromium/base/CollectionUtil.java",
6347 "base/android/java/src/org/chromium/base/CommandLine.java",
6348 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
6349 "base/android/java/src/org/chromium/base/Consumer.java",
6350 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
6351 "base/android/java/src/org/chromium/base/ContextUtils.java",
6352 "base/android/java/src/org/chromium/base/CpuFeatures.java",
6353 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
6354 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
6355 "base/android/java/src/org/chromium/base/EventLog.java",
6356 "base/android/java/src/org/chromium/base/FeatureList.java",
6357 "base/android/java/src/org/chromium/base/Features.java",
6358 "base/android/java/src/org/chromium/base/FieldTrialList.java",
6359 "base/android/java/src/org/chromium/base/FileUtils.java",
6360 "base/android/java/src/org/chromium/base/Function.java",
6361 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
6362 "base/android/java/src/org/chromium/base/IntStringCallback.java",
6363 "base/android/java/src/org/chromium/base/IntentUtils.java",
6364 "base/android/java/src/org/chromium/base/JNIUtils.java",
6365 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
6366 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
6367 "base/android/java/src/org/chromium/base/JniException.java",
6368 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
6369 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
6370 "base/android/java/src/org/chromium/base/LocaleUtils.java",
6371 "base/android/java/src/org/chromium/base/Log.java",
6372 "base/android/java/src/org/chromium/base/MathUtils.java",
6373 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
6374 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
6375 "base/android/java/src/org/chromium/base/ObserverList.java",
6376 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
6377 "base/android/java/src/org/chromium/base/PackageUtils.java",
6378 "base/android/java/src/org/chromium/base/PathService.java",
6379 "base/android/java/src/org/chromium/base/PathUtils.java",
6380 "base/android/java/src/org/chromium/base/PiiElider.java",
6381 "base/android/java/src/org/chromium/base/PowerMonitor.java",
6382 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
6383 "base/android/java/src/org/chromium/base/Predicate.java",
6384 "base/android/java/src/org/chromium/base/Promise.java",
6385 "base/android/java/src/org/chromium/base/RadioUtils.java",
6386 "base/android/java/src/org/chromium/base/StreamUtil.java",
6387 "base/android/java/src/org/chromium/base/StrictModeContext.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08006388 "base/android/java/src/org/chromium/base/SysUtils.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08006389 "base/android/java/src/org/chromium/base/ThreadUtils.java",
6390 "base/android/java/src/org/chromium/base/TimeUtils.java",
6391 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
6392 "base/android/java/src/org/chromium/base/TraceEvent.java",
6393 "base/android/java/src/org/chromium/base/UnguessableToken.java",
6394 "base/android/java/src/org/chromium/base/UnownedUserData.java",
6395 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
6396 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
6397 "base/android/java/src/org/chromium/base/UserData.java",
6398 "base/android/java/src/org/chromium/base/UserDataHost.java",
6399 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
6400 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
6401 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
6402 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
6403 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
6404 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
6405 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
6406 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
6407 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
6408 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
6409 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
6410 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
6411 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
6412 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
6413 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
6414 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
6415 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
6416 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
6417 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
6418 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
6419 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
6420 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
6421 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
6422 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
6423 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
6424 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
6425 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
6426 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
6427 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
6428 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
6429 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
6430 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08006431 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
6432 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08006433 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
6434 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
6435 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
6436 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
6437 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
6438 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
6439 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
6440 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
6441 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
6442 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
6443 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
6444 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
6445 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
6446 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
6447 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
6448 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
6449 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
6450 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
6451 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
6452 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
6453 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
6454 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
6455 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
6456 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
6457 "base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java",
6458 "base/android/java/src/org/chromium/base/process_launcher/BindService.java",
6459 "base/android/java/src/org/chromium/base/process_launcher/ChildConnectionAllocator.java",
6460 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConnection.java",
6461 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConstants.java",
6462 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessLauncher.java",
Patrick Rohrdd98f5b2022-12-14 15:02:50 -08006463 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08006464 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessServiceDelegate.java",
6465 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnection.java",
6466 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionDelegate.java",
6467 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionFactory.java",
6468 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionImpl.java",
6469 "base/android/java/src/org/chromium/base/process_launcher/FileDescriptorInfo.java",
6470 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
6471 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
6472 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
6473 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
6474 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
6475 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
6476 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
6477 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
6478 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
6479 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
6480 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
6481 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
6482 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
6483 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
6484 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
6485 "base/android/java/src/org/chromium/base/task/PostTask.java",
6486 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
6487 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
6488 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
6489 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
6490 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
6491 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
6492 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
6493 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
6494 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
6495 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
6496 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
6497 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
6498 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
6499 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
6500 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
6501 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
6502 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
6503 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
6504 "components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java",
6505 "components/cronet/android/api/src/org/chromium/net/CallbackException.java",
6506 "components/cronet/android/api/src/org/chromium/net/CronetEngine.java",
6507 "components/cronet/android/api/src/org/chromium/net/CronetException.java",
6508 "components/cronet/android/api/src/org/chromium/net/CronetProvider.java",
6509 "components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java",
6510 "components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java",
6511 "components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java",
6512 "components/cronet/android/api/src/org/chromium/net/ICronetEngineBuilder.java",
6513 "components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java",
6514 "components/cronet/android/api/src/org/chromium/net/NetworkException.java",
6515 "components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java",
6516 "components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java",
6517 "components/cronet/android/api/src/org/chromium/net/QuicException.java",
6518 "components/cronet/android/api/src/org/chromium/net/RequestFinishedInfo.java",
6519 "components/cronet/android/api/src/org/chromium/net/UploadDataProvider.java",
6520 "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
6521 "components/cronet/android/api/src/org/chromium/net/UploadDataSink.java",
6522 "components/cronet/android/api/src/org/chromium/net/UrlRequest.java",
6523 "components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java",
6524 "components/cronet/android/api/src/org/chromium/net/apihelpers/ByteArrayCronetCallback.java",
6525 "components/cronet/android/api/src/org/chromium/net/apihelpers/ContentTypeParametersParser.java",
6526 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetRequestCompletionListener.java",
6527 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetResponse.java",
6528 "components/cronet/android/api/src/org/chromium/net/apihelpers/ImplicitFlowControlCallback.java",
6529 "components/cronet/android/api/src/org/chromium/net/apihelpers/InMemoryTransformCronetCallback.java",
6530 "components/cronet/android/api/src/org/chromium/net/apihelpers/JsonCronetCallback.java",
6531 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandler.java",
6532 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandlers.java",
6533 "components/cronet/android/api/src/org/chromium/net/apihelpers/StringCronetCallback.java",
6534 "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
6535 "components/cronet/android/api/src/org/chromium/net/apihelpers/UrlRequestCallbacks.java",
6536 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetController.java",
6537 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetEngine.java",
6538 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetProvider.java",
6539 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlRequest.java",
6540 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlResponse.java",
6541 "components/cronet/android/fake/java/org/chromium/net/test/ResponseMatcher.java",
6542 "components/cronet/android/fake/java/org/chromium/net/test/UrlResponseMatcher.java",
6543 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
6544 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
6545 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
6546 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
6547 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
6548 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
6549 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
6550 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
6551 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
6552 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
6553 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
6554 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
6555 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
6556 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
6557 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
6558 "components/cronet/android/java/src/org/chromium/net/impl/InputStreamChannel.java",
6559 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java",
6560 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngineBuilderImpl.java",
6561 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetProvider.java",
6562 "components/cronet/android/java/src/org/chromium/net/impl/JavaUploadDataSinkBase.java",
6563 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequest.java",
6564 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequestUtils.java",
6565 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
6566 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderWithLibraryLoaderImpl.java",
6567 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetProvider.java",
6568 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
6569 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
6570 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
6571 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
6572 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
6573 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
6574 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
6575 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
6576 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
6577 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
6578 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
6579 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
6580 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
6581 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
6582 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
6583 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
6584 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
6585 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
6586 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
6587 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
6588 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
6589 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
6590 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
6591 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
6592 "net/android/java/src/org/chromium/net/DnsStatus.java",
6593 "net/android/java/src/org/chromium/net/GURLUtils.java",
6594 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
6595 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
6596 "net/android/java/src/org/chromium/net/HttpUtil.java",
6597 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
6598 "net/android/java/src/org/chromium/net/NetStringUtil.java",
6599 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
6600 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
6601 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
6602 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
6603 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
6604 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
6605 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
6606 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
6607 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
6608 "net/android/java/src/org/chromium/net/X509Util.java",
6609 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
6610 ],
6611 cmd: "current_dir=`basename \\`pwd\\``; " +
6612 "for f in $(in); " +
6613 "do " +
6614 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
6615 "done; " +
6616 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
6617 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
6618 "--depfile " +
6619 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
6620 "--sources-files " +
6621 "$(genDir)/java.sources " +
6622 "--include_test_only " +
6623 "--use_proxy_hash " +
6624 "--header-path " +
6625 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
6626 "--manual_jni_registration " +
6627 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
6628 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
6629 out: [
6630 "components/cronet/android/cronet_jni_registration.h",
6631 "components/cronet/android/cronet_jni_registration.srcjar",
6632 ],
6633 tool_files: [
6634 "base/android/jni_generator/jni_generator.py",
6635 "base/android/jni_generator/jni_registration_generator.py",
6636 "build/android/gyp/util/__init__.py",
6637 "build/android/gyp/util/build_utils.py",
6638 "build/gn_helpers.py",
6639 ],
6640 apex_available: [
6641 "com.android.tethering",
6642 ],
6643}
6644
6645// GN: //components/cronet/android:cronet_jni_registration__android_x86_64
6646cc_genrule {
6647 name: "cronet_aml_components_cronet_android_cronet_jni_registration__android_x86_64",
Patrick Rohr98600682022-11-18 18:29:15 -08006648 srcs: [
Mohannad Farraga23114a2022-11-22 17:47:51 +00006649 "base/android/java/src/org/chromium/base/ActivityState.java",
6650 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
6651 "base/android/java/src/org/chromium/base/ApkAssets.java",
6652 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
6653 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
6654 "base/android/java/src/org/chromium/base/BuildInfo.java",
6655 "base/android/java/src/org/chromium/base/BundleUtils.java",
6656 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
6657 "base/android/java/src/org/chromium/base/Callback.java",
6658 "base/android/java/src/org/chromium/base/CallbackController.java",
6659 "base/android/java/src/org/chromium/base/CollectionUtil.java",
6660 "base/android/java/src/org/chromium/base/CommandLine.java",
6661 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
6662 "base/android/java/src/org/chromium/base/Consumer.java",
6663 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
6664 "base/android/java/src/org/chromium/base/ContextUtils.java",
6665 "base/android/java/src/org/chromium/base/CpuFeatures.java",
6666 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
6667 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
6668 "base/android/java/src/org/chromium/base/EventLog.java",
6669 "base/android/java/src/org/chromium/base/FeatureList.java",
6670 "base/android/java/src/org/chromium/base/Features.java",
6671 "base/android/java/src/org/chromium/base/FieldTrialList.java",
6672 "base/android/java/src/org/chromium/base/FileUtils.java",
6673 "base/android/java/src/org/chromium/base/Function.java",
6674 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
6675 "base/android/java/src/org/chromium/base/IntStringCallback.java",
6676 "base/android/java/src/org/chromium/base/IntentUtils.java",
6677 "base/android/java/src/org/chromium/base/JNIUtils.java",
6678 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
6679 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006680 "base/android/java/src/org/chromium/base/JniException.java",
6681 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006682 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
6683 "base/android/java/src/org/chromium/base/LocaleUtils.java",
6684 "base/android/java/src/org/chromium/base/Log.java",
6685 "base/android/java/src/org/chromium/base/MathUtils.java",
6686 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006687 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006688 "base/android/java/src/org/chromium/base/ObserverList.java",
6689 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
6690 "base/android/java/src/org/chromium/base/PackageUtils.java",
6691 "base/android/java/src/org/chromium/base/PathService.java",
6692 "base/android/java/src/org/chromium/base/PathUtils.java",
6693 "base/android/java/src/org/chromium/base/PiiElider.java",
6694 "base/android/java/src/org/chromium/base/PowerMonitor.java",
6695 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
6696 "base/android/java/src/org/chromium/base/Predicate.java",
6697 "base/android/java/src/org/chromium/base/Promise.java",
6698 "base/android/java/src/org/chromium/base/RadioUtils.java",
6699 "base/android/java/src/org/chromium/base/StreamUtil.java",
6700 "base/android/java/src/org/chromium/base/StrictModeContext.java",
6701 "base/android/java/src/org/chromium/base/ThreadUtils.java",
6702 "base/android/java/src/org/chromium/base/TimeUtils.java",
6703 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
6704 "base/android/java/src/org/chromium/base/TraceEvent.java",
6705 "base/android/java/src/org/chromium/base/UnguessableToken.java",
6706 "base/android/java/src/org/chromium/base/UnownedUserData.java",
6707 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
6708 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
6709 "base/android/java/src/org/chromium/base/UserData.java",
6710 "base/android/java/src/org/chromium/base/UserDataHost.java",
6711 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006712 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
6713 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
6714 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
6715 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
6716 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
6717 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
6718 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
6719 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
6720 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006721 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
6722 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
6723 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
6724 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
6725 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
6726 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
6727 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
6728 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
6729 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
6730 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
6731 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
6732 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
6733 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
6734 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
6735 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
6736 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
6737 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
6738 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
6739 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
6740 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
6741 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
6742 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
6743 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
6744 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
6745 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
6746 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
6747 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
6748 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
6749 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
6750 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
6751 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
6752 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
6753 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
6754 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
6755 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
6756 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
6757 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
6758 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
6759 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
6760 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
6761 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
6762 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
6763 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
6764 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
6765 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
6766 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
6767 "base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java",
6768 "base/android/java/src/org/chromium/base/process_launcher/BindService.java",
6769 "base/android/java/src/org/chromium/base/process_launcher/ChildConnectionAllocator.java",
6770 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConnection.java",
6771 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConstants.java",
6772 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessLauncher.java",
6773 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessServiceDelegate.java",
6774 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnection.java",
6775 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionDelegate.java",
6776 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionFactory.java",
6777 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionImpl.java",
6778 "base/android/java/src/org/chromium/base/process_launcher/FileDescriptorInfo.java",
6779 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
6780 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
6781 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
6782 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
6783 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
6784 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
6785 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
6786 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
6787 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
6788 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
6789 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
6790 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
6791 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
6792 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
6793 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
6794 "base/android/java/src/org/chromium/base/task/PostTask.java",
6795 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
6796 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
6797 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
6798 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
6799 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
6800 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
6801 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
6802 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
6803 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
6804 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006805 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
6806 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
6807 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
6808 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
6809 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
6810 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
6811 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
6812 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006813 "components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java",
6814 "components/cronet/android/api/src/org/chromium/net/CallbackException.java",
6815 "components/cronet/android/api/src/org/chromium/net/CronetEngine.java",
6816 "components/cronet/android/api/src/org/chromium/net/CronetException.java",
6817 "components/cronet/android/api/src/org/chromium/net/CronetProvider.java",
6818 "components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java",
6819 "components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java",
6820 "components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java",
6821 "components/cronet/android/api/src/org/chromium/net/ICronetEngineBuilder.java",
6822 "components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java",
6823 "components/cronet/android/api/src/org/chromium/net/NetworkException.java",
6824 "components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java",
6825 "components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java",
6826 "components/cronet/android/api/src/org/chromium/net/QuicException.java",
6827 "components/cronet/android/api/src/org/chromium/net/RequestFinishedInfo.java",
6828 "components/cronet/android/api/src/org/chromium/net/UploadDataProvider.java",
6829 "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
6830 "components/cronet/android/api/src/org/chromium/net/UploadDataSink.java",
6831 "components/cronet/android/api/src/org/chromium/net/UrlRequest.java",
6832 "components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java",
6833 "components/cronet/android/api/src/org/chromium/net/apihelpers/ByteArrayCronetCallback.java",
6834 "components/cronet/android/api/src/org/chromium/net/apihelpers/ContentTypeParametersParser.java",
6835 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetRequestCompletionListener.java",
6836 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetResponse.java",
6837 "components/cronet/android/api/src/org/chromium/net/apihelpers/ImplicitFlowControlCallback.java",
6838 "components/cronet/android/api/src/org/chromium/net/apihelpers/InMemoryTransformCronetCallback.java",
6839 "components/cronet/android/api/src/org/chromium/net/apihelpers/JsonCronetCallback.java",
6840 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandler.java",
6841 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandlers.java",
6842 "components/cronet/android/api/src/org/chromium/net/apihelpers/StringCronetCallback.java",
6843 "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
6844 "components/cronet/android/api/src/org/chromium/net/apihelpers/UrlRequestCallbacks.java",
6845 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetController.java",
6846 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetEngine.java",
6847 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetProvider.java",
6848 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlRequest.java",
6849 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlResponse.java",
6850 "components/cronet/android/fake/java/org/chromium/net/test/ResponseMatcher.java",
6851 "components/cronet/android/fake/java/org/chromium/net/test/UrlResponseMatcher.java",
6852 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
6853 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
6854 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
6855 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
6856 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
6857 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
6858 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
6859 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
6860 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
6861 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
6862 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
6863 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
6864 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
Patrick Rohr98600682022-11-18 18:29:15 -08006865 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00006866 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
6867 "components/cronet/android/java/src/org/chromium/net/impl/InputStreamChannel.java",
6868 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java",
6869 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngineBuilderImpl.java",
6870 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetProvider.java",
6871 "components/cronet/android/java/src/org/chromium/net/impl/JavaUploadDataSinkBase.java",
6872 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequest.java",
6873 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequestUtils.java",
6874 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
6875 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderWithLibraryLoaderImpl.java",
6876 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetProvider.java",
6877 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
6878 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
6879 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
6880 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
6881 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
6882 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
6883 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
6884 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
6885 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
6886 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
6887 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
6888 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
6889 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
6890 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
6891 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
6892 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
6893 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
6894 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
6895 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
6896 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
6897 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
6898 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
6899 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
6900 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
6901 "net/android/java/src/org/chromium/net/DnsStatus.java",
6902 "net/android/java/src/org/chromium/net/GURLUtils.java",
6903 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
6904 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
6905 "net/android/java/src/org/chromium/net/HttpUtil.java",
6906 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
6907 "net/android/java/src/org/chromium/net/NetStringUtil.java",
6908 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
6909 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
6910 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
6911 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
6912 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
6913 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
6914 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
6915 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
6916 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
6917 "net/android/java/src/org/chromium/net/X509Util.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00006918 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
Motomu Utsumie3ce7702022-11-10 16:22:11 +09006919 ],
Motomu Utsumi7bc2fcc2022-11-10 17:09:54 +09006920 cmd: "current_dir=`basename \\`pwd\\``; " +
6921 "for f in $(in); " +
6922 "do " +
6923 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
6924 "done; " +
Motomu Utsumi9ca466b2022-11-10 17:12:29 +09006925 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09006926 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006927 "--depfile " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09006928 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006929 "--sources-files " +
Motomu Utsumi7bc2fcc2022-11-10 17:09:54 +09006930 "$(genDir)/java.sources " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006931 "--include_test_only " +
6932 "--use_proxy_hash " +
6933 "--header-path " +
Motomu Utsumi6b4acaa2022-11-10 16:13:24 +09006934 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006935 "--manual_jni_registration " +
Mohannad Farrag7c0f0982022-11-10 14:39:49 +00006936 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
Motomu Utsumi2a892d22022-11-10 18:03:20 +09006937 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006938 out: [
6939 "components/cronet/android/cronet_jni_registration.h",
6940 "components/cronet/android/cronet_jni_registration.srcjar",
6941 ],
6942 tool_files: [
6943 "base/android/jni_generator/jni_generator.py",
6944 "base/android/jni_generator/jni_registration_generator.py",
6945 "build/android/gyp/util/__init__.py",
6946 "build/android/gyp/util/build_utils.py",
6947 "build/gn_helpers.py",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006948 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09006949 apex_available: [
6950 "com.android.tethering",
6951 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09006952}
6953
Mohannad Farrag7f7c9b42022-12-02 14:37:56 +00006954// GN: //components/cronet/android:cronet_jni_registration
6955java_genrule {
6956 name: "cronet_aml_components_cronet_android_cronet_jni_registration__java",
6957 srcs: [
6958 "base/android/java/src/org/chromium/base/ActivityState.java",
6959 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
6960 "base/android/java/src/org/chromium/base/ApkAssets.java",
6961 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
6962 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
6963 "base/android/java/src/org/chromium/base/BuildInfo.java",
6964 "base/android/java/src/org/chromium/base/BundleUtils.java",
6965 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
6966 "base/android/java/src/org/chromium/base/Callback.java",
6967 "base/android/java/src/org/chromium/base/CallbackController.java",
6968 "base/android/java/src/org/chromium/base/CollectionUtil.java",
6969 "base/android/java/src/org/chromium/base/CommandLine.java",
6970 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
6971 "base/android/java/src/org/chromium/base/Consumer.java",
6972 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
6973 "base/android/java/src/org/chromium/base/ContextUtils.java",
6974 "base/android/java/src/org/chromium/base/CpuFeatures.java",
6975 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
6976 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
6977 "base/android/java/src/org/chromium/base/EventLog.java",
6978 "base/android/java/src/org/chromium/base/FeatureList.java",
6979 "base/android/java/src/org/chromium/base/Features.java",
6980 "base/android/java/src/org/chromium/base/FieldTrialList.java",
6981 "base/android/java/src/org/chromium/base/FileUtils.java",
6982 "base/android/java/src/org/chromium/base/Function.java",
6983 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
6984 "base/android/java/src/org/chromium/base/IntStringCallback.java",
6985 "base/android/java/src/org/chromium/base/IntentUtils.java",
6986 "base/android/java/src/org/chromium/base/JNIUtils.java",
6987 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
6988 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
6989 "base/android/java/src/org/chromium/base/JniException.java",
6990 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
6991 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
6992 "base/android/java/src/org/chromium/base/LocaleUtils.java",
6993 "base/android/java/src/org/chromium/base/Log.java",
6994 "base/android/java/src/org/chromium/base/MathUtils.java",
6995 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
6996 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
6997 "base/android/java/src/org/chromium/base/ObserverList.java",
6998 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
6999 "base/android/java/src/org/chromium/base/PackageUtils.java",
7000 "base/android/java/src/org/chromium/base/PathService.java",
7001 "base/android/java/src/org/chromium/base/PathUtils.java",
7002 "base/android/java/src/org/chromium/base/PiiElider.java",
7003 "base/android/java/src/org/chromium/base/PowerMonitor.java",
7004 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
7005 "base/android/java/src/org/chromium/base/Predicate.java",
7006 "base/android/java/src/org/chromium/base/Promise.java",
7007 "base/android/java/src/org/chromium/base/RadioUtils.java",
7008 "base/android/java/src/org/chromium/base/StreamUtil.java",
7009 "base/android/java/src/org/chromium/base/StrictModeContext.java",
7010 "base/android/java/src/org/chromium/base/ThreadUtils.java",
7011 "base/android/java/src/org/chromium/base/TimeUtils.java",
7012 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
7013 "base/android/java/src/org/chromium/base/TraceEvent.java",
7014 "base/android/java/src/org/chromium/base/UnguessableToken.java",
7015 "base/android/java/src/org/chromium/base/UnownedUserData.java",
7016 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
7017 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
7018 "base/android/java/src/org/chromium/base/UserData.java",
7019 "base/android/java/src/org/chromium/base/UserDataHost.java",
7020 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
7021 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
7022 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
7023 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
7024 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
7025 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
7026 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
7027 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
7028 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
7029 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
7030 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
7031 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
7032 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
7033 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
7034 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
7035 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
7036 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
7037 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
7038 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
7039 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
7040 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
7041 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
7042 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
7043 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
7044 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
7045 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
7046 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
7047 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
7048 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
7049 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
7050 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
7051 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
7052 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
7053 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
7054 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
7055 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
7056 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
7057 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
7058 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
7059 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
7060 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
7061 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
7062 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
7063 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
7064 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
7065 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
7066 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
7067 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
7068 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
7069 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
7070 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
7071 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
7072 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
7073 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
7074 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
7075 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
7076 "base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java",
7077 "base/android/java/src/org/chromium/base/process_launcher/BindService.java",
7078 "base/android/java/src/org/chromium/base/process_launcher/ChildConnectionAllocator.java",
7079 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConnection.java",
7080 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConstants.java",
7081 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessLauncher.java",
7082 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessServiceDelegate.java",
7083 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnection.java",
7084 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionDelegate.java",
7085 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionFactory.java",
7086 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionImpl.java",
7087 "base/android/java/src/org/chromium/base/process_launcher/FileDescriptorInfo.java",
7088 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
7089 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
7090 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
7091 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
7092 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
7093 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
7094 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
7095 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
7096 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
7097 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
7098 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
7099 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
7100 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
7101 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
7102 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
7103 "base/android/java/src/org/chromium/base/task/PostTask.java",
7104 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
7105 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
7106 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
7107 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
7108 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
7109 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
7110 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
7111 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
7112 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
7113 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
7114 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
7115 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
7116 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
7117 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
7118 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
7119 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
7120 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
7121 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
7122 "components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java",
7123 "components/cronet/android/api/src/org/chromium/net/CallbackException.java",
7124 "components/cronet/android/api/src/org/chromium/net/CronetEngine.java",
7125 "components/cronet/android/api/src/org/chromium/net/CronetException.java",
7126 "components/cronet/android/api/src/org/chromium/net/CronetProvider.java",
7127 "components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java",
7128 "components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java",
7129 "components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java",
7130 "components/cronet/android/api/src/org/chromium/net/ICronetEngineBuilder.java",
7131 "components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java",
7132 "components/cronet/android/api/src/org/chromium/net/NetworkException.java",
7133 "components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java",
7134 "components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java",
7135 "components/cronet/android/api/src/org/chromium/net/QuicException.java",
7136 "components/cronet/android/api/src/org/chromium/net/RequestFinishedInfo.java",
7137 "components/cronet/android/api/src/org/chromium/net/UploadDataProvider.java",
7138 "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
7139 "components/cronet/android/api/src/org/chromium/net/UploadDataSink.java",
7140 "components/cronet/android/api/src/org/chromium/net/UrlRequest.java",
7141 "components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java",
7142 "components/cronet/android/api/src/org/chromium/net/apihelpers/ByteArrayCronetCallback.java",
7143 "components/cronet/android/api/src/org/chromium/net/apihelpers/ContentTypeParametersParser.java",
7144 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetRequestCompletionListener.java",
7145 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetResponse.java",
7146 "components/cronet/android/api/src/org/chromium/net/apihelpers/ImplicitFlowControlCallback.java",
7147 "components/cronet/android/api/src/org/chromium/net/apihelpers/InMemoryTransformCronetCallback.java",
7148 "components/cronet/android/api/src/org/chromium/net/apihelpers/JsonCronetCallback.java",
7149 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandler.java",
7150 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandlers.java",
7151 "components/cronet/android/api/src/org/chromium/net/apihelpers/StringCronetCallback.java",
7152 "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
7153 "components/cronet/android/api/src/org/chromium/net/apihelpers/UrlRequestCallbacks.java",
7154 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetController.java",
7155 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetEngine.java",
7156 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetProvider.java",
7157 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlRequest.java",
7158 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlResponse.java",
7159 "components/cronet/android/fake/java/org/chromium/net/test/ResponseMatcher.java",
7160 "components/cronet/android/fake/java/org/chromium/net/test/UrlResponseMatcher.java",
7161 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
7162 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
7163 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
7164 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
7165 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
7166 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
7167 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
7168 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
7169 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
7170 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
7171 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
7172 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
7173 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
7174 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
7175 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
7176 "components/cronet/android/java/src/org/chromium/net/impl/InputStreamChannel.java",
7177 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java",
7178 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngineBuilderImpl.java",
7179 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetProvider.java",
7180 "components/cronet/android/java/src/org/chromium/net/impl/JavaUploadDataSinkBase.java",
7181 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequest.java",
7182 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequestUtils.java",
7183 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
7184 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderWithLibraryLoaderImpl.java",
7185 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetProvider.java",
7186 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
7187 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
7188 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
7189 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
7190 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
7191 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
7192 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
7193 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
7194 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
7195 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
7196 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
7197 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
7198 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
7199 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
7200 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
7201 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
7202 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
7203 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
7204 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
7205 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
7206 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
7207 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
7208 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
7209 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
7210 "net/android/java/src/org/chromium/net/DnsStatus.java",
7211 "net/android/java/src/org/chromium/net/GURLUtils.java",
7212 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
7213 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
7214 "net/android/java/src/org/chromium/net/HttpUtil.java",
7215 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
7216 "net/android/java/src/org/chromium/net/NetStringUtil.java",
7217 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
7218 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
7219 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
7220 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
7221 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
7222 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
7223 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
7224 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
7225 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
7226 "net/android/java/src/org/chromium/net/X509Util.java",
7227 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
7228 ],
7229 cmd: "current_dir=`basename \\`pwd\\``; " +
7230 "for f in $(in); " +
7231 "do " +
7232 "echo \"../$$current_dir/$$f\" >> $(genDir)/java.sources; " +
7233 "done; " +
7234 "python3 $(location base/android/jni_generator/jni_registration_generator.py) --srcjar-path " +
7235 "$(genDir)/components/cronet/android/cronet_jni_registration.srcjar " +
7236 "--depfile " +
7237 "$(genDir)/components/cronet/android/cronet_jni_registration.d " +
7238 "--sources-files " +
7239 "$(genDir)/java.sources " +
7240 "--include_test_only " +
7241 "--use_proxy_hash " +
7242 "--header-path " +
7243 "$(genDir)/components/cronet/android/cronet_jni_registration.h " +
7244 "--manual_jni_registration " +
7245 ";sed -i -e 's/OUT_SOONG_.TEMP_SBOX_.*_OUT/GEN/g' " +
7246 "$(genDir)/components/cronet/android/cronet_jni_registration.h",
7247 out: [
7248 "components/cronet/android/cronet_jni_registration.srcjar",
7249 ],
7250 tool_files: [
7251 "base/android/jni_generator/jni_generator.py",
7252 "base/android/jni_generator/jni_registration_generator.py",
7253 "build/android/gyp/util/__init__.py",
7254 "build/android/gyp/util/build_utils.py",
7255 "build/gn_helpers.py",
7256 ],
7257}
7258
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007259// GN: //components/cronet/android:cronet_static
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007260cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007261 name: "cronet_aml_components_cronet_android_cronet_static",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007262 srcs: [
7263 "components/cronet/android/cronet_bidirectional_stream_adapter.cc",
7264 "components/cronet/android/cronet_context_adapter.cc",
7265 "components/cronet/android/cronet_library_loader.cc",
7266 "components/cronet/android/cronet_upload_data_stream_adapter.cc",
7267 "components/cronet/android/cronet_url_request_adapter.cc",
7268 "components/cronet/android/io_buffer_with_byte_buffer.cc",
7269 "components/cronet/android/url_request_error.cc",
7270 ],
7271 shared_libs: [
7272 "libandroid",
7273 "liblog",
7274 ],
7275 static_libs: [
7276 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
7277 "cronet_aml_base_base",
7278 "cronet_aml_base_base_static",
7279 "cronet_aml_base_third_party_double_conversion_double_conversion",
7280 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
7281 "cronet_aml_components_prefs_prefs",
7282 "cronet_aml_crypto_crypto",
7283 "cronet_aml_net_net",
7284 "cronet_aml_net_preload_decoder",
7285 "cronet_aml_net_third_party_quiche_quiche",
7286 "cronet_aml_net_uri_template",
7287 "cronet_aml_third_party_boringssl_boringssl",
7288 "cronet_aml_third_party_brotli_common",
7289 "cronet_aml_third_party_brotli_dec",
7290 "cronet_aml_third_party_icu_icui18n",
7291 "cronet_aml_third_party_icu_icuuc_private",
7292 "cronet_aml_third_party_libevent_libevent",
7293 "cronet_aml_third_party_modp_b64_modp_b64",
7294 "cronet_aml_third_party_protobuf_protobuf_lite",
7295 "cronet_aml_third_party_zlib_zlib",
7296 "cronet_aml_url_url",
7297 ],
7298 generated_headers: [
7299 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
7300 ],
7301 defaults: [
7302 "cronet_aml_defaults",
7303 ],
7304 cflags: [
7305 "-DANDROID",
7306 "-DANDROID_NDK_VERSION_ROLL=r23_1",
7307 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
7308 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
7309 "-DDCHECK_ALWAYS_ON=1",
7310 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
7311 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7312 "-DGOOGLE_PROTOBUF_NO_RTTI",
7313 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7314 "-DHAVE_PTHREAD",
7315 "-DHAVE_SYS_UIO_H",
7316 "-D_DEBUG",
7317 "-D_GNU_SOURCE",
7318 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
7319 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7320 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
7321 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7322 "-D__STDC_CONSTANT_MACROS",
7323 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007324 ],
7325 local_include_dirs: [
7326 "./",
7327 "buildtools/third_party/libc++/",
7328 "buildtools/third_party/libc++/trunk/include",
7329 "buildtools/third_party/libc++abi/trunk/include",
7330 "components/cronet/native/generated/",
7331 "components/cronet/native/include/",
7332 "components/grpc_support/include/",
7333 "net/third_party/quiche/overrides/",
7334 "net/third_party/quiche/src/",
7335 "net/third_party/quiche/src/quiche/common/platform/default/",
7336 "third_party/abseil-cpp/",
7337 "third_party/boringssl/src/include/",
7338 "third_party/protobuf/src/",
7339 "third_party/zlib/",
7340 ],
7341 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +09007342 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007343 android_arm: {
7344 generated_headers: [
7345 "cronet_aml_base_debugging_buildflags__android_arm",
7346 "cronet_aml_base_logging_buildflags__android_arm",
7347 "cronet_aml_build_chromeos_buildflags__android_arm",
7348 "cronet_aml_components_cronet_android_buildflags__android_arm",
7349 "cronet_aml_components_cronet_android_cronet_jni_headers__android_arm",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08007350 "cronet_aml_components_cronet_android_cronet_jni_registration__android_arm",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007351 "cronet_aml_components_cronet_cronet_buildflags__android_arm",
7352 "cronet_aml_components_cronet_cronet_version_header_action__android_arm",
7353 "cronet_aml_url_buildflags__android_arm",
7354 ],
7355 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007356 android_arm64: {
7357 generated_headers: [
7358 "cronet_aml_base_debugging_buildflags__android_arm64",
7359 "cronet_aml_base_logging_buildflags__android_arm64",
7360 "cronet_aml_build_chromeos_buildflags__android_arm64",
7361 "cronet_aml_components_cronet_android_buildflags__android_arm64",
7362 "cronet_aml_components_cronet_android_cronet_jni_headers__android_arm64",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08007363 "cronet_aml_components_cronet_android_cronet_jni_registration__android_arm64",
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007364 "cronet_aml_components_cronet_cronet_buildflags__android_arm64",
7365 "cronet_aml_components_cronet_cronet_version_header_action__android_arm64",
7366 "cronet_aml_url_buildflags__android_arm64",
7367 ],
7368 },
Motomu Utsumi55394632022-11-18 17:44:28 +09007369 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007370 cflags: [
7371 "-msse3",
7372 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007373 generated_headers: [
7374 "cronet_aml_base_debugging_buildflags__android_x86",
7375 "cronet_aml_base_logging_buildflags__android_x86",
7376 "cronet_aml_build_chromeos_buildflags__android_x86",
7377 "cronet_aml_components_cronet_android_buildflags__android_x86",
7378 "cronet_aml_components_cronet_android_cronet_jni_headers__android_x86",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08007379 "cronet_aml_components_cronet_android_cronet_jni_registration__android_x86",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007380 "cronet_aml_components_cronet_cronet_buildflags__android_x86",
7381 "cronet_aml_components_cronet_cronet_version_header_action__android_x86",
7382 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +09007383 ],
7384 },
7385 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007386 cflags: [
7387 "-msse3",
7388 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007389 generated_headers: [
7390 "cronet_aml_base_debugging_buildflags__android_x86_64",
7391 "cronet_aml_base_logging_buildflags__android_x86_64",
7392 "cronet_aml_build_chromeos_buildflags__android_x86_64",
7393 "cronet_aml_components_cronet_android_buildflags__android_x86_64",
7394 "cronet_aml_components_cronet_android_cronet_jni_headers__android_x86_64",
Patrick Rohr0c7ef522022-12-12 20:29:19 -08007395 "cronet_aml_components_cronet_android_cronet_jni_registration__android_x86_64",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007396 "cronet_aml_components_cronet_cronet_buildflags__android_x86_64",
7397 "cronet_aml_components_cronet_cronet_version_header_action__android_x86_64",
7398 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +09007399 ],
7400 },
7401 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007402}
7403
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007404// GN: //components/cronet/android:http_cache_type_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00007405java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007406 name: "cronet_aml_components_cronet_android_http_cache_type_java",
7407 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00007408 "$(out) " +
7409 "$(location components/cronet/url_request_context_config.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007410 out: [
7411 "components/cronet/android/http_cache_type_java.srcjar",
7412 ],
7413 tool_files: [
7414 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09007415 "build/android/gyp/util/__init__.py",
7416 "build/android/gyp/util/build_utils.py",
7417 "build/android/gyp/util/java_cpp_utils.py",
7418 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007419 "components/cronet/url_request_context_config.h",
7420 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007421}
7422
7423// GN: //components/cronet/android:implementation_api_version
Mohannad Farrag7ff99912022-11-29 17:16:00 +00007424java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007425 name: "cronet_aml_components_cronet_android_implementation_api_version",
7426 cmd: "$(location build/util/version.py) -f " +
7427 "$(location chrome/VERSION) " +
7428 "-f " +
7429 "$(location build/util/LASTCHANGE) " +
7430 "-e " +
Mohannad Farrag25697342022-12-02 18:01:48 +00007431 "'API_LEVEL=20' " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007432 "-o " +
7433 "$(out) " +
7434 "$(location components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template)",
7435 out: [
7436 "components/cronet/android/templates/org/chromium/net/impl/ImplVersion.java",
7437 ],
7438 tool_files: [
7439 "build/util/LASTCHANGE",
7440 "build/util/android_chrome_version.py",
7441 "build/util/version.py",
7442 "chrome/VERSION",
7443 "components/cronet/android/java/src/org/chromium/net/impl/ImplVersion.template",
7444 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007445}
7446
7447// GN: //components/cronet/android:integrated_mode_state
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007448genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007449 name: "cronet_aml_components_cronet_android_integrated_mode_state",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007450 srcs: [
7451 ":cronet_aml_components_cronet_android_integrated_mode_state_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007452 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007453 tools: [
7454 "soong_zip",
7455 ],
7456 cmd: "cp $(in) $(genDir)/IntegratedModeState.java && " +
7457 "$(location soong_zip) -o $(out) -srcjar -f $(genDir)/IntegratedModeState.java",
7458 out: [
7459 "IntegratedModeState.srcjar",
7460 ],
7461}
7462
7463// GN: //components/cronet/android:integrated_mode_state
7464cc_object {
7465 name: "cronet_aml_components_cronet_android_integrated_mode_state_preprocess",
7466 srcs: [
7467 ":cronet_aml_components_cronet_android_integrated_mode_state_rename",
7468 ],
7469 cflags: [
7470 "-DANDROID",
7471 "-E",
7472 "-P",
7473 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09007474 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007475}
7476
7477// GN: //components/cronet/android:integrated_mode_state
7478genrule {
7479 name: "cronet_aml_components_cronet_android_integrated_mode_state_rename",
7480 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007481 "components/cronet/android/java/src/org/chromium/net/impl/IntegratedModeState.template",
7482 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007483 cmd: "cp $(in) $(out)",
7484 out: [
7485 "IntegratedModeState.cc",
7486 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007487}
7488
7489// GN: //components/cronet/android:interface_api_version
Mohannad Farrag7ff99912022-11-29 17:16:00 +00007490java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007491 name: "cronet_aml_components_cronet_android_interface_api_version",
7492 cmd: "$(location build/util/version.py) -f " +
7493 "$(location chrome/VERSION) " +
7494 "-f " +
7495 "$(location build/util/LASTCHANGE) " +
7496 "-e " +
Mohannad Farrag25697342022-12-02 18:01:48 +00007497 "'API_LEVEL=20' " +
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007498 "-o " +
7499 "$(out) " +
7500 "$(location components/cronet/android/api/src/org/chromium/net/ApiVersion.template)",
7501 out: [
7502 "components/cronet/android/templates/org/chromium/net/ApiVersion.java",
7503 ],
7504 tool_files: [
7505 "build/util/LASTCHANGE",
7506 "build/util/android_chrome_version.py",
7507 "build/util/version.py",
7508 "chrome/VERSION",
7509 "components/cronet/android/api/src/org/chromium/net/ApiVersion.template",
7510 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007511}
7512
7513// GN: //components/cronet/android:load_states_list
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007514genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007515 name: "cronet_aml_components_cronet_android_load_states_list",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007516 srcs: [
7517 ":cronet_aml_components_cronet_android_load_states_list_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007518 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007519 tools: [
7520 "soong_zip",
7521 ],
7522 cmd: "cp $(in) $(genDir)/LoadState.java && " +
7523 "$(location soong_zip) -o $(out) -srcjar -f $(genDir)/LoadState.java",
7524 out: [
7525 "LoadState.srcjar",
7526 ],
7527}
7528
7529// GN: //components/cronet/android:load_states_list
7530cc_object {
7531 name: "cronet_aml_components_cronet_android_load_states_list_preprocess",
7532 srcs: [
7533 ":cronet_aml_components_cronet_android_load_states_list_rename",
7534 ],
7535 cflags: [
7536 "-DANDROID",
7537 "-E",
7538 "-P",
7539 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09007540 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007541}
7542
7543// GN: //components/cronet/android:load_states_list
7544genrule {
7545 name: "cronet_aml_components_cronet_android_load_states_list_rename",
7546 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007547 "components/cronet/android/java/src/org/chromium/net/impl/LoadState.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00007548 ],
7549 cmd: "cp $(in) $(out)",
7550 out: [
7551 "LoadState.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007552 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007553}
7554
7555// GN: //components/cronet/android:net_idempotency_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00007556java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007557 name: "cronet_aml_components_cronet_android_net_idempotency_java",
7558 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00007559 "$(out) " +
7560 "$(location net/base/idempotency.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007561 out: [
7562 "components/cronet/android/net_idempotency_java.srcjar",
7563 ],
7564 tool_files: [
7565 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09007566 "build/android/gyp/util/__init__.py",
7567 "build/android/gyp/util/build_utils.py",
7568 "build/android/gyp/util/java_cpp_utils.py",
7569 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007570 "net/base/idempotency.h",
7571 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007572}
7573
7574// GN: //components/cronet/android:net_request_priority_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00007575java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007576 name: "cronet_aml_components_cronet_android_net_request_priority_java",
7577 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00007578 "$(out) " +
7579 "$(location net/base/request_priority.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007580 out: [
7581 "components/cronet/android/net_request_priority_java.srcjar",
7582 ],
7583 tool_files: [
7584 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09007585 "build/android/gyp/util/__init__.py",
7586 "build/android/gyp/util/build_utils.py",
7587 "build/android/gyp/util/java_cpp_utils.py",
7588 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007589 "net/base/request_priority.h",
7590 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007591}
7592
7593// GN: //components/cronet/android:network_quality_observation_source_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00007594java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007595 name: "cronet_aml_components_cronet_android_network_quality_observation_source_java",
7596 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00007597 "$(out) " +
7598 "$(location net/nqe/network_quality_observation_source.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007599 out: [
7600 "components/cronet/android/network_quality_observation_source_java.srcjar",
7601 ],
7602 tool_files: [
7603 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09007604 "build/android/gyp/util/__init__.py",
7605 "build/android/gyp/util/build_utils.py",
7606 "build/android/gyp/util/java_cpp_utils.py",
7607 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007608 "net/nqe/network_quality_observation_source.h",
7609 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007610}
7611
7612// GN: //components/cronet/android:rtt_throughput_values_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00007613java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007614 name: "cronet_aml_components_cronet_android_rtt_throughput_values_java",
7615 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00007616 "$(out) " +
7617 "$(location net/nqe/network_quality.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007618 out: [
7619 "components/cronet/android/rtt_throughput_values_java.srcjar",
7620 ],
7621 tool_files: [
7622 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09007623 "build/android/gyp/util/__init__.py",
7624 "build/android/gyp/util/build_utils.py",
7625 "build/android/gyp/util/java_cpp_utils.py",
7626 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007627 "net/nqe/network_quality.h",
7628 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007629}
7630
7631// GN: //components/cronet/android:url_request_error_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +00007632java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007633 name: "cronet_aml_components_cronet_android_url_request_error_java",
7634 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00007635 "$(out) " +
7636 "$(location components/cronet/android/url_request_error.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007637 out: [
7638 "components/cronet/android/url_request_error_java.srcjar",
7639 ],
7640 tool_files: [
7641 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09007642 "build/android/gyp/util/__init__.py",
7643 "build/android/gyp/util/build_utils.py",
7644 "build/android/gyp/util/java_cpp_utils.py",
7645 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007646 "components/cronet/android/url_request_error.h",
7647 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00007648}
7649
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007650// GN: //components/cronet:cronet_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00007651cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007652 name: "cronet_aml_components_cronet_cronet_buildflags__android_arm",
7653 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
7654 "$(location build/write_buildflag_header.py) --output " +
7655 "$(out) " +
7656 "--rulename " +
7657 "//components/cronet:cronet_buildflags " +
7658 "--gen-dir " +
7659 ". " +
7660 "--definitions " +
7661 "/dev/stdin",
7662 out: [
7663 "components/cronet/cronet_buildflags.h",
7664 ],
7665 tool_files: [
7666 "build/write_buildflag_header.py",
7667 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007668 apex_available: [
7669 "com.android.tethering",
7670 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007671}
7672
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007673// GN: //components/cronet:cronet_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00007674cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007675 name: "cronet_aml_components_cronet_cronet_buildflags__android_arm64",
7676 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
7677 "$(location build/write_buildflag_header.py) --output " +
7678 "$(out) " +
7679 "--rulename " +
7680 "//components/cronet:cronet_buildflags " +
7681 "--gen-dir " +
7682 ". " +
7683 "--definitions " +
7684 "/dev/stdin",
7685 out: [
7686 "components/cronet/cronet_buildflags.h",
7687 ],
7688 tool_files: [
7689 "build/write_buildflag_header.py",
7690 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007691 apex_available: [
7692 "com.android.tethering",
7693 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007694}
7695
Patrick Rohr98600682022-11-18 18:29:15 -08007696// GN: //components/cronet:cronet_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00007697cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08007698 name: "cronet_aml_components_cronet_cronet_buildflags__android_x86",
7699 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
7700 "$(location build/write_buildflag_header.py) --output " +
7701 "$(out) " +
7702 "--rulename " +
7703 "//components/cronet:cronet_buildflags " +
7704 "--gen-dir " +
7705 ". " +
7706 "--definitions " +
7707 "/dev/stdin",
7708 out: [
7709 "components/cronet/cronet_buildflags.h",
7710 ],
7711 tool_files: [
7712 "build/write_buildflag_header.py",
7713 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007714 apex_available: [
7715 "com.android.tethering",
7716 ],
Patrick Rohr98600682022-11-18 18:29:15 -08007717}
7718
7719// GN: //components/cronet:cronet_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00007720cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08007721 name: "cronet_aml_components_cronet_cronet_buildflags__android_x86_64",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007722 cmd: "echo '--flags DISABLE_HISTOGRAM_SUPPORT=\"false\"' | " +
7723 "$(location build/write_buildflag_header.py) --output " +
7724 "$(out) " +
7725 "--rulename " +
7726 "//components/cronet:cronet_buildflags " +
7727 "--gen-dir " +
7728 ". " +
7729 "--definitions " +
7730 "/dev/stdin",
7731 out: [
7732 "components/cronet/cronet_buildflags.h",
7733 ],
7734 tool_files: [
7735 "build/write_buildflag_header.py",
7736 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007737 apex_available: [
7738 "com.android.tethering",
7739 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007740}
7741
7742// GN: //components/cronet:cronet_common
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007743cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007744 name: "cronet_aml_components_cronet_cronet_common",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007745 srcs: [
7746 "components/cronet/cronet_context.cc",
7747 "components/cronet/cronet_prefs_manager.cc",
7748 "components/cronet/cronet_upload_data_stream.cc",
7749 "components/cronet/cronet_url_request.cc",
7750 "components/cronet/host_cache_persistence_manager.cc",
7751 "components/cronet/stale_host_resolver.cc",
7752 "components/cronet/url_request_context_config.cc",
7753 ],
7754 shared_libs: [
7755 "libandroid",
7756 "liblog",
7757 ],
7758 static_libs: [
7759 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
7760 "cronet_aml_base_base",
7761 "cronet_aml_base_base_static",
7762 "cronet_aml_base_third_party_double_conversion_double_conversion",
7763 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
7764 "cronet_aml_components_prefs_prefs",
7765 "cronet_aml_crypto_crypto",
7766 "cronet_aml_net_net",
7767 "cronet_aml_net_preload_decoder",
7768 "cronet_aml_net_third_party_quiche_quiche",
7769 "cronet_aml_net_uri_template",
7770 "cronet_aml_third_party_boringssl_boringssl",
7771 "cronet_aml_third_party_brotli_common",
7772 "cronet_aml_third_party_brotli_dec",
7773 "cronet_aml_third_party_icu_icui18n",
7774 "cronet_aml_third_party_icu_icuuc_private",
7775 "cronet_aml_third_party_libevent_libevent",
7776 "cronet_aml_third_party_modp_b64_modp_b64",
7777 "cronet_aml_third_party_protobuf_protobuf_lite",
7778 "cronet_aml_third_party_zlib_zlib",
7779 "cronet_aml_url_url",
7780 ],
7781 generated_headers: [
7782 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
7783 ],
7784 defaults: [
7785 "cronet_aml_defaults",
7786 ],
7787 cflags: [
7788 "-DANDROID",
7789 "-DANDROID_NDK_VERSION_ROLL=r23_1",
7790 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
7791 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
7792 "-DDCHECK_ALWAYS_ON=1",
7793 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
7794 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
7795 "-DGOOGLE_PROTOBUF_NO_RTTI",
7796 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
7797 "-DHAVE_PTHREAD",
7798 "-DHAVE_SYS_UIO_H",
7799 "-D_DEBUG",
7800 "-D_GNU_SOURCE",
7801 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
7802 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7803 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
7804 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7805 "-D__STDC_CONSTANT_MACROS",
7806 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007807 ],
7808 local_include_dirs: [
7809 "./",
7810 "buildtools/third_party/libc++/",
7811 "buildtools/third_party/libc++/trunk/include",
7812 "buildtools/third_party/libc++abi/trunk/include",
7813 "net/third_party/quiche/overrides/",
7814 "net/third_party/quiche/src/",
7815 "net/third_party/quiche/src/quiche/common/platform/default/",
7816 "third_party/abseil-cpp/",
7817 "third_party/boringssl/src/include/",
7818 "third_party/protobuf/src/",
7819 ],
7820 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +09007821 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007822 android_arm: {
7823 generated_headers: [
7824 "cronet_aml_components_cronet_cronet_buildflags__android_arm",
7825 "cronet_aml_components_cronet_cronet_version_header_action__android_arm",
7826 ],
7827 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007828 android_arm64: {
7829 generated_headers: [
7830 "cronet_aml_components_cronet_cronet_buildflags__android_arm64",
7831 "cronet_aml_components_cronet_cronet_version_header_action__android_arm64",
7832 ],
7833 },
Motomu Utsumi55394632022-11-18 17:44:28 +09007834 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007835 cflags: [
7836 "-msse3",
7837 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007838 generated_headers: [
7839 "cronet_aml_components_cronet_cronet_buildflags__android_x86",
7840 "cronet_aml_components_cronet_cronet_version_header_action__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +09007841 ],
7842 },
7843 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007844 cflags: [
7845 "-msse3",
7846 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007847 generated_headers: [
7848 "cronet_aml_components_cronet_cronet_buildflags__android_x86_64",
7849 "cronet_aml_components_cronet_cronet_version_header_action__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +09007850 ],
7851 },
7852 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007853}
7854
7855// GN: //components/cronet:cronet_version_header
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007856cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007857 name: "cronet_aml_components_cronet_cronet_version_header",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007858 defaults: [
7859 "cronet_aml_defaults",
7860 ],
7861 cflags: [
7862 "-DANDROID",
7863 "-DANDROID_NDK_VERSION_ROLL=r23_1",
7864 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
7865 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
7866 "-DDCHECK_ALWAYS_ON=1",
7867 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
7868 "-DHAVE_SYS_UIO_H",
7869 "-D_DEBUG",
7870 "-D_GNU_SOURCE",
7871 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
7872 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
7873 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
7874 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
7875 "-D__STDC_CONSTANT_MACROS",
7876 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007877 ],
7878 local_include_dirs: [
7879 "./",
7880 "buildtools/third_party/libc++/",
7881 "buildtools/third_party/libc++/trunk/include",
7882 "buildtools/third_party/libc++abi/trunk/include",
7883 ],
7884 cpp_std: "c++20",
7885 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007886 android_arm: {
7887 generated_headers: [
7888 "cronet_aml_components_cronet_cronet_version_header_action__android_arm",
7889 ],
7890 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007891 android_arm64: {
7892 generated_headers: [
7893 "cronet_aml_components_cronet_cronet_version_header_action__android_arm64",
7894 ],
7895 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007896 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007897 cflags: [
7898 "-msse3",
7899 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007900 generated_headers: [
7901 "cronet_aml_components_cronet_cronet_version_header_action__android_x86",
7902 ],
7903 },
7904 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007905 cflags: [
7906 "-msse3",
7907 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00007908 generated_headers: [
7909 "cronet_aml_components_cronet_cronet_version_header_action__android_x86_64",
7910 ],
7911 },
7912 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007913}
7914
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007915// GN: //components/cronet:cronet_version_header_action__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00007916cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007917 name: "cronet_aml_components_cronet_cronet_version_header_action__android_arm",
7918 cmd: "$(location build/util/version.py) -f " +
7919 "$(location chrome/VERSION) " +
7920 "-e " +
Mohannad Farrag25697342022-12-02 18:01:48 +00007921 "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007922 "-o " +
7923 "$(out) " +
7924 "$(location components/cronet/version.h.in)",
7925 out: [
7926 "components/cronet/version.h",
7927 ],
7928 tool_files: [
7929 "build/util/LASTCHANGE",
7930 "build/util/android_chrome_version.py",
7931 "build/util/version.py",
7932 "chrome/VERSION",
7933 "components/cronet/version.h.in",
7934 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007935 apex_available: [
7936 "com.android.tethering",
7937 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09007938}
7939
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007940// GN: //components/cronet:cronet_version_header_action__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00007941cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007942 name: "cronet_aml_components_cronet_cronet_version_header_action__android_arm64",
7943 cmd: "$(location build/util/version.py) -f " +
7944 "$(location chrome/VERSION) " +
7945 "-e " +
Mohannad Farrag25697342022-12-02 18:01:48 +00007946 "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007947 "-o " +
7948 "$(out) " +
7949 "$(location components/cronet/version.h.in)",
7950 out: [
7951 "components/cronet/version.h",
7952 ],
7953 tool_files: [
7954 "build/util/LASTCHANGE",
7955 "build/util/android_chrome_version.py",
7956 "build/util/version.py",
7957 "chrome/VERSION",
7958 "components/cronet/version.h.in",
7959 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007960 apex_available: [
7961 "com.android.tethering",
7962 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09007963}
7964
Patrick Rohr98600682022-11-18 18:29:15 -08007965// GN: //components/cronet:cronet_version_header_action__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00007966cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08007967 name: "cronet_aml_components_cronet_cronet_version_header_action__android_x86",
7968 cmd: "$(location build/util/version.py) -f " +
7969 "$(location chrome/VERSION) " +
7970 "-e " +
Mohannad Farrag25697342022-12-02 18:01:48 +00007971 "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
Patrick Rohr98600682022-11-18 18:29:15 -08007972 "-o " +
7973 "$(out) " +
7974 "$(location components/cronet/version.h.in)",
7975 out: [
7976 "components/cronet/version.h",
7977 ],
7978 tool_files: [
7979 "build/util/LASTCHANGE",
7980 "build/util/android_chrome_version.py",
7981 "build/util/version.py",
7982 "chrome/VERSION",
7983 "components/cronet/version.h.in",
7984 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09007985 apex_available: [
7986 "com.android.tethering",
7987 ],
Patrick Rohr98600682022-11-18 18:29:15 -08007988}
7989
7990// GN: //components/cronet:cronet_version_header_action__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00007991cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08007992 name: "cronet_aml_components_cronet_cronet_version_header_action__android_x86_64",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007993 cmd: "$(location build/util/version.py) -f " +
Motomu Utsumi847a6d32022-11-09 17:32:06 +09007994 "$(location chrome/VERSION) " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007995 "-e " +
Mohannad Farrag25697342022-12-02 18:01:48 +00007996 "'VERSION_FULL=\"%s.%s.%s.%s\" % (MAJOR,MINOR,BUILD,PATCH)' " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09007997 "-o " +
Motomu Utsumi438f2c22022-11-09 18:16:40 +09007998 "$(out) " +
Motomu Utsumi847a6d32022-11-09 17:32:06 +09007999 "$(location components/cronet/version.h.in)",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008000 out: [
8001 "components/cronet/version.h",
8002 ],
8003 tool_files: [
8004 "build/util/LASTCHANGE",
Motomu Utsumib0a49e42022-11-09 18:12:27 +09008005 "build/util/android_chrome_version.py",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008006 "build/util/version.py",
8007 "chrome/VERSION",
8008 "components/cronet/version.h.in",
8009 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008010 apex_available: [
8011 "com.android.tethering",
8012 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008013}
8014
8015// GN: //components/cronet:metrics_util
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008016cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008017 name: "cronet_aml_components_cronet_metrics_util",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008018 srcs: [
8019 "components/cronet/metrics_util.cc",
8020 ],
8021 shared_libs: [
8022 "libandroid",
8023 "liblog",
8024 ],
8025 static_libs: [
8026 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8027 "cronet_aml_base_base",
8028 "cronet_aml_base_base_static",
8029 "cronet_aml_base_third_party_double_conversion_double_conversion",
8030 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8031 "cronet_aml_third_party_boringssl_boringssl",
8032 "cronet_aml_third_party_icu_icui18n",
8033 "cronet_aml_third_party_icu_icuuc_private",
8034 "cronet_aml_third_party_libevent_libevent",
8035 "cronet_aml_third_party_modp_b64_modp_b64",
8036 ],
8037 defaults: [
8038 "cronet_aml_defaults",
8039 ],
8040 cflags: [
8041 "-DANDROID",
8042 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8043 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8044 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8045 "-DDCHECK_ALWAYS_ON=1",
8046 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
8047 "-DHAVE_SYS_UIO_H",
8048 "-D_DEBUG",
8049 "-D_GNU_SOURCE",
8050 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8051 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8052 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8053 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8054 "-D__STDC_CONSTANT_MACROS",
8055 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008056 ],
8057 local_include_dirs: [
8058 "./",
8059 "buildtools/third_party/libc++/",
8060 "buildtools/third_party/libc++/trunk/include",
8061 "buildtools/third_party/libc++abi/trunk/include",
8062 "third_party/abseil-cpp/",
8063 "third_party/boringssl/src/include/",
8064 ],
8065 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008066 target: {
8067 android_x86: {
8068 cflags: [
8069 "-msse3",
8070 ],
8071 },
8072 android_x86_64: {
8073 cflags: [
8074 "-msse3",
8075 ],
8076 },
8077 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008078}
8079
8080// GN: //components/cronet/native:cronet_native_headers
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008081cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008082 name: "cronet_aml_components_cronet_native_cronet_native_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008083 shared_libs: [
8084 "libandroid",
8085 "liblog",
8086 ],
8087 static_libs: [
8088 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8089 "cronet_aml_base_base",
8090 "cronet_aml_base_base_static",
8091 "cronet_aml_base_third_party_double_conversion_double_conversion",
8092 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8093 "cronet_aml_third_party_boringssl_boringssl",
8094 "cronet_aml_third_party_icu_icui18n",
8095 "cronet_aml_third_party_icu_icuuc_private",
8096 "cronet_aml_third_party_libevent_libevent",
8097 "cronet_aml_third_party_modp_b64_modp_b64",
8098 ],
8099 defaults: [
8100 "cronet_aml_defaults",
8101 ],
8102 cflags: [
8103 "-DANDROID",
8104 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8105 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8106 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8107 "-DDCHECK_ALWAYS_ON=1",
8108 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
8109 "-DHAVE_SYS_UIO_H",
8110 "-D_DEBUG",
8111 "-D_GNU_SOURCE",
8112 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8113 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8114 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8115 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8116 "-D__STDC_CONSTANT_MACROS",
8117 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008118 ],
8119 local_include_dirs: [
8120 "./",
8121 "buildtools/third_party/libc++/",
8122 "buildtools/third_party/libc++/trunk/include",
8123 "buildtools/third_party/libc++abi/trunk/include",
8124 "components/cronet/native/generated/",
8125 "components/cronet/native/include/",
8126 "components/grpc_support/include/",
8127 "third_party/abseil-cpp/",
8128 "third_party/boringssl/src/include/",
8129 ],
8130 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008131 target: {
8132 android_x86: {
8133 cflags: [
8134 "-msse3",
8135 ],
8136 },
8137 android_x86_64: {
8138 cflags: [
8139 "-msse3",
8140 ],
8141 },
8142 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008143}
8144
8145// GN: //components/cronet/native:cronet_native_impl
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008146cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008147 name: "cronet_aml_components_cronet_native_cronet_native_impl",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008148 srcs: [
8149 "components/cronet/native/buffer.cc",
8150 "components/cronet/native/engine.cc",
8151 "components/cronet/native/generated/cronet.idl_impl_interface.cc",
8152 "components/cronet/native/generated/cronet.idl_impl_struct.cc",
8153 "components/cronet/native/io_buffer_with_cronet_buffer.cc",
8154 "components/cronet/native/native_metrics_util.cc",
8155 "components/cronet/native/runnables.cc",
8156 "components/cronet/native/upload_data_sink.cc",
8157 "components/cronet/native/url_request.cc",
8158 ],
8159 shared_libs: [
8160 "libandroid",
8161 "liblog",
8162 ],
8163 static_libs: [
8164 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8165 "cronet_aml_base_base",
8166 "cronet_aml_base_base_static",
8167 "cronet_aml_base_third_party_double_conversion_double_conversion",
8168 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8169 "cronet_aml_components_prefs_prefs",
8170 "cronet_aml_crypto_crypto",
8171 "cronet_aml_net_net",
8172 "cronet_aml_net_preload_decoder",
8173 "cronet_aml_net_third_party_quiche_quiche",
8174 "cronet_aml_net_uri_template",
8175 "cronet_aml_third_party_boringssl_boringssl",
8176 "cronet_aml_third_party_brotli_common",
8177 "cronet_aml_third_party_brotli_dec",
8178 "cronet_aml_third_party_icu_icui18n",
8179 "cronet_aml_third_party_icu_icuuc_private",
8180 "cronet_aml_third_party_libevent_libevent",
8181 "cronet_aml_third_party_modp_b64_modp_b64",
8182 "cronet_aml_third_party_protobuf_protobuf_lite",
8183 "cronet_aml_third_party_zlib_zlib",
8184 "cronet_aml_url_url",
8185 ],
8186 generated_headers: [
8187 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
8188 ],
8189 defaults: [
8190 "cronet_aml_defaults",
8191 ],
8192 cflags: [
8193 "-DANDROID",
8194 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8195 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8196 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8197 "-DDCHECK_ALWAYS_ON=1",
8198 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
8199 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8200 "-DGOOGLE_PROTOBUF_NO_RTTI",
8201 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8202 "-DHAVE_PTHREAD",
8203 "-DHAVE_SYS_UIO_H",
8204 "-D_DEBUG",
8205 "-D_GNU_SOURCE",
8206 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8207 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8208 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8209 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8210 "-D__STDC_CONSTANT_MACROS",
8211 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008212 ],
8213 local_include_dirs: [
8214 "./",
8215 "buildtools/third_party/libc++/",
8216 "buildtools/third_party/libc++/trunk/include",
8217 "buildtools/third_party/libc++abi/trunk/include",
8218 "components/cronet/native/generated/",
8219 "components/cronet/native/include/",
8220 "components/grpc_support/include/",
8221 "net/third_party/quiche/overrides/",
8222 "net/third_party/quiche/src/",
8223 "net/third_party/quiche/src/quiche/common/platform/default/",
8224 "third_party/abseil-cpp/",
8225 "third_party/boringssl/src/include/",
8226 "third_party/protobuf/src/",
8227 ],
8228 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +09008229 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008230 android_arm: {
8231 generated_headers: [
8232 "cronet_aml_components_cronet_cronet_buildflags__android_arm",
8233 "cronet_aml_components_cronet_cronet_version_header_action__android_arm",
8234 ],
8235 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008236 android_arm64: {
8237 generated_headers: [
8238 "cronet_aml_components_cronet_cronet_buildflags__android_arm64",
8239 "cronet_aml_components_cronet_cronet_version_header_action__android_arm64",
8240 ],
8241 },
Motomu Utsumi55394632022-11-18 17:44:28 +09008242 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008243 cflags: [
8244 "-msse3",
8245 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008246 generated_headers: [
8247 "cronet_aml_components_cronet_cronet_buildflags__android_x86",
8248 "cronet_aml_components_cronet_cronet_version_header_action__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +09008249 ],
8250 },
8251 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008252 cflags: [
8253 "-msse3",
8254 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008255 generated_headers: [
8256 "cronet_aml_components_cronet_cronet_buildflags__android_x86_64",
8257 "cronet_aml_components_cronet_cronet_version_header_action__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +09008258 ],
8259 },
8260 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008261}
8262
8263// GN: //components/grpc_support:grpc_support
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008264cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008265 name: "cronet_aml_components_grpc_support_grpc_support",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008266 srcs: [
8267 "components/grpc_support/bidirectional_stream.cc",
8268 "components/grpc_support/bidirectional_stream_c.cc",
8269 ],
8270 shared_libs: [
8271 "libandroid",
8272 "liblog",
8273 ],
8274 static_libs: [
8275 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8276 "cronet_aml_base_base",
8277 "cronet_aml_base_base_static",
8278 "cronet_aml_base_third_party_double_conversion_double_conversion",
8279 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8280 "cronet_aml_crypto_crypto",
8281 "cronet_aml_net_net",
8282 "cronet_aml_net_preload_decoder",
8283 "cronet_aml_net_third_party_quiche_quiche",
8284 "cronet_aml_net_uri_template",
8285 "cronet_aml_third_party_boringssl_boringssl",
8286 "cronet_aml_third_party_brotli_common",
8287 "cronet_aml_third_party_brotli_dec",
8288 "cronet_aml_third_party_icu_icui18n",
8289 "cronet_aml_third_party_icu_icuuc_private",
8290 "cronet_aml_third_party_libevent_libevent",
8291 "cronet_aml_third_party_modp_b64_modp_b64",
8292 "cronet_aml_third_party_protobuf_protobuf_lite",
8293 "cronet_aml_third_party_zlib_zlib",
8294 "cronet_aml_url_url",
8295 ],
8296 defaults: [
8297 "cronet_aml_defaults",
8298 ],
8299 cflags: [
8300 "-DANDROID",
8301 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8302 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8303 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8304 "-DDCHECK_ALWAYS_ON=1",
8305 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
8306 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8307 "-DGOOGLE_PROTOBUF_NO_RTTI",
8308 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8309 "-DHAVE_PTHREAD",
8310 "-DHAVE_SYS_UIO_H",
8311 "-D_DEBUG",
8312 "-D_GNU_SOURCE",
8313 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8314 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8315 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8316 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8317 "-D__STDC_CONSTANT_MACROS",
8318 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008319 ],
8320 local_include_dirs: [
8321 "./",
8322 "buildtools/third_party/libc++/",
8323 "buildtools/third_party/libc++/trunk/include",
8324 "buildtools/third_party/libc++abi/trunk/include",
8325 "net/third_party/quiche/overrides/",
8326 "net/third_party/quiche/src/",
8327 "net/third_party/quiche/src/quiche/common/platform/default/",
8328 "third_party/abseil-cpp/",
8329 "third_party/boringssl/src/include/",
8330 "third_party/protobuf/src/",
8331 ],
8332 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008333 target: {
8334 android_x86: {
8335 cflags: [
8336 "-msse3",
8337 ],
8338 },
8339 android_x86_64: {
8340 cflags: [
8341 "-msse3",
8342 ],
8343 },
8344 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008345}
8346
8347// GN: //components/grpc_support:headers
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008348cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008349 name: "cronet_aml_components_grpc_support_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008350 defaults: [
8351 "cronet_aml_defaults",
8352 ],
8353 cflags: [
8354 "-DANDROID",
8355 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8356 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8357 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8358 "-DDCHECK_ALWAYS_ON=1",
8359 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
8360 "-DHAVE_SYS_UIO_H",
8361 "-D_DEBUG",
8362 "-D_GNU_SOURCE",
8363 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8364 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8365 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8366 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8367 "-D__STDC_CONSTANT_MACROS",
8368 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008369 ],
8370 local_include_dirs: [
8371 "./",
8372 "buildtools/third_party/libc++/",
8373 "buildtools/third_party/libc++/trunk/include",
8374 "buildtools/third_party/libc++abi/trunk/include",
8375 ],
8376 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008377 target: {
8378 android_x86: {
8379 cflags: [
8380 "-msse3",
8381 ],
8382 },
8383 android_x86_64: {
8384 cflags: [
8385 "-msse3",
8386 ],
8387 },
8388 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008389}
8390
8391// GN: //components/metrics:library_support
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008392cc_object {
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008393 name: "cronet_aml_components_metrics_library_support",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008394 srcs: [
8395 ":cronet_aml_third_party_metrics_proto_metrics_proto_gen",
8396 "components/metrics/histogram_encoder.cc",
8397 "components/metrics/library_support/histogram_manager.cc",
8398 ],
8399 shared_libs: [
8400 "libandroid",
8401 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008402 "libprotobuf-cpp-lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008403 ],
8404 static_libs: [
8405 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
8406 "cronet_aml_base_base",
8407 "cronet_aml_base_base_static",
8408 "cronet_aml_base_third_party_double_conversion_double_conversion",
8409 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
8410 "cronet_aml_third_party_boringssl_boringssl",
8411 "cronet_aml_third_party_icu_icui18n",
8412 "cronet_aml_third_party_icu_icuuc_private",
8413 "cronet_aml_third_party_libevent_libevent",
8414 "cronet_aml_third_party_modp_b64_modp_b64",
8415 "cronet_aml_third_party_protobuf_protobuf_lite",
8416 ],
8417 generated_headers: [
8418 "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
8419 ],
8420 defaults: [
8421 "cronet_aml_defaults",
8422 ],
8423 cflags: [
8424 "-DANDROID",
8425 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8426 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8427 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8428 "-DDCHECK_ALWAYS_ON=1",
8429 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
8430 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
8431 "-DGOOGLE_PROTOBUF_NO_RTTI",
8432 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
8433 "-DHAVE_PTHREAD",
8434 "-DHAVE_SYS_UIO_H",
8435 "-D_DEBUG",
8436 "-D_GNU_SOURCE",
8437 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8438 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8439 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8440 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8441 "-D__STDC_CONSTANT_MACROS",
8442 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008443 ],
8444 local_include_dirs: [
8445 "./",
8446 "buildtools/third_party/libc++/",
8447 "buildtools/third_party/libc++/trunk/include",
8448 "buildtools/third_party/libc++abi/trunk/include",
8449 "third_party/abseil-cpp/",
8450 "third_party/boringssl/src/include/",
8451 "third_party/protobuf/src/",
8452 ],
8453 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008454 target: {
8455 android_x86: {
8456 cflags: [
8457 "-msse3",
8458 ],
8459 },
8460 android_x86_64: {
8461 cflags: [
8462 "-msse3",
8463 ],
8464 },
8465 },
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008466}
8467
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008468// GN: //components/prefs/android:jni_headers__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008469cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008470 name: "cronet_aml_components_prefs_android_jni_headers__android_arm",
8471 srcs: [
8472 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
8473 ],
8474 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
8475 "long " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008476 "--output_dir " +
8477 "$(genDir)/components/prefs/android/jni_headers " +
8478 "--includes " +
8479 "base/android/jni_generator/jni_generator_helper.h " +
8480 "--use_proxy_hash " +
8481 "--output_name " +
8482 "PrefService_jni.h " +
8483 "--input_file " +
8484 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java)",
8485 out: [
8486 "components/prefs/android/jni_headers/PrefService_jni.h",
8487 ],
8488 tool_files: [
8489 "base/android/jni_generator/android_jar.classes",
8490 "base/android/jni_generator/jni_generator.py",
8491 "build/android/gyp/util/__init__.py",
8492 "build/android/gyp/util/build_utils.py",
8493 "build/gn_helpers.py",
8494 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008495 apex_available: [
8496 "com.android.tethering",
8497 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008498}
8499
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008500// GN: //components/prefs/android:jni_headers__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008501cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008502 name: "cronet_aml_components_prefs_android_jni_headers__android_arm64",
8503 srcs: [
8504 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
8505 ],
8506 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
8507 "long " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008508 "--output_dir " +
8509 "$(genDir)/components/prefs/android/jni_headers " +
8510 "--includes " +
8511 "base/android/jni_generator/jni_generator_helper.h " +
8512 "--use_proxy_hash " +
8513 "--output_name " +
8514 "PrefService_jni.h " +
8515 "--input_file " +
8516 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java)",
8517 out: [
8518 "components/prefs/android/jni_headers/PrefService_jni.h",
8519 ],
8520 tool_files: [
8521 "base/android/jni_generator/android_jar.classes",
8522 "base/android/jni_generator/jni_generator.py",
8523 "build/android/gyp/util/__init__.py",
8524 "build/android/gyp/util/build_utils.py",
8525 "build/gn_helpers.py",
8526 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008527 apex_available: [
8528 "com.android.tethering",
8529 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008530}
8531
Patrick Rohr98600682022-11-18 18:29:15 -08008532// GN: //components/prefs/android:jni_headers__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008533cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08008534 name: "cronet_aml_components_prefs_android_jni_headers__android_x86",
8535 srcs: [
8536 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
8537 ],
8538 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
8539 "long " +
Patrick Rohr98600682022-11-18 18:29:15 -08008540 "--output_dir " +
8541 "$(genDir)/components/prefs/android/jni_headers " +
8542 "--includes " +
8543 "base/android/jni_generator/jni_generator_helper.h " +
8544 "--use_proxy_hash " +
8545 "--output_name " +
8546 "PrefService_jni.h " +
8547 "--input_file " +
8548 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java)",
8549 out: [
8550 "components/prefs/android/jni_headers/PrefService_jni.h",
8551 ],
8552 tool_files: [
8553 "base/android/jni_generator/android_jar.classes",
8554 "base/android/jni_generator/jni_generator.py",
8555 "build/android/gyp/util/__init__.py",
8556 "build/android/gyp/util/build_utils.py",
8557 "build/gn_helpers.py",
8558 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008559 apex_available: [
8560 "com.android.tethering",
8561 ],
Patrick Rohr98600682022-11-18 18:29:15 -08008562}
8563
8564// GN: //components/prefs/android:jni_headers__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008565cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08008566 name: "cronet_aml_components_prefs_android_jni_headers__android_x86_64",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008567 srcs: [
8568 "components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java",
8569 ],
8570 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
8571 "long " +
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008572 "--output_dir " +
8573 "$(genDir)/components/prefs/android/jni_headers " +
8574 "--includes " +
8575 "base/android/jni_generator/jni_generator_helper.h " +
8576 "--use_proxy_hash " +
8577 "--output_name " +
8578 "PrefService_jni.h " +
8579 "--input_file " +
8580 "$(location components/prefs/android/java/src/org/chromium/components/prefs/PrefService.java)",
8581 out: [
8582 "components/prefs/android/jni_headers/PrefService_jni.h",
8583 ],
8584 tool_files: [
8585 "base/android/jni_generator/android_jar.classes",
8586 "base/android/jni_generator/jni_generator.py",
8587 "build/android/gyp/util/__init__.py",
8588 "build/android/gyp/util/build_utils.py",
8589 "build/gn_helpers.py",
8590 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008591 apex_available: [
8592 "com.android.tethering",
8593 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008594}
8595
8596// GN: //components/prefs:prefs
8597cc_library_static {
8598 name: "cronet_aml_components_prefs_prefs",
8599 srcs: [
8600 "components/prefs/android/pref_service_android.cc",
8601 "components/prefs/command_line_pref_store.cc",
8602 "components/prefs/default_pref_store.cc",
8603 "components/prefs/in_memory_pref_store.cc",
8604 "components/prefs/json_pref_store.cc",
8605 "components/prefs/overlay_user_pref_store.cc",
8606 "components/prefs/persistent_pref_store.cc",
8607 "components/prefs/pref_change_registrar.cc",
8608 "components/prefs/pref_member.cc",
8609 "components/prefs/pref_notifier_impl.cc",
8610 "components/prefs/pref_registry.cc",
8611 "components/prefs/pref_registry_simple.cc",
8612 "components/prefs/pref_service.cc",
8613 "components/prefs/pref_service_factory.cc",
8614 "components/prefs/pref_store.cc",
8615 "components/prefs/pref_value_map.cc",
8616 "components/prefs/pref_value_store.cc",
8617 "components/prefs/scoped_user_pref_update.cc",
8618 "components/prefs/segregated_pref_store.cc",
8619 "components/prefs/value_map_pref_store.cc",
8620 "components/prefs/writeable_pref_store.cc",
8621 ],
8622 shared_libs: [
8623 "libandroid",
8624 "liblog",
8625 ],
8626 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08008627 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008628 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08008629 "cronet_aml_base_base_static",
8630 "cronet_aml_base_third_party_double_conversion_double_conversion",
8631 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +09008632 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08008633 "cronet_aml_third_party_icu_icui18n",
8634 "cronet_aml_third_party_icu_icuuc_private",
8635 "cronet_aml_third_party_libevent_libevent",
8636 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008637 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008638 defaults: [
8639 "cronet_aml_defaults",
8640 ],
8641 cflags: [
8642 "-DANDROID",
8643 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8644 "-DCOMPONENTS_PREFS_IMPLEMENTATION",
8645 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8646 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8647 "-DDCHECK_ALWAYS_ON=1",
8648 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
8649 "-DHAVE_SYS_UIO_H",
8650 "-D_DEBUG",
8651 "-D_GNU_SOURCE",
8652 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8653 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8654 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8655 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8656 "-D__STDC_CONSTANT_MACROS",
8657 "-D__STDC_FORMAT_MACROS",
8658 ],
8659 local_include_dirs: [
8660 "./",
8661 "buildtools/third_party/libc++/",
8662 "buildtools/third_party/libc++/trunk/include",
8663 "buildtools/third_party/libc++abi/trunk/include",
8664 "third_party/abseil-cpp/",
8665 "third_party/boringssl/src/include/",
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008666 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +09008667 cpp_std: "c++20",
Mohannad Farrag631443e2022-11-21 16:17:01 +00008668 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008669 android_arm: {
8670 generated_headers: [
8671 "cronet_aml_base_debugging_buildflags__android_arm",
8672 "cronet_aml_base_logging_buildflags__android_arm",
8673 "cronet_aml_build_chromeos_buildflags__android_arm",
8674 "cronet_aml_components_prefs_android_jni_headers__android_arm",
8675 ],
8676 export_generated_headers: [
8677 "cronet_aml_base_debugging_buildflags__android_arm",
8678 "cronet_aml_base_logging_buildflags__android_arm",
8679 "cronet_aml_build_chromeos_buildflags__android_arm",
8680 "cronet_aml_components_prefs_android_jni_headers__android_arm",
8681 ],
8682 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008683 android_arm64: {
8684 generated_headers: [
8685 "cronet_aml_base_debugging_buildflags__android_arm64",
8686 "cronet_aml_base_logging_buildflags__android_arm64",
8687 "cronet_aml_build_chromeos_buildflags__android_arm64",
8688 "cronet_aml_components_prefs_android_jni_headers__android_arm64",
8689 ],
8690 export_generated_headers: [
8691 "cronet_aml_base_debugging_buildflags__android_arm64",
8692 "cronet_aml_base_logging_buildflags__android_arm64",
8693 "cronet_aml_build_chromeos_buildflags__android_arm64",
8694 "cronet_aml_components_prefs_android_jni_headers__android_arm64",
8695 ],
8696 },
Mohannad Farrag631443e2022-11-21 16:17:01 +00008697 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008698 cflags: [
8699 "-msse3",
8700 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00008701 generated_headers: [
8702 "cronet_aml_base_debugging_buildflags__android_x86",
8703 "cronet_aml_base_logging_buildflags__android_x86",
8704 "cronet_aml_build_chromeos_buildflags__android_x86",
8705 "cronet_aml_components_prefs_android_jni_headers__android_x86",
8706 ],
8707 export_generated_headers: [
8708 "cronet_aml_base_debugging_buildflags__android_x86",
8709 "cronet_aml_base_logging_buildflags__android_x86",
8710 "cronet_aml_build_chromeos_buildflags__android_x86",
8711 "cronet_aml_components_prefs_android_jni_headers__android_x86",
8712 ],
8713 },
8714 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008715 cflags: [
8716 "-msse3",
8717 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00008718 generated_headers: [
8719 "cronet_aml_base_debugging_buildflags__android_x86_64",
8720 "cronet_aml_base_logging_buildflags__android_x86_64",
8721 "cronet_aml_build_chromeos_buildflags__android_x86_64",
8722 "cronet_aml_components_prefs_android_jni_headers__android_x86_64",
8723 ],
8724 export_generated_headers: [
8725 "cronet_aml_base_debugging_buildflags__android_x86_64",
8726 "cronet_aml_base_logging_buildflags__android_x86_64",
8727 "cronet_aml_build_chromeos_buildflags__android_x86_64",
8728 "cronet_aml_components_prefs_android_jni_headers__android_x86_64",
8729 ],
8730 },
8731 },
Patrick Rohrcb035942022-11-01 12:12:52 -07008732}
8733
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008734// GN: //crypto:buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008735cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008736 name: "cronet_aml_crypto_buildflags__android_arm",
8737 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
8738 "$(location build/write_buildflag_header.py) --output " +
8739 "$(out) " +
8740 "--rulename " +
8741 "//crypto:buildflags " +
8742 "--gen-dir " +
8743 ". " +
8744 "--definitions " +
8745 "/dev/stdin",
8746 out: [
8747 "crypto/crypto_buildflags.h",
8748 ],
8749 tool_files: [
8750 "build/write_buildflag_header.py",
8751 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008752 apex_available: [
8753 "com.android.tethering",
8754 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008755}
8756
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008757// GN: //crypto:buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008758cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008759 name: "cronet_aml_crypto_buildflags__android_arm64",
8760 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
8761 "$(location build/write_buildflag_header.py) --output " +
8762 "$(out) " +
8763 "--rulename " +
8764 "//crypto:buildflags " +
8765 "--gen-dir " +
8766 ". " +
8767 "--definitions " +
8768 "/dev/stdin",
8769 out: [
8770 "crypto/crypto_buildflags.h",
8771 ],
8772 tool_files: [
8773 "build/write_buildflag_header.py",
8774 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008775 apex_available: [
8776 "com.android.tethering",
8777 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008778}
8779
Patrick Rohr98600682022-11-18 18:29:15 -08008780// GN: //crypto:buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008781cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08008782 name: "cronet_aml_crypto_buildflags__android_x86",
Motomu Utsumi65501182022-11-18 15:26:35 +09008783 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
Patrick Rohrcb035942022-11-01 12:12:52 -07008784 "$(location build/write_buildflag_header.py) --output " +
8785 "$(out) " +
8786 "--rulename " +
8787 "//crypto:buildflags " +
8788 "--gen-dir " +
8789 ". " +
8790 "--definitions " +
8791 "/dev/stdin",
8792 out: [
8793 "crypto/crypto_buildflags.h",
8794 ],
8795 tool_files: [
8796 "build/write_buildflag_header.py",
8797 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008798 apex_available: [
8799 "com.android.tethering",
8800 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07008801}
8802
Patrick Rohr98600682022-11-18 18:29:15 -08008803// GN: //crypto:buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00008804cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08008805 name: "cronet_aml_crypto_buildflags__android_x86_64",
8806 cmd: "echo '--flags USE_NSS_CERTS=\"false\"' | " +
8807 "$(location build/write_buildflag_header.py) --output " +
8808 "$(out) " +
8809 "--rulename " +
8810 "//crypto:buildflags " +
8811 "--gen-dir " +
8812 ". " +
8813 "--definitions " +
8814 "/dev/stdin",
8815 out: [
8816 "crypto/crypto_buildflags.h",
8817 ],
8818 tool_files: [
8819 "build/write_buildflag_header.py",
8820 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008821 apex_available: [
8822 "com.android.tethering",
8823 ],
Patrick Rohr98600682022-11-18 18:29:15 -08008824}
8825
Patrick Rohrcb035942022-11-01 12:12:52 -07008826// GN: //crypto:crypto
8827cc_library_static {
8828 name: "cronet_aml_crypto_crypto",
8829 srcs: [
8830 "crypto/aead.cc",
8831 "crypto/ec_private_key.cc",
8832 "crypto/ec_signature_creator.cc",
8833 "crypto/ec_signature_creator_impl.cc",
8834 "crypto/encryptor.cc",
8835 "crypto/hkdf.cc",
8836 "crypto/hmac.cc",
8837 "crypto/openssl_util.cc",
8838 "crypto/p224_spake.cc",
8839 "crypto/random.cc",
8840 "crypto/rsa_private_key.cc",
8841 "crypto/secure_hash.cc",
8842 "crypto/secure_util.cc",
8843 "crypto/sha2.cc",
8844 "crypto/signature_creator.cc",
8845 "crypto/signature_verifier.cc",
8846 "crypto/symmetric_key.cc",
8847 "crypto/unexportable_key.cc",
8848 "crypto/unexportable_key_metrics.cc",
8849 ],
Patrick Rohr0913f0b2022-12-13 09:13:20 -08008850 shared_libs: [
8851 "libandroid",
8852 "liblog",
8853 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07008854 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08008855 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -07008856 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08008857 "cronet_aml_base_base_static",
8858 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -07008859 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +09008860 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -08008861 "cronet_aml_third_party_icu_icui18n",
8862 "cronet_aml_third_party_icu_icuuc_private",
8863 "cronet_aml_third_party_libevent_libevent",
8864 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -07008865 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07008866 defaults: [
8867 "cronet_aml_defaults",
8868 ],
8869 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -08008870 "-DANDROID",
8871 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcb035942022-11-01 12:12:52 -07008872 "-DCRYPTO_IMPLEMENTATION",
8873 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8874 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8875 "-DDCHECK_ALWAYS_ON=1",
8876 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -08008877 "-DHAVE_SYS_UIO_H",
Patrick Rohrcb035942022-11-01 12:12:52 -07008878 "-D_DEBUG",
8879 "-D_GNU_SOURCE",
8880 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8881 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8882 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8883 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8884 "-D__STDC_CONSTANT_MACROS",
8885 "-D__STDC_FORMAT_MACROS",
8886 ],
8887 local_include_dirs: [
8888 "./",
8889 "buildtools/third_party/libc++/",
8890 "buildtools/third_party/libc++/trunk/include",
8891 "buildtools/third_party/libc++abi/trunk/include",
8892 "third_party/abseil-cpp/",
8893 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -07008894 ],
8895 cpp_std: "c++20",
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08008896 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008897 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008898 generated_headers: [
8899 "cronet_aml_crypto_buildflags__android_arm",
8900 ],
8901 export_generated_headers: [
8902 "cronet_aml_crypto_buildflags__android_arm",
8903 ],
8904 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008905 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09008906 generated_headers: [
8907 "cronet_aml_crypto_buildflags__android_arm64",
8908 ],
8909 export_generated_headers: [
8910 "cronet_aml_crypto_buildflags__android_arm64",
8911 ],
8912 },
Motomu Utsumi65501182022-11-18 15:26:35 +09008913 android_x86: {
8914 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008915 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +09008916 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00008917 generated_headers: [
8918 "cronet_aml_crypto_buildflags__android_x86",
8919 ],
8920 export_generated_headers: [
8921 "cronet_aml_crypto_buildflags__android_x86",
8922 ],
Motomu Utsumi65501182022-11-18 15:26:35 +09008923 },
Motomu Utsumif0f47682022-11-17 22:34:39 +09008924 android_x86_64: {
8925 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09008926 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +09008927 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +00008928 generated_headers: [
8929 "cronet_aml_crypto_buildflags__android_x86_64",
8930 ],
8931 export_generated_headers: [
8932 "cronet_aml_crypto_buildflags__android_x86_64",
8933 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +09008934 },
Patrick Rohrc8f41cd2022-11-15 22:46:10 -08008935 },
Patrick Rohrcb035942022-11-01 12:12:52 -07008936}
8937
Motomu Utsumifcac4852022-10-26 19:28:31 +09008938// GN: //gn:default_deps
8939cc_defaults {
8940 name: "cronet_aml_defaults",
8941 cflags: [
Patrick Rohr3ce74772022-11-11 14:19:58 -08008942 "-DGOOGLE_PROTOBUF_NO_RTTI",
Motomu Utsumifcac4852022-10-26 19:28:31 +09008943 "-O2",
Motomu Utsumiba020942022-11-14 15:15:41 +09008944 "-Wno-ambiguous-reversed-operator",
Mohannad Farragd98a96d2022-11-10 14:56:19 +00008945 "-Wno-deprecated-non-prototype",
Motomu Utsumifcac4852022-10-26 19:28:31 +09008946 "-Wno-error=return-type",
Patrick Rohr5c700022022-11-08 19:33:07 -08008947 "-Wno-macro-redefined",
Patrick Rohr98065152022-10-31 14:49:58 -07008948 "-Wno-missing-field-initializers",
Patrick Rohr3a1ec1d2022-10-31 13:30:17 -07008949 "-Wno-non-virtual-dtor",
Mohannad Farrag54d52442022-11-21 16:27:02 +00008950 "-Wno-null-pointer-subtraction",
Motomu Utsumifcac4852022-10-26 19:28:31 +09008951 "-Wno-sign-compare",
8952 "-Wno-sign-promo",
Motomu Utsumib1ec8782022-11-14 15:25:57 +09008953 "-Wno-unreachable-code-loop-increment",
Motomu Utsumifcac4852022-10-26 19:28:31 +09008954 "-Wno-unused-parameter",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008955 "-fPIC",
Motomu Utsumifcac4852022-10-26 19:28:31 +09008956 "-fvisibility=hidden",
8957 ],
Patrick Rohr61f2acb2022-10-31 14:08:18 -07008958 stl: "none",
Motomu Utsumi8ca12412022-11-30 16:27:30 +09008959 apex_available: [
8960 "com.android.tethering",
8961 ],
8962 min_sdk_version: "29",
Patrick Rohr5446df82022-11-18 14:54:55 -08008963 target: {
Patrick Rohrc03f1bb2022-11-18 16:13:17 -08008964 android: {
8965 header_libs: [
8966 "jni_headers",
8967 "media_ndk_headers",
8968 ],
8969 },
Patrick Rohr5446df82022-11-18 14:54:55 -08008970 host: {
8971 cflags: [
8972 "-UANDROID",
8973 ],
8974 },
8975 },
Motomu Utsumifcac4852022-10-26 19:28:31 +09008976}
8977
Patrick Rohrcb035942022-11-01 12:12:52 -07008978// GN: //ipc:param_traits
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008979cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07008980 name: "cronet_aml_ipc_param_traits",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00008981 defaults: [
8982 "cronet_aml_defaults",
8983 ],
8984 cflags: [
8985 "-DANDROID",
8986 "-DANDROID_NDK_VERSION_ROLL=r23_1",
8987 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
8988 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
8989 "-DDCHECK_ALWAYS_ON=1",
8990 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
8991 "-DHAVE_SYS_UIO_H",
8992 "-D_DEBUG",
8993 "-D_GNU_SOURCE",
8994 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
8995 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
8996 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
8997 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
8998 "-D__STDC_CONSTANT_MACROS",
8999 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009000 ],
9001 local_include_dirs: [
9002 "./",
9003 "buildtools/third_party/libc++/",
9004 "buildtools/third_party/libc++/trunk/include",
9005 "buildtools/third_party/libc++abi/trunk/include",
9006 ],
9007 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009008 target: {
9009 android_x86: {
9010 cflags: [
9011 "-msse3",
9012 ],
9013 },
9014 android_x86_64: {
9015 cflags: [
9016 "-msse3",
9017 ],
9018 },
9019 },
Patrick Rohrcb035942022-11-01 12:12:52 -07009020}
9021
Patrick Rohrb18aca22022-11-04 15:07:32 -07009022// GN: //gn:java
9023java_library {
9024 name: "cronet_aml_java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00009025 srcs: [
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00009026 ":cronet_aml_base_base_android_java_enums_srcjar",
9027 ":cronet_aml_base_java_features_srcjar",
9028 ":cronet_aml_base_java_switches_srcjar",
9029 ":cronet_aml_build_android_build_config_gen",
9030 ":cronet_aml_build_android_native_libraries_gen",
9031 ":cronet_aml_components_cronet_android_cronet_jni_registration__java",
9032 ":cronet_aml_components_cronet_android_http_cache_type_java",
9033 ":cronet_aml_components_cronet_android_implementation_api_version",
9034 ":cronet_aml_components_cronet_android_integrated_mode_state",
9035 ":cronet_aml_components_cronet_android_interface_api_version",
9036 ":cronet_aml_components_cronet_android_load_states_list",
9037 ":cronet_aml_components_cronet_android_net_idempotency_java",
9038 ":cronet_aml_components_cronet_android_net_request_priority_java",
9039 ":cronet_aml_components_cronet_android_network_quality_observation_source_java",
9040 ":cronet_aml_components_cronet_android_rtt_throughput_values_java",
9041 ":cronet_aml_components_cronet_android_url_request_error_java",
9042 ":cronet_aml_net_android_net_android_java_enums_srcjar",
9043 ":cronet_aml_net_android_net_errors_java",
9044 ":cronet_aml_net_effective_connection_type_java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00009045 "base/android/java/src/org/chromium/base/ActivityState.java",
9046 "base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
9047 "base/android/java/src/org/chromium/base/ApkAssets.java",
9048 "base/android/java/src/org/chromium/base/ApplicationStatus.java",
9049 "base/android/java/src/org/chromium/base/BaseFeatureList.java",
9050 "base/android/java/src/org/chromium/base/BuildInfo.java",
9051 "base/android/java/src/org/chromium/base/BundleUtils.java",
9052 "base/android/java/src/org/chromium/base/ByteArrayGenerator.java",
9053 "base/android/java/src/org/chromium/base/Callback.java",
9054 "base/android/java/src/org/chromium/base/CallbackController.java",
9055 "base/android/java/src/org/chromium/base/CollectionUtil.java",
9056 "base/android/java/src/org/chromium/base/CommandLine.java",
9057 "base/android/java/src/org/chromium/base/CommandLineInitUtil.java",
9058 "base/android/java/src/org/chromium/base/Consumer.java",
9059 "base/android/java/src/org/chromium/base/ContentUriUtils.java",
9060 "base/android/java/src/org/chromium/base/ContextUtils.java",
9061 "base/android/java/src/org/chromium/base/CpuFeatures.java",
9062 "base/android/java/src/org/chromium/base/DiscardableReferencePool.java",
9063 "base/android/java/src/org/chromium/base/EarlyTraceEvent.java",
9064 "base/android/java/src/org/chromium/base/EventLog.java",
9065 "base/android/java/src/org/chromium/base/FeatureList.java",
9066 "base/android/java/src/org/chromium/base/Features.java",
9067 "base/android/java/src/org/chromium/base/FieldTrialList.java",
9068 "base/android/java/src/org/chromium/base/FileUtils.java",
9069 "base/android/java/src/org/chromium/base/Function.java",
9070 "base/android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
9071 "base/android/java/src/org/chromium/base/IntStringCallback.java",
9072 "base/android/java/src/org/chromium/base/IntentUtils.java",
9073 "base/android/java/src/org/chromium/base/JNIUtils.java",
9074 "base/android/java/src/org/chromium/base/JavaExceptionReporter.java",
9075 "base/android/java/src/org/chromium/base/JavaHandlerThread.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00009076 "base/android/java/src/org/chromium/base/JniException.java",
9077 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00009078 "base/android/java/src/org/chromium/base/LifetimeAssert.java",
9079 "base/android/java/src/org/chromium/base/LocaleUtils.java",
9080 "base/android/java/src/org/chromium/base/Log.java",
9081 "base/android/java/src/org/chromium/base/MathUtils.java",
9082 "base/android/java/src/org/chromium/base/MemoryPressureListener.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00009083 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00009084 "base/android/java/src/org/chromium/base/ObserverList.java",
9085 "base/android/java/src/org/chromium/base/PackageManagerUtils.java",
9086 "base/android/java/src/org/chromium/base/PackageUtils.java",
9087 "base/android/java/src/org/chromium/base/PathService.java",
9088 "base/android/java/src/org/chromium/base/PathUtils.java",
9089 "base/android/java/src/org/chromium/base/PiiElider.java",
9090 "base/android/java/src/org/chromium/base/PowerMonitor.java",
9091 "base/android/java/src/org/chromium/base/PowerMonitorForQ.java",
9092 "base/android/java/src/org/chromium/base/Predicate.java",
9093 "base/android/java/src/org/chromium/base/Promise.java",
9094 "base/android/java/src/org/chromium/base/RadioUtils.java",
9095 "base/android/java/src/org/chromium/base/StreamUtil.java",
9096 "base/android/java/src/org/chromium/base/StrictModeContext.java",
9097 "base/android/java/src/org/chromium/base/SysUtils.java",
9098 "base/android/java/src/org/chromium/base/ThreadUtils.java",
9099 "base/android/java/src/org/chromium/base/TimeUtils.java",
9100 "base/android/java/src/org/chromium/base/TimezoneUtils.java",
9101 "base/android/java/src/org/chromium/base/TraceEvent.java",
9102 "base/android/java/src/org/chromium/base/UnguessableToken.java",
9103 "base/android/java/src/org/chromium/base/UnownedUserData.java",
9104 "base/android/java/src/org/chromium/base/UnownedUserDataHost.java",
9105 "base/android/java/src/org/chromium/base/UnownedUserDataKey.java",
9106 "base/android/java/src/org/chromium/base/UserData.java",
9107 "base/android/java/src/org/chromium/base/UserDataHost.java",
9108 "base/android/java/src/org/chromium/base/WrappedClassLoader.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00009109 "base/android/java/src/org/chromium/base/annotations/AccessedByNative.java",
9110 "base/android/java/src/org/chromium/base/annotations/CalledByNative.java",
9111 "base/android/java/src/org/chromium/base/annotations/CalledByNativeForTesting.java",
9112 "base/android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.java",
9113 "base/android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
9114 "base/android/java/src/org/chromium/base/annotations/JNINamespace.java",
9115 "base/android/java/src/org/chromium/base/annotations/JniIgnoreNatives.java",
9116 "base/android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.java",
9117 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00009118 "base/android/java/src/org/chromium/base/compat/ApiHelperForM.java",
9119 "base/android/java/src/org/chromium/base/compat/ApiHelperForN.java",
9120 "base/android/java/src/org/chromium/base/compat/ApiHelperForO.java",
9121 "base/android/java/src/org/chromium/base/compat/ApiHelperForOMR1.java",
9122 "base/android/java/src/org/chromium/base/compat/ApiHelperForP.java",
9123 "base/android/java/src/org/chromium/base/compat/ApiHelperForQ.java",
9124 "base/android/java/src/org/chromium/base/compat/ApiHelperForR.java",
9125 "base/android/java/src/org/chromium/base/compat/ApiHelperForS.java",
9126 "base/android/java/src/org/chromium/base/jank_tracker/DummyJankTracker.java",
9127 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetrics.java",
9128 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsListener.java",
9129 "base/android/java/src/org/chromium/base/jank_tracker/FrameMetricsStore.java",
9130 "base/android/java/src/org/chromium/base/jank_tracker/JankActivityTracker.java",
9131 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricCalculator.java",
9132 "base/android/java/src/org/chromium/base/jank_tracker/JankMetricUMARecorder.java",
9133 "base/android/java/src/org/chromium/base/jank_tracker/JankMetrics.java",
9134 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingRunnable.java",
9135 "base/android/java/src/org/chromium/base/jank_tracker/JankReportingScheduler.java",
9136 "base/android/java/src/org/chromium/base/jank_tracker/JankScenario.java",
9137 "base/android/java/src/org/chromium/base/jank_tracker/JankTracker.java",
9138 "base/android/java/src/org/chromium/base/jank_tracker/JankTrackerImpl.java",
9139 "base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
9140 "base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
9141 "base/android/java/src/org/chromium/base/library_loader/LibraryPrefetcher.java",
9142 "base/android/java/src/org/chromium/base/library_loader/Linker.java",
9143 "base/android/java/src/org/chromium/base/library_loader/LinkerJni.java",
9144 "base/android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
9145 "base/android/java/src/org/chromium/base/library_loader/ModernLinker.java",
9146 "base/android/java/src/org/chromium/base/library_loader/ModernLinkerJni.java",
9147 "base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java",
9148 "base/android/java/src/org/chromium/base/library_loader/ProcessInitException.java",
9149 "base/android/java/src/org/chromium/base/lifetime/DestroyChecker.java",
9150 "base/android/java/src/org/chromium/base/lifetime/Destroyable.java",
9151 "base/android/java/src/org/chromium/base/memory/JavaHeapDumpGenerator.java",
9152 "base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java",
9153 "base/android/java/src/org/chromium/base/memory/MemoryPressureMonitor.java",
9154 "base/android/java/src/org/chromium/base/memory/MemoryPressureUma.java",
9155 "base/android/java/src/org/chromium/base/memory/MemoryPurgeManager.java",
9156 "base/android/java/src/org/chromium/base/metrics/CachingUmaRecorder.java",
9157 "base/android/java/src/org/chromium/base/metrics/NativeUmaRecorder.java",
9158 "base/android/java/src/org/chromium/base/metrics/NoopUmaRecorder.java",
9159 "base/android/java/src/org/chromium/base/metrics/RecordHistogram.java",
9160 "base/android/java/src/org/chromium/base/metrics/RecordUserAction.java",
9161 "base/android/java/src/org/chromium/base/metrics/ScopedSysTraceEvent.java",
9162 "base/android/java/src/org/chromium/base/metrics/StatisticsRecorderAndroid.java",
9163 "base/android/java/src/org/chromium/base/metrics/TimingMetric.java",
9164 "base/android/java/src/org/chromium/base/metrics/UmaRecorder.java",
9165 "base/android/java/src/org/chromium/base/metrics/UmaRecorderHolder.java",
9166 "base/android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.java",
9167 "base/android/java/src/org/chromium/base/process_launcher/BindService.java",
9168 "base/android/java/src/org/chromium/base/process_launcher/ChildConnectionAllocator.java",
9169 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConnection.java",
9170 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessConstants.java",
9171 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessLauncher.java",
9172 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessService.java",
9173 "base/android/java/src/org/chromium/base/process_launcher/ChildProcessServiceDelegate.java",
9174 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnection.java",
9175 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionDelegate.java",
9176 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionFactory.java",
9177 "base/android/java/src/org/chromium/base/process_launcher/ChildServiceConnectionImpl.java",
9178 "base/android/java/src/org/chromium/base/process_launcher/FileDescriptorInfo.java",
Motomu Utsumi6e514122022-12-05 17:51:40 +09009179 "base/android/java/src/org/chromium/base/process_launcher/IChildProcessService.aidl",
9180 "base/android/java/src/org/chromium/base/process_launcher/IParentProcess.aidl",
Mohannad Farraga23114a2022-11-22 17:47:51 +00009181 "base/android/java/src/org/chromium/base/supplier/BooleanSupplier.java",
9182 "base/android/java/src/org/chromium/base/supplier/DestroyableObservableSupplier.java",
9183 "base/android/java/src/org/chromium/base/supplier/ObservableSupplier.java",
9184 "base/android/java/src/org/chromium/base/supplier/ObservableSupplierImpl.java",
9185 "base/android/java/src/org/chromium/base/supplier/OneShotCallback.java",
9186 "base/android/java/src/org/chromium/base/supplier/OneshotSupplier.java",
9187 "base/android/java/src/org/chromium/base/supplier/OneshotSupplierImpl.java",
9188 "base/android/java/src/org/chromium/base/supplier/Supplier.java",
9189 "base/android/java/src/org/chromium/base/supplier/UnownedUserDataSupplier.java",
9190 "base/android/java/src/org/chromium/base/task/AsyncTask.java",
9191 "base/android/java/src/org/chromium/base/task/BackgroundOnlyAsyncTask.java",
9192 "base/android/java/src/org/chromium/base/task/ChainedTasks.java",
9193 "base/android/java/src/org/chromium/base/task/ChoreographerTaskRunner.java",
9194 "base/android/java/src/org/chromium/base/task/ChromeThreadPoolExecutor.java",
9195 "base/android/java/src/org/chromium/base/task/DefaultTaskExecutor.java",
9196 "base/android/java/src/org/chromium/base/task/PostTask.java",
9197 "base/android/java/src/org/chromium/base/task/SequencedTaskRunner.java",
9198 "base/android/java/src/org/chromium/base/task/SequencedTaskRunnerImpl.java",
9199 "base/android/java/src/org/chromium/base/task/SerialExecutor.java",
9200 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunner.java",
9201 "base/android/java/src/org/chromium/base/task/SingleThreadTaskRunnerImpl.java",
9202 "base/android/java/src/org/chromium/base/task/TaskExecutor.java",
9203 "base/android/java/src/org/chromium/base/task/TaskRunner.java",
9204 "base/android/java/src/org/chromium/base/task/TaskRunnerImpl.java",
9205 "base/android/java/src/org/chromium/base/task/TaskTraits.java",
9206 "base/android/java/src/org/chromium/base/task/TaskTraitsExtensionDescriptor.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00009207 "build/android/java/src/org/chromium/build/annotations/AlwaysInline.java",
9208 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
9209 "build/android/java/src/org/chromium/build/annotations/DoNotClassMerge.java",
9210 "build/android/java/src/org/chromium/build/annotations/DoNotInline.java",
9211 "build/android/java/src/org/chromium/build/annotations/IdentifierNameString.java",
9212 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
9213 "build/android/java/src/org/chromium/build/annotations/MockedInTests.java",
9214 "build/android/java/src/org/chromium/build/annotations/UsedByReflection.java",
Mohannad Farraga23114a2022-11-22 17:47:51 +00009215 "components/cronet/android/api/src/org/chromium/net/BidirectionalStream.java",
9216 "components/cronet/android/api/src/org/chromium/net/CallbackException.java",
9217 "components/cronet/android/api/src/org/chromium/net/CronetEngine.java",
9218 "components/cronet/android/api/src/org/chromium/net/CronetException.java",
9219 "components/cronet/android/api/src/org/chromium/net/CronetProvider.java",
9220 "components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java",
9221 "components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java",
9222 "components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java",
9223 "components/cronet/android/api/src/org/chromium/net/ICronetEngineBuilder.java",
9224 "components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java",
9225 "components/cronet/android/api/src/org/chromium/net/NetworkException.java",
9226 "components/cronet/android/api/src/org/chromium/net/NetworkQualityRttListener.java",
9227 "components/cronet/android/api/src/org/chromium/net/NetworkQualityThroughputListener.java",
9228 "components/cronet/android/api/src/org/chromium/net/QuicException.java",
9229 "components/cronet/android/api/src/org/chromium/net/RequestFinishedInfo.java",
9230 "components/cronet/android/api/src/org/chromium/net/UploadDataProvider.java",
9231 "components/cronet/android/api/src/org/chromium/net/UploadDataProviders.java",
9232 "components/cronet/android/api/src/org/chromium/net/UploadDataSink.java",
9233 "components/cronet/android/api/src/org/chromium/net/UrlRequest.java",
9234 "components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java",
9235 "components/cronet/android/api/src/org/chromium/net/apihelpers/ByteArrayCronetCallback.java",
9236 "components/cronet/android/api/src/org/chromium/net/apihelpers/ContentTypeParametersParser.java",
9237 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetRequestCompletionListener.java",
9238 "components/cronet/android/api/src/org/chromium/net/apihelpers/CronetResponse.java",
9239 "components/cronet/android/api/src/org/chromium/net/apihelpers/ImplicitFlowControlCallback.java",
9240 "components/cronet/android/api/src/org/chromium/net/apihelpers/InMemoryTransformCronetCallback.java",
9241 "components/cronet/android/api/src/org/chromium/net/apihelpers/JsonCronetCallback.java",
9242 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandler.java",
9243 "components/cronet/android/api/src/org/chromium/net/apihelpers/RedirectHandlers.java",
9244 "components/cronet/android/api/src/org/chromium/net/apihelpers/StringCronetCallback.java",
9245 "components/cronet/android/api/src/org/chromium/net/apihelpers/UploadDataProviders.java",
9246 "components/cronet/android/api/src/org/chromium/net/apihelpers/UrlRequestCallbacks.java",
9247 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetController.java",
9248 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetEngine.java",
9249 "components/cronet/android/fake/java/org/chromium/net/test/FakeCronetProvider.java",
9250 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlRequest.java",
9251 "components/cronet/android/fake/java/org/chromium/net/test/FakeUrlResponse.java",
9252 "components/cronet/android/fake/java/org/chromium/net/test/ResponseMatcher.java",
9253 "components/cronet/android/fake/java/org/chromium/net/test/UrlResponseMatcher.java",
9254 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamBuilderImpl.java",
9255 "components/cronet/android/java/src/org/chromium/net/impl/BidirectionalStreamNetworkException.java",
9256 "components/cronet/android/java/src/org/chromium/net/impl/CallbackExceptionImpl.java",
9257 "components/cronet/android/java/src/org/chromium/net/impl/CronetBidirectionalStream.java",
9258 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBase.java",
9259 "components/cronet/android/java/src/org/chromium/net/impl/CronetEngineBuilderImpl.java",
9260 "components/cronet/android/java/src/org/chromium/net/impl/CronetExceptionImpl.java",
9261 "components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java",
9262 "components/cronet/android/java/src/org/chromium/net/impl/CronetLogger.java",
9263 "components/cronet/android/java/src/org/chromium/net/impl/CronetLoggerFactory.java",
9264 "components/cronet/android/java/src/org/chromium/net/impl/CronetManifest.java",
9265 "components/cronet/android/java/src/org/chromium/net/impl/CronetMetrics.java",
9266 "components/cronet/android/java/src/org/chromium/net/impl/CronetUploadDataStream.java",
9267 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequest.java",
9268 "components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java",
9269 "components/cronet/android/java/src/org/chromium/net/impl/InputStreamChannel.java",
9270 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngine.java",
9271 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetEngineBuilderImpl.java",
9272 "components/cronet/android/java/src/org/chromium/net/impl/JavaCronetProvider.java",
9273 "components/cronet/android/java/src/org/chromium/net/impl/JavaUploadDataSinkBase.java",
9274 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequest.java",
9275 "components/cronet/android/java/src/org/chromium/net/impl/JavaUrlRequestUtils.java",
9276 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderImpl.java",
9277 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetEngineBuilderWithLibraryLoaderImpl.java",
9278 "components/cronet/android/java/src/org/chromium/net/impl/NativeCronetProvider.java",
9279 "components/cronet/android/java/src/org/chromium/net/impl/NetworkExceptionImpl.java",
9280 "components/cronet/android/java/src/org/chromium/net/impl/NoOpLogger.java",
9281 "components/cronet/android/java/src/org/chromium/net/impl/Preconditions.java",
9282 "components/cronet/android/java/src/org/chromium/net/impl/QuicExceptionImpl.java",
9283 "components/cronet/android/java/src/org/chromium/net/impl/RequestFinishedInfoImpl.java",
9284 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBase.java",
9285 "components/cronet/android/java/src/org/chromium/net/impl/UrlRequestBuilderImpl.java",
9286 "components/cronet/android/java/src/org/chromium/net/impl/UrlResponseInfoImpl.java",
9287 "components/cronet/android/java/src/org/chromium/net/impl/UserAgent.java",
9288 "components/cronet/android/java/src/org/chromium/net/impl/VersionSafeCallbacks.java",
9289 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetBufferedOutputStream.java",
9290 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetChunkedOutputStream.java",
9291 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetFixedModeOutputStream.java",
9292 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLConnection.java",
9293 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetHttpURLStreamHandler.java",
9294 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetInputStream.java",
9295 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetOutputStream.java",
9296 "components/cronet/android/java/src/org/chromium/net/urlconnection/CronetURLStreamHandlerFactory.java",
9297 "components/cronet/android/java/src/org/chromium/net/urlconnection/MessageLoop.java",
9298 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
9299 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
9300 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
9301 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
9302 "net/android/java/src/org/chromium/net/ChromiumNetworkAdapter.java",
9303 "net/android/java/src/org/chromium/net/DnsStatus.java",
9304 "net/android/java/src/org/chromium/net/GURLUtils.java",
9305 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
9306 "net/android/java/src/org/chromium/net/HttpNegotiateConstants.java",
9307 "net/android/java/src/org/chromium/net/HttpUtil.java",
9308 "net/android/java/src/org/chromium/net/MimeTypeFilter.java",
9309 "net/android/java/src/org/chromium/net/NetStringUtil.java",
9310 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
9311 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
9312 "net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java",
9313 "net/android/java/src/org/chromium/net/NetworkTrafficAnnotationTag.java",
9314 "net/android/java/src/org/chromium/net/ProxyBroadcastReceiver.java",
9315 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
9316 "net/android/java/src/org/chromium/net/RegistrationPolicyAlwaysRegister.java",
9317 "net/android/java/src/org/chromium/net/RegistrationPolicyApplicationStatus.java",
9318 "net/android/java/src/org/chromium/net/ThreadStatsUid.java",
9319 "net/android/java/src/org/chromium/net/X509Util.java",
Mohannad Farrag4bea14a2022-11-22 15:38:30 +00009320 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
9321 ],
Motomu Utsumi42acf6d2022-12-09 16:04:10 +09009322 apex_available: [
9323 "//apex_available:platform",
9324 "com.android.tethering",
9325 ],
Mohannad Farrage815d862022-12-06 17:51:43 +00009326 libs: [
Motomu Utsumidf6024d2022-12-07 16:39:11 +09009327 "android-support-multidex",
Mohannad Farrage815d862022-12-06 17:51:43 +00009328 "androidx.annotation_annotation",
Motomu Utsumi05a49a52022-12-09 18:21:13 +09009329 "androidx.annotation_annotation-experimental-nodeps",
Motomu Utsumidf6024d2022-12-07 16:39:11 +09009330 "androidx.collection_collection",
Motomu Utsumi05a49a52022-12-09 18:21:13 +09009331 "androidx.core_core-nodeps",
Motomu Utsumif985e032022-12-09 15:53:39 +09009332 "framework-connectivity-t.stubs.module_lib",
9333 "framework-connectivity.stubs.module_lib",
9334 "framework-mediaprovider.stubs.module_lib",
9335 "framework-tethering.stubs.module_lib",
9336 "framework-wifi.stubs.module_lib",
Mohannad Farrage815d862022-12-06 17:51:43 +00009337 "jsr305",
9338 ],
Mohannad Farragb30d3712022-12-06 17:27:04 +00009339 aidl: {
9340 include_dirs: [
9341 "frameworks/base/core/java/",
9342 ],
9343 local_include_dirs: [
9344 "base/android/java/src/",
9345 ],
9346 },
Mohannad Farrag3d3d6132022-12-06 18:11:48 +00009347 plugins: [
9348 "cronet_aml_java_jni_annotation_preprocessor",
9349 ],
Motomu Utsumif985e032022-12-09 15:53:39 +09009350 sdk_version: "module_current",
Mohannad Farrag3d3d6132022-12-06 18:11:48 +00009351}
9352
9353// GN: //base/android/jni_generator:jni_processor
9354java_plugin {
9355 name: "cronet_aml_java_jni_annotation_preprocessor",
9356 srcs: [
Mohannad Farrag89f38e42022-12-06 18:54:46 +00009357 ":cronet_aml_build_android_build_config_gen",
9358 "base/android/java/src/org/chromium/base/JniException.java",
9359 "base/android/java/src/org/chromium/base/JniStaticTestMocker.java",
9360 "base/android/java/src/org/chromium/base/NativeLibraryLoadedStatus.java",
9361 "base/android/java/src/org/chromium/base/annotations/NativeMethods.java",
Mohannad Farrag3d3d6132022-12-06 18:11:48 +00009362 "base/android/jni_generator/java/src/org/chromium/jni_generator/JniProcessor.java",
9363 "build/android/java/src/org/chromium/build/annotations/CheckDiscard.java",
9364 "build/android/java/src/org/chromium/build/annotations/MainDex.java",
9365 ],
Mohannad Farrag89f38e42022-12-06 18:54:46 +00009366 static_libs: [
9367 "auto_service_annotations",
9368 "guava",
9369 "javapoet",
9370 ],
9371 processor_class: "org.chromium.jni_generator.JniProcessor",
Patrick Rohrb18aca22022-11-04 15:07:32 -07009372}
9373
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009374// GN: //net/android:net_android_java_enums_srcjar
Mohannad Farrag7ff99912022-11-29 17:16:00 +00009375java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009376 name: "cronet_aml_net_android_net_android_java_enums_srcjar",
9377 srcs: [
9378 "net/android/network_change_notifier_android.cc",
9379 "net/android/traffic_stats.cc",
9380 "net/socket/socket_tag.cc",
9381 ],
9382 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +00009383 "$(out) " +
9384 "$(location net/base/network_change_notifier.h) " +
9385 "$(location net/socket/socket_tag.cc) " +
9386 "$(location net/android/cert_verify_result_android.h) " +
9387 "$(location net/android/keystore.h) " +
9388 "$(location net/android/network_change_notifier_android.cc) " +
9389 "$(location net/android/traffic_stats.cc)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009390 out: [
9391 "net/android/net_android_java_enums_srcjar.srcjar",
9392 ],
9393 tool_files: [
9394 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +09009395 "build/android/gyp/util/__init__.py",
9396 "build/android/gyp/util/build_utils.py",
9397 "build/android/gyp/util/java_cpp_utils.py",
9398 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009399 "net/android/cert_verify_result_android.h",
9400 "net/android/keystore.h",
9401 "net/base/network_change_notifier.h",
9402 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009403}
9404
9405// GN: //net/android:net_errors_java
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00009406genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009407 name: "cronet_aml_net_android_net_errors_java",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00009408 srcs: [
9409 ":cronet_aml_net_android_net_errors_java_preprocess",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009410 ],
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00009411 tools: [
9412 "soong_zip",
9413 ],
9414 cmd: "cp $(in) $(genDir)/NetError.java && " +
9415 "$(location soong_zip) -o $(out) -srcjar -f $(genDir)/NetError.java",
9416 out: [
9417 "NetError.srcjar",
9418 ],
9419}
9420
9421// GN: //net/android:net_errors_java
9422cc_object {
9423 name: "cronet_aml_net_android_net_errors_java_preprocess",
9424 srcs: [
9425 ":cronet_aml_net_android_net_errors_java_rename",
9426 ],
9427 cflags: [
9428 "-DANDROID",
9429 "-E",
9430 "-P",
9431 ],
Motomu Utsumi4fb65c72022-12-09 17:08:48 +09009432 compile_multilib: "first",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00009433}
9434
9435// GN: //net/android:net_errors_java
9436genrule {
9437 name: "cronet_aml_net_android_net_errors_java_rename",
9438 srcs: [
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009439 "net/android/java/NetError.template",
Mohannad Farrag9c2cee12022-12-06 17:11:25 +00009440 ],
9441 cmd: "cp $(in) $(out)",
9442 out: [
9443 "NetError.cc",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009444 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +00009445}
9446
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009447// GN: //net/base/registry_controlled_domains:registry_controlled_domains__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009448cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009449 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
9450 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
9451 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
9452 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
9453 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9454 "--reverse " +
9455 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
9456 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
9457 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9458 "--reverse " +
9459 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
9460 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
9461 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9462 "--reverse " +
9463 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
9464 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
9465 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9466 "--reverse " +
9467 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
9468 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
9469 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9470 "--reverse " +
9471 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
9472 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
9473 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9474 "--reverse " +
9475 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
9476 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
9477 out: [
9478 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
9479 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
9480 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
9481 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
9482 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
9483 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
9484 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
9485 ],
9486 tool_files: [
9487 "net/base/registry_controlled_domains/effective_tld_names.gperf",
9488 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
9489 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
9490 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
9491 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
9492 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
9493 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
9494 "net/tools/dafsa/make_dafsa.py",
9495 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009496 apex_available: [
9497 "com.android.tethering",
9498 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009499}
9500
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009501// GN: //net/base/registry_controlled_domains:registry_controlled_domains__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009502cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009503 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
9504 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
9505 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
9506 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
9507 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9508 "--reverse " +
9509 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
9510 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
9511 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9512 "--reverse " +
9513 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
9514 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
9515 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9516 "--reverse " +
9517 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
9518 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
9519 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9520 "--reverse " +
9521 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
9522 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
9523 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9524 "--reverse " +
9525 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
9526 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
9527 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9528 "--reverse " +
9529 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
9530 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
9531 out: [
9532 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
9533 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
9534 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
9535 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
9536 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
9537 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
9538 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
9539 ],
9540 tool_files: [
9541 "net/base/registry_controlled_domains/effective_tld_names.gperf",
9542 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
9543 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
9544 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
9545 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
9546 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
9547 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
9548 "net/tools/dafsa/make_dafsa.py",
9549 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009550 apex_available: [
9551 "com.android.tethering",
9552 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009553}
9554
Mohannad Farragd7efd7b92022-11-21 16:15:16 +00009555// GN: //net/base/registry_controlled_domains:registry_controlled_domains__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009556cc_genrule {
Mohannad Farragd7efd7b92022-11-21 16:15:16 +00009557 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
9558 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
9559 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
9560 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
9561 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9562 "--reverse " +
9563 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
9564 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
9565 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9566 "--reverse " +
9567 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
9568 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
9569 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9570 "--reverse " +
9571 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
9572 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
9573 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9574 "--reverse " +
9575 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
9576 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
9577 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9578 "--reverse " +
9579 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
9580 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
9581 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9582 "--reverse " +
9583 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
9584 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
9585 out: [
9586 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
9587 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
9588 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
9589 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
9590 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
9591 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
9592 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
9593 ],
9594 tool_files: [
9595 "net/base/registry_controlled_domains/effective_tld_names.gperf",
9596 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
9597 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
9598 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
9599 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
9600 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
9601 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
9602 "net/tools/dafsa/make_dafsa.py",
9603 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009604 apex_available: [
9605 "com.android.tethering",
9606 ],
Mohannad Farragd7efd7b92022-11-21 16:15:16 +00009607}
9608
9609// GN: //net/base/registry_controlled_domains:registry_controlled_domains__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009610cc_genrule {
Mohannad Farragd7efd7b92022-11-21 16:15:16 +00009611 name: "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
Motomu Utsumid464e5f2022-11-09 12:42:52 +09009612 cmd: "$(location net/tools/dafsa/make_dafsa.py) --reverse " +
9613 "$(location net/base/registry_controlled_domains/effective_tld_names.gperf) " +
9614 "$(location net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc) " +
9615 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9616 "--reverse " +
9617 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf) " +
9618 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc) " +
9619 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9620 "--reverse " +
9621 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf) " +
9622 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc) " +
9623 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9624 "--reverse " +
9625 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf) " +
9626 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc) " +
9627 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9628 "--reverse " +
9629 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf) " +
9630 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc) " +
9631 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9632 "--reverse " +
9633 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf) " +
9634 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc) " +
9635 "&& python3 $(location net/tools/dafsa/make_dafsa.py) " +
9636 "--reverse " +
9637 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf) " +
9638 "$(location net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc)",
9639 out: [
9640 "net/base/registry_controlled_domains/effective_tld_names-reversed-inc.cc",
9641 "net/base/registry_controlled_domains/effective_tld_names_unittest1-reversed-inc.cc",
9642 "net/base/registry_controlled_domains/effective_tld_names_unittest2-reversed-inc.cc",
9643 "net/base/registry_controlled_domains/effective_tld_names_unittest3-reversed-inc.cc",
9644 "net/base/registry_controlled_domains/effective_tld_names_unittest4-reversed-inc.cc",
9645 "net/base/registry_controlled_domains/effective_tld_names_unittest5-reversed-inc.cc",
9646 "net/base/registry_controlled_domains/effective_tld_names_unittest6-reversed-inc.cc",
9647 ],
9648 tool_files: [
9649 "net/base/registry_controlled_domains/effective_tld_names.gperf",
9650 "net/base/registry_controlled_domains/effective_tld_names_unittest1.gperf",
9651 "net/base/registry_controlled_domains/effective_tld_names_unittest2.gperf",
9652 "net/base/registry_controlled_domains/effective_tld_names_unittest3.gperf",
9653 "net/base/registry_controlled_domains/effective_tld_names_unittest4.gperf",
9654 "net/base/registry_controlled_domains/effective_tld_names_unittest5.gperf",
9655 "net/base/registry_controlled_domains/effective_tld_names_unittest6.gperf",
9656 "net/tools/dafsa/make_dafsa.py",
9657 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009658 apex_available: [
9659 "com.android.tethering",
9660 ],
Motomu Utsumid464e5f2022-11-09 12:42:52 +09009661}
9662
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009663// GN: //net:buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009664cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009665 name: "cronet_aml_net_buildflags__android_arm",
9666 cmd: "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " +
9667 "$(location build/write_buildflag_header.py) --output " +
9668 "$(out) " +
9669 "--rulename " +
9670 "//net:buildflags " +
9671 "--gen-dir " +
9672 ". " +
9673 "--definitions " +
9674 "/dev/stdin",
9675 out: [
9676 "net/net_buildflags.h",
9677 ],
9678 tool_files: [
9679 "build/write_buildflag_header.py",
9680 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009681 apex_available: [
9682 "com.android.tethering",
9683 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009684}
9685
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009686// GN: //net:buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009687cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009688 name: "cronet_aml_net_buildflags__android_arm64",
9689 cmd: "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " +
9690 "$(location build/write_buildflag_header.py) --output " +
9691 "$(out) " +
9692 "--rulename " +
9693 "//net:buildflags " +
9694 "--gen-dir " +
9695 ". " +
9696 "--definitions " +
9697 "/dev/stdin",
9698 out: [
9699 "net/net_buildflags.h",
9700 ],
9701 tool_files: [
9702 "build/write_buildflag_header.py",
9703 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009704 apex_available: [
9705 "com.android.tethering",
9706 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009707}
9708
Patrick Rohr98600682022-11-18 18:29:15 -08009709// GN: //net:buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009710cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08009711 name: "cronet_aml_net_buildflags__android_x86",
Motomu Utsumi65501182022-11-18 15:26:35 +09009712 cmd: "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\"' | " +
Patrick Rohrcb035942022-11-01 12:12:52 -07009713 "$(location build/write_buildflag_header.py) --output " +
9714 "$(out) " +
9715 "--rulename " +
9716 "//net:buildflags " +
9717 "--gen-dir " +
9718 ". " +
9719 "--definitions " +
9720 "/dev/stdin",
9721 out: [
9722 "net/net_buildflags.h",
9723 ],
9724 tool_files: [
9725 "build/write_buildflag_header.py",
9726 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009727 apex_available: [
9728 "com.android.tethering",
9729 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07009730}
9731
Patrick Rohr98600682022-11-18 18:29:15 -08009732// GN: //net:buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009733cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08009734 name: "cronet_aml_net_buildflags__android_x86_64",
9735 cmd: "echo '--flags POSIX_BYPASS_MMAP=\"true\" DISABLE_FILE_SUPPORT=\"true\" ENABLE_MDNS=\"false\" ENABLE_REPORTING=\"true\" ENABLE_WEBSOCKETS=\"false\" INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=\"false\" USE_KERBEROS=\"true\" USE_EXTERNAL_GSSAPI=\"false\" TRIAL_COMPARISON_CERT_VERIFIER_SUPPORTED=\"false\" CHROME_ROOT_STORE_SUPPORTED=\"false\"' | " +
9736 "$(location build/write_buildflag_header.py) --output " +
9737 "$(out) " +
9738 "--rulename " +
9739 "//net:buildflags " +
9740 "--gen-dir " +
9741 ". " +
9742 "--definitions " +
9743 "/dev/stdin",
9744 out: [
9745 "net/net_buildflags.h",
9746 ],
9747 tool_files: [
9748 "build/write_buildflag_header.py",
9749 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009750 apex_available: [
9751 "com.android.tethering",
9752 ],
Patrick Rohr98600682022-11-18 18:29:15 -08009753}
9754
Patrick Rohrcb035942022-11-01 12:12:52 -07009755// GN: //net:constants
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009756cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07009757 name: "cronet_aml_net_constants",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009758 shared_libs: [
9759 "libandroid",
9760 "liblog",
9761 ],
9762 static_libs: [
9763 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
9764 "cronet_aml_base_base",
9765 "cronet_aml_base_base_static",
9766 "cronet_aml_base_third_party_double_conversion_double_conversion",
9767 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
9768 "cronet_aml_third_party_boringssl_boringssl",
9769 "cronet_aml_third_party_icu_icui18n",
9770 "cronet_aml_third_party_icu_icuuc_private",
9771 "cronet_aml_third_party_libevent_libevent",
9772 "cronet_aml_third_party_modp_b64_modp_b64",
9773 ],
9774 defaults: [
9775 "cronet_aml_defaults",
9776 ],
9777 cflags: [
9778 "-DANDROID",
9779 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9780 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
9781 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
9782 "-DDCHECK_ALWAYS_ON=1",
9783 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
9784 "-DHAVE_SYS_UIO_H",
9785 "-D_DEBUG",
9786 "-D_GNU_SOURCE",
9787 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
9788 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
9789 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
9790 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
9791 "-D__STDC_CONSTANT_MACROS",
9792 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009793 ],
9794 local_include_dirs: [
9795 "./",
9796 "buildtools/third_party/libc++/",
9797 "buildtools/third_party/libc++/trunk/include",
9798 "buildtools/third_party/libc++abi/trunk/include",
9799 "third_party/abseil-cpp/",
9800 "third_party/boringssl/src/include/",
9801 ],
9802 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009803 target: {
9804 android_x86: {
9805 cflags: [
9806 "-msse3",
9807 ],
9808 },
9809 android_x86_64: {
9810 cflags: [
9811 "-msse3",
9812 ],
9813 },
9814 },
9815}
9816
9817// GN: //net/data/ssl/chrome_root_store:gen_root_store_inc__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009818cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +09009819 name: "cronet_aml_net_data_ssl_chrome_root_store_gen_root_store_inc__android_arm",
9820 cmd: "$(location build/gn_run_binary.py) clang_x64/root_store_tool " +
9821 "--root-store " +
9822 "../../net/data/ssl/chrome_root_store/root_store.textproto " +
9823 "--certs " +
9824 "../../net/data/ssl/chrome_root_store/root_store.certs " +
9825 "--write-cpp-root-store " +
9826 "gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc " +
9827 "--write-cpp-ev-roots " +
9828 "gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
9829 out: [
9830 "net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
9831 "net/data/ssl/chrome_root_store/chrome-root-store-inc.cc",
9832 ],
9833 tool_files: [
9834 "build/gn_run_binary.py",
9835 "net/data/ssl/chrome_root_store/root_store.certs",
9836 "net/data/ssl/chrome_root_store/root_store.textproto",
9837 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009838 apex_available: [
9839 "com.android.tethering",
9840 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07009841}
9842
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009843// GN: //net/data/ssl/chrome_root_store:gen_root_store_inc__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009844cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009845 name: "cronet_aml_net_data_ssl_chrome_root_store_gen_root_store_inc__android_arm64",
9846 cmd: "$(location build/gn_run_binary.py) clang_x64/root_store_tool " +
9847 "--root-store " +
9848 "../../net/data/ssl/chrome_root_store/root_store.textproto " +
9849 "--certs " +
9850 "../../net/data/ssl/chrome_root_store/root_store.certs " +
9851 "--write-cpp-root-store " +
9852 "gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc " +
9853 "--write-cpp-ev-roots " +
9854 "gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
9855 out: [
9856 "net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
9857 "net/data/ssl/chrome_root_store/chrome-root-store-inc.cc",
9858 ],
9859 tool_files: [
9860 "build/gn_run_binary.py",
9861 "net/data/ssl/chrome_root_store/root_store.certs",
9862 "net/data/ssl/chrome_root_store/root_store.textproto",
9863 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009864 apex_available: [
9865 "com.android.tethering",
9866 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +09009867}
9868
Patrick Rohr98600682022-11-18 18:29:15 -08009869// GN: //net/data/ssl/chrome_root_store:gen_root_store_inc__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009870cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08009871 name: "cronet_aml_net_data_ssl_chrome_root_store_gen_root_store_inc__android_x86",
9872 cmd: "$(location build/gn_run_binary.py) clang_x64/root_store_tool " +
9873 "--root-store " +
9874 "../../net/data/ssl/chrome_root_store/root_store.textproto " +
9875 "--certs " +
9876 "../../net/data/ssl/chrome_root_store/root_store.certs " +
9877 "--write-cpp-root-store " +
9878 "gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc " +
9879 "--write-cpp-ev-roots " +
9880 "gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
9881 out: [
9882 "net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
9883 "net/data/ssl/chrome_root_store/chrome-root-store-inc.cc",
9884 ],
9885 tool_files: [
9886 "build/gn_run_binary.py",
9887 "net/data/ssl/chrome_root_store/root_store.certs",
9888 "net/data/ssl/chrome_root_store/root_store.textproto",
9889 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009890 apex_available: [
9891 "com.android.tethering",
9892 ],
Patrick Rohr98600682022-11-18 18:29:15 -08009893}
9894
9895// GN: //net/data/ssl/chrome_root_store:gen_root_store_inc__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +00009896cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -08009897 name: "cronet_aml_net_data_ssl_chrome_root_store_gen_root_store_inc__android_x86_64",
Patrick Rohrcb035942022-11-01 12:12:52 -07009898 cmd: "$(location build/gn_run_binary.py) clang_x64/root_store_tool " +
9899 "--root-store " +
9900 "../../net/data/ssl/chrome_root_store/root_store.textproto " +
9901 "--certs " +
9902 "../../net/data/ssl/chrome_root_store/root_store.certs " +
9903 "--write-cpp-root-store " +
9904 "gen/net/data/ssl/chrome_root_store/chrome-root-store-inc.cc " +
9905 "--write-cpp-ev-roots " +
9906 "gen/net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
9907 out: [
9908 "net/data/ssl/chrome_root_store/chrome-ev-roots-inc.cc",
9909 "net/data/ssl/chrome_root_store/chrome-root-store-inc.cc",
9910 ],
9911 tool_files: [
9912 "build/gn_run_binary.py",
9913 "net/data/ssl/chrome_root_store/root_store.certs",
9914 "net/data/ssl/chrome_root_store/root_store.textproto",
9915 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +09009916 apex_available: [
9917 "com.android.tethering",
9918 ],
Patrick Rohrcb035942022-11-01 12:12:52 -07009919}
9920
9921// GN: //net/dns:dns
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009922cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -07009923 name: "cronet_aml_net_dns_dns",
Mohannad Farrag7f29d832022-11-23 19:52:41 +00009924 srcs: [
9925 "net/dns/address_info.cc",
9926 "net/dns/address_sorter_posix.cc",
9927 "net/dns/context_host_resolver.cc",
9928 "net/dns/dns_alias_utility.cc",
9929 "net/dns/dns_client.cc",
9930 "net/dns/dns_config.cc",
9931 "net/dns/dns_config_service.cc",
9932 "net/dns/dns_config_service_android.cc",
9933 "net/dns/dns_hosts.cc",
9934 "net/dns/dns_query.cc",
9935 "net/dns/dns_reloader.cc",
9936 "net/dns/dns_response.cc",
9937 "net/dns/dns_response_result_extractor.cc",
9938 "net/dns/dns_server_iterator.cc",
9939 "net/dns/dns_session.cc",
9940 "net/dns/dns_transaction.cc",
9941 "net/dns/dns_udp_tracker.cc",
9942 "net/dns/dns_util.cc",
9943 "net/dns/host_cache.cc",
9944 "net/dns/host_resolver.cc",
9945 "net/dns/host_resolver_manager.cc",
9946 "net/dns/host_resolver_mdns_listener_impl.cc",
9947 "net/dns/host_resolver_mdns_task.cc",
9948 "net/dns/host_resolver_nat64_task.cc",
9949 "net/dns/host_resolver_proc.cc",
9950 "net/dns/host_resolver_system_task.cc",
9951 "net/dns/https_record_rdata.cc",
9952 "net/dns/httpssvc_metrics.cc",
9953 "net/dns/mapped_host_resolver.cc",
9954 "net/dns/nsswitch_reader.cc",
9955 "net/dns/opt_record_rdata.cc",
9956 "net/dns/record_parsed.cc",
9957 "net/dns/record_rdata.cc",
9958 "net/dns/resolve_context.cc",
9959 "net/dns/serial_worker.cc",
9960 "net/dns/system_dns_config_change_notifier.cc",
9961 "net/dns/test_dns_config_service.cc",
9962 ],
9963 shared_libs: [
9964 "libandroid",
9965 "liblog",
9966 ],
9967 static_libs: [
9968 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
9969 "cronet_aml_base_base",
9970 "cronet_aml_base_base_static",
9971 "cronet_aml_base_third_party_double_conversion_double_conversion",
9972 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
9973 "cronet_aml_crypto_crypto",
9974 "cronet_aml_net_preload_decoder",
9975 "cronet_aml_net_third_party_quiche_quiche",
9976 "cronet_aml_net_uri_template",
9977 "cronet_aml_third_party_boringssl_boringssl",
9978 "cronet_aml_third_party_brotli_common",
9979 "cronet_aml_third_party_brotli_dec",
9980 "cronet_aml_third_party_icu_icui18n",
9981 "cronet_aml_third_party_icu_icuuc_private",
9982 "cronet_aml_third_party_libevent_libevent",
9983 "cronet_aml_third_party_modp_b64_modp_b64",
9984 "cronet_aml_third_party_protobuf_protobuf_lite",
9985 "cronet_aml_third_party_zlib_zlib",
9986 "cronet_aml_url_url",
9987 ],
9988 generated_headers: [
9989 "cronet_aml_net_isolation_info_proto_gen_headers",
9990 "cronet_aml_net_net_nqe_proto_gen_headers",
9991 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
9992 ],
9993 defaults: [
9994 "cronet_aml_defaults",
9995 ],
9996 cflags: [
9997 "-DANDROID",
9998 "-DANDROID_NDK_VERSION_ROLL=r23_1",
9999 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
10000 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
10001 "-DDCHECK_ALWAYS_ON=1",
10002 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
10003 "-DENABLE_BUILT_IN_DNS",
10004 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10005 "-DGOOGLE_PROTOBUF_NO_RTTI",
10006 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10007 "-DHAVE_PTHREAD",
10008 "-DHAVE_SYS_UIO_H",
10009 "-DNET_IMPLEMENTATION",
10010 "-D_DEBUG",
10011 "-D_GNU_SOURCE",
10012 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
10013 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10014 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
10015 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10016 "-D__STDC_CONSTANT_MACROS",
10017 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010018 ],
10019 local_include_dirs: [
10020 "./",
10021 "buildtools/third_party/libc++/",
10022 "buildtools/third_party/libc++/trunk/include",
10023 "buildtools/third_party/libc++abi/trunk/include",
10024 "net/third_party/quiche/overrides/",
10025 "net/third_party/quiche/src/",
10026 "net/third_party/quiche/src/quiche/common/platform/default/",
10027 "third_party/abseil-cpp/",
10028 "third_party/boringssl/src/include/",
10029 "third_party/brotli/include/",
10030 "third_party/protobuf/src/",
10031 "third_party/zlib/",
10032 ],
10033 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090010034 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010035 android_arm: {
10036 generated_headers: [
10037 "cronet_aml_base_debugging_buildflags__android_arm",
10038 "cronet_aml_base_logging_buildflags__android_arm",
10039 "cronet_aml_build_chromeos_buildflags__android_arm",
10040 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
10041 "cronet_aml_net_buildflags__android_arm",
10042 "cronet_aml_net_net_jni_headers__android_arm",
10043 "cronet_aml_url_buildflags__android_arm",
10044 ],
10045 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010046 android_arm64: {
10047 generated_headers: [
10048 "cronet_aml_base_debugging_buildflags__android_arm64",
10049 "cronet_aml_base_logging_buildflags__android_arm64",
10050 "cronet_aml_build_chromeos_buildflags__android_arm64",
10051 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
10052 "cronet_aml_net_buildflags__android_arm64",
10053 "cronet_aml_net_net_jni_headers__android_arm64",
10054 "cronet_aml_url_buildflags__android_arm64",
10055 ],
10056 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010057 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010058 cflags: [
10059 "-msse3",
10060 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010061 generated_headers: [
10062 "cronet_aml_base_debugging_buildflags__android_x86",
10063 "cronet_aml_base_logging_buildflags__android_x86",
10064 "cronet_aml_build_chromeos_buildflags__android_x86",
10065 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
10066 "cronet_aml_net_buildflags__android_x86",
10067 "cronet_aml_net_net_jni_headers__android_x86",
10068 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090010069 ],
10070 },
10071 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010072 cflags: [
10073 "-msse3",
10074 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010075 generated_headers: [
10076 "cronet_aml_base_debugging_buildflags__android_x86_64",
10077 "cronet_aml_base_logging_buildflags__android_x86_64",
10078 "cronet_aml_build_chromeos_buildflags__android_x86_64",
10079 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
10080 "cronet_aml_net_buildflags__android_x86_64",
10081 "cronet_aml_net_net_jni_headers__android_x86_64",
10082 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090010083 ],
10084 },
10085 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010086}
10087
10088// GN: //net/dns:dns_client
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010089cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070010090 name: "cronet_aml_net_dns_dns_client",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010091 shared_libs: [
10092 "libandroid",
10093 "liblog",
10094 ],
10095 static_libs: [
10096 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
10097 "cronet_aml_base_base",
10098 "cronet_aml_base_base_static",
10099 "cronet_aml_base_third_party_double_conversion_double_conversion",
10100 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
10101 "cronet_aml_crypto_crypto",
10102 "cronet_aml_net_preload_decoder",
10103 "cronet_aml_net_third_party_quiche_quiche",
10104 "cronet_aml_net_uri_template",
10105 "cronet_aml_third_party_boringssl_boringssl",
10106 "cronet_aml_third_party_brotli_common",
10107 "cronet_aml_third_party_brotli_dec",
10108 "cronet_aml_third_party_icu_icui18n",
10109 "cronet_aml_third_party_icu_icuuc_private",
10110 "cronet_aml_third_party_libevent_libevent",
10111 "cronet_aml_third_party_modp_b64_modp_b64",
10112 "cronet_aml_third_party_protobuf_protobuf_lite",
10113 "cronet_aml_third_party_zlib_zlib",
10114 "cronet_aml_url_url",
10115 ],
10116 generated_headers: [
10117 "cronet_aml_net_isolation_info_proto_gen_headers",
10118 "cronet_aml_net_net_nqe_proto_gen_headers",
10119 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
10120 ],
10121 defaults: [
10122 "cronet_aml_defaults",
10123 ],
10124 cflags: [
10125 "-DANDROID",
10126 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10127 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
10128 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
10129 "-DDCHECK_ALWAYS_ON=1",
10130 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
10131 "-DENABLE_BUILT_IN_DNS",
10132 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10133 "-DGOOGLE_PROTOBUF_NO_RTTI",
10134 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10135 "-DHAVE_PTHREAD",
10136 "-DHAVE_SYS_UIO_H",
10137 "-DNET_IMPLEMENTATION",
10138 "-D_DEBUG",
10139 "-D_GNU_SOURCE",
10140 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
10141 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10142 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
10143 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10144 "-D__STDC_CONSTANT_MACROS",
10145 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010146 ],
10147 local_include_dirs: [
10148 "./",
10149 "buildtools/third_party/libc++/",
10150 "buildtools/third_party/libc++/trunk/include",
10151 "buildtools/third_party/libc++abi/trunk/include",
10152 "net/third_party/quiche/overrides/",
10153 "net/third_party/quiche/src/",
10154 "net/third_party/quiche/src/quiche/common/platform/default/",
10155 "third_party/abseil-cpp/",
10156 "third_party/boringssl/src/include/",
10157 "third_party/brotli/include/",
10158 "third_party/protobuf/src/",
10159 "third_party/zlib/",
10160 ],
10161 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090010162 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010163 android_arm: {
10164 generated_headers: [
10165 "cronet_aml_base_debugging_buildflags__android_arm",
10166 "cronet_aml_base_logging_buildflags__android_arm",
10167 "cronet_aml_build_chromeos_buildflags__android_arm",
10168 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
10169 "cronet_aml_net_buildflags__android_arm",
10170 "cronet_aml_net_net_jni_headers__android_arm",
10171 "cronet_aml_url_buildflags__android_arm",
10172 ],
10173 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010174 android_arm64: {
10175 generated_headers: [
10176 "cronet_aml_base_debugging_buildflags__android_arm64",
10177 "cronet_aml_base_logging_buildflags__android_arm64",
10178 "cronet_aml_build_chromeos_buildflags__android_arm64",
10179 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
10180 "cronet_aml_net_buildflags__android_arm64",
10181 "cronet_aml_net_net_jni_headers__android_arm64",
10182 "cronet_aml_url_buildflags__android_arm64",
10183 ],
10184 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010185 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010186 cflags: [
10187 "-msse3",
10188 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010189 generated_headers: [
10190 "cronet_aml_base_debugging_buildflags__android_x86",
10191 "cronet_aml_base_logging_buildflags__android_x86",
10192 "cronet_aml_build_chromeos_buildflags__android_x86",
10193 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
10194 "cronet_aml_net_buildflags__android_x86",
10195 "cronet_aml_net_net_jni_headers__android_x86",
10196 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090010197 ],
10198 },
10199 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010200 cflags: [
10201 "-msse3",
10202 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010203 generated_headers: [
10204 "cronet_aml_base_debugging_buildflags__android_x86_64",
10205 "cronet_aml_base_logging_buildflags__android_x86_64",
10206 "cronet_aml_build_chromeos_buildflags__android_x86_64",
10207 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
10208 "cronet_aml_net_buildflags__android_x86_64",
10209 "cronet_aml_net_net_jni_headers__android_x86_64",
10210 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090010211 ],
10212 },
10213 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010214}
10215
10216// GN: //net/dns:host_resolver
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010217cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070010218 name: "cronet_aml_net_dns_host_resolver",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010219 shared_libs: [
10220 "libandroid",
10221 "liblog",
10222 ],
10223 static_libs: [
10224 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
10225 "cronet_aml_base_base",
10226 "cronet_aml_base_base_static",
10227 "cronet_aml_base_third_party_double_conversion_double_conversion",
10228 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
10229 "cronet_aml_crypto_crypto",
10230 "cronet_aml_net_preload_decoder",
10231 "cronet_aml_net_third_party_quiche_quiche",
10232 "cronet_aml_net_uri_template",
10233 "cronet_aml_third_party_boringssl_boringssl",
10234 "cronet_aml_third_party_brotli_common",
10235 "cronet_aml_third_party_brotli_dec",
10236 "cronet_aml_third_party_icu_icui18n",
10237 "cronet_aml_third_party_icu_icuuc_private",
10238 "cronet_aml_third_party_libevent_libevent",
10239 "cronet_aml_third_party_modp_b64_modp_b64",
10240 "cronet_aml_third_party_protobuf_protobuf_lite",
10241 "cronet_aml_third_party_zlib_zlib",
10242 "cronet_aml_url_url",
10243 ],
10244 generated_headers: [
10245 "cronet_aml_net_isolation_info_proto_gen_headers",
10246 "cronet_aml_net_net_nqe_proto_gen_headers",
10247 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
10248 ],
10249 defaults: [
10250 "cronet_aml_defaults",
10251 ],
10252 cflags: [
10253 "-DANDROID",
10254 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10255 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
10256 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
10257 "-DDCHECK_ALWAYS_ON=1",
10258 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
10259 "-DENABLE_BUILT_IN_DNS",
10260 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10261 "-DGOOGLE_PROTOBUF_NO_RTTI",
10262 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10263 "-DHAVE_PTHREAD",
10264 "-DHAVE_SYS_UIO_H",
10265 "-DNET_IMPLEMENTATION",
10266 "-D_DEBUG",
10267 "-D_GNU_SOURCE",
10268 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
10269 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10270 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
10271 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10272 "-D__STDC_CONSTANT_MACROS",
10273 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010274 ],
10275 local_include_dirs: [
10276 "./",
10277 "buildtools/third_party/libc++/",
10278 "buildtools/third_party/libc++/trunk/include",
10279 "buildtools/third_party/libc++abi/trunk/include",
10280 "net/third_party/quiche/overrides/",
10281 "net/third_party/quiche/src/",
10282 "net/third_party/quiche/src/quiche/common/platform/default/",
10283 "third_party/abseil-cpp/",
10284 "third_party/boringssl/src/include/",
10285 "third_party/brotli/include/",
10286 "third_party/protobuf/src/",
10287 "third_party/zlib/",
10288 ],
10289 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090010290 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010291 android_arm: {
10292 generated_headers: [
10293 "cronet_aml_base_debugging_buildflags__android_arm",
10294 "cronet_aml_base_logging_buildflags__android_arm",
10295 "cronet_aml_build_chromeos_buildflags__android_arm",
10296 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
10297 "cronet_aml_net_buildflags__android_arm",
10298 "cronet_aml_net_net_jni_headers__android_arm",
10299 "cronet_aml_url_buildflags__android_arm",
10300 ],
10301 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010302 android_arm64: {
10303 generated_headers: [
10304 "cronet_aml_base_debugging_buildflags__android_arm64",
10305 "cronet_aml_base_logging_buildflags__android_arm64",
10306 "cronet_aml_build_chromeos_buildflags__android_arm64",
10307 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
10308 "cronet_aml_net_buildflags__android_arm64",
10309 "cronet_aml_net_net_jni_headers__android_arm64",
10310 "cronet_aml_url_buildflags__android_arm64",
10311 ],
10312 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010313 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010314 cflags: [
10315 "-msse3",
10316 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010317 generated_headers: [
10318 "cronet_aml_base_debugging_buildflags__android_x86",
10319 "cronet_aml_base_logging_buildflags__android_x86",
10320 "cronet_aml_build_chromeos_buildflags__android_x86",
10321 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
10322 "cronet_aml_net_buildflags__android_x86",
10323 "cronet_aml_net_net_jni_headers__android_x86",
10324 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090010325 ],
10326 },
10327 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010328 cflags: [
10329 "-msse3",
10330 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010331 generated_headers: [
10332 "cronet_aml_base_debugging_buildflags__android_x86_64",
10333 "cronet_aml_base_logging_buildflags__android_x86_64",
10334 "cronet_aml_build_chromeos_buildflags__android_x86_64",
10335 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
10336 "cronet_aml_net_buildflags__android_x86_64",
10337 "cronet_aml_net_net_jni_headers__android_x86_64",
10338 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090010339 ],
10340 },
10341 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010342}
10343
10344// GN: //net/dns:host_resolver_manager
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010345cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070010346 name: "cronet_aml_net_dns_host_resolver_manager",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010347 shared_libs: [
10348 "libandroid",
10349 "liblog",
10350 ],
10351 static_libs: [
10352 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
10353 "cronet_aml_base_base",
10354 "cronet_aml_base_base_static",
10355 "cronet_aml_base_third_party_double_conversion_double_conversion",
10356 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
10357 "cronet_aml_crypto_crypto",
10358 "cronet_aml_net_preload_decoder",
10359 "cronet_aml_net_third_party_quiche_quiche",
10360 "cronet_aml_net_uri_template",
10361 "cronet_aml_third_party_boringssl_boringssl",
10362 "cronet_aml_third_party_brotli_common",
10363 "cronet_aml_third_party_brotli_dec",
10364 "cronet_aml_third_party_icu_icui18n",
10365 "cronet_aml_third_party_icu_icuuc_private",
10366 "cronet_aml_third_party_libevent_libevent",
10367 "cronet_aml_third_party_modp_b64_modp_b64",
10368 "cronet_aml_third_party_protobuf_protobuf_lite",
10369 "cronet_aml_third_party_zlib_zlib",
10370 "cronet_aml_url_url",
10371 ],
10372 generated_headers: [
10373 "cronet_aml_net_isolation_info_proto_gen_headers",
10374 "cronet_aml_net_net_nqe_proto_gen_headers",
10375 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
10376 ],
10377 defaults: [
10378 "cronet_aml_defaults",
10379 ],
10380 cflags: [
10381 "-DANDROID",
10382 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10383 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
10384 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
10385 "-DDCHECK_ALWAYS_ON=1",
10386 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
10387 "-DENABLE_BUILT_IN_DNS",
10388 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10389 "-DGOOGLE_PROTOBUF_NO_RTTI",
10390 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10391 "-DHAVE_PTHREAD",
10392 "-DHAVE_SYS_UIO_H",
10393 "-DNET_IMPLEMENTATION",
10394 "-D_DEBUG",
10395 "-D_GNU_SOURCE",
10396 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
10397 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10398 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
10399 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10400 "-D__STDC_CONSTANT_MACROS",
10401 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010402 ],
10403 local_include_dirs: [
10404 "./",
10405 "buildtools/third_party/libc++/",
10406 "buildtools/third_party/libc++/trunk/include",
10407 "buildtools/third_party/libc++abi/trunk/include",
10408 "net/third_party/quiche/overrides/",
10409 "net/third_party/quiche/src/",
10410 "net/third_party/quiche/src/quiche/common/platform/default/",
10411 "third_party/abseil-cpp/",
10412 "third_party/boringssl/src/include/",
10413 "third_party/brotli/include/",
10414 "third_party/protobuf/src/",
10415 "third_party/zlib/",
10416 ],
10417 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090010418 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010419 android_arm: {
10420 generated_headers: [
10421 "cronet_aml_base_debugging_buildflags__android_arm",
10422 "cronet_aml_base_logging_buildflags__android_arm",
10423 "cronet_aml_build_chromeos_buildflags__android_arm",
10424 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
10425 "cronet_aml_net_buildflags__android_arm",
10426 "cronet_aml_net_net_jni_headers__android_arm",
10427 "cronet_aml_url_buildflags__android_arm",
10428 ],
10429 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010430 android_arm64: {
10431 generated_headers: [
10432 "cronet_aml_base_debugging_buildflags__android_arm64",
10433 "cronet_aml_base_logging_buildflags__android_arm64",
10434 "cronet_aml_build_chromeos_buildflags__android_arm64",
10435 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
10436 "cronet_aml_net_buildflags__android_arm64",
10437 "cronet_aml_net_net_jni_headers__android_arm64",
10438 "cronet_aml_url_buildflags__android_arm64",
10439 ],
10440 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010441 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010442 cflags: [
10443 "-msse3",
10444 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010445 generated_headers: [
10446 "cronet_aml_base_debugging_buildflags__android_x86",
10447 "cronet_aml_base_logging_buildflags__android_x86",
10448 "cronet_aml_build_chromeos_buildflags__android_x86",
10449 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
10450 "cronet_aml_net_buildflags__android_x86",
10451 "cronet_aml_net_net_jni_headers__android_x86",
10452 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090010453 ],
10454 },
10455 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010456 cflags: [
10457 "-msse3",
10458 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010459 generated_headers: [
10460 "cronet_aml_base_debugging_buildflags__android_x86_64",
10461 "cronet_aml_base_logging_buildflags__android_x86_64",
10462 "cronet_aml_build_chromeos_buildflags__android_x86_64",
10463 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
10464 "cronet_aml_net_buildflags__android_x86_64",
10465 "cronet_aml_net_net_jni_headers__android_x86_64",
10466 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090010467 ],
10468 },
10469 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010470}
10471
10472// GN: //net/dns:mdns_client
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010473cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070010474 name: "cronet_aml_net_dns_mdns_client",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010475 shared_libs: [
10476 "libandroid",
10477 "liblog",
10478 ],
10479 static_libs: [
10480 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
10481 "cronet_aml_base_base",
10482 "cronet_aml_base_base_static",
10483 "cronet_aml_base_third_party_double_conversion_double_conversion",
10484 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
10485 "cronet_aml_crypto_crypto",
10486 "cronet_aml_net_preload_decoder",
10487 "cronet_aml_net_third_party_quiche_quiche",
10488 "cronet_aml_net_uri_template",
10489 "cronet_aml_third_party_boringssl_boringssl",
10490 "cronet_aml_third_party_brotli_common",
10491 "cronet_aml_third_party_brotli_dec",
10492 "cronet_aml_third_party_icu_icui18n",
10493 "cronet_aml_third_party_icu_icuuc_private",
10494 "cronet_aml_third_party_libevent_libevent",
10495 "cronet_aml_third_party_modp_b64_modp_b64",
10496 "cronet_aml_third_party_protobuf_protobuf_lite",
10497 "cronet_aml_third_party_zlib_zlib",
10498 "cronet_aml_url_url",
10499 ],
10500 generated_headers: [
10501 "cronet_aml_net_isolation_info_proto_gen_headers",
10502 "cronet_aml_net_net_nqe_proto_gen_headers",
10503 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
10504 ],
10505 defaults: [
10506 "cronet_aml_defaults",
10507 ],
10508 cflags: [
10509 "-DANDROID",
10510 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10511 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
10512 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
10513 "-DDCHECK_ALWAYS_ON=1",
10514 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
10515 "-DENABLE_BUILT_IN_DNS",
10516 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10517 "-DGOOGLE_PROTOBUF_NO_RTTI",
10518 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10519 "-DHAVE_PTHREAD",
10520 "-DHAVE_SYS_UIO_H",
10521 "-DNET_IMPLEMENTATION",
10522 "-D_DEBUG",
10523 "-D_GNU_SOURCE",
10524 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
10525 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10526 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
10527 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10528 "-D__STDC_CONSTANT_MACROS",
10529 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010530 ],
10531 local_include_dirs: [
10532 "./",
10533 "buildtools/third_party/libc++/",
10534 "buildtools/third_party/libc++/trunk/include",
10535 "buildtools/third_party/libc++abi/trunk/include",
10536 "net/third_party/quiche/overrides/",
10537 "net/third_party/quiche/src/",
10538 "net/third_party/quiche/src/quiche/common/platform/default/",
10539 "third_party/abseil-cpp/",
10540 "third_party/boringssl/src/include/",
10541 "third_party/brotli/include/",
10542 "third_party/protobuf/src/",
10543 "third_party/zlib/",
10544 ],
10545 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090010546 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010547 android_arm: {
10548 generated_headers: [
10549 "cronet_aml_base_debugging_buildflags__android_arm",
10550 "cronet_aml_base_logging_buildflags__android_arm",
10551 "cronet_aml_build_chromeos_buildflags__android_arm",
10552 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
10553 "cronet_aml_net_buildflags__android_arm",
10554 "cronet_aml_net_net_jni_headers__android_arm",
10555 "cronet_aml_url_buildflags__android_arm",
10556 ],
10557 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010558 android_arm64: {
10559 generated_headers: [
10560 "cronet_aml_base_debugging_buildflags__android_arm64",
10561 "cronet_aml_base_logging_buildflags__android_arm64",
10562 "cronet_aml_build_chromeos_buildflags__android_arm64",
10563 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
10564 "cronet_aml_net_buildflags__android_arm64",
10565 "cronet_aml_net_net_jni_headers__android_arm64",
10566 "cronet_aml_url_buildflags__android_arm64",
10567 ],
10568 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010569 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010570 cflags: [
10571 "-msse3",
10572 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010573 generated_headers: [
10574 "cronet_aml_base_debugging_buildflags__android_x86",
10575 "cronet_aml_base_logging_buildflags__android_x86",
10576 "cronet_aml_build_chromeos_buildflags__android_x86",
10577 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
10578 "cronet_aml_net_buildflags__android_x86",
10579 "cronet_aml_net_net_jni_headers__android_x86",
10580 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090010581 ],
10582 },
10583 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010584 cflags: [
10585 "-msse3",
10586 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010587 generated_headers: [
10588 "cronet_aml_base_debugging_buildflags__android_x86_64",
10589 "cronet_aml_base_logging_buildflags__android_x86_64",
10590 "cronet_aml_build_chromeos_buildflags__android_x86_64",
10591 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
10592 "cronet_aml_net_buildflags__android_x86_64",
10593 "cronet_aml_net_net_jni_headers__android_x86_64",
10594 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090010595 ],
10596 },
10597 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010598}
10599
10600// GN: //net/dns/public:public
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010601cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070010602 name: "cronet_aml_net_dns_public_public",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010603 srcs: [
10604 "net/dns/public/dns_config_overrides.cc",
10605 "net/dns/public/dns_over_https_config.cc",
10606 "net/dns/public/dns_over_https_server_config.cc",
10607 "net/dns/public/dns_query_type.cc",
10608 "net/dns/public/doh_provider_entry.cc",
10609 "net/dns/public/host_resolver_results.cc",
10610 "net/dns/public/resolve_error_info.cc",
10611 "net/dns/public/util.cc",
10612 ],
10613 shared_libs: [
10614 "libandroid",
10615 "liblog",
10616 ],
10617 static_libs: [
10618 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
10619 "cronet_aml_base_base",
10620 "cronet_aml_base_base_static",
10621 "cronet_aml_base_third_party_double_conversion_double_conversion",
10622 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
10623 "cronet_aml_crypto_crypto",
10624 "cronet_aml_net_preload_decoder",
10625 "cronet_aml_net_third_party_quiche_quiche",
10626 "cronet_aml_net_uri_template",
10627 "cronet_aml_third_party_boringssl_boringssl",
10628 "cronet_aml_third_party_brotli_common",
10629 "cronet_aml_third_party_brotli_dec",
10630 "cronet_aml_third_party_icu_icui18n",
10631 "cronet_aml_third_party_icu_icuuc_private",
10632 "cronet_aml_third_party_libevent_libevent",
10633 "cronet_aml_third_party_modp_b64_modp_b64",
10634 "cronet_aml_third_party_protobuf_protobuf_lite",
10635 "cronet_aml_third_party_zlib_zlib",
10636 "cronet_aml_url_url",
10637 ],
10638 generated_headers: [
10639 "cronet_aml_net_isolation_info_proto_gen_headers",
10640 "cronet_aml_net_net_nqe_proto_gen_headers",
10641 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
10642 ],
10643 defaults: [
10644 "cronet_aml_defaults",
10645 ],
10646 cflags: [
10647 "-DANDROID",
10648 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10649 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
10650 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
10651 "-DDCHECK_ALWAYS_ON=1",
10652 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
10653 "-DENABLE_BUILT_IN_DNS",
10654 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10655 "-DGOOGLE_PROTOBUF_NO_RTTI",
10656 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10657 "-DHAVE_PTHREAD",
10658 "-DHAVE_SYS_UIO_H",
10659 "-DNET_IMPLEMENTATION",
10660 "-D_DEBUG",
10661 "-D_GNU_SOURCE",
10662 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
10663 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10664 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
10665 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10666 "-D__STDC_CONSTANT_MACROS",
10667 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010668 ],
10669 local_include_dirs: [
10670 "./",
10671 "buildtools/third_party/libc++/",
10672 "buildtools/third_party/libc++/trunk/include",
10673 "buildtools/third_party/libc++abi/trunk/include",
10674 "net/third_party/quiche/overrides/",
10675 "net/third_party/quiche/src/",
10676 "net/third_party/quiche/src/quiche/common/platform/default/",
10677 "third_party/abseil-cpp/",
10678 "third_party/boringssl/src/include/",
10679 "third_party/brotli/include/",
10680 "third_party/protobuf/src/",
10681 "third_party/zlib/",
10682 ],
10683 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090010684 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010685 android_arm: {
10686 generated_headers: [
10687 "cronet_aml_base_debugging_buildflags__android_arm",
10688 "cronet_aml_base_logging_buildflags__android_arm",
10689 "cronet_aml_build_chromeos_buildflags__android_arm",
10690 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
10691 "cronet_aml_net_buildflags__android_arm",
10692 "cronet_aml_net_net_jni_headers__android_arm",
10693 "cronet_aml_url_buildflags__android_arm",
10694 ],
10695 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010696 android_arm64: {
10697 generated_headers: [
10698 "cronet_aml_base_debugging_buildflags__android_arm64",
10699 "cronet_aml_base_logging_buildflags__android_arm64",
10700 "cronet_aml_build_chromeos_buildflags__android_arm64",
10701 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
10702 "cronet_aml_net_buildflags__android_arm64",
10703 "cronet_aml_net_net_jni_headers__android_arm64",
10704 "cronet_aml_url_buildflags__android_arm64",
10705 ],
10706 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010707 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010708 cflags: [
10709 "-msse3",
10710 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010711 generated_headers: [
10712 "cronet_aml_base_debugging_buildflags__android_x86",
10713 "cronet_aml_base_logging_buildflags__android_x86",
10714 "cronet_aml_build_chromeos_buildflags__android_x86",
10715 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
10716 "cronet_aml_net_buildflags__android_x86",
10717 "cronet_aml_net_net_jni_headers__android_x86",
10718 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090010719 ],
10720 },
10721 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010722 cflags: [
10723 "-msse3",
10724 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010725 generated_headers: [
10726 "cronet_aml_base_debugging_buildflags__android_x86_64",
10727 "cronet_aml_base_logging_buildflags__android_x86_64",
10728 "cronet_aml_build_chromeos_buildflags__android_x86_64",
10729 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
10730 "cronet_aml_net_buildflags__android_x86_64",
10731 "cronet_aml_net_net_jni_headers__android_x86_64",
10732 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090010733 ],
10734 },
10735 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010736}
10737
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010738// GN: //net:effective_connection_type_java
Mohannad Farrag7ff99912022-11-29 17:16:00 +000010739java_genrule {
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010740 name: "cronet_aml_net_effective_connection_type_java",
10741 cmd: "$(location build/android/gyp/java_cpp_enum.py) --srcjar " +
Mohannad Farragb73ce0f2022-12-01 15:43:58 +000010742 "$(out) " +
10743 "$(location net/nqe/effective_connection_type.h)",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010744 out: [
10745 "net/effective_connection_type_java.srcjar",
10746 ],
10747 tool_files: [
10748 "build/android/gyp/java_cpp_enum.py",
Motomu Utsumi047831e2022-12-05 12:45:22 +090010749 "build/android/gyp/util/__init__.py",
10750 "build/android/gyp/util/build_utils.py",
10751 "build/android/gyp/util/java_cpp_utils.py",
10752 "build/gn_helpers.py",
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010753 "net/nqe/effective_connection_type.h",
10754 ],
Mohannad Farrag6a2d88a2022-11-28 19:33:48 +000010755}
10756
Patrick Rohrcb035942022-11-01 12:12:52 -070010757// GN: //net/http:transport_security_state_generated_files
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010758cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070010759 name: "cronet_aml_net_http_transport_security_state_generated_files",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010760 srcs: [
10761 "net/http/transport_security_state.cc",
10762 ],
10763 shared_libs: [
10764 "libandroid",
10765 "liblog",
10766 ],
10767 static_libs: [
10768 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
10769 "cronet_aml_base_base",
10770 "cronet_aml_base_base_static",
10771 "cronet_aml_base_third_party_double_conversion_double_conversion",
10772 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
10773 "cronet_aml_crypto_crypto",
10774 "cronet_aml_net_preload_decoder",
10775 "cronet_aml_net_third_party_quiche_quiche",
10776 "cronet_aml_net_uri_template",
10777 "cronet_aml_third_party_boringssl_boringssl",
10778 "cronet_aml_third_party_brotli_common",
10779 "cronet_aml_third_party_brotli_dec",
10780 "cronet_aml_third_party_icu_icui18n",
10781 "cronet_aml_third_party_icu_icuuc_private",
10782 "cronet_aml_third_party_libevent_libevent",
10783 "cronet_aml_third_party_modp_b64_modp_b64",
10784 "cronet_aml_third_party_protobuf_protobuf_lite",
10785 "cronet_aml_third_party_zlib_zlib",
10786 "cronet_aml_url_url",
10787 ],
10788 generated_headers: [
10789 "cronet_aml_net_isolation_info_proto_gen_headers",
10790 "cronet_aml_net_net_nqe_proto_gen_headers",
10791 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
10792 ],
10793 defaults: [
10794 "cronet_aml_defaults",
10795 ],
10796 cflags: [
10797 "-DANDROID",
10798 "-DANDROID_NDK_VERSION_ROLL=r23_1",
10799 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
10800 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
10801 "-DDCHECK_ALWAYS_ON=1",
10802 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
10803 "-DENABLE_BUILT_IN_DNS",
10804 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
10805 "-DGOOGLE_PROTOBUF_NO_RTTI",
10806 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10807 "-DHAVE_PTHREAD",
10808 "-DHAVE_SYS_UIO_H",
10809 "-DNET_IMPLEMENTATION",
10810 "-D_DEBUG",
10811 "-D_GNU_SOURCE",
10812 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
10813 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
10814 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
10815 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
10816 "-D__STDC_CONSTANT_MACROS",
10817 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010818 ],
10819 local_include_dirs: [
10820 "./",
10821 "buildtools/third_party/libc++/",
10822 "buildtools/third_party/libc++/trunk/include",
10823 "buildtools/third_party/libc++abi/trunk/include",
10824 "net/third_party/quiche/overrides/",
10825 "net/third_party/quiche/src/",
10826 "net/third_party/quiche/src/quiche/common/platform/default/",
10827 "third_party/abseil-cpp/",
10828 "third_party/boringssl/src/include/",
10829 "third_party/brotli/include/",
10830 "third_party/protobuf/src/",
10831 "third_party/zlib/",
10832 ],
10833 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090010834 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010835 android_arm: {
10836 generated_headers: [
10837 "cronet_aml_base_debugging_buildflags__android_arm",
10838 "cronet_aml_base_logging_buildflags__android_arm",
10839 "cronet_aml_build_branding_buildflags__android_arm",
10840 "cronet_aml_build_chromeos_buildflags__android_arm",
10841 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
10842 "cronet_aml_net_buildflags__android_arm",
10843 "cronet_aml_net_net_jni_headers__android_arm",
10844 "cronet_aml_url_buildflags__android_arm",
10845 ],
10846 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010847 android_arm64: {
10848 generated_headers: [
10849 "cronet_aml_base_debugging_buildflags__android_arm64",
10850 "cronet_aml_base_logging_buildflags__android_arm64",
10851 "cronet_aml_build_branding_buildflags__android_arm64",
10852 "cronet_aml_build_chromeos_buildflags__android_arm64",
10853 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
10854 "cronet_aml_net_buildflags__android_arm64",
10855 "cronet_aml_net_net_jni_headers__android_arm64",
10856 "cronet_aml_url_buildflags__android_arm64",
10857 ],
10858 },
Motomu Utsumi55394632022-11-18 17:44:28 +090010859 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010860 cflags: [
10861 "-msse3",
10862 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010863 generated_headers: [
10864 "cronet_aml_base_debugging_buildflags__android_x86",
10865 "cronet_aml_base_logging_buildflags__android_x86",
10866 "cronet_aml_build_branding_buildflags__android_x86",
10867 "cronet_aml_build_chromeos_buildflags__android_x86",
10868 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
10869 "cronet_aml_net_buildflags__android_x86",
10870 "cronet_aml_net_net_jni_headers__android_x86",
10871 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090010872 ],
10873 },
10874 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010875 cflags: [
10876 "-msse3",
10877 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000010878 generated_headers: [
10879 "cronet_aml_base_debugging_buildflags__android_x86_64",
10880 "cronet_aml_base_logging_buildflags__android_x86_64",
10881 "cronet_aml_build_branding_buildflags__android_x86_64",
10882 "cronet_aml_build_chromeos_buildflags__android_x86_64",
10883 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
10884 "cronet_aml_net_buildflags__android_x86_64",
10885 "cronet_aml_net_net_jni_headers__android_x86_64",
10886 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090010887 ],
10888 },
10889 },
Patrick Rohrcb035942022-11-01 12:12:52 -070010890}
10891
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010892// GN: //net:ios_cronet_buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010893cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010894 name: "cronet_aml_net_ios_cronet_buildflags__android_arm",
10895 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
10896 "$(location build/write_buildflag_header.py) --output " +
10897 "$(out) " +
10898 "--rulename " +
10899 "//net:ios_cronet_buildflags " +
10900 "--gen-dir " +
10901 ". " +
10902 "--definitions " +
10903 "/dev/stdin",
10904 out: [
10905 "net/socket/ios_cronet_buildflags.h",
10906 ],
10907 tool_files: [
10908 "build/write_buildflag_header.py",
10909 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010910 apex_available: [
10911 "com.android.tethering",
10912 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090010913}
10914
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010915// GN: //net:ios_cronet_buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010916cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010917 name: "cronet_aml_net_ios_cronet_buildflags__android_arm64",
10918 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
10919 "$(location build/write_buildflag_header.py) --output " +
10920 "$(out) " +
10921 "--rulename " +
10922 "//net:ios_cronet_buildflags " +
10923 "--gen-dir " +
10924 ". " +
10925 "--definitions " +
10926 "/dev/stdin",
10927 out: [
10928 "net/socket/ios_cronet_buildflags.h",
10929 ],
10930 tool_files: [
10931 "build/write_buildflag_header.py",
10932 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010933 apex_available: [
10934 "com.android.tethering",
10935 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090010936}
10937
Patrick Rohr98600682022-11-18 18:29:15 -080010938// GN: //net:ios_cronet_buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010939cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080010940 name: "cronet_aml_net_ios_cronet_buildflags__android_x86",
10941 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
10942 "$(location build/write_buildflag_header.py) --output " +
10943 "$(out) " +
10944 "--rulename " +
10945 "//net:ios_cronet_buildflags " +
10946 "--gen-dir " +
10947 ". " +
10948 "--definitions " +
10949 "/dev/stdin",
10950 out: [
10951 "net/socket/ios_cronet_buildflags.h",
10952 ],
10953 tool_files: [
10954 "build/write_buildflag_header.py",
10955 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010956 apex_available: [
10957 "com.android.tethering",
10958 ],
Patrick Rohr98600682022-11-18 18:29:15 -080010959}
10960
10961// GN: //net:ios_cronet_buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010962cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080010963 name: "cronet_aml_net_ios_cronet_buildflags__android_x86_64",
Patrick Rohrcb035942022-11-01 12:12:52 -070010964 cmd: "echo '--flags CRONET_BUILD=\"false\"' | " +
10965 "$(location build/write_buildflag_header.py) --output " +
10966 "$(out) " +
10967 "--rulename " +
10968 "//net:ios_cronet_buildflags " +
10969 "--gen-dir " +
10970 ". " +
10971 "--definitions " +
10972 "/dev/stdin",
10973 out: [
10974 "net/socket/ios_cronet_buildflags.h",
10975 ],
10976 tool_files: [
10977 "build/write_buildflag_header.py",
10978 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010979 apex_available: [
10980 "com.android.tethering",
10981 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070010982}
10983
10984// GN: //net:isolation_info_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000010985cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070010986 name: "cronet_aml_net_isolation_info_proto_gen",
10987 srcs: [
10988 "net/base/isolation_info.proto",
10989 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090010990 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090010991 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090010992 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090010993 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/net/base --cpp_out=lite=true:$(genDir)/external/chromium_org/net/base/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -070010994 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -080010995 "external/chromium_org/net/base/isolation_info.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090010996 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090010997 apex_available: [
10998 "com.android.tethering",
10999 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090011000}
11001
Patrick Rohrc5980782022-11-07 16:34:03 -080011002// GN: //net:isolation_info_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000011003cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090011004 name: "cronet_aml_net_isolation_info_proto_gen_headers",
11005 srcs: [
11006 "net/base/isolation_info.proto",
11007 ],
11008 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090011009 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090011010 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090011011 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/net/base --cpp_out=lite=true:$(genDir)/external/chromium_org/net/base/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +090011012 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -080011013 "external/chromium_org/net/base/isolation_info.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070011014 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080011015 export_include_dirs: [
11016 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080011017 "net/base",
Patrick Rohrc5980782022-11-07 16:34:03 -080011018 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070011019 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090011020 apex_available: [
11021 "com.android.tethering",
11022 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070011023}
11024
11025// GN: //net:net
11026cc_library_static {
11027 name: "cronet_aml_net_net",
11028 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011029 ":cronet_aml_net_dns_dns",
11030 ":cronet_aml_net_dns_public_public",
11031 ":cronet_aml_net_http_transport_security_state_generated_files",
11032 ":cronet_aml_net_net_deps",
11033 ":cronet_aml_net_net_public_deps",
11034 ":cronet_aml_net_traffic_annotation_traffic_annotation",
Patrick Rohrcb035942022-11-01 12:12:52 -070011035 "net/android/android_http_util.cc",
11036 "net/android/cert_verify_result_android.cc",
11037 "net/android/gurl_utils.cc",
11038 "net/android/http_auth_negotiate_android.cc",
11039 "net/android/keystore.cc",
11040 "net/android/network_change_notifier_android.cc",
11041 "net/android/network_change_notifier_delegate_android.cc",
11042 "net/android/network_change_notifier_factory_android.cc",
11043 "net/android/network_library.cc",
11044 "net/android/radio_activity_tracker.cc",
11045 "net/android/traffic_stats.cc",
11046 "net/base/address_family.cc",
11047 "net/base/address_list.cc",
11048 "net/base/address_tracker_linux.cc",
11049 "net/base/auth.cc",
11050 "net/base/backoff_entry.cc",
11051 "net/base/backoff_entry_serializer.cc",
11052 "net/base/cache_metrics.cc",
11053 "net/base/chunked_upload_data_stream.cc",
11054 "net/base/connection_endpoint_metadata.cc",
11055 "net/base/data_url.cc",
11056 "net/base/datagram_buffer.cc",
11057 "net/base/elements_upload_data_stream.cc",
11058 "net/base/features.cc",
11059 "net/base/file_stream.cc",
11060 "net/base/file_stream_context.cc",
11061 "net/base/file_stream_context_posix.cc",
11062 "net/base/filename_util.cc",
11063 "net/base/filename_util_internal.cc",
11064 "net/base/hash_value.cc",
11065 "net/base/hex_utils.cc",
11066 "net/base/host_mapping_rules.cc",
11067 "net/base/host_port_pair.cc",
11068 "net/base/io_buffer.cc",
11069 "net/base/ip_address.cc",
11070 "net/base/ip_endpoint.cc",
11071 "net/base/isolation_info.cc",
11072 "net/base/load_timing_info.cc",
11073 "net/base/logging_network_change_observer.cc",
11074 "net/base/lookup_string_in_fixed_set.cc",
11075 "net/base/mime_sniffer.cc",
11076 "net/base/mime_util.cc",
11077 "net/base/net_errors.cc",
11078 "net/base/net_errors_posix.cc",
11079 "net/base/net_module.cc",
11080 "net/base/net_string_util_icu_alternatives_android.cc",
11081 "net/base/network_activity_monitor.cc",
11082 "net/base/network_anonymization_key.cc",
11083 "net/base/network_change_notifier.cc",
11084 "net/base/network_change_notifier_posix.cc",
11085 "net/base/network_delegate.cc",
11086 "net/base/network_delegate_impl.cc",
11087 "net/base/network_interfaces.cc",
11088 "net/base/network_interfaces_getifaddrs.cc",
11089 "net/base/network_interfaces_getifaddrs_android.cc",
11090 "net/base/network_interfaces_linux.cc",
11091 "net/base/network_interfaces_posix.cc",
11092 "net/base/network_isolation_key.cc",
11093 "net/base/parse_number.cc",
11094 "net/base/platform_mime_util_linux.cc",
11095 "net/base/port_util.cc",
11096 "net/base/prioritized_dispatcher.cc",
11097 "net/base/prioritized_task_runner.cc",
11098 "net/base/privacy_mode.cc",
11099 "net/base/proxy_server.cc",
11100 "net/base/proxy_string_util.cc",
11101 "net/base/registry_controlled_domains/registry_controlled_domain.cc",
11102 "net/base/request_priority.cc",
11103 "net/base/scheme_host_port_matcher.cc",
11104 "net/base/scheme_host_port_matcher_rule.cc",
11105 "net/base/schemeful_site.cc",
11106 "net/base/sockaddr_storage.cc",
11107 "net/base/sockaddr_util_posix.cc",
11108 "net/base/transport_info.cc",
11109 "net/base/upload_bytes_element_reader.cc",
11110 "net/base/upload_data_stream.cc",
11111 "net/base/upload_element_reader.cc",
11112 "net/base/upload_file_element_reader.cc",
11113 "net/base/url_util.cc",
11114 "net/cert/asn1_util.cc",
11115 "net/cert/caching_cert_verifier.cc",
11116 "net/cert/cert_and_ct_verifier.cc",
11117 "net/cert/cert_database.cc",
11118 "net/cert/cert_status_flags.cc",
11119 "net/cert/cert_verifier.cc",
11120 "net/cert/cert_verify_proc.cc",
11121 "net/cert/cert_verify_proc_android.cc",
11122 "net/cert/cert_verify_proc_builtin.cc",
11123 "net/cert/cert_verify_result.cc",
11124 "net/cert/coalescing_cert_verifier.cc",
11125 "net/cert/crl_set.cc",
11126 "net/cert/ct_log_response_parser.cc",
11127 "net/cert/ct_log_verifier.cc",
11128 "net/cert/ct_log_verifier_util.cc",
11129 "net/cert/ct_objects_extractor.cc",
11130 "net/cert/ct_policy_enforcer.cc",
11131 "net/cert/ct_sct_to_string.cc",
11132 "net/cert/ct_serialization.cc",
11133 "net/cert/ct_signed_certificate_timestamp_log_param.cc",
11134 "net/cert/do_nothing_ct_verifier.cc",
11135 "net/cert/ev_root_ca_metadata.cc",
11136 "net/cert/internal/cert_issuer_source_aia.cc",
11137 "net/cert/internal/revocation_checker.cc",
11138 "net/cert/internal/system_trust_store.cc",
11139 "net/cert/known_roots.cc",
11140 "net/cert/merkle_audit_proof.cc",
11141 "net/cert/merkle_consistency_proof.cc",
11142 "net/cert/merkle_tree_leaf.cc",
11143 "net/cert/multi_log_ct_verifier.cc",
11144 "net/cert/multi_threaded_cert_verifier.cc",
11145 "net/cert/ocsp_verify_result.cc",
11146 "net/cert/pem.cc",
11147 "net/cert/pki/cert_error_id.cc",
11148 "net/cert/pki/cert_error_params.cc",
11149 "net/cert/pki/cert_errors.cc",
11150 "net/cert/pki/cert_issuer_source_static.cc",
11151 "net/cert/pki/certificate_policies.cc",
11152 "net/cert/pki/common_cert_errors.cc",
11153 "net/cert/pki/crl.cc",
11154 "net/cert/pki/extended_key_usage.cc",
11155 "net/cert/pki/general_names.cc",
11156 "net/cert/pki/name_constraints.cc",
11157 "net/cert/pki/ocsp.cc",
11158 "net/cert/pki/parse_certificate.cc",
11159 "net/cert/pki/parse_name.cc",
11160 "net/cert/pki/parsed_certificate.cc",
11161 "net/cert/pki/path_builder.cc",
11162 "net/cert/pki/revocation_util.cc",
11163 "net/cert/pki/signature_algorithm.cc",
11164 "net/cert/pki/simple_path_builder_delegate.cc",
11165 "net/cert/pki/string_util.cc",
11166 "net/cert/pki/trust_store.cc",
11167 "net/cert/pki/trust_store_collection.cc",
11168 "net/cert/pki/trust_store_in_memory.cc",
11169 "net/cert/pki/verify_certificate_chain.cc",
11170 "net/cert/pki/verify_name_match.cc",
11171 "net/cert/pki/verify_signed_data.cc",
11172 "net/cert/sct_status_flags.cc",
11173 "net/cert/signed_certificate_timestamp.cc",
11174 "net/cert/signed_certificate_timestamp_and_status.cc",
11175 "net/cert/signed_tree_head.cc",
11176 "net/cert/symantec_certs.cc",
11177 "net/cert/test_root_certs.cc",
11178 "net/cert/test_root_certs_android.cc",
11179 "net/cert/trial_comparison_cert_verifier_util.cc",
11180 "net/cert/x509_cert_types.cc",
11181 "net/cert/x509_certificate.cc",
11182 "net/cert/x509_certificate_net_log_param.cc",
11183 "net/cert/x509_util.cc",
11184 "net/cert/x509_util_android.cc",
11185 "net/cert_net/cert_net_fetcher_url_request.cc",
11186 "net/cookies/canonical_cookie.cc",
11187 "net/cookies/cookie_access_delegate.cc",
11188 "net/cookies/cookie_access_result.cc",
11189 "net/cookies/cookie_change_dispatcher.cc",
11190 "net/cookies/cookie_constants.cc",
11191 "net/cookies/cookie_deletion_info.cc",
11192 "net/cookies/cookie_inclusion_status.cc",
11193 "net/cookies/cookie_monster.cc",
11194 "net/cookies/cookie_monster_change_dispatcher.cc",
11195 "net/cookies/cookie_monster_netlog_params.cc",
11196 "net/cookies/cookie_options.cc",
11197 "net/cookies/cookie_partition_key.cc",
11198 "net/cookies/cookie_partition_key_collection.cc",
11199 "net/cookies/cookie_store.cc",
11200 "net/cookies/cookie_util.cc",
11201 "net/cookies/parsed_cookie.cc",
11202 "net/cookies/site_for_cookies.cc",
11203 "net/cookies/static_cookie_policy.cc",
11204 "net/der/encode_values.cc",
11205 "net/der/input.cc",
11206 "net/der/parse_values.cc",
11207 "net/der/parser.cc",
11208 "net/der/tag.cc",
11209 "net/disk_cache/backend_cleanup_tracker.cc",
11210 "net/disk_cache/blockfile/addr.cc",
11211 "net/disk_cache/blockfile/backend_impl.cc",
11212 "net/disk_cache/blockfile/bitmap.cc",
11213 "net/disk_cache/blockfile/block_files.cc",
11214 "net/disk_cache/blockfile/disk_format.cc",
11215 "net/disk_cache/blockfile/entry_impl.cc",
11216 "net/disk_cache/blockfile/eviction.cc",
11217 "net/disk_cache/blockfile/file.cc",
11218 "net/disk_cache/blockfile/file_lock.cc",
11219 "net/disk_cache/blockfile/file_posix.cc",
11220 "net/disk_cache/blockfile/in_flight_backend_io.cc",
11221 "net/disk_cache/blockfile/in_flight_io.cc",
11222 "net/disk_cache/blockfile/mapped_file.cc",
Patrick Rohrcb035942022-11-01 12:12:52 -070011223 "net/disk_cache/blockfile/rankings.cc",
11224 "net/disk_cache/blockfile/sparse_control.cc",
11225 "net/disk_cache/blockfile/stats.cc",
11226 "net/disk_cache/cache_util.cc",
11227 "net/disk_cache/cache_util_posix.cc",
11228 "net/disk_cache/disk_cache.cc",
11229 "net/disk_cache/memory/mem_backend_impl.cc",
11230 "net/disk_cache/memory/mem_entry_impl.cc",
11231 "net/disk_cache/net_log_parameters.cc",
11232 "net/disk_cache/simple/post_doom_waiter.cc",
11233 "net/disk_cache/simple/simple_backend_impl.cc",
11234 "net/disk_cache/simple/simple_entry_format.cc",
11235 "net/disk_cache/simple/simple_entry_impl.cc",
11236 "net/disk_cache/simple/simple_entry_operation.cc",
11237 "net/disk_cache/simple/simple_file_enumerator.cc",
11238 "net/disk_cache/simple/simple_file_tracker.cc",
11239 "net/disk_cache/simple/simple_index.cc",
11240 "net/disk_cache/simple/simple_index_file.cc",
11241 "net/disk_cache/simple/simple_net_log_parameters.cc",
11242 "net/disk_cache/simple/simple_synchronous_entry.cc",
11243 "net/disk_cache/simple/simple_util.cc",
11244 "net/disk_cache/simple/simple_util_posix.cc",
11245 "net/disk_cache/simple/simple_version_upgrade.cc",
11246 "net/filter/brotli_source_stream.cc",
11247 "net/filter/filter_source_stream.cc",
11248 "net/filter/gzip_header.cc",
11249 "net/filter/gzip_source_stream.cc",
11250 "net/filter/source_stream.cc",
11251 "net/first_party_sets/addition_overlaps_union_find.cc",
11252 "net/first_party_sets/first_party_set_entry.cc",
11253 "net/first_party_sets/first_party_set_metadata.cc",
11254 "net/first_party_sets/first_party_sets_cache_filter.cc",
11255 "net/first_party_sets/first_party_sets_context_config.cc",
11256 "net/first_party_sets/global_first_party_sets.cc",
11257 "net/first_party_sets/same_party_context.cc",
11258 "net/http/alternative_service.cc",
11259 "net/http/bidirectional_stream.cc",
11260 "net/http/bidirectional_stream_impl.cc",
11261 "net/http/bidirectional_stream_request_info.cc",
11262 "net/http/broken_alternative_services.cc",
11263 "net/http/http_auth.cc",
11264 "net/http/http_auth_cache.cc",
11265 "net/http/http_auth_challenge_tokenizer.cc",
11266 "net/http/http_auth_controller.cc",
11267 "net/http/http_auth_filter.cc",
11268 "net/http/http_auth_handler.cc",
11269 "net/http/http_auth_handler_basic.cc",
11270 "net/http/http_auth_handler_digest.cc",
11271 "net/http/http_auth_handler_factory.cc",
11272 "net/http/http_auth_handler_negotiate.cc",
11273 "net/http/http_auth_handler_ntlm.cc",
11274 "net/http/http_auth_handler_ntlm_portable.cc",
11275 "net/http/http_auth_multi_round_parse.cc",
11276 "net/http/http_auth_ntlm_mechanism.cc",
11277 "net/http/http_auth_preferences.cc",
11278 "net/http/http_auth_scheme.cc",
11279 "net/http/http_basic_state.cc",
11280 "net/http/http_basic_stream.cc",
11281 "net/http/http_byte_range.cc",
11282 "net/http/http_cache.cc",
11283 "net/http/http_cache_lookup_manager.cc",
11284 "net/http/http_cache_transaction.cc",
11285 "net/http/http_cache_writers.cc",
11286 "net/http/http_chunked_decoder.cc",
11287 "net/http/http_content_disposition.cc",
11288 "net/http/http_log_util.cc",
11289 "net/http/http_network_layer.cc",
11290 "net/http/http_network_session.cc",
11291 "net/http/http_network_session_peer.cc",
11292 "net/http/http_network_transaction.cc",
11293 "net/http/http_proxy_client_socket.cc",
11294 "net/http/http_proxy_connect_job.cc",
11295 "net/http/http_raw_request_headers.cc",
11296 "net/http/http_request_headers.cc",
11297 "net/http/http_request_info.cc",
11298 "net/http/http_response_body_drainer.cc",
11299 "net/http/http_response_headers.cc",
11300 "net/http/http_response_info.cc",
11301 "net/http/http_security_headers.cc",
11302 "net/http/http_server_properties.cc",
11303 "net/http/http_server_properties_manager.cc",
11304 "net/http/http_status_code.cc",
11305 "net/http/http_stream_factory.cc",
11306 "net/http/http_stream_factory_job.cc",
11307 "net/http/http_stream_factory_job_controller.cc",
11308 "net/http/http_stream_parser.cc",
11309 "net/http/http_stream_request.cc",
11310 "net/http/http_util.cc",
11311 "net/http/http_vary_data.cc",
11312 "net/http/partial_data.cc",
11313 "net/http/proxy_client_socket.cc",
11314 "net/http/proxy_fallback.cc",
11315 "net/http/transport_security_persister.cc",
11316 "net/http/transport_security_state_source.cc",
11317 "net/http/url_security_manager.cc",
11318 "net/http/url_security_manager_posix.cc",
11319 "net/http/webfonts_histogram.cc",
11320 "net/log/file_net_log_observer.cc",
11321 "net/log/net_log.cc",
11322 "net/log/net_log_capture_mode.cc",
11323 "net/log/net_log_entry.cc",
11324 "net/log/net_log_event_type.cc",
11325 "net/log/net_log_source.cc",
11326 "net/log/net_log_util.cc",
11327 "net/log/net_log_values.cc",
11328 "net/log/net_log_with_source.cc",
11329 "net/log/trace_net_log_observer.cc",
11330 "net/network_error_logging/network_error_logging_service.cc",
11331 "net/nqe/cached_network_quality.cc",
11332 "net/nqe/effective_connection_type.cc",
11333 "net/nqe/event_creator.cc",
11334 "net/nqe/network_id.cc",
11335 "net/nqe/network_qualities_prefs_manager.cc",
11336 "net/nqe/network_quality.cc",
11337 "net/nqe/network_quality_estimator.cc",
11338 "net/nqe/network_quality_estimator_params.cc",
11339 "net/nqe/network_quality_estimator_util.cc",
11340 "net/nqe/network_quality_observation.cc",
11341 "net/nqe/network_quality_store.cc",
11342 "net/nqe/observation_buffer.cc",
11343 "net/nqe/pref_names.cc",
11344 "net/nqe/socket_watcher.cc",
11345 "net/nqe/socket_watcher_factory.cc",
11346 "net/nqe/throughput_analyzer.cc",
11347 "net/ntlm/ntlm.cc",
11348 "net/ntlm/ntlm_buffer_reader.cc",
11349 "net/ntlm/ntlm_buffer_writer.cc",
11350 "net/ntlm/ntlm_client.cc",
11351 "net/ntlm/ntlm_constants.cc",
11352 "net/proxy_resolution/configured_proxy_resolution_request.cc",
11353 "net/proxy_resolution/configured_proxy_resolution_service.cc",
11354 "net/proxy_resolution/dhcp_pac_file_fetcher.cc",
11355 "net/proxy_resolution/multi_threaded_proxy_resolver.cc",
11356 "net/proxy_resolution/network_delegate_error_observer.cc",
11357 "net/proxy_resolution/pac_file_data.cc",
11358 "net/proxy_resolution/pac_file_decider.cc",
11359 "net/proxy_resolution/pac_file_fetcher.cc",
11360 "net/proxy_resolution/pac_file_fetcher_impl.cc",
11361 "net/proxy_resolution/polling_proxy_config_service.cc",
11362 "net/proxy_resolution/proxy_bypass_rules.cc",
11363 "net/proxy_resolution/proxy_config.cc",
11364 "net/proxy_resolution/proxy_config_service.cc",
11365 "net/proxy_resolution/proxy_config_service_android.cc",
11366 "net/proxy_resolution/proxy_config_service_fixed.cc",
11367 "net/proxy_resolution/proxy_config_with_annotation.cc",
11368 "net/proxy_resolution/proxy_info.cc",
11369 "net/proxy_resolution/proxy_list.cc",
11370 "net/proxy_resolution/proxy_resolver_factory.cc",
11371 "net/quic/bidirectional_stream_quic_impl.cc",
11372 "net/quic/crypto/proof_source_chromium.cc",
11373 "net/quic/crypto/proof_verifier_chromium.cc",
11374 "net/quic/dedicated_web_transport_http3_client.cc",
11375 "net/quic/network_connection.cc",
11376 "net/quic/platform/impl/quic_chromium_clock.cc",
11377 "net/quic/properties_based_quic_server_info.cc",
11378 "net/quic/quic_address_mismatch.cc",
11379 "net/quic/quic_chromium_alarm_factory.cc",
11380 "net/quic/quic_chromium_client_session.cc",
11381 "net/quic/quic_chromium_client_stream.cc",
11382 "net/quic/quic_chromium_connection_helper.cc",
11383 "net/quic/quic_chromium_packet_reader.cc",
11384 "net/quic/quic_chromium_packet_writer.cc",
11385 "net/quic/quic_clock_skew_detector.cc",
11386 "net/quic/quic_connection_logger.cc",
11387 "net/quic/quic_connectivity_monitor.cc",
11388 "net/quic/quic_context.cc",
11389 "net/quic/quic_crypto_client_config_handle.cc",
11390 "net/quic/quic_crypto_client_stream_factory.cc",
11391 "net/quic/quic_event_logger.cc",
11392 "net/quic/quic_http3_logger.cc",
11393 "net/quic/quic_http_stream.cc",
11394 "net/quic/quic_http_utils.cc",
11395 "net/quic/quic_proxy_client_socket.cc",
11396 "net/quic/quic_server_info.cc",
11397 "net/quic/quic_session_key.cc",
11398 "net/quic/quic_stream_factory.cc",
11399 "net/quic/set_quic_flag.cc",
11400 "net/quic/web_transport_client.cc",
11401 "net/quic/web_transport_error.cc",
11402 "net/reporting/reporting_browsing_data_remover.cc",
11403 "net/reporting/reporting_cache.cc",
11404 "net/reporting/reporting_cache_impl.cc",
11405 "net/reporting/reporting_cache_observer.cc",
11406 "net/reporting/reporting_context.cc",
11407 "net/reporting/reporting_delegate.cc",
11408 "net/reporting/reporting_delivery_agent.cc",
11409 "net/reporting/reporting_endpoint.cc",
11410 "net/reporting/reporting_endpoint_manager.cc",
11411 "net/reporting/reporting_garbage_collector.cc",
11412 "net/reporting/reporting_header_parser.cc",
11413 "net/reporting/reporting_network_change_observer.cc",
11414 "net/reporting/reporting_policy.cc",
11415 "net/reporting/reporting_report.cc",
11416 "net/reporting/reporting_service.cc",
11417 "net/reporting/reporting_uploader.cc",
11418 "net/socket/client_socket_factory.cc",
11419 "net/socket/client_socket_handle.cc",
11420 "net/socket/client_socket_pool.cc",
11421 "net/socket/client_socket_pool_manager.cc",
11422 "net/socket/client_socket_pool_manager_impl.cc",
11423 "net/socket/connect_job.cc",
11424 "net/socket/connect_job_factory.cc",
11425 "net/socket/network_binding_client_socket_factory.cc",
11426 "net/socket/next_proto.cc",
11427 "net/socket/server_socket.cc",
11428 "net/socket/socket.cc",
11429 "net/socket/socket_bio_adapter.cc",
11430 "net/socket/socket_descriptor.cc",
11431 "net/socket/socket_net_log_params.cc",
11432 "net/socket/socket_options.cc",
11433 "net/socket/socket_posix.cc",
11434 "net/socket/socket_tag.cc",
11435 "net/socket/socks5_client_socket.cc",
11436 "net/socket/socks_client_socket.cc",
11437 "net/socket/socks_connect_job.cc",
11438 "net/socket/ssl_client_socket.cc",
11439 "net/socket/ssl_client_socket_impl.cc",
11440 "net/socket/ssl_connect_job.cc",
11441 "net/socket/ssl_server_socket_impl.cc",
11442 "net/socket/stream_socket.cc",
11443 "net/socket/tcp_client_socket.cc",
11444 "net/socket/tcp_server_socket.cc",
11445 "net/socket/tcp_socket_posix.cc",
11446 "net/socket/transport_client_socket.cc",
11447 "net/socket/transport_client_socket_pool.cc",
11448 "net/socket/transport_connect_job.cc",
11449 "net/socket/transport_connect_sub_job.cc",
11450 "net/socket/udp_client_socket.cc",
11451 "net/socket/udp_net_log_parameters.cc",
11452 "net/socket/udp_server_socket.cc",
11453 "net/socket/udp_socket_global_limits.cc",
11454 "net/socket/udp_socket_posix.cc",
11455 "net/socket/unix_domain_client_socket_posix.cc",
11456 "net/socket/unix_domain_server_socket_posix.cc",
11457 "net/socket/websocket_endpoint_lock_manager.cc",
11458 "net/socket/websocket_transport_client_socket_pool.cc",
11459 "net/spdy/alps_decoder.cc",
11460 "net/spdy/bidirectional_stream_spdy_impl.cc",
11461 "net/spdy/buffered_spdy_framer.cc",
11462 "net/spdy/header_coalescer.cc",
11463 "net/spdy/http2_priority_dependencies.cc",
11464 "net/spdy/http2_push_promise_index.cc",
11465 "net/spdy/multiplexed_http_stream.cc",
11466 "net/spdy/multiplexed_session.cc",
11467 "net/spdy/spdy_buffer.cc",
11468 "net/spdy/spdy_buffer_producer.cc",
11469 "net/spdy/spdy_http_stream.cc",
11470 "net/spdy/spdy_http_utils.cc",
11471 "net/spdy/spdy_log_util.cc",
11472 "net/spdy/spdy_proxy_client_socket.cc",
11473 "net/spdy/spdy_read_queue.cc",
11474 "net/spdy/spdy_session.cc",
11475 "net/spdy/spdy_session_key.cc",
11476 "net/spdy/spdy_session_pool.cc",
11477 "net/spdy/spdy_stream.cc",
11478 "net/spdy/spdy_write_queue.cc",
11479 "net/ssl/cert_compression.cc",
11480 "net/ssl/client_cert_identity.cc",
11481 "net/ssl/openssl_ssl_util.cc",
11482 "net/ssl/ssl_cert_request_info.cc",
11483 "net/ssl/ssl_cipher_suite_names.cc",
11484 "net/ssl/ssl_client_auth_cache.cc",
11485 "net/ssl/ssl_client_session_cache.cc",
11486 "net/ssl/ssl_config.cc",
11487 "net/ssl/ssl_config_service.cc",
11488 "net/ssl/ssl_config_service_defaults.cc",
11489 "net/ssl/ssl_info.cc",
11490 "net/ssl/ssl_key_logger.cc",
11491 "net/ssl/ssl_key_logger_impl.cc",
11492 "net/ssl/ssl_platform_key_android.cc",
11493 "net/ssl/ssl_platform_key_util.cc",
11494 "net/ssl/ssl_private_key.cc",
11495 "net/ssl/ssl_server_config.cc",
11496 "net/ssl/threaded_ssl_private_key.cc",
11497 "net/url_request/redirect_info.cc",
11498 "net/url_request/redirect_util.cc",
11499 "net/url_request/report_sender.cc",
11500 "net/url_request/static_http_user_agent_settings.cc",
11501 "net/url_request/url_request.cc",
11502 "net/url_request/url_request_context.cc",
11503 "net/url_request/url_request_context_builder.cc",
11504 "net/url_request/url_request_context_getter.cc",
11505 "net/url_request/url_request_error_job.cc",
11506 "net/url_request/url_request_filter.cc",
11507 "net/url_request/url_request_http_job.cc",
11508 "net/url_request/url_request_interceptor.cc",
11509 "net/url_request/url_request_job.cc",
11510 "net/url_request/url_request_job_factory.cc",
11511 "net/url_request/url_request_netlog_params.cc",
11512 "net/url_request/url_request_redirect_job.cc",
11513 "net/url_request/url_request_throttler_entry.cc",
11514 "net/url_request/url_request_throttler_manager.cc",
11515 "net/url_request/view_cache_helper.cc",
11516 "net/url_request/websocket_handshake_userdata_key.cc",
11517 ],
11518 shared_libs: [
11519 "libandroid",
11520 "liblog",
11521 ],
11522 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080011523 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070011524 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080011525 "cronet_aml_base_base_static",
11526 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -070011527 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
11528 "cronet_aml_crypto_crypto",
Patrick Rohrcb035942022-11-01 12:12:52 -070011529 "cronet_aml_net_preload_decoder",
Patrick Rohrcb035942022-11-01 12:12:52 -070011530 "cronet_aml_net_third_party_quiche_quiche",
11531 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090011532 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080011533 "cronet_aml_third_party_brotli_common",
Patrick Rohrcb035942022-11-01 12:12:52 -070011534 "cronet_aml_third_party_brotli_dec",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080011535 "cronet_aml_third_party_icu_icui18n",
11536 "cronet_aml_third_party_icu_icuuc_private",
11537 "cronet_aml_third_party_libevent_libevent",
11538 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090011539 "cronet_aml_third_party_protobuf_protobuf_lite",
Patrick Rohrcb035942022-11-01 12:12:52 -070011540 "cronet_aml_third_party_zlib_zlib",
11541 "cronet_aml_url_url",
11542 ],
11543 generated_headers: [
Patrick Rohrc5980782022-11-07 16:34:03 -080011544 "cronet_aml_net_isolation_info_proto_gen_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -080011545 "cronet_aml_net_net_nqe_proto_gen_headers",
11546 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070011547 ],
11548 export_generated_headers: [
Patrick Rohrc5980782022-11-07 16:34:03 -080011549 "cronet_aml_net_isolation_info_proto_gen_headers",
Patrick Rohrc5980782022-11-07 16:34:03 -080011550 "cronet_aml_net_net_nqe_proto_gen_headers",
11551 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070011552 ],
Patrick Rohrbb0956e2022-11-09 15:37:16 -080011553 export_static_lib_headers: [
Motomu Utsumi2f66bb32022-11-10 11:21:14 +090011554 "cronet_aml_crypto_crypto",
Patrick Rohrbb0956e2022-11-09 15:37:16 -080011555 "cronet_aml_net_third_party_quiche_quiche",
11556 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070011557 defaults: [
11558 "cronet_aml_defaults",
11559 ],
11560 cflags: [
11561 "-DANDROID",
11562 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11563 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
11564 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
11565 "-DDCHECK_ALWAYS_ON=1",
11566 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
11567 "-DENABLE_BUILT_IN_DNS",
11568 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11569 "-DGOOGLE_PROTOBUF_NO_RTTI",
11570 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11571 "-DHAVE_PTHREAD",
11572 "-DHAVE_SYS_UIO_H",
11573 "-DNET_IMPLEMENTATION",
11574 "-D_DEBUG",
11575 "-D_GNU_SOURCE",
11576 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
11577 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11578 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
11579 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11580 "-D__STDC_CONSTANT_MACROS",
11581 "-D__STDC_FORMAT_MACROS",
11582 ],
11583 local_include_dirs: [
11584 "./",
11585 "buildtools/third_party/libc++/",
11586 "buildtools/third_party/libc++/trunk/include",
11587 "buildtools/third_party/libc++abi/trunk/include",
11588 "net/third_party/quiche/overrides/",
11589 "net/third_party/quiche/src/",
11590 "net/third_party/quiche/src/quiche/common/platform/default/",
11591 "third_party/abseil-cpp/",
11592 "third_party/boringssl/src/include/",
11593 "third_party/brotli/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090011594 "third_party/protobuf/src/",
Patrick Rohrcb035942022-11-01 12:12:52 -070011595 "third_party/zlib/",
Patrick Rohrcb035942022-11-01 12:12:52 -070011596 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070011597 cpp_std: "c++20",
Motomu Utsumi65501182022-11-18 15:26:35 +090011598 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011599 android_arm: {
11600 srcs: [
11601 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
11602 ],
11603 generated_headers: [
11604 "cronet_aml_base_debugging_buildflags__android_arm",
11605 "cronet_aml_base_logging_buildflags__android_arm",
11606 "cronet_aml_build_branding_buildflags__android_arm",
11607 "cronet_aml_build_chromeos_buildflags__android_arm",
11608 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
11609 "cronet_aml_net_buildflags__android_arm",
11610 "cronet_aml_net_ios_cronet_buildflags__android_arm",
11611 "cronet_aml_net_net_jni_headers__android_arm",
11612 "cronet_aml_url_buildflags__android_arm",
11613 ],
11614 export_generated_headers: [
11615 "cronet_aml_base_debugging_buildflags__android_arm",
11616 "cronet_aml_base_logging_buildflags__android_arm",
11617 "cronet_aml_build_branding_buildflags__android_arm",
11618 "cronet_aml_build_chromeos_buildflags__android_arm",
11619 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
11620 "cronet_aml_net_buildflags__android_arm",
11621 "cronet_aml_net_ios_cronet_buildflags__android_arm",
11622 "cronet_aml_net_net_jni_headers__android_arm",
11623 "cronet_aml_url_buildflags__android_arm",
11624 ],
11625 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090011626 android_arm64: {
11627 srcs: [
11628 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
11629 ],
11630 generated_headers: [
11631 "cronet_aml_base_debugging_buildflags__android_arm64",
11632 "cronet_aml_base_logging_buildflags__android_arm64",
11633 "cronet_aml_build_branding_buildflags__android_arm64",
11634 "cronet_aml_build_chromeos_buildflags__android_arm64",
11635 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
11636 "cronet_aml_net_buildflags__android_arm64",
11637 "cronet_aml_net_ios_cronet_buildflags__android_arm64",
11638 "cronet_aml_net_net_jni_headers__android_arm64",
11639 "cronet_aml_url_buildflags__android_arm64",
11640 ],
11641 export_generated_headers: [
11642 "cronet_aml_base_debugging_buildflags__android_arm64",
11643 "cronet_aml_base_logging_buildflags__android_arm64",
11644 "cronet_aml_build_branding_buildflags__android_arm64",
11645 "cronet_aml_build_chromeos_buildflags__android_arm64",
11646 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
11647 "cronet_aml_net_buildflags__android_arm64",
11648 "cronet_aml_net_ios_cronet_buildflags__android_arm64",
11649 "cronet_aml_net_net_jni_headers__android_arm64",
11650 "cronet_aml_url_buildflags__android_arm64",
11651 ],
11652 },
Motomu Utsumi65501182022-11-18 15:26:35 +090011653 android_x86: {
11654 srcs: [
11655 "net/disk_cache/blockfile/mapped_file_posix.cc",
11656 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011657 cflags: [
11658 "-msse3",
11659 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000011660 generated_headers: [
11661 "cronet_aml_base_debugging_buildflags__android_x86",
11662 "cronet_aml_base_logging_buildflags__android_x86",
11663 "cronet_aml_build_branding_buildflags__android_x86",
11664 "cronet_aml_build_chromeos_buildflags__android_x86",
11665 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
11666 "cronet_aml_net_buildflags__android_x86",
11667 "cronet_aml_net_ios_cronet_buildflags__android_x86",
11668 "cronet_aml_net_net_jni_headers__android_x86",
11669 "cronet_aml_url_buildflags__android_x86",
11670 ],
11671 export_generated_headers: [
11672 "cronet_aml_base_debugging_buildflags__android_x86",
11673 "cronet_aml_base_logging_buildflags__android_x86",
11674 "cronet_aml_build_branding_buildflags__android_x86",
11675 "cronet_aml_build_chromeos_buildflags__android_x86",
11676 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
11677 "cronet_aml_net_buildflags__android_x86",
11678 "cronet_aml_net_ios_cronet_buildflags__android_x86",
11679 "cronet_aml_net_net_jni_headers__android_x86",
11680 "cronet_aml_url_buildflags__android_x86",
11681 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090011682 },
11683 android_x86_64: {
11684 srcs: [
11685 "net/disk_cache/blockfile/mapped_file_bypass_mmap_posix.cc",
11686 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011687 cflags: [
11688 "-msse3",
11689 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000011690 generated_headers: [
11691 "cronet_aml_base_debugging_buildflags__android_x86_64",
11692 "cronet_aml_base_logging_buildflags__android_x86_64",
11693 "cronet_aml_build_branding_buildflags__android_x86_64",
11694 "cronet_aml_build_chromeos_buildflags__android_x86_64",
11695 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
11696 "cronet_aml_net_buildflags__android_x86_64",
11697 "cronet_aml_net_ios_cronet_buildflags__android_x86_64",
11698 "cronet_aml_net_net_jni_headers__android_x86_64",
11699 "cronet_aml_url_buildflags__android_x86_64",
11700 ],
11701 export_generated_headers: [
11702 "cronet_aml_base_debugging_buildflags__android_x86_64",
11703 "cronet_aml_base_logging_buildflags__android_x86_64",
11704 "cronet_aml_build_branding_buildflags__android_x86_64",
11705 "cronet_aml_build_chromeos_buildflags__android_x86_64",
11706 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
11707 "cronet_aml_net_buildflags__android_x86_64",
11708 "cronet_aml_net_ios_cronet_buildflags__android_x86_64",
11709 "cronet_aml_net_net_jni_headers__android_x86_64",
11710 "cronet_aml_url_buildflags__android_x86_64",
11711 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090011712 },
11713 },
Patrick Rohrcb035942022-11-01 12:12:52 -070011714}
11715
11716// GN: //net:net_deps
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011717cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070011718 name: "cronet_aml_net_net_deps",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011719 srcs: [
11720 ":cronet_aml_net_isolation_info_proto_gen",
11721 ],
11722 shared_libs: [
11723 "libandroid",
11724 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000011725 "libprotobuf-cpp-lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011726 ],
11727 static_libs: [
11728 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
11729 "cronet_aml_base_base",
11730 "cronet_aml_base_base_static",
11731 "cronet_aml_base_third_party_double_conversion_double_conversion",
11732 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
11733 "cronet_aml_net_preload_decoder",
11734 "cronet_aml_third_party_boringssl_boringssl",
11735 "cronet_aml_third_party_brotli_common",
11736 "cronet_aml_third_party_brotli_dec",
11737 "cronet_aml_third_party_icu_icui18n",
11738 "cronet_aml_third_party_icu_icuuc_private",
11739 "cronet_aml_third_party_libevent_libevent",
11740 "cronet_aml_third_party_modp_b64_modp_b64",
11741 "cronet_aml_third_party_protobuf_protobuf_lite",
11742 "cronet_aml_third_party_zlib_zlib",
11743 ],
11744 generated_headers: [
11745 "cronet_aml_net_isolation_info_proto_gen_headers",
11746 ],
11747 defaults: [
11748 "cronet_aml_defaults",
11749 ],
11750 cflags: [
11751 "-DANDROID",
11752 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11753 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
11754 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
11755 "-DDCHECK_ALWAYS_ON=1",
11756 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
11757 "-DENABLE_BUILT_IN_DNS",
11758 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
11759 "-DGOOGLE_PROTOBUF_NO_RTTI",
11760 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
11761 "-DHAVE_PTHREAD",
11762 "-DHAVE_SYS_UIO_H",
11763 "-DNET_IMPLEMENTATION",
11764 "-D_DEBUG",
11765 "-D_GNU_SOURCE",
11766 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
11767 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11768 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
11769 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11770 "-D__STDC_CONSTANT_MACROS",
11771 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011772 ],
11773 local_include_dirs: [
11774 "./",
11775 "buildtools/third_party/libc++/",
11776 "buildtools/third_party/libc++/trunk/include",
11777 "buildtools/third_party/libc++abi/trunk/include",
11778 "third_party/abseil-cpp/",
11779 "third_party/boringssl/src/include/",
11780 "third_party/brotli/include/",
11781 "third_party/protobuf/src/",
11782 "third_party/zlib/",
11783 ],
11784 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090011785 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011786 android_arm: {
11787 generated_headers: [
11788 "cronet_aml_base_debugging_buildflags__android_arm",
11789 "cronet_aml_base_logging_buildflags__android_arm",
11790 "cronet_aml_build_chromeos_buildflags__android_arm",
11791 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm",
11792 "cronet_aml_net_net_jni_headers__android_arm",
11793 "cronet_aml_url_buildflags__android_arm",
11794 ],
11795 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090011796 android_arm64: {
11797 generated_headers: [
11798 "cronet_aml_base_debugging_buildflags__android_arm64",
11799 "cronet_aml_base_logging_buildflags__android_arm64",
11800 "cronet_aml_build_chromeos_buildflags__android_arm64",
11801 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_arm64",
11802 "cronet_aml_net_net_jni_headers__android_arm64",
11803 "cronet_aml_url_buildflags__android_arm64",
11804 ],
11805 },
Motomu Utsumi55394632022-11-18 17:44:28 +090011806 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011807 cflags: [
11808 "-msse3",
11809 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011810 generated_headers: [
11811 "cronet_aml_base_debugging_buildflags__android_x86",
11812 "cronet_aml_base_logging_buildflags__android_x86",
11813 "cronet_aml_build_chromeos_buildflags__android_x86",
11814 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86",
11815 "cronet_aml_net_net_jni_headers__android_x86",
11816 "cronet_aml_url_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090011817 ],
11818 },
11819 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011820 cflags: [
11821 "-msse3",
11822 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011823 generated_headers: [
11824 "cronet_aml_base_debugging_buildflags__android_x86_64",
11825 "cronet_aml_base_logging_buildflags__android_x86_64",
11826 "cronet_aml_build_chromeos_buildflags__android_x86_64",
11827 "cronet_aml_net_base_registry_controlled_domains_registry_controlled_domains__android_x86_64",
11828 "cronet_aml_net_net_jni_headers__android_x86_64",
11829 "cronet_aml_url_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090011830 ],
11831 },
11832 },
Patrick Rohrcb035942022-11-01 12:12:52 -070011833}
11834
11835// GN: //net:net_export_header
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011836cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070011837 name: "cronet_aml_net_net_export_header",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011838 defaults: [
11839 "cronet_aml_defaults",
11840 ],
11841 cflags: [
11842 "-DANDROID",
11843 "-DANDROID_NDK_VERSION_ROLL=r23_1",
11844 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
11845 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
11846 "-DDCHECK_ALWAYS_ON=1",
11847 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
11848 "-DHAVE_SYS_UIO_H",
11849 "-D_DEBUG",
11850 "-D_GNU_SOURCE",
11851 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
11852 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
11853 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
11854 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
11855 "-D__STDC_CONSTANT_MACROS",
11856 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000011857 ],
11858 local_include_dirs: [
11859 "./",
11860 "buildtools/third_party/libc++/",
11861 "buildtools/third_party/libc++/trunk/include",
11862 "buildtools/third_party/libc++abi/trunk/include",
11863 ],
11864 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011865 target: {
11866 android_x86: {
11867 cflags: [
11868 "-msse3",
11869 ],
11870 },
11871 android_x86_64: {
11872 cflags: [
11873 "-msse3",
11874 ],
11875 },
11876 },
11877}
11878
11879// GN: //net:net_jni_headers__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000011880cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011881 name: "cronet_aml_net_net_jni_headers__android_arm",
11882 srcs: [
11883 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
11884 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
11885 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
11886 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
11887 "net/android/java/src/org/chromium/net/DnsStatus.java",
11888 "net/android/java/src/org/chromium/net/GURLUtils.java",
11889 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
11890 "net/android/java/src/org/chromium/net/HttpUtil.java",
11891 "net/android/java/src/org/chromium/net/NetStringUtil.java",
11892 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
11893 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
11894 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
11895 "net/android/java/src/org/chromium/net/X509Util.java",
11896 ],
11897 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
11898 "long " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090011899 "--output_dir " +
11900 "$(genDir)/net/net_jni_headers " +
11901 "--includes " +
11902 "base/android/jni_generator/jni_generator_helper.h " +
11903 "--use_proxy_hash " +
11904 "--output_name " +
11905 "AndroidCertVerifyResult_jni.h " +
11906 "--output_name " +
11907 "AndroidKeyStore_jni.h " +
11908 "--output_name " +
11909 "AndroidNetworkLibrary_jni.h " +
11910 "--output_name " +
11911 "AndroidTrafficStats_jni.h " +
11912 "--output_name " +
11913 "DnsStatus_jni.h " +
11914 "--output_name " +
11915 "GURLUtils_jni.h " +
11916 "--output_name " +
11917 "HttpNegotiateAuthenticator_jni.h " +
11918 "--output_name " +
11919 "HttpUtil_jni.h " +
11920 "--output_name " +
11921 "NetStringUtil_jni.h " +
11922 "--output_name " +
11923 "NetworkActiveNotifier_jni.h " +
11924 "--output_name " +
11925 "NetworkChangeNotifier_jni.h " +
11926 "--output_name " +
11927 "ProxyChangeListener_jni.h " +
11928 "--output_name " +
11929 "X509Util_jni.h " +
11930 "--input_file " +
11931 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
11932 "--input_file " +
11933 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
11934 "--input_file " +
11935 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
11936 "--input_file " +
11937 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
11938 "--input_file " +
11939 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
11940 "--input_file " +
11941 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
11942 "--input_file " +
11943 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
11944 "--input_file " +
11945 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
11946 "--input_file " +
11947 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
11948 "--input_file " +
11949 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
11950 "--input_file " +
11951 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
11952 "--input_file " +
11953 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
11954 "--input_file " +
11955 "$(location net/android/java/src/org/chromium/net/X509Util.java)",
11956 out: [
11957 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
11958 "net/net_jni_headers/AndroidKeyStore_jni.h",
11959 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
11960 "net/net_jni_headers/AndroidTrafficStats_jni.h",
11961 "net/net_jni_headers/DnsStatus_jni.h",
11962 "net/net_jni_headers/GURLUtils_jni.h",
11963 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
11964 "net/net_jni_headers/HttpUtil_jni.h",
11965 "net/net_jni_headers/NetStringUtil_jni.h",
11966 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
11967 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
11968 "net/net_jni_headers/ProxyChangeListener_jni.h",
11969 "net/net_jni_headers/X509Util_jni.h",
11970 ],
11971 tool_files: [
11972 "base/android/jni_generator/android_jar.classes",
11973 "base/android/jni_generator/jni_generator.py",
11974 "build/android/gyp/util/__init__.py",
11975 "build/android/gyp/util/build_utils.py",
11976 "build/gn_helpers.py",
11977 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090011978 apex_available: [
11979 "com.android.tethering",
11980 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070011981}
11982
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090011983// GN: //net:net_jni_headers__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000011984cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090011985 name: "cronet_aml_net_net_jni_headers__android_arm64",
11986 srcs: [
11987 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
11988 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
11989 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
11990 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
11991 "net/android/java/src/org/chromium/net/DnsStatus.java",
11992 "net/android/java/src/org/chromium/net/GURLUtils.java",
11993 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
11994 "net/android/java/src/org/chromium/net/HttpUtil.java",
11995 "net/android/java/src/org/chromium/net/NetStringUtil.java",
11996 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
11997 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
11998 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
11999 "net/android/java/src/org/chromium/net/X509Util.java",
12000 ],
12001 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
12002 "long " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090012003 "--output_dir " +
12004 "$(genDir)/net/net_jni_headers " +
12005 "--includes " +
12006 "base/android/jni_generator/jni_generator_helper.h " +
12007 "--use_proxy_hash " +
12008 "--output_name " +
12009 "AndroidCertVerifyResult_jni.h " +
12010 "--output_name " +
12011 "AndroidKeyStore_jni.h " +
12012 "--output_name " +
12013 "AndroidNetworkLibrary_jni.h " +
12014 "--output_name " +
12015 "AndroidTrafficStats_jni.h " +
12016 "--output_name " +
12017 "DnsStatus_jni.h " +
12018 "--output_name " +
12019 "GURLUtils_jni.h " +
12020 "--output_name " +
12021 "HttpNegotiateAuthenticator_jni.h " +
12022 "--output_name " +
12023 "HttpUtil_jni.h " +
12024 "--output_name " +
12025 "NetStringUtil_jni.h " +
12026 "--output_name " +
12027 "NetworkActiveNotifier_jni.h " +
12028 "--output_name " +
12029 "NetworkChangeNotifier_jni.h " +
12030 "--output_name " +
12031 "ProxyChangeListener_jni.h " +
12032 "--output_name " +
12033 "X509Util_jni.h " +
12034 "--input_file " +
12035 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
12036 "--input_file " +
12037 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
12038 "--input_file " +
12039 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
12040 "--input_file " +
12041 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
12042 "--input_file " +
12043 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
12044 "--input_file " +
12045 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
12046 "--input_file " +
12047 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
12048 "--input_file " +
12049 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
12050 "--input_file " +
12051 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
12052 "--input_file " +
12053 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
12054 "--input_file " +
12055 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
12056 "--input_file " +
12057 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
12058 "--input_file " +
12059 "$(location net/android/java/src/org/chromium/net/X509Util.java)",
12060 out: [
12061 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
12062 "net/net_jni_headers/AndroidKeyStore_jni.h",
12063 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
12064 "net/net_jni_headers/AndroidTrafficStats_jni.h",
12065 "net/net_jni_headers/DnsStatus_jni.h",
12066 "net/net_jni_headers/GURLUtils_jni.h",
12067 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
12068 "net/net_jni_headers/HttpUtil_jni.h",
12069 "net/net_jni_headers/NetStringUtil_jni.h",
12070 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
12071 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
12072 "net/net_jni_headers/ProxyChangeListener_jni.h",
12073 "net/net_jni_headers/X509Util_jni.h",
12074 ],
12075 tool_files: [
12076 "base/android/jni_generator/android_jar.classes",
12077 "base/android/jni_generator/jni_generator.py",
12078 "build/android/gyp/util/__init__.py",
12079 "build/android/gyp/util/build_utils.py",
12080 "build/gn_helpers.py",
12081 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012082 apex_available: [
12083 "com.android.tethering",
12084 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090012085}
12086
Patrick Rohr98600682022-11-18 18:29:15 -080012087// GN: //net:net_jni_headers__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012088cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080012089 name: "cronet_aml_net_net_jni_headers__android_x86",
12090 srcs: [
12091 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
12092 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
12093 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
12094 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
12095 "net/android/java/src/org/chromium/net/DnsStatus.java",
12096 "net/android/java/src/org/chromium/net/GURLUtils.java",
12097 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
12098 "net/android/java/src/org/chromium/net/HttpUtil.java",
12099 "net/android/java/src/org/chromium/net/NetStringUtil.java",
12100 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
12101 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
12102 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
12103 "net/android/java/src/org/chromium/net/X509Util.java",
12104 ],
12105 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
12106 "long " +
Patrick Rohr98600682022-11-18 18:29:15 -080012107 "--output_dir " +
12108 "$(genDir)/net/net_jni_headers " +
12109 "--includes " +
12110 "base/android/jni_generator/jni_generator_helper.h " +
12111 "--use_proxy_hash " +
12112 "--output_name " +
12113 "AndroidCertVerifyResult_jni.h " +
12114 "--output_name " +
12115 "AndroidKeyStore_jni.h " +
12116 "--output_name " +
12117 "AndroidNetworkLibrary_jni.h " +
12118 "--output_name " +
12119 "AndroidTrafficStats_jni.h " +
12120 "--output_name " +
12121 "DnsStatus_jni.h " +
12122 "--output_name " +
12123 "GURLUtils_jni.h " +
12124 "--output_name " +
12125 "HttpNegotiateAuthenticator_jni.h " +
12126 "--output_name " +
12127 "HttpUtil_jni.h " +
12128 "--output_name " +
12129 "NetStringUtil_jni.h " +
12130 "--output_name " +
12131 "NetworkActiveNotifier_jni.h " +
12132 "--output_name " +
12133 "NetworkChangeNotifier_jni.h " +
12134 "--output_name " +
12135 "ProxyChangeListener_jni.h " +
12136 "--output_name " +
12137 "X509Util_jni.h " +
12138 "--input_file " +
12139 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
12140 "--input_file " +
12141 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
12142 "--input_file " +
12143 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
12144 "--input_file " +
12145 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
12146 "--input_file " +
12147 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
12148 "--input_file " +
12149 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
12150 "--input_file " +
12151 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
12152 "--input_file " +
12153 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
12154 "--input_file " +
12155 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
12156 "--input_file " +
12157 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
12158 "--input_file " +
12159 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
12160 "--input_file " +
12161 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
12162 "--input_file " +
12163 "$(location net/android/java/src/org/chromium/net/X509Util.java)",
12164 out: [
12165 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
12166 "net/net_jni_headers/AndroidKeyStore_jni.h",
12167 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
12168 "net/net_jni_headers/AndroidTrafficStats_jni.h",
12169 "net/net_jni_headers/DnsStatus_jni.h",
12170 "net/net_jni_headers/GURLUtils_jni.h",
12171 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
12172 "net/net_jni_headers/HttpUtil_jni.h",
12173 "net/net_jni_headers/NetStringUtil_jni.h",
12174 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
12175 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
12176 "net/net_jni_headers/ProxyChangeListener_jni.h",
12177 "net/net_jni_headers/X509Util_jni.h",
12178 ],
12179 tool_files: [
12180 "base/android/jni_generator/android_jar.classes",
12181 "base/android/jni_generator/jni_generator.py",
12182 "build/android/gyp/util/__init__.py",
12183 "build/android/gyp/util/build_utils.py",
12184 "build/gn_helpers.py",
12185 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012186 apex_available: [
12187 "com.android.tethering",
12188 ],
Patrick Rohr98600682022-11-18 18:29:15 -080012189}
12190
12191// GN: //net:net_jni_headers__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012192cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080012193 name: "cronet_aml_net_net_jni_headers__android_x86_64",
Patrick Rohrcb035942022-11-01 12:12:52 -070012194 srcs: [
12195 "net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java",
12196 "net/android/java/src/org/chromium/net/AndroidKeyStore.java",
12197 "net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java",
12198 "net/android/java/src/org/chromium/net/AndroidTrafficStats.java",
12199 "net/android/java/src/org/chromium/net/DnsStatus.java",
12200 "net/android/java/src/org/chromium/net/GURLUtils.java",
12201 "net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java",
12202 "net/android/java/src/org/chromium/net/HttpUtil.java",
12203 "net/android/java/src/org/chromium/net/NetStringUtil.java",
12204 "net/android/java/src/org/chromium/net/NetworkActiveNotifier.java",
12205 "net/android/java/src/org/chromium/net/NetworkChangeNotifier.java",
12206 "net/android/java/src/org/chromium/net/ProxyChangeListener.java",
12207 "net/android/java/src/org/chromium/net/X509Util.java",
12208 ],
12209 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
12210 "long " +
Patrick Rohrcb035942022-11-01 12:12:52 -070012211 "--output_dir " +
12212 "$(genDir)/net/net_jni_headers " +
12213 "--includes " +
12214 "base/android/jni_generator/jni_generator_helper.h " +
12215 "--use_proxy_hash " +
12216 "--output_name " +
12217 "AndroidCertVerifyResult_jni.h " +
12218 "--output_name " +
12219 "AndroidKeyStore_jni.h " +
12220 "--output_name " +
12221 "AndroidNetworkLibrary_jni.h " +
12222 "--output_name " +
12223 "AndroidTrafficStats_jni.h " +
12224 "--output_name " +
12225 "DnsStatus_jni.h " +
12226 "--output_name " +
12227 "GURLUtils_jni.h " +
12228 "--output_name " +
12229 "HttpNegotiateAuthenticator_jni.h " +
12230 "--output_name " +
12231 "HttpUtil_jni.h " +
12232 "--output_name " +
12233 "NetStringUtil_jni.h " +
12234 "--output_name " +
12235 "NetworkActiveNotifier_jni.h " +
12236 "--output_name " +
12237 "NetworkChangeNotifier_jni.h " +
12238 "--output_name " +
12239 "ProxyChangeListener_jni.h " +
12240 "--output_name " +
12241 "X509Util_jni.h " +
12242 "--input_file " +
12243 "$(location net/android/java/src/org/chromium/net/AndroidCertVerifyResult.java) " +
12244 "--input_file " +
12245 "$(location net/android/java/src/org/chromium/net/AndroidKeyStore.java) " +
12246 "--input_file " +
12247 "$(location net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java) " +
12248 "--input_file " +
12249 "$(location net/android/java/src/org/chromium/net/AndroidTrafficStats.java) " +
12250 "--input_file " +
12251 "$(location net/android/java/src/org/chromium/net/DnsStatus.java) " +
12252 "--input_file " +
12253 "$(location net/android/java/src/org/chromium/net/GURLUtils.java) " +
12254 "--input_file " +
12255 "$(location net/android/java/src/org/chromium/net/HttpNegotiateAuthenticator.java) " +
12256 "--input_file " +
12257 "$(location net/android/java/src/org/chromium/net/HttpUtil.java) " +
12258 "--input_file " +
12259 "$(location net/android/java/src/org/chromium/net/NetStringUtil.java) " +
12260 "--input_file " +
12261 "$(location net/android/java/src/org/chromium/net/NetworkActiveNotifier.java) " +
12262 "--input_file " +
12263 "$(location net/android/java/src/org/chromium/net/NetworkChangeNotifier.java) " +
12264 "--input_file " +
12265 "$(location net/android/java/src/org/chromium/net/ProxyChangeListener.java) " +
12266 "--input_file " +
12267 "$(location net/android/java/src/org/chromium/net/X509Util.java)",
12268 out: [
12269 "net/net_jni_headers/AndroidCertVerifyResult_jni.h",
12270 "net/net_jni_headers/AndroidKeyStore_jni.h",
12271 "net/net_jni_headers/AndroidNetworkLibrary_jni.h",
12272 "net/net_jni_headers/AndroidTrafficStats_jni.h",
12273 "net/net_jni_headers/DnsStatus_jni.h",
12274 "net/net_jni_headers/GURLUtils_jni.h",
12275 "net/net_jni_headers/HttpNegotiateAuthenticator_jni.h",
12276 "net/net_jni_headers/HttpUtil_jni.h",
12277 "net/net_jni_headers/NetStringUtil_jni.h",
12278 "net/net_jni_headers/NetworkActiveNotifier_jni.h",
12279 "net/net_jni_headers/NetworkChangeNotifier_jni.h",
12280 "net/net_jni_headers/ProxyChangeListener_jni.h",
12281 "net/net_jni_headers/X509Util_jni.h",
12282 ],
12283 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +000012284 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -070012285 "base/android/jni_generator/jni_generator.py",
12286 "build/android/gyp/util/__init__.py",
12287 "build/android/gyp/util/build_utils.py",
12288 "build/gn_helpers.py",
12289 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012290 apex_available: [
12291 "com.android.tethering",
12292 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070012293}
12294
12295// GN: //net:net_nqe_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012296cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070012297 name: "cronet_aml_net_net_nqe_proto_gen",
12298 srcs: [
12299 "net/nqe/proto/network_id_proto.proto",
12300 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012301 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012302 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012303 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012304 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/chromium_org/net/nqe/proto/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -070012305 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012306 "external/chromium_org/net/nqe/proto/network_id_proto.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012307 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012308 apex_available: [
12309 "com.android.tethering",
12310 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090012311}
12312
Patrick Rohrc5980782022-11-07 16:34:03 -080012313// GN: //net:net_nqe_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012314cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090012315 name: "cronet_aml_net_net_nqe_proto_gen_headers",
12316 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090012317 "net/nqe/proto/network_id_proto.proto",
12318 ],
12319 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012320 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012321 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012322 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/net/nqe/proto --cpp_out=lite=true:$(genDir)/external/chromium_org/net/nqe/proto/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012323 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012324 "external/chromium_org/net/nqe/proto/network_id_proto.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070012325 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080012326 export_include_dirs: [
12327 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080012328 "net/nqe/proto",
Patrick Rohrc5980782022-11-07 16:34:03 -080012329 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070012330 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012331 apex_available: [
12332 "com.android.tethering",
12333 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070012334}
12335
12336// GN: //net:net_public_deps
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012337cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070012338 name: "cronet_aml_net_net_public_deps",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012339 srcs: [
12340 ":cronet_aml_net_net_nqe_proto_gen",
12341 ":cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
12342 ],
12343 shared_libs: [
12344 "libandroid",
12345 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012346 "libprotobuf-cpp-lite",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012347 ],
12348 static_libs: [
12349 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
12350 "cronet_aml_base_base",
12351 "cronet_aml_base_base_static",
12352 "cronet_aml_base_third_party_double_conversion_double_conversion",
12353 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
12354 "cronet_aml_crypto_crypto",
12355 "cronet_aml_net_third_party_quiche_quiche",
12356 "cronet_aml_net_uri_template",
12357 "cronet_aml_third_party_boringssl_boringssl",
12358 "cronet_aml_third_party_icu_icui18n",
12359 "cronet_aml_third_party_icu_icuuc_private",
12360 "cronet_aml_third_party_libevent_libevent",
12361 "cronet_aml_third_party_modp_b64_modp_b64",
12362 "cronet_aml_third_party_protobuf_protobuf_lite",
12363 "cronet_aml_third_party_zlib_zlib",
12364 "cronet_aml_url_url",
12365 ],
12366 generated_headers: [
12367 "cronet_aml_net_net_nqe_proto_gen_headers",
12368 "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
12369 ],
12370 defaults: [
12371 "cronet_aml_defaults",
12372 ],
12373 cflags: [
12374 "-DANDROID",
12375 "-DANDROID_NDK_VERSION_ROLL=r23_1",
12376 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
12377 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
12378 "-DDCHECK_ALWAYS_ON=1",
12379 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
12380 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
12381 "-DGOOGLE_PROTOBUF_NO_RTTI",
12382 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
12383 "-DHAVE_PTHREAD",
12384 "-DHAVE_SYS_UIO_H",
12385 "-D_DEBUG",
12386 "-D_GNU_SOURCE",
12387 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
12388 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
12389 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
12390 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
12391 "-D__STDC_CONSTANT_MACROS",
12392 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012393 ],
12394 local_include_dirs: [
12395 "./",
12396 "buildtools/third_party/libc++/",
12397 "buildtools/third_party/libc++/trunk/include",
12398 "buildtools/third_party/libc++abi/trunk/include",
12399 "net/third_party/quiche/overrides/",
12400 "net/third_party/quiche/src/",
12401 "net/third_party/quiche/src/quiche/common/platform/default/",
12402 "third_party/abseil-cpp/",
12403 "third_party/boringssl/src/include/",
12404 "third_party/protobuf/src/",
12405 ],
12406 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090012407 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012408 android_arm: {
12409 generated_headers: [
12410 "cronet_aml_build_chromeos_buildflags__android_arm",
12411 "cronet_aml_net_buildflags__android_arm",
12412 ],
12413 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090012414 android_arm64: {
12415 generated_headers: [
12416 "cronet_aml_build_chromeos_buildflags__android_arm64",
12417 "cronet_aml_net_buildflags__android_arm64",
12418 ],
12419 },
Motomu Utsumi55394632022-11-18 17:44:28 +090012420 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012421 cflags: [
12422 "-msse3",
12423 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012424 generated_headers: [
12425 "cronet_aml_build_chromeos_buildflags__android_x86",
12426 "cronet_aml_net_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090012427 ],
12428 },
12429 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012430 cflags: [
12431 "-msse3",
12432 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012433 generated_headers: [
12434 "cronet_aml_build_chromeos_buildflags__android_x86_64",
12435 "cronet_aml_net_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090012436 ],
12437 },
12438 },
Patrick Rohrcb035942022-11-01 12:12:52 -070012439}
12440
Patrick Rohrcb035942022-11-01 12:12:52 -070012441// GN: //net:preload_decoder
12442cc_library_static {
12443 name: "cronet_aml_net_preload_decoder",
12444 srcs: [
12445 "net/extras/preload_data/decoder.cc",
12446 ],
12447 shared_libs: [
12448 "libandroid",
12449 "liblog",
12450 ],
12451 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012452 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070012453 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012454 "cronet_aml_base_base_static",
12455 "cronet_aml_base_third_party_double_conversion_double_conversion",
12456 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090012457 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012458 "cronet_aml_third_party_icu_icui18n",
12459 "cronet_aml_third_party_icu_icuuc_private",
12460 "cronet_aml_third_party_libevent_libevent",
12461 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070012462 ],
12463 defaults: [
12464 "cronet_aml_defaults",
12465 ],
12466 cflags: [
12467 "-DANDROID",
12468 "-DANDROID_NDK_VERSION_ROLL=r23_1",
12469 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
12470 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
12471 "-DDCHECK_ALWAYS_ON=1",
12472 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
12473 "-DHAVE_SYS_UIO_H",
12474 "-D_DEBUG",
12475 "-D_GNU_SOURCE",
12476 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
12477 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
12478 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
12479 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
12480 "-D__STDC_CONSTANT_MACROS",
12481 "-D__STDC_FORMAT_MACROS",
12482 ],
12483 local_include_dirs: [
12484 "./",
12485 "buildtools/third_party/libc++/",
12486 "buildtools/third_party/libc++/trunk/include",
12487 "buildtools/third_party/libc++abi/trunk/include",
12488 "third_party/abseil-cpp/",
12489 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070012490 ],
12491 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012492 target: {
12493 android_x86: {
12494 cflags: [
12495 "-msse3",
12496 ],
12497 },
12498 android_x86_64: {
12499 cflags: [
12500 "-msse3",
12501 ],
12502 },
12503 },
Patrick Rohrcb035942022-11-01 12:12:52 -070012504}
12505
12506// GN: //net/third_party/quiche:net_quic_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012507cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070012508 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen",
12509 srcs: [
12510 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
12511 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
12512 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
12513 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012514 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012515 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012516 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012517 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/chromium_org/net/third_party/quiche/src/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -070012518 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012519 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.cc",
12520 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.cc",
12521 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012522 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012523 apex_available: [
12524 "com.android.tethering",
12525 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090012526}
12527
Patrick Rohrc5980782022-11-07 16:34:03 -080012528// GN: //net/third_party/quiche:net_quic_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012529cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090012530 name: "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
12531 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090012532 "net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.proto",
12533 "net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.proto",
12534 "net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.proto",
12535 ],
12536 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012537 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012538 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012539 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/net/third_party/quiche/src --cpp_out=lite=true:$(genDir)/external/chromium_org/net/third_party/quiche/src/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012540 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012541 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/cached_network_parameters.pb.h",
12542 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/crypto_server_config.pb.h",
12543 "external/chromium_org/net/third_party/quiche/src/quiche/quic/core/proto/source_address_token.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070012544 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080012545 export_include_dirs: [
12546 ".",
Mohannad Farrage558ead2022-11-08 18:44:04 +000012547 "net/third_party/quiche/src",
Patrick Rohrc5980782022-11-07 16:34:03 -080012548 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070012549 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012550 apex_available: [
12551 "com.android.tethering",
12552 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070012553}
12554
12555// GN: //net/third_party/quiche:net_quic_test_tools_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012556cc_genrule {
Patrick Rohrcb035942022-11-01 12:12:52 -070012557 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen",
12558 srcs: [
12559 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
12560 ],
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012561 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012562 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumi26ef25d2022-11-04 18:30:19 +090012563 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012564 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
Patrick Rohrcb035942022-11-01 12:12:52 -070012565 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012566 "external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.cc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012567 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012568 apex_available: [
12569 "com.android.tethering",
12570 ],
Motomu Utsumic6277d92022-11-07 15:15:17 +090012571}
12572
Patrick Rohrc5980782022-11-07 16:34:03 -080012573// GN: //net/third_party/quiche:net_quic_test_tools_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012574cc_genrule {
Motomu Utsumic6277d92022-11-07 15:15:17 +090012575 name: "cronet_aml_net_third_party_quiche_net_quic_test_tools_proto_gen_headers",
12576 srcs: [
Motomu Utsumic6277d92022-11-07 15:15:17 +090012577 "net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.proto",
12578 ],
12579 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012580 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012581 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090012582 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools --cpp_out=lite=true:$(genDir)/external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools/ $(in)",
Motomu Utsumic6277d92022-11-07 15:15:17 +090012583 out: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012584 "external/chromium_org/net/third_party/quiche/src/quiche/quic/test_tools/send_algorithm_test_result.pb.h",
Patrick Rohrcb035942022-11-01 12:12:52 -070012585 ],
Patrick Rohrc5980782022-11-07 16:34:03 -080012586 export_include_dirs: [
12587 ".",
Patrick Rohr2267a0a2022-11-08 18:59:34 -080012588 "net/third_party/quiche/src/quiche/quic/test_tools",
Patrick Rohrc5980782022-11-07 16:34:03 -080012589 "protos",
Patrick Rohrcb035942022-11-01 12:12:52 -070012590 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090012591 apex_available: [
12592 "com.android.tethering",
12593 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070012594}
12595
12596// GN: //net/third_party/quiche:quiche
12597cc_library_static {
12598 name: "cronet_aml_net_third_party_quiche_quiche",
12599 srcs: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012600 ":cronet_aml_net_third_party_quiche_net_quic_proto_gen",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000012601 ":cronet_aml_third_party_abseil_cpp_absl_base_base",
12602 ":cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
12603 ":cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
12604 ":cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
12605 ":cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
12606 ":cronet_aml_third_party_abseil_cpp_absl_base_strerror",
12607 ":cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
12608 ":cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
12609 ":cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
12610 ":cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
12611 ":cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
12612 ":cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
12613 ":cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
12614 ":cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
12615 ":cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
12616 ":cronet_aml_third_party_abseil_cpp_absl_hash_city",
12617 ":cronet_aml_third_party_abseil_cpp_absl_hash_hash",
12618 ":cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
12619 ":cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
12620 ":cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
12621 ":cronet_aml_third_party_abseil_cpp_absl_random_distributions",
12622 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
12623 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
12624 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
12625 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
12626 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
12627 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
12628 ":cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
12629 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
12630 ":cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
12631 ":cronet_aml_third_party_abseil_cpp_absl_status_status",
12632 ":cronet_aml_third_party_abseil_cpp_absl_status_statusor",
12633 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord",
12634 ":cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
12635 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
12636 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
12637 ":cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
12638 ":cronet_aml_third_party_abseil_cpp_absl_strings_internal",
12639 ":cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
12640 ":cronet_aml_third_party_abseil_cpp_absl_strings_strings",
12641 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
12642 ":cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
12643 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
12644 ":cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
12645 ":cronet_aml_third_party_abseil_cpp_absl_time_time",
12646 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
12647 ":cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Patrick Rohrcb035942022-11-01 12:12:52 -070012648 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_mutex_impl.cc",
12649 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.cc",
12650 "net/third_party/quiche/overrides/quiche_platform_impl/quiche_url_utils_impl.cc",
12651 "net/third_party/quiche/src/quiche/common/platform/api/quiche_hostname_utils.cc",
12652 "net/third_party/quiche/src/quiche/common/platform/api/quiche_mutex.cc",
12653 "net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc",
12654 "net/third_party/quiche/src/quiche/common/quiche_buffer_allocator.cc",
12655 "net/third_party/quiche/src/quiche/common/quiche_crypto_logging.cc",
12656 "net/third_party/quiche/src/quiche/common/quiche_data_reader.cc",
12657 "net/third_party/quiche/src/quiche/common/quiche_data_writer.cc",
12658 "net/third_party/quiche/src/quiche/common/quiche_ip_address.cc",
12659 "net/third_party/quiche/src/quiche/common/quiche_ip_address_family.cc",
12660 "net/third_party/quiche/src/quiche/common/quiche_mem_slice_storage.cc",
12661 "net/third_party/quiche/src/quiche/common/quiche_random.cc",
12662 "net/third_party/quiche/src/quiche/common/quiche_text_utils.cc",
12663 "net/third_party/quiche/src/quiche/common/simple_buffer_allocator.cc",
12664 "net/third_party/quiche/src/quiche/common/structured_headers.cc",
12665 "net/third_party/quiche/src/quiche/http2/adapter/event_forwarder.cc",
12666 "net/third_party/quiche/src/quiche/http2/adapter/header_validator.cc",
12667 "net/third_party/quiche/src/quiche/http2/adapter/http2_protocol.cc",
12668 "net/third_party/quiche/src/quiche/http2/adapter/http2_util.cc",
12669 "net/third_party/quiche/src/quiche/http2/adapter/noop_header_validator.cc",
12670 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_adapter.cc",
12671 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_session.cc",
12672 "net/third_party/quiche/src/quiche/http2/adapter/oghttp2_util.cc",
12673 "net/third_party/quiche/src/quiche/http2/adapter/window_manager.cc",
12674 "net/third_party/quiche/src/quiche/http2/core/http2_trace_logging.cc",
12675 "net/third_party/quiche/src/quiche/http2/decoder/decode_buffer.cc",
12676 "net/third_party/quiche/src/quiche/http2/decoder/decode_http2_structures.cc",
12677 "net/third_party/quiche/src/quiche/http2/decoder/decode_status.cc",
12678 "net/third_party/quiche/src/quiche/http2/decoder/frame_decoder_state.cc",
12679 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder.cc",
12680 "net/third_party/quiche/src/quiche/http2/decoder/http2_frame_decoder_listener.cc",
12681 "net/third_party/quiche/src/quiche/http2/decoder/http2_structure_decoder.cc",
12682 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/altsvc_payload_decoder.cc",
12683 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/continuation_payload_decoder.cc",
12684 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/data_payload_decoder.cc",
12685 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc",
12686 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/headers_payload_decoder.cc",
12687 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ping_payload_decoder.cc",
12688 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_payload_decoder.cc",
12689 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/priority_update_payload_decoder.cc",
12690 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc",
12691 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/rst_stream_payload_decoder.cc",
12692 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/settings_payload_decoder.cc",
12693 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/unknown_payload_decoder.cc",
12694 "net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc",
12695 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_block_decoder.cc",
12696 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder.cc",
12697 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_listener.cc",
12698 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_state.cc",
12699 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_string_buffer.cc",
12700 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoder_tables.cc",
12701 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_decoding_error.cc",
12702 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder.cc",
12703 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_decoder_listener.cc",
12704 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_entry_type_decoder.cc",
12705 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder.cc",
12706 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_string_decoder_listener.cc",
12707 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc",
12708 "net/third_party/quiche/src/quiche/http2/hpack/decoder/hpack_whole_entry_listener.cc",
12709 "net/third_party/quiche/src/quiche/http2/hpack/http2_hpack_constants.cc",
12710 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_decoder.cc",
12711 "net/third_party/quiche/src/quiche/http2/hpack/huffman/hpack_huffman_encoder.cc",
12712 "net/third_party/quiche/src/quiche/http2/hpack/huffman/huffman_spec_tables.cc",
12713 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_decoder.cc",
12714 "net/third_party/quiche/src/quiche/http2/hpack/varint/hpack_varint_encoder.cc",
12715 "net/third_party/quiche/src/quiche/http2/http2_constants.cc",
12716 "net/third_party/quiche/src/quiche/http2/http2_structures.cc",
12717 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bandwidth_sampler.cc",
12718 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_drain.cc",
12719 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_misc.cc",
12720 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_bw.cc",
12721 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_probe_rtt.cc",
12722 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_sender.cc",
12723 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr2_startup.cc",
12724 "net/third_party/quiche/src/quiche/quic/core/congestion_control/bbr_sender.cc",
12725 "net/third_party/quiche/src/quiche/quic/core/congestion_control/cubic_bytes.cc",
12726 "net/third_party/quiche/src/quiche/quic/core/congestion_control/general_loss_algorithm.cc",
12727 "net/third_party/quiche/src/quiche/quic/core/congestion_control/hybrid_slow_start.cc",
12728 "net/third_party/quiche/src/quiche/quic/core/congestion_control/pacing_sender.cc",
12729 "net/third_party/quiche/src/quiche/quic/core/congestion_control/prr_sender.cc",
12730 "net/third_party/quiche/src/quiche/quic/core/congestion_control/rtt_stats.cc",
12731 "net/third_party/quiche/src/quiche/quic/core/congestion_control/send_algorithm_interface.cc",
12732 "net/third_party/quiche/src/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
12733 "net/third_party/quiche/src/quiche/quic/core/congestion_control/uber_loss_algorithm.cc",
12734 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc",
12735 "net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_encrypter.cc",
12736 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_decrypter.cc",
12737 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_12_encrypter.cc",
12738 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_decrypter.cc",
12739 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_128_gcm_encrypter.cc",
12740 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_decrypter.cc",
12741 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_256_gcm_encrypter.cc",
12742 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_decrypter.cc",
12743 "net/third_party/quiche/src/quiche/quic/core/crypto/aes_base_encrypter.cc",
12744 "net/third_party/quiche/src/quiche/quic/core/crypto/cert_compressor.cc",
12745 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_util.cc",
12746 "net/third_party/quiche/src/quiche/quic/core/crypto/certificate_view.cc",
12747 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_decrypter.cc",
12748 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_encrypter.cc",
12749 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_decrypter.cc",
12750 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha20_poly1305_tls_encrypter.cc",
12751 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_decrypter.cc",
12752 "net/third_party/quiche/src/quiche/quic/core/crypto/chacha_base_encrypter.cc",
12753 "net/third_party/quiche/src/quiche/quic/core/crypto/channel_id.cc",
12754 "net/third_party/quiche/src/quiche/quic/core/crypto/client_proof_source.cc",
12755 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_framer.cc",
12756 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc",
12757 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake_message.cc",
12758 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_secret_boxer.cc",
12759 "net/third_party/quiche/src/quiche/quic/core/crypto/crypto_utils.cc",
12760 "net/third_party/quiche/src/quiche/quic/core/crypto/curve25519_key_exchange.cc",
12761 "net/third_party/quiche/src/quiche/quic/core/crypto/key_exchange.cc",
12762 "net/third_party/quiche/src/quiche/quic/core/crypto/null_decrypter.cc",
12763 "net/third_party/quiche/src/quiche/quic/core/crypto/null_encrypter.cc",
12764 "net/third_party/quiche/src/quiche/quic/core/crypto/p256_key_exchange.cc",
12765 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source.cc",
12766 "net/third_party/quiche/src/quiche/quic/core/crypto/proof_source_x509.cc",
12767 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_client_session_cache.cc",
12768 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_compressed_certs_cache.cc",
12769 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypter.cc",
12770 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_client_config.cc",
12771 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_proof.cc",
12772 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_crypto_server_config.cc",
12773 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_decrypter.cc",
12774 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_encrypter.cc",
12775 "net/third_party/quiche/src/quiche/quic/core/crypto/quic_hkdf.cc",
12776 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_client_connection.cc",
12777 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_connection.cc",
12778 "net/third_party/quiche/src/quiche/quic/core/crypto/tls_server_connection.cc",
12779 "net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc",
12780 "net/third_party/quiche/src/quiche/quic/core/crypto/web_transport_fingerprint_proof_verifier.cc",
12781 "net/third_party/quiche/src/quiche/quic/core/deterministic_connection_id_generator.cc",
12782 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frame.cc",
12783 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ack_frequency_frame.cc",
12784 "net/third_party/quiche/src/quiche/quic/core/frames/quic_blocked_frame.cc",
12785 "net/third_party/quiche/src/quiche/quic/core/frames/quic_connection_close_frame.cc",
12786 "net/third_party/quiche/src/quiche/quic/core/frames/quic_crypto_frame.cc",
12787 "net/third_party/quiche/src/quiche/quic/core/frames/quic_frame.cc",
12788 "net/third_party/quiche/src/quiche/quic/core/frames/quic_goaway_frame.cc",
12789 "net/third_party/quiche/src/quiche/quic/core/frames/quic_handshake_done_frame.cc",
12790 "net/third_party/quiche/src/quiche/quic/core/frames/quic_max_streams_frame.cc",
12791 "net/third_party/quiche/src/quiche/quic/core/frames/quic_message_frame.cc",
12792 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_connection_id_frame.cc",
12793 "net/third_party/quiche/src/quiche/quic/core/frames/quic_new_token_frame.cc",
12794 "net/third_party/quiche/src/quiche/quic/core/frames/quic_padding_frame.cc",
12795 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_challenge_frame.cc",
12796 "net/third_party/quiche/src/quiche/quic/core/frames/quic_path_response_frame.cc",
12797 "net/third_party/quiche/src/quiche/quic/core/frames/quic_ping_frame.cc",
12798 "net/third_party/quiche/src/quiche/quic/core/frames/quic_retire_connection_id_frame.cc",
12799 "net/third_party/quiche/src/quiche/quic/core/frames/quic_rst_stream_frame.cc",
12800 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_sending_frame.cc",
12801 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stop_waiting_frame.cc",
12802 "net/third_party/quiche/src/quiche/quic/core/frames/quic_stream_frame.cc",
12803 "net/third_party/quiche/src/quiche/quic/core/frames/quic_streams_blocked_frame.cc",
12804 "net/third_party/quiche/src/quiche/quic/core/frames/quic_window_update_frame.cc",
12805 "net/third_party/quiche/src/quiche/quic/core/http/capsule.cc",
12806 "net/third_party/quiche/src/quiche/quic/core/http/http_constants.cc",
12807 "net/third_party/quiche/src/quiche/quic/core/http/http_decoder.cc",
12808 "net/third_party/quiche/src/quiche/quic/core/http/http_encoder.cc",
12809 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_promised_info.cc",
12810 "net/third_party/quiche/src/quiche/quic/core/http/quic_client_push_promise_index.cc",
12811 "net/third_party/quiche/src/quiche/quic/core/http/quic_header_list.cc",
12812 "net/third_party/quiche/src/quiche/quic/core/http/quic_headers_stream.cc",
12813 "net/third_party/quiche/src/quiche/quic/core/http/quic_receive_control_stream.cc",
12814 "net/third_party/quiche/src/quiche/quic/core/http/quic_send_control_stream.cc",
12815 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_initiated_spdy_stream.cc",
12816 "net/third_party/quiche/src/quiche/quic/core/http/quic_server_session_base.cc",
12817 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session.cc",
12818 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_session_base.cc",
12819 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_client_stream.cc",
12820 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_session.cc",
12821 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream.cc",
12822 "net/third_party/quiche/src/quiche/quic/core/http/quic_spdy_stream_body_manager.cc",
12823 "net/third_party/quiche/src/quiche/quic/core/http/spdy_server_push_utils.cc",
12824 "net/third_party/quiche/src/quiche/quic/core/http/spdy_utils.cc",
12825 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_http3.cc",
12826 "net/third_party/quiche/src/quiche/quic/core/http/web_transport_stream_adapter.cc",
12827 "net/third_party/quiche/src/quiche/quic/core/legacy_quic_stream_id_manager.cc",
12828 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_blocking_manager.cc",
12829 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoded_headers_accumulator.cc",
12830 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder.cc",
12831 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc",
12832 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_decoder_stream_sender.cc",
12833 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder.cc",
12834 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver.cc",
12835 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_sender.cc",
12836 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_header_table.cc",
12837 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc",
12838 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_decoder.cc",
12839 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instruction_encoder.cc",
12840 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_instructions.cc",
12841 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_progressive_decoder.cc",
12842 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_receive_stream.cc",
12843 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_required_insert_count.cc",
12844 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_send_stream.cc",
12845 "net/third_party/quiche/src/quiche/quic/core/qpack/qpack_static_table.cc",
12846 "net/third_party/quiche/src/quiche/quic/core/qpack/value_splitting_header_list.cc",
12847 "net/third_party/quiche/src/quiche/quic/core/quic_ack_listener_interface.cc",
12848 "net/third_party/quiche/src/quiche/quic/core/quic_alarm.cc",
12849 "net/third_party/quiche/src/quiche/quic/core/quic_bandwidth.cc",
12850 "net/third_party/quiche/src/quiche/quic/core/quic_chaos_protector.cc",
12851 "net/third_party/quiche/src/quiche/quic/core/quic_clock.cc",
12852 "net/third_party/quiche/src/quiche/quic/core/quic_coalesced_packet.cc",
12853 "net/third_party/quiche/src/quiche/quic/core/quic_config.cc",
12854 "net/third_party/quiche/src/quiche/quic/core/quic_connection.cc",
12855 "net/third_party/quiche/src/quiche/quic/core/quic_connection_context.cc",
12856 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id.cc",
12857 "net/third_party/quiche/src/quiche/quic/core/quic_connection_id_manager.cc",
12858 "net/third_party/quiche/src/quiche/quic/core/quic_connection_stats.cc",
12859 "net/third_party/quiche/src/quiche/quic/core/quic_constants.cc",
12860 "net/third_party/quiche/src/quiche/quic/core/quic_control_frame_manager.cc",
12861 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_handshaker.cc",
12862 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_client_stream.cc",
12863 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_handshaker.cc",
12864 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream.cc",
12865 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_server_stream_base.cc",
12866 "net/third_party/quiche/src/quiche/quic/core/quic_crypto_stream.cc",
12867 "net/third_party/quiche/src/quiche/quic/core/quic_data_reader.cc",
12868 "net/third_party/quiche/src/quiche/quic/core/quic_data_writer.cc",
12869 "net/third_party/quiche/src/quiche/quic/core/quic_datagram_queue.cc",
12870 "net/third_party/quiche/src/quiche/quic/core/quic_error_codes.cc",
12871 "net/third_party/quiche/src/quiche/quic/core/quic_flow_controller.cc",
12872 "net/third_party/quiche/src/quiche/quic/core/quic_framer.cc",
12873 "net/third_party/quiche/src/quiche/quic/core/quic_idle_network_detector.cc",
12874 "net/third_party/quiche/src/quiche/quic/core/quic_mtu_discovery.cc",
12875 "net/third_party/quiche/src/quiche/quic/core/quic_network_blackhole_detector.cc",
12876 "net/third_party/quiche/src/quiche/quic/core/quic_packet_creator.cc",
12877 "net/third_party/quiche/src/quiche/quic/core/quic_packet_number.cc",
12878 "net/third_party/quiche/src/quiche/quic/core/quic_packets.cc",
12879 "net/third_party/quiche/src/quiche/quic/core/quic_path_validator.cc",
12880 "net/third_party/quiche/src/quiche/quic/core/quic_ping_manager.cc",
12881 "net/third_party/quiche/src/quiche/quic/core/quic_received_packet_manager.cc",
12882 "net/third_party/quiche/src/quiche/quic/core/quic_sent_packet_manager.cc",
12883 "net/third_party/quiche/src/quiche/quic/core/quic_server_id.cc",
12884 "net/third_party/quiche/src/quiche/quic/core/quic_session.cc",
12885 "net/third_party/quiche/src/quiche/quic/core/quic_socket_address_coder.cc",
12886 "net/third_party/quiche/src/quiche/quic/core/quic_stream.cc",
12887 "net/third_party/quiche/src/quiche/quic/core/quic_stream_id_manager.cc",
12888 "net/third_party/quiche/src/quiche/quic/core/quic_stream_send_buffer.cc",
12889 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer.cc",
12890 "net/third_party/quiche/src/quiche/quic/core/quic_stream_sequencer_buffer.cc",
12891 "net/third_party/quiche/src/quiche/quic/core/quic_sustained_bandwidth_recorder.cc",
12892 "net/third_party/quiche/src/quiche/quic/core/quic_tag.cc",
12893 "net/third_party/quiche/src/quiche/quic/core/quic_time.cc",
12894 "net/third_party/quiche/src/quiche/quic/core/quic_transmission_info.cc",
12895 "net/third_party/quiche/src/quiche/quic/core/quic_types.cc",
12896 "net/third_party/quiche/src/quiche/quic/core/quic_unacked_packet_map.cc",
12897 "net/third_party/quiche/src/quiche/quic/core/quic_utils.cc",
12898 "net/third_party/quiche/src/quiche/quic/core/quic_version_manager.cc",
12899 "net/third_party/quiche/src/quiche/quic/core/quic_versions.cc",
12900 "net/third_party/quiche/src/quiche/quic/core/quic_write_blocked_list.cc",
12901 "net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.cc",
12902 "net/third_party/quiche/src/quiche/quic/core/tls_handshaker.cc",
12903 "net/third_party/quiche/src/quiche/quic/core/tls_server_handshaker.cc",
12904 "net/third_party/quiche/src/quiche/quic/core/uber_quic_stream_id_manager.cc",
12905 "net/third_party/quiche/src/quiche/quic/core/uber_received_packet_manager.cc",
12906 "net/third_party/quiche/src/quiche/quic/platform/api/quic_socket_address.cc",
12907 "net/third_party/quiche/src/quiche/spdy/core/array_output_buffer.cc",
12908 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_constants.cc",
12909 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_decoder_adapter.cc",
12910 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_encoder.cc",
12911 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_entry.cc",
12912 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_header_table.cc",
12913 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_output_stream.cc",
12914 "net/third_party/quiche/src/quiche/spdy/core/hpack/hpack_static_table.cc",
12915 "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.cc",
12916 "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.cc",
12917 "net/third_party/quiche/src/quiche/spdy/core/http2_header_storage.cc",
12918 "net/third_party/quiche/src/quiche/spdy/core/recording_headers_handler.cc",
12919 "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.cc",
12920 "net/third_party/quiche/src/quiche/spdy/core/spdy_frame_builder.cc",
12921 "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.cc",
12922 "net/third_party/quiche/src/quiche/spdy/core/spdy_no_op_visitor.cc",
12923 "net/third_party/quiche/src/quiche/spdy/core/spdy_pinnable_buffer_piece.cc",
12924 "net/third_party/quiche/src/quiche/spdy/core/spdy_prefixed_buffer_reader.cc",
12925 "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.cc",
12926 "net/third_party/quiche/src/quiche/spdy/core/spdy_simple_arena.cc",
12927 ],
12928 shared_libs: [
12929 "libandroid",
12930 "liblog",
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000012931 "libprotobuf-cpp-lite",
Patrick Rohrcb035942022-11-01 12:12:52 -070012932 ],
12933 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012934 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070012935 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012936 "cronet_aml_base_base_static",
12937 "cronet_aml_base_third_party_double_conversion_double_conversion",
12938 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Patrick Rohrcb035942022-11-01 12:12:52 -070012939 "cronet_aml_net_uri_template",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090012940 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080012941 "cronet_aml_third_party_icu_icui18n",
12942 "cronet_aml_third_party_icu_icuuc_private",
12943 "cronet_aml_third_party_libevent_libevent",
12944 "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090012945 "cronet_aml_third_party_protobuf_protobuf_lite",
Patrick Rohrcb035942022-11-01 12:12:52 -070012946 "cronet_aml_third_party_zlib_zlib",
12947 "cronet_aml_url_url",
12948 ],
12949 generated_headers: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012950 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070012951 ],
12952 export_generated_headers: [
Patrick Rohrc5980782022-11-07 16:34:03 -080012953 "cronet_aml_net_third_party_quiche_net_quic_proto_gen_headers",
Patrick Rohrcb035942022-11-01 12:12:52 -070012954 ],
12955 defaults: [
12956 "cronet_aml_defaults",
12957 ],
12958 cflags: [
Patrick Rohrcb035942022-11-01 12:12:52 -070012959 "-DANDROID",
12960 "-DANDROID_NDK_VERSION_ROLL=r23_1",
12961 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
12962 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
12963 "-DDCHECK_ALWAYS_ON=1",
12964 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
12965 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
12966 "-DGOOGLE_PROTOBUF_NO_RTTI",
12967 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
12968 "-DHAVE_PTHREAD",
12969 "-DHAVE_SYS_UIO_H",
12970 "-DIS_QUICHE_IMPL",
12971 "-D_DEBUG",
12972 "-D_GNU_SOURCE",
12973 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
12974 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
12975 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
12976 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
12977 "-D__STDC_CONSTANT_MACROS",
12978 "-D__STDC_FORMAT_MACROS",
12979 ],
12980 local_include_dirs: [
12981 "./",
12982 "buildtools/third_party/libc++/",
12983 "buildtools/third_party/libc++/trunk/include",
12984 "buildtools/third_party/libc++abi/trunk/include",
12985 "net/third_party/quiche/overrides/",
12986 "net/third_party/quiche/src/",
12987 "net/third_party/quiche/src/quiche/common/platform/default/",
12988 "third_party/abseil-cpp/",
12989 "third_party/boringssl/src/include/",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090012990 "third_party/protobuf/src/",
Patrick Rohrcb035942022-11-01 12:12:52 -070012991 "third_party/zlib/",
Patrick Rohrcb035942022-11-01 12:12:52 -070012992 ],
12993 cpp_std: "c++20",
Mohannad Farrag631443e2022-11-21 16:17:01 +000012994 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090012995 android_arm: {
12996 generated_headers: [
12997 "cronet_aml_build_chromeos_buildflags__android_arm",
12998 ],
12999 export_generated_headers: [
13000 "cronet_aml_build_chromeos_buildflags__android_arm",
13001 ],
13002 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090013003 android_arm64: {
13004 generated_headers: [
13005 "cronet_aml_build_chromeos_buildflags__android_arm64",
13006 ],
13007 export_generated_headers: [
13008 "cronet_aml_build_chromeos_buildflags__android_arm64",
13009 ],
13010 },
Mohannad Farrag631443e2022-11-21 16:17:01 +000013011 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013012 cflags: [
13013 "-msse3",
13014 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000013015 generated_headers: [
13016 "cronet_aml_build_chromeos_buildflags__android_x86",
13017 ],
13018 export_generated_headers: [
13019 "cronet_aml_build_chromeos_buildflags__android_x86",
13020 ],
13021 },
13022 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013023 cflags: [
13024 "-msse3",
13025 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000013026 generated_headers: [
13027 "cronet_aml_build_chromeos_buildflags__android_x86_64",
13028 ],
13029 export_generated_headers: [
13030 "cronet_aml_build_chromeos_buildflags__android_x86_64",
13031 ],
13032 },
13033 },
Patrick Rohrcb035942022-11-01 12:12:52 -070013034}
13035
Patrick Rohrcb035942022-11-01 12:12:52 -070013036// GN: //net/traffic_annotation:traffic_annotation
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013037cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070013038 name: "cronet_aml_net_traffic_annotation_traffic_annotation",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013039 srcs: [
13040 "net/traffic_annotation/network_traffic_annotation_android.cc",
13041 ],
13042 shared_libs: [
13043 "libandroid",
13044 "liblog",
13045 ],
13046 static_libs: [
13047 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
13048 "cronet_aml_base_base",
13049 "cronet_aml_base_base_static",
13050 "cronet_aml_base_third_party_double_conversion_double_conversion",
13051 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
13052 "cronet_aml_third_party_boringssl_boringssl",
13053 "cronet_aml_third_party_icu_icui18n",
13054 "cronet_aml_third_party_icu_icuuc_private",
13055 "cronet_aml_third_party_libevent_libevent",
13056 "cronet_aml_third_party_modp_b64_modp_b64",
13057 ],
13058 defaults: [
13059 "cronet_aml_defaults",
13060 ],
13061 cflags: [
13062 "-DANDROID",
13063 "-DANDROID_NDK_VERSION_ROLL=r23_1",
13064 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13065 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13066 "-DDCHECK_ALWAYS_ON=1",
13067 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
13068 "-DHAVE_SYS_UIO_H",
13069 "-D_DEBUG",
13070 "-D_GNU_SOURCE",
13071 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13072 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13073 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13074 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13075 "-D__STDC_CONSTANT_MACROS",
13076 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013077 ],
13078 local_include_dirs: [
13079 "./",
13080 "buildtools/third_party/libc++/",
13081 "buildtools/third_party/libc++/trunk/include",
13082 "buildtools/third_party/libc++abi/trunk/include",
13083 "third_party/abseil-cpp/",
13084 "third_party/boringssl/src/include/",
13085 ],
13086 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090013087 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013088 android_arm: {
13089 generated_headers: [
13090 "cronet_aml_build_chromeos_buildflags__android_arm",
13091 ],
13092 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090013093 android_arm64: {
13094 generated_headers: [
13095 "cronet_aml_build_chromeos_buildflags__android_arm64",
13096 ],
13097 },
Motomu Utsumi55394632022-11-18 17:44:28 +090013098 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013099 cflags: [
13100 "-msse3",
13101 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013102 generated_headers: [
13103 "cronet_aml_build_chromeos_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090013104 ],
13105 },
13106 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013107 cflags: [
13108 "-msse3",
13109 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013110 generated_headers: [
13111 "cronet_aml_build_chromeos_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090013112 ],
13113 },
13114 },
Patrick Rohrcb035942022-11-01 12:12:52 -070013115}
13116
13117// GN: //net:uri_template
13118cc_library_static {
13119 name: "cronet_aml_net_uri_template",
13120 srcs: [
13121 "net/third_party/uri_template/uri_template.cc",
13122 ],
13123 shared_libs: [
13124 "libandroid",
13125 "liblog",
13126 ],
13127 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080013128 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070013129 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080013130 "cronet_aml_base_base_static",
13131 "cronet_aml_base_third_party_double_conversion_double_conversion",
13132 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090013133 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080013134 "cronet_aml_third_party_icu_icui18n",
13135 "cronet_aml_third_party_icu_icuuc_private",
13136 "cronet_aml_third_party_libevent_libevent",
13137 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070013138 ],
13139 defaults: [
13140 "cronet_aml_defaults",
13141 ],
13142 cflags: [
13143 "-DANDROID",
13144 "-DANDROID_NDK_VERSION_ROLL=r23_1",
13145 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13146 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13147 "-DDCHECK_ALWAYS_ON=1",
13148 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
13149 "-DHAVE_SYS_UIO_H",
13150 "-DIS_URI_TEMPLATE_IMPL",
13151 "-D_DEBUG",
13152 "-D_GNU_SOURCE",
13153 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13154 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13155 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13156 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13157 "-D__STDC_CONSTANT_MACROS",
13158 "-D__STDC_FORMAT_MACROS",
13159 ],
13160 local_include_dirs: [
13161 "./",
13162 "buildtools/third_party/libc++/",
13163 "buildtools/third_party/libc++/trunk/include",
13164 "buildtools/third_party/libc++abi/trunk/include",
13165 "third_party/abseil-cpp/",
13166 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070013167 ],
13168 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013169 target: {
13170 android_x86: {
13171 cflags: [
13172 "-msse3",
13173 ],
13174 },
13175 android_x86_64: {
13176 cflags: [
13177 "-msse3",
13178 ],
13179 },
13180 },
Patrick Rohrcb035942022-11-01 12:12:52 -070013181}
13182
Patrick Rohrcc377df2022-10-28 09:27:15 -070013183// GN: //third_party/abseil-cpp:absl
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013184cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070013185 name: "cronet_aml_third_party_abseil_cpp_absl",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013186 defaults: [
13187 "cronet_aml_defaults",
13188 ],
13189 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013190 "-DANDROID",
13191 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013192 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13193 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13194 "-DDCHECK_ALWAYS_ON=1",
13195 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013196 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013197 "-D_DEBUG",
13198 "-D_GNU_SOURCE",
13199 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13200 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13201 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13202 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
13203 "-D__STDC_CONSTANT_MACROS",
13204 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013205 ],
13206 local_include_dirs: [
13207 "./",
13208 "buildtools/third_party/libc++/",
13209 "buildtools/third_party/libc++/trunk/include",
13210 "buildtools/third_party/libc++abi/trunk/include",
13211 "third_party/abseil-cpp/",
13212 ],
13213 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090013214 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013215 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013216 generated_headers: [
13217 "cronet_aml_build_chromeos_buildflags__android_arm",
13218 ],
13219 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090013220 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090013221 generated_headers: [
13222 "cronet_aml_build_chromeos_buildflags__android_arm64",
13223 ],
13224 },
Motomu Utsumi55394632022-11-18 17:44:28 +090013225 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013226 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013227 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013228 ],
13229 generated_headers: [
13230 "cronet_aml_build_chromeos_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090013231 ],
13232 },
13233 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013234 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013235 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013236 ],
13237 generated_headers: [
13238 "cronet_aml_build_chromeos_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090013239 ],
13240 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013241 },
13242}
13243
13244// GN: //third_party/abseil-cpp/absl/algorithm:algorithm
13245cc_object {
13246 name: "cronet_aml_third_party_abseil_cpp_absl_algorithm_algorithm",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013247 defaults: [
13248 "cronet_aml_defaults",
13249 ],
13250 cflags: [
13251 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013252 "-DANDROID",
13253 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013254 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13255 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13256 "-DDCHECK_ALWAYS_ON=1",
13257 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013258 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013259 "-D_DEBUG",
13260 "-D_GNU_SOURCE",
13261 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13262 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13263 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13264 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013265 ],
13266 local_include_dirs: [
13267 "./",
13268 "buildtools/third_party/libc++/",
13269 "buildtools/third_party/libc++/trunk/include",
13270 "buildtools/third_party/libc++abi/trunk/include",
13271 "third_party/abseil-cpp/",
13272 ],
13273 cpp_std: "c++20",
13274 target: {
13275 android_x86: {
13276 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013277 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013278 ],
13279 },
13280 android_x86_64: {
13281 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013282 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013283 ],
13284 },
13285 },
13286}
13287
13288// GN: //third_party/abseil-cpp/absl/algorithm:container
13289cc_object {
13290 name: "cronet_aml_third_party_abseil_cpp_absl_algorithm_container",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013291 defaults: [
13292 "cronet_aml_defaults",
13293 ],
13294 cflags: [
13295 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013296 "-DANDROID",
13297 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013298 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13299 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13300 "-DDCHECK_ALWAYS_ON=1",
13301 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013302 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013303 "-D_DEBUG",
13304 "-D_GNU_SOURCE",
13305 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13306 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13307 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13308 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013309 ],
13310 local_include_dirs: [
13311 "./",
13312 "buildtools/third_party/libc++/",
13313 "buildtools/third_party/libc++/trunk/include",
13314 "buildtools/third_party/libc++abi/trunk/include",
13315 "third_party/abseil-cpp/",
13316 ],
13317 cpp_std: "c++20",
13318 target: {
13319 android_x86: {
13320 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013321 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013322 ],
13323 },
13324 android_x86_64: {
13325 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013326 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013327 ],
13328 },
13329 },
13330}
13331
13332// GN: //third_party/abseil-cpp/absl/base:atomic_hook
13333cc_object {
13334 name: "cronet_aml_third_party_abseil_cpp_absl_base_atomic_hook",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013335 defaults: [
13336 "cronet_aml_defaults",
13337 ],
13338 cflags: [
13339 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013340 "-DANDROID",
13341 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013342 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13343 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13344 "-DDCHECK_ALWAYS_ON=1",
13345 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013346 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013347 "-D_DEBUG",
13348 "-D_GNU_SOURCE",
13349 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13350 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13351 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13352 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013353 ],
13354 local_include_dirs: [
13355 "./",
13356 "buildtools/third_party/libc++/",
13357 "buildtools/third_party/libc++/trunk/include",
13358 "buildtools/third_party/libc++abi/trunk/include",
13359 "third_party/abseil-cpp/",
13360 ],
13361 cpp_std: "c++20",
13362 target: {
13363 android_x86: {
13364 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013365 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013366 ],
13367 },
13368 android_x86_64: {
13369 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013370 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013371 ],
13372 },
13373 },
13374}
13375
13376// GN: //third_party/abseil-cpp/absl/base:base
13377cc_object {
13378 name: "cronet_aml_third_party_abseil_cpp_absl_base_base",
13379 srcs: [
13380 "third_party/abseil-cpp/absl/base/internal/cycleclock.cc",
13381 "third_party/abseil-cpp/absl/base/internal/spinlock.cc",
13382 "third_party/abseil-cpp/absl/base/internal/sysinfo.cc",
13383 "third_party/abseil-cpp/absl/base/internal/thread_identity.cc",
13384 "third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc",
13385 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013386 defaults: [
13387 "cronet_aml_defaults",
13388 ],
13389 cflags: [
13390 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013391 "-DANDROID",
13392 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013393 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13394 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13395 "-DDCHECK_ALWAYS_ON=1",
13396 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013397 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013398 "-D_DEBUG",
13399 "-D_GNU_SOURCE",
13400 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13401 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13402 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13403 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013404 ],
13405 local_include_dirs: [
13406 "./",
13407 "buildtools/third_party/libc++/",
13408 "buildtools/third_party/libc++/trunk/include",
13409 "buildtools/third_party/libc++abi/trunk/include",
13410 "third_party/abseil-cpp/",
13411 ],
13412 cpp_std: "c++20",
13413 target: {
13414 android_x86: {
13415 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013416 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013417 ],
13418 },
13419 android_x86_64: {
13420 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013421 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090013422 ],
13423 },
13424 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070013425}
13426
13427// GN: //third_party/abseil-cpp/absl/base:base_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013428cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070013429 name: "cronet_aml_third_party_abseil_cpp_absl_base_base_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013430 defaults: [
13431 "cronet_aml_defaults",
13432 ],
13433 cflags: [
13434 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013435 "-DANDROID",
13436 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013437 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13438 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13439 "-DDCHECK_ALWAYS_ON=1",
13440 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013441 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013442 "-D_DEBUG",
13443 "-D_GNU_SOURCE",
13444 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13445 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13446 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13447 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
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 ],
13456 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090013457 target: {
13458 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013459 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013460 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090013461 ],
13462 },
13463 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013464 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013465 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013466 ],
13467 },
13468 },
13469}
13470
13471// GN: //third_party/abseil-cpp/absl/base:config
13472cc_object {
13473 name: "cronet_aml_third_party_abseil_cpp_absl_base_config",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013474 defaults: [
13475 "cronet_aml_defaults",
13476 ],
13477 cflags: [
13478 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013479 "-DANDROID",
13480 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013481 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13482 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13483 "-DDCHECK_ALWAYS_ON=1",
13484 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013485 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013486 "-D_DEBUG",
13487 "-D_GNU_SOURCE",
13488 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13489 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13490 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13491 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013492 ],
13493 local_include_dirs: [
13494 "./",
13495 "buildtools/third_party/libc++/",
13496 "buildtools/third_party/libc++/trunk/include",
13497 "buildtools/third_party/libc++abi/trunk/include",
13498 "third_party/abseil-cpp/",
13499 ],
13500 cpp_std: "c++20",
13501 target: {
13502 android_x86: {
13503 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013504 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013505 ],
13506 },
13507 android_x86_64: {
13508 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013509 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013510 ],
13511 },
13512 },
13513}
13514
13515// GN: //third_party/abseil-cpp/absl/base:core_headers
13516cc_object {
13517 name: "cronet_aml_third_party_abseil_cpp_absl_base_core_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013518 defaults: [
13519 "cronet_aml_defaults",
13520 ],
13521 cflags: [
13522 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013523 "-DANDROID",
13524 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013525 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13526 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13527 "-DDCHECK_ALWAYS_ON=1",
13528 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013529 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013530 "-D_DEBUG",
13531 "-D_GNU_SOURCE",
13532 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13533 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13534 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13535 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013536 ],
13537 local_include_dirs: [
13538 "./",
13539 "buildtools/third_party/libc++/",
13540 "buildtools/third_party/libc++/trunk/include",
13541 "buildtools/third_party/libc++abi/trunk/include",
13542 "third_party/abseil-cpp/",
13543 ],
13544 cpp_std: "c++20",
13545 target: {
13546 android_x86: {
13547 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013548 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013549 ],
13550 },
13551 android_x86_64: {
13552 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013553 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013554 ],
13555 },
13556 },
13557}
13558
13559// GN: //third_party/abseil-cpp/absl/base:cycleclock_internal
13560cc_object {
13561 name: "cronet_aml_third_party_abseil_cpp_absl_base_cycleclock_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013562 defaults: [
13563 "cronet_aml_defaults",
13564 ],
13565 cflags: [
13566 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013567 "-DANDROID",
13568 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013569 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13570 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13571 "-DDCHECK_ALWAYS_ON=1",
13572 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013573 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013574 "-D_DEBUG",
13575 "-D_GNU_SOURCE",
13576 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13577 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13578 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13579 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013580 ],
13581 local_include_dirs: [
13582 "./",
13583 "buildtools/third_party/libc++/",
13584 "buildtools/third_party/libc++/trunk/include",
13585 "buildtools/third_party/libc++abi/trunk/include",
13586 "third_party/abseil-cpp/",
13587 ],
13588 cpp_std: "c++20",
13589 target: {
13590 android_x86: {
13591 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013592 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013593 ],
13594 },
13595 android_x86_64: {
13596 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013597 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013598 ],
13599 },
13600 },
13601}
13602
13603// GN: //third_party/abseil-cpp/absl/base:dynamic_annotations
13604cc_object {
13605 name: "cronet_aml_third_party_abseil_cpp_absl_base_dynamic_annotations",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013606 defaults: [
13607 "cronet_aml_defaults",
13608 ],
13609 cflags: [
13610 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013611 "-DANDROID",
13612 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013613 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13614 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13615 "-DDCHECK_ALWAYS_ON=1",
13616 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013617 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013618 "-D_DEBUG",
13619 "-D_GNU_SOURCE",
13620 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13621 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13622 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13623 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013624 ],
13625 local_include_dirs: [
13626 "./",
13627 "buildtools/third_party/libc++/",
13628 "buildtools/third_party/libc++/trunk/include",
13629 "buildtools/third_party/libc++abi/trunk/include",
13630 "third_party/abseil-cpp/",
13631 ],
13632 cpp_std: "c++20",
13633 target: {
13634 android_x86: {
13635 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013636 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013637 ],
13638 },
13639 android_x86_64: {
13640 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013641 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013642 ],
13643 },
13644 },
13645}
13646
13647// GN: //third_party/abseil-cpp/absl/base:endian
13648cc_object {
13649 name: "cronet_aml_third_party_abseil_cpp_absl_base_endian",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013650 defaults: [
13651 "cronet_aml_defaults",
13652 ],
13653 cflags: [
13654 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013655 "-DANDROID",
13656 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013657 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13658 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13659 "-DDCHECK_ALWAYS_ON=1",
13660 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013661 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013662 "-D_DEBUG",
13663 "-D_GNU_SOURCE",
13664 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13665 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13666 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13667 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013668 ],
13669 local_include_dirs: [
13670 "./",
13671 "buildtools/third_party/libc++/",
13672 "buildtools/third_party/libc++/trunk/include",
13673 "buildtools/third_party/libc++abi/trunk/include",
13674 "third_party/abseil-cpp/",
13675 ],
13676 cpp_std: "c++20",
13677 target: {
13678 android_x86: {
13679 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013680 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013681 ],
13682 },
13683 android_x86_64: {
13684 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013685 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013686 ],
13687 },
13688 },
13689}
13690
13691// GN: //third_party/abseil-cpp/absl/base:errno_saver
13692cc_object {
13693 name: "cronet_aml_third_party_abseil_cpp_absl_base_errno_saver",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013694 defaults: [
13695 "cronet_aml_defaults",
13696 ],
13697 cflags: [
13698 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013699 "-DANDROID",
13700 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013701 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13702 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13703 "-DDCHECK_ALWAYS_ON=1",
13704 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013705 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013706 "-D_DEBUG",
13707 "-D_GNU_SOURCE",
13708 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13709 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13710 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13711 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013712 ],
13713 local_include_dirs: [
13714 "./",
13715 "buildtools/third_party/libc++/",
13716 "buildtools/third_party/libc++/trunk/include",
13717 "buildtools/third_party/libc++abi/trunk/include",
13718 "third_party/abseil-cpp/",
13719 ],
13720 cpp_std: "c++20",
13721 target: {
13722 android_x86: {
13723 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013724 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013725 ],
13726 },
13727 android_x86_64: {
13728 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013729 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013730 ],
13731 },
13732 },
13733}
13734
13735// GN: //third_party/abseil-cpp/absl/base:fast_type_id
13736cc_object {
13737 name: "cronet_aml_third_party_abseil_cpp_absl_base_fast_type_id",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013738 defaults: [
13739 "cronet_aml_defaults",
13740 ],
13741 cflags: [
13742 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013743 "-DANDROID",
13744 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013745 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13746 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13747 "-DDCHECK_ALWAYS_ON=1",
13748 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013749 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013750 "-D_DEBUG",
13751 "-D_GNU_SOURCE",
13752 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13753 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13754 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13755 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013756 ],
13757 local_include_dirs: [
13758 "./",
13759 "buildtools/third_party/libc++/",
13760 "buildtools/third_party/libc++/trunk/include",
13761 "buildtools/third_party/libc++abi/trunk/include",
13762 "third_party/abseil-cpp/",
13763 ],
13764 cpp_std: "c++20",
13765 target: {
13766 android_x86: {
13767 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013768 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013769 ],
13770 },
13771 android_x86_64: {
13772 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013773 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013774 ],
13775 },
13776 },
13777}
13778
13779// GN: //third_party/abseil-cpp/absl/base:log_severity
13780cc_object {
13781 name: "cronet_aml_third_party_abseil_cpp_absl_base_log_severity",
13782 srcs: [
13783 "third_party/abseil-cpp/absl/base/log_severity.cc",
13784 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013785 defaults: [
13786 "cronet_aml_defaults",
13787 ],
13788 cflags: [
13789 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013790 "-DANDROID",
13791 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013792 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13793 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13794 "-DDCHECK_ALWAYS_ON=1",
13795 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013796 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013797 "-D_DEBUG",
13798 "-D_GNU_SOURCE",
13799 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13800 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13801 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13802 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013803 ],
13804 local_include_dirs: [
13805 "./",
13806 "buildtools/third_party/libc++/",
13807 "buildtools/third_party/libc++/trunk/include",
13808 "buildtools/third_party/libc++abi/trunk/include",
13809 "third_party/abseil-cpp/",
13810 ],
13811 cpp_std: "c++20",
13812 target: {
13813 android_x86: {
13814 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013815 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013816 ],
13817 },
13818 android_x86_64: {
13819 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013820 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090013821 ],
13822 },
13823 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070013824}
13825
13826// GN: //third_party/abseil-cpp/absl/base:malloc_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013827cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070013828 name: "cronet_aml_third_party_abseil_cpp_absl_base_malloc_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013829 srcs: [
13830 "third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc",
13831 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013832 defaults: [
13833 "cronet_aml_defaults",
13834 ],
13835 cflags: [
13836 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013837 "-DANDROID",
13838 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013839 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13840 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13841 "-DDCHECK_ALWAYS_ON=1",
13842 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013843 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013844 "-D_DEBUG",
13845 "-D_GNU_SOURCE",
13846 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13847 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13848 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13849 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013850 ],
13851 local_include_dirs: [
13852 "./",
13853 "buildtools/third_party/libc++/",
13854 "buildtools/third_party/libc++/trunk/include",
13855 "buildtools/third_party/libc++abi/trunk/include",
13856 "third_party/abseil-cpp/",
13857 ],
13858 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090013859 target: {
13860 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013861 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013862 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090013863 ],
13864 },
13865 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013866 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013867 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090013868 ],
13869 },
13870 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070013871}
13872
13873// GN: //third_party/abseil-cpp/absl/base:prefetch
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013874cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070013875 name: "cronet_aml_third_party_abseil_cpp_absl_base_prefetch",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013876 defaults: [
13877 "cronet_aml_defaults",
13878 ],
13879 cflags: [
13880 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013881 "-DANDROID",
13882 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013883 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13884 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13885 "-DDCHECK_ALWAYS_ON=1",
13886 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013887 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013888 "-D_DEBUG",
13889 "-D_GNU_SOURCE",
13890 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13891 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13892 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13893 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013894 ],
13895 local_include_dirs: [
13896 "./",
13897 "buildtools/third_party/libc++/",
13898 "buildtools/third_party/libc++/trunk/include",
13899 "buildtools/third_party/libc++abi/trunk/include",
13900 "third_party/abseil-cpp/",
13901 ],
13902 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090013903 target: {
13904 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013905 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013906 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090013907 ],
13908 },
13909 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013910 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013911 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013912 ],
13913 },
13914 },
13915}
13916
13917// GN: //third_party/abseil-cpp/absl/base:raw_logging_internal
13918cc_object {
13919 name: "cronet_aml_third_party_abseil_cpp_absl_base_raw_logging_internal",
13920 srcs: [
13921 "third_party/abseil-cpp/absl/base/internal/raw_logging.cc",
13922 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013923 defaults: [
13924 "cronet_aml_defaults",
13925 ],
13926 cflags: [
13927 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013928 "-DANDROID",
13929 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013930 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13931 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13932 "-DDCHECK_ALWAYS_ON=1",
13933 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013934 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013935 "-D_DEBUG",
13936 "-D_GNU_SOURCE",
13937 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13938 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13939 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13940 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013941 ],
13942 local_include_dirs: [
13943 "./",
13944 "buildtools/third_party/libc++/",
13945 "buildtools/third_party/libc++/trunk/include",
13946 "buildtools/third_party/libc++abi/trunk/include",
13947 "third_party/abseil-cpp/",
13948 ],
13949 cpp_std: "c++20",
13950 target: {
13951 android_x86: {
13952 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013953 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013954 ],
13955 },
13956 android_x86_64: {
13957 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090013958 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090013959 ],
13960 },
13961 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070013962}
13963
13964// GN: //third_party/abseil-cpp/absl/base:spinlock_wait
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013965cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070013966 name: "cronet_aml_third_party_abseil_cpp_absl_base_spinlock_wait",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013967 srcs: [
13968 "third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc",
13969 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013970 defaults: [
13971 "cronet_aml_defaults",
13972 ],
13973 cflags: [
13974 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013975 "-DANDROID",
13976 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013977 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
13978 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
13979 "-DDCHECK_ALWAYS_ON=1",
13980 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080013981 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013982 "-D_DEBUG",
13983 "-D_GNU_SOURCE",
13984 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
13985 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
13986 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
13987 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013988 ],
13989 local_include_dirs: [
13990 "./",
13991 "buildtools/third_party/libc++/",
13992 "buildtools/third_party/libc++/trunk/include",
13993 "buildtools/third_party/libc++abi/trunk/include",
13994 "third_party/abseil-cpp/",
13995 ],
13996 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090013997 target: {
13998 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000013999 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014000 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014001 ],
14002 },
14003 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014004 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014005 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014006 ],
14007 },
14008 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070014009}
14010
14011// GN: //third_party/abseil-cpp/absl/base:strerror
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014012cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070014013 name: "cronet_aml_third_party_abseil_cpp_absl_base_strerror",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014014 srcs: [
14015 "third_party/abseil-cpp/absl/base/internal/strerror.cc",
14016 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014017 defaults: [
14018 "cronet_aml_defaults",
14019 ],
14020 cflags: [
14021 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014022 "-DANDROID",
14023 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014024 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14025 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14026 "-DDCHECK_ALWAYS_ON=1",
14027 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014028 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014029 "-D_DEBUG",
14030 "-D_GNU_SOURCE",
14031 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14032 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14033 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14034 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014035 ],
14036 local_include_dirs: [
14037 "./",
14038 "buildtools/third_party/libc++/",
14039 "buildtools/third_party/libc++/trunk/include",
14040 "buildtools/third_party/libc++abi/trunk/include",
14041 "third_party/abseil-cpp/",
14042 ],
14043 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090014044 target: {
14045 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014046 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014047 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014048 ],
14049 },
14050 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014051 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014052 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014053 ],
14054 },
14055 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070014056}
14057
14058// GN: //third_party/abseil-cpp/absl/base:throw_delegate
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014059cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070014060 name: "cronet_aml_third_party_abseil_cpp_absl_base_throw_delegate",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014061 srcs: [
14062 "third_party/abseil-cpp/absl/base/internal/throw_delegate.cc",
14063 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014064 defaults: [
14065 "cronet_aml_defaults",
14066 ],
14067 cflags: [
14068 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014069 "-DANDROID",
14070 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014071 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14072 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14073 "-DDCHECK_ALWAYS_ON=1",
14074 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014075 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014076 "-D_DEBUG",
14077 "-D_GNU_SOURCE",
14078 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14079 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14080 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14081 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014082 ],
14083 local_include_dirs: [
14084 "./",
14085 "buildtools/third_party/libc++/",
14086 "buildtools/third_party/libc++/trunk/include",
14087 "buildtools/third_party/libc++abi/trunk/include",
14088 "third_party/abseil-cpp/",
14089 ],
14090 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090014091 target: {
14092 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014093 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014094 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014095 ],
14096 },
14097 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014098 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014099 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014100 ],
14101 },
14102 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070014103}
14104
14105// GN: //third_party/abseil-cpp/absl/cleanup:cleanup
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014106cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070014107 name: "cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014108 defaults: [
14109 "cronet_aml_defaults",
14110 ],
14111 cflags: [
14112 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014113 "-DANDROID",
14114 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014115 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14116 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14117 "-DDCHECK_ALWAYS_ON=1",
14118 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014119 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014120 "-D_DEBUG",
14121 "-D_GNU_SOURCE",
14122 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14123 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14124 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14125 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014126 ],
14127 local_include_dirs: [
14128 "./",
14129 "buildtools/third_party/libc++/",
14130 "buildtools/third_party/libc++/trunk/include",
14131 "buildtools/third_party/libc++abi/trunk/include",
14132 "third_party/abseil-cpp/",
14133 ],
14134 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090014135 target: {
14136 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014137 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014138 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014139 ],
14140 },
14141 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014142 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014143 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014144 ],
14145 },
14146 },
14147}
14148
14149// GN: //third_party/abseil-cpp/absl/cleanup:cleanup_internal
14150cc_object {
14151 name: "cronet_aml_third_party_abseil_cpp_absl_cleanup_cleanup_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014152 defaults: [
14153 "cronet_aml_defaults",
14154 ],
14155 cflags: [
14156 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014157 "-DANDROID",
14158 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014159 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14160 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14161 "-DDCHECK_ALWAYS_ON=1",
14162 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014163 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014164 "-D_DEBUG",
14165 "-D_GNU_SOURCE",
14166 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14167 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14168 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14169 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014170 ],
14171 local_include_dirs: [
14172 "./",
14173 "buildtools/third_party/libc++/",
14174 "buildtools/third_party/libc++/trunk/include",
14175 "buildtools/third_party/libc++abi/trunk/include",
14176 "third_party/abseil-cpp/",
14177 ],
14178 cpp_std: "c++20",
14179 target: {
14180 android_x86: {
14181 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014182 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014183 ],
14184 },
14185 android_x86_64: {
14186 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014187 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014188 ],
14189 },
14190 },
14191}
14192
14193// GN: //third_party/abseil-cpp/absl/container:btree
14194cc_object {
14195 name: "cronet_aml_third_party_abseil_cpp_absl_container_btree",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014196 defaults: [
14197 "cronet_aml_defaults",
14198 ],
14199 cflags: [
14200 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014201 "-DANDROID",
14202 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014203 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14204 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14205 "-DDCHECK_ALWAYS_ON=1",
14206 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014207 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014208 "-D_DEBUG",
14209 "-D_GNU_SOURCE",
14210 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14211 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14212 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14213 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014214 ],
14215 local_include_dirs: [
14216 "./",
14217 "buildtools/third_party/libc++/",
14218 "buildtools/third_party/libc++/trunk/include",
14219 "buildtools/third_party/libc++abi/trunk/include",
14220 "third_party/abseil-cpp/",
14221 ],
14222 cpp_std: "c++20",
14223 target: {
14224 android_x86: {
14225 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014226 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014227 ],
14228 },
14229 android_x86_64: {
14230 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014231 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014232 ],
14233 },
14234 },
14235}
14236
14237// GN: //third_party/abseil-cpp/absl/container:common
14238cc_object {
14239 name: "cronet_aml_third_party_abseil_cpp_absl_container_common",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014240 defaults: [
14241 "cronet_aml_defaults",
14242 ],
14243 cflags: [
14244 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014245 "-DANDROID",
14246 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014247 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14248 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14249 "-DDCHECK_ALWAYS_ON=1",
14250 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014251 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014252 "-D_DEBUG",
14253 "-D_GNU_SOURCE",
14254 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14255 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14256 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14257 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014258 ],
14259 local_include_dirs: [
14260 "./",
14261 "buildtools/third_party/libc++/",
14262 "buildtools/third_party/libc++/trunk/include",
14263 "buildtools/third_party/libc++abi/trunk/include",
14264 "third_party/abseil-cpp/",
14265 ],
14266 cpp_std: "c++20",
14267 target: {
14268 android_x86: {
14269 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014270 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014271 ],
14272 },
14273 android_x86_64: {
14274 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014275 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014276 ],
14277 },
14278 },
14279}
14280
14281// GN: //third_party/abseil-cpp/absl/container:common_policy_traits
14282cc_object {
14283 name: "cronet_aml_third_party_abseil_cpp_absl_container_common_policy_traits",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014284 defaults: [
14285 "cronet_aml_defaults",
14286 ],
14287 cflags: [
14288 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014289 "-DANDROID",
14290 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014291 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14292 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14293 "-DDCHECK_ALWAYS_ON=1",
14294 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014295 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014296 "-D_DEBUG",
14297 "-D_GNU_SOURCE",
14298 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14299 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14300 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14301 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014302 ],
14303 local_include_dirs: [
14304 "./",
14305 "buildtools/third_party/libc++/",
14306 "buildtools/third_party/libc++/trunk/include",
14307 "buildtools/third_party/libc++abi/trunk/include",
14308 "third_party/abseil-cpp/",
14309 ],
14310 cpp_std: "c++20",
14311 target: {
14312 android_x86: {
14313 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014314 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014315 ],
14316 },
14317 android_x86_64: {
14318 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014319 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014320 ],
14321 },
14322 },
14323}
14324
14325// GN: //third_party/abseil-cpp/absl/container:compressed_tuple
14326cc_object {
14327 name: "cronet_aml_third_party_abseil_cpp_absl_container_compressed_tuple",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014328 defaults: [
14329 "cronet_aml_defaults",
14330 ],
14331 cflags: [
14332 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014333 "-DANDROID",
14334 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014335 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14336 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14337 "-DDCHECK_ALWAYS_ON=1",
14338 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014339 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014340 "-D_DEBUG",
14341 "-D_GNU_SOURCE",
14342 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14343 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14344 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14345 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014346 ],
14347 local_include_dirs: [
14348 "./",
14349 "buildtools/third_party/libc++/",
14350 "buildtools/third_party/libc++/trunk/include",
14351 "buildtools/third_party/libc++abi/trunk/include",
14352 "third_party/abseil-cpp/",
14353 ],
14354 cpp_std: "c++20",
14355 target: {
14356 android_x86: {
14357 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014358 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014359 ],
14360 },
14361 android_x86_64: {
14362 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014363 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014364 ],
14365 },
14366 },
14367}
14368
14369// GN: //third_party/abseil-cpp/absl/container:container_memory
14370cc_object {
14371 name: "cronet_aml_third_party_abseil_cpp_absl_container_container_memory",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014372 defaults: [
14373 "cronet_aml_defaults",
14374 ],
14375 cflags: [
14376 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014377 "-DANDROID",
14378 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014379 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14380 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14381 "-DDCHECK_ALWAYS_ON=1",
14382 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014383 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014384 "-D_DEBUG",
14385 "-D_GNU_SOURCE",
14386 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14387 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14388 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14389 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014390 ],
14391 local_include_dirs: [
14392 "./",
14393 "buildtools/third_party/libc++/",
14394 "buildtools/third_party/libc++/trunk/include",
14395 "buildtools/third_party/libc++abi/trunk/include",
14396 "third_party/abseil-cpp/",
14397 ],
14398 cpp_std: "c++20",
14399 target: {
14400 android_x86: {
14401 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014402 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014403 ],
14404 },
14405 android_x86_64: {
14406 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014407 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014408 ],
14409 },
14410 },
14411}
14412
14413// GN: //third_party/abseil-cpp/absl/container:fixed_array
14414cc_object {
14415 name: "cronet_aml_third_party_abseil_cpp_absl_container_fixed_array",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014416 defaults: [
14417 "cronet_aml_defaults",
14418 ],
14419 cflags: [
14420 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014421 "-DANDROID",
14422 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014423 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14424 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14425 "-DDCHECK_ALWAYS_ON=1",
14426 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014427 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014428 "-D_DEBUG",
14429 "-D_GNU_SOURCE",
14430 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14431 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14432 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14433 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014434 ],
14435 local_include_dirs: [
14436 "./",
14437 "buildtools/third_party/libc++/",
14438 "buildtools/third_party/libc++/trunk/include",
14439 "buildtools/third_party/libc++abi/trunk/include",
14440 "third_party/abseil-cpp/",
14441 ],
14442 cpp_std: "c++20",
14443 target: {
14444 android_x86: {
14445 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014446 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014447 ],
14448 },
14449 android_x86_64: {
14450 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014451 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014452 ],
14453 },
14454 },
14455}
14456
14457// GN: //third_party/abseil-cpp/absl/container:flat_hash_map
14458cc_object {
14459 name: "cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_map",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014460 defaults: [
14461 "cronet_aml_defaults",
14462 ],
14463 cflags: [
14464 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014465 "-DANDROID",
14466 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014467 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14468 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14469 "-DDCHECK_ALWAYS_ON=1",
14470 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014471 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014472 "-D_DEBUG",
14473 "-D_GNU_SOURCE",
14474 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14475 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14476 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14477 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014478 ],
14479 local_include_dirs: [
14480 "./",
14481 "buildtools/third_party/libc++/",
14482 "buildtools/third_party/libc++/trunk/include",
14483 "buildtools/third_party/libc++abi/trunk/include",
14484 "third_party/abseil-cpp/",
14485 ],
14486 cpp_std: "c++20",
14487 target: {
14488 android_x86: {
14489 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014490 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014491 ],
14492 },
14493 android_x86_64: {
14494 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014495 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014496 ],
14497 },
14498 },
14499}
14500
14501// GN: //third_party/abseil-cpp/absl/container:flat_hash_set
14502cc_object {
14503 name: "cronet_aml_third_party_abseil_cpp_absl_container_flat_hash_set",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014504 defaults: [
14505 "cronet_aml_defaults",
14506 ],
14507 cflags: [
14508 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014509 "-DANDROID",
14510 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014511 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14512 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14513 "-DDCHECK_ALWAYS_ON=1",
14514 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014515 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014516 "-D_DEBUG",
14517 "-D_GNU_SOURCE",
14518 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14519 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14520 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14521 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014522 ],
14523 local_include_dirs: [
14524 "./",
14525 "buildtools/third_party/libc++/",
14526 "buildtools/third_party/libc++/trunk/include",
14527 "buildtools/third_party/libc++abi/trunk/include",
14528 "third_party/abseil-cpp/",
14529 ],
14530 cpp_std: "c++20",
14531 target: {
14532 android_x86: {
14533 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014534 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014535 ],
14536 },
14537 android_x86_64: {
14538 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014539 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014540 ],
14541 },
14542 },
14543}
14544
14545// GN: //third_party/abseil-cpp/absl/container:hash_function_defaults
14546cc_object {
14547 name: "cronet_aml_third_party_abseil_cpp_absl_container_hash_function_defaults",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014548 defaults: [
14549 "cronet_aml_defaults",
14550 ],
14551 cflags: [
14552 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014553 "-DANDROID",
14554 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014555 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14556 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14557 "-DDCHECK_ALWAYS_ON=1",
14558 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014559 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014560 "-D_DEBUG",
14561 "-D_GNU_SOURCE",
14562 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14563 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14564 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14565 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014566 ],
14567 local_include_dirs: [
14568 "./",
14569 "buildtools/third_party/libc++/",
14570 "buildtools/third_party/libc++/trunk/include",
14571 "buildtools/third_party/libc++abi/trunk/include",
14572 "third_party/abseil-cpp/",
14573 ],
14574 cpp_std: "c++20",
14575 target: {
14576 android_x86: {
14577 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014578 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014579 ],
14580 },
14581 android_x86_64: {
14582 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014583 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014584 ],
14585 },
14586 },
14587}
14588
14589// GN: //third_party/abseil-cpp/absl/container:hash_policy_traits
14590cc_object {
14591 name: "cronet_aml_third_party_abseil_cpp_absl_container_hash_policy_traits",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014592 defaults: [
14593 "cronet_aml_defaults",
14594 ],
14595 cflags: [
14596 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014597 "-DANDROID",
14598 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014599 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14600 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14601 "-DDCHECK_ALWAYS_ON=1",
14602 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014603 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014604 "-D_DEBUG",
14605 "-D_GNU_SOURCE",
14606 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14607 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14608 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14609 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014610 ],
14611 local_include_dirs: [
14612 "./",
14613 "buildtools/third_party/libc++/",
14614 "buildtools/third_party/libc++/trunk/include",
14615 "buildtools/third_party/libc++abi/trunk/include",
14616 "third_party/abseil-cpp/",
14617 ],
14618 cpp_std: "c++20",
14619 target: {
14620 android_x86: {
14621 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014622 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014623 ],
14624 },
14625 android_x86_64: {
14626 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014627 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014628 ],
14629 },
14630 },
14631}
14632
14633// GN: //third_party/abseil-cpp/absl/container:hashtable_debug_hooks
14634cc_object {
14635 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtable_debug_hooks",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014636 defaults: [
14637 "cronet_aml_defaults",
14638 ],
14639 cflags: [
14640 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014641 "-DANDROID",
14642 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014643 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14644 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14645 "-DDCHECK_ALWAYS_ON=1",
14646 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014647 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014648 "-D_DEBUG",
14649 "-D_GNU_SOURCE",
14650 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14651 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14652 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14653 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014654 ],
14655 local_include_dirs: [
14656 "./",
14657 "buildtools/third_party/libc++/",
14658 "buildtools/third_party/libc++/trunk/include",
14659 "buildtools/third_party/libc++abi/trunk/include",
14660 "third_party/abseil-cpp/",
14661 ],
14662 cpp_std: "c++20",
14663 target: {
14664 android_x86: {
14665 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014666 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014667 ],
14668 },
14669 android_x86_64: {
14670 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014671 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014672 ],
14673 },
14674 },
14675}
14676
14677// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler
14678cc_object {
14679 name: "cronet_aml_third_party_abseil_cpp_absl_container_hashtablez_sampler",
14680 srcs: [
14681 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc",
14682 "third_party/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc",
14683 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014684 defaults: [
14685 "cronet_aml_defaults",
14686 ],
14687 cflags: [
14688 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014689 "-DANDROID",
14690 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014691 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14692 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14693 "-DDCHECK_ALWAYS_ON=1",
14694 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014695 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014696 "-D_DEBUG",
14697 "-D_GNU_SOURCE",
14698 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14699 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14700 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14701 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014702 ],
14703 local_include_dirs: [
14704 "./",
14705 "buildtools/third_party/libc++/",
14706 "buildtools/third_party/libc++/trunk/include",
14707 "buildtools/third_party/libc++abi/trunk/include",
14708 "third_party/abseil-cpp/",
14709 ],
14710 cpp_std: "c++20",
14711 target: {
14712 android_x86: {
14713 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014714 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014715 ],
14716 },
14717 android_x86_64: {
14718 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014719 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014720 ],
14721 },
14722 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070014723}
14724
14725// GN: //third_party/abseil-cpp/absl/container:inlined_vector
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014726cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070014727 name: "cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014728 defaults: [
14729 "cronet_aml_defaults",
14730 ],
14731 cflags: [
14732 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014733 "-DANDROID",
14734 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014735 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14736 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14737 "-DDCHECK_ALWAYS_ON=1",
14738 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014739 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014740 "-D_DEBUG",
14741 "-D_GNU_SOURCE",
14742 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14743 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14744 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14745 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014746 ],
14747 local_include_dirs: [
14748 "./",
14749 "buildtools/third_party/libc++/",
14750 "buildtools/third_party/libc++/trunk/include",
14751 "buildtools/third_party/libc++abi/trunk/include",
14752 "third_party/abseil-cpp/",
14753 ],
14754 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090014755 target: {
14756 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014757 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014758 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090014759 ],
14760 },
14761 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014762 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014763 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014764 ],
14765 },
14766 },
14767}
14768
14769// GN: //third_party/abseil-cpp/absl/container:inlined_vector_internal
14770cc_object {
14771 name: "cronet_aml_third_party_abseil_cpp_absl_container_inlined_vector_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014772 defaults: [
14773 "cronet_aml_defaults",
14774 ],
14775 cflags: [
14776 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014777 "-DANDROID",
14778 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014779 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14780 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14781 "-DDCHECK_ALWAYS_ON=1",
14782 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014783 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014784 "-D_DEBUG",
14785 "-D_GNU_SOURCE",
14786 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14787 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14788 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14789 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014790 ],
14791 local_include_dirs: [
14792 "./",
14793 "buildtools/third_party/libc++/",
14794 "buildtools/third_party/libc++/trunk/include",
14795 "buildtools/third_party/libc++abi/trunk/include",
14796 "third_party/abseil-cpp/",
14797 ],
14798 cpp_std: "c++20",
14799 target: {
14800 android_x86: {
14801 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014802 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014803 ],
14804 },
14805 android_x86_64: {
14806 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014807 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014808 ],
14809 },
14810 },
14811}
14812
14813// GN: //third_party/abseil-cpp/absl/container:layout
14814cc_object {
14815 name: "cronet_aml_third_party_abseil_cpp_absl_container_layout",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014816 defaults: [
14817 "cronet_aml_defaults",
14818 ],
14819 cflags: [
14820 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014821 "-DANDROID",
14822 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014823 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14824 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14825 "-DDCHECK_ALWAYS_ON=1",
14826 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014827 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014828 "-D_DEBUG",
14829 "-D_GNU_SOURCE",
14830 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14831 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14832 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14833 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014834 ],
14835 local_include_dirs: [
14836 "./",
14837 "buildtools/third_party/libc++/",
14838 "buildtools/third_party/libc++/trunk/include",
14839 "buildtools/third_party/libc++abi/trunk/include",
14840 "third_party/abseil-cpp/",
14841 ],
14842 cpp_std: "c++20",
14843 target: {
14844 android_x86: {
14845 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014846 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014847 ],
14848 },
14849 android_x86_64: {
14850 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014851 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014852 ],
14853 },
14854 },
14855}
14856
14857// GN: //third_party/abseil-cpp/absl/container:node_hash_map
14858cc_object {
14859 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_hash_map",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014860 defaults: [
14861 "cronet_aml_defaults",
14862 ],
14863 cflags: [
14864 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014865 "-DANDROID",
14866 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014867 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14868 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14869 "-DDCHECK_ALWAYS_ON=1",
14870 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014871 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014872 "-D_DEBUG",
14873 "-D_GNU_SOURCE",
14874 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14875 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14876 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14877 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014878 ],
14879 local_include_dirs: [
14880 "./",
14881 "buildtools/third_party/libc++/",
14882 "buildtools/third_party/libc++/trunk/include",
14883 "buildtools/third_party/libc++abi/trunk/include",
14884 "third_party/abseil-cpp/",
14885 ],
14886 cpp_std: "c++20",
14887 target: {
14888 android_x86: {
14889 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014890 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014891 ],
14892 },
14893 android_x86_64: {
14894 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014895 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014896 ],
14897 },
14898 },
14899}
14900
14901// GN: //third_party/abseil-cpp/absl/container:node_hash_set
14902cc_object {
14903 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_hash_set",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014904 defaults: [
14905 "cronet_aml_defaults",
14906 ],
14907 cflags: [
14908 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014909 "-DANDROID",
14910 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014911 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14912 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14913 "-DDCHECK_ALWAYS_ON=1",
14914 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014915 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014916 "-D_DEBUG",
14917 "-D_GNU_SOURCE",
14918 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14919 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14920 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14921 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014922 ],
14923 local_include_dirs: [
14924 "./",
14925 "buildtools/third_party/libc++/",
14926 "buildtools/third_party/libc++/trunk/include",
14927 "buildtools/third_party/libc++abi/trunk/include",
14928 "third_party/abseil-cpp/",
14929 ],
14930 cpp_std: "c++20",
14931 target: {
14932 android_x86: {
14933 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014934 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014935 ],
14936 },
14937 android_x86_64: {
14938 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014939 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014940 ],
14941 },
14942 },
14943}
14944
14945// GN: //third_party/abseil-cpp/absl/container:node_slot_policy
14946cc_object {
14947 name: "cronet_aml_third_party_abseil_cpp_absl_container_node_slot_policy",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014948 defaults: [
14949 "cronet_aml_defaults",
14950 ],
14951 cflags: [
14952 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014953 "-DANDROID",
14954 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014955 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
14956 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
14957 "-DDCHECK_ALWAYS_ON=1",
14958 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014959 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014960 "-D_DEBUG",
14961 "-D_GNU_SOURCE",
14962 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
14963 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
14964 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
14965 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014966 ],
14967 local_include_dirs: [
14968 "./",
14969 "buildtools/third_party/libc++/",
14970 "buildtools/third_party/libc++/trunk/include",
14971 "buildtools/third_party/libc++abi/trunk/include",
14972 "third_party/abseil-cpp/",
14973 ],
14974 cpp_std: "c++20",
14975 target: {
14976 android_x86: {
14977 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014978 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014979 ],
14980 },
14981 android_x86_64: {
14982 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090014983 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014984 ],
14985 },
14986 },
14987}
14988
14989// GN: //third_party/abseil-cpp/absl/container:raw_hash_map
14990cc_object {
14991 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_map",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014992 defaults: [
14993 "cronet_aml_defaults",
14994 ],
14995 cflags: [
14996 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080014997 "-DANDROID",
14998 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000014999 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15000 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15001 "-DDCHECK_ALWAYS_ON=1",
15002 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015003 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015004 "-D_DEBUG",
15005 "-D_GNU_SOURCE",
15006 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15007 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15008 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15009 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015010 ],
15011 local_include_dirs: [
15012 "./",
15013 "buildtools/third_party/libc++/",
15014 "buildtools/third_party/libc++/trunk/include",
15015 "buildtools/third_party/libc++abi/trunk/include",
15016 "third_party/abseil-cpp/",
15017 ],
15018 cpp_std: "c++20",
15019 target: {
15020 android_x86: {
15021 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015022 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015023 ],
15024 },
15025 android_x86_64: {
15026 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015027 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015028 ],
15029 },
15030 },
15031}
15032
15033// GN: //third_party/abseil-cpp/absl/container:raw_hash_set
15034cc_object {
15035 name: "cronet_aml_third_party_abseil_cpp_absl_container_raw_hash_set",
15036 srcs: [
15037 "third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc",
15038 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015039 defaults: [
15040 "cronet_aml_defaults",
15041 ],
15042 cflags: [
15043 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015044 "-DANDROID",
15045 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015046 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15047 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15048 "-DDCHECK_ALWAYS_ON=1",
15049 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015050 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015051 "-D_DEBUG",
15052 "-D_GNU_SOURCE",
15053 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15054 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15055 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15056 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015057 ],
15058 local_include_dirs: [
15059 "./",
15060 "buildtools/third_party/libc++/",
15061 "buildtools/third_party/libc++/trunk/include",
15062 "buildtools/third_party/libc++abi/trunk/include",
15063 "third_party/abseil-cpp/",
15064 ],
15065 cpp_std: "c++20",
15066 target: {
15067 android_x86: {
15068 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015069 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015070 ],
15071 },
15072 android_x86_64: {
15073 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015074 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015075 ],
15076 },
15077 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015078}
15079
15080// GN: //third_party/abseil-cpp/absl/debugging:debugging_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015081cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015082 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_debugging_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015083 srcs: [
15084 "third_party/abseil-cpp/absl/debugging/internal/address_is_readable.cc",
15085 "third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc",
15086 "third_party/abseil-cpp/absl/debugging/internal/vdso_support.cc",
15087 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015088 defaults: [
15089 "cronet_aml_defaults",
15090 ],
15091 cflags: [
15092 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015093 "-DANDROID",
15094 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015095 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15096 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15097 "-DDCHECK_ALWAYS_ON=1",
15098 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015099 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015100 "-D_DEBUG",
15101 "-D_GNU_SOURCE",
15102 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15103 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15104 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15105 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015106 ],
15107 local_include_dirs: [
15108 "./",
15109 "buildtools/third_party/libc++/",
15110 "buildtools/third_party/libc++/trunk/include",
15111 "buildtools/third_party/libc++abi/trunk/include",
15112 "third_party/abseil-cpp/",
15113 ],
15114 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015115 target: {
15116 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015117 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015118 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015119 ],
15120 },
15121 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015122 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015123 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015124 ],
15125 },
15126 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015127}
15128
15129// GN: //third_party/abseil-cpp/absl/debugging:demangle_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015130cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015131 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_demangle_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015132 srcs: [
15133 "third_party/abseil-cpp/absl/debugging/internal/demangle.cc",
15134 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015135 defaults: [
15136 "cronet_aml_defaults",
15137 ],
15138 cflags: [
15139 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015140 "-DANDROID",
15141 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015142 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15143 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15144 "-DDCHECK_ALWAYS_ON=1",
15145 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015146 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015147 "-D_DEBUG",
15148 "-D_GNU_SOURCE",
15149 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15150 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15151 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15152 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015153 ],
15154 local_include_dirs: [
15155 "./",
15156 "buildtools/third_party/libc++/",
15157 "buildtools/third_party/libc++/trunk/include",
15158 "buildtools/third_party/libc++abi/trunk/include",
15159 "third_party/abseil-cpp/",
15160 ],
15161 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015162 target: {
15163 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015164 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015165 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015166 ],
15167 },
15168 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015169 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015170 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015171 ],
15172 },
15173 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015174}
15175
15176// GN: //third_party/abseil-cpp/absl/debugging:examine_stack
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015177cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015178 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_examine_stack",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015179 srcs: [
15180 "third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc",
15181 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015182 defaults: [
15183 "cronet_aml_defaults",
15184 ],
15185 cflags: [
15186 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015187 "-DANDROID",
15188 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015189 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15190 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15191 "-DDCHECK_ALWAYS_ON=1",
15192 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015193 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015194 "-D_DEBUG",
15195 "-D_GNU_SOURCE",
15196 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15197 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15198 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15199 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015200 ],
15201 local_include_dirs: [
15202 "./",
15203 "buildtools/third_party/libc++/",
15204 "buildtools/third_party/libc++/trunk/include",
15205 "buildtools/third_party/libc++abi/trunk/include",
15206 "third_party/abseil-cpp/",
15207 ],
15208 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015209 target: {
15210 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015211 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015212 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015213 ],
15214 },
15215 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015216 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015217 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015218 ],
15219 },
15220 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015221}
15222
15223// GN: //third_party/abseil-cpp/absl/debugging:failure_signal_handler
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015224cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015225 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_failure_signal_handler",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015226 srcs: [
15227 "third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc",
15228 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015229 defaults: [
15230 "cronet_aml_defaults",
15231 ],
15232 cflags: [
15233 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015234 "-DANDROID",
15235 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015236 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15237 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15238 "-DDCHECK_ALWAYS_ON=1",
15239 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015240 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015241 "-D_DEBUG",
15242 "-D_GNU_SOURCE",
15243 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15244 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15245 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15246 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015247 ],
15248 local_include_dirs: [
15249 "./",
15250 "buildtools/third_party/libc++/",
15251 "buildtools/third_party/libc++/trunk/include",
15252 "buildtools/third_party/libc++abi/trunk/include",
15253 "third_party/abseil-cpp/",
15254 ],
15255 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015256 target: {
15257 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015258 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015259 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015260 ],
15261 },
15262 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015263 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015264 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015265 ],
15266 },
15267 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015268}
15269
15270// GN: //third_party/abseil-cpp/absl/debugging:stacktrace
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015271cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015272 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_stacktrace",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015273 srcs: [
15274 "third_party/abseil-cpp/absl/debugging/stacktrace.cc",
15275 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015276 defaults: [
15277 "cronet_aml_defaults",
15278 ],
15279 cflags: [
15280 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015281 "-DANDROID",
15282 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015283 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15284 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15285 "-DDCHECK_ALWAYS_ON=1",
15286 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015287 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015288 "-D_DEBUG",
15289 "-D_GNU_SOURCE",
15290 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15291 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15292 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15293 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015294 ],
15295 local_include_dirs: [
15296 "./",
15297 "buildtools/third_party/libc++/",
15298 "buildtools/third_party/libc++/trunk/include",
15299 "buildtools/third_party/libc++abi/trunk/include",
15300 "third_party/abseil-cpp/",
15301 ],
15302 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015303 target: {
15304 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015305 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015306 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015307 ],
15308 },
15309 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015310 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015311 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015312 ],
15313 },
15314 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015315}
15316
15317// GN: //third_party/abseil-cpp/absl/debugging:symbolize
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015318cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015319 name: "cronet_aml_third_party_abseil_cpp_absl_debugging_symbolize",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015320 srcs: [
15321 "third_party/abseil-cpp/absl/debugging/symbolize.cc",
15322 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015323 defaults: [
15324 "cronet_aml_defaults",
15325 ],
15326 cflags: [
15327 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015328 "-DANDROID",
15329 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015330 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15331 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15332 "-DDCHECK_ALWAYS_ON=1",
15333 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015334 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015335 "-D_DEBUG",
15336 "-D_GNU_SOURCE",
15337 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15338 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15339 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15340 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015341 ],
15342 local_include_dirs: [
15343 "./",
15344 "buildtools/third_party/libc++/",
15345 "buildtools/third_party/libc++/trunk/include",
15346 "buildtools/third_party/libc++abi/trunk/include",
15347 "third_party/abseil-cpp/",
15348 ],
15349 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015350 target: {
15351 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015352 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015353 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015354 ],
15355 },
15356 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015357 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015358 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015359 ],
15360 },
15361 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015362}
15363
15364// GN: //third_party/abseil-cpp/absl/functional:any_invocable
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015365cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015366 name: "cronet_aml_third_party_abseil_cpp_absl_functional_any_invocable",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015367 defaults: [
15368 "cronet_aml_defaults",
15369 ],
15370 cflags: [
15371 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015372 "-DANDROID",
15373 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015374 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15375 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15376 "-DDCHECK_ALWAYS_ON=1",
15377 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015378 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015379 "-D_DEBUG",
15380 "-D_GNU_SOURCE",
15381 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15382 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15383 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15384 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015385 ],
15386 local_include_dirs: [
15387 "./",
15388 "buildtools/third_party/libc++/",
15389 "buildtools/third_party/libc++/trunk/include",
15390 "buildtools/third_party/libc++abi/trunk/include",
15391 "third_party/abseil-cpp/",
15392 ],
15393 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015394 target: {
15395 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015396 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015397 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015398 ],
15399 },
15400 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015401 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015402 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015403 ],
15404 },
15405 },
15406}
15407
15408// GN: //third_party/abseil-cpp/absl/functional:bind_front
15409cc_object {
15410 name: "cronet_aml_third_party_abseil_cpp_absl_functional_bind_front",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015411 defaults: [
15412 "cronet_aml_defaults",
15413 ],
15414 cflags: [
15415 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015416 "-DANDROID",
15417 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015418 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15419 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15420 "-DDCHECK_ALWAYS_ON=1",
15421 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015422 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015423 "-D_DEBUG",
15424 "-D_GNU_SOURCE",
15425 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15426 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15427 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15428 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015429 ],
15430 local_include_dirs: [
15431 "./",
15432 "buildtools/third_party/libc++/",
15433 "buildtools/third_party/libc++/trunk/include",
15434 "buildtools/third_party/libc++abi/trunk/include",
15435 "third_party/abseil-cpp/",
15436 ],
15437 cpp_std: "c++20",
15438 target: {
15439 android_x86: {
15440 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015441 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015442 ],
15443 },
15444 android_x86_64: {
15445 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015446 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015447 ],
15448 },
15449 },
15450}
15451
15452// GN: //third_party/abseil-cpp/absl/functional:function_ref
15453cc_object {
15454 name: "cronet_aml_third_party_abseil_cpp_absl_functional_function_ref",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015455 defaults: [
15456 "cronet_aml_defaults",
15457 ],
15458 cflags: [
15459 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015460 "-DANDROID",
15461 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015462 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15463 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15464 "-DDCHECK_ALWAYS_ON=1",
15465 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015466 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015467 "-D_DEBUG",
15468 "-D_GNU_SOURCE",
15469 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15470 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15471 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15472 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015473 ],
15474 local_include_dirs: [
15475 "./",
15476 "buildtools/third_party/libc++/",
15477 "buildtools/third_party/libc++/trunk/include",
15478 "buildtools/third_party/libc++abi/trunk/include",
15479 "third_party/abseil-cpp/",
15480 ],
15481 cpp_std: "c++20",
15482 target: {
15483 android_x86: {
15484 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015485 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015486 ],
15487 },
15488 android_x86_64: {
15489 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015490 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015491 ],
15492 },
15493 },
15494}
15495
15496// GN: //third_party/abseil-cpp/absl/hash:city
15497cc_object {
15498 name: "cronet_aml_third_party_abseil_cpp_absl_hash_city",
15499 srcs: [
15500 "third_party/abseil-cpp/absl/hash/internal/city.cc",
15501 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015502 defaults: [
15503 "cronet_aml_defaults",
15504 ],
15505 cflags: [
15506 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015507 "-DANDROID",
15508 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015509 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15510 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15511 "-DDCHECK_ALWAYS_ON=1",
15512 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015513 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015514 "-D_DEBUG",
15515 "-D_GNU_SOURCE",
15516 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15517 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15518 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15519 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015520 ],
15521 local_include_dirs: [
15522 "./",
15523 "buildtools/third_party/libc++/",
15524 "buildtools/third_party/libc++/trunk/include",
15525 "buildtools/third_party/libc++abi/trunk/include",
15526 "third_party/abseil-cpp/",
15527 ],
15528 cpp_std: "c++20",
15529 target: {
15530 android_x86: {
15531 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015532 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015533 ],
15534 },
15535 android_x86_64: {
15536 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015537 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015538 ],
15539 },
15540 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015541}
15542
15543// GN: //third_party/abseil-cpp/absl/hash:hash
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015544cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015545 name: "cronet_aml_third_party_abseil_cpp_absl_hash_hash",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015546 srcs: [
15547 "third_party/abseil-cpp/absl/hash/internal/hash.cc",
15548 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015549 defaults: [
15550 "cronet_aml_defaults",
15551 ],
15552 cflags: [
15553 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015554 "-DANDROID",
15555 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015556 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15557 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15558 "-DDCHECK_ALWAYS_ON=1",
15559 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015560 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015561 "-D_DEBUG",
15562 "-D_GNU_SOURCE",
15563 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15564 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15565 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15566 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015567 ],
15568 local_include_dirs: [
15569 "./",
15570 "buildtools/third_party/libc++/",
15571 "buildtools/third_party/libc++/trunk/include",
15572 "buildtools/third_party/libc++abi/trunk/include",
15573 "third_party/abseil-cpp/",
15574 ],
15575 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015576 target: {
15577 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015578 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015579 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015580 ],
15581 },
15582 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015583 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015584 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015585 ],
15586 },
15587 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015588}
15589
15590// GN: //third_party/abseil-cpp/absl/hash:low_level_hash
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015591cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015592 name: "cronet_aml_third_party_abseil_cpp_absl_hash_low_level_hash",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015593 srcs: [
15594 "third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc",
15595 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015596 defaults: [
15597 "cronet_aml_defaults",
15598 ],
15599 cflags: [
15600 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015601 "-DANDROID",
15602 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015603 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15604 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15605 "-DDCHECK_ALWAYS_ON=1",
15606 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015607 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015608 "-D_DEBUG",
15609 "-D_GNU_SOURCE",
15610 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15611 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15612 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15613 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015614 ],
15615 local_include_dirs: [
15616 "./",
15617 "buildtools/third_party/libc++/",
15618 "buildtools/third_party/libc++/trunk/include",
15619 "buildtools/third_party/libc++abi/trunk/include",
15620 "third_party/abseil-cpp/",
15621 ],
15622 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015623 target: {
15624 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015625 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015626 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015627 ],
15628 },
15629 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015630 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015631 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015632 ],
15633 },
15634 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015635}
15636
15637// GN: //third_party/abseil-cpp/absl/memory:memory
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015638cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015639 name: "cronet_aml_third_party_abseil_cpp_absl_memory_memory",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015640 defaults: [
15641 "cronet_aml_defaults",
15642 ],
15643 cflags: [
15644 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015645 "-DANDROID",
15646 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015647 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15648 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15649 "-DDCHECK_ALWAYS_ON=1",
15650 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015651 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015652 "-D_DEBUG",
15653 "-D_GNU_SOURCE",
15654 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15655 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15656 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15657 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015658 ],
15659 local_include_dirs: [
15660 "./",
15661 "buildtools/third_party/libc++/",
15662 "buildtools/third_party/libc++/trunk/include",
15663 "buildtools/third_party/libc++abi/trunk/include",
15664 "third_party/abseil-cpp/",
15665 ],
15666 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015667 target: {
15668 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015669 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015670 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015671 ],
15672 },
15673 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015674 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015675 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015676 ],
15677 },
15678 },
15679}
15680
15681// GN: //third_party/abseil-cpp/absl/meta:type_traits
15682cc_object {
15683 name: "cronet_aml_third_party_abseil_cpp_absl_meta_type_traits",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015684 defaults: [
15685 "cronet_aml_defaults",
15686 ],
15687 cflags: [
15688 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015689 "-DANDROID",
15690 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015691 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15692 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15693 "-DDCHECK_ALWAYS_ON=1",
15694 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015695 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015696 "-D_DEBUG",
15697 "-D_GNU_SOURCE",
15698 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15699 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15700 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15701 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015702 ],
15703 local_include_dirs: [
15704 "./",
15705 "buildtools/third_party/libc++/",
15706 "buildtools/third_party/libc++/trunk/include",
15707 "buildtools/third_party/libc++abi/trunk/include",
15708 "third_party/abseil-cpp/",
15709 ],
15710 cpp_std: "c++20",
15711 target: {
15712 android_x86: {
15713 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015714 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015715 ],
15716 },
15717 android_x86_64: {
15718 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015719 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015720 ],
15721 },
15722 },
15723}
15724
15725// GN: //third_party/abseil-cpp/absl/numeric:bits
15726cc_object {
15727 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_bits",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015728 defaults: [
15729 "cronet_aml_defaults",
15730 ],
15731 cflags: [
15732 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015733 "-DANDROID",
15734 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015735 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15736 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15737 "-DDCHECK_ALWAYS_ON=1",
15738 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015739 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015740 "-D_DEBUG",
15741 "-D_GNU_SOURCE",
15742 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15743 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15744 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15745 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015746 ],
15747 local_include_dirs: [
15748 "./",
15749 "buildtools/third_party/libc++/",
15750 "buildtools/third_party/libc++/trunk/include",
15751 "buildtools/third_party/libc++abi/trunk/include",
15752 "third_party/abseil-cpp/",
15753 ],
15754 cpp_std: "c++20",
15755 target: {
15756 android_x86: {
15757 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015758 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015759 ],
15760 },
15761 android_x86_64: {
15762 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015763 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015764 ],
15765 },
15766 },
15767}
15768
15769// GN: //third_party/abseil-cpp/absl/numeric:int128
15770cc_object {
15771 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_int128",
15772 srcs: [
15773 "third_party/abseil-cpp/absl/numeric/int128.cc",
15774 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015775 defaults: [
15776 "cronet_aml_defaults",
15777 ],
15778 cflags: [
15779 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015780 "-DANDROID",
15781 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015782 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15783 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15784 "-DDCHECK_ALWAYS_ON=1",
15785 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015786 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015787 "-D_DEBUG",
15788 "-D_GNU_SOURCE",
15789 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15790 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15791 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15792 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015793 ],
15794 local_include_dirs: [
15795 "./",
15796 "buildtools/third_party/libc++/",
15797 "buildtools/third_party/libc++/trunk/include",
15798 "buildtools/third_party/libc++abi/trunk/include",
15799 "third_party/abseil-cpp/",
15800 ],
15801 cpp_std: "c++20",
15802 target: {
15803 android_x86: {
15804 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015805 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015806 ],
15807 },
15808 android_x86_64: {
15809 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015810 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015811 ],
15812 },
15813 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015814}
15815
15816// GN: //third_party/abseil-cpp/absl/numeric:representation
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015817cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015818 name: "cronet_aml_third_party_abseil_cpp_absl_numeric_representation",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015819 defaults: [
15820 "cronet_aml_defaults",
15821 ],
15822 cflags: [
15823 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015824 "-DANDROID",
15825 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015826 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15827 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15828 "-DDCHECK_ALWAYS_ON=1",
15829 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015830 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015831 "-D_DEBUG",
15832 "-D_GNU_SOURCE",
15833 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15834 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15835 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15836 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015837 ],
15838 local_include_dirs: [
15839 "./",
15840 "buildtools/third_party/libc++/",
15841 "buildtools/third_party/libc++/trunk/include",
15842 "buildtools/third_party/libc++abi/trunk/include",
15843 "third_party/abseil-cpp/",
15844 ],
15845 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015846 target: {
15847 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015848 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015849 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015850 ],
15851 },
15852 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015853 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015854 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015855 ],
15856 },
15857 },
15858}
15859
15860// GN: //third_party/abseil-cpp/absl/profiling:exponential_biased
15861cc_object {
15862 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_exponential_biased",
15863 srcs: [
15864 "third_party/abseil-cpp/absl/profiling/internal/exponential_biased.cc",
15865 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015866 defaults: [
15867 "cronet_aml_defaults",
15868 ],
15869 cflags: [
15870 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015871 "-DANDROID",
15872 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015873 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15874 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15875 "-DDCHECK_ALWAYS_ON=1",
15876 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015877 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015878 "-D_DEBUG",
15879 "-D_GNU_SOURCE",
15880 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15881 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15882 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15883 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015884 ],
15885 local_include_dirs: [
15886 "./",
15887 "buildtools/third_party/libc++/",
15888 "buildtools/third_party/libc++/trunk/include",
15889 "buildtools/third_party/libc++abi/trunk/include",
15890 "third_party/abseil-cpp/",
15891 ],
15892 cpp_std: "c++20",
15893 target: {
15894 android_x86: {
15895 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015896 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015897 ],
15898 },
15899 android_x86_64: {
15900 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015901 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015902 ],
15903 },
15904 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015905}
15906
15907// GN: //third_party/abseil-cpp/absl/profiling:sample_recorder
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015908cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070015909 name: "cronet_aml_third_party_abseil_cpp_absl_profiling_sample_recorder",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015910 defaults: [
15911 "cronet_aml_defaults",
15912 ],
15913 cflags: [
15914 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015915 "-DANDROID",
15916 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015917 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15918 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15919 "-DDCHECK_ALWAYS_ON=1",
15920 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015921 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015922 "-D_DEBUG",
15923 "-D_GNU_SOURCE",
15924 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15925 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15926 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15927 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015928 ],
15929 local_include_dirs: [
15930 "./",
15931 "buildtools/third_party/libc++/",
15932 "buildtools/third_party/libc++/trunk/include",
15933 "buildtools/third_party/libc++abi/trunk/include",
15934 "third_party/abseil-cpp/",
15935 ],
15936 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090015937 target: {
15938 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015939 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015940 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015941 ],
15942 },
15943 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015944 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015945 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015946 ],
15947 },
15948 },
15949}
15950
15951// GN: //third_party/abseil-cpp/absl/random:distributions
15952cc_object {
15953 name: "cronet_aml_third_party_abseil_cpp_absl_random_distributions",
15954 srcs: [
15955 "third_party/abseil-cpp/absl/random/discrete_distribution.cc",
15956 "third_party/abseil-cpp/absl/random/gaussian_distribution.cc",
15957 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015958 defaults: [
15959 "cronet_aml_defaults",
15960 ],
15961 cflags: [
15962 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015963 "-DANDROID",
15964 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015965 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
15966 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
15967 "-DDCHECK_ALWAYS_ON=1",
15968 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080015969 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015970 "-D_DEBUG",
15971 "-D_GNU_SOURCE",
15972 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
15973 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
15974 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
15975 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015976 ],
15977 local_include_dirs: [
15978 "./",
15979 "buildtools/third_party/libc++/",
15980 "buildtools/third_party/libc++/trunk/include",
15981 "buildtools/third_party/libc++abi/trunk/include",
15982 "third_party/abseil-cpp/",
15983 ],
15984 cpp_std: "c++20",
15985 target: {
15986 android_x86: {
15987 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015988 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000015989 ],
15990 },
15991 android_x86_64: {
15992 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090015993 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090015994 ],
15995 },
15996 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070015997}
15998
15999// GN: //third_party/abseil-cpp/absl/random/internal:distribution_caller
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016000cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070016001 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_distribution_caller",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016002 defaults: [
16003 "cronet_aml_defaults",
16004 ],
16005 cflags: [
16006 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016007 "-DANDROID",
16008 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016009 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16010 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16011 "-DDCHECK_ALWAYS_ON=1",
16012 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016013 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016014 "-D_DEBUG",
16015 "-D_GNU_SOURCE",
16016 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16017 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16018 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16019 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016020 ],
16021 local_include_dirs: [
16022 "./",
16023 "buildtools/third_party/libc++/",
16024 "buildtools/third_party/libc++/trunk/include",
16025 "buildtools/third_party/libc++abi/trunk/include",
16026 "third_party/abseil-cpp/",
16027 ],
16028 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090016029 target: {
16030 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016031 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016032 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090016033 ],
16034 },
16035 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016036 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016037 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016038 ],
16039 },
16040 },
16041}
16042
16043// GN: //third_party/abseil-cpp/absl/random/internal:fast_uniform_bits
16044cc_object {
16045 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_fast_uniform_bits",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016046 defaults: [
16047 "cronet_aml_defaults",
16048 ],
16049 cflags: [
16050 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016051 "-DANDROID",
16052 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016053 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16054 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16055 "-DDCHECK_ALWAYS_ON=1",
16056 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016057 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016058 "-D_DEBUG",
16059 "-D_GNU_SOURCE",
16060 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16061 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16062 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16063 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016064 ],
16065 local_include_dirs: [
16066 "./",
16067 "buildtools/third_party/libc++/",
16068 "buildtools/third_party/libc++/trunk/include",
16069 "buildtools/third_party/libc++abi/trunk/include",
16070 "third_party/abseil-cpp/",
16071 ],
16072 cpp_std: "c++20",
16073 target: {
16074 android_x86: {
16075 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016076 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016077 ],
16078 },
16079 android_x86_64: {
16080 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016081 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016082 ],
16083 },
16084 },
16085}
16086
16087// GN: //third_party/abseil-cpp/absl/random/internal:fastmath
16088cc_object {
16089 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_fastmath",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016090 defaults: [
16091 "cronet_aml_defaults",
16092 ],
16093 cflags: [
16094 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016095 "-DANDROID",
16096 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016097 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16098 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16099 "-DDCHECK_ALWAYS_ON=1",
16100 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016101 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016102 "-D_DEBUG",
16103 "-D_GNU_SOURCE",
16104 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16105 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16106 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16107 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016108 ],
16109 local_include_dirs: [
16110 "./",
16111 "buildtools/third_party/libc++/",
16112 "buildtools/third_party/libc++/trunk/include",
16113 "buildtools/third_party/libc++abi/trunk/include",
16114 "third_party/abseil-cpp/",
16115 ],
16116 cpp_std: "c++20",
16117 target: {
16118 android_x86: {
16119 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016120 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016121 ],
16122 },
16123 android_x86_64: {
16124 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016125 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016126 ],
16127 },
16128 },
16129}
16130
16131// GN: //third_party/abseil-cpp/absl/random/internal:generate_real
16132cc_object {
16133 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_generate_real",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016134 defaults: [
16135 "cronet_aml_defaults",
16136 ],
16137 cflags: [
16138 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016139 "-DANDROID",
16140 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016141 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16142 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16143 "-DDCHECK_ALWAYS_ON=1",
16144 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016145 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016146 "-D_DEBUG",
16147 "-D_GNU_SOURCE",
16148 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16149 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16150 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16151 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016152 ],
16153 local_include_dirs: [
16154 "./",
16155 "buildtools/third_party/libc++/",
16156 "buildtools/third_party/libc++/trunk/include",
16157 "buildtools/third_party/libc++abi/trunk/include",
16158 "third_party/abseil-cpp/",
16159 ],
16160 cpp_std: "c++20",
16161 target: {
16162 android_x86: {
16163 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016164 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016165 ],
16166 },
16167 android_x86_64: {
16168 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016169 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016170 ],
16171 },
16172 },
16173}
16174
16175// GN: //third_party/abseil-cpp/absl/random/internal:iostream_state_saver
16176cc_object {
16177 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_iostream_state_saver",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016178 defaults: [
16179 "cronet_aml_defaults",
16180 ],
16181 cflags: [
16182 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016183 "-DANDROID",
16184 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016185 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16186 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16187 "-DDCHECK_ALWAYS_ON=1",
16188 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016189 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016190 "-D_DEBUG",
16191 "-D_GNU_SOURCE",
16192 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16193 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16194 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16195 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016196 ],
16197 local_include_dirs: [
16198 "./",
16199 "buildtools/third_party/libc++/",
16200 "buildtools/third_party/libc++/trunk/include",
16201 "buildtools/third_party/libc++abi/trunk/include",
16202 "third_party/abseil-cpp/",
16203 ],
16204 cpp_std: "c++20",
16205 target: {
16206 android_x86: {
16207 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016208 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016209 ],
16210 },
16211 android_x86_64: {
16212 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016213 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016214 ],
16215 },
16216 },
16217}
16218
16219// GN: //third_party/abseil-cpp/absl/random/internal:nonsecure_base
16220cc_object {
16221 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_nonsecure_base",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016222 defaults: [
16223 "cronet_aml_defaults",
16224 ],
16225 cflags: [
16226 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016227 "-DANDROID",
16228 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016229 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16230 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16231 "-DDCHECK_ALWAYS_ON=1",
16232 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016233 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016234 "-D_DEBUG",
16235 "-D_GNU_SOURCE",
16236 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16237 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16238 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16239 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016240 ],
16241 local_include_dirs: [
16242 "./",
16243 "buildtools/third_party/libc++/",
16244 "buildtools/third_party/libc++/trunk/include",
16245 "buildtools/third_party/libc++abi/trunk/include",
16246 "third_party/abseil-cpp/",
16247 ],
16248 cpp_std: "c++20",
16249 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016250 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016251 generated_headers: [
16252 "cronet_aml_build_chromeos_buildflags__android_arm",
16253 ],
16254 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016255 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016256 generated_headers: [
16257 "cronet_aml_build_chromeos_buildflags__android_arm64",
16258 ],
16259 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016260 android_x86: {
16261 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016262 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016263 ],
16264 generated_headers: [
16265 "cronet_aml_build_chromeos_buildflags__android_x86",
16266 ],
16267 },
16268 android_x86_64: {
16269 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016270 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016271 ],
16272 generated_headers: [
16273 "cronet_aml_build_chromeos_buildflags__android_x86_64",
16274 ],
16275 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016276 },
16277}
16278
16279// GN: //third_party/abseil-cpp/absl/random/internal:pcg_engine
16280cc_object {
16281 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pcg_engine",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016282 defaults: [
16283 "cronet_aml_defaults",
16284 ],
16285 cflags: [
16286 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016287 "-DANDROID",
16288 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016289 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16290 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16291 "-DDCHECK_ALWAYS_ON=1",
16292 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016293 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016294 "-D_DEBUG",
16295 "-D_GNU_SOURCE",
16296 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16297 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16298 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16299 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016300 ],
16301 local_include_dirs: [
16302 "./",
16303 "buildtools/third_party/libc++/",
16304 "buildtools/third_party/libc++/trunk/include",
16305 "buildtools/third_party/libc++abi/trunk/include",
16306 "third_party/abseil-cpp/",
16307 ],
16308 cpp_std: "c++20",
16309 target: {
16310 android_x86: {
16311 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016312 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016313 ],
16314 },
16315 android_x86_64: {
16316 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016317 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016318 ],
16319 },
16320 },
16321}
16322
16323// GN: //third_party/abseil-cpp/absl/random/internal:platform
16324cc_object {
16325 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_platform",
16326 srcs: [
16327 "third_party/abseil-cpp/absl/random/internal/randen_round_keys.cc",
16328 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016329 defaults: [
16330 "cronet_aml_defaults",
16331 ],
16332 cflags: [
16333 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016334 "-DANDROID",
16335 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016336 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16337 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16338 "-DDCHECK_ALWAYS_ON=1",
16339 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016340 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016341 "-D_DEBUG",
16342 "-D_GNU_SOURCE",
16343 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16344 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16345 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16346 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016347 ],
16348 local_include_dirs: [
16349 "./",
16350 "buildtools/third_party/libc++/",
16351 "buildtools/third_party/libc++/trunk/include",
16352 "buildtools/third_party/libc++abi/trunk/include",
16353 "third_party/abseil-cpp/",
16354 ],
16355 cpp_std: "c++20",
16356 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016357 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016358 generated_headers: [
16359 "cronet_aml_build_chromeos_buildflags__android_arm",
16360 ],
16361 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016362 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016363 generated_headers: [
16364 "cronet_aml_build_chromeos_buildflags__android_arm64",
16365 ],
16366 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016367 android_x86: {
16368 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016369 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016370 ],
16371 generated_headers: [
16372 "cronet_aml_build_chromeos_buildflags__android_x86",
16373 ],
16374 },
16375 android_x86_64: {
16376 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016377 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016378 ],
16379 generated_headers: [
16380 "cronet_aml_build_chromeos_buildflags__android_x86_64",
16381 ],
16382 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016383 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016384}
16385
16386// GN: //third_party/abseil-cpp/absl/random/internal:pool_urbg
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016387cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070016388 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_pool_urbg",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016389 srcs: [
16390 "third_party/abseil-cpp/absl/random/internal/pool_urbg.cc",
16391 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016392 defaults: [
16393 "cronet_aml_defaults",
16394 ],
16395 cflags: [
16396 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016397 "-DANDROID",
16398 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016399 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16400 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16401 "-DDCHECK_ALWAYS_ON=1",
16402 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016403 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016404 "-D_DEBUG",
16405 "-D_GNU_SOURCE",
16406 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16407 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16408 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16409 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016410 ],
16411 local_include_dirs: [
16412 "./",
16413 "buildtools/third_party/libc++/",
16414 "buildtools/third_party/libc++/trunk/include",
16415 "buildtools/third_party/libc++abi/trunk/include",
16416 "third_party/abseil-cpp/",
16417 ],
16418 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090016419 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016420 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016421 generated_headers: [
16422 "cronet_aml_build_chromeos_buildflags__android_arm",
16423 ],
16424 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016425 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016426 generated_headers: [
16427 "cronet_aml_build_chromeos_buildflags__android_arm64",
16428 ],
16429 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016430 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016431 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016432 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016433 ],
16434 generated_headers: [
16435 "cronet_aml_build_chromeos_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090016436 ],
16437 },
16438 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016439 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016440 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016441 ],
16442 generated_headers: [
16443 "cronet_aml_build_chromeos_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090016444 ],
16445 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016446 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016447}
16448
16449// GN: //third_party/abseil-cpp/absl/random/internal:randen
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016450cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070016451 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016452 srcs: [
16453 "third_party/abseil-cpp/absl/random/internal/randen.cc",
16454 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016455 defaults: [
16456 "cronet_aml_defaults",
16457 ],
16458 cflags: [
16459 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016460 "-DANDROID",
16461 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016462 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16463 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16464 "-DDCHECK_ALWAYS_ON=1",
16465 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016466 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016467 "-D_DEBUG",
16468 "-D_GNU_SOURCE",
16469 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16470 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16471 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16472 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016473 ],
16474 local_include_dirs: [
16475 "./",
16476 "buildtools/third_party/libc++/",
16477 "buildtools/third_party/libc++/trunk/include",
16478 "buildtools/third_party/libc++abi/trunk/include",
16479 "third_party/abseil-cpp/",
16480 ],
16481 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090016482 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016483 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016484 generated_headers: [
16485 "cronet_aml_build_chromeos_buildflags__android_arm",
16486 ],
16487 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016488 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016489 generated_headers: [
16490 "cronet_aml_build_chromeos_buildflags__android_arm64",
16491 ],
16492 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016493 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016494 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016495 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016496 ],
16497 generated_headers: [
16498 "cronet_aml_build_chromeos_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090016499 ],
16500 },
16501 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016502 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016503 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016504 ],
16505 generated_headers: [
16506 "cronet_aml_build_chromeos_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090016507 ],
16508 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016509 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016510}
16511
16512// GN: //third_party/abseil-cpp/absl/random/internal:randen_engine
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016513cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070016514 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_engine",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016515 defaults: [
16516 "cronet_aml_defaults",
16517 ],
16518 cflags: [
16519 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016520 "-DANDROID",
16521 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016522 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16523 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16524 "-DDCHECK_ALWAYS_ON=1",
16525 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016526 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016527 "-D_DEBUG",
16528 "-D_GNU_SOURCE",
16529 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16530 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16531 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16532 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016533 ],
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 ],
16541 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090016542 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016543 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016544 generated_headers: [
16545 "cronet_aml_build_chromeos_buildflags__android_arm",
16546 ],
16547 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016548 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016549 generated_headers: [
16550 "cronet_aml_build_chromeos_buildflags__android_arm64",
16551 ],
16552 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016553 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016554 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016555 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016556 ],
16557 generated_headers: [
16558 "cronet_aml_build_chromeos_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090016559 ],
16560 },
16561 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016562 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016563 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016564 ],
16565 generated_headers: [
16566 "cronet_aml_build_chromeos_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090016567 ],
16568 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016569 },
16570}
16571
16572// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes
16573cc_object {
16574 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes",
16575 srcs: [
16576 "third_party/abseil-cpp/absl/random/internal/randen_detect.cc",
16577 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016578 defaults: [
16579 "cronet_aml_defaults",
16580 ],
16581 cflags: [
16582 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016583 "-DANDROID",
16584 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016585 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16586 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16587 "-DDCHECK_ALWAYS_ON=1",
16588 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016589 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016590 "-D_DEBUG",
16591 "-D_GNU_SOURCE",
16592 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16593 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16594 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16595 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016596 ],
16597 local_include_dirs: [
16598 "./",
16599 "buildtools/third_party/libc++/",
16600 "buildtools/third_party/libc++/trunk/include",
16601 "buildtools/third_party/libc++abi/trunk/include",
16602 "third_party/abseil-cpp/",
16603 ],
16604 cpp_std: "c++20",
16605 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016606 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016607 generated_headers: [
16608 "cronet_aml_build_chromeos_buildflags__android_arm",
16609 ],
16610 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016611 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016612 generated_headers: [
16613 "cronet_aml_build_chromeos_buildflags__android_arm64",
16614 ],
16615 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016616 android_x86: {
16617 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016618 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016619 ],
16620 generated_headers: [
16621 "cronet_aml_build_chromeos_buildflags__android_x86",
16622 ],
16623 },
16624 android_x86_64: {
16625 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016626 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016627 ],
16628 generated_headers: [
16629 "cronet_aml_build_chromeos_buildflags__android_x86_64",
16630 ],
16631 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016632 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016633}
16634
16635// GN: //third_party/abseil-cpp/absl/random/internal:randen_hwaes_impl
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016636cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070016637 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_hwaes_impl",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016638 srcs: [
16639 "third_party/abseil-cpp/absl/random/internal/randen_hwaes.cc",
16640 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016641 defaults: [
16642 "cronet_aml_defaults",
16643 ],
16644 cflags: [
16645 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016646 "-DANDROID",
16647 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016648 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16649 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16650 "-DDCHECK_ALWAYS_ON=1",
16651 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016652 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016653 "-D_DEBUG",
16654 "-D_GNU_SOURCE",
16655 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16656 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16657 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16658 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016659 ],
16660 local_include_dirs: [
16661 "./",
16662 "buildtools/third_party/libc++/",
16663 "buildtools/third_party/libc++/trunk/include",
16664 "buildtools/third_party/libc++abi/trunk/include",
16665 "third_party/abseil-cpp/",
16666 ],
16667 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090016668 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016669 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016670 generated_headers: [
16671 "cronet_aml_build_chromeos_buildflags__android_arm",
16672 ],
16673 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016674 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016675 generated_headers: [
16676 "cronet_aml_build_chromeos_buildflags__android_arm64",
16677 ],
16678 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016679 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016680 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016681 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016682 ],
16683 generated_headers: [
16684 "cronet_aml_build_chromeos_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090016685 ],
16686 },
16687 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016688 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016689 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016690 ],
16691 generated_headers: [
16692 "cronet_aml_build_chromeos_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090016693 ],
16694 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016695 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016696}
16697
16698// GN: //third_party/abseil-cpp/absl/random/internal:randen_slow
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016699cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070016700 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_randen_slow",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016701 srcs: [
16702 "third_party/abseil-cpp/absl/random/internal/randen_slow.cc",
16703 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016704 defaults: [
16705 "cronet_aml_defaults",
16706 ],
16707 cflags: [
16708 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016709 "-DANDROID",
16710 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016711 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16712 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16713 "-DDCHECK_ALWAYS_ON=1",
16714 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016715 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016716 "-D_DEBUG",
16717 "-D_GNU_SOURCE",
16718 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16719 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16720 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16721 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016722 ],
16723 local_include_dirs: [
16724 "./",
16725 "buildtools/third_party/libc++/",
16726 "buildtools/third_party/libc++/trunk/include",
16727 "buildtools/third_party/libc++abi/trunk/include",
16728 "third_party/abseil-cpp/",
16729 ],
16730 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090016731 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016732 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016733 generated_headers: [
16734 "cronet_aml_build_chromeos_buildflags__android_arm",
16735 ],
16736 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016737 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090016738 generated_headers: [
16739 "cronet_aml_build_chromeos_buildflags__android_arm64",
16740 ],
16741 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016742 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016743 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016744 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016745 ],
16746 generated_headers: [
16747 "cronet_aml_build_chromeos_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090016748 ],
16749 },
16750 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016751 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016752 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016753 ],
16754 generated_headers: [
16755 "cronet_aml_build_chromeos_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090016756 ],
16757 },
Motomu Utsumi55394632022-11-18 17:44:28 +090016758 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016759}
16760
16761// GN: //third_party/abseil-cpp/absl/random/internal:salted_seed_seq
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016762cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070016763 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_salted_seed_seq",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016764 defaults: [
16765 "cronet_aml_defaults",
16766 ],
16767 cflags: [
16768 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016769 "-DANDROID",
16770 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016771 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16772 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16773 "-DDCHECK_ALWAYS_ON=1",
16774 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016775 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016776 "-D_DEBUG",
16777 "-D_GNU_SOURCE",
16778 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16779 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16780 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16781 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016782 ],
16783 local_include_dirs: [
16784 "./",
16785 "buildtools/third_party/libc++/",
16786 "buildtools/third_party/libc++/trunk/include",
16787 "buildtools/third_party/libc++abi/trunk/include",
16788 "third_party/abseil-cpp/",
16789 ],
16790 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090016791 target: {
16792 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016793 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016794 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090016795 ],
16796 },
16797 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016798 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016799 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016800 ],
16801 },
16802 },
16803}
16804
16805// GN: //third_party/abseil-cpp/absl/random/internal:seed_material
16806cc_object {
16807 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_seed_material",
16808 srcs: [
16809 "third_party/abseil-cpp/absl/random/internal/seed_material.cc",
16810 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016811 defaults: [
16812 "cronet_aml_defaults",
16813 ],
16814 cflags: [
16815 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016816 "-DANDROID",
16817 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016818 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16819 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16820 "-DDCHECK_ALWAYS_ON=1",
16821 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016822 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016823 "-D_DEBUG",
16824 "-D_GNU_SOURCE",
16825 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16826 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16827 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16828 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016829 ],
16830 local_include_dirs: [
16831 "./",
16832 "buildtools/third_party/libc++/",
16833 "buildtools/third_party/libc++/trunk/include",
16834 "buildtools/third_party/libc++abi/trunk/include",
16835 "third_party/abseil-cpp/",
16836 ],
16837 cpp_std: "c++20",
16838 target: {
16839 android_x86: {
16840 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016841 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016842 ],
16843 },
16844 android_x86_64: {
16845 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016846 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090016847 ],
16848 },
16849 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070016850}
16851
16852// GN: //third_party/abseil-cpp/absl/random/internal:traits
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016853cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070016854 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_traits",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016855 defaults: [
16856 "cronet_aml_defaults",
16857 ],
16858 cflags: [
16859 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016860 "-DANDROID",
16861 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016862 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16863 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16864 "-DDCHECK_ALWAYS_ON=1",
16865 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016866 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016867 "-D_DEBUG",
16868 "-D_GNU_SOURCE",
16869 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16870 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16871 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16872 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016873 ],
16874 local_include_dirs: [
16875 "./",
16876 "buildtools/third_party/libc++/",
16877 "buildtools/third_party/libc++/trunk/include",
16878 "buildtools/third_party/libc++abi/trunk/include",
16879 "third_party/abseil-cpp/",
16880 ],
16881 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090016882 target: {
16883 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016884 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016885 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090016886 ],
16887 },
16888 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016889 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016890 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016891 ],
16892 },
16893 },
16894}
16895
16896// GN: //third_party/abseil-cpp/absl/random/internal:uniform_helper
16897cc_object {
16898 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_uniform_helper",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016899 defaults: [
16900 "cronet_aml_defaults",
16901 ],
16902 cflags: [
16903 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016904 "-DANDROID",
16905 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016906 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16907 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16908 "-DDCHECK_ALWAYS_ON=1",
16909 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016910 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016911 "-D_DEBUG",
16912 "-D_GNU_SOURCE",
16913 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16914 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16915 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16916 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016917 ],
16918 local_include_dirs: [
16919 "./",
16920 "buildtools/third_party/libc++/",
16921 "buildtools/third_party/libc++/trunk/include",
16922 "buildtools/third_party/libc++abi/trunk/include",
16923 "third_party/abseil-cpp/",
16924 ],
16925 cpp_std: "c++20",
16926 target: {
16927 android_x86: {
16928 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016929 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016930 ],
16931 },
16932 android_x86_64: {
16933 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016934 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016935 ],
16936 },
16937 },
16938}
16939
16940// GN: //third_party/abseil-cpp/absl/random/internal:wide_multiply
16941cc_object {
16942 name: "cronet_aml_third_party_abseil_cpp_absl_random_internal_wide_multiply",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016943 defaults: [
16944 "cronet_aml_defaults",
16945 ],
16946 cflags: [
16947 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016948 "-DANDROID",
16949 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016950 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16951 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16952 "-DDCHECK_ALWAYS_ON=1",
16953 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016954 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016955 "-D_DEBUG",
16956 "-D_GNU_SOURCE",
16957 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
16958 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
16959 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
16960 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016961 ],
16962 local_include_dirs: [
16963 "./",
16964 "buildtools/third_party/libc++/",
16965 "buildtools/third_party/libc++/trunk/include",
16966 "buildtools/third_party/libc++abi/trunk/include",
16967 "third_party/abseil-cpp/",
16968 ],
16969 cpp_std: "c++20",
16970 target: {
16971 android_x86: {
16972 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016973 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016974 ],
16975 },
16976 android_x86_64: {
16977 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090016978 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016979 ],
16980 },
16981 },
16982}
16983
16984// GN: //third_party/abseil-cpp/absl/random:random
16985cc_object {
16986 name: "cronet_aml_third_party_abseil_cpp_absl_random_random",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016987 defaults: [
16988 "cronet_aml_defaults",
16989 ],
16990 cflags: [
16991 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016992 "-DANDROID",
16993 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016994 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
16995 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
16996 "-DDCHECK_ALWAYS_ON=1",
16997 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080016998 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000016999 "-D_DEBUG",
17000 "-D_GNU_SOURCE",
17001 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17002 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17003 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17004 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017005 ],
17006 local_include_dirs: [
17007 "./",
17008 "buildtools/third_party/libc++/",
17009 "buildtools/third_party/libc++/trunk/include",
17010 "buildtools/third_party/libc++abi/trunk/include",
17011 "third_party/abseil-cpp/",
17012 ],
17013 cpp_std: "c++20",
17014 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017015 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017016 generated_headers: [
17017 "cronet_aml_build_chromeos_buildflags__android_arm",
17018 ],
17019 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090017020 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090017021 generated_headers: [
17022 "cronet_aml_build_chromeos_buildflags__android_arm64",
17023 ],
17024 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017025 android_x86: {
17026 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017027 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017028 ],
17029 generated_headers: [
17030 "cronet_aml_build_chromeos_buildflags__android_x86",
17031 ],
17032 },
17033 android_x86_64: {
17034 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017035 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017036 ],
17037 generated_headers: [
17038 "cronet_aml_build_chromeos_buildflags__android_x86_64",
17039 ],
17040 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017041 },
17042}
17043
17044// GN: //third_party/abseil-cpp/absl/random:seed_gen_exception
17045cc_object {
17046 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_gen_exception",
17047 srcs: [
17048 "third_party/abseil-cpp/absl/random/seed_gen_exception.cc",
17049 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017050 defaults: [
17051 "cronet_aml_defaults",
17052 ],
17053 cflags: [
17054 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017055 "-DANDROID",
17056 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017057 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17058 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17059 "-DDCHECK_ALWAYS_ON=1",
17060 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017061 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017062 "-D_DEBUG",
17063 "-D_GNU_SOURCE",
17064 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17065 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17066 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17067 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017068 ],
17069 local_include_dirs: [
17070 "./",
17071 "buildtools/third_party/libc++/",
17072 "buildtools/third_party/libc++/trunk/include",
17073 "buildtools/third_party/libc++abi/trunk/include",
17074 "third_party/abseil-cpp/",
17075 ],
17076 cpp_std: "c++20",
17077 target: {
17078 android_x86: {
17079 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017080 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017081 ],
17082 },
17083 android_x86_64: {
17084 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017085 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017086 ],
17087 },
17088 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017089}
17090
17091// GN: //third_party/abseil-cpp/absl/random:seed_sequences
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017092cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017093 name: "cronet_aml_third_party_abseil_cpp_absl_random_seed_sequences",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017094 srcs: [
17095 "third_party/abseil-cpp/absl/random/seed_sequences.cc",
17096 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017097 defaults: [
17098 "cronet_aml_defaults",
17099 ],
17100 cflags: [
17101 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017102 "-DANDROID",
17103 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017104 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17105 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17106 "-DDCHECK_ALWAYS_ON=1",
17107 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017108 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017109 "-D_DEBUG",
17110 "-D_GNU_SOURCE",
17111 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17112 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17113 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17114 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017115 ],
17116 local_include_dirs: [
17117 "./",
17118 "buildtools/third_party/libc++/",
17119 "buildtools/third_party/libc++/trunk/include",
17120 "buildtools/third_party/libc++abi/trunk/include",
17121 "third_party/abseil-cpp/",
17122 ],
17123 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017124 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017125 android_arm: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017126 generated_headers: [
17127 "cronet_aml_build_chromeos_buildflags__android_arm",
17128 ],
17129 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090017130 android_arm64: {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090017131 generated_headers: [
17132 "cronet_aml_build_chromeos_buildflags__android_arm64",
17133 ],
17134 },
Motomu Utsumi55394632022-11-18 17:44:28 +090017135 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017136 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017137 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017138 ],
17139 generated_headers: [
17140 "cronet_aml_build_chromeos_buildflags__android_x86",
Motomu Utsumi55394632022-11-18 17:44:28 +090017141 ],
17142 },
17143 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017144 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017145 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017146 ],
17147 generated_headers: [
17148 "cronet_aml_build_chromeos_buildflags__android_x86_64",
Motomu Utsumi55394632022-11-18 17:44:28 +090017149 ],
17150 },
Motomu Utsumi55394632022-11-18 17:44:28 +090017151 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017152}
17153
17154// GN: //third_party/abseil-cpp/absl/status:status
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017155cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017156 name: "cronet_aml_third_party_abseil_cpp_absl_status_status",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017157 srcs: [
17158 "third_party/abseil-cpp/absl/status/status.cc",
17159 "third_party/abseil-cpp/absl/status/status_payload_printer.cc",
17160 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017161 defaults: [
17162 "cronet_aml_defaults",
17163 ],
17164 cflags: [
17165 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017166 "-DANDROID",
17167 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017168 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17169 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17170 "-DDCHECK_ALWAYS_ON=1",
17171 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017172 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017173 "-D_DEBUG",
17174 "-D_GNU_SOURCE",
17175 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17176 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17177 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17178 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017179 ],
17180 local_include_dirs: [
17181 "./",
17182 "buildtools/third_party/libc++/",
17183 "buildtools/third_party/libc++/trunk/include",
17184 "buildtools/third_party/libc++abi/trunk/include",
17185 "third_party/abseil-cpp/",
17186 ],
17187 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017188 target: {
17189 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017190 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017191 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017192 ],
17193 },
17194 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017195 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017196 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017197 ],
17198 },
17199 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017200}
17201
17202// GN: //third_party/abseil-cpp/absl/status:statusor
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017203cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017204 name: "cronet_aml_third_party_abseil_cpp_absl_status_statusor",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017205 srcs: [
17206 "third_party/abseil-cpp/absl/status/statusor.cc",
17207 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017208 defaults: [
17209 "cronet_aml_defaults",
17210 ],
17211 cflags: [
17212 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017213 "-DANDROID",
17214 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017215 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17216 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17217 "-DDCHECK_ALWAYS_ON=1",
17218 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017219 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017220 "-D_DEBUG",
17221 "-D_GNU_SOURCE",
17222 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17223 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17224 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17225 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017226 ],
17227 local_include_dirs: [
17228 "./",
17229 "buildtools/third_party/libc++/",
17230 "buildtools/third_party/libc++/trunk/include",
17231 "buildtools/third_party/libc++abi/trunk/include",
17232 "third_party/abseil-cpp/",
17233 ],
17234 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017235 target: {
17236 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017237 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017238 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017239 ],
17240 },
17241 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017242 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017243 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017244 ],
17245 },
17246 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017247}
17248
17249// GN: //third_party/abseil-cpp/absl/strings:cord
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017250cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017251 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017252 srcs: [
17253 "third_party/abseil-cpp/absl/strings/cord.cc",
17254 "third_party/abseil-cpp/absl/strings/cord_analysis.cc",
17255 "third_party/abseil-cpp/absl/strings/cord_buffer.cc",
17256 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017257 defaults: [
17258 "cronet_aml_defaults",
17259 ],
17260 cflags: [
17261 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017262 "-DANDROID",
17263 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017264 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17265 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17266 "-DDCHECK_ALWAYS_ON=1",
17267 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017268 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017269 "-D_DEBUG",
17270 "-D_GNU_SOURCE",
17271 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17272 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17273 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17274 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017275 ],
17276 local_include_dirs: [
17277 "./",
17278 "buildtools/third_party/libc++/",
17279 "buildtools/third_party/libc++/trunk/include",
17280 "buildtools/third_party/libc++abi/trunk/include",
17281 "third_party/abseil-cpp/",
17282 ],
17283 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017284 target: {
17285 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017286 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017287 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017288 ],
17289 },
17290 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017291 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017292 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017293 ],
17294 },
17295 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017296}
17297
17298// GN: //third_party/abseil-cpp/absl/strings:cord_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017299cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017300 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cord_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017301 srcs: [
17302 "third_party/abseil-cpp/absl/strings/internal/cord_internal.cc",
17303 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.cc",
17304 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc",
17305 "third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc",
17306 "third_party/abseil-cpp/absl/strings/internal/cord_rep_consume.cc",
17307 "third_party/abseil-cpp/absl/strings/internal/cord_rep_crc.cc",
17308 "third_party/abseil-cpp/absl/strings/internal/cord_rep_ring.cc",
17309 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017310 defaults: [
17311 "cronet_aml_defaults",
17312 ],
17313 cflags: [
17314 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017315 "-DANDROID",
17316 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017317 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17318 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17319 "-DDCHECK_ALWAYS_ON=1",
17320 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017321 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017322 "-D_DEBUG",
17323 "-D_GNU_SOURCE",
17324 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17325 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17326 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17327 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017328 ],
17329 local_include_dirs: [
17330 "./",
17331 "buildtools/third_party/libc++/",
17332 "buildtools/third_party/libc++/trunk/include",
17333 "buildtools/third_party/libc++abi/trunk/include",
17334 "third_party/abseil-cpp/",
17335 ],
17336 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017337 target: {
17338 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017339 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017340 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017341 ],
17342 },
17343 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017344 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017345 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017346 ],
17347 },
17348 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017349}
17350
17351// GN: //third_party/abseil-cpp/absl/strings:cordz_functions
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017352cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017353 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_functions",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017354 srcs: [
17355 "third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc",
17356 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017357 defaults: [
17358 "cronet_aml_defaults",
17359 ],
17360 cflags: [
17361 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017362 "-DANDROID",
17363 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017364 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17365 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17366 "-DDCHECK_ALWAYS_ON=1",
17367 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017368 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017369 "-D_DEBUG",
17370 "-D_GNU_SOURCE",
17371 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17372 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17373 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17374 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017375 ],
17376 local_include_dirs: [
17377 "./",
17378 "buildtools/third_party/libc++/",
17379 "buildtools/third_party/libc++/trunk/include",
17380 "buildtools/third_party/libc++abi/trunk/include",
17381 "third_party/abseil-cpp/",
17382 ],
17383 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017384 target: {
17385 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017386 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017387 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017388 ],
17389 },
17390 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017391 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017392 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017393 ],
17394 },
17395 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017396}
17397
17398// GN: //third_party/abseil-cpp/absl/strings:cordz_handle
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017399cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017400 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_handle",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017401 srcs: [
17402 "third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc",
17403 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017404 defaults: [
17405 "cronet_aml_defaults",
17406 ],
17407 cflags: [
17408 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017409 "-DANDROID",
17410 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017411 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17412 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17413 "-DDCHECK_ALWAYS_ON=1",
17414 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017415 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017416 "-D_DEBUG",
17417 "-D_GNU_SOURCE",
17418 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17419 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17420 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17421 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017422 ],
17423 local_include_dirs: [
17424 "./",
17425 "buildtools/third_party/libc++/",
17426 "buildtools/third_party/libc++/trunk/include",
17427 "buildtools/third_party/libc++abi/trunk/include",
17428 "third_party/abseil-cpp/",
17429 ],
17430 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017431 target: {
17432 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017433 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017434 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017435 ],
17436 },
17437 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017438 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017439 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017440 ],
17441 },
17442 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017443}
17444
17445// GN: //third_party/abseil-cpp/absl/strings:cordz_info
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017446cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017447 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_info",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017448 srcs: [
17449 "third_party/abseil-cpp/absl/strings/internal/cordz_info.cc",
17450 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017451 defaults: [
17452 "cronet_aml_defaults",
17453 ],
17454 cflags: [
17455 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017456 "-DANDROID",
17457 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017458 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17459 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17460 "-DDCHECK_ALWAYS_ON=1",
17461 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017462 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017463 "-D_DEBUG",
17464 "-D_GNU_SOURCE",
17465 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17466 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17467 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17468 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017469 ],
17470 local_include_dirs: [
17471 "./",
17472 "buildtools/third_party/libc++/",
17473 "buildtools/third_party/libc++/trunk/include",
17474 "buildtools/third_party/libc++abi/trunk/include",
17475 "third_party/abseil-cpp/",
17476 ],
17477 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017478 target: {
17479 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017480 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017481 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017482 ],
17483 },
17484 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017485 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017486 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017487 ],
17488 },
17489 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017490}
17491
17492// GN: //third_party/abseil-cpp/absl/strings:cordz_statistics
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017493cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017494 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_statistics",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017495 defaults: [
17496 "cronet_aml_defaults",
17497 ],
17498 cflags: [
17499 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017500 "-DANDROID",
17501 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017502 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17503 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17504 "-DDCHECK_ALWAYS_ON=1",
17505 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017506 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017507 "-D_DEBUG",
17508 "-D_GNU_SOURCE",
17509 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17510 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17511 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17512 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017513 ],
17514 local_include_dirs: [
17515 "./",
17516 "buildtools/third_party/libc++/",
17517 "buildtools/third_party/libc++/trunk/include",
17518 "buildtools/third_party/libc++abi/trunk/include",
17519 "third_party/abseil-cpp/",
17520 ],
17521 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017522 target: {
17523 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017524 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017525 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017526 ],
17527 },
17528 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017529 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017530 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017531 ],
17532 },
17533 },
17534}
17535
17536// GN: //third_party/abseil-cpp/absl/strings:cordz_update_scope
17537cc_object {
17538 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_scope",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017539 defaults: [
17540 "cronet_aml_defaults",
17541 ],
17542 cflags: [
17543 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017544 "-DANDROID",
17545 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017546 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17547 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17548 "-DDCHECK_ALWAYS_ON=1",
17549 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017550 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017551 "-D_DEBUG",
17552 "-D_GNU_SOURCE",
17553 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17554 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17555 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17556 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017557 ],
17558 local_include_dirs: [
17559 "./",
17560 "buildtools/third_party/libc++/",
17561 "buildtools/third_party/libc++/trunk/include",
17562 "buildtools/third_party/libc++abi/trunk/include",
17563 "third_party/abseil-cpp/",
17564 ],
17565 cpp_std: "c++20",
17566 target: {
17567 android_x86: {
17568 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017569 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017570 ],
17571 },
17572 android_x86_64: {
17573 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017574 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017575 ],
17576 },
17577 },
17578}
17579
17580// GN: //third_party/abseil-cpp/absl/strings:cordz_update_tracker
17581cc_object {
17582 name: "cronet_aml_third_party_abseil_cpp_absl_strings_cordz_update_tracker",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017583 defaults: [
17584 "cronet_aml_defaults",
17585 ],
17586 cflags: [
17587 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017588 "-DANDROID",
17589 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017590 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17591 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17592 "-DDCHECK_ALWAYS_ON=1",
17593 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017594 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017595 "-D_DEBUG",
17596 "-D_GNU_SOURCE",
17597 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17598 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17599 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17600 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017601 ],
17602 local_include_dirs: [
17603 "./",
17604 "buildtools/third_party/libc++/",
17605 "buildtools/third_party/libc++/trunk/include",
17606 "buildtools/third_party/libc++abi/trunk/include",
17607 "third_party/abseil-cpp/",
17608 ],
17609 cpp_std: "c++20",
17610 target: {
17611 android_x86: {
17612 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017613 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017614 ],
17615 },
17616 android_x86_64: {
17617 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017618 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017619 ],
17620 },
17621 },
17622}
17623
17624// GN: //third_party/abseil-cpp/absl/strings:internal
17625cc_object {
17626 name: "cronet_aml_third_party_abseil_cpp_absl_strings_internal",
17627 srcs: [
17628 "third_party/abseil-cpp/absl/strings/internal/escaping.cc",
17629 "third_party/abseil-cpp/absl/strings/internal/ostringstream.cc",
17630 "third_party/abseil-cpp/absl/strings/internal/utf8.cc",
17631 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017632 defaults: [
17633 "cronet_aml_defaults",
17634 ],
17635 cflags: [
17636 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017637 "-DANDROID",
17638 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017639 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17640 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17641 "-DDCHECK_ALWAYS_ON=1",
17642 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017643 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017644 "-D_DEBUG",
17645 "-D_GNU_SOURCE",
17646 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17647 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17648 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17649 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
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 ],
17658 cpp_std: "c++20",
17659 target: {
17660 android_x86: {
17661 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017662 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017663 ],
17664 },
17665 android_x86_64: {
17666 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017667 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017668 ],
17669 },
17670 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017671}
17672
17673// GN: //third_party/abseil-cpp/absl/strings:str_format
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017674cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017675 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017676 defaults: [
17677 "cronet_aml_defaults",
17678 ],
17679 cflags: [
17680 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017681 "-DANDROID",
17682 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017683 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17684 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17685 "-DDCHECK_ALWAYS_ON=1",
17686 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017687 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017688 "-D_DEBUG",
17689 "-D_GNU_SOURCE",
17690 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17691 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17692 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17693 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017694 ],
17695 local_include_dirs: [
17696 "./",
17697 "buildtools/third_party/libc++/",
17698 "buildtools/third_party/libc++/trunk/include",
17699 "buildtools/third_party/libc++abi/trunk/include",
17700 "third_party/abseil-cpp/",
17701 ],
17702 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017703 target: {
17704 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017705 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017706 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017707 ],
17708 },
17709 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017710 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017711 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017712 ],
17713 },
17714 },
17715}
17716
17717// GN: //third_party/abseil-cpp/absl/strings:str_format_internal
17718cc_object {
17719 name: "cronet_aml_third_party_abseil_cpp_absl_strings_str_format_internal",
17720 srcs: [
17721 "third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc",
17722 "third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc",
17723 "third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc",
17724 "third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc",
17725 "third_party/abseil-cpp/absl/strings/internal/str_format/output.cc",
17726 "third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc",
17727 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017728 defaults: [
17729 "cronet_aml_defaults",
17730 ],
17731 cflags: [
17732 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017733 "-DANDROID",
17734 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017735 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17736 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17737 "-DDCHECK_ALWAYS_ON=1",
17738 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017739 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017740 "-D_DEBUG",
17741 "-D_GNU_SOURCE",
17742 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17743 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17744 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17745 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017746 ],
17747 local_include_dirs: [
17748 "./",
17749 "buildtools/third_party/libc++/",
17750 "buildtools/third_party/libc++/trunk/include",
17751 "buildtools/third_party/libc++abi/trunk/include",
17752 "third_party/abseil-cpp/",
17753 ],
17754 cpp_std: "c++20",
17755 target: {
17756 android_x86: {
17757 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017758 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017759 ],
17760 },
17761 android_x86_64: {
17762 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017763 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017764 ],
17765 },
17766 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017767}
17768
17769// GN: //third_party/abseil-cpp/absl/strings:strings
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017770cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017771 name: "cronet_aml_third_party_abseil_cpp_absl_strings_strings",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017772 srcs: [
17773 "third_party/abseil-cpp/absl/strings/ascii.cc",
17774 "third_party/abseil-cpp/absl/strings/charconv.cc",
17775 "third_party/abseil-cpp/absl/strings/escaping.cc",
17776 "third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc",
17777 "third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc",
17778 "third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
17779 "third_party/abseil-cpp/absl/strings/internal/memutil.cc",
17780 "third_party/abseil-cpp/absl/strings/match.cc",
17781 "third_party/abseil-cpp/absl/strings/numbers.cc",
17782 "third_party/abseil-cpp/absl/strings/str_cat.cc",
17783 "third_party/abseil-cpp/absl/strings/str_replace.cc",
17784 "third_party/abseil-cpp/absl/strings/str_split.cc",
17785 "third_party/abseil-cpp/absl/strings/string_view.cc",
17786 "third_party/abseil-cpp/absl/strings/substitute.cc",
17787 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017788 defaults: [
17789 "cronet_aml_defaults",
17790 ],
17791 cflags: [
17792 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017793 "-DANDROID",
17794 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017795 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17796 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17797 "-DDCHECK_ALWAYS_ON=1",
17798 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017799 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017800 "-D_DEBUG",
17801 "-D_GNU_SOURCE",
17802 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17803 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17804 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17805 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017806 ],
17807 local_include_dirs: [
17808 "./",
17809 "buildtools/third_party/libc++/",
17810 "buildtools/third_party/libc++/trunk/include",
17811 "buildtools/third_party/libc++abi/trunk/include",
17812 "third_party/abseil-cpp/",
17813 ],
17814 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017815 target: {
17816 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017817 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017818 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017819 ],
17820 },
17821 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017822 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017823 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017824 ],
17825 },
17826 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017827}
17828
17829// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017830cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017831 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017832 srcs: [
17833 "third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc",
17834 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017835 defaults: [
17836 "cronet_aml_defaults",
17837 ],
17838 cflags: [
17839 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017840 "-DANDROID",
17841 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017842 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17843 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17844 "-DDCHECK_ALWAYS_ON=1",
17845 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017846 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017847 "-D_DEBUG",
17848 "-D_GNU_SOURCE",
17849 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17850 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17851 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17852 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017853 ],
17854 local_include_dirs: [
17855 "./",
17856 "buildtools/third_party/libc++/",
17857 "buildtools/third_party/libc++/trunk/include",
17858 "buildtools/third_party/libc++abi/trunk/include",
17859 "third_party/abseil-cpp/",
17860 ],
17861 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017862 target: {
17863 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017864 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017865 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017866 ],
17867 },
17868 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017869 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017870 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017871 ],
17872 },
17873 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017874}
17875
17876// GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017877cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017878 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017879 defaults: [
17880 "cronet_aml_defaults",
17881 ],
17882 cflags: [
17883 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017884 "-DANDROID",
17885 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017886 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17887 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17888 "-DDCHECK_ALWAYS_ON=1",
17889 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017890 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017891 "-D_DEBUG",
17892 "-D_GNU_SOURCE",
17893 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17894 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17895 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17896 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017897 ],
17898 local_include_dirs: [
17899 "./",
17900 "buildtools/third_party/libc++/",
17901 "buildtools/third_party/libc++/trunk/include",
17902 "buildtools/third_party/libc++abi/trunk/include",
17903 "third_party/abseil-cpp/",
17904 ],
17905 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090017906 target: {
17907 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017908 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017909 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017910 ],
17911 },
17912 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017913 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017914 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017915 ],
17916 },
17917 },
17918}
17919
17920// GN: //third_party/abseil-cpp/absl/synchronization:synchronization
17921cc_object {
17922 name: "cronet_aml_third_party_abseil_cpp_absl_synchronization_synchronization",
17923 srcs: [
17924 "third_party/abseil-cpp/absl/synchronization/barrier.cc",
17925 "third_party/abseil-cpp/absl/synchronization/blocking_counter.cc",
17926 "third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc",
17927 "third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc",
17928 "third_party/abseil-cpp/absl/synchronization/internal/waiter.cc",
17929 "third_party/abseil-cpp/absl/synchronization/mutex.cc",
17930 "third_party/abseil-cpp/absl/synchronization/notification.cc",
17931 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017932 defaults: [
17933 "cronet_aml_defaults",
17934 ],
17935 cflags: [
17936 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017937 "-DANDROID",
17938 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017939 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17940 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17941 "-DDCHECK_ALWAYS_ON=1",
17942 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017943 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017944 "-D_DEBUG",
17945 "-D_GNU_SOURCE",
17946 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17947 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17948 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17949 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017950 ],
17951 local_include_dirs: [
17952 "./",
17953 "buildtools/third_party/libc++/",
17954 "buildtools/third_party/libc++/trunk/include",
17955 "buildtools/third_party/libc++abi/trunk/include",
17956 "third_party/abseil-cpp/",
17957 ],
17958 cpp_std: "c++20",
17959 target: {
17960 android_x86: {
17961 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017962 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017963 ],
17964 },
17965 android_x86_64: {
17966 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090017967 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090017968 ],
17969 },
17970 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070017971}
17972
17973// GN: //third_party/abseil-cpp/absl/time/internal/cctz:civil_time
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017974cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070017975 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_civil_time",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017976 srcs: [
17977 "third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc",
17978 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017979 defaults: [
17980 "cronet_aml_defaults",
17981 ],
17982 cflags: [
17983 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017984 "-DANDROID",
17985 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017986 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
17987 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
17988 "-DDCHECK_ALWAYS_ON=1",
17989 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080017990 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017991 "-D_DEBUG",
17992 "-D_GNU_SOURCE",
17993 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
17994 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
17995 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
17996 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000017997 ],
17998 local_include_dirs: [
17999 "./",
18000 "buildtools/third_party/libc++/",
18001 "buildtools/third_party/libc++/trunk/include",
18002 "buildtools/third_party/libc++abi/trunk/include",
18003 "third_party/abseil-cpp/",
18004 ],
18005 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090018006 target: {
18007 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018008 cflags: [
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: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018014 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018015 ],
18016 },
18017 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018018}
18019
18020// GN: //third_party/abseil-cpp/absl/time/internal/cctz:time_zone
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018021cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018022 name: "cronet_aml_third_party_abseil_cpp_absl_time_internal_cctz_time_zone",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018023 srcs: [
18024 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc",
18025 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc",
18026 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc",
18027 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc",
18028 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc",
18029 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc",
18030 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc",
18031 "third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc",
18032 "third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc",
18033 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018034 defaults: [
18035 "cronet_aml_defaults",
18036 ],
18037 cflags: [
18038 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018039 "-DANDROID",
18040 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018041 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18042 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18043 "-DDCHECK_ALWAYS_ON=1",
18044 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018045 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018046 "-D_DEBUG",
18047 "-D_GNU_SOURCE",
18048 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18049 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18050 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18051 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018052 ],
18053 local_include_dirs: [
18054 "./",
18055 "buildtools/third_party/libc++/",
18056 "buildtools/third_party/libc++/trunk/include",
18057 "buildtools/third_party/libc++abi/trunk/include",
18058 "third_party/abseil-cpp/",
18059 ],
18060 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090018061 target: {
18062 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018063 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018064 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018065 ],
18066 },
18067 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018068 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018069 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018070 ],
18071 },
18072 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018073}
18074
18075// GN: //third_party/abseil-cpp/absl/time:time
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018076cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018077 name: "cronet_aml_third_party_abseil_cpp_absl_time_time",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018078 srcs: [
18079 "third_party/abseil-cpp/absl/time/civil_time.cc",
18080 "third_party/abseil-cpp/absl/time/clock.cc",
18081 "third_party/abseil-cpp/absl/time/duration.cc",
18082 "third_party/abseil-cpp/absl/time/format.cc",
18083 "third_party/abseil-cpp/absl/time/time.cc",
18084 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018085 defaults: [
18086 "cronet_aml_defaults",
18087 ],
18088 cflags: [
18089 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018090 "-DANDROID",
18091 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018092 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18093 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18094 "-DDCHECK_ALWAYS_ON=1",
18095 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018096 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018097 "-D_DEBUG",
18098 "-D_GNU_SOURCE",
18099 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18100 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18101 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18102 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018103 ],
18104 local_include_dirs: [
18105 "./",
18106 "buildtools/third_party/libc++/",
18107 "buildtools/third_party/libc++/trunk/include",
18108 "buildtools/third_party/libc++abi/trunk/include",
18109 "third_party/abseil-cpp/",
18110 ],
18111 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090018112 target: {
18113 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018114 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018115 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018116 ],
18117 },
18118 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018119 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018120 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018121 ],
18122 },
18123 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018124}
18125
18126// GN: //third_party/abseil-cpp/absl/types:bad_optional_access
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018127cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018128 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_optional_access",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018129 srcs: [
18130 "third_party/abseil-cpp/absl/types/bad_optional_access.cc",
18131 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018132 defaults: [
18133 "cronet_aml_defaults",
18134 ],
18135 cflags: [
18136 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018137 "-DANDROID",
18138 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018139 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18140 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18141 "-DDCHECK_ALWAYS_ON=1",
18142 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018143 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018144 "-D_DEBUG",
18145 "-D_GNU_SOURCE",
18146 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18147 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18148 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18149 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018150 ],
18151 local_include_dirs: [
18152 "./",
18153 "buildtools/third_party/libc++/",
18154 "buildtools/third_party/libc++/trunk/include",
18155 "buildtools/third_party/libc++abi/trunk/include",
18156 "third_party/abseil-cpp/",
18157 ],
18158 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090018159 target: {
18160 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018161 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018162 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018163 ],
18164 },
18165 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018166 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018167 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018168 ],
18169 },
18170 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018171}
18172
18173// GN: //third_party/abseil-cpp/absl/types:bad_variant_access
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018174cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018175 name: "cronet_aml_third_party_abseil_cpp_absl_types_bad_variant_access",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018176 srcs: [
18177 "third_party/abseil-cpp/absl/types/bad_variant_access.cc",
18178 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018179 defaults: [
18180 "cronet_aml_defaults",
18181 ],
18182 cflags: [
18183 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018184 "-DANDROID",
18185 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018186 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18187 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18188 "-DDCHECK_ALWAYS_ON=1",
18189 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018190 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018191 "-D_DEBUG",
18192 "-D_GNU_SOURCE",
18193 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18194 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18195 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18196 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018197 ],
18198 local_include_dirs: [
18199 "./",
18200 "buildtools/third_party/libc++/",
18201 "buildtools/third_party/libc++/trunk/include",
18202 "buildtools/third_party/libc++abi/trunk/include",
18203 "third_party/abseil-cpp/",
18204 ],
18205 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090018206 target: {
18207 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018208 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018209 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018210 ],
18211 },
18212 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018213 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018214 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090018215 ],
18216 },
18217 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018218}
18219
18220// GN: //third_party/abseil-cpp/absl/types:compare
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018221cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018222 name: "cronet_aml_third_party_abseil_cpp_absl_types_compare",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018223 defaults: [
18224 "cronet_aml_defaults",
18225 ],
18226 cflags: [
18227 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018228 "-DANDROID",
18229 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018230 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18231 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18232 "-DDCHECK_ALWAYS_ON=1",
18233 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018234 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018235 "-D_DEBUG",
18236 "-D_GNU_SOURCE",
18237 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18238 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18239 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18240 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018241 ],
18242 local_include_dirs: [
18243 "./",
18244 "buildtools/third_party/libc++/",
18245 "buildtools/third_party/libc++/trunk/include",
18246 "buildtools/third_party/libc++abi/trunk/include",
18247 "third_party/abseil-cpp/",
18248 ],
18249 cpp_std: "c++20",
18250 target: {
18251 android_x86: {
18252 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018253 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018254 ],
18255 },
18256 android_x86_64: {
18257 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018258 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018259 ],
18260 },
18261 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018262}
18263
18264// GN: //third_party/abseil-cpp/absl/types:optional
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018265cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018266 name: "cronet_aml_third_party_abseil_cpp_absl_types_optional",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018267 defaults: [
18268 "cronet_aml_defaults",
18269 ],
18270 cflags: [
18271 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018272 "-DANDROID",
18273 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018274 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18275 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18276 "-DDCHECK_ALWAYS_ON=1",
18277 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018278 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018279 "-D_DEBUG",
18280 "-D_GNU_SOURCE",
18281 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18282 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18283 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18284 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018285 ],
18286 local_include_dirs: [
18287 "./",
18288 "buildtools/third_party/libc++/",
18289 "buildtools/third_party/libc++/trunk/include",
18290 "buildtools/third_party/libc++abi/trunk/include",
18291 "third_party/abseil-cpp/",
18292 ],
18293 cpp_std: "c++20",
18294 target: {
18295 android_x86: {
18296 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018297 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018298 ],
18299 },
18300 android_x86_64: {
18301 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018302 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018303 ],
18304 },
18305 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018306}
18307
18308// GN: //third_party/abseil-cpp/absl/types:span
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018309cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018310 name: "cronet_aml_third_party_abseil_cpp_absl_types_span",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018311 defaults: [
18312 "cronet_aml_defaults",
18313 ],
18314 cflags: [
18315 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018316 "-DANDROID",
18317 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018318 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18319 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18320 "-DDCHECK_ALWAYS_ON=1",
18321 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018322 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018323 "-D_DEBUG",
18324 "-D_GNU_SOURCE",
18325 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18326 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18327 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18328 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018329 ],
18330 local_include_dirs: [
18331 "./",
18332 "buildtools/third_party/libc++/",
18333 "buildtools/third_party/libc++/trunk/include",
18334 "buildtools/third_party/libc++abi/trunk/include",
18335 "third_party/abseil-cpp/",
18336 ],
18337 cpp_std: "c++20",
18338 target: {
18339 android_x86: {
18340 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018341 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018342 ],
18343 },
18344 android_x86_64: {
18345 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018346 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018347 ],
18348 },
18349 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018350}
18351
18352// GN: //third_party/abseil-cpp/absl/types:variant
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018353cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018354 name: "cronet_aml_third_party_abseil_cpp_absl_types_variant",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018355 defaults: [
18356 "cronet_aml_defaults",
18357 ],
18358 cflags: [
18359 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018360 "-DANDROID",
18361 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018362 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18363 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18364 "-DDCHECK_ALWAYS_ON=1",
18365 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018366 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018367 "-D_DEBUG",
18368 "-D_GNU_SOURCE",
18369 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18370 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18371 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18372 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018373 ],
18374 local_include_dirs: [
18375 "./",
18376 "buildtools/third_party/libc++/",
18377 "buildtools/third_party/libc++/trunk/include",
18378 "buildtools/third_party/libc++abi/trunk/include",
18379 "third_party/abseil-cpp/",
18380 ],
18381 cpp_std: "c++20",
18382 target: {
18383 android_x86: {
18384 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018385 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018386 ],
18387 },
18388 android_x86_64: {
18389 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018390 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018391 ],
18392 },
18393 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018394}
18395
18396// GN: //third_party/abseil-cpp/absl/utility:utility
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018397cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018398 name: "cronet_aml_third_party_abseil_cpp_absl_utility_utility",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018399 defaults: [
18400 "cronet_aml_defaults",
18401 ],
18402 cflags: [
18403 "-DABSL_ALLOCATOR_NOTHROW=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018404 "-DANDROID",
18405 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018406 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18407 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18408 "-DDCHECK_ALWAYS_ON=1",
18409 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018410 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018411 "-D_DEBUG",
18412 "-D_GNU_SOURCE",
18413 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18414 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18415 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18416 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018417 ],
18418 local_include_dirs: [
18419 "./",
18420 "buildtools/third_party/libc++/",
18421 "buildtools/third_party/libc++/trunk/include",
18422 "buildtools/third_party/libc++abi/trunk/include",
18423 "third_party/abseil-cpp/",
18424 ],
18425 cpp_std: "c++20",
18426 target: {
18427 android_x86: {
18428 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018429 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018430 ],
18431 },
18432 android_x86_64: {
18433 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018434 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018435 ],
18436 },
18437 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018438}
18439
Motomu Utsumifcac4852022-10-26 19:28:31 +090018440// GN: //third_party/android_ndk:cpu_features
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018441cc_object {
Motomu Utsumifcac4852022-10-26 19:28:31 +090018442 name: "cronet_aml_third_party_android_ndk_cpu_features",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018443 srcs: [
18444 "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c",
18445 ],
18446 defaults: [
18447 "cronet_aml_defaults",
18448 ],
18449 cflags: [
18450 "-DANDROID",
18451 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18452 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18453 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18454 "-DDCHECK_ALWAYS_ON=1",
18455 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
18456 "-DHAVE_SYS_UIO_H",
18457 "-D_DEBUG",
18458 "-D_GNU_SOURCE",
18459 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18460 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18461 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18462 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018463 ],
18464 local_include_dirs: [
18465 "./",
18466 "buildtools/third_party/libc++/",
18467 "buildtools/third_party/libc++/trunk/include",
18468 "buildtools/third_party/libc++abi/trunk/include",
18469 "third_party/android_ndk/sources/android/cpufeatures/",
18470 ],
18471 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018472 target: {
18473 android_x86: {
18474 cflags: [
18475 "-msse3",
18476 ],
18477 },
18478 android_x86_64: {
18479 cflags: [
18480 "-msse3",
18481 ],
18482 },
18483 },
Motomu Utsumifcac4852022-10-26 19:28:31 +090018484}
18485
Patrick Rohrcc377df2022-10-28 09:27:15 -070018486// GN: //third_party/ashmem:ashmem
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018487cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070018488 name: "cronet_aml_third_party_ashmem_ashmem",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018489 srcs: [
18490 "third_party/ashmem/ashmem-dev.c",
18491 ],
18492 defaults: [
18493 "cronet_aml_defaults",
18494 ],
18495 cflags: [
18496 "-DANDROID",
18497 "-DANDROID_NDK_VERSION_ROLL=r23_1",
18498 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18499 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18500 "-DDCHECK_ALWAYS_ON=1",
18501 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
18502 "-DHAVE_SYS_UIO_H",
18503 "-D_DEBUG",
18504 "-D_GNU_SOURCE",
18505 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18506 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18507 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18508 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18509 "-D__STDC_CONSTANT_MACROS",
18510 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018511 ],
18512 local_include_dirs: [
18513 "./",
18514 "buildtools/third_party/libc++/",
18515 "buildtools/third_party/libc++/trunk/include",
18516 "buildtools/third_party/libc++abi/trunk/include",
18517 ],
18518 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018519 target: {
18520 android_x86: {
18521 cflags: [
18522 "-msse3",
18523 ],
18524 },
18525 android_x86_64: {
18526 cflags: [
18527 "-msse3",
18528 ],
18529 },
18530 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070018531}
18532
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018533// GN: //third_party/boringssl:boringssl
18534cc_library_static {
18535 name: "cronet_aml_third_party_boringssl_boringssl",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +090018536 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018537 ":cronet_aml_third_party_boringssl_boringssl_asm",
Motomu Utsumi4b14ffc2022-11-17 19:44:35 +090018538 "third_party/boringssl/err_data.c",
18539 "third_party/boringssl/src/crypto/asn1/a_bitstr.c",
18540 "third_party/boringssl/src/crypto/asn1/a_bool.c",
18541 "third_party/boringssl/src/crypto/asn1/a_d2i_fp.c",
18542 "third_party/boringssl/src/crypto/asn1/a_dup.c",
18543 "third_party/boringssl/src/crypto/asn1/a_gentm.c",
18544 "third_party/boringssl/src/crypto/asn1/a_i2d_fp.c",
18545 "third_party/boringssl/src/crypto/asn1/a_int.c",
18546 "third_party/boringssl/src/crypto/asn1/a_mbstr.c",
18547 "third_party/boringssl/src/crypto/asn1/a_object.c",
18548 "third_party/boringssl/src/crypto/asn1/a_octet.c",
18549 "third_party/boringssl/src/crypto/asn1/a_print.c",
18550 "third_party/boringssl/src/crypto/asn1/a_strex.c",
18551 "third_party/boringssl/src/crypto/asn1/a_strnid.c",
18552 "third_party/boringssl/src/crypto/asn1/a_time.c",
18553 "third_party/boringssl/src/crypto/asn1/a_type.c",
18554 "third_party/boringssl/src/crypto/asn1/a_utctm.c",
18555 "third_party/boringssl/src/crypto/asn1/a_utf8.c",
18556 "third_party/boringssl/src/crypto/asn1/asn1_lib.c",
18557 "third_party/boringssl/src/crypto/asn1/asn1_par.c",
18558 "third_party/boringssl/src/crypto/asn1/asn_pack.c",
18559 "third_party/boringssl/src/crypto/asn1/f_int.c",
18560 "third_party/boringssl/src/crypto/asn1/f_string.c",
18561 "third_party/boringssl/src/crypto/asn1/posix_time.c",
18562 "third_party/boringssl/src/crypto/asn1/tasn_dec.c",
18563 "third_party/boringssl/src/crypto/asn1/tasn_enc.c",
18564 "third_party/boringssl/src/crypto/asn1/tasn_fre.c",
18565 "third_party/boringssl/src/crypto/asn1/tasn_new.c",
18566 "third_party/boringssl/src/crypto/asn1/tasn_typ.c",
18567 "third_party/boringssl/src/crypto/asn1/tasn_utl.c",
18568 "third_party/boringssl/src/crypto/base64/base64.c",
18569 "third_party/boringssl/src/crypto/bio/bio.c",
18570 "third_party/boringssl/src/crypto/bio/bio_mem.c",
18571 "third_party/boringssl/src/crypto/bio/connect.c",
18572 "third_party/boringssl/src/crypto/bio/fd.c",
18573 "third_party/boringssl/src/crypto/bio/file.c",
18574 "third_party/boringssl/src/crypto/bio/hexdump.c",
18575 "third_party/boringssl/src/crypto/bio/pair.c",
18576 "third_party/boringssl/src/crypto/bio/printf.c",
18577 "third_party/boringssl/src/crypto/bio/socket.c",
18578 "third_party/boringssl/src/crypto/bio/socket_helper.c",
18579 "third_party/boringssl/src/crypto/blake2/blake2.c",
18580 "third_party/boringssl/src/crypto/bn_extra/bn_asn1.c",
18581 "third_party/boringssl/src/crypto/bn_extra/convert.c",
18582 "third_party/boringssl/src/crypto/buf/buf.c",
18583 "third_party/boringssl/src/crypto/bytestring/asn1_compat.c",
18584 "third_party/boringssl/src/crypto/bytestring/ber.c",
18585 "third_party/boringssl/src/crypto/bytestring/cbb.c",
18586 "third_party/boringssl/src/crypto/bytestring/cbs.c",
18587 "third_party/boringssl/src/crypto/bytestring/unicode.c",
18588 "third_party/boringssl/src/crypto/chacha/chacha.c",
18589 "third_party/boringssl/src/crypto/cipher_extra/cipher_extra.c",
18590 "third_party/boringssl/src/crypto/cipher_extra/derive_key.c",
18591 "third_party/boringssl/src/crypto/cipher_extra/e_aesctrhmac.c",
18592 "third_party/boringssl/src/crypto/cipher_extra/e_aesgcmsiv.c",
18593 "third_party/boringssl/src/crypto/cipher_extra/e_chacha20poly1305.c",
18594 "third_party/boringssl/src/crypto/cipher_extra/e_des.c",
18595 "third_party/boringssl/src/crypto/cipher_extra/e_null.c",
18596 "third_party/boringssl/src/crypto/cipher_extra/e_rc2.c",
18597 "third_party/boringssl/src/crypto/cipher_extra/e_rc4.c",
18598 "third_party/boringssl/src/crypto/cipher_extra/e_tls.c",
18599 "third_party/boringssl/src/crypto/cipher_extra/tls_cbc.c",
18600 "third_party/boringssl/src/crypto/conf/conf.c",
18601 "third_party/boringssl/src/crypto/cpu_aarch64_apple.c",
18602 "third_party/boringssl/src/crypto/cpu_aarch64_fuchsia.c",
18603 "third_party/boringssl/src/crypto/cpu_aarch64_linux.c",
18604 "third_party/boringssl/src/crypto/cpu_aarch64_win.c",
18605 "third_party/boringssl/src/crypto/cpu_arm.c",
18606 "third_party/boringssl/src/crypto/cpu_arm_linux.c",
18607 "third_party/boringssl/src/crypto/cpu_intel.c",
18608 "third_party/boringssl/src/crypto/cpu_ppc64le.c",
18609 "third_party/boringssl/src/crypto/crypto.c",
18610 "third_party/boringssl/src/crypto/curve25519/curve25519.c",
18611 "third_party/boringssl/src/crypto/curve25519/spake25519.c",
18612 "third_party/boringssl/src/crypto/des/des.c",
18613 "third_party/boringssl/src/crypto/dh_extra/dh_asn1.c",
18614 "third_party/boringssl/src/crypto/dh_extra/params.c",
18615 "third_party/boringssl/src/crypto/digest_extra/digest_extra.c",
18616 "third_party/boringssl/src/crypto/dsa/dsa.c",
18617 "third_party/boringssl/src/crypto/dsa/dsa_asn1.c",
18618 "third_party/boringssl/src/crypto/ec_extra/ec_asn1.c",
18619 "third_party/boringssl/src/crypto/ec_extra/ec_derive.c",
18620 "third_party/boringssl/src/crypto/ec_extra/hash_to_curve.c",
18621 "third_party/boringssl/src/crypto/ecdh_extra/ecdh_extra.c",
18622 "third_party/boringssl/src/crypto/ecdsa_extra/ecdsa_asn1.c",
18623 "third_party/boringssl/src/crypto/engine/engine.c",
18624 "third_party/boringssl/src/crypto/err/err.c",
18625 "third_party/boringssl/src/crypto/evp/evp.c",
18626 "third_party/boringssl/src/crypto/evp/evp_asn1.c",
18627 "third_party/boringssl/src/crypto/evp/evp_ctx.c",
18628 "third_party/boringssl/src/crypto/evp/p_dsa_asn1.c",
18629 "third_party/boringssl/src/crypto/evp/p_ec.c",
18630 "third_party/boringssl/src/crypto/evp/p_ec_asn1.c",
18631 "third_party/boringssl/src/crypto/evp/p_ed25519.c",
18632 "third_party/boringssl/src/crypto/evp/p_ed25519_asn1.c",
18633 "third_party/boringssl/src/crypto/evp/p_hkdf.c",
18634 "third_party/boringssl/src/crypto/evp/p_rsa.c",
18635 "third_party/boringssl/src/crypto/evp/p_rsa_asn1.c",
18636 "third_party/boringssl/src/crypto/evp/p_x25519.c",
18637 "third_party/boringssl/src/crypto/evp/p_x25519_asn1.c",
18638 "third_party/boringssl/src/crypto/evp/pbkdf.c",
18639 "third_party/boringssl/src/crypto/evp/print.c",
18640 "third_party/boringssl/src/crypto/evp/scrypt.c",
18641 "third_party/boringssl/src/crypto/evp/sign.c",
18642 "third_party/boringssl/src/crypto/ex_data.c",
18643 "third_party/boringssl/src/crypto/fipsmodule/bcm.c",
18644 "third_party/boringssl/src/crypto/fipsmodule/fips_shared_support.c",
18645 "third_party/boringssl/src/crypto/hkdf/hkdf.c",
18646 "third_party/boringssl/src/crypto/hpke/hpke.c",
18647 "third_party/boringssl/src/crypto/hrss/hrss.c",
18648 "third_party/boringssl/src/crypto/lhash/lhash.c",
18649 "third_party/boringssl/src/crypto/mem.c",
18650 "third_party/boringssl/src/crypto/obj/obj.c",
18651 "third_party/boringssl/src/crypto/obj/obj_xref.c",
18652 "third_party/boringssl/src/crypto/pem/pem_all.c",
18653 "third_party/boringssl/src/crypto/pem/pem_info.c",
18654 "third_party/boringssl/src/crypto/pem/pem_lib.c",
18655 "third_party/boringssl/src/crypto/pem/pem_oth.c",
18656 "third_party/boringssl/src/crypto/pem/pem_pk8.c",
18657 "third_party/boringssl/src/crypto/pem/pem_pkey.c",
18658 "third_party/boringssl/src/crypto/pem/pem_x509.c",
18659 "third_party/boringssl/src/crypto/pem/pem_xaux.c",
18660 "third_party/boringssl/src/crypto/pkcs7/pkcs7.c",
18661 "third_party/boringssl/src/crypto/pkcs7/pkcs7_x509.c",
18662 "third_party/boringssl/src/crypto/pkcs8/p5_pbev2.c",
18663 "third_party/boringssl/src/crypto/pkcs8/pkcs8.c",
18664 "third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c",
18665 "third_party/boringssl/src/crypto/poly1305/poly1305.c",
18666 "third_party/boringssl/src/crypto/poly1305/poly1305_arm.c",
18667 "third_party/boringssl/src/crypto/poly1305/poly1305_vec.c",
18668 "third_party/boringssl/src/crypto/pool/pool.c",
18669 "third_party/boringssl/src/crypto/rand_extra/deterministic.c",
18670 "third_party/boringssl/src/crypto/rand_extra/forkunsafe.c",
18671 "third_party/boringssl/src/crypto/rand_extra/fuchsia.c",
18672 "third_party/boringssl/src/crypto/rand_extra/passive.c",
18673 "third_party/boringssl/src/crypto/rand_extra/rand_extra.c",
18674 "third_party/boringssl/src/crypto/rand_extra/windows.c",
18675 "third_party/boringssl/src/crypto/rc4/rc4.c",
18676 "third_party/boringssl/src/crypto/refcount_c11.c",
18677 "third_party/boringssl/src/crypto/refcount_lock.c",
18678 "third_party/boringssl/src/crypto/rsa_extra/rsa_asn1.c",
18679 "third_party/boringssl/src/crypto/rsa_extra/rsa_print.c",
18680 "third_party/boringssl/src/crypto/siphash/siphash.c",
18681 "third_party/boringssl/src/crypto/stack/stack.c",
18682 "third_party/boringssl/src/crypto/thread.c",
18683 "third_party/boringssl/src/crypto/thread_none.c",
18684 "third_party/boringssl/src/crypto/thread_pthread.c",
18685 "third_party/boringssl/src/crypto/thread_win.c",
18686 "third_party/boringssl/src/crypto/trust_token/pmbtoken.c",
18687 "third_party/boringssl/src/crypto/trust_token/trust_token.c",
18688 "third_party/boringssl/src/crypto/trust_token/voprf.c",
18689 "third_party/boringssl/src/crypto/x509/a_digest.c",
18690 "third_party/boringssl/src/crypto/x509/a_sign.c",
18691 "third_party/boringssl/src/crypto/x509/a_verify.c",
18692 "third_party/boringssl/src/crypto/x509/algorithm.c",
18693 "third_party/boringssl/src/crypto/x509/asn1_gen.c",
18694 "third_party/boringssl/src/crypto/x509/by_dir.c",
18695 "third_party/boringssl/src/crypto/x509/by_file.c",
18696 "third_party/boringssl/src/crypto/x509/i2d_pr.c",
18697 "third_party/boringssl/src/crypto/x509/name_print.c",
18698 "third_party/boringssl/src/crypto/x509/rsa_pss.c",
18699 "third_party/boringssl/src/crypto/x509/t_crl.c",
18700 "third_party/boringssl/src/crypto/x509/t_req.c",
18701 "third_party/boringssl/src/crypto/x509/t_x509.c",
18702 "third_party/boringssl/src/crypto/x509/t_x509a.c",
18703 "third_party/boringssl/src/crypto/x509/x509.c",
18704 "third_party/boringssl/src/crypto/x509/x509_att.c",
18705 "third_party/boringssl/src/crypto/x509/x509_cmp.c",
18706 "third_party/boringssl/src/crypto/x509/x509_d2.c",
18707 "third_party/boringssl/src/crypto/x509/x509_def.c",
18708 "third_party/boringssl/src/crypto/x509/x509_ext.c",
18709 "third_party/boringssl/src/crypto/x509/x509_lu.c",
18710 "third_party/boringssl/src/crypto/x509/x509_obj.c",
18711 "third_party/boringssl/src/crypto/x509/x509_req.c",
18712 "third_party/boringssl/src/crypto/x509/x509_set.c",
18713 "third_party/boringssl/src/crypto/x509/x509_trs.c",
18714 "third_party/boringssl/src/crypto/x509/x509_txt.c",
18715 "third_party/boringssl/src/crypto/x509/x509_v3.c",
18716 "third_party/boringssl/src/crypto/x509/x509_vfy.c",
18717 "third_party/boringssl/src/crypto/x509/x509_vpm.c",
18718 "third_party/boringssl/src/crypto/x509/x509cset.c",
18719 "third_party/boringssl/src/crypto/x509/x509name.c",
18720 "third_party/boringssl/src/crypto/x509/x509rset.c",
18721 "third_party/boringssl/src/crypto/x509/x509spki.c",
18722 "third_party/boringssl/src/crypto/x509/x_algor.c",
18723 "third_party/boringssl/src/crypto/x509/x_all.c",
18724 "third_party/boringssl/src/crypto/x509/x_attrib.c",
18725 "third_party/boringssl/src/crypto/x509/x_crl.c",
18726 "third_party/boringssl/src/crypto/x509/x_exten.c",
18727 "third_party/boringssl/src/crypto/x509/x_info.c",
18728 "third_party/boringssl/src/crypto/x509/x_name.c",
18729 "third_party/boringssl/src/crypto/x509/x_pkey.c",
18730 "third_party/boringssl/src/crypto/x509/x_pubkey.c",
18731 "third_party/boringssl/src/crypto/x509/x_req.c",
18732 "third_party/boringssl/src/crypto/x509/x_sig.c",
18733 "third_party/boringssl/src/crypto/x509/x_spki.c",
18734 "third_party/boringssl/src/crypto/x509/x_val.c",
18735 "third_party/boringssl/src/crypto/x509/x_x509.c",
18736 "third_party/boringssl/src/crypto/x509/x_x509a.c",
18737 "third_party/boringssl/src/crypto/x509v3/pcy_cache.c",
18738 "third_party/boringssl/src/crypto/x509v3/pcy_data.c",
18739 "third_party/boringssl/src/crypto/x509v3/pcy_map.c",
18740 "third_party/boringssl/src/crypto/x509v3/pcy_node.c",
18741 "third_party/boringssl/src/crypto/x509v3/pcy_tree.c",
18742 "third_party/boringssl/src/crypto/x509v3/v3_akey.c",
18743 "third_party/boringssl/src/crypto/x509v3/v3_akeya.c",
18744 "third_party/boringssl/src/crypto/x509v3/v3_alt.c",
18745 "third_party/boringssl/src/crypto/x509v3/v3_bcons.c",
18746 "third_party/boringssl/src/crypto/x509v3/v3_bitst.c",
18747 "third_party/boringssl/src/crypto/x509v3/v3_conf.c",
18748 "third_party/boringssl/src/crypto/x509v3/v3_cpols.c",
18749 "third_party/boringssl/src/crypto/x509v3/v3_crld.c",
18750 "third_party/boringssl/src/crypto/x509v3/v3_enum.c",
18751 "third_party/boringssl/src/crypto/x509v3/v3_extku.c",
18752 "third_party/boringssl/src/crypto/x509v3/v3_genn.c",
18753 "third_party/boringssl/src/crypto/x509v3/v3_ia5.c",
18754 "third_party/boringssl/src/crypto/x509v3/v3_info.c",
18755 "third_party/boringssl/src/crypto/x509v3/v3_int.c",
18756 "third_party/boringssl/src/crypto/x509v3/v3_lib.c",
18757 "third_party/boringssl/src/crypto/x509v3/v3_ncons.c",
18758 "third_party/boringssl/src/crypto/x509v3/v3_ocsp.c",
18759 "third_party/boringssl/src/crypto/x509v3/v3_pci.c",
18760 "third_party/boringssl/src/crypto/x509v3/v3_pcia.c",
18761 "third_party/boringssl/src/crypto/x509v3/v3_pcons.c",
18762 "third_party/boringssl/src/crypto/x509v3/v3_pmaps.c",
18763 "third_party/boringssl/src/crypto/x509v3/v3_prn.c",
18764 "third_party/boringssl/src/crypto/x509v3/v3_purp.c",
18765 "third_party/boringssl/src/crypto/x509v3/v3_skey.c",
18766 "third_party/boringssl/src/crypto/x509v3/v3_utl.c",
18767 "third_party/boringssl/src/ssl/bio_ssl.cc",
18768 "third_party/boringssl/src/ssl/d1_both.cc",
18769 "third_party/boringssl/src/ssl/d1_lib.cc",
18770 "third_party/boringssl/src/ssl/d1_pkt.cc",
18771 "third_party/boringssl/src/ssl/d1_srtp.cc",
18772 "third_party/boringssl/src/ssl/dtls_method.cc",
18773 "third_party/boringssl/src/ssl/dtls_record.cc",
18774 "third_party/boringssl/src/ssl/encrypted_client_hello.cc",
18775 "third_party/boringssl/src/ssl/extensions.cc",
18776 "third_party/boringssl/src/ssl/handoff.cc",
18777 "third_party/boringssl/src/ssl/handshake.cc",
18778 "third_party/boringssl/src/ssl/handshake_client.cc",
18779 "third_party/boringssl/src/ssl/handshake_server.cc",
18780 "third_party/boringssl/src/ssl/s3_both.cc",
18781 "third_party/boringssl/src/ssl/s3_lib.cc",
18782 "third_party/boringssl/src/ssl/s3_pkt.cc",
18783 "third_party/boringssl/src/ssl/ssl_aead_ctx.cc",
18784 "third_party/boringssl/src/ssl/ssl_asn1.cc",
18785 "third_party/boringssl/src/ssl/ssl_buffer.cc",
18786 "third_party/boringssl/src/ssl/ssl_cert.cc",
18787 "third_party/boringssl/src/ssl/ssl_cipher.cc",
18788 "third_party/boringssl/src/ssl/ssl_file.cc",
18789 "third_party/boringssl/src/ssl/ssl_key_share.cc",
18790 "third_party/boringssl/src/ssl/ssl_lib.cc",
18791 "third_party/boringssl/src/ssl/ssl_privkey.cc",
18792 "third_party/boringssl/src/ssl/ssl_session.cc",
18793 "third_party/boringssl/src/ssl/ssl_stat.cc",
18794 "third_party/boringssl/src/ssl/ssl_transcript.cc",
18795 "third_party/boringssl/src/ssl/ssl_versions.cc",
18796 "third_party/boringssl/src/ssl/ssl_x509.cc",
18797 "third_party/boringssl/src/ssl/t1_enc.cc",
18798 "third_party/boringssl/src/ssl/tls13_both.cc",
18799 "third_party/boringssl/src/ssl/tls13_client.cc",
18800 "third_party/boringssl/src/ssl/tls13_enc.cc",
18801 "third_party/boringssl/src/ssl/tls13_server.cc",
18802 "third_party/boringssl/src/ssl/tls_method.cc",
18803 "third_party/boringssl/src/ssl/tls_record.cc",
18804 ],
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018805 defaults: [
18806 "cronet_aml_defaults",
18807 ],
18808 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018809 "-DANDROID",
18810 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018811 "-DBORINGSSL_ALLOW_CXX_RUNTIME",
18812 "-DBORINGSSL_IMPLEMENTATION",
18813 "-DBORINGSSL_NO_STATIC_INITIALIZER",
18814 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18815 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18816 "-DDCHECK_ALWAYS_ON=1",
18817 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018818 "-DHAVE_SYS_UIO_H",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018819 "-DOPENSSL_SMALL",
18820 "-D_DEBUG",
18821 "-D_GNU_SOURCE",
18822 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18823 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18824 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18825 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018826 ],
18827 local_include_dirs: [
18828 "./",
18829 "buildtools/third_party/libc++/",
18830 "buildtools/third_party/libc++/trunk/include",
18831 "buildtools/third_party/libc++abi/trunk/include",
18832 "third_party/boringssl/src/include/",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018833 ],
18834 cpp_std: "c++20",
Motomu Utsumif0f47682022-11-17 22:34:39 +090018835 target: {
Motomu Utsumi65501182022-11-18 15:26:35 +090018836 android_x86: {
18837 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018838 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090018839 ],
18840 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090018841 android_x86_64: {
18842 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018843 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090018844 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090018845 },
18846 },
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018847}
18848
18849// GN: //third_party/boringssl:boringssl_asm
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018850cc_object {
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018851 name: "cronet_aml_third_party_boringssl_boringssl_asm",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018852 defaults: [
18853 "cronet_aml_defaults",
18854 ],
18855 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018856 "-DANDROID",
18857 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018858 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18859 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18860 "-DDCHECK_ALWAYS_ON=1",
18861 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018862 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018863 "-D_DEBUG",
18864 "-D_GNU_SOURCE",
18865 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18866 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18867 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18868 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18869 "-D__STDC_CONSTANT_MACROS",
18870 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018871 ],
18872 local_include_dirs: [
18873 "./",
18874 "buildtools/third_party/libc++/",
18875 "buildtools/third_party/libc++/trunk/include",
18876 "buildtools/third_party/libc++abi/trunk/include",
18877 "third_party/boringssl/src/include/",
18878 ],
18879 cpp_std: "c++20",
Motomu Utsumi65501182022-11-18 15:26:35 +090018880 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018881 android_arm: {
18882 srcs: [
18883 "third_party/boringssl/linux-arm/crypto/chacha/chacha-armv4.S",
18884 "third_party/boringssl/linux-arm/crypto/fipsmodule/aesv8-armx32.S",
18885 "third_party/boringssl/linux-arm/crypto/fipsmodule/armv4-mont.S",
18886 "third_party/boringssl/linux-arm/crypto/fipsmodule/bsaes-armv7.S",
18887 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghash-armv4.S",
18888 "third_party/boringssl/linux-arm/crypto/fipsmodule/ghashv8-armx32.S",
18889 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha1-armv4-large.S",
18890 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha256-armv4.S",
18891 "third_party/boringssl/linux-arm/crypto/fipsmodule/sha512-armv4.S",
18892 "third_party/boringssl/linux-arm/crypto/fipsmodule/vpaes-armv7.S",
18893 "third_party/boringssl/linux-arm/crypto/test/trampoline-armv4.S",
18894 "third_party/boringssl/src/crypto/curve25519/asm/x25519-asm-arm.S",
18895 "third_party/boringssl/src/crypto/poly1305/poly1305_arm_asm.S",
18896 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018897 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090018898 android_arm64: {
18899 srcs: [
18900 "third_party/boringssl/linux-aarch64/crypto/chacha/chacha-armv8.S",
18901 "third_party/boringssl/linux-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S",
18902 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/aesv8-armx64.S",
18903 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/armv8-mont.S",
18904 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghash-neon-armv8.S",
18905 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/ghashv8-armx64.S",
18906 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256-armv8-asm.S",
18907 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S",
18908 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha1-armv8.S",
18909 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha256-armv8.S",
18910 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/sha512-armv8.S",
18911 "third_party/boringssl/linux-aarch64/crypto/fipsmodule/vpaes-armv8.S",
18912 "third_party/boringssl/linux-aarch64/crypto/test/trampoline-armv8.S",
18913 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090018914 },
Motomu Utsumi65501182022-11-18 15:26:35 +090018915 android_x86: {
18916 srcs: [
18917 "third_party/boringssl/linux-x86/crypto/chacha/chacha-x86.S",
18918 "third_party/boringssl/linux-x86/crypto/fipsmodule/aesni-x86.S",
18919 "third_party/boringssl/linux-x86/crypto/fipsmodule/bn-586.S",
18920 "third_party/boringssl/linux-x86/crypto/fipsmodule/co-586.S",
18921 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-ssse3-x86.S",
18922 "third_party/boringssl/linux-x86/crypto/fipsmodule/ghash-x86.S",
18923 "third_party/boringssl/linux-x86/crypto/fipsmodule/md5-586.S",
18924 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha1-586.S",
18925 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha256-586.S",
18926 "third_party/boringssl/linux-x86/crypto/fipsmodule/sha512-586.S",
18927 "third_party/boringssl/linux-x86/crypto/fipsmodule/vpaes-x86.S",
18928 "third_party/boringssl/linux-x86/crypto/fipsmodule/x86-mont.S",
18929 "third_party/boringssl/linux-x86/crypto/test/trampoline-x86.S",
18930 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018931 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018932 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018933 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090018934 },
18935 android_x86_64: {
18936 srcs: [
18937 "third_party/boringssl/linux-x86_64/crypto/chacha/chacha-x86_64.S",
18938 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S",
18939 "third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S",
18940 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S",
18941 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S",
18942 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S",
18943 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S",
18944 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/md5-x86_64.S",
18945 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S",
18946 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S",
18947 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S",
18948 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S",
18949 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S",
18950 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S",
18951 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S",
18952 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S",
18953 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont.S",
18954 "third_party/boringssl/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S",
18955 "third_party/boringssl/linux-x86_64/crypto/test/trampoline-x86_64.S",
18956 "third_party/boringssl/src/crypto/hrss/asm/poly_rq_mul.S",
18957 ],
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018958 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018959 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018960 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090018961 },
18962 },
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018963}
18964
18965// GN: //third_party/boringssl/src/third_party/fiat:fiat_license
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018966cc_object {
Motomu Utsumib568c6d2022-11-14 15:28:22 +090018967 name: "cronet_aml_third_party_boringssl_src_third_party_fiat_fiat_license",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018968 defaults: [
18969 "cronet_aml_defaults",
18970 ],
18971 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018972 "-DANDROID",
18973 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018974 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
18975 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
18976 "-DDCHECK_ALWAYS_ON=1",
18977 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080018978 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018979 "-D_DEBUG",
18980 "-D_GNU_SOURCE",
18981 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
18982 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
18983 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
18984 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
18985 "-D__STDC_CONSTANT_MACROS",
18986 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018987 ],
18988 local_include_dirs: [
18989 "./",
18990 "buildtools/third_party/libc++/",
18991 "buildtools/third_party/libc++/trunk/include",
18992 "buildtools/third_party/libc++abi/trunk/include",
18993 ],
18994 cpp_std: "c++20",
18995 target: {
18996 android_x86: {
18997 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090018998 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000018999 ],
19000 },
19001 android_x86_64: {
19002 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019003 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019004 ],
19005 },
19006 },
Motomu Utsumib568c6d2022-11-14 15:28:22 +090019007}
19008
Patrick Rohrcb035942022-11-01 12:12:52 -070019009// GN: //third_party/brotli:common
19010cc_library_static {
19011 name: "cronet_aml_third_party_brotli_common",
19012 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070019013 "third_party/brotli/common/constants.c",
19014 "third_party/brotli/common/context.c",
19015 "third_party/brotli/common/dictionary.c",
19016 "third_party/brotli/common/platform.c",
19017 "third_party/brotli/common/shared_dictionary.c",
19018 "third_party/brotli/common/transform.c",
19019 ],
19020 defaults: [
19021 "cronet_aml_defaults",
19022 ],
19023 cflags: [
19024 "-DANDROID",
19025 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19026 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
19027 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
19028 "-DDCHECK_ALWAYS_ON=1",
19029 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
19030 "-DHAVE_SYS_UIO_H",
19031 "-D_DEBUG",
19032 "-D_GNU_SOURCE",
19033 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
19034 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19035 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
19036 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19037 "-D__STDC_CONSTANT_MACROS",
19038 "-D__STDC_FORMAT_MACROS",
19039 ],
19040 local_include_dirs: [
19041 "./",
19042 "buildtools/third_party/libc++/",
19043 "buildtools/third_party/libc++/trunk/include",
19044 "buildtools/third_party/libc++abi/trunk/include",
19045 "third_party/brotli/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070019046 ],
19047 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019048 target: {
19049 android_x86: {
19050 cflags: [
19051 "-msse3",
19052 ],
19053 },
19054 android_x86_64: {
19055 cflags: [
19056 "-msse3",
19057 ],
19058 },
19059 },
Patrick Rohrcb035942022-11-01 12:12:52 -070019060}
19061
19062// GN: //third_party/brotli:dec
19063cc_library_static {
19064 name: "cronet_aml_third_party_brotli_dec",
19065 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070019066 "third_party/brotli/dec/bit_reader.c",
19067 "third_party/brotli/dec/decode.c",
19068 "third_party/brotli/dec/huffman.c",
19069 "third_party/brotli/dec/state.c",
19070 ],
19071 static_libs: [
19072 "cronet_aml_third_party_brotli_common",
19073 ],
19074 defaults: [
19075 "cronet_aml_defaults",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019076 ],
19077 cflags: [
19078 "-DANDROID",
19079 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19080 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
19081 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
19082 "-DDCHECK_ALWAYS_ON=1",
19083 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
19084 "-DHAVE_SYS_UIO_H",
19085 "-D_DEBUG",
19086 "-D_GNU_SOURCE",
19087 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
19088 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19089 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
19090 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019091 ],
19092 local_include_dirs: [
19093 "./",
19094 "buildtools/third_party/libc++/",
19095 "buildtools/third_party/libc++/trunk/include",
19096 "buildtools/third_party/libc++abi/trunk/include",
19097 "third_party/brotli/include/",
19098 ],
19099 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019100 target: {
19101 android_x86: {
19102 cflags: [
19103 "-msse3",
19104 ],
19105 },
19106 android_x86_64: {
19107 cflags: [
19108 "-msse3",
19109 ],
19110 },
19111 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019112}
19113
19114// GN: //third_party/brotli:headers
19115cc_object {
19116 name: "cronet_aml_third_party_brotli_headers",
19117 defaults: [
19118 "cronet_aml_defaults",
Patrick Rohrcb035942022-11-01 12:12:52 -070019119 ],
19120 cflags: [
19121 "-DANDROID",
19122 "-DANDROID_NDK_VERSION_ROLL=r23_1",
19123 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
19124 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
19125 "-DDCHECK_ALWAYS_ON=1",
19126 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
19127 "-DHAVE_SYS_UIO_H",
19128 "-D_DEBUG",
19129 "-D_GNU_SOURCE",
19130 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
19131 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19132 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
19133 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19134 "-D__STDC_CONSTANT_MACROS",
19135 "-D__STDC_FORMAT_MACROS",
19136 ],
19137 local_include_dirs: [
19138 "./",
19139 "buildtools/third_party/libc++/",
19140 "buildtools/third_party/libc++/trunk/include",
19141 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcb035942022-11-01 12:12:52 -070019142 ],
19143 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019144 target: {
19145 android_x86: {
19146 cflags: [
19147 "-msse3",
19148 ],
19149 },
19150 android_x86_64: {
19151 cflags: [
19152 "-msse3",
19153 ],
19154 },
19155 },
Patrick Rohrcb035942022-11-01 12:12:52 -070019156}
19157
Patrick Rohrcc377df2022-10-28 09:27:15 -070019158// GN: //third_party/icu:icui18n
19159cc_library_static {
19160 name: "cronet_aml_third_party_icu_icui18n",
Patrick Rohr971e03c2022-11-10 19:09:46 -080019161 srcs: [
19162 "third_party/icu/source/i18n/alphaindex.cpp",
19163 "third_party/icu/source/i18n/anytrans.cpp",
19164 "third_party/icu/source/i18n/astro.cpp",
19165 "third_party/icu/source/i18n/basictz.cpp",
19166 "third_party/icu/source/i18n/bocsu.cpp",
19167 "third_party/icu/source/i18n/brktrans.cpp",
19168 "third_party/icu/source/i18n/buddhcal.cpp",
19169 "third_party/icu/source/i18n/calendar.cpp",
19170 "third_party/icu/source/i18n/casetrn.cpp",
19171 "third_party/icu/source/i18n/cecal.cpp",
19172 "third_party/icu/source/i18n/chnsecal.cpp",
19173 "third_party/icu/source/i18n/choicfmt.cpp",
19174 "third_party/icu/source/i18n/coleitr.cpp",
19175 "third_party/icu/source/i18n/coll.cpp",
19176 "third_party/icu/source/i18n/collation.cpp",
19177 "third_party/icu/source/i18n/collationbuilder.cpp",
19178 "third_party/icu/source/i18n/collationcompare.cpp",
19179 "third_party/icu/source/i18n/collationdata.cpp",
19180 "third_party/icu/source/i18n/collationdatabuilder.cpp",
19181 "third_party/icu/source/i18n/collationdatareader.cpp",
19182 "third_party/icu/source/i18n/collationdatawriter.cpp",
19183 "third_party/icu/source/i18n/collationfastlatin.cpp",
19184 "third_party/icu/source/i18n/collationfastlatinbuilder.cpp",
19185 "third_party/icu/source/i18n/collationfcd.cpp",
19186 "third_party/icu/source/i18n/collationiterator.cpp",
19187 "third_party/icu/source/i18n/collationkeys.cpp",
19188 "third_party/icu/source/i18n/collationroot.cpp",
19189 "third_party/icu/source/i18n/collationrootelements.cpp",
19190 "third_party/icu/source/i18n/collationruleparser.cpp",
19191 "third_party/icu/source/i18n/collationsets.cpp",
19192 "third_party/icu/source/i18n/collationsettings.cpp",
19193 "third_party/icu/source/i18n/collationtailoring.cpp",
19194 "third_party/icu/source/i18n/collationweights.cpp",
19195 "third_party/icu/source/i18n/compactdecimalformat.cpp",
19196 "third_party/icu/source/i18n/coptccal.cpp",
19197 "third_party/icu/source/i18n/cpdtrans.cpp",
19198 "third_party/icu/source/i18n/csdetect.cpp",
19199 "third_party/icu/source/i18n/csmatch.cpp",
19200 "third_party/icu/source/i18n/csr2022.cpp",
19201 "third_party/icu/source/i18n/csrecog.cpp",
19202 "third_party/icu/source/i18n/csrmbcs.cpp",
19203 "third_party/icu/source/i18n/csrsbcs.cpp",
19204 "third_party/icu/source/i18n/csrucode.cpp",
19205 "third_party/icu/source/i18n/csrutf8.cpp",
19206 "third_party/icu/source/i18n/curramt.cpp",
19207 "third_party/icu/source/i18n/currfmt.cpp",
19208 "third_party/icu/source/i18n/currpinf.cpp",
19209 "third_party/icu/source/i18n/currunit.cpp",
19210 "third_party/icu/source/i18n/dangical.cpp",
19211 "third_party/icu/source/i18n/datefmt.cpp",
19212 "third_party/icu/source/i18n/dayperiodrules.cpp",
19213 "third_party/icu/source/i18n/dcfmtsym.cpp",
19214 "third_party/icu/source/i18n/decContext.cpp",
19215 "third_party/icu/source/i18n/decNumber.cpp",
19216 "third_party/icu/source/i18n/decimfmt.cpp",
19217 "third_party/icu/source/i18n/double-conversion-bignum-dtoa.cpp",
19218 "third_party/icu/source/i18n/double-conversion-bignum.cpp",
19219 "third_party/icu/source/i18n/double-conversion-cached-powers.cpp",
19220 "third_party/icu/source/i18n/double-conversion-double-to-string.cpp",
19221 "third_party/icu/source/i18n/double-conversion-fast-dtoa.cpp",
19222 "third_party/icu/source/i18n/double-conversion-string-to-double.cpp",
19223 "third_party/icu/source/i18n/double-conversion-strtod.cpp",
19224 "third_party/icu/source/i18n/dtfmtsym.cpp",
19225 "third_party/icu/source/i18n/dtitvfmt.cpp",
19226 "third_party/icu/source/i18n/dtitvinf.cpp",
19227 "third_party/icu/source/i18n/dtptngen.cpp",
19228 "third_party/icu/source/i18n/dtrule.cpp",
19229 "third_party/icu/source/i18n/erarules.cpp",
19230 "third_party/icu/source/i18n/esctrn.cpp",
19231 "third_party/icu/source/i18n/ethpccal.cpp",
19232 "third_party/icu/source/i18n/fmtable.cpp",
19233 "third_party/icu/source/i18n/fmtable_cnv.cpp",
19234 "third_party/icu/source/i18n/format.cpp",
19235 "third_party/icu/source/i18n/formatted_string_builder.cpp",
19236 "third_party/icu/source/i18n/formattedval_iterimpl.cpp",
19237 "third_party/icu/source/i18n/formattedval_sbimpl.cpp",
19238 "third_party/icu/source/i18n/formattedvalue.cpp",
19239 "third_party/icu/source/i18n/fphdlimp.cpp",
19240 "third_party/icu/source/i18n/fpositer.cpp",
19241 "third_party/icu/source/i18n/funcrepl.cpp",
19242 "third_party/icu/source/i18n/gender.cpp",
19243 "third_party/icu/source/i18n/gregocal.cpp",
19244 "third_party/icu/source/i18n/gregoimp.cpp",
19245 "third_party/icu/source/i18n/hebrwcal.cpp",
19246 "third_party/icu/source/i18n/indiancal.cpp",
19247 "third_party/icu/source/i18n/inputext.cpp",
19248 "third_party/icu/source/i18n/islamcal.cpp",
19249 "third_party/icu/source/i18n/japancal.cpp",
19250 "third_party/icu/source/i18n/listformatter.cpp",
19251 "third_party/icu/source/i18n/measfmt.cpp",
19252 "third_party/icu/source/i18n/measunit.cpp",
19253 "third_party/icu/source/i18n/measunit_extra.cpp",
19254 "third_party/icu/source/i18n/measure.cpp",
19255 "third_party/icu/source/i18n/msgfmt.cpp",
19256 "third_party/icu/source/i18n/name2uni.cpp",
19257 "third_party/icu/source/i18n/nfrs.cpp",
19258 "third_party/icu/source/i18n/nfrule.cpp",
19259 "third_party/icu/source/i18n/nfsubs.cpp",
19260 "third_party/icu/source/i18n/nortrans.cpp",
19261 "third_party/icu/source/i18n/nultrans.cpp",
19262 "third_party/icu/source/i18n/number_affixutils.cpp",
19263 "third_party/icu/source/i18n/number_asformat.cpp",
19264 "third_party/icu/source/i18n/number_capi.cpp",
19265 "third_party/icu/source/i18n/number_compact.cpp",
19266 "third_party/icu/source/i18n/number_currencysymbols.cpp",
19267 "third_party/icu/source/i18n/number_decimalquantity.cpp",
19268 "third_party/icu/source/i18n/number_decimfmtprops.cpp",
19269 "third_party/icu/source/i18n/number_fluent.cpp",
19270 "third_party/icu/source/i18n/number_formatimpl.cpp",
19271 "third_party/icu/source/i18n/number_grouping.cpp",
19272 "third_party/icu/source/i18n/number_integerwidth.cpp",
19273 "third_party/icu/source/i18n/number_longnames.cpp",
19274 "third_party/icu/source/i18n/number_mapper.cpp",
19275 "third_party/icu/source/i18n/number_modifiers.cpp",
19276 "third_party/icu/source/i18n/number_multiplier.cpp",
19277 "third_party/icu/source/i18n/number_notation.cpp",
19278 "third_party/icu/source/i18n/number_output.cpp",
19279 "third_party/icu/source/i18n/number_padding.cpp",
19280 "third_party/icu/source/i18n/number_patternmodifier.cpp",
19281 "third_party/icu/source/i18n/number_patternstring.cpp",
19282 "third_party/icu/source/i18n/number_rounding.cpp",
19283 "third_party/icu/source/i18n/number_scientific.cpp",
19284 "third_party/icu/source/i18n/number_skeletons.cpp",
19285 "third_party/icu/source/i18n/number_symbolswrapper.cpp",
19286 "third_party/icu/source/i18n/number_usageprefs.cpp",
19287 "third_party/icu/source/i18n/number_utils.cpp",
19288 "third_party/icu/source/i18n/numfmt.cpp",
19289 "third_party/icu/source/i18n/numparse_affixes.cpp",
19290 "third_party/icu/source/i18n/numparse_compositions.cpp",
19291 "third_party/icu/source/i18n/numparse_currency.cpp",
19292 "third_party/icu/source/i18n/numparse_decimal.cpp",
19293 "third_party/icu/source/i18n/numparse_impl.cpp",
19294 "third_party/icu/source/i18n/numparse_parsednumber.cpp",
19295 "third_party/icu/source/i18n/numparse_scientific.cpp",
19296 "third_party/icu/source/i18n/numparse_symbols.cpp",
19297 "third_party/icu/source/i18n/numparse_validators.cpp",
19298 "third_party/icu/source/i18n/numrange_capi.cpp",
19299 "third_party/icu/source/i18n/numrange_fluent.cpp",
19300 "third_party/icu/source/i18n/numrange_impl.cpp",
19301 "third_party/icu/source/i18n/numsys.cpp",
19302 "third_party/icu/source/i18n/olsontz.cpp",
19303 "third_party/icu/source/i18n/persncal.cpp",
19304 "third_party/icu/source/i18n/pluralranges.cpp",
19305 "third_party/icu/source/i18n/plurfmt.cpp",
19306 "third_party/icu/source/i18n/plurrule.cpp",
19307 "third_party/icu/source/i18n/quant.cpp",
19308 "third_party/icu/source/i18n/quantityformatter.cpp",
19309 "third_party/icu/source/i18n/rbnf.cpp",
19310 "third_party/icu/source/i18n/rbt.cpp",
19311 "third_party/icu/source/i18n/rbt_data.cpp",
19312 "third_party/icu/source/i18n/rbt_pars.cpp",
19313 "third_party/icu/source/i18n/rbt_rule.cpp",
19314 "third_party/icu/source/i18n/rbt_set.cpp",
19315 "third_party/icu/source/i18n/rbtz.cpp",
19316 "third_party/icu/source/i18n/regexcmp.cpp",
19317 "third_party/icu/source/i18n/regeximp.cpp",
19318 "third_party/icu/source/i18n/regexst.cpp",
19319 "third_party/icu/source/i18n/regextxt.cpp",
19320 "third_party/icu/source/i18n/region.cpp",
19321 "third_party/icu/source/i18n/reldatefmt.cpp",
19322 "third_party/icu/source/i18n/reldtfmt.cpp",
19323 "third_party/icu/source/i18n/rematch.cpp",
19324 "third_party/icu/source/i18n/remtrans.cpp",
19325 "third_party/icu/source/i18n/repattrn.cpp",
19326 "third_party/icu/source/i18n/rulebasedcollator.cpp",
19327 "third_party/icu/source/i18n/scientificnumberformatter.cpp",
19328 "third_party/icu/source/i18n/scriptset.cpp",
19329 "third_party/icu/source/i18n/search.cpp",
19330 "third_party/icu/source/i18n/selfmt.cpp",
19331 "third_party/icu/source/i18n/sharedbreakiterator.cpp",
19332 "third_party/icu/source/i18n/simpletz.cpp",
19333 "third_party/icu/source/i18n/smpdtfmt.cpp",
19334 "third_party/icu/source/i18n/smpdtfst.cpp",
19335 "third_party/icu/source/i18n/sortkey.cpp",
19336 "third_party/icu/source/i18n/standardplural.cpp",
19337 "third_party/icu/source/i18n/string_segment.cpp",
19338 "third_party/icu/source/i18n/strmatch.cpp",
19339 "third_party/icu/source/i18n/strrepl.cpp",
19340 "third_party/icu/source/i18n/stsearch.cpp",
19341 "third_party/icu/source/i18n/taiwncal.cpp",
19342 "third_party/icu/source/i18n/timezone.cpp",
19343 "third_party/icu/source/i18n/titletrn.cpp",
19344 "third_party/icu/source/i18n/tmunit.cpp",
19345 "third_party/icu/source/i18n/tmutamt.cpp",
19346 "third_party/icu/source/i18n/tmutfmt.cpp",
19347 "third_party/icu/source/i18n/tolowtrn.cpp",
19348 "third_party/icu/source/i18n/toupptrn.cpp",
19349 "third_party/icu/source/i18n/translit.cpp",
19350 "third_party/icu/source/i18n/transreg.cpp",
19351 "third_party/icu/source/i18n/tridpars.cpp",
19352 "third_party/icu/source/i18n/tzfmt.cpp",
19353 "third_party/icu/source/i18n/tzgnames.cpp",
19354 "third_party/icu/source/i18n/tznames.cpp",
19355 "third_party/icu/source/i18n/tznames_impl.cpp",
19356 "third_party/icu/source/i18n/tzrule.cpp",
19357 "third_party/icu/source/i18n/tztrans.cpp",
19358 "third_party/icu/source/i18n/ucal.cpp",
19359 "third_party/icu/source/i18n/ucln_in.cpp",
19360 "third_party/icu/source/i18n/ucol.cpp",
19361 "third_party/icu/source/i18n/ucol_res.cpp",
19362 "third_party/icu/source/i18n/ucol_sit.cpp",
19363 "third_party/icu/source/i18n/ucoleitr.cpp",
19364 "third_party/icu/source/i18n/ucsdet.cpp",
19365 "third_party/icu/source/i18n/udat.cpp",
19366 "third_party/icu/source/i18n/udateintervalformat.cpp",
19367 "third_party/icu/source/i18n/udatpg.cpp",
19368 "third_party/icu/source/i18n/ufieldpositer.cpp",
19369 "third_party/icu/source/i18n/uitercollationiterator.cpp",
19370 "third_party/icu/source/i18n/ulistformatter.cpp",
19371 "third_party/icu/source/i18n/ulocdata.cpp",
19372 "third_party/icu/source/i18n/umsg.cpp",
19373 "third_party/icu/source/i18n/unesctrn.cpp",
19374 "third_party/icu/source/i18n/uni2name.cpp",
19375 "third_party/icu/source/i18n/units_complexconverter.cpp",
19376 "third_party/icu/source/i18n/units_converter.cpp",
19377 "third_party/icu/source/i18n/units_data.cpp",
19378 "third_party/icu/source/i18n/units_router.cpp",
19379 "third_party/icu/source/i18n/unum.cpp",
19380 "third_party/icu/source/i18n/unumsys.cpp",
19381 "third_party/icu/source/i18n/upluralrules.cpp",
19382 "third_party/icu/source/i18n/uregex.cpp",
19383 "third_party/icu/source/i18n/uregexc.cpp",
19384 "third_party/icu/source/i18n/uregion.cpp",
19385 "third_party/icu/source/i18n/usearch.cpp",
19386 "third_party/icu/source/i18n/uspoof.cpp",
19387 "third_party/icu/source/i18n/uspoof_build.cpp",
19388 "third_party/icu/source/i18n/uspoof_conf.cpp",
19389 "third_party/icu/source/i18n/uspoof_impl.cpp",
19390 "third_party/icu/source/i18n/utf16collationiterator.cpp",
19391 "third_party/icu/source/i18n/utf8collationiterator.cpp",
19392 "third_party/icu/source/i18n/utmscale.cpp",
19393 "third_party/icu/source/i18n/utrans.cpp",
19394 "third_party/icu/source/i18n/vtzone.cpp",
19395 "third_party/icu/source/i18n/vzone.cpp",
19396 "third_party/icu/source/i18n/windtfmt.cpp",
19397 "third_party/icu/source/i18n/winnmfmt.cpp",
19398 "third_party/icu/source/i18n/wintzimpl.cpp",
19399 "third_party/icu/source/i18n/zonemeta.cpp",
19400 "third_party/icu/source/i18n/zrule.cpp",
19401 "third_party/icu/source/i18n/ztrans.cpp",
19402 ],
Patrick Rohrcc377df2022-10-28 09:27:15 -070019403 static_libs: [
19404 "cronet_aml_third_party_icu_icuuc_private",
19405 ],
19406 defaults: [
19407 "cronet_aml_defaults",
19408 ],
19409 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019410 "-DANDROID",
19411 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019412 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
19413 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
19414 "-DDCHECK_ALWAYS_ON=1",
19415 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
19416 "-DHAVE_DLOPEN=0",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019417 "-DHAVE_SYS_UIO_H",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019418 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
19419 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
19420 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
19421 "-DUSE_CHROMIUM_ICU=1",
19422 "-DU_CHARSET_IS_UTF8=1",
19423 "-DU_ENABLE_DYLOAD=0",
19424 "-DU_ENABLE_RESOURCE_TRACING=0",
19425 "-DU_ENABLE_TRACING=1",
19426 "-DU_I18N_IMPLEMENTATION",
19427 "-DU_STATIC_IMPLEMENTATION",
19428 "-DU_USING_ICU_NAMESPACE=0",
19429 "-D_DEBUG",
19430 "-D_GNU_SOURCE",
19431 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
19432 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19433 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
19434 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19435 ],
19436 local_include_dirs: [
19437 "./",
19438 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070019439 "buildtools/third_party/libc++/trunk/include",
19440 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019441 "third_party/icu/source/common/",
19442 "third_party/icu/source/i18n/",
19443 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -070019444 cpp_std: "c++20",
Patrick Rohr5fae90f2022-11-11 08:22:52 -080019445 rtti: true,
Motomu Utsumif0f47682022-11-17 22:34:39 +090019446 target: {
Motomu Utsumi65501182022-11-18 15:26:35 +090019447 android_x86: {
19448 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019449 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090019450 ],
19451 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090019452 android_x86_64: {
19453 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019454 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090019455 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090019456 },
19457 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019458}
19459
19460// GN: //third_party/icu:icuuc_private
19461cc_library_static {
19462 name: "cronet_aml_third_party_icu_icuuc_private",
19463 srcs: [
Patrick Rohr971e03c2022-11-10 19:09:46 -080019464 "third_party/icu/source/common/appendable.cpp",
19465 "third_party/icu/source/common/bmpset.cpp",
19466 "third_party/icu/source/common/brkeng.cpp",
19467 "third_party/icu/source/common/brkiter.cpp",
19468 "third_party/icu/source/common/bytesinkutil.cpp",
19469 "third_party/icu/source/common/bytestream.cpp",
19470 "third_party/icu/source/common/bytestrie.cpp",
19471 "third_party/icu/source/common/bytestriebuilder.cpp",
19472 "third_party/icu/source/common/bytestrieiterator.cpp",
19473 "third_party/icu/source/common/caniter.cpp",
19474 "third_party/icu/source/common/characterproperties.cpp",
19475 "third_party/icu/source/common/chariter.cpp",
19476 "third_party/icu/source/common/charstr.cpp",
19477 "third_party/icu/source/common/cmemory.cpp",
19478 "third_party/icu/source/common/cstr.cpp",
19479 "third_party/icu/source/common/cstring.cpp",
19480 "third_party/icu/source/common/cwchar.cpp",
19481 "third_party/icu/source/common/dictbe.cpp",
19482 "third_party/icu/source/common/dictionarydata.cpp",
19483 "third_party/icu/source/common/dtintrv.cpp",
19484 "third_party/icu/source/common/edits.cpp",
19485 "third_party/icu/source/common/emojiprops.cpp",
19486 "third_party/icu/source/common/errorcode.cpp",
19487 "third_party/icu/source/common/filteredbrk.cpp",
19488 "third_party/icu/source/common/filterednormalizer2.cpp",
19489 "third_party/icu/source/common/icudataver.cpp",
19490 "third_party/icu/source/common/icuplug.cpp",
19491 "third_party/icu/source/common/loadednormalizer2impl.cpp",
19492 "third_party/icu/source/common/localebuilder.cpp",
19493 "third_party/icu/source/common/localematcher.cpp",
19494 "third_party/icu/source/common/localeprioritylist.cpp",
19495 "third_party/icu/source/common/locavailable.cpp",
19496 "third_party/icu/source/common/locbased.cpp",
19497 "third_party/icu/source/common/locdispnames.cpp",
19498 "third_party/icu/source/common/locdistance.cpp",
19499 "third_party/icu/source/common/locdspnm.cpp",
19500 "third_party/icu/source/common/locid.cpp",
19501 "third_party/icu/source/common/loclikely.cpp",
19502 "third_party/icu/source/common/loclikelysubtags.cpp",
19503 "third_party/icu/source/common/locmap.cpp",
19504 "third_party/icu/source/common/locresdata.cpp",
19505 "third_party/icu/source/common/locutil.cpp",
19506 "third_party/icu/source/common/lsr.cpp",
19507 "third_party/icu/source/common/lstmbe.cpp",
19508 "third_party/icu/source/common/messagepattern.cpp",
19509 "third_party/icu/source/common/normalizer2.cpp",
19510 "third_party/icu/source/common/normalizer2impl.cpp",
19511 "third_party/icu/source/common/normlzr.cpp",
19512 "third_party/icu/source/common/parsepos.cpp",
19513 "third_party/icu/source/common/patternprops.cpp",
19514 "third_party/icu/source/common/pluralmap.cpp",
19515 "third_party/icu/source/common/propname.cpp",
19516 "third_party/icu/source/common/propsvec.cpp",
19517 "third_party/icu/source/common/punycode.cpp",
19518 "third_party/icu/source/common/putil.cpp",
19519 "third_party/icu/source/common/rbbi.cpp",
19520 "third_party/icu/source/common/rbbi_cache.cpp",
19521 "third_party/icu/source/common/rbbidata.cpp",
19522 "third_party/icu/source/common/rbbinode.cpp",
19523 "third_party/icu/source/common/rbbirb.cpp",
19524 "third_party/icu/source/common/rbbiscan.cpp",
19525 "third_party/icu/source/common/rbbisetb.cpp",
19526 "third_party/icu/source/common/rbbistbl.cpp",
19527 "third_party/icu/source/common/rbbitblb.cpp",
19528 "third_party/icu/source/common/resbund.cpp",
19529 "third_party/icu/source/common/resbund_cnv.cpp",
19530 "third_party/icu/source/common/resource.cpp",
19531 "third_party/icu/source/common/restrace.cpp",
19532 "third_party/icu/source/common/ruleiter.cpp",
19533 "third_party/icu/source/common/schriter.cpp",
19534 "third_party/icu/source/common/serv.cpp",
19535 "third_party/icu/source/common/servlk.cpp",
19536 "third_party/icu/source/common/servlkf.cpp",
19537 "third_party/icu/source/common/servls.cpp",
19538 "third_party/icu/source/common/servnotf.cpp",
19539 "third_party/icu/source/common/servrbf.cpp",
19540 "third_party/icu/source/common/servslkf.cpp",
19541 "third_party/icu/source/common/sharedobject.cpp",
19542 "third_party/icu/source/common/simpleformatter.cpp",
19543 "third_party/icu/source/common/static_unicode_sets.cpp",
19544 "third_party/icu/source/common/stringpiece.cpp",
19545 "third_party/icu/source/common/stringtriebuilder.cpp",
19546 "third_party/icu/source/common/uarrsort.cpp",
19547 "third_party/icu/source/common/ubidi.cpp",
19548 "third_party/icu/source/common/ubidi_props.cpp",
19549 "third_party/icu/source/common/ubidiln.cpp",
19550 "third_party/icu/source/common/ubiditransform.cpp",
19551 "third_party/icu/source/common/ubidiwrt.cpp",
19552 "third_party/icu/source/common/ubrk.cpp",
19553 "third_party/icu/source/common/ucase.cpp",
19554 "third_party/icu/source/common/ucasemap.cpp",
19555 "third_party/icu/source/common/ucasemap_titlecase_brkiter.cpp",
19556 "third_party/icu/source/common/ucat.cpp",
19557 "third_party/icu/source/common/uchar.cpp",
19558 "third_party/icu/source/common/ucharstrie.cpp",
19559 "third_party/icu/source/common/ucharstriebuilder.cpp",
19560 "third_party/icu/source/common/ucharstrieiterator.cpp",
19561 "third_party/icu/source/common/uchriter.cpp",
19562 "third_party/icu/source/common/ucln_cmn.cpp",
19563 "third_party/icu/source/common/ucmndata.cpp",
19564 "third_party/icu/source/common/ucnv.cpp",
19565 "third_party/icu/source/common/ucnv2022.cpp",
19566 "third_party/icu/source/common/ucnv_bld.cpp",
19567 "third_party/icu/source/common/ucnv_cb.cpp",
19568 "third_party/icu/source/common/ucnv_cnv.cpp",
19569 "third_party/icu/source/common/ucnv_ct.cpp",
19570 "third_party/icu/source/common/ucnv_err.cpp",
19571 "third_party/icu/source/common/ucnv_ext.cpp",
19572 "third_party/icu/source/common/ucnv_io.cpp",
19573 "third_party/icu/source/common/ucnv_lmb.cpp",
19574 "third_party/icu/source/common/ucnv_set.cpp",
19575 "third_party/icu/source/common/ucnv_u16.cpp",
19576 "third_party/icu/source/common/ucnv_u32.cpp",
19577 "third_party/icu/source/common/ucnv_u7.cpp",
19578 "third_party/icu/source/common/ucnv_u8.cpp",
19579 "third_party/icu/source/common/ucnvbocu.cpp",
19580 "third_party/icu/source/common/ucnvdisp.cpp",
19581 "third_party/icu/source/common/ucnvhz.cpp",
19582 "third_party/icu/source/common/ucnvisci.cpp",
19583 "third_party/icu/source/common/ucnvlat1.cpp",
19584 "third_party/icu/source/common/ucnvmbcs.cpp",
19585 "third_party/icu/source/common/ucnvscsu.cpp",
19586 "third_party/icu/source/common/ucnvsel.cpp",
19587 "third_party/icu/source/common/ucol_swp.cpp",
19588 "third_party/icu/source/common/ucptrie.cpp",
19589 "third_party/icu/source/common/ucurr.cpp",
19590 "third_party/icu/source/common/udata.cpp",
19591 "third_party/icu/source/common/udatamem.cpp",
19592 "third_party/icu/source/common/udataswp.cpp",
19593 "third_party/icu/source/common/uenum.cpp",
19594 "third_party/icu/source/common/uhash.cpp",
19595 "third_party/icu/source/common/uhash_us.cpp",
19596 "third_party/icu/source/common/uidna.cpp",
19597 "third_party/icu/source/common/uinit.cpp",
19598 "third_party/icu/source/common/uinvchar.cpp",
19599 "third_party/icu/source/common/uiter.cpp",
19600 "third_party/icu/source/common/ulist.cpp",
19601 "third_party/icu/source/common/uloc.cpp",
19602 "third_party/icu/source/common/uloc_keytype.cpp",
19603 "third_party/icu/source/common/uloc_tag.cpp",
19604 "third_party/icu/source/common/umapfile.cpp",
19605 "third_party/icu/source/common/umath.cpp",
19606 "third_party/icu/source/common/umutablecptrie.cpp",
19607 "third_party/icu/source/common/umutex.cpp",
19608 "third_party/icu/source/common/unames.cpp",
19609 "third_party/icu/source/common/unifiedcache.cpp",
19610 "third_party/icu/source/common/unifilt.cpp",
19611 "third_party/icu/source/common/unifunct.cpp",
19612 "third_party/icu/source/common/uniset.cpp",
19613 "third_party/icu/source/common/uniset_closure.cpp",
19614 "third_party/icu/source/common/uniset_props.cpp",
19615 "third_party/icu/source/common/unisetspan.cpp",
19616 "third_party/icu/source/common/unistr.cpp",
19617 "third_party/icu/source/common/unistr_case.cpp",
19618 "third_party/icu/source/common/unistr_case_locale.cpp",
19619 "third_party/icu/source/common/unistr_cnv.cpp",
19620 "third_party/icu/source/common/unistr_props.cpp",
19621 "third_party/icu/source/common/unistr_titlecase_brkiter.cpp",
19622 "third_party/icu/source/common/unorm.cpp",
19623 "third_party/icu/source/common/unormcmp.cpp",
19624 "third_party/icu/source/common/uobject.cpp",
19625 "third_party/icu/source/common/uprops.cpp",
19626 "third_party/icu/source/common/ures_cnv.cpp",
19627 "third_party/icu/source/common/uresbund.cpp",
19628 "third_party/icu/source/common/uresdata.cpp",
19629 "third_party/icu/source/common/usc_impl.cpp",
19630 "third_party/icu/source/common/uscript.cpp",
19631 "third_party/icu/source/common/uscript_props.cpp",
19632 "third_party/icu/source/common/uset.cpp",
19633 "third_party/icu/source/common/uset_props.cpp",
19634 "third_party/icu/source/common/usetiter.cpp",
19635 "third_party/icu/source/common/ushape.cpp",
19636 "third_party/icu/source/common/usprep.cpp",
19637 "third_party/icu/source/common/ustack.cpp",
19638 "third_party/icu/source/common/ustr_cnv.cpp",
19639 "third_party/icu/source/common/ustr_titlecase_brkiter.cpp",
19640 "third_party/icu/source/common/ustr_wcs.cpp",
19641 "third_party/icu/source/common/ustrcase.cpp",
19642 "third_party/icu/source/common/ustrcase_locale.cpp",
19643 "third_party/icu/source/common/ustrenum.cpp",
19644 "third_party/icu/source/common/ustrfmt.cpp",
19645 "third_party/icu/source/common/ustring.cpp",
19646 "third_party/icu/source/common/ustrtrns.cpp",
19647 "third_party/icu/source/common/utext.cpp",
19648 "third_party/icu/source/common/utf_impl.cpp",
19649 "third_party/icu/source/common/util.cpp",
19650 "third_party/icu/source/common/util_props.cpp",
19651 "third_party/icu/source/common/utrace.cpp",
19652 "third_party/icu/source/common/utrie.cpp",
19653 "third_party/icu/source/common/utrie2.cpp",
19654 "third_party/icu/source/common/utrie2_builder.cpp",
19655 "third_party/icu/source/common/utrie_swap.cpp",
19656 "third_party/icu/source/common/uts46.cpp",
19657 "third_party/icu/source/common/utypes.cpp",
19658 "third_party/icu/source/common/uvector.cpp",
19659 "third_party/icu/source/common/uvectr32.cpp",
19660 "third_party/icu/source/common/uvectr64.cpp",
19661 "third_party/icu/source/common/wintz.cpp",
19662 "third_party/icu/source/stubdata/stubdata.cpp",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019663 ],
19664 defaults: [
19665 "cronet_aml_defaults",
19666 ],
19667 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019668 "-DANDROID",
19669 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019670 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
19671 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
19672 "-DDCHECK_ALWAYS_ON=1",
19673 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
19674 "-DHAVE_DLOPEN=0",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019675 "-DHAVE_SYS_UIO_H",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019676 "-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE",
19677 "-DUCONFIG_ONLY_HTML_CONVERSION=1",
19678 "-DUCONFIG_USE_WINDOWS_LCID_MAPPING_API=0",
19679 "-DUSE_CHROMIUM_ICU=1",
19680 "-DU_CHARSET_IS_UTF8=1",
19681 "-DU_COMMON_IMPLEMENTATION",
19682 "-DU_ENABLE_DYLOAD=0",
19683 "-DU_ENABLE_RESOURCE_TRACING=0",
19684 "-DU_ENABLE_TRACING=1",
19685 "-DU_ICUDATAENTRY_IN_COMMON",
19686 "-DU_STATIC_IMPLEMENTATION",
19687 "-DU_USING_ICU_NAMESPACE=0",
19688 "-D_DEBUG",
19689 "-D_GNU_SOURCE",
19690 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
19691 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19692 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
19693 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019694 ],
19695 local_include_dirs: [
19696 "./",
19697 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070019698 "buildtools/third_party/libc++/trunk/include",
19699 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019700 "third_party/icu/source/common/",
19701 "third_party/icu/source/i18n/",
19702 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -070019703 cpp_std: "c++20",
Patrick Rohr5fae90f2022-11-11 08:22:52 -080019704 rtti: true,
Motomu Utsumif0f47682022-11-17 22:34:39 +090019705 target: {
Motomu Utsumi65501182022-11-18 15:26:35 +090019706 android_x86: {
19707 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019708 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090019709 ],
19710 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090019711 android_x86_64: {
19712 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019713 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090019714 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090019715 },
19716 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019717}
19718
19719// GN: //third_party/icu:icuuc_public
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019720cc_object {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019721 name: "cronet_aml_third_party_icu_icuuc_public",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019722 defaults: [
19723 "cronet_aml_defaults",
19724 ],
19725 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019726 "-DANDROID",
19727 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019728 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
19729 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
19730 "-DDCHECK_ALWAYS_ON=1",
19731 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019732 "-DHAVE_SYS_UIO_H",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019733 "-D_DEBUG",
19734 "-D_GNU_SOURCE",
19735 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
19736 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
19737 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
19738 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19739 "-D__STDC_CONSTANT_MACROS",
19740 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019741 ],
19742 local_include_dirs: [
19743 "./",
19744 "buildtools/third_party/libc++/",
19745 "buildtools/third_party/libc++/trunk/include",
19746 "buildtools/third_party/libc++abi/trunk/include",
19747 ],
19748 cpp_std: "c++20",
19749 target: {
19750 android_x86: {
19751 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019752 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019753 ],
19754 },
19755 android_x86_64: {
19756 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019757 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000019758 ],
19759 },
19760 },
Patrick Rohrcc377df2022-10-28 09:27:15 -070019761}
19762
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019763// GN: //third_party/libevent:libevent
19764cc_library_static {
19765 name: "cronet_aml_third_party_libevent_libevent",
19766 srcs: [
19767 "third_party/libevent/buffer.c",
19768 "third_party/libevent/epoll.c",
19769 "third_party/libevent/evbuffer.c",
19770 "third_party/libevent/evdns.c",
19771 "third_party/libevent/event.c",
19772 "third_party/libevent/event_tagging.c",
19773 "third_party/libevent/evrpc.c",
19774 "third_party/libevent/evutil.c",
19775 "third_party/libevent/http.c",
19776 "third_party/libevent/log.c",
19777 "third_party/libevent/poll.c",
19778 "third_party/libevent/select.c",
19779 "third_party/libevent/signal.c",
19780 "third_party/libevent/strlcpy.c",
19781 ],
19782 defaults: [
19783 "cronet_aml_defaults",
19784 ],
19785 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019786 "-DANDROID",
19787 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiefde2d22022-10-28 12:20:46 +090019788 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
19789 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019790 "-DDCHECK_ALWAYS_ON=1",
19791 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
19792 "-DHAVE_CONFIG_H",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019793 "-DHAVE_SYS_UIO_H",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019794 "-D_DEBUG",
19795 "-D_GNU_SOURCE",
Motomu Utsumiefde2d22022-10-28 12:20:46 +090019796 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019797 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiefde2d22022-10-28 12:20:46 +090019798 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019799 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
19800 ],
19801 local_include_dirs: [
19802 "./",
19803 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070019804 "buildtools/third_party/libc++/trunk/include",
19805 "buildtools/third_party/libc++abi/trunk/include",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019806 "third_party/libevent/android/",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019807 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -070019808 cpp_std: "c++20",
Motomu Utsumif0f47682022-11-17 22:34:39 +090019809 target: {
Motomu Utsumi65501182022-11-18 15:26:35 +090019810 android_x86: {
19811 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019812 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090019813 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090019814 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090019815 android_x86_64: {
19816 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090019817 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090019818 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090019819 },
19820 },
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019821}
19822
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019823// GN: //third_party/metrics_proto:metrics_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000019824cc_genrule {
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019825 name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen",
19826 srcs: [
19827 "third_party/metrics_proto/call_stack_profile.proto",
19828 "third_party/metrics_proto/cast_logs.proto",
19829 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
19830 "third_party/metrics_proto/chrome_searchbox_stats.proto",
19831 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
19832 "third_party/metrics_proto/custom_tab_session.proto",
19833 "third_party/metrics_proto/execution_context.proto",
19834 "third_party/metrics_proto/extension_install.proto",
19835 "third_party/metrics_proto/histogram_event.proto",
19836 "third_party/metrics_proto/omnibox_event.proto",
19837 "third_party/metrics_proto/omnibox_focus_type.proto",
19838 "third_party/metrics_proto/omnibox_input_type.proto",
19839 "third_party/metrics_proto/perf_data.proto",
19840 "third_party/metrics_proto/perf_stat.proto",
19841 "third_party/metrics_proto/printer_event.proto",
19842 "third_party/metrics_proto/reporting_info.proto",
19843 "third_party/metrics_proto/sampled_profile.proto",
19844 "third_party/metrics_proto/structured_data.proto",
19845 "third_party/metrics_proto/system_profile.proto",
19846 "third_party/metrics_proto/trace_log.proto",
19847 "third_party/metrics_proto/translate_event.proto",
19848 "third_party/metrics_proto/ukm/aggregate.proto",
19849 "third_party/metrics_proto/ukm/entry.proto",
19850 "third_party/metrics_proto/ukm/report.proto",
19851 "third_party/metrics_proto/ukm/source.proto",
19852 "third_party/metrics_proto/user_action_event.proto",
19853 "third_party/metrics_proto/user_demographics.proto",
19854 ],
19855 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090019856 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019857 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090019858 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/chromium_org/third_party/metrics_proto/ $(in)",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019859 out: [
19860 "external/chromium_org/third_party/metrics_proto/call_stack_profile.pb.cc",
19861 "external/chromium_org/third_party/metrics_proto/cast_logs.pb.cc",
19862 "external/chromium_org/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.cc",
19863 "external/chromium_org/third_party/metrics_proto/chrome_searchbox_stats.pb.cc",
19864 "external/chromium_org/third_party/metrics_proto/chrome_user_metrics_extension.pb.cc",
19865 "external/chromium_org/third_party/metrics_proto/custom_tab_session.pb.cc",
19866 "external/chromium_org/third_party/metrics_proto/execution_context.pb.cc",
19867 "external/chromium_org/third_party/metrics_proto/extension_install.pb.cc",
19868 "external/chromium_org/third_party/metrics_proto/histogram_event.pb.cc",
19869 "external/chromium_org/third_party/metrics_proto/omnibox_event.pb.cc",
19870 "external/chromium_org/third_party/metrics_proto/omnibox_focus_type.pb.cc",
19871 "external/chromium_org/third_party/metrics_proto/omnibox_input_type.pb.cc",
19872 "external/chromium_org/third_party/metrics_proto/perf_data.pb.cc",
19873 "external/chromium_org/third_party/metrics_proto/perf_stat.pb.cc",
19874 "external/chromium_org/third_party/metrics_proto/printer_event.pb.cc",
19875 "external/chromium_org/third_party/metrics_proto/reporting_info.pb.cc",
19876 "external/chromium_org/third_party/metrics_proto/sampled_profile.pb.cc",
19877 "external/chromium_org/third_party/metrics_proto/structured_data.pb.cc",
19878 "external/chromium_org/third_party/metrics_proto/system_profile.pb.cc",
19879 "external/chromium_org/third_party/metrics_proto/trace_log.pb.cc",
19880 "external/chromium_org/third_party/metrics_proto/translate_event.pb.cc",
19881 "external/chromium_org/third_party/metrics_proto/ukm/aggregate.pb.cc",
19882 "external/chromium_org/third_party/metrics_proto/ukm/entry.pb.cc",
19883 "external/chromium_org/third_party/metrics_proto/ukm/report.pb.cc",
19884 "external/chromium_org/third_party/metrics_proto/ukm/source.pb.cc",
19885 "external/chromium_org/third_party/metrics_proto/user_action_event.pb.cc",
19886 "external/chromium_org/third_party/metrics_proto/user_demographics.pb.cc",
19887 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090019888 apex_available: [
19889 "com.android.tethering",
19890 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019891}
19892
19893// GN: //third_party/metrics_proto:metrics_proto
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000019894cc_genrule {
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019895 name: "cronet_aml_third_party_metrics_proto_metrics_proto_gen_headers",
19896 srcs: [
19897 "third_party/metrics_proto/call_stack_profile.proto",
19898 "third_party/metrics_proto/cast_logs.proto",
19899 "third_party/metrics_proto/chrome_os_app_list_launch_event.proto",
19900 "third_party/metrics_proto/chrome_searchbox_stats.proto",
19901 "third_party/metrics_proto/chrome_user_metrics_extension.proto",
19902 "third_party/metrics_proto/custom_tab_session.proto",
19903 "third_party/metrics_proto/execution_context.proto",
19904 "third_party/metrics_proto/extension_install.proto",
19905 "third_party/metrics_proto/histogram_event.proto",
19906 "third_party/metrics_proto/omnibox_event.proto",
19907 "third_party/metrics_proto/omnibox_focus_type.proto",
19908 "third_party/metrics_proto/omnibox_input_type.proto",
19909 "third_party/metrics_proto/perf_data.proto",
19910 "third_party/metrics_proto/perf_stat.proto",
19911 "third_party/metrics_proto/printer_event.proto",
19912 "third_party/metrics_proto/reporting_info.proto",
19913 "third_party/metrics_proto/sampled_profile.proto",
19914 "third_party/metrics_proto/structured_data.proto",
19915 "third_party/metrics_proto/system_profile.proto",
19916 "third_party/metrics_proto/trace_log.proto",
19917 "third_party/metrics_proto/translate_event.proto",
19918 "third_party/metrics_proto/ukm/aggregate.proto",
19919 "third_party/metrics_proto/ukm/entry.proto",
19920 "third_party/metrics_proto/ukm/report.proto",
19921 "third_party/metrics_proto/ukm/source.proto",
19922 "third_party/metrics_proto/user_action_event.proto",
19923 "third_party/metrics_proto/user_demographics.proto",
19924 ],
19925 tools: [
Motomu Utsumibd4013f2022-11-17 16:06:05 +090019926 "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019927 ],
Motomu Utsumibd4013f2022-11-17 16:06:05 +090019928 cmd: "$(location cronet_aml_third_party_protobuf_protoc) --proto_path=external/chromium_org/third_party/metrics_proto --cpp_out=lite=true:$(genDir)/external/chromium_org/third_party/metrics_proto/ $(in)",
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019929 out: [
19930 "external/chromium_org/third_party/metrics_proto/call_stack_profile.pb.h",
19931 "external/chromium_org/third_party/metrics_proto/cast_logs.pb.h",
19932 "external/chromium_org/third_party/metrics_proto/chrome_os_app_list_launch_event.pb.h",
19933 "external/chromium_org/third_party/metrics_proto/chrome_searchbox_stats.pb.h",
19934 "external/chromium_org/third_party/metrics_proto/chrome_user_metrics_extension.pb.h",
19935 "external/chromium_org/third_party/metrics_proto/custom_tab_session.pb.h",
19936 "external/chromium_org/third_party/metrics_proto/execution_context.pb.h",
19937 "external/chromium_org/third_party/metrics_proto/extension_install.pb.h",
19938 "external/chromium_org/third_party/metrics_proto/histogram_event.pb.h",
19939 "external/chromium_org/third_party/metrics_proto/omnibox_event.pb.h",
19940 "external/chromium_org/third_party/metrics_proto/omnibox_focus_type.pb.h",
19941 "external/chromium_org/third_party/metrics_proto/omnibox_input_type.pb.h",
19942 "external/chromium_org/third_party/metrics_proto/perf_data.pb.h",
19943 "external/chromium_org/third_party/metrics_proto/perf_stat.pb.h",
19944 "external/chromium_org/third_party/metrics_proto/printer_event.pb.h",
19945 "external/chromium_org/third_party/metrics_proto/reporting_info.pb.h",
19946 "external/chromium_org/third_party/metrics_proto/sampled_profile.pb.h",
19947 "external/chromium_org/third_party/metrics_proto/structured_data.pb.h",
19948 "external/chromium_org/third_party/metrics_proto/system_profile.pb.h",
19949 "external/chromium_org/third_party/metrics_proto/trace_log.pb.h",
19950 "external/chromium_org/third_party/metrics_proto/translate_event.pb.h",
19951 "external/chromium_org/third_party/metrics_proto/ukm/aggregate.pb.h",
19952 "external/chromium_org/third_party/metrics_proto/ukm/entry.pb.h",
19953 "external/chromium_org/third_party/metrics_proto/ukm/report.pb.h",
19954 "external/chromium_org/third_party/metrics_proto/ukm/source.pb.h",
19955 "external/chromium_org/third_party/metrics_proto/user_action_event.pb.h",
19956 "external/chromium_org/third_party/metrics_proto/user_demographics.pb.h",
19957 ],
19958 export_include_dirs: [
19959 ".",
19960 "protos",
19961 "third_party/metrics_proto",
19962 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090019963 apex_available: [
19964 "com.android.tethering",
19965 ],
Motomu Utsumiff44cb52022-11-09 16:23:21 +090019966}
19967
Patrick Rohrcc377df2022-10-28 09:27:15 -070019968// GN: //third_party/modp_b64:modp_b64
Motomu Utsumifcac4852022-10-26 19:28:31 +090019969cc_library_static {
Patrick Rohrcc377df2022-10-28 09:27:15 -070019970 name: "cronet_aml_third_party_modp_b64_modp_b64",
Motomu Utsumifcac4852022-10-26 19:28:31 +090019971 srcs: [
Patrick Rohrcc377df2022-10-28 09:27:15 -070019972 "third_party/modp_b64/modp_b64.cc",
Motomu Utsumifcac4852022-10-26 19:28:31 +090019973 ],
19974 defaults: [
19975 "cronet_aml_defaults",
19976 ],
19977 cflags: [
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019978 "-DANDROID",
19979 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumiefde2d22022-10-28 12:20:46 +090019980 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
19981 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019982 "-DDCHECK_ALWAYS_ON=1",
19983 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohr0913f0b2022-12-13 09:13:20 -080019984 "-DHAVE_SYS_UIO_H",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019985 "-D_DEBUG",
19986 "-D_GNU_SOURCE",
Motomu Utsumiefde2d22022-10-28 12:20:46 +090019987 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019988 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
Motomu Utsumiefde2d22022-10-28 12:20:46 +090019989 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumifa7e9262022-10-26 19:43:02 +090019990 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcc377df2022-10-28 09:27:15 -070019991 "-D__STDC_CONSTANT_MACROS",
19992 "-D__STDC_FORMAT_MACROS",
Motomu Utsumifcac4852022-10-26 19:28:31 +090019993 ],
19994 local_include_dirs: [
19995 "./",
19996 "buildtools/third_party/libc++/",
Patrick Rohr61f2acb2022-10-31 14:08:18 -070019997 "buildtools/third_party/libc++/trunk/include",
19998 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumifcac4852022-10-26 19:28:31 +090019999 ],
Patrick Rohrb8f830a2022-10-31 11:18:57 -070020000 cpp_std: "c++20",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020001 target: {
Motomu Utsumi65501182022-11-18 15:26:35 +090020002 android_x86: {
20003 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020004 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090020005 ],
20006 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090020007 android_x86_64: {
20008 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020009 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020010 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090020011 },
20012 },
Motomu Utsumifcac4852022-10-26 19:28:31 +090020013}
20014
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020015// GN: //third_party/protobuf:protobuf_full
20016cc_library_static {
20017 name: "cronet_aml_third_party_protobuf_protobuf_full",
20018 srcs: [
20019 "third_party/protobuf/src/google/protobuf/any.cc",
20020 "third_party/protobuf/src/google/protobuf/any.pb.cc",
20021 "third_party/protobuf/src/google/protobuf/any_lite.cc",
20022 "third_party/protobuf/src/google/protobuf/api.pb.cc",
20023 "third_party/protobuf/src/google/protobuf/arena.cc",
20024 "third_party/protobuf/src/google/protobuf/arenastring.cc",
20025 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
20026 "third_party/protobuf/src/google/protobuf/compiler/importer.cc",
20027 "third_party/protobuf/src/google/protobuf/compiler/parser.cc",
20028 "third_party/protobuf/src/google/protobuf/descriptor.cc",
20029 "third_party/protobuf/src/google/protobuf/descriptor.pb.cc",
20030 "third_party/protobuf/src/google/protobuf/descriptor_database.cc",
20031 "third_party/protobuf/src/google/protobuf/duration.pb.cc",
20032 "third_party/protobuf/src/google/protobuf/dynamic_message.cc",
20033 "third_party/protobuf/src/google/protobuf/empty.pb.cc",
20034 "third_party/protobuf/src/google/protobuf/extension_set.cc",
20035 "third_party/protobuf/src/google/protobuf/extension_set_heavy.cc",
20036 "third_party/protobuf/src/google/protobuf/field_mask.pb.cc",
20037 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
20038 "third_party/protobuf/src/google/protobuf/generated_message_bases.cc",
20039 "third_party/protobuf/src/google/protobuf/generated_message_reflection.cc",
20040 "third_party/protobuf/src/google/protobuf/generated_message_tctable_full.cc",
20041 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
20042 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
20043 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
20044 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
20045 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
20046 "third_party/protobuf/src/google/protobuf/io/gzip_stream.cc",
20047 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
20048 "third_party/protobuf/src/google/protobuf/io/printer.cc",
20049 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
20050 "third_party/protobuf/src/google/protobuf/io/tokenizer.cc",
20051 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
20052 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
20053 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
20054 "third_party/protobuf/src/google/protobuf/map.cc",
20055 "third_party/protobuf/src/google/protobuf/map_field.cc",
20056 "third_party/protobuf/src/google/protobuf/message.cc",
20057 "third_party/protobuf/src/google/protobuf/message_lite.cc",
20058 "third_party/protobuf/src/google/protobuf/parse_context.cc",
20059 "third_party/protobuf/src/google/protobuf/reflection_ops.cc",
20060 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
20061 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
20062 "third_party/protobuf/src/google/protobuf/service.cc",
20063 "third_party/protobuf/src/google/protobuf/source_context.pb.cc",
20064 "third_party/protobuf/src/google/protobuf/struct.pb.cc",
20065 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
20066 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
20067 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
20068 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
20069 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
20070 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
20071 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
20072 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
20073 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
20074 "third_party/protobuf/src/google/protobuf/stubs/substitute.cc",
20075 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
20076 "third_party/protobuf/src/google/protobuf/text_format.cc",
20077 "third_party/protobuf/src/google/protobuf/timestamp.pb.cc",
20078 "third_party/protobuf/src/google/protobuf/type.pb.cc",
20079 "third_party/protobuf/src/google/protobuf/unknown_field_set.cc",
20080 "third_party/protobuf/src/google/protobuf/util/delimited_message_util.cc",
20081 "third_party/protobuf/src/google/protobuf/util/field_comparator.cc",
20082 "third_party/protobuf/src/google/protobuf/util/field_mask_util.cc",
20083 "third_party/protobuf/src/google/protobuf/util/internal/datapiece.cc",
20084 "third_party/protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc",
20085 "third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc",
20086 "third_party/protobuf/src/google/protobuf/util/internal/field_mask_utility.cc",
20087 "third_party/protobuf/src/google/protobuf/util/internal/json_escaping.cc",
20088 "third_party/protobuf/src/google/protobuf/util/internal/json_objectwriter.cc",
20089 "third_party/protobuf/src/google/protobuf/util/internal/json_stream_parser.cc",
20090 "third_party/protobuf/src/google/protobuf/util/internal/object_writer.cc",
20091 "third_party/protobuf/src/google/protobuf/util/internal/proto_writer.cc",
20092 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc",
20093 "third_party/protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc",
20094 "third_party/protobuf/src/google/protobuf/util/internal/type_info.cc",
20095 "third_party/protobuf/src/google/protobuf/util/internal/utility.cc",
20096 "third_party/protobuf/src/google/protobuf/util/json_util.cc",
20097 "third_party/protobuf/src/google/protobuf/util/message_differencer.cc",
20098 "third_party/protobuf/src/google/protobuf/util/time_util.cc",
20099 "third_party/protobuf/src/google/protobuf/util/type_resolver_util.cc",
20100 "third_party/protobuf/src/google/protobuf/wire_format.cc",
20101 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
20102 "third_party/protobuf/src/google/protobuf/wrappers.pb.cc",
20103 ],
20104 static_libs: [
20105 "cronet_aml_third_party_zlib_zlib",
20106 ],
20107 host_supported: true,
20108 device_supported: false,
20109 defaults: [
20110 "cronet_aml_defaults",
20111 ],
20112 cflags: [
20113 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20114 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20115 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20116 "-DDCHECK_ALWAYS_ON=1",
20117 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
20118 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
20119 "-DGOOGLE_PROTOBUF_NO_RTTI",
20120 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
20121 "-DHAVE_PTHREAD",
20122 "-DHAVE_ZLIB",
20123 "-DUSE_AURA=1",
20124 "-DUSE_OZONE=1",
20125 "-DUSE_UDEV",
20126 "-D_DEBUG",
20127 "-D_FILE_OFFSET_BITS=64",
20128 "-D_GNU_SOURCE",
20129 "-D_LARGEFILE64_SOURCE",
20130 "-D_LARGEFILE_SOURCE",
20131 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20132 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20133 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20134 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020135 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020136 ],
20137 local_include_dirs: [
20138 "./",
20139 "buildtools/third_party/libc++/",
20140 "buildtools/third_party/libc++/trunk/include",
20141 "buildtools/third_party/libc++abi/trunk/include",
20142 "third_party/protobuf/src/",
20143 "third_party/zlib/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020144 ],
20145 cpp_std: "c++20",
20146}
20147
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090020148// GN: //third_party/protobuf:protobuf_lite
20149cc_library_static {
20150 name: "cronet_aml_third_party_protobuf_protobuf_lite",
20151 srcs: [
20152 "third_party/protobuf/src/google/protobuf/any_lite.cc",
20153 "third_party/protobuf/src/google/protobuf/arena.cc",
20154 "third_party/protobuf/src/google/protobuf/arenastring.cc",
20155 "third_party/protobuf/src/google/protobuf/arenaz_sampler.cc",
20156 "third_party/protobuf/src/google/protobuf/extension_set.cc",
20157 "third_party/protobuf/src/google/protobuf/generated_enum_util.cc",
20158 "third_party/protobuf/src/google/protobuf/generated_message_tctable_lite.cc",
20159 "third_party/protobuf/src/google/protobuf/generated_message_util.cc",
20160 "third_party/protobuf/src/google/protobuf/implicit_weak_message.cc",
20161 "third_party/protobuf/src/google/protobuf/inlined_string_field.cc",
20162 "third_party/protobuf/src/google/protobuf/io/coded_stream.cc",
20163 "third_party/protobuf/src/google/protobuf/io/io_win32.cc",
20164 "third_party/protobuf/src/google/protobuf/io/strtod.cc",
20165 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream.cc",
20166 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc",
20167 "third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc",
20168 "third_party/protobuf/src/google/protobuf/map.cc",
20169 "third_party/protobuf/src/google/protobuf/message_lite.cc",
20170 "third_party/protobuf/src/google/protobuf/parse_context.cc",
20171 "third_party/protobuf/src/google/protobuf/repeated_field.cc",
20172 "third_party/protobuf/src/google/protobuf/repeated_ptr_field.cc",
20173 "third_party/protobuf/src/google/protobuf/stubs/bytestream.cc",
20174 "third_party/protobuf/src/google/protobuf/stubs/common.cc",
20175 "third_party/protobuf/src/google/protobuf/stubs/int128.cc",
20176 "third_party/protobuf/src/google/protobuf/stubs/status.cc",
20177 "third_party/protobuf/src/google/protobuf/stubs/statusor.cc",
20178 "third_party/protobuf/src/google/protobuf/stubs/stringpiece.cc",
20179 "third_party/protobuf/src/google/protobuf/stubs/stringprintf.cc",
20180 "third_party/protobuf/src/google/protobuf/stubs/structurally_valid.cc",
20181 "third_party/protobuf/src/google/protobuf/stubs/strutil.cc",
20182 "third_party/protobuf/src/google/protobuf/stubs/time.cc",
20183 "third_party/protobuf/src/google/protobuf/wire_format_lite.cc",
20184 ],
20185 shared_libs: [
20186 "liblog",
20187 ],
20188 defaults: [
20189 "cronet_aml_defaults",
20190 ],
20191 cflags: [
20192 "-DANDROID",
20193 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20194 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20195 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20196 "-DDCHECK_ALWAYS_ON=1",
20197 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
20198 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
20199 "-DGOOGLE_PROTOBUF_NO_RTTI",
20200 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
20201 "-DHAVE_PTHREAD",
20202 "-DHAVE_SYS_UIO_H",
20203 "-D_DEBUG",
20204 "-D_GNU_SOURCE",
20205 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20206 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20207 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20208 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20209 ],
20210 local_include_dirs: [
20211 "./",
20212 "buildtools/third_party/libc++/",
20213 "buildtools/third_party/libc++/trunk/include",
20214 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumif2f96d02022-11-16 17:57:41 +090020215 "third_party/protobuf/src/",
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090020216 ],
20217 cpp_std: "c++20",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020218 target: {
20219 android_x86: {
20220 cflags: [
20221 "-msse3",
20222 ],
20223 },
20224 android_x86_64: {
20225 cflags: [
20226 "-msse3",
20227 ],
20228 },
20229 },
Motomu Utsumie6fc72b2022-11-16 17:56:51 +090020230}
20231
Patrick Rohrad7a29c2022-11-16 21:48:09 -080020232// GN: //third_party/protobuf:protoc
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020233cc_binary {
Patrick Rohrad7a29c2022-11-16 21:48:09 -080020234 name: "cronet_aml_third_party_protobuf_protoc",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020235 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020236 ":cronet_aml_buildtools_third_party_libc___libc__",
20237 ":cronet_aml_buildtools_third_party_libc__abi_libc__abi",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020238 "third_party/protobuf/src/google/protobuf/compiler/main.cc",
20239 ],
20240 static_libs: [
Motomu Utsumi6ccc9d82022-11-16 18:05:45 +090020241 "cronet_aml_third_party_protobuf_protobuf_full",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020242 "cronet_aml_third_party_protobuf_protoc_lib",
20243 "cronet_aml_third_party_zlib_zlib",
20244 ],
20245 host_supported: true,
20246 device_supported: false,
20247 defaults: [
20248 "cronet_aml_defaults",
20249 ],
20250 cflags: [
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020251 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20252 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20253 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20254 "-DDCHECK_ALWAYS_ON=1",
20255 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
20256 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
20257 "-DGOOGLE_PROTOBUF_NO_RTTI",
20258 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
20259 "-DHAVE_PTHREAD",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020260 "-DUSE_AURA=1",
20261 "-DUSE_OZONE=1",
20262 "-DUSE_UDEV",
20263 "-D_DEBUG",
20264 "-D_FILE_OFFSET_BITS=64",
20265 "-D_GNU_SOURCE",
20266 "-D_LARGEFILE64_SOURCE",
20267 "-D_LARGEFILE_SOURCE",
20268 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020269 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20270 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020271 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020272 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020273 ],
20274 local_include_dirs: [
20275 "./",
20276 "buildtools/third_party/libc++/",
20277 "buildtools/third_party/libc++/trunk/include",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020278 "buildtools/third_party/libc++abi/trunk/include",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020279 "third_party/protobuf/src/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020280 ],
20281 cpp_std: "c++20",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020282}
20283
20284// GN: //third_party/protobuf:protoc_lib
20285cc_library_static {
20286 name: "cronet_aml_third_party_protobuf_protoc_lib",
20287 srcs: [
20288 "third_party/protobuf/src/google/protobuf/compiler/code_generator.cc",
20289 "third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc",
20290 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc",
20291 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc",
20292 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc",
20293 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc",
20294 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc",
20295 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc",
20296 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc",
20297 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc",
20298 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc",
20299 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc",
20300 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc",
20301 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc",
20302 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc",
20303 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc",
20304 "third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc",
20305 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc",
20306 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc",
20307 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc",
20308 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc",
20309 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc",
20310 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc",
20311 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc",
20312 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc",
20313 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc",
20314 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc",
20315 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc",
20316 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc",
20317 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc",
20318 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc",
20319 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc",
20320 "third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc",
20321 "third_party/protobuf/src/google/protobuf/compiler/java/java_context.cc",
20322 "third_party/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc",
20323 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum.cc",
20324 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field.cc",
20325 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc",
20326 "third_party/protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc",
20327 "third_party/protobuf/src/google/protobuf/compiler/java/java_extension.cc",
20328 "third_party/protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc",
20329 "third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc",
20330 "third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc",
20331 "third_party/protobuf/src/google/protobuf/compiler/java/java_generator.cc",
20332 "third_party/protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc",
20333 "third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc",
20334 "third_party/protobuf/src/google/protobuf/compiler/java/java_kotlin_generator.cc",
20335 "third_party/protobuf/src/google/protobuf/compiler/java/java_map_field.cc",
20336 "third_party/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc",
20337 "third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc",
20338 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder.cc",
20339 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc",
20340 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_field.cc",
20341 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc",
20342 "third_party/protobuf/src/google/protobuf/compiler/java/java_message_lite.cc",
20343 "third_party/protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc",
20344 "third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc",
20345 "third_party/protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc",
20346 "third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc",
20347 "third_party/protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc",
20348 "third_party/protobuf/src/google/protobuf/compiler/java/java_string_field.cc",
20349 "third_party/protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc",
20350 "third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc",
20351 "third_party/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc",
20352 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc",
20353 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc",
20354 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc",
20355 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc",
20356 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc",
20357 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc",
20358 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc",
20359 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc",
20360 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc",
20361 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc",
20362 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc",
20363 "third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc",
20364 "third_party/protobuf/src/google/protobuf/compiler/php/php_generator.cc",
20365 "third_party/protobuf/src/google/protobuf/compiler/plugin.cc",
20366 "third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc",
20367 "third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc",
20368 "third_party/protobuf/src/google/protobuf/compiler/python/python_helpers.cc",
20369 "third_party/protobuf/src/google/protobuf/compiler/python/python_pyi_generator.cc",
20370 "third_party/protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc",
20371 "third_party/protobuf/src/google/protobuf/compiler/subprocess.cc",
20372 "third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc",
20373 ],
20374 static_libs: [
20375 "cronet_aml_third_party_protobuf_protobuf_full",
20376 "cronet_aml_third_party_zlib_zlib",
20377 ],
20378 host_supported: true,
20379 device_supported: false,
20380 defaults: [
20381 "cronet_aml_defaults",
20382 ],
20383 cflags: [
20384 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20385 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20386 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20387 "-DDCHECK_ALWAYS_ON=1",
20388 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
20389 "-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0",
20390 "-DGOOGLE_PROTOBUF_NO_RTTI",
20391 "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
20392 "-DHAVE_PTHREAD",
20393 "-DUSE_AURA=1",
20394 "-DUSE_OZONE=1",
20395 "-DUSE_UDEV",
20396 "-D_DEBUG",
20397 "-D_FILE_OFFSET_BITS=64",
20398 "-D_GNU_SOURCE",
20399 "-D_LARGEFILE64_SOURCE",
20400 "-D_LARGEFILE_SOURCE",
20401 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20402 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20403 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20404 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020405 "-msse3",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020406 ],
20407 local_include_dirs: [
20408 "./",
20409 "buildtools/third_party/libc++/",
20410 "buildtools/third_party/libc++/trunk/include",
20411 "buildtools/third_party/libc++abi/trunk/include",
20412 "third_party/protobuf/src/",
Motomu Utsumidee9ce02022-11-16 18:02:41 +090020413 ],
20414 cpp_std: "c++20",
20415}
20416
Patrick Rohrcb035942022-11-01 12:12:52 -070020417// GN: //third_party/zlib:zlib
20418cc_library_static {
20419 name: "cronet_aml_third_party_zlib_zlib",
20420 srcs: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020421 ":cronet_aml_third_party_zlib_zlib_adler32_simd",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020422 ":cronet_aml_third_party_zlib_zlib_inflate_chunk_simd",
Patrick Rohrcb035942022-11-01 12:12:52 -070020423 "third_party/zlib/adler32.c",
20424 "third_party/zlib/compress.c",
20425 "third_party/zlib/cpu_features.c",
20426 "third_party/zlib/crc32.c",
20427 "third_party/zlib/deflate.c",
20428 "third_party/zlib/gzclose.c",
20429 "third_party/zlib/gzlib.c",
20430 "third_party/zlib/gzread.c",
20431 "third_party/zlib/gzwrite.c",
20432 "third_party/zlib/infback.c",
20433 "third_party/zlib/inffast.c",
20434 "third_party/zlib/inftrees.c",
20435 "third_party/zlib/trees.c",
20436 "third_party/zlib/uncompr.c",
20437 "third_party/zlib/zutil.c",
20438 ],
Patrick Rohrc8f41cd2022-11-15 22:46:10 -080020439 host_supported: true,
Patrick Rohrcb035942022-11-01 12:12:52 -070020440 defaults: [
20441 "cronet_aml_defaults",
20442 ],
20443 cflags: [
Patrick Rohrcb035942022-11-01 12:12:52 -070020444 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20445 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
Patrick Rohrcb035942022-11-01 12:12:52 -070020446 "-DDCHECK_ALWAYS_ON=1",
Patrick Rohrcb035942022-11-01 12:12:52 -070020447 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Patrick Rohrcb035942022-11-01 12:12:52 -070020448 "-DZLIB_DEBUG",
20449 "-DZLIB_IMPLEMENTATION",
20450 "-D_DEBUG",
Patrick Rohrcb035942022-11-01 12:12:52 -070020451 "-D_GNU_SOURCE",
Patrick Rohrcb035942022-11-01 12:12:52 -070020452 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20453 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20454 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20455 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Patrick Rohrcb035942022-11-01 12:12:52 -070020456 ],
20457 local_include_dirs: [
20458 "./",
20459 "buildtools/third_party/libc++/",
20460 "buildtools/third_party/libc++/trunk/include",
20461 "buildtools/third_party/libc++abi/trunk/include",
20462 "third_party/zlib/",
Patrick Rohrcb035942022-11-01 12:12:52 -070020463 ],
20464 cpp_std: "c++20",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020465 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020466 android_arm: {
20467 srcs: [
20468 ":cronet_aml_third_party_android_ndk_cpu_features",
20469 ":cronet_aml_third_party_zlib_zlib_arm_crc32",
20470 ],
20471 cflags: [
20472 "-DADLER32_SIMD_NEON",
20473 "-DANDROID",
20474 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20475 "-DARMV8_OS_ANDROID",
20476 "-DCRC32_ARMV8_CRC32",
20477 "-DDEFLATE_SLIDE_HASH_NEON",
20478 "-DHAVE_SYS_UIO_H",
20479 "-DINFLATE_CHUNK_SIMD_NEON",
20480 ],
20481 local_include_dirs: [
20482 "third_party/android_ndk/sources/android/cpufeatures/",
20483 ],
20484 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090020485 android_arm64: {
20486 srcs: [
20487 ":cronet_aml_third_party_android_ndk_cpu_features",
20488 ":cronet_aml_third_party_zlib_zlib_arm_crc32",
20489 ],
20490 cflags: [
20491 "-DADLER32_SIMD_NEON",
20492 "-DANDROID",
20493 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20494 "-DARMV8_OS_ANDROID",
20495 "-DCRC32_ARMV8_CRC32",
20496 "-DDEFLATE_SLIDE_HASH_NEON",
20497 "-DHAVE_SYS_UIO_H",
20498 "-DINFLATE_CHUNK_READ_64LE",
20499 "-DINFLATE_CHUNK_SIMD_NEON",
20500 ],
20501 local_include_dirs: [
20502 "third_party/android_ndk/sources/android/cpufeatures/",
20503 ],
20504 },
Motomu Utsumi65501182022-11-18 15:26:35 +090020505 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020506 srcs: [
20507 ":cronet_aml_third_party_android_ndk_cpu_features",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020508 ":cronet_aml_third_party_zlib_zlib_crc32_simd",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020509 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090020510 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020511 "-DADLER32_SIMD_SSSE3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020512 "-DANDROID",
20513 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020514 "-DCRC32_SIMD_SSE42_PCLMUL",
20515 "-DDEFLATE_SLIDE_HASH_SSE2",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020516 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020517 "-DINFLATE_CHUNK_SIMD_SSE2",
20518 "-DX86_NOT_WINDOWS",
20519 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020520 ],
20521 local_include_dirs: [
20522 "third_party/android_ndk/sources/android/cpufeatures/",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020523 ],
20524 },
Motomu Utsumi65501182022-11-18 15:26:35 +090020525 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020526 srcs: [
20527 ":cronet_aml_third_party_android_ndk_cpu_features",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020528 ":cronet_aml_third_party_zlib_zlib_crc32_simd",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020529 ],
Motomu Utsumi65501182022-11-18 15:26:35 +090020530 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020531 "-DADLER32_SIMD_SSSE3",
Motomu Utsumi65501182022-11-18 15:26:35 +090020532 "-DANDROID",
20533 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020534 "-DCRC32_SIMD_SSE42_PCLMUL",
20535 "-DDEFLATE_SLIDE_HASH_SSE2",
Motomu Utsumi65501182022-11-18 15:26:35 +090020536 "-DHAVE_SYS_UIO_H",
20537 "-DINFLATE_CHUNK_READ_64LE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020538 "-DINFLATE_CHUNK_SIMD_SSE2",
20539 "-DX86_NOT_WINDOWS",
20540 "-msse3",
Motomu Utsumi65501182022-11-18 15:26:35 +090020541 ],
20542 local_include_dirs: [
20543 "third_party/android_ndk/sources/android/cpufeatures/",
20544 ],
20545 },
Motomu Utsumif0f47682022-11-17 22:34:39 +090020546 host: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020547 srcs: [
20548 ":cronet_aml_third_party_zlib_zlib_crc32_simd",
20549 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090020550 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020551 "-DADLER32_SIMD_SSSE3",
20552 "-DCRC32_SIMD_SSE42_PCLMUL",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020553 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020554 "-DDEFLATE_SLIDE_HASH_SSE2",
Motomu Utsumi65501182022-11-18 15:26:35 +090020555 "-DINFLATE_CHUNK_READ_64LE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020556 "-DINFLATE_CHUNK_SIMD_SSE2",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020557 "-DUSE_AURA=1",
20558 "-DUSE_OZONE=1",
20559 "-DUSE_UDEV",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020560 "-DX86_NOT_WINDOWS",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020561 "-D_FILE_OFFSET_BITS=64",
20562 "-D_LARGEFILE64_SOURCE",
20563 "-D_LARGEFILE_SOURCE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020564 "-msse3",
Motomu Utsumif0f47682022-11-17 22:34:39 +090020565 ],
Motomu Utsumif0f47682022-11-17 22:34:39 +090020566 },
20567 },
Patrick Rohrcb035942022-11-01 12:12:52 -070020568}
20569
20570// GN: //third_party/zlib:zlib_adler32_simd
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020571cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070020572 name: "cronet_aml_third_party_zlib_zlib_adler32_simd",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020573 srcs: [
20574 "third_party/zlib/adler32_simd.c",
20575 ],
20576 host_supported: true,
20577 defaults: [
20578 "cronet_aml_defaults",
20579 ],
20580 cflags: [
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020581 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20582 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20583 "-DDCHECK_ALWAYS_ON=1",
20584 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020585 "-DZLIB_DEBUG",
20586 "-DZLIB_IMPLEMENTATION",
20587 "-D_DEBUG",
20588 "-D_GNU_SOURCE",
20589 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20590 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20591 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20592 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20593 "-D__STDC_CONSTANT_MACROS",
20594 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020595 ],
20596 local_include_dirs: [
20597 "./",
20598 "buildtools/third_party/libc++/",
20599 "buildtools/third_party/libc++/trunk/include",
20600 "buildtools/third_party/libc++abi/trunk/include",
20601 ],
20602 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090020603 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020604 android_arm: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020605 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020606 "-DADLER32_SIMD_NEON",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020607 "-DANDROID",
20608 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20609 "-DHAVE_SYS_UIO_H",
Motomu Utsumi55394632022-11-18 17:44:28 +090020610 ],
20611 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090020612 android_arm64: {
20613 cflags: [
20614 "-DADLER32_SIMD_NEON",
20615 "-DANDROID",
20616 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20617 "-DHAVE_SYS_UIO_H",
20618 ],
20619 },
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020620 android_x86: {
20621 cflags: [
20622 "-DADLER32_SIMD_SSSE3",
20623 "-DANDROID",
20624 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20625 "-DHAVE_SYS_UIO_H",
20626 "-DX86_NOT_WINDOWS",
20627 "-msse3",
20628 "-mssse3",
20629 ],
20630 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020631 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020632 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020633 "-DADLER32_SIMD_SSSE3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020634 "-DANDROID",
20635 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20636 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020637 "-DX86_NOT_WINDOWS",
20638 "-msse3",
20639 "-mssse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020640 ],
20641 },
20642 host: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020643 cflags: [
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020644 "-DADLER32_SIMD_SSSE3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020645 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20646 "-DUSE_AURA=1",
20647 "-DUSE_OZONE=1",
20648 "-DUSE_UDEV",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020649 "-DX86_NOT_WINDOWS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020650 "-D_FILE_OFFSET_BITS=64",
20651 "-D_LARGEFILE64_SOURCE",
20652 "-D_LARGEFILE_SOURCE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020653 "-msse3",
20654 "-mssse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020655 ],
20656 },
20657 },
Patrick Rohrcb035942022-11-01 12:12:52 -070020658}
20659
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020660// GN: //third_party/zlib:zlib_arm_crc32
20661cc_object {
20662 name: "cronet_aml_third_party_zlib_zlib_arm_crc32",
20663 srcs: [
20664 "third_party/zlib/crc32_simd.c",
20665 ],
20666 defaults: [
20667 "cronet_aml_defaults",
20668 ],
20669 cflags: [
20670 "-DANDROID",
20671 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20672 "-DARMV8_OS_ANDROID",
20673 "-DCRC32_ARMV8_CRC32",
20674 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20675 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20676 "-DDCHECK_ALWAYS_ON=1",
20677 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
20678 "-DHAVE_SYS_UIO_H",
20679 "-DZLIB_DEBUG",
20680 "-DZLIB_IMPLEMENTATION",
20681 "-D_DEBUG",
20682 "-D_GNU_SOURCE",
20683 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20684 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20685 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20686 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20687 "-D__STDC_CONSTANT_MACROS",
20688 "-D__STDC_FORMAT_MACROS",
20689 ],
20690 local_include_dirs: [
20691 "./",
20692 "buildtools/third_party/libc++/",
20693 "buildtools/third_party/libc++/trunk/include",
20694 "buildtools/third_party/libc++abi/trunk/include",
20695 "third_party/zlib/",
20696 ],
20697 cpp_std: "c++20",
20698}
20699
Patrick Rohrcb035942022-11-01 12:12:52 -070020700// GN: //third_party/zlib:zlib_common_headers
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020701cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070020702 name: "cronet_aml_third_party_zlib_zlib_common_headers",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020703 host_supported: true,
20704 defaults: [
20705 "cronet_aml_defaults",
20706 ],
20707 cflags: [
20708 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20709 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20710 "-DDCHECK_ALWAYS_ON=1",
20711 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
20712 "-D_DEBUG",
20713 "-D_GNU_SOURCE",
20714 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20715 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20716 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20717 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20718 "-D__STDC_CONSTANT_MACROS",
20719 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020720 ],
20721 local_include_dirs: [
20722 "./",
20723 "buildtools/third_party/libc++/",
20724 "buildtools/third_party/libc++/trunk/include",
20725 "buildtools/third_party/libc++abi/trunk/include",
20726 ],
20727 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090020728 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020729 android_arm: {
20730 cflags: [
20731 "-DANDROID",
20732 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20733 "-DHAVE_SYS_UIO_H",
20734 ],
20735 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090020736 android_arm64: {
20737 cflags: [
20738 "-DANDROID",
20739 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20740 "-DHAVE_SYS_UIO_H",
20741 ],
20742 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020743 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020744 cflags: [
20745 "-DANDROID",
20746 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20747 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020748 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020749 ],
20750 },
20751 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020752 cflags: [
20753 "-DANDROID",
20754 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20755 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020756 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020757 ],
20758 },
20759 host: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020760 cflags: [
20761 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20762 "-DUSE_AURA=1",
20763 "-DUSE_OZONE=1",
20764 "-DUSE_UDEV",
20765 "-D_FILE_OFFSET_BITS=64",
20766 "-D_LARGEFILE64_SOURCE",
20767 "-D_LARGEFILE_SOURCE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020768 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020769 ],
20770 },
20771 },
20772}
20773
20774// GN: //third_party/zlib:zlib_crc32_simd
20775cc_object {
20776 name: "cronet_aml_third_party_zlib_zlib_crc32_simd",
20777 srcs: [
20778 "third_party/zlib/crc32_simd.c",
20779 "third_party/zlib/crc_folding.c",
20780 ],
20781 host_supported: true,
20782 defaults: [
20783 "cronet_aml_defaults",
20784 ],
20785 cflags: [
20786 "-DCRC32_SIMD_SSE42_PCLMUL",
20787 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20788 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20789 "-DDCHECK_ALWAYS_ON=1",
20790 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
20791 "-DZLIB_DEBUG",
20792 "-DZLIB_IMPLEMENTATION",
20793 "-D_DEBUG",
20794 "-D_GNU_SOURCE",
20795 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20796 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20797 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20798 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20799 "-D__STDC_CONSTANT_MACROS",
20800 "-D__STDC_FORMAT_MACROS",
20801 "-mpclmul",
20802 "-msse3",
20803 "-msse4.2",
20804 ],
20805 local_include_dirs: [
20806 "./",
20807 "buildtools/third_party/libc++/",
20808 "buildtools/third_party/libc++/trunk/include",
20809 "buildtools/third_party/libc++abi/trunk/include",
20810 ],
20811 cpp_std: "c++20",
20812 target: {
20813 android_x86: {
20814 cflags: [
20815 "-DANDROID",
20816 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20817 "-DHAVE_SYS_UIO_H",
20818 ],
20819 },
20820 android_x86_64: {
20821 cflags: [
20822 "-DANDROID",
20823 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20824 "-DHAVE_SYS_UIO_H",
20825 ],
20826 },
20827 host: {
20828 cflags: [
20829 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20830 "-DUSE_AURA=1",
20831 "-DUSE_OZONE=1",
20832 "-DUSE_UDEV",
20833 "-D_FILE_OFFSET_BITS=64",
20834 "-D_LARGEFILE64_SOURCE",
20835 "-D_LARGEFILE_SOURCE",
Motomu Utsumi55394632022-11-18 17:44:28 +090020836 ],
20837 },
20838 },
Patrick Rohrcb035942022-11-01 12:12:52 -070020839}
20840
20841// GN: //third_party/zlib:zlib_inflate_chunk_simd
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020842cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070020843 name: "cronet_aml_third_party_zlib_zlib_inflate_chunk_simd",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020844 srcs: [
20845 "third_party/zlib/contrib/optimizations/inffast_chunk.c",
20846 "third_party/zlib/contrib/optimizations/inflate.c",
20847 ],
20848 host_supported: true,
20849 defaults: [
20850 "cronet_aml_defaults",
20851 ],
20852 cflags: [
20853 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20854 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20855 "-DDCHECK_ALWAYS_ON=1",
20856 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020857 "-DZLIB_DEBUG",
20858 "-DZLIB_IMPLEMENTATION",
20859 "-D_DEBUG",
20860 "-D_GNU_SOURCE",
20861 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20862 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20863 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20864 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020865 ],
20866 local_include_dirs: [
20867 "./",
20868 "buildtools/third_party/libc++/",
20869 "buildtools/third_party/libc++/trunk/include",
20870 "buildtools/third_party/libc++abi/trunk/include",
20871 "third_party/zlib/",
20872 ],
20873 cpp_std: "c++20",
Motomu Utsumi55394632022-11-18 17:44:28 +090020874 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020875 android_arm: {
20876 cflags: [
20877 "-DANDROID",
20878 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20879 "-DHAVE_SYS_UIO_H",
20880 "-DINFLATE_CHUNK_SIMD_NEON",
20881 ],
20882 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090020883 android_arm64: {
20884 cflags: [
20885 "-DANDROID",
20886 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20887 "-DHAVE_SYS_UIO_H",
20888 "-DINFLATE_CHUNK_READ_64LE",
20889 "-DINFLATE_CHUNK_SIMD_NEON",
20890 ],
20891 },
Motomu Utsumi55394632022-11-18 17:44:28 +090020892 android_x86: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020893 cflags: [
20894 "-DANDROID",
20895 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20896 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020897 "-DINFLATE_CHUNK_SIMD_SSE2",
20898 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020899 ],
20900 },
20901 android_x86_64: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020902 cflags: [
20903 "-DANDROID",
20904 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20905 "-DHAVE_SYS_UIO_H",
20906 "-DINFLATE_CHUNK_READ_64LE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020907 "-DINFLATE_CHUNK_SIMD_SSE2",
20908 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020909 ],
20910 },
20911 host: {
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020912 cflags: [
20913 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
20914 "-DINFLATE_CHUNK_READ_64LE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020915 "-DINFLATE_CHUNK_SIMD_SSE2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020916 "-DUSE_AURA=1",
20917 "-DUSE_OZONE=1",
20918 "-DUSE_UDEV",
20919 "-D_FILE_OFFSET_BITS=64",
20920 "-D_LARGEFILE64_SOURCE",
20921 "-D_LARGEFILE_SOURCE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020922 "-msse3",
Motomu Utsumi55394632022-11-18 17:44:28 +090020923 ],
20924 },
20925 },
Patrick Rohrcb035942022-11-01 12:12:52 -070020926}
20927
20928// GN: //third_party/zlib:zlib_slide_hash_simd
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020929cc_object {
Patrick Rohrcb035942022-11-01 12:12:52 -070020930 name: "cronet_aml_third_party_zlib_zlib_slide_hash_simd",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020931 host_supported: true,
20932 defaults: [
20933 "cronet_aml_defaults",
20934 ],
20935 cflags: [
20936 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
20937 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
20938 "-DDCHECK_ALWAYS_ON=1",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020939 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
20940 "-DZLIB_DEBUG",
20941 "-DZLIB_IMPLEMENTATION",
20942 "-D_DEBUG",
20943 "-D_GNU_SOURCE",
20944 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
20945 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
20946 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
20947 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
20948 "-D__STDC_CONSTANT_MACROS",
20949 "-D__STDC_FORMAT_MACROS",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020950 ],
20951 local_include_dirs: [
20952 "./",
20953 "buildtools/third_party/libc++/",
20954 "buildtools/third_party/libc++/trunk/include",
20955 "buildtools/third_party/libc++abi/trunk/include",
20956 ],
20957 cpp_std: "c++20",
20958 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020959 android_arm: {
20960 cflags: [
20961 "-DANDROID",
20962 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20963 "-DDEFLATE_SLIDE_HASH_NEON",
20964 "-DHAVE_SYS_UIO_H",
20965 ],
20966 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090020967 android_arm64: {
20968 cflags: [
20969 "-DANDROID",
20970 "-DANDROID_NDK_VERSION_ROLL=r23_1",
20971 "-DDEFLATE_SLIDE_HASH_NEON",
20972 "-DHAVE_SYS_UIO_H",
20973 ],
20974 },
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020975 android_x86: {
20976 cflags: [
20977 "-DANDROID",
20978 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020979 "-DDEFLATE_SLIDE_HASH_SSE2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020980 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020981 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020982 ],
20983 },
20984 android_x86_64: {
20985 cflags: [
20986 "-DANDROID",
20987 "-DANDROID_NDK_VERSION_ROLL=r23_1",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020988 "-DDEFLATE_SLIDE_HASH_SSE2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020989 "-DHAVE_SYS_UIO_H",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020990 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020991 ],
20992 },
20993 host: {
20994 cflags: [
20995 "-DCR_SYSROOT_KEY=20220331T153654Z-0",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090020996 "-DDEFLATE_SLIDE_HASH_SSE2",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000020997 "-DUSE_AURA=1",
20998 "-DUSE_OZONE=1",
20999 "-DUSE_UDEV",
21000 "-D_FILE_OFFSET_BITS=64",
21001 "-D_LARGEFILE64_SOURCE",
21002 "-D_LARGEFILE_SOURCE",
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021003 "-msse3",
Mohannad Farrag7f29d832022-11-23 19:52:41 +000021004 ],
21005 },
21006 },
Patrick Rohrcb035942022-11-01 12:12:52 -070021007}
21008
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021009// GN: //url:buildflags__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000021010cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021011 name: "cronet_aml_url_buildflags__android_arm",
21012 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
21013 "$(location build/write_buildflag_header.py) --output " +
21014 "$(out) " +
21015 "--rulename " +
21016 "//url:buildflags " +
21017 "--gen-dir " +
21018 ". " +
21019 "--definitions " +
21020 "/dev/stdin",
21021 out: [
21022 "url/buildflags.h",
21023 ],
21024 tool_files: [
21025 "build/write_buildflag_header.py",
21026 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090021027 apex_available: [
21028 "com.android.tethering",
21029 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021030}
21031
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090021032// GN: //url:buildflags__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000021033cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090021034 name: "cronet_aml_url_buildflags__android_arm64",
21035 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
21036 "$(location build/write_buildflag_header.py) --output " +
21037 "$(out) " +
21038 "--rulename " +
21039 "//url:buildflags " +
21040 "--gen-dir " +
21041 ". " +
21042 "--definitions " +
21043 "/dev/stdin",
21044 out: [
21045 "url/buildflags.h",
21046 ],
21047 tool_files: [
21048 "build/write_buildflag_header.py",
21049 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090021050 apex_available: [
21051 "com.android.tethering",
21052 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090021053}
21054
Patrick Rohr98600682022-11-18 18:29:15 -080021055// GN: //url:buildflags__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000021056cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080021057 name: "cronet_aml_url_buildflags__android_x86",
21058 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
21059 "$(location build/write_buildflag_header.py) --output " +
21060 "$(out) " +
21061 "--rulename " +
21062 "//url:buildflags " +
21063 "--gen-dir " +
21064 ". " +
21065 "--definitions " +
21066 "/dev/stdin",
21067 out: [
21068 "url/buildflags.h",
21069 ],
21070 tool_files: [
21071 "build/write_buildflag_header.py",
21072 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090021073 apex_available: [
21074 "com.android.tethering",
21075 ],
Patrick Rohr98600682022-11-18 18:29:15 -080021076}
21077
21078// GN: //url:buildflags__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000021079cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080021080 name: "cronet_aml_url_buildflags__android_x86_64",
Patrick Rohrcb035942022-11-01 12:12:52 -070021081 cmd: "echo '--flags USE_PLATFORM_ICU_ALTERNATIVES=\"true\"' | " +
21082 "$(location build/write_buildflag_header.py) --output " +
21083 "$(out) " +
21084 "--rulename " +
21085 "//url:buildflags " +
21086 "--gen-dir " +
21087 ". " +
21088 "--definitions " +
21089 "/dev/stdin",
21090 out: [
21091 "url/buildflags.h",
21092 ],
21093 tool_files: [
21094 "build/write_buildflag_header.py",
21095 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090021096 apex_available: [
21097 "com.android.tethering",
21098 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070021099}
21100
21101// GN: //url:url
21102cc_library_static {
21103 name: "cronet_aml_url_url",
21104 srcs: [
Patrick Rohrcb035942022-11-01 12:12:52 -070021105 "url/gurl.cc",
21106 "url/origin.cc",
21107 "url/scheme_host_port.cc",
21108 "url/third_party/mozilla/url_parse.cc",
21109 "url/url_canon.cc",
21110 "url/url_canon_etc.cc",
21111 "url/url_canon_filesystemurl.cc",
21112 "url/url_canon_fileurl.cc",
21113 "url/url_canon_host.cc",
21114 "url/url_canon_internal.cc",
21115 "url/url_canon_ip.cc",
21116 "url/url_canon_mailtourl.cc",
21117 "url/url_canon_path.cc",
21118 "url/url_canon_pathurl.cc",
21119 "url/url_canon_query.cc",
21120 "url/url_canon_relative.cc",
21121 "url/url_canon_stdstring.cc",
21122 "url/url_canon_stdurl.cc",
21123 "url/url_constants.cc",
21124 "url/url_idna_icu_alternatives_android.cc",
21125 "url/url_parse_file.cc",
21126 "url/url_util.cc",
21127 ],
21128 shared_libs: [
21129 "libandroid",
21130 "liblog",
21131 ],
21132 static_libs: [
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080021133 "cronet_aml_base_allocator_partition_allocator_partition_alloc",
Patrick Rohrcb035942022-11-01 12:12:52 -070021134 "cronet_aml_base_base",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080021135 "cronet_aml_base_base_static",
21136 "cronet_aml_base_third_party_double_conversion_double_conversion",
Patrick Rohrcb035942022-11-01 12:12:52 -070021137 "cronet_aml_base_third_party_dynamic_annotations_dynamic_annotations",
Motomu Utsumib568c6d2022-11-14 15:28:22 +090021138 "cronet_aml_third_party_boringssl_boringssl",
Patrick Rohr5de9f2e2022-11-11 15:33:20 -080021139 "cronet_aml_third_party_icu_icui18n",
21140 "cronet_aml_third_party_icu_icuuc_private",
21141 "cronet_aml_third_party_libevent_libevent",
21142 "cronet_aml_third_party_modp_b64_modp_b64",
Patrick Rohrcb035942022-11-01 12:12:52 -070021143 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070021144 defaults: [
21145 "cronet_aml_defaults",
21146 ],
21147 cflags: [
21148 "-DANDROID",
21149 "-DANDROID_NDK_VERSION_ROLL=r23_1",
21150 "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"",
21151 "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc",
21152 "-DDCHECK_ALWAYS_ON=1",
21153 "-DDYNAMIC_ANNOTATIONS_ENABLED=1",
21154 "-DHAVE_SYS_UIO_H",
21155 "-DIS_URL_IMPL",
21156 "-D_DEBUG",
21157 "-D_GNU_SOURCE",
21158 "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1",
21159 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
21160 "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1",
21161 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
21162 "-D__STDC_CONSTANT_MACROS",
21163 "-D__STDC_FORMAT_MACROS",
21164 ],
21165 local_include_dirs: [
21166 "./",
21167 "buildtools/third_party/libc++/",
21168 "buildtools/third_party/libc++/trunk/include",
21169 "buildtools/third_party/libc++abi/trunk/include",
21170 "third_party/abseil-cpp/",
21171 "third_party/boringssl/src/include/",
Patrick Rohrcb035942022-11-01 12:12:52 -070021172 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070021173 cpp_std: "c++20",
Mohannad Farrag631443e2022-11-21 16:17:01 +000021174 target: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021175 android_arm: {
21176 generated_headers: [
21177 "cronet_aml_base_debugging_buildflags__android_arm",
21178 "cronet_aml_base_logging_buildflags__android_arm",
21179 "cronet_aml_build_chromeos_buildflags__android_arm",
21180 "cronet_aml_url_buildflags__android_arm",
21181 "cronet_aml_url_url_jni_headers__android_arm",
21182 ],
21183 export_generated_headers: [
21184 "cronet_aml_base_debugging_buildflags__android_arm",
21185 "cronet_aml_base_logging_buildflags__android_arm",
21186 "cronet_aml_build_chromeos_buildflags__android_arm",
21187 "cronet_aml_url_buildflags__android_arm",
21188 "cronet_aml_url_url_jni_headers__android_arm",
21189 ],
21190 },
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090021191 android_arm64: {
21192 generated_headers: [
21193 "cronet_aml_base_debugging_buildflags__android_arm64",
21194 "cronet_aml_base_logging_buildflags__android_arm64",
21195 "cronet_aml_build_chromeos_buildflags__android_arm64",
21196 "cronet_aml_url_buildflags__android_arm64",
21197 "cronet_aml_url_url_jni_headers__android_arm64",
21198 ],
21199 export_generated_headers: [
21200 "cronet_aml_base_debugging_buildflags__android_arm64",
21201 "cronet_aml_base_logging_buildflags__android_arm64",
21202 "cronet_aml_build_chromeos_buildflags__android_arm64",
21203 "cronet_aml_url_buildflags__android_arm64",
21204 "cronet_aml_url_url_jni_headers__android_arm64",
21205 ],
21206 },
Mohannad Farrag631443e2022-11-21 16:17:01 +000021207 android_x86: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021208 cflags: [
21209 "-msse3",
21210 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000021211 generated_headers: [
21212 "cronet_aml_base_debugging_buildflags__android_x86",
21213 "cronet_aml_base_logging_buildflags__android_x86",
21214 "cronet_aml_build_chromeos_buildflags__android_x86",
21215 "cronet_aml_url_buildflags__android_x86",
21216 "cronet_aml_url_url_jni_headers__android_x86",
21217 ],
21218 export_generated_headers: [
21219 "cronet_aml_base_debugging_buildflags__android_x86",
21220 "cronet_aml_base_logging_buildflags__android_x86",
21221 "cronet_aml_build_chromeos_buildflags__android_x86",
21222 "cronet_aml_url_buildflags__android_x86",
21223 "cronet_aml_url_url_jni_headers__android_x86",
21224 ],
21225 },
21226 android_x86_64: {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021227 cflags: [
21228 "-msse3",
21229 ],
Mohannad Farrag631443e2022-11-21 16:17:01 +000021230 generated_headers: [
21231 "cronet_aml_base_debugging_buildflags__android_x86_64",
21232 "cronet_aml_base_logging_buildflags__android_x86_64",
21233 "cronet_aml_build_chromeos_buildflags__android_x86_64",
21234 "cronet_aml_url_buildflags__android_x86_64",
21235 "cronet_aml_url_url_jni_headers__android_x86_64",
21236 ],
21237 export_generated_headers: [
21238 "cronet_aml_base_debugging_buildflags__android_x86_64",
21239 "cronet_aml_base_logging_buildflags__android_x86_64",
21240 "cronet_aml_build_chromeos_buildflags__android_x86_64",
21241 "cronet_aml_url_buildflags__android_x86_64",
21242 "cronet_aml_url_url_jni_headers__android_x86_64",
21243 ],
21244 },
21245 },
Patrick Rohrcb035942022-11-01 12:12:52 -070021246}
21247
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021248// GN: //url:url_jni_headers__android_arm
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000021249cc_genrule {
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021250 name: "cronet_aml_url_url_jni_headers__android_arm",
21251 srcs: [
21252 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
21253 "url/android/java/src/org/chromium/url/Origin.java",
21254 ],
21255 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
21256 "long " +
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021257 "--output_dir " +
21258 "$(genDir)/url/url_jni_headers " +
21259 "--includes " +
21260 "base/android/jni_generator/jni_generator_helper.h " +
21261 "--use_proxy_hash " +
21262 "--output_name " +
21263 "IDNStringUtil_jni.h " +
21264 "--output_name " +
21265 "Origin_jni.h " +
21266 "--input_file " +
21267 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
21268 "--input_file " +
21269 "$(location url/android/java/src/org/chromium/url/Origin.java)",
21270 out: [
21271 "url/url_jni_headers/IDNStringUtil_jni.h",
21272 "url/url_jni_headers/Origin_jni.h",
21273 ],
21274 tool_files: [
21275 "base/android/jni_generator/android_jar.classes",
21276 "base/android/jni_generator/jni_generator.py",
21277 "build/android/gyp/util/__init__.py",
21278 "build/android/gyp/util/build_utils.py",
21279 "build/gn_helpers.py",
21280 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090021281 apex_available: [
21282 "com.android.tethering",
21283 ],
Motomu Utsumi5684cfd2022-11-28 12:14:51 +090021284}
21285
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090021286// GN: //url:url_jni_headers__android_arm64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000021287cc_genrule {
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090021288 name: "cronet_aml_url_url_jni_headers__android_arm64",
21289 srcs: [
21290 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
21291 "url/android/java/src/org/chromium/url/Origin.java",
21292 ],
21293 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
21294 "long " +
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090021295 "--output_dir " +
21296 "$(genDir)/url/url_jni_headers " +
21297 "--includes " +
21298 "base/android/jni_generator/jni_generator_helper.h " +
21299 "--use_proxy_hash " +
21300 "--output_name " +
21301 "IDNStringUtil_jni.h " +
21302 "--output_name " +
21303 "Origin_jni.h " +
21304 "--input_file " +
21305 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
21306 "--input_file " +
21307 "$(location url/android/java/src/org/chromium/url/Origin.java)",
21308 out: [
21309 "url/url_jni_headers/IDNStringUtil_jni.h",
21310 "url/url_jni_headers/Origin_jni.h",
21311 ],
21312 tool_files: [
21313 "base/android/jni_generator/android_jar.classes",
21314 "base/android/jni_generator/jni_generator.py",
21315 "build/android/gyp/util/__init__.py",
21316 "build/android/gyp/util/build_utils.py",
21317 "build/gn_helpers.py",
21318 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090021319 apex_available: [
21320 "com.android.tethering",
21321 ],
Motomu Utsumi8b291dc2022-11-28 12:20:17 +090021322}
21323
Patrick Rohr98600682022-11-18 18:29:15 -080021324// GN: //url:url_jni_headers__android_x86
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000021325cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080021326 name: "cronet_aml_url_url_jni_headers__android_x86",
21327 srcs: [
21328 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
21329 "url/android/java/src/org/chromium/url/Origin.java",
21330 ],
21331 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
21332 "long " +
Patrick Rohr98600682022-11-18 18:29:15 -080021333 "--output_dir " +
21334 "$(genDir)/url/url_jni_headers " +
21335 "--includes " +
21336 "base/android/jni_generator/jni_generator_helper.h " +
21337 "--use_proxy_hash " +
21338 "--output_name " +
21339 "IDNStringUtil_jni.h " +
21340 "--output_name " +
21341 "Origin_jni.h " +
21342 "--input_file " +
21343 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
21344 "--input_file " +
21345 "$(location url/android/java/src/org/chromium/url/Origin.java)",
21346 out: [
21347 "url/url_jni_headers/IDNStringUtil_jni.h",
21348 "url/url_jni_headers/Origin_jni.h",
21349 ],
21350 tool_files: [
21351 "base/android/jni_generator/android_jar.classes",
21352 "base/android/jni_generator/jni_generator.py",
21353 "build/android/gyp/util/__init__.py",
21354 "build/android/gyp/util/build_utils.py",
21355 "build/gn_helpers.py",
21356 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090021357 apex_available: [
21358 "com.android.tethering",
21359 ],
Patrick Rohr98600682022-11-18 18:29:15 -080021360}
21361
21362// GN: //url:url_jni_headers__android_x86_64
Mohannad Farrag1de6cb12022-11-28 12:27:26 +000021363cc_genrule {
Patrick Rohr98600682022-11-18 18:29:15 -080021364 name: "cronet_aml_url_url_jni_headers__android_x86_64",
Patrick Rohrcb035942022-11-01 12:12:52 -070021365 srcs: [
21366 "url/android/java/src/org/chromium/url/IDNStringUtil.java",
21367 "url/android/java/src/org/chromium/url/Origin.java",
21368 ],
21369 cmd: "$(location base/android/jni_generator/jni_generator.py) --ptr_type " +
21370 "long " +
Patrick Rohrcb035942022-11-01 12:12:52 -070021371 "--output_dir " +
21372 "$(genDir)/url/url_jni_headers " +
21373 "--includes " +
21374 "base/android/jni_generator/jni_generator_helper.h " +
21375 "--use_proxy_hash " +
21376 "--output_name " +
21377 "IDNStringUtil_jni.h " +
21378 "--output_name " +
21379 "Origin_jni.h " +
21380 "--input_file " +
21381 "$(location url/android/java/src/org/chromium/url/IDNStringUtil.java) " +
21382 "--input_file " +
21383 "$(location url/android/java/src/org/chromium/url/Origin.java)",
21384 out: [
21385 "url/url_jni_headers/IDNStringUtil_jni.h",
21386 "url/url_jni_headers/Origin_jni.h",
21387 ],
21388 tool_files: [
Mohannad Farrag18d7b512022-11-07 13:26:30 +000021389 "base/android/jni_generator/android_jar.classes",
Patrick Rohrcb035942022-11-01 12:12:52 -070021390 "base/android/jni_generator/jni_generator.py",
21391 "build/android/gyp/util/__init__.py",
21392 "build/android/gyp/util/build_utils.py",
21393 "build/gn_helpers.py",
21394 ],
Motomu Utsumi8ca12412022-11-30 16:27:30 +090021395 apex_available: [
21396 "com.android.tethering",
21397 ],
Patrick Rohrcb035942022-11-01 12:12:52 -070021398}
21399