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 |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 # Use the system install of Xcode for tools like ibtool, libtool, etc. | 40 # 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 | 41 # 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 | 42 # instead use a hermetic install of Xcode. [The hermetic install can be |
43 # obtained with gclient sync after setting the environment variable | 43 # obtained with gclient sync after setting the environment variable |
44 # FORCE_MAC_TOOLCHAIN]. | 44 # FORCE_MAC_TOOLCHAIN]. |
45 use_system_xcode = "" | 45 use_system_xcode = "" |
46 } | 46 } |
47 | 47 |
48 if (use_system_xcode == "") { | 48 if (use_system_xcode == "") { |
49 _result = exec_script("//build/mac/should_use_hermetic_xcode.py", | 49 if (target_os == "mac") { |
50 [ target_os ], | 50 _result = |
51 "value") | 51 exec_script("//build/mac/should_use_hermetic_xcode.py", [], "value") |
52 use_system_xcode = _result == 0 | 52 use_system_xcode = _result == 0 |
| 53 } |
| 54 if (target_os == "ios") { |
| 55 use_system_xcode = true |
| 56 } |
53 } | 57 } |
OLD | NEW |