• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// 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.py. Do not edit.
16
17// GN: Package-Artificial
18package {
19    default_applicable_licenses: [
20        "stable_cronet_third_party_abseil-cpp_license",
21    ],
22}
23
24// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal
25cc_library_static {
26    name: "stable_cronet_third_party_abseil_cpp_absl_synchronization_graphcycles_internal",
27    srcs: [
28        "internal/graphcycles.cc",
29    ],
30    host_cross_supported: false,
31    defaults: [
32        "stable_cronet_cc_defaults",
33    ],
34    cflags: [
35        "-DABSL_ALLOCATOR_NOTHROW=1",
36        "-DANDROID",
37        "-DANDROID_NDK_VERSION_ROLL=r27_1",
38        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
39        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
40        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
41        "-DHAVE_SYS_UIO_H",
42        "-DNDEBUG",
43        "-DNVALGRIND",
44        "-DOFFICIAL_BUILD",
45        "-DTMP_REBUILD_HACK",
46        "-D_GNU_SOURCE",
47        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
48        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
49        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
50        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
51        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
52        "-fdata-sections",
53        "-ffunction-sections",
54        "-fstack-protector",
55        "-fvisibility-inlines-hidden",
56        "-fvisibility=hidden",
57        "-g1",
58    ],
59    include_dirs: [
60        "external/cronet/stable/",
61        "external/cronet/stable/buildtools/third_party/libc++/",
62        "external/cronet/stable/third_party/abseil-cpp/",
63        "external/cronet/stable/third_party/libc++/src/include",
64        "external/cronet/stable/third_party/libc++abi/src/include",
65    ],
66    cpp_std: "c++20",
67    ldflags: [
68        "-Wl,--as-needed",
69        "-Wl,--gc-sections",
70        "-Wl,--icf=all",
71    ],
72    visibility: [
73        "//external/cronet:__subpackages__",
74    ],
75    target: {
76        android_arm64: {
77            cflags: [
78                "-D__ARM_NEON__=1",
79                "-O2",
80                "-mno-outline",
81            ],
82        },
83        android_x86: {
84            cflags: [
85                "-msse3",
86            ],
87        },
88        android_x86_64: {
89            cflags: [
90                "-O2",
91                "-msse3",
92            ],
93        },
94    },
95}
96
97// GN: //third_party/abseil-cpp/absl/synchronization:graphcycles_internal__testing
98cc_library_static {
99    name: "stable_cronet_third_party_abseil_cpp_absl_synchronization_graphcycles_internal__testing",
100    srcs: [
101        "internal/graphcycles.cc",
102    ],
103    host_supported: true,
104    host_cross_supported: false,
105    defaults: [
106        "stable_cronet_cc_defaults",
107    ],
108    cflags: [
109        "-DABSL_ALLOCATOR_NOTHROW=1",
110        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
111        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
112        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
113        "-DNDEBUG",
114        "-DNVALGRIND",
115        "-DOFFICIAL_BUILD",
116        "-DTMP_REBUILD_HACK",
117        "-D_GNU_SOURCE",
118        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
119        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
120        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
121        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
122        "-fdata-sections",
123        "-ffunction-sections",
124        "-fstack-protector",
125        "-fvisibility-inlines-hidden",
126        "-fvisibility=hidden",
127        "-g1",
128    ],
129    include_dirs: [
130        "external/cronet/stable/",
131        "external/cronet/stable/buildtools/third_party/libc++/",
132        "external/cronet/stable/third_party/abseil-cpp/",
133        "external/cronet/stable/third_party/libc++/src/include",
134        "external/cronet/stable/third_party/libc++abi/src/include",
135    ],
136    cpp_std: "c++20",
137    ldflags: [
138        "-Wl,--as-needed",
139        "-Wl,--gc-sections",
140        "-Wl,--icf=all",
141    ],
142    visibility: [
143        "//external/cronet:__subpackages__",
144    ],
145    target: {
146        android_arm: {
147            cflags: [
148                "-DANDROID",
149                "-DANDROID_NDK_VERSION_ROLL=r27_1",
150                "-DHAVE_SYS_UIO_H",
151                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
152            ],
153        },
154        android_arm64: {
155            cflags: [
156                "-DANDROID",
157                "-DANDROID_NDK_VERSION_ROLL=r27_1",
158                "-DHAVE_SYS_UIO_H",
159                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
160                "-D__ARM_NEON__=1",
161                "-O2",
162                "-mno-outline",
163            ],
164        },
165        android_riscv64: {
166            cflags: [
167                "-DANDROID",
168                "-DANDROID_NDK_VERSION_ROLL=r27_1",
169                "-DHAVE_SYS_UIO_H",
170                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
171            ],
172        },
173        android_x86: {
174            cflags: [
175                "-DANDROID",
176                "-DANDROID_NDK_VERSION_ROLL=r27_1",
177                "-DHAVE_SYS_UIO_H",
178                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
179                "-msse3",
180            ],
181        },
182        android_x86_64: {
183            cflags: [
184                "-DANDROID",
185                "-DANDROID_NDK_VERSION_ROLL=r27_1",
186                "-DHAVE_SYS_UIO_H",
187                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
188                "-O2",
189                "-msse3",
190            ],
191        },
192        host: {
193            cflags: [
194                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
195                "-DNO_UNWIND_TABLES",
196                "-DUSE_AURA=1",
197                "-DUSE_OZONE=1",
198                "-DUSE_UDEV",
199                "-D_FILE_OFFSET_BITS=64",
200                "-D_LARGEFILE64_SOURCE",
201                "-D_LARGEFILE_SOURCE",
202                "-O2",
203                "-fno-asynchronous-unwind-tables",
204                "-fno-unwind-tables",
205                "-msse3",
206            ],
207        },
208    },
209}
210
211// GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal
212cc_library_static {
213    name: "stable_cronet_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal",
214    srcs: [
215        "internal/kernel_timeout.cc",
216    ],
217    host_cross_supported: false,
218    defaults: [
219        "stable_cronet_cc_defaults",
220    ],
221    cflags: [
222        "-DABSL_ALLOCATOR_NOTHROW=1",
223        "-DANDROID",
224        "-DANDROID_NDK_VERSION_ROLL=r27_1",
225        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
226        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
227        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
228        "-DHAVE_SYS_UIO_H",
229        "-DNDEBUG",
230        "-DNVALGRIND",
231        "-DOFFICIAL_BUILD",
232        "-DTMP_REBUILD_HACK",
233        "-D_GNU_SOURCE",
234        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
235        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
236        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
237        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
238        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
239        "-fdata-sections",
240        "-ffunction-sections",
241        "-fstack-protector",
242        "-fvisibility-inlines-hidden",
243        "-fvisibility=hidden",
244        "-g1",
245    ],
246    include_dirs: [
247        "external/cronet/stable/",
248        "external/cronet/stable/buildtools/third_party/libc++/",
249        "external/cronet/stable/third_party/abseil-cpp/",
250        "external/cronet/stable/third_party/libc++/src/include",
251        "external/cronet/stable/third_party/libc++abi/src/include",
252    ],
253    cpp_std: "c++20",
254    ldflags: [
255        "-Wl,--as-needed",
256        "-Wl,--gc-sections",
257        "-Wl,--icf=all",
258    ],
259    visibility: [
260        "//external/cronet:__subpackages__",
261    ],
262    target: {
263        android_arm64: {
264            cflags: [
265                "-D__ARM_NEON__=1",
266                "-O2",
267                "-mno-outline",
268            ],
269        },
270        android_x86: {
271            cflags: [
272                "-msse3",
273            ],
274        },
275        android_x86_64: {
276            cflags: [
277                "-O2",
278                "-msse3",
279            ],
280        },
281    },
282}
283
284// GN: //third_party/abseil-cpp/absl/synchronization:kernel_timeout_internal__testing
285cc_library_static {
286    name: "stable_cronet_third_party_abseil_cpp_absl_synchronization_kernel_timeout_internal__testing",
287    srcs: [
288        "internal/kernel_timeout.cc",
289    ],
290    host_supported: true,
291    host_cross_supported: false,
292    defaults: [
293        "stable_cronet_cc_defaults",
294    ],
295    cflags: [
296        "-DABSL_ALLOCATOR_NOTHROW=1",
297        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
298        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
299        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
300        "-DNDEBUG",
301        "-DNVALGRIND",
302        "-DOFFICIAL_BUILD",
303        "-DTMP_REBUILD_HACK",
304        "-D_GNU_SOURCE",
305        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
306        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
307        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
308        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
309        "-fdata-sections",
310        "-ffunction-sections",
311        "-fstack-protector",
312        "-fvisibility-inlines-hidden",
313        "-fvisibility=hidden",
314        "-g1",
315    ],
316    include_dirs: [
317        "external/cronet/stable/",
318        "external/cronet/stable/buildtools/third_party/libc++/",
319        "external/cronet/stable/third_party/abseil-cpp/",
320        "external/cronet/stable/third_party/libc++/src/include",
321        "external/cronet/stable/third_party/libc++abi/src/include",
322    ],
323    cpp_std: "c++20",
324    ldflags: [
325        "-Wl,--as-needed",
326        "-Wl,--gc-sections",
327        "-Wl,--icf=all",
328    ],
329    visibility: [
330        "//external/cronet:__subpackages__",
331    ],
332    target: {
333        android_arm: {
334            cflags: [
335                "-DANDROID",
336                "-DANDROID_NDK_VERSION_ROLL=r27_1",
337                "-DHAVE_SYS_UIO_H",
338                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
339            ],
340        },
341        android_arm64: {
342            cflags: [
343                "-DANDROID",
344                "-DANDROID_NDK_VERSION_ROLL=r27_1",
345                "-DHAVE_SYS_UIO_H",
346                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
347                "-D__ARM_NEON__=1",
348                "-O2",
349                "-mno-outline",
350            ],
351        },
352        android_riscv64: {
353            cflags: [
354                "-DANDROID",
355                "-DANDROID_NDK_VERSION_ROLL=r27_1",
356                "-DHAVE_SYS_UIO_H",
357                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
358            ],
359        },
360        android_x86: {
361            cflags: [
362                "-DANDROID",
363                "-DANDROID_NDK_VERSION_ROLL=r27_1",
364                "-DHAVE_SYS_UIO_H",
365                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
366                "-msse3",
367            ],
368        },
369        android_x86_64: {
370            cflags: [
371                "-DANDROID",
372                "-DANDROID_NDK_VERSION_ROLL=r27_1",
373                "-DHAVE_SYS_UIO_H",
374                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
375                "-O2",
376                "-msse3",
377            ],
378        },
379        host: {
380            cflags: [
381                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
382                "-DNO_UNWIND_TABLES",
383                "-DUSE_AURA=1",
384                "-DUSE_OZONE=1",
385                "-DUSE_UDEV",
386                "-D_FILE_OFFSET_BITS=64",
387                "-D_LARGEFILE64_SOURCE",
388                "-D_LARGEFILE_SOURCE",
389                "-O2",
390                "-fno-asynchronous-unwind-tables",
391                "-fno-unwind-tables",
392                "-msse3",
393            ],
394        },
395    },
396}
397
398// GN: //third_party/abseil-cpp/absl/synchronization:synchronization
399cc_library_static {
400    name: "stable_cronet_third_party_abseil_cpp_absl_synchronization_synchronization",
401    srcs: [
402        "barrier.cc",
403        "blocking_counter.cc",
404        "internal/create_thread_identity.cc",
405        "internal/futex_waiter.cc",
406        "internal/per_thread_sem.cc",
407        "internal/pthread_waiter.cc",
408        "internal/sem_waiter.cc",
409        "internal/stdcpp_waiter.cc",
410        "internal/waiter_base.cc",
411        "internal/win32_waiter.cc",
412        "mutex.cc",
413        "notification.cc",
414    ],
415    host_cross_supported: false,
416    defaults: [
417        "stable_cronet_cc_defaults",
418    ],
419    cflags: [
420        "-DABSL_ALLOCATOR_NOTHROW=1",
421        "-DANDROID",
422        "-DANDROID_NDK_VERSION_ROLL=r27_1",
423        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
424        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
425        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
426        "-DHAVE_SYS_UIO_H",
427        "-DNDEBUG",
428        "-DNVALGRIND",
429        "-DOFFICIAL_BUILD",
430        "-DTMP_REBUILD_HACK",
431        "-D_GNU_SOURCE",
432        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
433        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
434        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
435        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
436        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
437        "-fdata-sections",
438        "-ffunction-sections",
439        "-fstack-protector",
440        "-fvisibility-inlines-hidden",
441        "-fvisibility=hidden",
442        "-g1",
443    ],
444    include_dirs: [
445        "external/cronet/stable/",
446        "external/cronet/stable/buildtools/third_party/libc++/",
447        "external/cronet/stable/third_party/abseil-cpp/",
448        "external/cronet/stable/third_party/libc++/src/include",
449        "external/cronet/stable/third_party/libc++abi/src/include",
450    ],
451    cpp_std: "c++20",
452    ldflags: [
453        "-Wl,--as-needed",
454        "-Wl,--gc-sections",
455        "-Wl,--icf=all",
456    ],
457    visibility: [
458        "//external/cronet:__subpackages__",
459    ],
460    target: {
461        android_arm64: {
462            cflags: [
463                "-D__ARM_NEON__=1",
464                "-O2",
465                "-mno-outline",
466            ],
467        },
468        android_x86: {
469            cflags: [
470                "-msse3",
471            ],
472        },
473        android_x86_64: {
474            cflags: [
475                "-O2",
476                "-msse3",
477            ],
478        },
479    },
480}
481
482// GN: //third_party/abseil-cpp/absl/synchronization:synchronization__testing
483cc_library_static {
484    name: "stable_cronet_third_party_abseil_cpp_absl_synchronization_synchronization__testing",
485    srcs: [
486        "barrier.cc",
487        "blocking_counter.cc",
488        "internal/create_thread_identity.cc",
489        "internal/futex_waiter.cc",
490        "internal/per_thread_sem.cc",
491        "internal/pthread_waiter.cc",
492        "internal/sem_waiter.cc",
493        "internal/stdcpp_waiter.cc",
494        "internal/waiter_base.cc",
495        "internal/win32_waiter.cc",
496        "mutex.cc",
497        "notification.cc",
498    ],
499    host_supported: true,
500    host_cross_supported: false,
501    defaults: [
502        "stable_cronet_cc_defaults",
503    ],
504    cflags: [
505        "-DABSL_ALLOCATOR_NOTHROW=1",
506        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
507        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
508        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
509        "-DNDEBUG",
510        "-DNVALGRIND",
511        "-DOFFICIAL_BUILD",
512        "-DTMP_REBUILD_HACK",
513        "-D_GNU_SOURCE",
514        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
515        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
516        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
517        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
518        "-fdata-sections",
519        "-ffunction-sections",
520        "-fstack-protector",
521        "-fvisibility-inlines-hidden",
522        "-fvisibility=hidden",
523        "-g1",
524    ],
525    include_dirs: [
526        "external/cronet/stable/",
527        "external/cronet/stable/buildtools/third_party/libc++/",
528        "external/cronet/stable/third_party/abseil-cpp/",
529        "external/cronet/stable/third_party/libc++/src/include",
530        "external/cronet/stable/third_party/libc++abi/src/include",
531    ],
532    cpp_std: "c++20",
533    ldflags: [
534        "-Wl,--as-needed",
535        "-Wl,--gc-sections",
536        "-Wl,--icf=all",
537    ],
538    visibility: [
539        "//external/cronet:__subpackages__",
540    ],
541    target: {
542        android_arm: {
543            cflags: [
544                "-DANDROID",
545                "-DANDROID_NDK_VERSION_ROLL=r27_1",
546                "-DHAVE_SYS_UIO_H",
547                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
548            ],
549        },
550        android_arm64: {
551            cflags: [
552                "-DANDROID",
553                "-DANDROID_NDK_VERSION_ROLL=r27_1",
554                "-DHAVE_SYS_UIO_H",
555                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
556                "-D__ARM_NEON__=1",
557                "-O2",
558                "-mno-outline",
559            ],
560        },
561        android_riscv64: {
562            cflags: [
563                "-DANDROID",
564                "-DANDROID_NDK_VERSION_ROLL=r27_1",
565                "-DHAVE_SYS_UIO_H",
566                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
567            ],
568        },
569        android_x86: {
570            cflags: [
571                "-DANDROID",
572                "-DANDROID_NDK_VERSION_ROLL=r27_1",
573                "-DHAVE_SYS_UIO_H",
574                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
575                "-msse3",
576            ],
577        },
578        android_x86_64: {
579            cflags: [
580                "-DANDROID",
581                "-DANDROID_NDK_VERSION_ROLL=r27_1",
582                "-DHAVE_SYS_UIO_H",
583                "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
584                "-O2",
585                "-msse3",
586            ],
587        },
588        host: {
589            cflags: [
590                "-DCR_SYSROOT_KEY=20230611T210420Z-2",
591                "-DNO_UNWIND_TABLES",
592                "-DUSE_AURA=1",
593                "-DUSE_OZONE=1",
594                "-DUSE_UDEV",
595                "-D_FILE_OFFSET_BITS=64",
596                "-D_LARGEFILE64_SOURCE",
597                "-D_LARGEFILE_SOURCE",
598                "-O2",
599                "-fno-asynchronous-unwind-tables",
600                "-fno-unwind-tables",
601                "-msse3",
602            ],
603        },
604    },
605}
606