From af31ea83ac10de1ea466a1fd21b31d14effc64d0 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 25 Nov 2014 23:57:27 +0000 Subject: [PATCH] Remove build_projects scripts which are no longer used now that non-Ninja builds are no longer supported. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1939 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tools/build_projects.bat | 48 ---------------------------------------- tools/build_projects.sh | 18 --------------- 2 files changed, 66 deletions(-) delete mode 100644 tools/build_projects.bat delete mode 100755 tools/build_projects.sh diff --git a/tools/build_projects.bat b/tools/build_projects.bat deleted file mode 100644 index e8e2ed99f..000000000 --- a/tools/build_projects.bat +++ /dev/null @@ -1,48 +0,0 @@ -@echo off -set RC= -setlocal - -if "%1" == "" ( -echo ERROR: Please specify a build target: Debug or Release -set ERRORLEVEL=1 -goto end -) - -if "%2" == "" ( -set PROJECT_NAME=cefclient -) else ( -set PROJECT_NAME=%2 -) - -echo Configuring Visual Studio environment... -if "%GYP_MSVS_VERSION%" == "2008" ( -call "%VS90COMNTOOLS%vsvars32.bat" -set PROJECT_EXT=.vcproj -) else ( -call "%VS100COMNTOOLS%vsvars32.bat" -set PROJECT_EXT=.vcxproj -set CEF_MSBUILD_PATH=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe -) - -if exist "%CEF_MSBUILD_PATH%" ( -"%CEF_MSBUILD_PATH%" /v:m /p:Configuration=%1;Platform=Win32 /t:"%PROJECT_NAME%" ..\cef.sln -) else if exist "%DevEnvDir%\devenv.com" ( -echo Building %1 target for %PROJECT_NAME% project... -"%DevEnvDir%\devenv.com" /build %1 ..\cef.sln /project %PROJECT_NAME%%PROJECT_EXT% -) else if exist "%VCINSTALLDIR%\vcpackages\vcbuild.exe" ( -echo Building %1 target for all projects... -"%VCINSTALLDIR%\vcpackages\vcbuild.exe" ..\cef.sln "%1|Win32" -) else ( -echo ERROR: Cannot find Visual Studio builder -set ERRORLEVEL=1 -) - -:end -endlocal & set RC=%ERRORLEVEL% -goto omega - -:returncode -exit /B %RC% - -:omega -call :returncode %RC% diff --git a/tools/build_projects.sh b/tools/build_projects.sh deleted file mode 100755 index 13eade15d..000000000 --- a/tools/build_projects.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -if [ -z "$1" ]; then - echo "ERROR: Please specify a build target: Debug or Release" -else - if [ -z "$2" ]; then - PROJECT_NAME='cefclient' - else - PROJECT_NAME=$2 - fi - if [ `uname` = "Linux" ]; then - pushd ../../ - make -j16 $PROJECT_NAME BUILDTYPE=$1 - popd - else - xcodebuild -project ../cef.xcodeproj -configuration $1 -target "$PROJECT_NAME" - fi -fi