• 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/profiling:exponential_biased
25cc_library_static {
26    name: "stable_cronet_third_party_abseil_cpp_absl_profiling_exponential_biased",
27    srcs: [
28        "internal/exponential_biased.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/profiling:exponential_biased__testing
98cc_library_static {
99    name: "stable_cronet_third_party_abseil_cpp_absl_profiling_exponential_biased__testing",
100    srcs: [
101        "internal/exponential_biased.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