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

Side by Side Diff: chrome/browser/resources/BUILD.gn

Issue 2700983003: Revert of WebUI: Vulcanize MD Settings at compile time. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | chrome/browser/resources/settings/BUILD.gn » ('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("//chrome/common/features.gni") 5 import("//chrome/common/features.gni")
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 7
8 grit("net_internals_resources") { 8 grit("net_internals_resources") {
9 source = "net_internals_resources.grd" 9 source = "net_internals_resources.grd"
10 use_qualified_include = true 10 use_qualified_include = true
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 outputs = [ 87 outputs = [
88 "grit/component_extension_resources.h", 88 "grit/component_extension_resources.h",
89 "grit/component_extension_resources_map.cc", 89 "grit/component_extension_resources_map.cc",
90 "grit/component_extension_resources_map.h", 90 "grit/component_extension_resources_map.h",
91 "component_extension_resources.pak", 91 "component_extension_resources.pak",
92 ] 92 ]
93 output_dir = "$root_gen_dir/chrome" 93 output_dir = "$root_gen_dir/chrome"
94 } 94 }
95 95
96 grit("settings_resources") { 96 grit("settings_resources") {
97 if (use_vulcanize) { 97 source = "settings/settings_resources.grd"
98 source = "settings/settings_resources_vulcanized.grd"
99 deps = [
100 "//chrome/browser/resources/settings:vulcanize",
101 ]
102 grit_flags = [
103 "-E",
104 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
105 ]
106 } else {
107 source = "settings/settings_resources.grd"
108 }
109 98
110 # TODO(thestig): use_qualified_include = true 99 # TODO(thestig): use_qualified_include = true
111 defines = chrome_grit_defines 100 defines = chrome_grit_defines
112 outputs = [ 101 outputs = [
113 "grit/settings_resources.h", 102 "grit/settings_resources.h",
114 "grit/settings_resources_map.cc", 103 "grit/settings_resources_map.cc",
115 "grit/settings_resources_map.h", 104 "grit/settings_resources_map.h",
116 "settings_resources.pak", 105 "settings_resources.pak",
117 ] 106 ]
118 output_dir = "$root_gen_dir/chrome" 107 output_dir = "$root_gen_dir/chrome"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 source = "webapks_ui_resources.grd" 155 source = "webapks_ui_resources.grd"
167 use_qualified_include = true 156 use_qualified_include = true
168 defines = chrome_grit_defines 157 defines = chrome_grit_defines
169 outputs = [ 158 outputs = [
170 "grit/webapks_ui_resources.h", 159 "grit/webapks_ui_resources.h",
171 "webapks_ui_resources.pak", 160 "webapks_ui_resources.pak",
172 ] 161 ]
173 output_dir = "$root_gen_dir/chrome" 162 output_dir = "$root_gen_dir/chrome"
174 } 163 }
175 } 164 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698