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

Side by Side Diff: build/config/mac/base_rules.gni

Issue 2388063003: Add a variable use_system_xcode to GN. (Closed)
Patch Set: Comments from dpranke. Created 4 years, 2 months 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 | « no previous file | build/config/mac/compile_xib.py » ('j') | build/config/mac/compile_xib.py » ('J')
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 # This file contains rules that are shared between Mac and iOS. 5 # This file contains rules that are shared between Mac and iOS.
6 6
7 import("//build/toolchain/toolchain.gni") 7 import("//build/toolchain/toolchain.gni")
8 import("//build/config/mac/symbols.gni") 8 import("//build/config/mac/symbols.gni")
9 9
10 if (is_mac) { 10 if (is_mac) {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 ibtool_flags = [] 148 ibtool_flags = []
149 if (defined(invoker.ibtool_flags)) { 149 if (defined(invoker.ibtool_flags)) {
150 ibtool_flags = invoker.ibtool_flags 150 ibtool_flags = invoker.ibtool_flags
151 } 151 }
152 152
153 script = "//build/config/mac/compile_xib.py" 153 script = "//build/config/mac/compile_xib.py"
154 sources = invoker.sources 154 sources = invoker.sources
155 outputs = [ 155 outputs = [
156 "$target_gen_dir/$target_name/{{source_name_part}}.nib", 156 "$target_gen_dir/$target_name/{{source_name_part}}.nib",
157 ] 157 ]
158 args = 158 args = [
159 [ 159 "--input",
160 "--input", 160 "{{source}}",
161 "{{source}}", 161 "--output",
162 "--output", 162 rebase_path("$target_gen_dir/$target_name/{{source_name_part}}.nib"),
163 rebase_path("$target_gen_dir/$target_name/{{source_name_part}}.nib"), 163 ]
164 ] + ibtool_flags 164 if (!use_system_xcode) {
165 args += [
166 "--developer_dir",
167 hermetic_xcode_path,
168 ]
169 }
170 args += ibtool_flags
165 } 171 }
166 } 172 }
OLDNEW
« no previous file with comments | « no previous file | build/config/mac/compile_xib.py » ('j') | build/config/mac/compile_xib.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698