diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /media/webrtc/trunk/tools/gyp/test/win/batch-file-action | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/win/batch-file-action')
3 files changed, 27 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/batch-file-action.gyp b/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/batch-file-action.gyp new file mode 100644 index 000000000..e4db9af9d --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/batch-file-action.gyp @@ -0,0 +1,21 @@ +# Copyright (c) 2012 Google Inc. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'test_batch', + 'type': 'none', + 'actions': [ + { + 'action_name': 'copy_to_output', + 'inputs': ['infile'], + 'outputs': ['outfile'], + 'action': ['somecmd.bat', 'infile', 'outfile'], + 'msvs_cygwin_shell': 0, + } + ], + }, + ] +} diff --git a/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/infile b/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/infile new file mode 100644 index 000000000..3f9177e45 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/infile @@ -0,0 +1 @@ +input diff --git a/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/somecmd.bat b/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/somecmd.bat new file mode 100644 index 000000000..d48775374 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/batch-file-action/somecmd.bat @@ -0,0 +1,5 @@ +@echo off
+:: The redirs to nul are important. %2 can end up being an unterminated "'d
+:: string, so the remainder of the command line becomes the target file name,
+:: which in turn fails because it's a filename containing >, nul, etc.
+copy /y %1 %2 >nul 2>nul
|