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

Unified Diff: build/landmine_utils.py

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | « build/ios/grit_whitelist.txt ('k') | 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 | « build/ios/grit_whitelist.txt ('k') | build/landmines.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698