| Index: chrome/browser/resources/settings/BUILD.gn
|
| diff --git a/chrome/browser/resources/settings/BUILD.gn b/chrome/browser/resources/settings/BUILD.gn
|
| index fc8abb32e0beac01fa6be97187f5663581ff8313..c1de855568d1def79a3788c3f43139ee35a3e5f4 100644
|
| --- a/chrome/browser/resources/settings/BUILD.gn
|
| +++ b/chrome/browser/resources/settings/BUILD.gn
|
| @@ -3,17 +3,27 @@ import("//tools/grit/grit_rule.gni")
|
| import("//chrome/common/features.gni")
|
|
|
| vulcanized_unbuilt = "vulcanized.unbuilt.html"
|
| +settings_pak_file = "settings_resources.pak"
|
| +unpak_folder = "settings_resources.unpak"
|
|
|
| vulcanize("vulcanize") {
|
| host = "md-settings"
|
| html_in_file = "settings.html"
|
| html_out_file = vulcanized_unbuilt
|
| insert_in_head = "<base href=\"chrome://\$i18n{hostname}\">"
|
| - input = rebase_path(root_gen_dir, root_build_dir) +
|
| - "/chrome/browser/resources/settings/settings_resources.pak"
|
| + input = rebase_path("$target_gen_dir/$unpak_folder", root_build_dir)
|
| js_out_file = "crisper.js"
|
|
|
| deps = [
|
| + ":unpak",
|
| + ]
|
| +}
|
| +
|
| +unpak("unpak") {
|
| + pak_file = settings_pak_file
|
| + out_folder = unpak_folder
|
| +
|
| + deps = [
|
| ":flattened_resources",
|
| ]
|
| }
|
| @@ -33,7 +43,7 @@ grit("flattened_resources") {
|
| "grit/settings_resources.h",
|
| "grit/settings_resources_map.cc",
|
| "grit/settings_resources_map.h",
|
| - "settings_resources.pak",
|
| + settings_pak_file,
|
| ]
|
| output_dir = "$root_gen_dir/chrome/browser/resources/settings"
|
| }
|
|
|