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

Unified Diff: third_party/binutils/download.py

Issue 290173005: be more lenient with whitespace in GYP_DEFINES (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/binutils/download.py
diff --git a/third_party/binutils/download.py b/third_party/binutils/download.py
index 6c86ba82d94dfe5e55caad326c58ecefe1a3ea6f..2d35c44401d36d96c56e6953200e5a0e4576b0fc 100755
--- a/third_party/binutils/download.py
+++ b/third_party/binutils/download.py
@@ -40,7 +40,7 @@ def WriteFile(filename, content):
def GetArch():
gyp_host_arch = re.search(
- 'host_arch=([^ ]*)', os.environ.get('GYP_DEFINES', ''))
+ 'host_arch=(\S*)', os.environ.get('GYP_DEFINES', ''))
if gyp_host_arch:
arch = gyp_host_arch.group(1)
# This matches detect_host_arch.py.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698