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 when built | 5 # Several dependencies of Chrome require a different min sdk when built |
6 # as stand-alone projects. If this is ever not the case, these variables | 6 # as stand-alone projects. If this is ever not the case, these variables |
7 # 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 | 10 |
11 # 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 |
12 # Chromium specific targets in a client project's GN file etc. | 12 # Chromium specific targets in a client project's GN file etc. |
13 build_with_chromium = true | 13 build_with_chromium = true |
14 | 14 |
15 # Uncomment these to specify a different NDK location and version in | 15 # Uncomment these to specify a different NDK location and version in |
16 # non-Chromium builds. | 16 # non-Chromium builds. |
17 # default_android_ndk_root = "//third_party/android_tools/ndk" | 17 # default_android_ndk_root = "//third_party/android_tools/ndk" |
18 # default_android_ndk_version = "r10e" | 18 # default_android_ndk_version = "r10e" |
19 | 19 |
20 # Some non-Chromium builds don't support building java targets. | 20 # Some non-Chromium builds don't support building java targets. |
21 enable_java_templates = true | 21 enable_java_templates = true |
22 | 22 |
23 # 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. |
24 linux_use_bundled_binutils_override = true | 24 linux_use_bundled_binutils_override = true |
25 | 25 |
26 # Allows different projects to specify their own suppressions files. | 26 # Allows different projects to specify their own suppressions and blacklist |
27 asan_suppressions_file = "//build/sanitizers/asan_suppressions.cc" | 27 # files for sanitizer tools. |
28 lsan_suppressions_file = "//build/sanitizers/lsan_suppressions.cc" | 28 # asan_suppressions_file = "path/to/asan_suppressions.cc" |
29 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" |
30 | 39 |
31 # Uncomment these to specify a different lint suppressions file for android | 40 # Uncomment these to specify a different lint suppressions file for android |
32 # lint_suppressions_file = path/to/your/suppressions/file/suppressions.xml | 41 # lint_suppressions_file = path/to/your/suppressions/file/suppressions.xml |
33 | 42 |
34 declare_args() { | 43 declare_args() { |
35 # 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 |
36 # due to 4GiB file size limit, see https://crbug.com/648948. | 45 # due to 4GiB file size limit, see https://crbug.com/648948. |
37 # Set this flag to true to skip the assertion. | 46 # Set this flag to true to skip the assertion. |
38 ignore_elf32_limitations = false | 47 ignore_elf32_limitations = false |
39 | 48 |
40 # Use the system install of Xcode for tools like ibtool, libtool, etc. | 49 # Use the system install of Xcode for tools like ibtool, libtool, etc. |
41 # This does not affect the compiler. When this variable is false, targets will | 50 # This does not affect the compiler. When this variable is false, targets will |
42 # instead use a hermetic install of Xcode. [The hermetic install can be | 51 # instead use a hermetic install of Xcode. [The hermetic install can be |
43 # obtained with gclient sync after setting the environment variable | 52 # obtained with gclient sync after setting the environment variable |
44 # FORCE_MAC_TOOLCHAIN]. | 53 # FORCE_MAC_TOOLCHAIN]. |
45 use_system_xcode = "" | 54 use_system_xcode = "" |
46 } | 55 } |
47 | 56 |
48 if (use_system_xcode == "") { | 57 if (use_system_xcode == "") { |
49 _result = exec_script("//build/mac/should_use_hermetic_xcode.py", | 58 _result = exec_script("//build/mac/should_use_hermetic_xcode.py", |
50 [ target_os ], | 59 [ target_os ], |
51 "value") | 60 "value") |
52 use_system_xcode = _result == 0 | 61 use_system_xcode = _result == 0 |
53 } | 62 } |
OLD | NEW |