Windows: Fix crash when AVX instructions are not supported (issue #1999)

This commit is contained in:
Marshall Greenblatt
2016-10-27 12:04:25 -04:00
parent be15daa844
commit f7a4102978
2 changed files with 77 additions and 0 deletions

View File

@ -7,6 +7,7 @@ from gclient_util import *
from gn_args import GetAllPlatformConfigs, GetConfigFileContents
from file_util import make_dir, write_file
import os, sys
import issue_1999
# The CEF directory is the parent directory of _this_ script.
cef_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
@ -132,3 +133,5 @@ for dir, config in configs.items():
if 'GN_ARGUMENTS' in os.environ.keys():
cmd.extend(os.environ['GN_ARGUMENTS'].split(' '))
RunAction(src_dir, cmd)
if platform == 'windows':
issue_1999.apply(out_path)