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

Side by Side Diff: components/policy/BUILD.gn

Issue 2387723002: Test CL to demonstrate GN + hermetic toolchain
Patch Set: more fixes. 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/toolchain/toolchain.gni")
7 import("//components/policy/resources/policy_templates.gni") 8 import("//components/policy/resources/policy_templates.gni")
8 import("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
9 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
10 11
11 if (is_mac) { 12 if (is_mac) {
12 import("//build/util/branding.gni") 13 import("//build/util/branding.gni")
13 } 14 }
14 15
15 if (is_component_build) { 16 if (is_component_build) {
16 # External code should depend on either //components/policy/core/browser or 17 # External code should depend on either //components/policy/core/browser or
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 "$policy_templates_base_dir/mac/app-Manifest.plist", 215 "$policy_templates_base_dir/mac/app-Manifest.plist",
215 ] 216 ]
216 inputs = [ 217 inputs = [
217 script, 218 script,
218 ] 219 ]
219 outputs = [ 220 outputs = [
220 "$target_gen_dir/$chrome_mac_bundle_id.manifest", 221 "$target_gen_dir/$chrome_mac_bundle_id.manifest",
221 ] 222 ]
222 223
223 args = [ 224 args = [
225 "--developer_dir",
226 hermetic_xcode_path,
224 "plutil", 227 "plutil",
225 "-convert", 228 "-convert",
226 "xml1", 229 "xml1",
227 ] + rebase_path(sources, root_out_dir) + [ "-o" ] + 230 ] + rebase_path(sources, root_out_dir) + [ "-o" ] +
228 rebase_path(outputs, root_out_dir) 231 rebase_path(outputs, root_out_dir)
229 232
230 deps = [ 233 deps = [
231 ":policy_templates", 234 ":policy_templates",
232 ] 235 ]
233 } 236 }
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 "--grit_info", 310 "--grit_info",
308 rebase_path(grit_info_script, root_build_dir), 311 rebase_path(grit_info_script, root_build_dir),
309 ] + grit_defines 312 ] + grit_defines
310 deps = [ 313 deps = [
311 ":add_version", 314 ":add_version",
312 ":policy_templates", 315 ":policy_templates",
313 ] 316 ]
314 } 317 }
315 } 318 }
316 } 319 }
OLDNEW
« no previous file with comments | « chrome/tools/build/mac/run_verify_order.py ('k') | third_party/WebKit/Source/build/scripts/gperf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698