diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/win/long-command-line')
3 files changed, 68 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/win/long-command-line/function.cc b/media/webrtc/trunk/tools/gyp/test/win/long-command-line/function.cc new file mode 100644 index 000000000..af44b2cab --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/long-command-line/function.cc @@ -0,0 +1,7 @@ +// 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. + +int func() { + return 0; +} diff --git a/media/webrtc/trunk/tools/gyp/test/win/long-command-line/hello.cc b/media/webrtc/trunk/tools/gyp/test/win/long-command-line/hello.cc new file mode 100644 index 000000000..1711567ef --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/long-command-line/hello.cc @@ -0,0 +1,7 @@ +// 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. + +int main() { + return 0; +} diff --git a/media/webrtc/trunk/tools/gyp/test/win/long-command-line/long-command-line.gyp b/media/webrtc/trunk/tools/gyp/test/win/long-command-line/long-command-line.gyp new file mode 100644 index 000000000..964c94fa9 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/win/long-command-line/long-command-line.gyp @@ -0,0 +1,54 @@ +# 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': 'longexe', + 'type': 'executable', + 'msvs_settings': { + # Use this as a simple way to get a long command. + 'VCCLCompilerTool': { + 'AdditionalOptions': '/nologo ' * 8000, + }, + 'VCLinkerTool': { + 'AdditionalOptions': '/nologo ' * 8000, + }, + }, + 'sources': [ + 'hello.cc', + ], + }, + { + 'target_name': 'longlib', + 'type': 'static_library', + 'msvs_settings': { + 'VCCLCompilerTool': { + 'AdditionalOptions': '/nologo ' * 8000, + }, + 'VCLibrarianTool': { + 'AdditionalOptions': '/nologo ' * 8000, + }, + }, + 'sources': [ + 'function.cc', + ], + }, + { + 'target_name': 'longdll', + 'type': 'shared_library', + 'msvs_settings': { + 'VCCLCompilerTool': { + 'AdditionalOptions': '/nologo ' * 8000, + }, + 'VCLinkerTool': { + 'AdditionalOptions': '/nologo ' * 8000, + }, + }, + 'sources': [ + 'hello.cc', + ], + }, + ] +} |