0

Do not try to copy rlz.dll if we are not building Google Chrome. To keep the current behavior for now, batch file is setting environment variable explicitly. This will go away soon.

BUG=1296800


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@952 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
rahulk@google.com
2008-08-15 18:34:22 +00:00
parent b9a2120db2
commit 1f2763de9d
2 changed files with 17 additions and 1 deletions

16
rlz/copy_files.bat Normal file

@ -0,0 +1,16 @@
:: Batch file run to copy rlz binaries
@echo off
setlocal
set InputPath=%~1
set OutDir=%~2
REM Remove this line when we start setting CHROMIUM_BUILD option on buildbots
set CHROMIUM_BUILD=_google_chrome
if NOT "%CHROMIUM_BUILD%" == "_google_chrome" goto END
xcopy /R /C /Y %InputPath% %OutDir%
:END

@ -6,7 +6,7 @@
<Rules>
<CustomBuildRule
Name="Output RLZ copy"
CommandLine="start /B xcopy /R /C /Y $(InputPath) $(OutDir)"
CommandLine="$(SolutionDir)..\rlz\copy_files.bat $(InputPath) $(OutDir)"
Outputs="$(OutDir)\$(InputFileName)"
FileExtensions="*.dll;*.pdb"
>