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

Unified Diff: tools/gn/variables.cc

Issue 2926013002: Support explicit pools in actions (Closed)
Patch Set: Created 3 years, 6 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
« tools/gn/toolchain.cc ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/variables.cc
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc
index d304bc508cfef300b8b81c6378286b49caed22c9..91f1f4ee18580fbf92520271a0bb5505384843ee 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -1441,6 +1441,23 @@ const char kOutputs_Help[] =
with no source expansions. See "gn help action".
)";
+const char kPool[] = "pool";
brettw 2017/06/08 18:36:20 This will cause a problem for help, because "gn he
+const char kPool_HelpShort[] =
+ "pool: [string] Label of the pool used by the action.";
+const char kPool_Help[] =
+ R"(pool: Label of the pool used by the action.
+
+ A fully-qualified label representing the pool that will be used for the
+ action.
brettw 2017/06/08 18:36:20 Can this add "Pools are defined using the pool() {
Petr Hosek 2017/06/09 03:24:33 Done.
+
+Example
+
+ action("action") {
+ pool = "//build:custom_pool"
+ ...
+ }
+)";
+
const char kPrecompiledHeader[] = "precompiled_header";
const char kPrecompiledHeader_HelpShort[] =
"precompiled_header: [string] Header file to precompile.";
« tools/gn/toolchain.cc ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698