1
0

CEF changes

This commit is contained in:
Scott Graves
2017-03-17 12:27:46 -05:00
parent 50548a9267
commit f647c45712
5 changed files with 48 additions and 19 deletions

View File

@@ -5,15 +5,22 @@ mkdir automate
mkdir chromium_git mkdir chromium_git
mkdir depot_tools mkdir depot_tools
wget --no-check-certificate https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py wget --no-check-certificate https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py || goto :ERROR
move /y automate-git.py automate\ move /y automate-git.py automate\ || goto :ERROR
wget --no-check-certificate https://storage.googleapis.com/chrome-infra/depot_tools.zip wget --no-check-certificate https://storage.googleapis.com/chrome-infra/depot_tools.zip || goto :ERROR
unzip -o -q -d depot_tools\ depot_tools.zip unzip -o -q -d depot_tools\ depot_tools.zip || goto :ERROR
del /q depot_tools.zip del /q depot_tools.zip || goto :ERROR
pushd depot_tools pushd depot_tools
call update_depot_tools.bat call update_depot_tools.bat || goto :ERROR
popd popd
popd goto :END
:ERROR
pause pause
popd
exit 1
:END
popd

View File

@@ -3,24 +3,33 @@ set ROOT=%~dp0%
pushd %ROOT% pushd %ROOT%
set PATH=%ROOT%\depot_tools;%PATH% set PATH=%ROOT%\depot_tools;%PATH%
call create_common.cmd || goto :ERROR
pushd chromium_git pushd chromium_git
set CEF_USE_GN=1 set CEF_USE_GN=1
set GN_DEFINES=is_win_fastlink=true set GN_DEFINES=is_win_fastlink=true
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/* set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
call python ..\automate\automate-git.py --download-dir=%ROOT%\chromium_git --depot-tools-dir=%ROOT%\depot_tools --no-distrib --no-build call python ..\automate\automate-git.py --download-dir=%ROOT%\chromium_git --depot-tools-dir=%ROOT%\depot_tools --no-distrib --no-build || goto :ERROR
popd popd
pushd chromium_git\chromium\src\cef pushd chromium_git\chromium\src\cef
set CEF_USE_GN=1 set CEF_USE_GN=1
set GN_DEFINES=is_win_fastlink=true set GN_DEFINES=is_win_fastlink=true
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/* set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
call cef_create_projects.bat call cef_create_projects.bat || goto :ERROR
popd popd
pushd chromium_git\chromium\src pushd chromium_git\chromium\src
call ninja -C out\Debug_GN_x64 cef call ninja -C out\Debug_GN_x64 cef || goto :ERROR
popd popd
pause
goto :END
:ERROR
pause
popd popd
exit 1
:END
popd
exit 0

View File

@@ -3,22 +3,31 @@ set ROOT=%~dp0%
pushd %ROOT% pushd %ROOT%
set PATH=%ROOT%\depot_tools;%PATH% set PATH=%ROOT%\depot_tools;%PATH%
call create_common.cmd || goto :ERROR
pushd chromium_git pushd chromium_git
set CEF_USE_GN=1 set CEF_USE_GN=1
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/* set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
call python ..\automate\automate-git.py --download-dir=%ROOT%\chromium_git --depot-tools-dir=%ROOT%\depot_tools --no-distrib --no-build call python ..\automate\automate-git.py --download-dir=%ROOT%\chromium_git --depot-tools-dir=%ROOT%\depot_tools --no-distrib --no-build || goto :ERROR
popd popd
pushd chromium_git\chromium\src\cef pushd chromium_git\chromium\src\cef
set CEF_USE_GN=1 set CEF_USE_GN=1
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/* set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
call cef_create_projects.bat call cef_create_projects.bat || goto :ERROR
popd popd
pushd chromium_git\chromium\src pushd chromium_git\chromium\src
call ninja -C out\Release_GN_x64 cef call ninja -C out\Release_GN_x64 cef || goto :ERROR
popd popd
pause
goto :END
:ERROR
pause
popd popd
exit 1
:END
popd
exit 0

View File

@@ -1,6 +1,8 @@
@echo off @echo off
pushd "%~dp0%" pushd "%~dp0%"
call 3rd-Party\CEF\create_debug.cmd
mkdir build mkdir build
mkdir build\debug mkdir build\debug
pushd build\debug pushd build\debug

View File

@@ -1,6 +1,8 @@
@echo off @echo off
pushd "%~dp0%" pushd "%~dp0%"
call 3rd-party\CEF\create_release.cmd
mkdir build mkdir build
mkdir build\release mkdir build\release
pushd build\release pushd build\release