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