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 "external_cronet_license", 21 ], 22} 23 24// GN: //components/miracle_parameter/common:common 25cc_library_static { 26 name: "tot_cronet_components_miracle_parameter_common_common", 27 srcs: [ 28 "public/miracle_parameter.cc", 29 ], 30 shared_libs: [ 31 "libandroid", 32 "liblog", 33 "libz", 34 "tot_cronet_libcrypto", 35 "tot_cronet_libpki", 36 "tot_cronet_libssl", 37 ], 38 host_cross_supported: false, 39 generated_headers: [ 40 "tot_cronet_base_allocator_buildflags", 41 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 42 "tot_cronet_base_anchor_functions_buildflags", 43 "tot_cronet_base_android_runtime_jni_headers__action", 44 "tot_cronet_base_base_jni__action", 45 "tot_cronet_base_base_shared_preferences_jni__action", 46 "tot_cronet_base_build_date", 47 "tot_cronet_base_callback_jni__action", 48 "tot_cronet_base_cfi_buildflags", 49 "tot_cronet_base_check_version_internal_action", 50 "tot_cronet_base_clang_profiling_buildflags", 51 "tot_cronet_base_command_line_jni__action", 52 "tot_cronet_base_content_uri_utils_jni__action", 53 "tot_cronet_base_debugging_buildflags", 54 "tot_cronet_base_feature_list_buildflags", 55 "tot_cronet_base_fuzzing_buildflags", 56 "tot_cronet_base_ios_cronet_buildflags", 57 "tot_cronet_base_jank_tracker_jni__action", 58 "tot_cronet_base_library_loader_jni__action", 59 "tot_cronet_base_memory_jni__action", 60 "tot_cronet_base_metrics_jni__action", 61 "tot_cronet_base_orderfile_buildflags", 62 "tot_cronet_base_power_monitor_buildflags", 63 "tot_cronet_base_process_launcher_jni__action", 64 "tot_cronet_base_profiler_buildflags", 65 "tot_cronet_base_protected_memory_buildflags", 66 "tot_cronet_base_rust_logger_cxx_generated_gen_header", 67 "tot_cronet_base_sanitizer_buildflags", 68 "tot_cronet_base_synchronization_buildflags", 69 "tot_cronet_base_sys_utils_jni__action", 70 "tot_cronet_base_tasks_jni__action", 71 "tot_cronet_base_tracing_buildflags", 72 "tot_cronet_build_blink_buildflags", 73 "tot_cronet_build_branding_buildflags", 74 "tot_cronet_build_chromecast_buildflags", 75 "tot_cronet_build_chromeos_buildflags", 76 "tot_cronet_build_config_compiler_compiler_buildflags", 77 "tot_cronet_build_ios_buildflags", 78 "tot_cronet_build_robolectric_buildflags", 79 "tot_cronet_third_party_jni_zero_generate_jni__action", 80 "tot_cronet_third_party_jni_zero_system_jni__action", 81 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 82 ], 83 export_generated_headers: [ 84 "tot_cronet_base_allocator_buildflags", 85 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 86 "tot_cronet_base_anchor_functions_buildflags", 87 "tot_cronet_base_android_runtime_jni_headers__action", 88 "tot_cronet_base_base_jni__action", 89 "tot_cronet_base_base_shared_preferences_jni__action", 90 "tot_cronet_base_build_date", 91 "tot_cronet_base_callback_jni__action", 92 "tot_cronet_base_cfi_buildflags", 93 "tot_cronet_base_check_version_internal_action", 94 "tot_cronet_base_clang_profiling_buildflags", 95 "tot_cronet_base_command_line_jni__action", 96 "tot_cronet_base_content_uri_utils_jni__action", 97 "tot_cronet_base_debugging_buildflags", 98 "tot_cronet_base_feature_list_buildflags", 99 "tot_cronet_base_fuzzing_buildflags", 100 "tot_cronet_base_ios_cronet_buildflags", 101 "tot_cronet_base_jank_tracker_jni__action", 102 "tot_cronet_base_library_loader_jni__action", 103 "tot_cronet_base_memory_jni__action", 104 "tot_cronet_base_metrics_jni__action", 105 "tot_cronet_base_orderfile_buildflags", 106 "tot_cronet_base_power_monitor_buildflags", 107 "tot_cronet_base_process_launcher_jni__action", 108 "tot_cronet_base_profiler_buildflags", 109 "tot_cronet_base_protected_memory_buildflags", 110 "tot_cronet_base_rust_logger_cxx_generated_gen_header", 111 "tot_cronet_base_sanitizer_buildflags", 112 "tot_cronet_base_synchronization_buildflags", 113 "tot_cronet_base_sys_utils_jni__action", 114 "tot_cronet_base_tasks_jni__action", 115 "tot_cronet_base_tracing_buildflags", 116 "tot_cronet_build_blink_buildflags", 117 "tot_cronet_build_branding_buildflags", 118 "tot_cronet_build_chromecast_buildflags", 119 "tot_cronet_build_chromeos_buildflags", 120 "tot_cronet_build_config_compiler_compiler_buildflags", 121 "tot_cronet_build_ios_buildflags", 122 "tot_cronet_build_robolectric_buildflags", 123 "tot_cronet_third_party_jni_zero_generate_jni__action", 124 "tot_cronet_third_party_jni_zero_system_jni__action", 125 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 126 ], 127 defaults: [ 128 "tot_cronet_cc_defaults", 129 ], 130 cflags: [ 131 "-DANDROID", 132 "-DANDROID_NDK_VERSION_ROLL=r27_1", 133 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 134 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 135 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 136 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 137 "-DHAVE_SYS_UIO_H", 138 "-DIS_MIRACLE_PARAMETER_IMPL", 139 "-DNDEBUG", 140 "-DNVALGRIND", 141 "-DOFFICIAL_BUILD", 142 "-DTMP_REBUILD_HACK", 143 "-D_GNU_SOURCE", 144 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 145 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 146 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 147 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 148 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 149 "-D__STDC_CONSTANT_MACROS", 150 "-D__STDC_FORMAT_MACROS", 151 "-fdata-sections", 152 "-ffunction-sections", 153 "-fstack-protector", 154 "-fvisibility-inlines-hidden", 155 "-fvisibility=hidden", 156 "-g1", 157 ], 158 include_dirs: [ 159 "external/cronet/tot/", 160 "external/cronet/tot/base/allocator/partition_allocator/src/", 161 "external/cronet/tot/buildtools/third_party/libc++/", 162 "external/cronet/tot/third_party/abseil-cpp/", 163 "external/cronet/tot/third_party/boringssl/src/include/", 164 "external/cronet/tot/third_party/libc++/src/include", 165 "external/cronet/tot/third_party/libc++abi/src/include", 166 ], 167 cpp_std: "c++20", 168 ldflags: [ 169 "-Wl,--as-needed", 170 "-Wl,--gc-sections", 171 "-Wl,--icf=all", 172 "-Wl,--script,external/cronet/tot/base/android/library_loader/anchor_functions.lds", 173 ], 174 visibility: [ 175 "//external/cronet:__subpackages__", 176 ], 177 target: { 178 android_arm: { 179 cflags: [ 180 "-D_FORTIFY_SOURCE=2", 181 ], 182 }, 183 android_arm64: { 184 cflags: [ 185 "-D_FORTIFY_SOURCE=2", 186 "-D__ARM_NEON__=1", 187 "-O2", 188 "-mno-outline", 189 ], 190 }, 191 android_x86: { 192 cflags: [ 193 "-D_FORTIFY_SOURCE=2", 194 "-msse3", 195 ], 196 }, 197 android_x86_64: { 198 cflags: [ 199 "-D_FORTIFY_SOURCE=2", 200 "-O2", 201 "-msse3", 202 ], 203 }, 204 }, 205} 206 207// GN: //components/miracle_parameter/common:common__testing 208cc_library_static { 209 name: "tot_cronet_components_miracle_parameter_common_common__testing", 210 srcs: [ 211 "public/miracle_parameter.cc", 212 ], 213 shared_libs: [ 214 "libandroid", 215 "liblog", 216 "libz", 217 ], 218 host_cross_supported: false, 219 generated_headers: [ 220 "tot_cronet_base_allocator_buildflags__testing", 221 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 222 "tot_cronet_base_anchor_functions_buildflags__testing", 223 "tot_cronet_base_build_date__testing", 224 "tot_cronet_base_cfi_buildflags__testing", 225 "tot_cronet_base_check_version_internal_action__testing", 226 "tot_cronet_base_clang_profiling_buildflags__testing", 227 "tot_cronet_base_debugging_buildflags__testing", 228 "tot_cronet_base_feature_list_buildflags__testing", 229 "tot_cronet_base_fuzzing_buildflags__testing", 230 "tot_cronet_base_ios_cronet_buildflags__testing", 231 "tot_cronet_base_orderfile_buildflags__testing", 232 "tot_cronet_base_power_monitor_buildflags__testing", 233 "tot_cronet_base_profiler_buildflags__testing", 234 "tot_cronet_base_protected_memory_buildflags__testing", 235 "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header", 236 "tot_cronet_base_sanitizer_buildflags__testing", 237 "tot_cronet_base_synchronization_buildflags__testing", 238 "tot_cronet_base_tracing_buildflags__testing", 239 "tot_cronet_build_blink_buildflags__testing", 240 "tot_cronet_build_branding_buildflags__testing", 241 "tot_cronet_build_chromecast_buildflags__testing", 242 "tot_cronet_build_chromeos_buildflags__testing", 243 "tot_cronet_build_config_compiler_compiler_buildflags__testing", 244 "tot_cronet_build_ios_buildflags__testing", 245 "tot_cronet_third_party_jni_zero_generate_jni__action__testing", 246 "tot_cronet_third_party_jni_zero_system_jni__action__testing", 247 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 248 ], 249 export_generated_headers: [ 250 "tot_cronet_base_allocator_buildflags__testing", 251 "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 252 "tot_cronet_base_anchor_functions_buildflags__testing", 253 "tot_cronet_base_build_date__testing", 254 "tot_cronet_base_cfi_buildflags__testing", 255 "tot_cronet_base_check_version_internal_action__testing", 256 "tot_cronet_base_clang_profiling_buildflags__testing", 257 "tot_cronet_base_debugging_buildflags__testing", 258 "tot_cronet_base_feature_list_buildflags__testing", 259 "tot_cronet_base_fuzzing_buildflags__testing", 260 "tot_cronet_base_ios_cronet_buildflags__testing", 261 "tot_cronet_base_orderfile_buildflags__testing", 262 "tot_cronet_base_power_monitor_buildflags__testing", 263 "tot_cronet_base_profiler_buildflags__testing", 264 "tot_cronet_base_protected_memory_buildflags__testing", 265 "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header", 266 "tot_cronet_base_sanitizer_buildflags__testing", 267 "tot_cronet_base_synchronization_buildflags__testing", 268 "tot_cronet_base_tracing_buildflags__testing", 269 "tot_cronet_build_blink_buildflags__testing", 270 "tot_cronet_build_branding_buildflags__testing", 271 "tot_cronet_build_chromecast_buildflags__testing", 272 "tot_cronet_build_chromeos_buildflags__testing", 273 "tot_cronet_build_config_compiler_compiler_buildflags__testing", 274 "tot_cronet_build_ios_buildflags__testing", 275 "tot_cronet_third_party_jni_zero_generate_jni__action__testing", 276 "tot_cronet_third_party_jni_zero_system_jni__action__testing", 277 "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 278 ], 279 defaults: [ 280 "tot_cronet_cc_defaults", 281 ], 282 cflags: [ 283 "-DANDROID", 284 "-DANDROID_NDK_VERSION_ROLL=r27_1", 285 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 286 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 287 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 288 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 289 "-DHAVE_SYS_UIO_H", 290 "-DIS_MIRACLE_PARAMETER_IMPL", 291 "-DNDEBUG", 292 "-DNVALGRIND", 293 "-DOFFICIAL_BUILD", 294 "-DTMP_REBUILD_HACK", 295 "-D_GNU_SOURCE", 296 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 297 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 298 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 299 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 300 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 301 "-D__STDC_CONSTANT_MACROS", 302 "-D__STDC_FORMAT_MACROS", 303 "-fdata-sections", 304 "-ffunction-sections", 305 "-fstack-protector", 306 "-fvisibility-inlines-hidden", 307 "-fvisibility=hidden", 308 "-g1", 309 ], 310 include_dirs: [ 311 "external/cronet/tot/", 312 "external/cronet/tot/base/allocator/partition_allocator/src/", 313 "external/cronet/tot/buildtools/third_party/libc++/", 314 "external/cronet/tot/third_party/abseil-cpp/", 315 "external/cronet/tot/third_party/boringssl/src/include/", 316 "external/cronet/tot/third_party/libc++/src/include", 317 "external/cronet/tot/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 "-Wl,--script,external/cronet/tot/base/android/library_loader/anchor_functions.lds", 325 ], 326 visibility: [ 327 "//external/cronet:__subpackages__", 328 ], 329 target: { 330 android_arm: { 331 cflags: [ 332 "-D_FORTIFY_SOURCE=2", 333 ], 334 }, 335 android_arm64: { 336 cflags: [ 337 "-D_FORTIFY_SOURCE=2", 338 "-D__ARM_NEON__=1", 339 "-O2", 340 "-mno-outline", 341 ], 342 }, 343 android_x86: { 344 cflags: [ 345 "-D_FORTIFY_SOURCE=2", 346 "-msse3", 347 ], 348 }, 349 android_x86_64: { 350 cflags: [ 351 "-D_FORTIFY_SOURCE=2", 352 "-O2", 353 "-msse3", 354 ], 355 }, 356 }, 357} 358