Commit 4ab91bd7 authored by mostynb@opera.com's avatar mostynb@opera.com

treat all whitespace as a delimiter in GYP_DEFINES

gyp itself treats any whitespace as a delimiter in GYP_DEFINES, this script should behave the same.

NOTRY=true

Review URL: https://codereview.chromium.org/290173005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271851 0039d316-1c4b-4281-b951-d872f2087c98
parent aa93d236
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment