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

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

Issue 1486403002: Mojo-ifying chrome://version. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change slashes Created 4 years, 5 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 | « components/components_resources.gyp ('k') | components/resources/version_ui_resources.grdp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 import("//third_party/brotli/brotli.gni") 6 import("//third_party/brotli/brotli.gni")
7 7
8 about_credits_file = "$target_gen_dir/about_credits.html" 8 about_credits_file = "$target_gen_dir/about_credits.html"
9 about_credits_file_bro = "$target_gen_dir/about_credits.bro" 9 about_credits_file_bro = "$target_gen_dir/about_credits.bro"
10 10
(...skipping 14 matching lines...) Expand all
25 output_name = "components_resources_new" 25 output_name = "components_resources_new"
26 outputs = [ 26 outputs = [
27 "grit/components_resources.h", 27 "grit/components_resources.h",
28 "components_resources.pak", 28 "components_resources.pak",
29 ] 29 ]
30 output_dir = "$root_gen_dir/components" 30 output_dir = "$root_gen_dir/components"
31 31
32 grit_flags = [ 32 grit_flags = [
33 "-E", 33 "-E",
34 "about_credits_file=" + rebase_path(about_credits_file_bro, root_build_dir), 34 "about_credits_file=" + rebase_path(about_credits_file_bro, root_build_dir),
35 "-E",
36 "output_dir=" + rebase_path(output_dir, root_build_dir),
35 ] 37 ]
36 38
37 deps = [ 39 deps = [
38 ":compressed_about_credits", 40 ":compressed_about_credits",
39 ] 41 ]
40 } 42 }
41 43
42 # GYP version: components/components_resources.gyp 44 # GYP version: components/components_resources.gyp
43 # (generate_scaled_components_resources action) 45 # (generate_scaled_components_resources action)
44 grit("components_scaled_resources") { 46 grit("components_scaled_resources") {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 outputs = [ 83 outputs = [
82 about_credits_file, 84 about_credits_file,
83 ] 85 ]
84 86
85 args = [ 87 args = [
86 "--target-os=$target_os", 88 "--target-os=$target_os",
87 "credits", 89 "credits",
88 rebase_path(about_credits_file, root_build_dir), 90 rebase_path(about_credits_file, root_build_dir),
89 ] 91 ]
90 } 92 }
OLDNEW
« no previous file with comments | « components/components_resources.gyp ('k') | components/resources/version_ui_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698