summaryrefslogtreecommitdiffstats
path: root/rlz
diff options
context:
space:
mode:
authorrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 18:34:22 +0000
committerrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 18:34:22 +0000
commit1f2763de9d897fc2b0e6da4c2323b7d8ab70c687 (patch)
treebdb3ee4bcc5e17816f1d6466a2cacc84e5e4f755 /rlz
parentb9a2120db2ca30f27125aefb29b4f438526aaf7c (diff)
downloadchromium_src-1f2763de9d897fc2b0e6da4c2323b7d8ab70c687.zip
chromium_src-1f2763de9d897fc2b0e6da4c2323b7d8ab70c687.tar.gz
chromium_src-1f2763de9d897fc2b0e6da4c2323b7d8ab70c687.tar.bz2
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
Diffstat (limited to 'rlz')
-rw-r--r--rlz/copy_files.bat16
-rw-r--r--rlz/output_rlz_copy.rules2
2 files changed, 17 insertions, 1 deletions
diff --git a/rlz/copy_files.bat b/rlz/copy_files.bat
new file mode 100644
index 0000000..7d62e41
--- /dev/null
+++ b/rlz/copy_files.bat
@@ -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
diff --git a/rlz/output_rlz_copy.rules b/rlz/output_rlz_copy.rules
index e8f6c86..60fc2f1 100644
--- a/rlz/output_rlz_copy.rules
+++ b/rlz/output_rlz_copy.rules
@@ -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"
>