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

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

Issue 2001093002: Revert of Remove enable_topchrome_md build flag (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",
54 ] 56 ]
55 output_dir = "$root_gen_dir/components" 57 output_dir = "$root_gen_dir/components"
56 } 58 }
57 59
58 # GYP version: components/components_resources.gyp:about_credits 60 # GYP version: components/components_resources.gyp:about_credits
59 action("about_credits") { 61 action("about_credits") {
60 script = "//tools/licenses.py" 62 script = "//tools/licenses.py"
61 63
62 inputs = [ 64 inputs = [
63 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to 65 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to
64 # generate a .d file with all the licenses/credits that about:credits uses. 66 # generate a .d file with all the licenses/credits that about:credits uses.
65 # Then about:credits will automatically rebuild when one of them changes. 67 # Then about:credits will automatically rebuild when one of them changes.
66 # See: depfile in gn's documentation (gn help depfile). 68 # See: depfile in gn's documentation (gn help depfile).
67 "../about_ui/resources/about_credits.tmpl", 69 "../about_ui/resources/about_credits.tmpl",
68 "../about_ui/resources/about_credits_entry.tmpl", 70 "../about_ui/resources/about_credits_entry.tmpl",
69 ] 71 ]
70 72
71 outputs = [ 73 outputs = [
72 about_credits_file, 74 about_credits_file,
73 ] 75 ]
74 76
75 args = [ 77 args = [
76 "--target-os=$target_os", 78 "--target-os=$target_os",
77 "credits", 79 "credits",
78 rebase_path(about_credits_file, root_build_dir), 80 rebase_path(about_credits_file, root_build_dir),
79 ] 81 ]
80 } 82 }
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