I want to build cef branch 1750 on a vm, in order to do that I'm using the following command line to run the automate-git.py script.
python automate-git.py --download-dir=C:\Users\User\Desktop\ --branch=1750 --verbose-build
I ran into all sort of problems but my latest one is the following error:
- Code: Select all
Updating projects from gyp files...
gyp: name 'v8_use_external_startup_data' is not defined while evaluating condition 'v8_use_external_startup_data==1' in ..\v8\tools\gyp\v8.gyp
Traceback (most recent call last):
File "tools\gclient_hook.py", line 58, in <module>
RunAction(cef_dir, gyper)
File "C:\Users\User\Desktop\chromium\src\cef\tools\gclient_util.py", line 39, in RunAction
command, cwd=dir, always=True)
File "C:\Users\User\Desktop\depot_tools\gclient_utils.py", line 293, in CheckCallAndFilterAndHeader
return CheckCallAndFilter(args, **kwargs)
File "C:\Users\User\Desktop\depot_tools\gclient_utils.py", line 538, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
File "C:\Users\User\Desktop\depot_tools\subprocess2.py", line 37, in __init__
super(CalledProcessError, self).__init__(returncode, cmd, output=stdout)
TypeError: __init__() got an unexpected keyword argument 'output'
Traceback (most recent call last):
File "automate-git.py", line 875, in <module>
run(path, cef_src_dir, depot_tools_dir)
File "automate-git.py", line 74, in run
shell=(sys.platform == 'win32'))
File "C:\Users\User\Desktop\depot_tools\python276_bin\lib\subprocess.py", line
540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\User\\Desktop\\chromium\\sr
c\\cef\\cef_create_projects.bat']' returned non-zero exit status 1
How do I fix the error?
Thanks in advance.