0

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
This commit is contained in:
mostynb@opera.com
2014-05-21 03:46:18 +00:00
parent aa93d2361f
commit 4ab91bd7ff

@ -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.