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/container:hashtablez_sampler 25cc_library_static { 26 name: "stable_cronet_third_party_abseil_cpp_absl_container_hashtablez_sampler", 27 srcs: [ 28 "internal/hashtablez_sampler.cc", 29 "internal/hashtablez_sampler_force_weak_definition.cc", 30 ], 31 host_cross_supported: false, 32 defaults: [ 33 "stable_cronet_cc_defaults", 34 ], 35 cflags: [ 36 "-DABSL_ALLOCATOR_NOTHROW=1", 37 "-DANDROID", 38 "-DANDROID_NDK_VERSION_ROLL=r27_1", 39 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 40 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 41 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 42 "-DHAVE_SYS_UIO_H", 43 "-DNDEBUG", 44 "-DNVALGRIND", 45 "-DOFFICIAL_BUILD", 46 "-DTMP_REBUILD_HACK", 47 "-D_GNU_SOURCE", 48 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 49 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 50 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 51 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 52 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 53 "-fdata-sections", 54 "-ffunction-sections", 55 "-fstack-protector", 56 "-fvisibility-inlines-hidden", 57 "-fvisibility=hidden", 58 "-g1", 59 ], 60 include_dirs: [ 61 "external/cronet/stable/", 62 "external/cronet/stable/buildtools/third_party/libc++/", 63 "external/cronet/stable/third_party/abseil-cpp/", 64 "external/cronet/stable/third_party/libc++/src/include", 65 "external/cronet/stable/third_party/libc++abi/src/include", 66 ], 67 cpp_std: "c++20", 68 ldflags: [ 69 "-Wl,--as-needed", 70 "-Wl,--gc-sections", 71 "-Wl,--icf=all", 72 ], 73 visibility: [ 74 "//external/cronet:__subpackages__", 75 ], 76 target: { 77 android_arm64: { 78 cflags: [ 79 "-D__ARM_NEON__=1", 80 "-O2", 81 "-mno-outline", 82 ], 83 }, 84 android_x86: { 85 cflags: [ 86 "-msse3", 87 ], 88 }, 89 android_x86_64: { 90 cflags: [ 91 "-O2", 92 "-msse3", 93 ], 94 }, 95 }, 96} 97 98// GN: //third_party/abseil-cpp/absl/container:hashtablez_sampler__testing 99cc_library_static { 100 name: "stable_cronet_third_party_abseil_cpp_absl_container_hashtablez_sampler__testing", 101 srcs: [ 102 "internal/hashtablez_sampler.cc", 103 "internal/hashtablez_sampler_force_weak_definition.cc", 104 ], 105 host_supported: true, 106 host_cross_supported: false, 107 defaults: [ 108 "stable_cronet_cc_defaults", 109 ], 110 cflags: [ 111 "-DABSL_ALLOCATOR_NOTHROW=1", 112 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 113 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 114 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 115 "-DNDEBUG", 116 "-DNVALGRIND", 117 "-DOFFICIAL_BUILD", 118 "-DTMP_REBUILD_HACK", 119 "-D_GNU_SOURCE", 120 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 121 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 122 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 123 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 124 "-fdata-sections", 125 "-ffunction-sections", 126 "-fstack-protector", 127 "-fvisibility-inlines-hidden", 128 "-fvisibility=hidden", 129 "-g1", 130 ], 131 include_dirs: [ 132 "external/cronet/stable/", 133 "external/cronet/stable/buildtools/third_party/libc++/", 134 "external/cronet/stable/third_party/abseil-cpp/", 135 "external/cronet/stable/third_party/libc++/src/include", 136 "external/cronet/stable/third_party/libc++abi/src/include", 137 ], 138 cpp_std: "c++20", 139 ldflags: [ 140 "-Wl,--as-needed", 141 "-Wl,--gc-sections", 142 "-Wl,--icf=all", 143 ], 144 visibility: [ 145 "//external/cronet:__subpackages__", 146 ], 147 target: { 148 android_arm: { 149 cflags: [ 150 "-DANDROID", 151 "-DANDROID_NDK_VERSION_ROLL=r27_1", 152 "-DHAVE_SYS_UIO_H", 153 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 154 ], 155 }, 156 android_arm64: { 157 cflags: [ 158 "-DANDROID", 159 "-DANDROID_NDK_VERSION_ROLL=r27_1", 160 "-DHAVE_SYS_UIO_H", 161 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 162 "-D__ARM_NEON__=1", 163 "-O2", 164 "-mno-outline", 165 ], 166 }, 167 android_riscv64: { 168 cflags: [ 169 "-DANDROID", 170 "-DANDROID_NDK_VERSION_ROLL=r27_1", 171 "-DHAVE_SYS_UIO_H", 172 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 173 ], 174 }, 175 android_x86: { 176 cflags: [ 177 "-DANDROID", 178 "-DANDROID_NDK_VERSION_ROLL=r27_1", 179 "-DHAVE_SYS_UIO_H", 180 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 181 "-msse3", 182 ], 183 }, 184 android_x86_64: { 185 cflags: [ 186 "-DANDROID", 187 "-DANDROID_NDK_VERSION_ROLL=r27_1", 188 "-DHAVE_SYS_UIO_H", 189 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 190 "-O2", 191 "-msse3", 192 ], 193 }, 194 host: { 195 cflags: [ 196 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 197 "-DNO_UNWIND_TABLES", 198 "-DUSE_AURA=1", 199 "-DUSE_OZONE=1", 200 "-DUSE_UDEV", 201 "-D_FILE_OFFSET_BITS=64", 202 "-D_LARGEFILE64_SOURCE", 203 "-D_LARGEFILE_SOURCE", 204 "-O2", 205 "-fno-asynchronous-unwind-tables", 206 "-fno-unwind-tables", 207 "-msse3", 208 ], 209 }, 210 }, 211} 212 213// GN: //third_party/abseil-cpp/absl/container:raw_hash_set 214cc_library_static { 215 name: "stable_cronet_third_party_abseil_cpp_absl_container_raw_hash_set", 216 srcs: [ 217 "internal/raw_hash_set.cc", 218 ], 219 host_cross_supported: false, 220 defaults: [ 221 "stable_cronet_cc_defaults", 222 ], 223 cflags: [ 224 "-DABSL_ALLOCATOR_NOTHROW=1", 225 "-DANDROID", 226 "-DANDROID_NDK_VERSION_ROLL=r27_1", 227 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 228 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 229 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 230 "-DHAVE_SYS_UIO_H", 231 "-DNDEBUG", 232 "-DNVALGRIND", 233 "-DOFFICIAL_BUILD", 234 "-DTMP_REBUILD_HACK", 235 "-D_GNU_SOURCE", 236 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 237 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 238 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 239 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 240 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 241 "-fdata-sections", 242 "-ffunction-sections", 243 "-fstack-protector", 244 "-fvisibility-inlines-hidden", 245 "-fvisibility=hidden", 246 "-g1", 247 ], 248 include_dirs: [ 249 "external/cronet/stable/", 250 "external/cronet/stable/buildtools/third_party/libc++/", 251 "external/cronet/stable/third_party/abseil-cpp/", 252 "external/cronet/stable/third_party/libc++/src/include", 253 "external/cronet/stable/third_party/libc++abi/src/include", 254 ], 255 cpp_std: "c++20", 256 ldflags: [ 257 "-Wl,--as-needed", 258 "-Wl,--gc-sections", 259 "-Wl,--icf=all", 260 ], 261 visibility: [ 262 "//external/cronet:__subpackages__", 263 ], 264 target: { 265 android_arm64: { 266 cflags: [ 267 "-D__ARM_NEON__=1", 268 "-O2", 269 "-mno-outline", 270 ], 271 }, 272 android_x86: { 273 cflags: [ 274 "-msse3", 275 ], 276 }, 277 android_x86_64: { 278 cflags: [ 279 "-O2", 280 "-msse3", 281 ], 282 }, 283 }, 284} 285 286// GN: //third_party/abseil-cpp/absl/container:raw_hash_set__testing 287cc_library_static { 288 name: "stable_cronet_third_party_abseil_cpp_absl_container_raw_hash_set__testing", 289 srcs: [ 290 "internal/raw_hash_set.cc", 291 ], 292 host_supported: true, 293 host_cross_supported: false, 294 defaults: [ 295 "stable_cronet_cc_defaults", 296 ], 297 cflags: [ 298 "-DABSL_ALLOCATOR_NOTHROW=1", 299 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 300 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 301 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 302 "-DNDEBUG", 303 "-DNVALGRIND", 304 "-DOFFICIAL_BUILD", 305 "-DTMP_REBUILD_HACK", 306 "-D_GNU_SOURCE", 307 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 308 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 309 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 310 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 311 "-fdata-sections", 312 "-ffunction-sections", 313 "-fstack-protector", 314 "-fvisibility-inlines-hidden", 315 "-fvisibility=hidden", 316 "-g1", 317 ], 318 include_dirs: [ 319 "external/cronet/stable/", 320 "external/cronet/stable/buildtools/third_party/libc++/", 321 "external/cronet/stable/third_party/abseil-cpp/", 322 "external/cronet/stable/third_party/libc++/src/include", 323 "external/cronet/stable/third_party/libc++abi/src/include", 324 ], 325 cpp_std: "c++20", 326 ldflags: [ 327 "-Wl,--as-needed", 328 "-Wl,--gc-sections", 329 "-Wl,--icf=all", 330 ], 331 visibility: [ 332 "//external/cronet:__subpackages__", 333 ], 334 target: { 335 android_arm: { 336 cflags: [ 337 "-DANDROID", 338 "-DANDROID_NDK_VERSION_ROLL=r27_1", 339 "-DHAVE_SYS_UIO_H", 340 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 341 ], 342 }, 343 android_arm64: { 344 cflags: [ 345 "-DANDROID", 346 "-DANDROID_NDK_VERSION_ROLL=r27_1", 347 "-DHAVE_SYS_UIO_H", 348 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 349 "-D__ARM_NEON__=1", 350 "-O2", 351 "-mno-outline", 352 ], 353 }, 354 android_riscv64: { 355 cflags: [ 356 "-DANDROID", 357 "-DANDROID_NDK_VERSION_ROLL=r27_1", 358 "-DHAVE_SYS_UIO_H", 359 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 360 ], 361 }, 362 android_x86: { 363 cflags: [ 364 "-DANDROID", 365 "-DANDROID_NDK_VERSION_ROLL=r27_1", 366 "-DHAVE_SYS_UIO_H", 367 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 368 "-msse3", 369 ], 370 }, 371 android_x86_64: { 372 cflags: [ 373 "-DANDROID", 374 "-DANDROID_NDK_VERSION_ROLL=r27_1", 375 "-DHAVE_SYS_UIO_H", 376 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 377 "-O2", 378 "-msse3", 379 ], 380 }, 381 host: { 382 cflags: [ 383 "-DCR_SYSROOT_KEY=20230611T210420Z-2", 384 "-DNO_UNWIND_TABLES", 385 "-DUSE_AURA=1", 386 "-DUSE_OZONE=1", 387 "-DUSE_UDEV", 388 "-D_FILE_OFFSET_BITS=64", 389 "-D_LARGEFILE64_SOURCE", 390 "-D_LARGEFILE_SOURCE", 391 "-O2", 392 "-fno-asynchronous-unwind-tables", 393 "-fno-unwind-tables", 394 "-msse3", 395 ], 396 }, 397 }, 398} 399