• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "tot_cronet_net_third_party_uri_template_license",
21    ],
22}
23
24// GN: License-Artificial
25license {
26    name: "tot_cronet_net_third_party_uri_template_license",
27    visibility: [
28        ":__subpackages__",
29    ],
30    license_text: [
31        "LICENSE",
32    ],
33    license_kinds: [
34        "SPDX-license-identifier-Apache-2.0",
35    ],
36}
37
38// GN: //net/third_party/uri_template:uri_template
39cc_library_static {
40    name: "tot_cronet_net_third_party_uri_template_uri_template",
41    srcs: [
42        "uri_template.cc",
43    ],
44    shared_libs: [
45        "libandroid",
46        "liblog",
47        "libz",
48        "tot_cronet_libcrypto",
49        "tot_cronet_libpki",
50        "tot_cronet_libssl",
51    ],
52    host_cross_supported: false,
53    generated_headers: [
54        "tot_cronet_base_allocator_buildflags",
55        "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags",
56        "tot_cronet_base_anchor_functions_buildflags",
57        "tot_cronet_base_android_runtime_jni_headers__action",
58        "tot_cronet_base_base_jni__action",
59        "tot_cronet_base_base_shared_preferences_jni__action",
60        "tot_cronet_base_build_date",
61        "tot_cronet_base_callback_jni__action",
62        "tot_cronet_base_cfi_buildflags",
63        "tot_cronet_base_check_version_internal_action",
64        "tot_cronet_base_clang_profiling_buildflags",
65        "tot_cronet_base_command_line_jni__action",
66        "tot_cronet_base_content_uri_utils_jni__action",
67        "tot_cronet_base_debugging_buildflags",
68        "tot_cronet_base_feature_list_buildflags",
69        "tot_cronet_base_fuzzing_buildflags",
70        "tot_cronet_base_ios_cronet_buildflags",
71        "tot_cronet_base_jank_tracker_jni__action",
72        "tot_cronet_base_library_loader_jni__action",
73        "tot_cronet_base_memory_jni__action",
74        "tot_cronet_base_metrics_jni__action",
75        "tot_cronet_base_orderfile_buildflags",
76        "tot_cronet_base_power_monitor_buildflags",
77        "tot_cronet_base_process_launcher_jni__action",
78        "tot_cronet_base_profiler_buildflags",
79        "tot_cronet_base_protected_memory_buildflags",
80        "tot_cronet_base_rust_logger_cxx_generated_gen_header",
81        "tot_cronet_base_sanitizer_buildflags",
82        "tot_cronet_base_synchronization_buildflags",
83        "tot_cronet_base_sys_utils_jni__action",
84        "tot_cronet_base_tasks_jni__action",
85        "tot_cronet_base_tracing_buildflags",
86        "tot_cronet_build_blink_buildflags",
87        "tot_cronet_build_branding_buildflags",
88        "tot_cronet_build_chromecast_buildflags",
89        "tot_cronet_build_chromeos_buildflags",
90        "tot_cronet_build_config_compiler_compiler_buildflags",
91        "tot_cronet_build_ios_buildflags",
92        "tot_cronet_build_robolectric_buildflags",
93        "tot_cronet_third_party_jni_zero_generate_jni__action",
94        "tot_cronet_third_party_jni_zero_system_jni__action",
95        "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header",
96    ],
97    export_generated_headers: [
98        "tot_cronet_base_allocator_buildflags",
99        "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags",
100        "tot_cronet_base_anchor_functions_buildflags",
101        "tot_cronet_base_android_runtime_jni_headers__action",
102        "tot_cronet_base_base_jni__action",
103        "tot_cronet_base_base_shared_preferences_jni__action",
104        "tot_cronet_base_build_date",
105        "tot_cronet_base_callback_jni__action",
106        "tot_cronet_base_cfi_buildflags",
107        "tot_cronet_base_check_version_internal_action",
108        "tot_cronet_base_clang_profiling_buildflags",
109        "tot_cronet_base_command_line_jni__action",
110        "tot_cronet_base_content_uri_utils_jni__action",
111        "tot_cronet_base_debugging_buildflags",
112        "tot_cronet_base_feature_list_buildflags",
113        "tot_cronet_base_fuzzing_buildflags",
114        "tot_cronet_base_ios_cronet_buildflags",
115        "tot_cronet_base_jank_tracker_jni__action",
116        "tot_cronet_base_library_loader_jni__action",
117        "tot_cronet_base_memory_jni__action",
118        "tot_cronet_base_metrics_jni__action",
119        "tot_cronet_base_orderfile_buildflags",
120        "tot_cronet_base_power_monitor_buildflags",
121        "tot_cronet_base_process_launcher_jni__action",
122        "tot_cronet_base_profiler_buildflags",
123        "tot_cronet_base_protected_memory_buildflags",
124        "tot_cronet_base_rust_logger_cxx_generated_gen_header",
125        "tot_cronet_base_sanitizer_buildflags",
126        "tot_cronet_base_synchronization_buildflags",
127        "tot_cronet_base_sys_utils_jni__action",
128        "tot_cronet_base_tasks_jni__action",
129        "tot_cronet_base_tracing_buildflags",
130        "tot_cronet_build_blink_buildflags",
131        "tot_cronet_build_branding_buildflags",
132        "tot_cronet_build_chromecast_buildflags",
133        "tot_cronet_build_chromeos_buildflags",
134        "tot_cronet_build_config_compiler_compiler_buildflags",
135        "tot_cronet_build_ios_buildflags",
136        "tot_cronet_build_robolectric_buildflags",
137        "tot_cronet_third_party_jni_zero_generate_jni__action",
138        "tot_cronet_third_party_jni_zero_system_jni__action",
139        "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header",
140    ],
141    defaults: [
142        "tot_cronet_cc_defaults",
143    ],
144    cflags: [
145        "-DANDROID",
146        "-DANDROID_NDK_VERSION_ROLL=r27_1",
147        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
148        "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"",
149        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
150        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
151        "-DHAVE_SYS_UIO_H",
152        "-DIS_URI_TEMPLATE_IMPL",
153        "-DNDEBUG",
154        "-DNVALGRIND",
155        "-DOFFICIAL_BUILD",
156        "-DTMP_REBUILD_HACK",
157        "-D_GNU_SOURCE",
158        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
159        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
160        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
161        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
162        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
163        "-D__STDC_CONSTANT_MACROS",
164        "-D__STDC_FORMAT_MACROS",
165        "-fdata-sections",
166        "-ffunction-sections",
167        "-fstack-protector",
168        "-fvisibility-inlines-hidden",
169        "-fvisibility=hidden",
170        "-g1",
171    ],
172    include_dirs: [
173        "external/cronet/tot/",
174        "external/cronet/tot/base/allocator/partition_allocator/src/",
175        "external/cronet/tot/buildtools/third_party/libc++/",
176        "external/cronet/tot/third_party/abseil-cpp/",
177        "external/cronet/tot/third_party/boringssl/src/include/",
178        "external/cronet/tot/third_party/libc++/src/include",
179        "external/cronet/tot/third_party/libc++abi/src/include",
180    ],
181    cpp_std: "c++20",
182    ldflags: [
183        "-Wl,--as-needed",
184        "-Wl,--gc-sections",
185        "-Wl,--icf=all",
186        "-Wl,--script,external/cronet/tot/base/android/library_loader/anchor_functions.lds",
187    ],
188    visibility: [
189        "//external/cronet:__subpackages__",
190    ],
191    target: {
192        android_arm: {
193            cflags: [
194                "-D_FORTIFY_SOURCE=2",
195            ],
196        },
197        android_arm64: {
198            cflags: [
199                "-D_FORTIFY_SOURCE=2",
200                "-D__ARM_NEON__=1",
201                "-O2",
202                "-mno-outline",
203            ],
204        },
205        android_x86: {
206            cflags: [
207                "-D_FORTIFY_SOURCE=2",
208                "-msse3",
209            ],
210        },
211        android_x86_64: {
212            cflags: [
213                "-D_FORTIFY_SOURCE=2",
214                "-O2",
215                "-msse3",
216            ],
217        },
218    },
219}
220
221// GN: //net/third_party/uri_template:uri_template__testing
222cc_library_static {
223    name: "tot_cronet_net_third_party_uri_template_uri_template__testing",
224    srcs: [
225        "uri_template.cc",
226    ],
227    shared_libs: [
228        "libandroid",
229        "liblog",
230        "libz",
231    ],
232    host_cross_supported: false,
233    generated_headers: [
234        "tot_cronet_base_allocator_buildflags__testing",
235        "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing",
236        "tot_cronet_base_anchor_functions_buildflags__testing",
237        "tot_cronet_base_build_date__testing",
238        "tot_cronet_base_cfi_buildflags__testing",
239        "tot_cronet_base_check_version_internal_action__testing",
240        "tot_cronet_base_clang_profiling_buildflags__testing",
241        "tot_cronet_base_debugging_buildflags__testing",
242        "tot_cronet_base_feature_list_buildflags__testing",
243        "tot_cronet_base_fuzzing_buildflags__testing",
244        "tot_cronet_base_ios_cronet_buildflags__testing",
245        "tot_cronet_base_orderfile_buildflags__testing",
246        "tot_cronet_base_power_monitor_buildflags__testing",
247        "tot_cronet_base_profiler_buildflags__testing",
248        "tot_cronet_base_protected_memory_buildflags__testing",
249        "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header",
250        "tot_cronet_base_sanitizer_buildflags__testing",
251        "tot_cronet_base_synchronization_buildflags__testing",
252        "tot_cronet_base_tracing_buildflags__testing",
253        "tot_cronet_build_blink_buildflags__testing",
254        "tot_cronet_build_branding_buildflags__testing",
255        "tot_cronet_build_chromecast_buildflags__testing",
256        "tot_cronet_build_chromeos_buildflags__testing",
257        "tot_cronet_build_config_compiler_compiler_buildflags__testing",
258        "tot_cronet_build_ios_buildflags__testing",
259        "tot_cronet_third_party_jni_zero_generate_jni__action__testing",
260        "tot_cronet_third_party_jni_zero_system_jni__action__testing",
261        "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header",
262    ],
263    export_generated_headers: [
264        "tot_cronet_base_allocator_buildflags__testing",
265        "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing",
266        "tot_cronet_base_anchor_functions_buildflags__testing",
267        "tot_cronet_base_build_date__testing",
268        "tot_cronet_base_cfi_buildflags__testing",
269        "tot_cronet_base_check_version_internal_action__testing",
270        "tot_cronet_base_clang_profiling_buildflags__testing",
271        "tot_cronet_base_debugging_buildflags__testing",
272        "tot_cronet_base_feature_list_buildflags__testing",
273        "tot_cronet_base_fuzzing_buildflags__testing",
274        "tot_cronet_base_ios_cronet_buildflags__testing",
275        "tot_cronet_base_orderfile_buildflags__testing",
276        "tot_cronet_base_power_monitor_buildflags__testing",
277        "tot_cronet_base_profiler_buildflags__testing",
278        "tot_cronet_base_protected_memory_buildflags__testing",
279        "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header",
280        "tot_cronet_base_sanitizer_buildflags__testing",
281        "tot_cronet_base_synchronization_buildflags__testing",
282        "tot_cronet_base_tracing_buildflags__testing",
283        "tot_cronet_build_blink_buildflags__testing",
284        "tot_cronet_build_branding_buildflags__testing",
285        "tot_cronet_build_chromecast_buildflags__testing",
286        "tot_cronet_build_chromeos_buildflags__testing",
287        "tot_cronet_build_config_compiler_compiler_buildflags__testing",
288        "tot_cronet_build_ios_buildflags__testing",
289        "tot_cronet_third_party_jni_zero_generate_jni__action__testing",
290        "tot_cronet_third_party_jni_zero_system_jni__action__testing",
291        "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header",
292    ],
293    defaults: [
294        "tot_cronet_cc_defaults",
295    ],
296    cflags: [
297        "-DANDROID",
298        "-DANDROID_NDK_VERSION_ROLL=r27_1",
299        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
300        "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"",
301        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
302        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
303        "-DHAVE_SYS_UIO_H",
304        "-DIS_URI_TEMPLATE_IMPL",
305        "-DNDEBUG",
306        "-DNVALGRIND",
307        "-DOFFICIAL_BUILD",
308        "-DTMP_REBUILD_HACK",
309        "-D_GNU_SOURCE",
310        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
311        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
312        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
313        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
314        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
315        "-D__STDC_CONSTANT_MACROS",
316        "-D__STDC_FORMAT_MACROS",
317        "-fdata-sections",
318        "-ffunction-sections",
319        "-fstack-protector",
320        "-fvisibility-inlines-hidden",
321        "-fvisibility=hidden",
322        "-g1",
323    ],
324    include_dirs: [
325        "external/cronet/tot/",
326        "external/cronet/tot/base/allocator/partition_allocator/src/",
327        "external/cronet/tot/buildtools/third_party/libc++/",
328        "external/cronet/tot/third_party/abseil-cpp/",
329        "external/cronet/tot/third_party/boringssl/src/include/",
330        "external/cronet/tot/third_party/libc++/src/include",
331        "external/cronet/tot/third_party/libc++abi/src/include",
332    ],
333    cpp_std: "c++20",
334    ldflags: [
335        "-Wl,--as-needed",
336        "-Wl,--gc-sections",
337        "-Wl,--icf=all",
338        "-Wl,--script,external/cronet/tot/base/android/library_loader/anchor_functions.lds",
339    ],
340    visibility: [
341        "//external/cronet:__subpackages__",
342    ],
343    target: {
344        android_arm: {
345            cflags: [
346                "-D_FORTIFY_SOURCE=2",
347            ],
348        },
349        android_arm64: {
350            cflags: [
351                "-D_FORTIFY_SOURCE=2",
352                "-D__ARM_NEON__=1",
353                "-O2",
354                "-mno-outline",
355            ],
356        },
357        android_x86: {
358            cflags: [
359                "-D_FORTIFY_SOURCE=2",
360                "-msse3",
361            ],
362        },
363        android_x86_64: {
364            cflags: [
365                "-D_FORTIFY_SOURCE=2",
366                "-O2",
367                "-msse3",
368            ],
369        },
370    },
371}
372
373// GN: //net/third_party/uri_template:uri_template_tests__testing
374cc_library_static {
375    name: "tot_cronet_net_third_party_uri_template_uri_template_tests__testing",
376    srcs: [
377        "uri_template_test.cc",
378    ],
379    shared_libs: [
380        "libandroid",
381        "liblog",
382        "libz",
383    ],
384    host_cross_supported: false,
385    generated_headers: [
386        "tot_cronet_base_allocator_buildflags__testing",
387        "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing",
388        "tot_cronet_base_anchor_functions_buildflags__testing",
389        "tot_cronet_base_build_date__testing",
390        "tot_cronet_base_cfi_buildflags__testing",
391        "tot_cronet_base_check_version_internal_action__testing",
392        "tot_cronet_base_clang_profiling_buildflags__testing",
393        "tot_cronet_base_debugging_buildflags__testing",
394        "tot_cronet_base_feature_list_buildflags__testing",
395        "tot_cronet_base_fuzzing_buildflags__testing",
396        "tot_cronet_base_ios_cronet_buildflags__testing",
397        "tot_cronet_base_orderfile_buildflags__testing",
398        "tot_cronet_base_power_monitor_buildflags__testing",
399        "tot_cronet_base_profiler_buildflags__testing",
400        "tot_cronet_base_protected_memory_buildflags__testing",
401        "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header",
402        "tot_cronet_base_sanitizer_buildflags__testing",
403        "tot_cronet_base_synchronization_buildflags__testing",
404        "tot_cronet_base_tracing_buildflags__testing",
405        "tot_cronet_build_blink_buildflags__testing",
406        "tot_cronet_build_branding_buildflags__testing",
407        "tot_cronet_build_chromecast_buildflags__testing",
408        "tot_cronet_build_chromeos_buildflags__testing",
409        "tot_cronet_build_config_compiler_compiler_buildflags__testing",
410        "tot_cronet_build_ios_buildflags__testing",
411        "tot_cronet_third_party_jni_zero_generate_jni__action__testing",
412        "tot_cronet_third_party_jni_zero_system_jni__action__testing",
413        "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header",
414    ],
415    export_generated_headers: [
416        "tot_cronet_base_allocator_buildflags__testing",
417        "tot_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing",
418        "tot_cronet_base_anchor_functions_buildflags__testing",
419        "tot_cronet_base_build_date__testing",
420        "tot_cronet_base_cfi_buildflags__testing",
421        "tot_cronet_base_check_version_internal_action__testing",
422        "tot_cronet_base_clang_profiling_buildflags__testing",
423        "tot_cronet_base_debugging_buildflags__testing",
424        "tot_cronet_base_feature_list_buildflags__testing",
425        "tot_cronet_base_fuzzing_buildflags__testing",
426        "tot_cronet_base_ios_cronet_buildflags__testing",
427        "tot_cronet_base_orderfile_buildflags__testing",
428        "tot_cronet_base_power_monitor_buildflags__testing",
429        "tot_cronet_base_profiler_buildflags__testing",
430        "tot_cronet_base_protected_memory_buildflags__testing",
431        "tot_cronet_base_rust_logger_cxx_generated_gen__testing_header",
432        "tot_cronet_base_sanitizer_buildflags__testing",
433        "tot_cronet_base_synchronization_buildflags__testing",
434        "tot_cronet_base_tracing_buildflags__testing",
435        "tot_cronet_build_blink_buildflags__testing",
436        "tot_cronet_build_branding_buildflags__testing",
437        "tot_cronet_build_chromecast_buildflags__testing",
438        "tot_cronet_build_chromeos_buildflags__testing",
439        "tot_cronet_build_config_compiler_compiler_buildflags__testing",
440        "tot_cronet_build_ios_buildflags__testing",
441        "tot_cronet_third_party_jni_zero_generate_jni__action__testing",
442        "tot_cronet_third_party_jni_zero_system_jni__action__testing",
443        "tot_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header",
444    ],
445    defaults: [
446        "tot_cronet_cc_defaults",
447    ],
448    cflags: [
449        "-DANDROID",
450        "-DANDROID_NDK_VERSION_ROLL=r27_1",
451        "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
452        "-DCR_CXX_INCLUDE=\"third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/include/cxx.h\"",
453        "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
454        "-DDYNAMIC_ANNOTATIONS_ENABLED=0",
455        "-DGTEST_API_=",
456        "-DGTEST_HAS_ABSL",
457        "-DGTEST_HAS_POSIX_RE=0",
458        "-DGTEST_HAS_TR1_TUPLE=0",
459        "-DGTEST_LANG_CXX11=1",
460        "-DGTEST_NO_ABSL_FLAGS",
461        "-DHAVE_SYS_UIO_H",
462        "-DNDEBUG",
463        "-DNVALGRIND",
464        "-DOFFICIAL_BUILD",
465        "-DTMP_REBUILD_HACK",
466        "-DUNIT_TEST",
467        "-D_GNU_SOURCE",
468        "-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS",
469        "-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE",
470        "-D_LIBCPP_INSTRUMENTED_WITH_ASAN=0",
471        "-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS",
472        "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
473        "-D__STDC_CONSTANT_MACROS",
474        "-D__STDC_FORMAT_MACROS",
475        "-fdata-sections",
476        "-ffunction-sections",
477        "-fstack-protector",
478        "-fvisibility-inlines-hidden",
479        "-fvisibility=hidden",
480        "-g1",
481    ],
482    include_dirs: [
483        "external/cronet/tot/",
484        "external/cronet/tot/base/allocator/partition_allocator/src/",
485        "external/cronet/tot/buildtools/third_party/libc++/",
486        "external/cronet/tot/third_party/abseil-cpp/",
487        "external/cronet/tot/third_party/boringssl/src/include/",
488        "external/cronet/tot/third_party/googletest/custom/",
489        "external/cronet/tot/third_party/googletest/src/googlemock/include/",
490        "external/cronet/tot/third_party/googletest/src/googletest/include/",
491        "external/cronet/tot/third_party/libc++/src/include",
492        "external/cronet/tot/third_party/libc++abi/src/include",
493        "external/cronet/tot/third_party/re2/src/",
494    ],
495    cpp_std: "c++20",
496    ldflags: [
497        "-Wl,--as-needed",
498        "-Wl,--gc-sections",
499        "-Wl,--icf=all",
500        "-Wl,--script,external/cronet/tot/base/android/library_loader/anchor_functions.lds",
501    ],
502    visibility: [
503        "//external/cronet:__subpackages__",
504    ],
505    target: {
506        android_arm: {
507            cflags: [
508                "-D_FORTIFY_SOURCE=2",
509            ],
510        },
511        android_arm64: {
512            cflags: [
513                "-D_FORTIFY_SOURCE=2",
514                "-D__ARM_NEON__=1",
515                "-O2",
516                "-mno-outline",
517            ],
518        },
519        android_x86: {
520            cflags: [
521                "-D_FORTIFY_SOURCE=2",
522                "-msse3",
523            ],
524        },
525        android_x86_64: {
526            cflags: [
527                "-D_FORTIFY_SOURCE=2",
528                "-O2",
529                "-msse3",
530            ],
531        },
532    },
533}
534