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

Unified Diff: tools/gn/switches.cc

Issue 1978693002: GN: Allow setting the path to Python (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename the switch to script-executable Created 4 years, 7 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/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/switches.cc
diff --git a/tools/gn/switches.cc b/tools/gn/switches.cc
index 45b25e6240f2e7dbfc0a2b8ec11a621cc1ea685b..c8b42564a4faf16fab8b457c8f6c2d6743236a21 100644
--- a/tools/gn/switches.cc
+++ b/tools/gn/switches.cc
@@ -103,6 +103,16 @@ const char kNoColor_HelpShort[] =
"--nocolor: Force non-colored output.";
const char kNoColor_Help[] = COLOR_HELP_LONG;
+const char kScriptExecutable[] = "script-executable";
+const char kScriptExecutable_HelpShort[] =
+ "--script-executable: Set the executable used to execute scripts.";
+const char kScriptExecutable_Help[] =
+ "--script-executable: Set the executable used to execute scripts.\n"
+ "\n"
+ " By default GN uses Python to execute scripts in action targets and\n"
brettw 2016/05/13 17:03:44 Can you change this to: By default GN searches th
Petr Hosek 2016/05/13 18:13:47 Done.
+ " exec_scripts function invocations. This flag allows using a custom\n"
+ " executable.\n";
+
const char kQuiet[] = "q";
const char kQuiet_HelpShort[] =
"-q: Quiet mode. Don't print output on success.";
« no previous file with comments | « tools/gn/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698