Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: build_overrides/build.gni

Issue 2563703002: Reland Enable hermetic builds for iOS. (Closed)
Patch Set: Pass target_os from mac_toolchain Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/mac_toolchain.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 if (target_os == "mac") { 49 _result = exec_script("//build/mac/should_use_hermetic_xcode.py",
50 _result = 50 [ target_os ],
51 exec_script("//build/mac/should_use_hermetic_xcode.py", [], "value") 51 "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 }
57 } 53 }
OLDNEW
« no previous file with comments | « build/mac_toolchain.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698