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

Unified Diff: build/landmine_utils.py

Issue 695753002: Add support for GYP_GENERATOR_FLAGS out dir setting for landmines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Remove unnecessary line as per feedback Created 6 years, 1 month 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 | « no previous file | build/landmines.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/landmine_utils.py
diff --git a/build/landmine_utils.py b/build/landmine_utils.py
index 773783291f25397eea5a97c6a8e984a71743b13f..9b667d0916aadb7962bf615c33af0e59840d0adf 100644
--- a/build/landmine_utils.py
+++ b/build/landmine_utils.py
@@ -48,6 +48,12 @@ def gyp_defines():
for arg in shlex.split(os.environ.get('GYP_DEFINES', '')))
@memoize()
+def gyp_generator_flags():
+ """Parses and returns GYP_GENERATOR_FLAGS env var as a dictionary."""
+ return dict(arg.split('=', 1)
+ for arg in shlex.split(os.environ.get('GYP_GENERATOR_FLAGS', '')))
+
+@memoize()
def gyp_msvs_version():
return os.environ.get('GYP_MSVS_VERSION', '')
« no previous file with comments | « no previous file | build/landmines.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698