• 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        "stable_cronet_net_third_party_uri_template_license",
21    ],
22}
23
24// GN: License-Artificial
25license {
26    name: "stable_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: "stable_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        "stable_cronet_libcrypto",
49        "stable_cronet_libpki",
50        "stable_cronet_libssl",
51    ],
52    host_cross_supported: false,
53    generated_headers: [
54        "stable_cronet_base_allocator_buildflags",
55        "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags",
56        "stable_cronet_base_anchor_functions_buildflags",
57        "stable_cronet_base_android_runtime_jni_headers__action",
58        "stable_cronet_base_base_jni__action",
59        "stable_cronet_base_base_shared_preferences_jni__action",
60        "stable_cronet_base_build_date",
61        "stable_cronet_base_callback_jni__action",
62        "stable_cronet_base_cfi_buildflags",
63        "stable_cronet_base_check_version_internal_action",
64        "stable_cronet_base_clang_profiling_buildflags",
65        "stable_cronet_base_command_line_jni__action",
66        "stable_cronet_base_content_uri_utils_jni__action",
67        "stable_cronet_base_debugging_buildflags",
68        "stable_cronet_base_feature_list_buildflags",
69        "stable_cronet_base_fuzzing_buildflags",
70        "stable_cronet_base_ios_cronet_buildflags",
71        "stable_cronet_base_jank_tracker_jni__action",
72        "stable_cronet_base_library_loader_jni__action",
73        "stable_cronet_base_memory_jni__action",
74        "stable_cronet_base_metrics_jni__action",
75        "stable_cronet_base_orderfile_buildflags",
76        "stable_cronet_base_power_monitor_buildflags",
77        "stable_cronet_base_process_launcher_jni__action",
78        "stable_cronet_base_profiler_buildflags",
79        "stable_cronet_base_protected_memory_buildflags",
80        "stable_cronet_base_rust_logger_cxx_generated_gen_header",
81        "stable_cronet_base_sanitizer_buildflags",
82        "stable_cronet_base_synchronization_buildflags",
83        "stable_cronet_base_sys_utils_jni__action",
84        "stable_cronet_base_tasks_jni__action",
85        "stable_cronet_base_tracing_buildflags",
86        "stable_cronet_build_blink_buildflags",
87        "stable_cronet_build_branding_buildflags",
88        "stable_cronet_build_chromecast_buildflags",
89        "stable_cronet_build_chromeos_buildflags",
90        "stable_cronet_build_config_compiler_compiler_buildflags",
91        "stable_cronet_build_ios_buildflags",
92        "stable_cronet_build_robolectric_buildflags",
93        "stable_cronet_third_party_jni_zero_generate_jni__action",
94        "stable_cronet_third_party_jni_zero_system_jni__action",
95        "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header",
96    ],
97    export_generated_headers: [
98        "stable_cronet_base_allocator_buildflags",
99        "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags",
100        "stable_cronet_base_anchor_functions_buildflags",
101        "stable_cronet_base_android_runtime_jni_headers__action",
102        "stable_cronet_base_base_jni__action",
103        "stable_cronet_base_base_shared_preferences_jni__action",
104        "stable_cronet_base_build_date",
105        "stable_cronet_base_callback_jni__action",
106        "stable_cronet_base_cfi_buildflags",
107        "stable_cronet_base_check_version_internal_action",
108        "stable_cronet_base_clang_profiling_buildflags",
109        "stable_cronet_base_command_line_jni__action",
110        "stable_cronet_base_content_uri_utils_jni__action",
111        "stable_cronet_base_debugging_buildflags",
112        "stable_cronet_base_feature_list_buildflags",
113        "stable_cronet_base_fuzzing_buildflags",
114        "stable_cronet_base_ios_cronet_buildflags",
115        "stable_cronet_base_jank_tracker_jni__action",
116        "stable_cronet_base_library_loader_jni__action",
117        "stable_cronet_base_memory_jni__action",
118        "stable_cronet_base_metrics_jni__action",
119        "stable_cronet_base_orderfile_buildflags",
120        "stable_cronet_base_power_monitor_buildflags",
121        "stable_cronet_base_process_launcher_jni__action",
122        "stable_cronet_base_profiler_buildflags",
123        "stable_cronet_base_protected_memory_buildflags",
124        "stable_cronet_base_rust_logger_cxx_generated_gen_header",
125        "stable_cronet_base_sanitizer_buildflags",
126        "stable_cronet_base_synchronization_buildflags",
127        "stable_cronet_base_sys_utils_jni__action",
128        "stable_cronet_base_tasks_jni__action",
129        "stable_cronet_base_tracing_buildflags",
130        "stable_cronet_build_blink_buildflags",
131        "stable_cronet_build_branding_buildflags",
132        "stable_cronet_build_chromecast_buildflags",
133        "stable_cronet_build_chromeos_buildflags",
134        "stable_cronet_build_config_compiler_compiler_buildflags",
135        "stable_cronet_build_ios_buildflags",
136        "stable_cronet_build_robolectric_buildflags",
137        "stable_cronet_third_party_jni_zero_generate_jni__action",
138        "stable_cronet_third_party_jni_zero_system_jni__action",
139        "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen_header",
140    ],
141    defaults: [
142        "stable_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/stable/",
174        "external/cronet/stable/base/allocator/partition_allocator/src/",
175        "external/cronet/stable/buildtools/third_party/libc++/",
176        "external/cronet/stable/third_party/abseil-cpp/",
177        "external/cronet/stable/third_party/boringssl/src/include/",
178        "external/cronet/stable/third_party/libc++/src/include",
179        "external/cronet/stable/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/stable/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: "stable_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        "stable_cronet_base_allocator_buildflags__testing",
235        "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing",
236        "stable_cronet_base_anchor_functions_buildflags__testing",
237        "stable_cronet_base_build_date__testing",
238        "stable_cronet_base_cfi_buildflags__testing",
239        "stable_cronet_base_check_version_internal_action__testing",
240        "stable_cronet_base_clang_profiling_buildflags__testing",
241        "stable_cronet_base_debugging_buildflags__testing",
242        "stable_cronet_base_feature_list_buildflags__testing",
243        "stable_cronet_base_fuzzing_buildflags__testing",
244        "stable_cronet_base_ios_cronet_buildflags__testing",
245        "stable_cronet_base_orderfile_buildflags__testing",
246        "stable_cronet_base_power_monitor_buildflags__testing",
247        "stable_cronet_base_profiler_buildflags__testing",
248        "stable_cronet_base_protected_memory_buildflags__testing",
249        "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header",
250        "stable_cronet_base_sanitizer_buildflags__testing",
251        "stable_cronet_base_synchronization_buildflags__testing",
252        "stable_cronet_base_tracing_buildflags__testing",
253        "stable_cronet_build_blink_buildflags__testing",
254        "stable_cronet_build_branding_buildflags__testing",
255        "stable_cronet_build_chromecast_buildflags__testing",
256        "stable_cronet_build_chromeos_buildflags__testing",
257        "stable_cronet_build_config_compiler_compiler_buildflags__testing",
258        "stable_cronet_build_ios_buildflags__testing",
259        "stable_cronet_third_party_jni_zero_generate_jni__action__testing",
260        "stable_cronet_third_party_jni_zero_system_jni__action__testing",
261        "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header",
262    ],
263    export_generated_headers: [
264        "stable_cronet_base_allocator_buildflags__testing",
265        "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing",
266        "stable_cronet_base_anchor_functions_buildflags__testing",
267        "stable_cronet_base_build_date__testing",
268        "stable_cronet_base_cfi_buildflags__testing",
269        "stable_cronet_base_check_version_internal_action__testing",
270        "stable_cronet_base_clang_profiling_buildflags__testing",
271        "stable_cronet_base_debugging_buildflags__testing",
272        "stable_cronet_base_feature_list_buildflags__testing",
273        "stable_cronet_base_fuzzing_buildflags__testing",
274        "stable_cronet_base_ios_cronet_buildflags__testing",
275        "stable_cronet_base_orderfile_buildflags__testing",
276        "stable_cronet_base_power_monitor_buildflags__testing",
277        "stable_cronet_base_profiler_buildflags__testing",
278        "stable_cronet_base_protected_memory_buildflags__testing",
279        "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header",
280        "stable_cronet_base_sanitizer_buildflags__testing",
281        "stable_cronet_base_synchronization_buildflags__testing",
282        "stable_cronet_base_tracing_buildflags__testing",
283        "stable_cronet_build_blink_buildflags__testing",
284        "stable_cronet_build_branding_buildflags__testing",
285        "stable_cronet_build_chromecast_buildflags__testing",
286        "stable_cronet_build_chromeos_buildflags__testing",
287        "stable_cronet_build_config_compiler_compiler_buildflags__testing",
288        "stable_cronet_build_ios_buildflags__testing",
289        "stable_cronet_third_party_jni_zero_generate_jni__action__testing",
290        "stable_cronet_third_party_jni_zero_system_jni__action__testing",
291        "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header",
292    ],
293    defaults: [
294        "stable_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/stable/",
326        "external/cronet/stable/base/allocator/partition_allocator/src/",
327        "external/cronet/stable/buildtools/third_party/libc++/",
328        "external/cronet/stable/third_party/abseil-cpp/",
329        "external/cronet/stable/third_party/boringssl/src/include/",
330        "external/cronet/stable/third_party/libc++/src/include",
331        "external/cronet/stable/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/stable/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: "stable_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        "stable_cronet_base_allocator_buildflags__testing",
387        "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing",
388        "stable_cronet_base_anchor_functions_buildflags__testing",
389        "stable_cronet_base_build_date__testing",
390        "stable_cronet_base_cfi_buildflags__testing",
391        "stable_cronet_base_check_version_internal_action__testing",
392        "stable_cronet_base_clang_profiling_buildflags__testing",
393        "stable_cronet_base_debugging_buildflags__testing",
394        "stable_cronet_base_feature_list_buildflags__testing",
395        "stable_cronet_base_fuzzing_buildflags__testing",
396        "stable_cronet_base_ios_cronet_buildflags__testing",
397        "stable_cronet_base_orderfile_buildflags__testing",
398        "stable_cronet_base_power_monitor_buildflags__testing",
399        "stable_cronet_base_profiler_buildflags__testing",
400        "stable_cronet_base_protected_memory_buildflags__testing",
401        "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header",
402        "stable_cronet_base_sanitizer_buildflags__testing",
403        "stable_cronet_base_synchronization_buildflags__testing",
404        "stable_cronet_base_tracing_buildflags__testing",
405        "stable_cronet_build_blink_buildflags__testing",
406        "stable_cronet_build_branding_buildflags__testing",
407        "stable_cronet_build_chromecast_buildflags__testing",
408        "stable_cronet_build_chromeos_buildflags__testing",
409        "stable_cronet_build_config_compiler_compiler_buildflags__testing",
410        "stable_cronet_build_ios_buildflags__testing",
411        "stable_cronet_third_party_jni_zero_generate_jni__action__testing",
412        "stable_cronet_third_party_jni_zero_system_jni__action__testing",
413        "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header",
414    ],
415    export_generated_headers: [
416        "stable_cronet_base_allocator_buildflags__testing",
417        "stable_cronet_base_allocator_partition_allocator_src_partition_alloc_buildflags__testing",
418        "stable_cronet_base_anchor_functions_buildflags__testing",
419        "stable_cronet_base_build_date__testing",
420        "stable_cronet_base_cfi_buildflags__testing",
421        "stable_cronet_base_check_version_internal_action__testing",
422        "stable_cronet_base_clang_profiling_buildflags__testing",
423        "stable_cronet_base_debugging_buildflags__testing",
424        "stable_cronet_base_feature_list_buildflags__testing",
425        "stable_cronet_base_fuzzing_buildflags__testing",
426        "stable_cronet_base_ios_cronet_buildflags__testing",
427        "stable_cronet_base_orderfile_buildflags__testing",
428        "stable_cronet_base_power_monitor_buildflags__testing",
429        "stable_cronet_base_profiler_buildflags__testing",
430        "stable_cronet_base_protected_memory_buildflags__testing",
431        "stable_cronet_base_rust_logger_cxx_generated_gen__testing_header",
432        "stable_cronet_base_sanitizer_buildflags__testing",
433        "stable_cronet_base_synchronization_buildflags__testing",
434        "stable_cronet_base_tracing_buildflags__testing",
435        "stable_cronet_build_blink_buildflags__testing",
436        "stable_cronet_build_branding_buildflags__testing",
437        "stable_cronet_build_chromecast_buildflags__testing",
438        "stable_cronet_build_chromeos_buildflags__testing",
439        "stable_cronet_build_config_compiler_compiler_buildflags__testing",
440        "stable_cronet_build_ios_buildflags__testing",
441        "stable_cronet_third_party_jni_zero_generate_jni__action__testing",
442        "stable_cronet_third_party_jni_zero_system_jni__action__testing",
443        "stable_cronet_third_party_rust_serde_json_lenient_v0_2_wrapper_wrapper_cxx_generated_gen__testing_header",
444    ],
445    defaults: [
446        "stable_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/stable/",
484        "external/cronet/stable/base/allocator/partition_allocator/src/",
485        "external/cronet/stable/buildtools/third_party/libc++/",
486        "external/cronet/stable/third_party/abseil-cpp/",
487        "external/cronet/stable/third_party/boringssl/src/include/",
488        "external/cronet/stable/third_party/googletest/custom/",
489        "external/cronet/stable/third_party/googletest/src/googlemock/include/",
490        "external/cronet/stable/third_party/googletest/src/googletest/include/",
491        "external/cronet/stable/third_party/libc++/src/include",
492        "external/cronet/stable/third_party/libc++abi/src/include",
493        "external/cronet/stable/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/stable/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