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 # Several dependencies of Chrome require a different min sdk and/or deployment | 5 # Several dependencies of Chrome require a different min sdk when built |
6 # target when built as stand-alone projects. If this is ever not the case, these | 6 # as stand-alone projects. If this is ever not the case, these variables |
7 # variables can be removed. | 7 # can be removed. |
8 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=5453. | 8 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=5453. |
9 mac_sdk_min_build_override = "10.10" | 9 mac_sdk_min_build_override = "10.10" |
10 mac_deployment_target_build_override = "10.8" | |
11 | 10 |
12 # Variable that can be used to support multiple build scenarios, like having | 11 # Variable that can be used to support multiple build scenarios, like having |
13 # Chromium specific targets in a client project's GN file etc. | 12 # Chromium specific targets in a client project's GN file etc. |
14 build_with_chromium = true | 13 build_with_chromium = true |
15 | 14 |
16 # Uncomment these to specify a different NDK location and version in | 15 # Uncomment these to specify a different NDK location and version in |
17 # non-Chromium builds. | 16 # non-Chromium builds. |
18 # default_android_ndk_root = "//third_party/android_tools/ndk" | 17 # default_android_ndk_root = "//third_party/android_tools/ndk" |
19 # default_android_ndk_version = "r10e" | 18 # default_android_ndk_version = "r10e" |
20 | 19 |
21 # Some non-Chromium builds don't support building java targets. | 20 # Some non-Chromium builds don't support building java targets. |
22 enable_java_templates = true | 21 enable_java_templates = true |
23 | 22 |
24 # Some non-Chromium builds don't use Chromium's third_party/binutils. | 23 # Some non-Chromium builds don't use Chromium's third_party/binutils. |
25 linux_use_bundled_binutils_override = true | 24 linux_use_bundled_binutils_override = true |
26 | 25 |
27 # Allows different projects to specify their own suppressions files. | 26 # Allows different projects to specify their own suppressions and blacklist |
28 asan_suppressions_file = "//build/sanitizers/asan_suppressions.cc" | 27 # files for sanitizer tools. |
29 lsan_suppressions_file = "//build/sanitizers/lsan_suppressions.cc" | 28 # asan_suppressions_file = "path/to/asan_suppressions.cc" |
30 tsan_suppressions_file = "//build/sanitizers/tsan_suppressions.cc" | 29 # asan_blacklist_path = "path/to/asan/blacklist.txt" |
| 30 # asan_win_blacklist_path = "path/to/asan/blacklist_win.txt" |
| 31 # lsan_suppressions_file = "path/to/lsan_suppressions.cc" |
| 32 # tsan_suppressions_file = "path/to/tsan_suppressions.cc" |
| 33 # tsan_blacklist_path = "path/to/tsan/ignores.txt" |
| 34 # msan_blacklist_path = "path/to/msan/blacklist.txt" |
| 35 # ubsan_blacklist_path = "path/to/ubsan/blacklist.txt" |
| 36 # ubsan_vptr_blacklist_path = "path/to/ubsan/vptr_blacklist.txt" |
| 37 # ubsan_security_blacklist_path = "path/to/ubsan/security_blacklist.txt" |
| 38 # cfi_blacklist_path = "path/to/cfi/blacklist.txt" |
31 | 39 |
32 # Uncomment these to specify a different lint suppressions file for android | 40 # Uncomment these to specify a different lint suppressions file for android |
33 # lint_suppressions_file = path/to/your/suppressions/file/suppressions.xml | 41 # lint_suppressions_file = path/to/your/suppressions/file/suppressions.xml |
34 | 42 |
35 declare_args() { | 43 declare_args() { |
36 # Android 32-bit non-component, non-clang builds cannot have symbol_level=2 | 44 # Android 32-bit non-component, non-clang builds cannot have symbol_level=2 |
37 # due to 4GiB file size limit, see https://crbug.com/648948. | 45 # due to 4GiB file size limit, see https://crbug.com/648948. |
38 # Set this flag to true to skip the assertion. | 46 # Set this flag to true to skip the assertion. |
39 ignore_elf32_limitations = false | 47 ignore_elf32_limitations = false |
| 48 |
| 49 # Use the system install of Xcode for tools like ibtool, libtool, etc. |
| 50 # This does not affect the compiler. When this variable is false, targets will |
| 51 # instead use a hermetic install of Xcode. [The hermetic install can be |
| 52 # obtained with gclient sync after setting the environment variable |
| 53 # FORCE_MAC_TOOLCHAIN]. |
| 54 use_system_xcode = "" |
40 } | 55 } |
| 56 |
| 57 if (use_system_xcode == "") { |
| 58 _result = exec_script("//build/mac/should_use_hermetic_xcode.py", |
| 59 [ target_os ], |
| 60 "value") |
| 61 use_system_xcode = _result == 0 |
| 62 } |
OLD | NEW |