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

Unified Diff: tools/gn/function_toolchain.cc

Issue 2239943002: Forward bundle product_type to the compile_xcassets tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add documentation for new substitution and regenerate reference documentation. Created 4 years, 4 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 | « tools/gn/docs/reference.md ('k') | tools/gn/ninja_create_bundle_target_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/function_toolchain.cc
diff --git a/tools/gn/function_toolchain.cc b/tools/gn/function_toolchain.cc
index 69ca961cfdae0a5c1707ef7c45e3a8dd0ca6a34d..fbc9f0f830185b568bd9ed4ab0da5f5efba9ce84 100644
--- a/tools/gn/function_toolchain.cc
+++ b/tools/gn/function_toolchain.cc
@@ -858,7 +858,17 @@ const char kTool_Help[] =
" copied.\n"
"\n"
" The compile_xcassets tool will be called with one or more source (each\n"
- " an asset catalog) that needs to be compiled to a single output.\n"
+ " an asset catalog) that needs to be compiled to a single output. The\n"
+ " following substitutions are avaiable:\n"
+ "\n"
+ " {{inputs}}\n"
+ " Expands to the list of .xcassets to use as input to compile the\n"
+ " asset catalog.\n"
+ "\n"
+ " {{bundle_product_type}}\n"
+ " Expands to the product_type of the bundle that will contain the\n"
+ " compiled asset catalog. Usually correspond to the product_type\n"
brettw 2016/08/11 23:46:35 Grammar: "correspond" -> "corresponds"
sdefresne 2016/08/12 19:38:53 Done.
+ " property of the corresponding create_bundle target.\n"
"\n"
"Separate linking and dependencies for shared libraries\n"
"\n"
« no previous file with comments | « tools/gn/docs/reference.md ('k') | tools/gn/ninja_create_bundle_target_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698