1*8975f5c5SAndroid Build Coastguard Worker@echo off 2*8975f5c5SAndroid Build Coastguard Workerset _arch=%1 3*8975f5c5SAndroid Build Coastguard Workerset _arch=%_arch:Win32=x86% 4*8975f5c5SAndroid Build Coastguard Workercopy %2"\Redist\D3D\"%_arch%"\d3dcompiler_47.dll" %3 > NUL 5*8975f5c5SAndroid Build Coastguard Worker:: This is equivalent to `touch', see: 6*8975f5c5SAndroid Build Coastguard Worker:: https://technet.microsoft.com/en-us/library/bb490886.aspx 7*8975f5c5SAndroid Build Coastguard Worker:: This avoids rerunning because this batch file is also copied to the gen dir, 8*8975f5c5SAndroid Build Coastguard Worker:: so it's timestamp would otherwise be newer than the dll. 9*8975f5c5SAndroid Build Coastguard Workercopy /b %3\d3dcompiler_47.dll+,, %3\d3dcompiler_47.dll > NUL 10