Windows CEF compilation: depot_tools not found

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Windows CEF compilation: depot_tools not found

Postby tomst » Tue Apr 26, 2016 9:42 am

Looks like automate-git.py doesn't work properly on Windows anymore because it tries to download https://src.chromium.org/svn/trunk/tool ... _tools.zip, which doesn't exist. Did the file move to a different location or do we need to make sure that git works no Windows when compiling?
tomst
Techie
 
Posts: 43
Joined: Fri Aug 22, 2014 4:38 pm

Re: Windows CEF compilation: depot_tools not found

Postby magreenblatt » Tue Apr 26, 2016 10:41 am

tomst wrote:Looks like automate-git.py doesn't work properly on Windows anymore because it tries to download https://src.chromium.org/svn/trunk/tool ... _tools.zip, which doesn't exist. Did the file move to a different location or do we need to make sure that git works no Windows when compiling?

It moved to https://storage.googleapis.com/chrome-i ... _tools.zip. I'll update the script.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Windows CEF compilation: depot_tools not found

Postby tomst » Tue Apr 26, 2016 5:00 pm

Thanks! automate-git.py still doesn't work though, it simply creates an empty directory called depot_tools. I had to manually download and extract depot_tools to make it work.

Code: Select all
C:\Users\tom\cef>C:\Python27\python.exe automate-git.py --download-dir=. --branch=2623 --no-distrib-archive --no-debug-build
--> Download Directory: C:\Users\tom\cef
--> Depot Tools Directory: C:\Users\tom\cef\depot_tools
--> Extracting https://storage.googleapis.com/chrome-infra/depot_tools.zip to C:\Users\tom\cef\depot_tools.
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "C:\Users\tom\cef\depot_tools"...
'update_depot_tools.bat' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
  File "automate-git.py", line 596, in <module>
    run('update_depot_tools.bat', depot_tools_dir, depot_tools_dir);
  File "automate-git.py", line 55, in run
    shell=(sys.platform == 'win32'))
  File "C:\Python27\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['update_depot_tools.bat']' returned non-zero exit status 1
tomst
Techie
 
Posts: 43
Joined: Fri Aug 22, 2014 4:38 pm

Re: Windows CEF compilation: depot_tools not found

Postby HarmlessDave » Mon May 02, 2016 8:23 pm

FYI, this worked for me on 4-29 running on Windows 8.1 professional 64-bit:

Code: Select all
e:
mkdir cef-2526
cd cef-2526
python e:\cef-2526\automate-git.py --download-dir=e:\cef-2526 --branch=2526


The depot-tools subfolder has 12,019 files.
HarmlessDave
Expert
 
Posts: 370
Joined: Fri Jul 11, 2014 2:02 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 81 guests