| 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 and/or deployment |
| 6 # target when built as stand-alone projects. If this is ever not the case, these | 6 # target when built as stand-alone projects. If this is ever not the case, these |
| 7 # variables can be removed. | 7 # variables 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.9" | 10 mac_deployment_target_build_override = "10.9" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 tsan_suppressions_file = "//build/sanitizers/tsan_suppressions.cc" | 30 tsan_suppressions_file = "//build/sanitizers/tsan_suppressions.cc" |
| 31 | 31 |
| 32 # Uncomment these to specify a different lint suppressions file for android | 32 # Uncomment these to specify a different lint suppressions file for android |
| 33 # lint_suppressions_file = path/to/your/suppressions/file/suppressions.xml | 33 # lint_suppressions_file = path/to/your/suppressions/file/suppressions.xml |
| 34 | 34 |
| 35 declare_args() { | 35 declare_args() { |
| 36 # Android 32-bit non-component, non-clang builds cannot have symbol_level=2 | 36 # 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. | 37 # due to 4GiB file size limit, see https://crbug.com/648948. |
| 38 # Set this flag to true to skip the assertion. | 38 # Set this flag to true to skip the assertion. |
| 39 ignore_elf32_limitations = false | 39 ignore_elf32_limitations = false |
| 40 |
| 41 # Use the system install of Xcode for tools like ibtool, libtool, etc. |
| 42 # This does not affect the compiler. When this variable is false, targets will |
| 43 # instead use a hermetic install of Xcode. [The hermetic install can be |
| 44 # obtained with gclient sync after setting the environment variable |
| 45 # FORCE_MAC_TOOLCHAIN]. |
| 46 use_system_xcode = "" |
| 40 } | 47 } |
| 48 |
| 49 if (use_system_xcode == "") { |
| 50 if (target_os == "mac") { |
| 51 _result = |
| 52 exec_script("//build/mac/should_use_hermetic_xcode.py", [], "value") |
| 53 use_system_xcode = _result == 0 |
| 54 } |
| 55 if (target_os == "ios") { |
| 56 use_system_xcode = true |
| 57 } |
| 58 } |
| OLD | NEW |