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

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

Issue 2573943002: WebUI: Vulcanize MD Settings at compile time. (Closed)
Patch Set: Rebase 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
OLDNEW
(Empty)
1 import("../vulcanize.gni")
2 import("//tools/grit/grit_rule.gni")
3 import("//chrome/common/features.gni")
4
5 vulcanized_unbuilt = "vulcanized.unbuilt.html"
6
7 vulcanize("vulcanize") {
8 host = "md-settings"
9 html_in_file = "settings.html"
10 html_out_file = vulcanized_unbuilt
11 insert_in_head = "<base href=\"chrome://\$i18n{hostname}\">"
12 input = rebase_path(root_gen_dir, root_build_dir) +
13 "/chrome/browser/resources/settings/settings_resources.pak"
14 js_out_file = "crisper.js"
15
16 deps = [
17 ":flattened_resources",
18 ]
19 }
20
21 polymer_css_build("build") {
22 input_files = [ vulcanized_unbuilt ]
23 output_files = [ "vulcanized.html" ]
24 deps = [
25 ":vulcanize",
26 ]
27 }
28
29 grit("flattened_resources") {
30 source = "settings_resources.grd"
31
32 # TODO(thestig): use_qualified_include = true
33 defines = chrome_grit_defines
34 outputs = [
35 "grit/settings_resources.h",
36 "grit/settings_resources_map.cc",
37 "grit/settings_resources_map.h",
38 "settings_resources.pak",
39 ]
40 output_dir = "$root_gen_dir/chrome/browser/resources/settings"
41 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/BUILD.gn ('k') | chrome/browser/resources/settings/about_page/about_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698