summaryrefslogtreecommitdiffstats
path: root/rlz
diff options
context:
space:
mode:
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"
>