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

Unified Diff: chrome/browser/resources/vulcanize.gni

Issue 2726403003: WebUI: Split unpack_pak functionality to its own GN action. (Closed)
Patch Set: Rebase Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/vulcanize.gni
diff --git a/chrome/browser/resources/vulcanize.gni b/chrome/browser/resources/vulcanize.gni
index f241c07d37983a613a61600f81911beebee84889..da02bac9dd3c5817adf3fb01d9386395a060f6a1 100644
--- a/chrome/browser/resources/vulcanize.gni
+++ b/chrome/browser/resources/vulcanize.gni
@@ -98,3 +98,26 @@ template("polymer_css_build") {
] + invoker.input_files + [ "--output_files" ] + invoker.output_files
}
}
+
+template("unpack_pak") {
+ action(target_name) {
+ script = "//chrome/browser/resources/unpack_pak.py"
+
+ inputs = [
+ "//chrome/browser/resources/unpack_pak.py",
+ ]
+
+ outputs = [
+ "$target_gen_dir/${invoker.out_folder}",
+ ]
+
+ deps = invoker.deps
+
+ args = [
+ "--out_folder",
+ rebase_path("$target_gen_dir/${invoker.out_folder}", root_build_dir),
+ "--pak_file",
+ rebase_path("$target_gen_dir/${invoker.pak_file}", root_build_dir),
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698