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

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

Issue 2726403003: WebUI: Split unpack_pak functionality to its own GN action. (Closed)
Patch Set: Address comments. 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
« no previous file with comments | « chrome/browser/resources/unpack_pak.py ('k') | chrome/browser/resources/vulcanize_gn.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/vulcanize.gni
diff --git a/chrome/browser/resources/vulcanize.gni b/chrome/browser/resources/vulcanize.gni
index f241c07d37983a613a61600f81911beebee84889..69db5294cc8fa73b74f5f1ad3bb0a197ffcf512c 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("unpak") {
+ action(target_name) {
+ script = "//chrome/browser/resources/unpack_pak.py"
+
+ inputs = [
+ "//chrome/browser/resources/unpack_pak.py",
+ ]
+
+ outputs = [
+ "$target_gen_dir/${invoker.out_folder}",
Nico 2017/03/22 22:09:06 Listing directories as outputs isn't great, since
+ ]
+
+ 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),
+ ]
+ }
+}
« no previous file with comments | « chrome/browser/resources/unpack_pak.py ('k') | chrome/browser/resources/vulcanize_gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698