gfx/angle/src/copy_compiler_dll.bat
author Morris Tseng <mtseng@mozilla.com>
Thu, 08 Sep 2016 16:28:30 +0800
changeset 354509 53735145cfbeede7164416318becd8e33dca53c9
parent 298486 56db457aef33a889004f51a6211f174aa12cca2d
child 435480 88ddf39c0d793dc508c3083515e69bfe3eb4d420
permissions -rwxr-xr-x
Bug 1297924 - Update ANGLE to chromium/2845. r=jgilbert MozReview-Commit-ID: 2H0PBFFgmDp

@echo off
set _arch=%1
set _arch=%_arch:Win32=x86%
copy %2"\Redist\D3D\"%_arch%"\d3dcompiler_47.dll" %3 > NUL
:: This is equivalent to `touch', see:
:: https://technet.microsoft.com/en-us/library/bb490886.aspx
:: This avoids rerunning because this batch file is also copied to the gen dir,
:: so it's timestamp would otherwise be newer than the dll.
copy /b %3\d3dcompiler_47.dll+,, %3\d3dcompiler_47.dll > NUL