// Copyright (C) 2022 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // This file is automatically generated by gn2bp/gen_android_bp.py. Do not edit. // GN: Package-Artificial package { default_applicable_licenses: [ "external_cronet_third_party_libc++_license", ], } // GN: License-Artificial license { name: "external_cronet_third_party_libc++_license", visibility: [ ":__subpackages__", ], license_text: [ "LICENSE", ], license_kinds: [ "SPDX-license-identifier-MIT", ], } // GN: //buildtools/third_party/libc++:libc++ cc_library_static { name: "cronet_aml_buildtools_third_party_libc___libc__", srcs: [ "src/src/algorithm.cpp", "src/src/any.cpp", "src/src/atomic.cpp", "src/src/barrier.cpp", "src/src/bind.cpp", "src/src/call_once.cpp", "src/src/charconv.cpp", "src/src/chrono.cpp", "src/src/condition_variable.cpp", "src/src/condition_variable_destructor.cpp", "src/src/error_category.cpp", "src/src/exception.cpp", "src/src/filesystem/directory_iterator.cpp", "src/src/filesystem/filesystem_error.cpp", "src/src/filesystem/operations.cpp", "src/src/filesystem/path.cpp", "src/src/functional.cpp", "src/src/future.cpp", "src/src/hash.cpp", "src/src/ios.cpp", "src/src/ios.instantiations.cpp", "src/src/iostream.cpp", "src/src/legacy_pointer_safety.cpp", "src/src/locale.cpp", "src/src/memory.cpp", "src/src/mutex.cpp", "src/src/mutex_destructor.cpp", "src/src/new.cpp", "src/src/new_handler.cpp", "src/src/new_helpers.cpp", "src/src/optional.cpp", "src/src/random.cpp", "src/src/random_shuffle.cpp", "src/src/regex.cpp", "src/src/ryu/d2fixed.cpp", "src/src/ryu/d2s.cpp", "src/src/ryu/f2s.cpp", "src/src/shared_mutex.cpp", "src/src/stdexcept.cpp", "src/src/string.cpp", "src/src/strstream.cpp", "src/src/system_error.cpp", "src/src/thread.cpp", "src/src/typeinfo.cpp", "src/src/valarray.cpp", "src/src/variant.cpp", "src/src/vector.cpp", "src/src/verbose_abort.cpp", ], host_supported: true, defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DLIBCXX_BUILDING_LIBCXXABI", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_BUILDING_LIBRARY", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-fdata-sections", "-ffunction-sections", "-fno-asynchronous-unwind-tables", "-fno-unwind-tables", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++/src/src/", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], cppflags: [ "-fexceptions", ], visibility: [ "//external/cronet:__subpackages__", ], rtti: true, target: { android_arm: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], }, android_arm64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-O2", "-mno-outline", ], }, android_riscv64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], }, android_x86: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], }, android_x86_64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], }, host: { srcs: [ "src/src/filesystem/directory_entry.cpp", "src/src/filesystem/filesystem_clock.cpp", ], cflags: [ "-DCR_SYSROOT_KEY=20230611T210420Z-2", "-DUSE_AURA=1", "-DUSE_OZONE=1", "-DUSE_UDEV", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE64_SOURCE", "-D_LARGEFILE_SOURCE", "-O2", "-msse3", ], compile_multilib: "64", }, }, } // GN: //buildtools/third_party/libc++:libc++__testing cc_library_static { name: "cronet_aml_buildtools_third_party_libc___libc____testing", srcs: [ "src/src/algorithm.cpp", "src/src/any.cpp", "src/src/atomic.cpp", "src/src/barrier.cpp", "src/src/bind.cpp", "src/src/call_once.cpp", "src/src/charconv.cpp", "src/src/chrono.cpp", "src/src/condition_variable.cpp", "src/src/condition_variable_destructor.cpp", "src/src/error_category.cpp", "src/src/exception.cpp", "src/src/filesystem/directory_iterator.cpp", "src/src/filesystem/filesystem_error.cpp", "src/src/filesystem/operations.cpp", "src/src/filesystem/path.cpp", "src/src/functional.cpp", "src/src/future.cpp", "src/src/hash.cpp", "src/src/ios.cpp", "src/src/ios.instantiations.cpp", "src/src/iostream.cpp", "src/src/legacy_pointer_safety.cpp", "src/src/locale.cpp", "src/src/memory.cpp", "src/src/mutex.cpp", "src/src/mutex_destructor.cpp", "src/src/new.cpp", "src/src/new_handler.cpp", "src/src/new_helpers.cpp", "src/src/optional.cpp", "src/src/random.cpp", "src/src/random_shuffle.cpp", "src/src/regex.cpp", "src/src/ryu/d2fixed.cpp", "src/src/ryu/d2s.cpp", "src/src/ryu/f2s.cpp", "src/src/shared_mutex.cpp", "src/src/stdexcept.cpp", "src/src/string.cpp", "src/src/strstream.cpp", "src/src/system_error.cpp", "src/src/thread.cpp", "src/src/typeinfo.cpp", "src/src/valarray.cpp", "src/src/variant.cpp", "src/src/vector.cpp", "src/src/verbose_abort.cpp", ], host_supported: true, defaults: [ "cronet_aml_cc_defaults", ], cflags: [ "-DCR_CLANG_REVISION=\"llvmorg-19-init-8091-gab037c4f-22\"", "-DCR_LIBCXX_REVISION=e3b94d0e5b86883fd77696bf10dc33ba250ba99b", "-DDYNAMIC_ANNOTATIONS_ENABLED=0", "-DLIBCXX_BUILDING_LIBCXXABI", "-DNDEBUG", "-DNO_UNWIND_TABLES", "-DNVALGRIND", "-DOFFICIAL_BUILD", "-D_GNU_SOURCE", "-D_LIBCPP_BUILDING_LIBRARY", "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", "-D_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))", "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", "-fdata-sections", "-ffunction-sections", "-fno-asynchronous-unwind-tables", "-fno-unwind-tables", "-fstack-protector", "-fvisibility-inlines-hidden", "-fvisibility=hidden", "-g1", ], include_dirs: [ "external/cronet/", "external/cronet/buildtools/third_party/libc++/", "external/cronet/third_party/libc++/src/include", "external/cronet/third_party/libc++/src/src/", "external/cronet/third_party/libc++abi/src/include", ], cpp_std: "c++20", ldflags: [ "-Wl,--as-needed", "-Wl,--gc-sections", "-Wl,--icf=all", ], cppflags: [ "-fexceptions", ], visibility: [ "//external/cronet:__subpackages__", ], rtti: true, target: { android_arm: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], }, android_arm64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-O2", "-mno-outline", ], }, android_riscv64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", ], }, android_x86: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], }, android_x86_64: { cflags: [ "-DANDROID", "-DANDROID_NDK_VERSION_ROLL=r26b_1", "-DHAVE_SYS_UIO_H", "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", "-msse3", ], }, host: { srcs: [ "src/src/filesystem/directory_entry.cpp", "src/src/filesystem/filesystem_clock.cpp", ], cflags: [ "-DCR_SYSROOT_KEY=20230611T210420Z-2", "-DUSE_AURA=1", "-DUSE_OZONE=1", "-DUSE_UDEV", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE64_SOURCE", "-D_LARGEFILE_SOURCE", "-O2", "-msse3", ], compile_multilib: "64", }, }, }