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

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

Issue 2004143002: Retry of 2b0e51237fa07b4fb9f6c20edcefce094f6cf5f5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « chrome/tools/build/win/FILES.cfg ('k') | components/resources/components_scaled_resources.grd » ('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 6
7 about_credits_file = "$target_gen_dir/about_credits.html" 7 about_credits_file = "$target_gen_dir/about_credits.html"
8 8
9 # GYP version: components/components_resources.gyp:components_resources 9 # GYP version: components/components_resources.gyp:components_resources
10 group("resources") { 10 group("resources") {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 # TODO(hashimoto): Remove this line. 45 # TODO(hashimoto): Remove this line.
46 output_name = "components_scaled_resources_new" 46 output_name = "components_scaled_resources_new"
47 outputs = [ 47 outputs = [
48 "grit/components_scaled_resources.h", 48 "grit/components_scaled_resources.h",
49 "grit/components_scaled_resources_map.cc", 49 "grit/components_scaled_resources_map.cc",
50 "grit/components_scaled_resources_map.h", 50 "grit/components_scaled_resources_map.h",
51 "components_resources_100_percent.pak", 51 "components_resources_100_percent.pak",
52 "components_resources_200_percent.pak", 52 "components_resources_200_percent.pak",
53 "components_resources_300_percent.pak", 53 "components_resources_300_percent.pak",
54 "components_resources_material_100_percent.pak",
55 "components_resources_material_200_percent.pak",
56 ] 54 ]
57 output_dir = "$root_gen_dir/components" 55 output_dir = "$root_gen_dir/components"
58 } 56 }
59 57
60 # GYP version: components/components_resources.gyp:about_credits 58 # GYP version: components/components_resources.gyp:about_credits
61 action("about_credits") { 59 action("about_credits") {
62 script = "//tools/licenses.py" 60 script = "//tools/licenses.py"
63 61
64 inputs = [ 62 inputs = [
65 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to 63 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to
66 # generate a .d file with all the licenses/credits that about:credits uses. 64 # generate a .d file with all the licenses/credits that about:credits uses.
67 # Then about:credits will automatically rebuild when one of them changes. 65 # Then about:credits will automatically rebuild when one of them changes.
68 # See: depfile in gn's documentation (gn help depfile). 66 # See: depfile in gn's documentation (gn help depfile).
69 "../about_ui/resources/about_credits.tmpl", 67 "../about_ui/resources/about_credits.tmpl",
70 "../about_ui/resources/about_credits_entry.tmpl", 68 "../about_ui/resources/about_credits_entry.tmpl",
71 ] 69 ]
72 70
73 outputs = [ 71 outputs = [
74 about_credits_file, 72 about_credits_file,
75 ] 73 ]
76 74
77 args = [ 75 args = [
78 "--target-os=$target_os", 76 "--target-os=$target_os",
79 "credits", 77 "credits",
80 rebase_path(about_credits_file, root_build_dir), 78 rebase_path(about_credits_file, root_build_dir),
81 ] 79 ]
82 } 80 }
OLDNEW
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | components/resources/components_scaled_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698