Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 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. Do not edit. |
| 16 | |
Motomu Utsumi | bf569d4 | 2022-10-28 16:47:34 +0900 | [diff] [blame^] | 17 | // GN: //base:base_static |
| 18 | cc_library_static { |
| 19 | name: "cronet_aml_base_base_static", |
| 20 | srcs: [ |
| 21 | "base/base_switches.cc", |
| 22 | ], |
| 23 | generated_headers: [ |
| 24 | "cronet_aml_build_chromeos_buildflags", |
| 25 | ], |
| 26 | export_generated_headers: [ |
| 27 | "cronet_aml_build_chromeos_buildflags", |
| 28 | ], |
| 29 | defaults: [ |
| 30 | "cronet_aml_defaults", |
| 31 | ], |
| 32 | cflags: [ |
| 33 | "-DANDROID", |
| 34 | "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| 35 | "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"", |
| 36 | "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc", |
| 37 | "-DDCHECK_ALWAYS_ON=1", |
| 38 | "-DDYNAMIC_ANNOTATIONS_ENABLED=1", |
| 39 | "-DHAVE_SYS_UIO_H", |
| 40 | "-D_DEBUG", |
| 41 | "-D_GNU_SOURCE", |
| 42 | "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1", |
| 43 | "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
| 44 | "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1", |
| 45 | "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| 46 | "-D__STDC_CONSTANT_MACROS", |
| 47 | "-D__STDC_FORMAT_MACROS", |
| 48 | ], |
| 49 | local_include_dirs: [ |
| 50 | "./", |
| 51 | "buildtools/third_party/libc++/", |
| 52 | "out/test/gen/", |
| 53 | ], |
| 54 | } |
| 55 | |
| 56 | // GN: //build:buildflag_header_h |
| 57 | filegroup { |
| 58 | name: "cronet_aml_build_buildflag_header_h", |
| 59 | } |
| 60 | |
| 61 | // GN: //build:chromeos_buildflags |
| 62 | genrule { |
| 63 | name: "cronet_aml_build_chromeos_buildflags", |
| 64 | cmd: "echo '--flags IS_CHROMEOS_DEVICE=false IS_CHROMEOS_LACROS=false IS_CHROMEOS_ASH=false IS_CHROMEOS_WITH_HW_DETAILS=false IS_REVEN=false' | $(location build/write_buildflag_header.py) --output $(out) --rulename //build:chromeos_buildflags --gen-dir . --definitions /dev/stdin", |
| 65 | out: [ |
| 66 | "build/chromeos_buildflags.h", |
| 67 | ], |
| 68 | tool_files: [ |
| 69 | "build/write_buildflag_header.py", |
| 70 | ], |
| 71 | } |
| 72 | |
Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 73 | // GN: //gn:default_deps |
| 74 | cc_defaults { |
| 75 | name: "cronet_aml_defaults", |
| 76 | cflags: [ |
| 77 | "-O2", |
| 78 | "-Wno-error=return-type", |
| 79 | "-Wno-sign-compare", |
| 80 | "-Wno-sign-promo", |
| 81 | "-Wno-unused-parameter", |
| 82 | "-fvisibility=hidden", |
| 83 | ], |
| 84 | } |
| 85 | |
| 86 | // GN: //third_party/android_ndk:cpu_features |
| 87 | filegroup { |
| 88 | name: "cronet_aml_third_party_android_ndk_cpu_features", |
| 89 | srcs: [ |
| 90 | "third_party/android_ndk/sources/android/cpufeatures/cpu-features.c", |
| 91 | ], |
| 92 | } |
| 93 | |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 94 | // GN: //third_party/libevent:libevent |
| 95 | cc_library_static { |
| 96 | name: "cronet_aml_third_party_libevent_libevent", |
| 97 | srcs: [ |
| 98 | "third_party/libevent/buffer.c", |
| 99 | "third_party/libevent/epoll.c", |
| 100 | "third_party/libevent/evbuffer.c", |
| 101 | "third_party/libevent/evdns.c", |
| 102 | "third_party/libevent/event.c", |
| 103 | "third_party/libevent/event_tagging.c", |
| 104 | "third_party/libevent/evrpc.c", |
| 105 | "third_party/libevent/evutil.c", |
| 106 | "third_party/libevent/http.c", |
| 107 | "third_party/libevent/log.c", |
| 108 | "third_party/libevent/poll.c", |
| 109 | "third_party/libevent/select.c", |
| 110 | "third_party/libevent/signal.c", |
| 111 | "third_party/libevent/strlcpy.c", |
| 112 | ], |
| 113 | defaults: [ |
| 114 | "cronet_aml_defaults", |
| 115 | ], |
| 116 | cflags: [ |
| 117 | "-DANDROID", |
| 118 | "-DANDROID_NDK_VERSION_ROLL=r23_1", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 119 | "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"", |
| 120 | "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 121 | "-DDCHECK_ALWAYS_ON=1", |
| 122 | "-DDYNAMIC_ANNOTATIONS_ENABLED=1", |
| 123 | "-DHAVE_CONFIG_H", |
| 124 | "-DHAVE_SYS_UIO_H", |
| 125 | "-D_DEBUG", |
| 126 | "-D_GNU_SOURCE", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 127 | "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 128 | "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 129 | "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 130 | "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
| 131 | ], |
| 132 | local_include_dirs: [ |
| 133 | "./", |
| 134 | "buildtools/third_party/libc++/", |
| 135 | "out/test/gen/", |
| 136 | "third_party/libevent/android/", |
| 137 | ], |
| 138 | } |
| 139 | |
Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 140 | // GN: //third_party/zlib:zlib |
| 141 | cc_library_static { |
| 142 | name: "cronet_aml_third_party_zlib_zlib", |
| 143 | srcs: [ |
| 144 | ":cronet_aml_third_party_android_ndk_cpu_features", |
| 145 | "third_party/zlib/adler32.c", |
| 146 | "third_party/zlib/compress.c", |
| 147 | "third_party/zlib/cpu_features.c", |
| 148 | "third_party/zlib/crc32.c", |
| 149 | "third_party/zlib/deflate.c", |
| 150 | "third_party/zlib/gzclose.c", |
| 151 | "third_party/zlib/gzlib.c", |
| 152 | "third_party/zlib/gzread.c", |
| 153 | "third_party/zlib/gzwrite.c", |
| 154 | "third_party/zlib/infback.c", |
| 155 | "third_party/zlib/inffast.c", |
| 156 | "third_party/zlib/inflate.c", |
| 157 | "third_party/zlib/inftrees.c", |
| 158 | "third_party/zlib/trees.c", |
| 159 | "third_party/zlib/uncompr.c", |
| 160 | "third_party/zlib/zutil.c", |
| 161 | ], |
| 162 | defaults: [ |
| 163 | "cronet_aml_defaults", |
| 164 | ], |
| 165 | cflags: [ |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 166 | "-DANDROID", |
| 167 | "-DANDROID_NDK_VERSION_ROLL=r23_1", |
| 168 | "-DCPU_NO_SIMD", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 169 | "-DCR_CLANG_REVISION=\"llvmorg-16-init-8697-g60809cd2-1\"", |
| 170 | "-DCR_LIBCXX_REVISION=47b31179d10646029c260702650a25d24f555acc", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 171 | "-DDCHECK_ALWAYS_ON=1", |
| 172 | "-DDYNAMIC_ANNOTATIONS_ENABLED=1", |
| 173 | "-DHAVE_SYS_UIO_H", |
Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 174 | "-DZLIB_DEBUG", |
| 175 | "-DZLIB_IMPLEMENTATION", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 176 | "-D_DEBUG", |
| 177 | "-D_GNU_SOURCE", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 178 | "-D_LIBCPP_AVAILABILITY_CUSTOM_VERBOSE_ABORT_PROVIDED=1", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 179 | "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", |
Motomu Utsumi | efde2d2 | 2022-10-28 12:20:46 +0900 | [diff] [blame] | 180 | "-D_LIBCPP_ENABLE_ASSERTIONS_DEFAULT=1", |
Motomu Utsumi | fa7e926 | 2022-10-26 19:43:02 +0900 | [diff] [blame] | 181 | "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", |
Motomu Utsumi | fcac485 | 2022-10-26 19:28:31 +0900 | [diff] [blame] | 182 | ], |
| 183 | local_include_dirs: [ |
| 184 | "./", |
| 185 | "buildtools/third_party/libc++/", |
| 186 | "out/test/gen/", |
| 187 | "third_party/android_ndk/sources/android/cpufeatures/", |
| 188 | "third_party/zlib/", |
| 189 | ], |
| 190 | } |
| 191 | |