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

Side by Side Diff: chrome/app/nibs/BUILD.gn

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
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 import("//build/config/mac/rules.gni") 5 import("//build/config/mac/rules.gni")
6 6
7 assert(is_mac) 7 assert(is_mac)
8 8
9 translated_xibs = [ 9 translated_xibs = [
10 "AppMenu.xib", 10 "AppMenu.xib",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 61
62 action("localizer_table") { 62 action("localizer_table") {
63 script = "generate_localizer.py" 63 script = "generate_localizer.py"
64 64
65 sources = translated_xibs 65 sources = translated_xibs
66 table_path = "$target_gen_dir/localizer_table.h" 66 table_path = "$target_gen_dir/localizer_table.h"
67 outputs = [ 67 outputs = [
68 table_path, 68 table_path,
69 ] 69 ]
70 args = [ rebase_path(table_path, root_build_dir) ] + 70 args = [
71 rebase_path(translated_xibs, root_build_dir) 71 "--output_path",
72 rebase_path(table_path, root_build_dir),
73 ]
74 if (!use_system_xcode) {
75 args += [
76 "--developer_dir",
77 hermetic_xcode_path,
78 ]
79 }
80 args += rebase_path(translated_xibs, root_build_dir)
72 } 81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698