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

Unified Diff: tools/gn/functions.h

Issue 161783002: Remove default value checking in GN, adds getenv function, reorders parameters to rebase_path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/function_rebase_path_unittest.cc ('k') | tools/gn/functions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/functions.h
diff --git a/tools/gn/functions.h b/tools/gn/functions.h
index 4a7833ad6700025823b20e07b08252a6f383df4e..60eb202a343a31ca0cfcbc505172984887072e17 100644
--- a/tools/gn/functions.h
+++ b/tools/gn/functions.h
@@ -121,6 +121,13 @@ Value RunExecutable(Scope* scope,
BlockNode* block,
Err* err);
+extern const char kGetEnv[];
+extern const char kGetEnv_Help[];
+Value RunGetEnv(Scope* scope,
+ const FunctionCallNode* function,
+ const std::vector<Value>& args,
+ Err* err);
+
extern const char kGroup[];
extern const char kGroup_Help[];
Value RunGroup(Scope* scope,
« no previous file with comments | « tools/gn/function_rebase_path_unittest.cc ('k') | tools/gn/functions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698