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/network_time/time_tracker:time_tracker 25cc_library_static { 26 name: "stable_cronet_components_network_time_time_tracker_time_tracker", 27 srcs: [ 28 "time_tracker.cc", 29 ], 30 shared_libs: [ 31 "libandroid", 32 "liblog", 33 "libz", 34 "stable_cronet_libcrypto", 35 "stable_cronet_libpki", 36 "stable_cronet_libssl", 37 ], 38 host_cross_supported: false, 39 generated_headers: [ 40 "stable_cronet_base_allocator_buildflags", 41 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 42 "stable_cronet_base_anchor_functions_buildflags", 43 "stable_cronet_base_android_runtime_jni_headers__action", 44 "stable_cronet_base_base_jni__action", 45 "stable_cronet_base_base_shared_preferences_jni__action", 46 "stable_cronet_base_build_date", 47 "stable_cronet_base_callback_jni__action", 48 "stable_cronet_base_cfi_buildflags", 49 "stable_cronet_base_check_version_internal_action", 50 "stable_cronet_base_clang_profiling_buildflags", 51 "stable_cronet_base_command_line_jni__action", 52 "stable_cronet_base_content_uri_utils_jni__action", 53 "stable_cronet_base_debugging_buildflags", 54 "stable_cronet_base_feature_list_buildflags", 55 "stable_cronet_base_fuzzing_buildflags", 56 "stable_cronet_base_ios_cronet_buildflags", 57 "stable_cronet_base_jank_tracker_jni__action", 58 "stable_cronet_base_library_loader_jni__action", 59 "stable_cronet_base_memory_jni__action", 60 "stable_cronet_base_metrics_jni__action", 61 "stable_cronet_base_orderfile_buildflags", 62 "stable_cronet_base_power_monitor_buildflags", 63 "stable_cronet_base_process_launcher_jni__action", 64 "stable_cronet_base_profiler_buildflags", 65 "stable_cronet_base_protected_memory_buildflags", 66 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 67 "stable_cronet_base_sanitizer_buildflags", 68 "stable_cronet_base_synchronization_buildflags", 69 "stable_cronet_base_sys_utils_jni__action", 70 "stable_cronet_base_tasks_jni__action", 71 "stable_cronet_base_tracing_buildflags", 72 "stable_cronet_build_blink_buildflags", 73 "stable_cronet_build_branding_buildflags", 74 "stable_cronet_build_chromecast_buildflags", 75 "stable_cronet_build_chromeos_buildflags", 76 "stable_cronet_build_config_compiler_compiler_buildflags", 77 "stable_cronet_build_ios_buildflags", 78 "stable_cronet_build_robolectric_buildflags", 79 "stable_cronet_third_party_jni_zero_generate_jni__action", 80 "stable_cronet_third_party_jni_zero_system_jni__action", 81 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 82 ], 83 export_generated_headers: [ 84 "stable_cronet_base_allocator_buildflags", 85 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags", 86 "stable_cronet_base_anchor_functions_buildflags", 87 "stable_cronet_base_android_runtime_jni_headers__action", 88 "stable_cronet_base_base_jni__action", 89 "stable_cronet_base_base_shared_preferences_jni__action", 90 "stable_cronet_base_build_date", 91 "stable_cronet_base_callback_jni__action", 92 "stable_cronet_base_cfi_buildflags", 93 "stable_cronet_base_check_version_internal_action", 94 "stable_cronet_base_clang_profiling_buildflags", 95 "stable_cronet_base_command_line_jni__action", 96 "stable_cronet_base_content_uri_utils_jni__action", 97 "stable_cronet_base_debugging_buildflags", 98 "stable_cronet_base_feature_list_buildflags", 99 "stable_cronet_base_fuzzing_buildflags", 100 "stable_cronet_base_ios_cronet_buildflags", 101 "stable_cronet_base_jank_tracker_jni__action", 102 "stable_cronet_base_library_loader_jni__action", 103 "stable_cronet_base_memory_jni__action", 104 "stable_cronet_base_metrics_jni__action", 105 "stable_cronet_base_orderfile_buildflags", 106 "stable_cronet_base_power_monitor_buildflags", 107 "stable_cronet_base_process_launcher_jni__action", 108 "stable_cronet_base_profiler_buildflags", 109 "stable_cronet_base_protected_memory_buildflags", 110 "stable_cronet_base_rust_logger_cxx_generated_gen_header", 111 "stable_cronet_base_sanitizer_buildflags", 112 "stable_cronet_base_synchronization_buildflags", 113 "stable_cronet_base_sys_utils_jni__action", 114 "stable_cronet_base_tasks_jni__action", 115 "stable_cronet_base_tracing_buildflags", 116 "stable_cronet_build_blink_buildflags", 117 "stable_cronet_build_branding_buildflags", 118 "stable_cronet_build_chromecast_buildflags", 119 "stable_cronet_build_chromeos_buildflags", 120 "stable_cronet_build_config_compiler_compiler_buildflags", 121 "stable_cronet_build_ios_buildflags", 122 "stable_cronet_build_robolectric_buildflags", 123 "stable_cronet_third_party_jni_zero_generate_jni__action", 124 "stable_cronet_third_party_jni_zero_system_jni__action", 125 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header", 126 ], 127 defaults: [ 128 "stable_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 "-DNDEBUG", 139 "-DNVALGRIND", 140 "-DOFFICIAL_BUILD", 141 "-DTMP_REBUILD_HACK", 142 "-D_GNU_SOURCE", 143 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 144 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 145 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 146 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 147 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 148 "-D__STDC_CONSTANT_MACROS", 149 "-D__STDC_FORMAT_MACROS", 150 "-fdata-sections", 151 "-ffunction-sections", 152 "-fstack-protector", 153 "-fvisibility-inlines-hidden", 154 "-fvisibility=hidden", 155 "-g1", 156 ], 157 include_dirs: [ 158 "external/cronet/stable/", 159 "external/cronet/stable/base/allocator/partition_allocator/src/", 160 "external/cronet/stable/buildtools/third_party/libc++/", 161 "external/cronet/stable/third_party/abseil-cpp/", 162 "external/cronet/stable/third_party/boringssl/src/include/", 163 "external/cronet/stable/third_party/libc++/src/include", 164 "external/cronet/stable/third_party/libc++abi/src/include", 165 ], 166 cpp_std: "c++20", 167 ldflags: [ 168 "-Wl,--as-needed", 169 "-Wl,--gc-sections", 170 "-Wl,--icf=all", 171 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 172 ], 173 visibility: [ 174 "//external/cronet:__subpackages__", 175 ], 176 target: { 177 android_arm: { 178 cflags: [ 179 "-D_FORTIFY_SOURCE=2", 180 ], 181 }, 182 android_arm64: { 183 cflags: [ 184 "-D_FORTIFY_SOURCE=2", 185 "-D__ARM_NEON__=1", 186 "-O2", 187 "-mno-outline", 188 ], 189 }, 190 android_x86: { 191 cflags: [ 192 "-D_FORTIFY_SOURCE=2", 193 "-msse3", 194 ], 195 }, 196 android_x86_64: { 197 cflags: [ 198 "-D_FORTIFY_SOURCE=2", 199 "-O2", 200 "-msse3", 201 ], 202 }, 203 }, 204} 205 206// GN: //components/network_time/time_tracker:time_tracker__testing 207cc_library_static { 208 name: "stable_cronet_components_network_time_time_tracker_time_tracker__testing", 209 srcs: [ 210 "time_tracker.cc", 211 ], 212 shared_libs: [ 213 "libandroid", 214 "liblog", 215 "libz", 216 ], 217 host_cross_supported: false, 218 generated_headers: [ 219 "stable_cronet_base_allocator_buildflags__testing", 220 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 221 "stable_cronet_base_anchor_functions_buildflags__testing", 222 "stable_cronet_base_build_date__testing", 223 "stable_cronet_base_cfi_buildflags__testing", 224 "stable_cronet_base_check_version_internal_action__testing", 225 "stable_cronet_base_clang_profiling_buildflags__testing", 226 "stable_cronet_base_debugging_buildflags__testing", 227 "stable_cronet_base_feature_list_buildflags__testing", 228 "stable_cronet_base_fuzzing_buildflags__testing", 229 "stable_cronet_base_ios_cronet_buildflags__testing", 230 "stable_cronet_base_orderfile_buildflags__testing", 231 "stable_cronet_base_power_monitor_buildflags__testing", 232 "stable_cronet_base_profiler_buildflags__testing", 233 "stable_cronet_base_protected_memory_buildflags__testing", 234 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 235 "stable_cronet_base_sanitizer_buildflags__testing", 236 "stable_cronet_base_synchronization_buildflags__testing", 237 "stable_cronet_base_tracing_buildflags__testing", 238 "stable_cronet_build_blink_buildflags__testing", 239 "stable_cronet_build_branding_buildflags__testing", 240 "stable_cronet_build_chromecast_buildflags__testing", 241 "stable_cronet_build_chromeos_buildflags__testing", 242 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 243 "stable_cronet_build_ios_buildflags__testing", 244 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 245 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 246 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 247 ], 248 export_generated_headers: [ 249 "stable_cronet_base_allocator_buildflags__testing", 250 "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing", 251 "stable_cronet_base_anchor_functions_buildflags__testing", 252 "stable_cronet_base_build_date__testing", 253 "stable_cronet_base_cfi_buildflags__testing", 254 "stable_cronet_base_check_version_internal_action__testing", 255 "stable_cronet_base_clang_profiling_buildflags__testing", 256 "stable_cronet_base_debugging_buildflags__testing", 257 "stable_cronet_base_feature_list_buildflags__testing", 258 "stable_cronet_base_fuzzing_buildflags__testing", 259 "stable_cronet_base_ios_cronet_buildflags__testing", 260 "stable_cronet_base_orderfile_buildflags__testing", 261 "stable_cronet_base_power_monitor_buildflags__testing", 262 "stable_cronet_base_profiler_buildflags__testing", 263 "stable_cronet_base_protected_memory_buildflags__testing", 264 "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header", 265 "stable_cronet_base_sanitizer_buildflags__testing", 266 "stable_cronet_base_synchronization_buildflags__testing", 267 "stable_cronet_base_tracing_buildflags__testing", 268 "stable_cronet_build_blink_buildflags__testing", 269 "stable_cronet_build_branding_buildflags__testing", 270 "stable_cronet_build_chromecast_buildflags__testing", 271 "stable_cronet_build_chromeos_buildflags__testing", 272 "stable_cronet_build_config_compiler_compiler_buildflags__testing", 273 "stable_cronet_build_ios_buildflags__testing", 274 "stable_cronet_third_party_jni_zero_generate_jni__action__testing", 275 "stable_cronet_third_party_jni_zero_system_jni__action__testing", 276 "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header", 277 ], 278 defaults: [ 279 "stable_cronet_cc_defaults", 280 ], 281 cflags: [ 282 "-DANDROID", 283 "-DANDROID_NDK_VERSION_ROLL=r27_1", 284 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"", 285 "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"", 286 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df", 287 "-DDYNAMIC_ANNOTATIONS_ENABLED=0", 288 "-DHAVE_SYS_UIO_H", 289 "-DNDEBUG", 290 "-DNVALGRIND", 291 "-DOFFICIAL_BUILD", 292 "-DTMP_REBUILD_HACK", 293 "-D_GNU_SOURCE", 294 "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS", 295 "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE", 296 "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0", 297 "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS", 298 "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", 299 "-D__STDC_CONSTANT_MACROS", 300 "-D__STDC_FORMAT_MACROS", 301 "-fdata-sections", 302 "-ffunction-sections", 303 "-fstack-protector", 304 "-fvisibility-inlines-hidden", 305 "-fvisibility=hidden", 306 "-g1", 307 ], 308 include_dirs: [ 309 "external/cronet/stable/", 310 "external/cronet/stable/base/allocator/partition_allocator/src/", 311 "external/cronet/stable/buildtools/third_party/libc++/", 312 "external/cronet/stable/third_party/abseil-cpp/", 313 "external/cronet/stable/third_party/boringssl/src/include/", 314 "external/cronet/stable/third_party/libc++/src/include", 315 "external/cronet/stable/third_party/libc++abi/src/include", 316 ], 317 cpp_std: "c++20", 318 ldflags: [ 319 "-Wl,--as-needed", 320 "-Wl,--gc-sections", 321 "-Wl,--icf=all", 322 "-Wl,--script,external/cronet/stable/base/android/library_loader/anchor_functions.lds", 323 ], 324 visibility: [ 325 "//external/cronet:__subpackages__", 326 ], 327 target: { 328 android_arm: { 329 cflags: [ 330 "-D_FORTIFY_SOURCE=2", 331 ], 332 }, 333 android_arm64: { 334 cflags: [ 335 "-D_FORTIFY_SOURCE=2", 336 "-D__ARM_NEON__=1", 337 "-O2", 338 "-mno-outline", 339 ], 340 }, 341 android_x86: { 342 cflags: [ 343 "-D_FORTIFY_SOURCE=2", 344 "-msse3", 345 ], 346 }, 347 android_x86_64: { 348 cflags: [ 349 "-D_FORTIFY_SOURCE=2", 350 "-O2", 351 "-msse3", 352 ], 353 }, 354 }, 355} 356