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