| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=5453. | 5 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=5453. |
| 6 # Some WebRTC targets require the 10.7 deployment version of the Mac SDK | 6 # Some WebRTC targets require the 10.7 deployment version of the Mac SDK |
| 7 # and a 10.11 min SDK, but those targets are only used in non-Chromium | 7 # and a 10.11 min SDK, but those targets are only used in non-Chromium |
| 8 # builds. We can remove this when Chromium drops 10.6 support and also | 8 # builds. We can remove this when Chromium drops 10.6 support and also |
| 9 # requires 10.7. | 9 # requires 10.7. |
| 10 mac_sdk_min_build_override = "10.10" | 10 mac_sdk_min_build_override = "10.10" |
| 11 mac_deployment_target_build_override = "10.7" | 11 mac_deployment_target_build_override = "10.7" |
| 12 | 12 |
| 13 # Variable that can be used to support multiple build scenarios, like having | 13 # Variable that can be used to support multiple build scenarios, like having |
| 14 # Chromium specific targets in a client project's GN file etc. | 14 # Chromium specific targets in a client project's GN file etc. |
| 15 build_with_chromium = true | 15 build_with_chromium = true |
| 16 | 16 |
| 17 # Support different NDK locations in non-Chromium builds. | 17 # Support different NDK locations in non-Chromium builds. |
| 18 default_android_ndk_root = "//third_party/android_ndk" | 18 default_android_ndk_root = "//third_party/android_ndk" |
| 19 default_android_ndk_version = "r11c" | 19 default_android_ndk_version = "r12b" |
| 20 default_android_ndk_major_version = "11" | 20 default_android_ndk_major_version = "12" |
| 21 | 21 |
| 22 # PDFium builds don't support building java targets. | 22 # PDFium builds don't support building java targets. |
| 23 enable_java_templates = false | 23 enable_java_templates = false |
| 24 | 24 |
| 25 # Whether to use the neon FPU instruction set or not. | 25 # Whether to use the neon FPU instruction set or not. |
| 26 if (current_cpu == "arm") { | 26 if (current_cpu == "arm") { |
| 27 arm_use_neon = true | 27 arm_use_neon = true |
| 28 } | 28 } |
| 29 | 29 |
| 30 # PDFium builds don't use Chromium's third_party/binutils. | 30 # PDFium builds don't use Chromium's third_party/binutils. |
| 31 linux_use_bundled_binutils_override = false | 31 linux_use_bundled_binutils_override = false |
| 32 | 32 |
| 33 # PDFium just uses the Chromium suppression files for now. | 33 # PDFium just uses the Chromium suppression files for now. |
| 34 asan_suppressions_file = "//build/sanitizers/asan_suppressions.cc" | 34 asan_suppressions_file = "//build/sanitizers/asan_suppressions.cc" |
| 35 lsan_suppressions_file = "//build/sanitizers/lsan_suppressions.cc" | 35 lsan_suppressions_file = "//build/sanitizers/lsan_suppressions.cc" |
| 36 tsan_suppressions_file = "//build/sanitizers/tsan_suppressions.cc" | 36 tsan_suppressions_file = "//build/sanitizers/tsan_suppressions.cc" |
| 37 |
| 38 declare_args() { |
| 39 # Android 32-bit non-component, non-clang builds cannot have symbol_level=2 |
| 40 # due to 4GiB file size limit, see https://crbug.com/648948. |
| 41 # Set this flag to true to skip the assertion. |
| 42 ignore_elf32_limitations = false |
| 43 } |
| OLD | NEW |