summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/compiler-flags
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-06-01 21:01:55 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-04 10:25:02 +0200
commite3ee55b28d0b230d054c9718f79a1f6d685cd62b (patch)
treef54084bc01cffe87464160384e282150f744e55e /deps/gyp/test/win/compiler-flags
parentd305fbebeee1b40a405db635e6bb03535296396e (diff)
downloadqtlocation-mapboxgl-e3ee55b28d0b230d054c9718f79a1f6d685cd62b.tar.gz
[build] remove gyp
Diffstat (limited to 'deps/gyp/test/win/compiler-flags')
-rw-r--r--deps/gyp/test/win/compiler-flags/additional-include-dirs.cc10
-rw-r--r--deps/gyp/test/win/compiler-flags/additional-include-dirs.gyp20
-rw-r--r--deps/gyp/test/win/compiler-flags/additional-options.cc10
-rw-r--r--deps/gyp/test/win/compiler-flags/additional-options.gyp31
-rw-r--r--deps/gyp/test/win/compiler-flags/analysis.gyp40
-rw-r--r--deps/gyp/test/win/compiler-flags/buffer-security-check.gyp51
-rw-r--r--deps/gyp/test/win/compiler-flags/buffer-security.cc12
-rw-r--r--deps/gyp/test/win/compiler-flags/calling-convention-cdecl.def6
-rw-r--r--deps/gyp/test/win/compiler-flags/calling-convention-fastcall.def6
-rw-r--r--deps/gyp/test/win/compiler-flags/calling-convention-stdcall.def6
-rw-r--r--deps/gyp/test/win/compiler-flags/calling-convention-vectorcall.def6
-rw-r--r--deps/gyp/test/win/compiler-flags/calling-convention.cc6
-rw-r--r--deps/gyp/test/win/compiler-flags/calling-convention.gyp66
-rw-r--r--deps/gyp/test/win/compiler-flags/character-set-mbcs.cc11
-rw-r--r--deps/gyp/test/win/compiler-flags/character-set-unicode.cc15
-rw-r--r--deps/gyp/test/win/compiler-flags/character-set.gyp35
-rw-r--r--deps/gyp/test/win/compiler-flags/compile-as-managed.cc9
-rw-r--r--deps/gyp/test/win/compiler-flags/compile-as-managed.gyp29
-rw-r--r--deps/gyp/test/win/compiler-flags/debug-format.gyp48
-rw-r--r--deps/gyp/test/win/compiler-flags/default-char-is-unsigned.cc15
-rw-r--r--deps/gyp/test/win/compiler-flags/default-char-is-unsigned.gyp20
-rw-r--r--deps/gyp/test/win/compiler-flags/disable-specific-warnings.cc9
-rw-r--r--deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp29
-rw-r--r--deps/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.cc28
-rw-r--r--deps/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.gyp68
-rw-r--r--deps/gyp/test/win/compiler-flags/exception-handling-on.cc24
-rw-r--r--deps/gyp/test/win/compiler-flags/exception-handling.gyp46
-rw-r--r--deps/gyp/test/win/compiler-flags/floating-point-model-fast.cc19
-rw-r--r--deps/gyp/test/win/compiler-flags/floating-point-model-precise.cc19
-rw-r--r--deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc19
-rw-r--r--deps/gyp/test/win/compiler-flags/floating-point-model.gyp43
-rw-r--r--deps/gyp/test/win/compiler-flags/force-include-files-with-precompiled.cc10
-rw-r--r--deps/gyp/test/win/compiler-flags/force-include-files.cc8
-rw-r--r--deps/gyp/test/win/compiler-flags/force-include-files.gyp36
-rw-r--r--deps/gyp/test/win/compiler-flags/function-level-linking.cc11
-rw-r--r--deps/gyp/test/win/compiler-flags/function-level-linking.gyp28
-rw-r--r--deps/gyp/test/win/compiler-flags/hello.cc7
-rw-r--r--deps/gyp/test/win/compiler-flags/optimizations.gyp207
-rw-r--r--deps/gyp/test/win/compiler-flags/pdbname-override.gyp26
-rw-r--r--deps/gyp/test/win/compiler-flags/pdbname.cc7
-rw-r--r--deps/gyp/test/win/compiler-flags/pdbname.gyp24
-rw-r--r--deps/gyp/test/win/compiler-flags/precomp.cc6
-rw-r--r--deps/gyp/test/win/compiler-flags/rtti-on.cc11
-rw-r--r--deps/gyp/test/win/compiler-flags/rtti.gyp37
-rw-r--r--deps/gyp/test/win/compiler-flags/runtime-checks.cc11
-rw-r--r--deps/gyp/test/win/compiler-flags/runtime-checks.gyp29
-rw-r--r--deps/gyp/test/win/compiler-flags/runtime-library-md.cc19
-rw-r--r--deps/gyp/test/win/compiler-flags/runtime-library-mdd.cc19
-rw-r--r--deps/gyp/test/win/compiler-flags/runtime-library-mt.cc19
-rw-r--r--deps/gyp/test/win/compiler-flags/runtime-library-mtd.cc19
-rw-r--r--deps/gyp/test/win/compiler-flags/runtime-library.gyp48
-rw-r--r--deps/gyp/test/win/compiler-flags/subdir/header.h0
-rw-r--r--deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type.gyp33
-rw-r--r--deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type1.cc11
-rw-r--r--deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type2.cc11
-rw-r--r--deps/gyp/test/win/compiler-flags/uninit.cc13
-rw-r--r--deps/gyp/test/win/compiler-flags/warning-as-error.cc9
-rw-r--r--deps/gyp/test/win/compiler-flags/warning-as-error.gyp37
-rw-r--r--deps/gyp/test/win/compiler-flags/warning-level.gyp115
-rw-r--r--deps/gyp/test/win/compiler-flags/warning-level1.cc8
-rw-r--r--deps/gyp/test/win/compiler-flags/warning-level2.cc14
-rw-r--r--deps/gyp/test/win/compiler-flags/warning-level3.cc11
-rw-r--r--deps/gyp/test/win/compiler-flags/warning-level4.cc10
63 files changed, 0 insertions, 1610 deletions
diff --git a/deps/gyp/test/win/compiler-flags/additional-include-dirs.cc b/deps/gyp/test/win/compiler-flags/additional-include-dirs.cc
deleted file mode 100644
index f1e11dd12d..0000000000
--- a/deps/gyp/test/win/compiler-flags/additional-include-dirs.cc
+++ /dev/null
@@ -1,10 +0,0 @@
-// 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.
-
-// No path qualification to test compiler include dir specification.
-#include "header.h"
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/additional-include-dirs.gyp b/deps/gyp/test/win/compiler-flags/additional-include-dirs.gyp
deleted file mode 100644
index 42c7e849f6..0000000000
--- a/deps/gyp/test/win/compiler-flags/additional-include-dirs.gyp
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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_incs',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'AdditionalIncludeDirectories': [
- 'subdir',
- ],
- }
- },
- 'sources': ['additional-include-dirs.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/additional-options.cc b/deps/gyp/test/win/compiler-flags/additional-options.cc
deleted file mode 100644
index c79572bafa..0000000000
--- a/deps/gyp/test/win/compiler-flags/additional-options.cc
+++ /dev/null
@@ -1,10 +0,0 @@
-// 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() {
- // Generate a warning that will appear at level 4, but not level 1
- // (truncation and unused local).
- char c = 123456;
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/additional-options.gyp b/deps/gyp/test/win/compiler-flags/additional-options.gyp
deleted file mode 100644
index 6a365a2062..0000000000
--- a/deps/gyp/test/win/compiler-flags/additional-options.gyp
+++ /dev/null
@@ -1,31 +0,0 @@
-# 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_additional_none',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '4',
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['additional-options.cc'],
- },
- {
- 'target_name': 'test_additional_one',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '4',
- 'WarnAsError': 'true',
- 'AdditionalOptions': [ '/W1' ],
- }
- },
- 'sources': ['additional-options.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/analysis.gyp b/deps/gyp/test/win/compiler-flags/analysis.gyp
deleted file mode 100644
index 97e942258f..0000000000
--- a/deps/gyp/test/win/compiler-flags/analysis.gyp
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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_analysis_on',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnablePREfast': 'true',
- 'WarnAsError': 'true',
- },
- },
- 'sources': ['uninit.cc'],
- },
- {
- 'target_name': 'test_analysis_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnablePREfast': 'false',
- 'WarnAsError': 'true',
- },
- },
- 'sources': ['uninit.cc'],
- },
- {
- 'target_name': 'test_analysis_unspec',
- 'type': 'executable',
- 'sources': ['uninit.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarnAsError': 'true',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/buffer-security-check.gyp b/deps/gyp/test/win/compiler-flags/buffer-security-check.gyp
deleted file mode 100644
index cc5a12b953..0000000000
--- a/deps/gyp/test/win/compiler-flags/buffer-security-check.gyp
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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': [
- # Turn debug information on so that we can see the name of the buffer
- # security check cookie in the disassembly.
- {
- 'target_name': 'test_bsc_unset',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- },
- 'sources': ['buffer-security.cc'],
- },
- {
- 'target_name': 'test_bsc_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'BufferSecurityCheck': 'false',
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- },
- 'sources': ['buffer-security.cc'],
- },
- {
- 'target_name': 'test_bsc_on',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'BufferSecurityCheck': 'true',
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- },
- 'sources': ['buffer-security.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/buffer-security.cc b/deps/gyp/test/win/compiler-flags/buffer-security.cc
deleted file mode 100644
index e8a48a2a67..0000000000
--- a/deps/gyp/test/win/compiler-flags/buffer-security.cc
+++ /dev/null
@@ -1,12 +0,0 @@
-// 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.
-
-#include <malloc.h>
-#include <string.h>
-
-int main() {
- char* stuff = reinterpret_cast<char*>(_alloca(256));
- strcpy(stuff, "blah");
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/calling-convention-cdecl.def b/deps/gyp/test/win/compiler-flags/calling-convention-cdecl.def
deleted file mode 100644
index dc1dba055a..0000000000
--- a/deps/gyp/test/win/compiler-flags/calling-convention-cdecl.def
+++ /dev/null
@@ -1,6 +0,0 @@
-; Copyright (c) 2014 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.
-
-EXPORTS
- foo
diff --git a/deps/gyp/test/win/compiler-flags/calling-convention-fastcall.def b/deps/gyp/test/win/compiler-flags/calling-convention-fastcall.def
deleted file mode 100644
index 2c61afe208..0000000000
--- a/deps/gyp/test/win/compiler-flags/calling-convention-fastcall.def
+++ /dev/null
@@ -1,6 +0,0 @@
-; Copyright (c) 2014 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.
-
-EXPORTS
- @foo@0
diff --git a/deps/gyp/test/win/compiler-flags/calling-convention-stdcall.def b/deps/gyp/test/win/compiler-flags/calling-convention-stdcall.def
deleted file mode 100644
index 6c7e05e9ea..0000000000
--- a/deps/gyp/test/win/compiler-flags/calling-convention-stdcall.def
+++ /dev/null
@@ -1,6 +0,0 @@
-; Copyright (c) 2014 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.
-
-EXPORTS
- _foo@0
diff --git a/deps/gyp/test/win/compiler-flags/calling-convention-vectorcall.def b/deps/gyp/test/win/compiler-flags/calling-convention-vectorcall.def
deleted file mode 100644
index 4ef119c3e3..0000000000
--- a/deps/gyp/test/win/compiler-flags/calling-convention-vectorcall.def
+++ /dev/null
@@ -1,6 +0,0 @@
-; Copyright (c) 2014 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.
-
-EXPORTS
- foo@@0
diff --git a/deps/gyp/test/win/compiler-flags/calling-convention.cc b/deps/gyp/test/win/compiler-flags/calling-convention.cc
deleted file mode 100644
index 0d78a0cc05..0000000000
--- a/deps/gyp/test/win/compiler-flags/calling-convention.cc
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright (c) 2014 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.
-
-extern "C" void foo() {
-}
diff --git a/deps/gyp/test/win/compiler-flags/calling-convention.gyp b/deps/gyp/test/win/compiler-flags/calling-convention.gyp
deleted file mode 100644
index 5069c552bc..0000000000
--- a/deps/gyp/test/win/compiler-flags/calling-convention.gyp
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright (c) 2014 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_cdecl',
- 'type': 'loadable_module',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'CallingConvention': 0,
- },
- },
- 'sources': [
- 'calling-convention.cc',
- 'calling-convention-cdecl.def',
- ],
- },
- {
- 'target_name': 'test_fastcall',
- 'type': 'loadable_module',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'CallingConvention': 1,
- },
- },
- 'sources': [
- 'calling-convention.cc',
- 'calling-convention-fastcall.def',
- ],
- },
- {
- 'target_name': 'test_stdcall',
- 'type': 'loadable_module',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'CallingConvention': 2,
- },
- },
- 'sources': [
- 'calling-convention.cc',
- 'calling-convention-stdcall.def',
- ],
- },
- ],
- 'conditions': [
- ['MSVS_VERSION[0:4]>="2013"', {
- 'targets': [
- {
- 'target_name': 'test_vectorcall',
- 'type': 'loadable_module',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'CallingConvention': 3,
- },
- },
- 'sources': [
- 'calling-convention.cc',
- 'calling-convention-vectorcall.def',
- ],
- },
- ],
- }],
- ],
-}
diff --git a/deps/gyp/test/win/compiler-flags/character-set-mbcs.cc b/deps/gyp/test/win/compiler-flags/character-set-mbcs.cc
deleted file mode 100644
index 3286304730..0000000000
--- a/deps/gyp/test/win/compiler-flags/character-set-mbcs.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.
-
-#ifndef _MBCS
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/character-set-unicode.cc b/deps/gyp/test/win/compiler-flags/character-set-unicode.cc
deleted file mode 100644
index 32e69724a5..0000000000
--- a/deps/gyp/test/win/compiler-flags/character-set-unicode.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-// 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.
-
-#ifndef _UNICODE
-#error
-#endif
-
-#ifndef UNICODE
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/character-set.gyp b/deps/gyp/test/win/compiler-flags/character-set.gyp
deleted file mode 100644
index 3dc45557d9..0000000000
--- a/deps/gyp/test/win/compiler-flags/character-set.gyp
+++ /dev/null
@@ -1,35 +0,0 @@
-# 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_cs_notset',
- 'product_name': 'test_cs_notset',
- 'type': 'executable',
- 'msvs_configuration_attributes': {
- 'CharacterSet': '0'
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_cs_unicode',
- 'product_name': 'test_cs_unicode',
- 'type': 'executable',
- 'msvs_configuration_attributes': {
- 'CharacterSet': '1'
- },
- 'sources': ['character-set-unicode.cc'],
- },
- {
- 'target_name': 'test_cs_mbcs',
- 'product_name': 'test_cs_mbcs',
- 'type': 'executable',
- 'msvs_configuration_attributes': {
- 'CharacterSet': '2'
- },
- 'sources': ['character-set-mbcs.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/compile-as-managed.cc b/deps/gyp/test/win/compiler-flags/compile-as-managed.cc
deleted file mode 100644
index a29c71ee1d..0000000000
--- a/deps/gyp/test/win/compiler-flags/compile-as-managed.cc
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright (c) 2015 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.
-
-#include <vcclr.h>
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/compile-as-managed.gyp b/deps/gyp/test/win/compiler-flags/compile-as-managed.gyp
deleted file mode 100644
index 3bacbbc135..0000000000
--- a/deps/gyp/test/win/compiler-flags/compile-as-managed.gyp
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright (c) 2015 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-compile-as-managed',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'CompileAsManaged': 'true',
- 'ExceptionHandling': '0' # /clr is incompatible with /EHs
- }
- },
- 'sources': ['compile-as-managed.cc'],
- },
- {
- 'target_name': 'test-compile-as-unmanaged',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'CompileAsManaged': 'false',
- }
- },
- 'sources': ['compile-as-managed.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/debug-format.gyp b/deps/gyp/test/win/compiler-flags/debug-format.gyp
deleted file mode 100644
index daaed23ff1..0000000000
--- a/deps/gyp/test/win/compiler-flags/debug-format.gyp
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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-debug-format-off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '0'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test-debug-format-oldstyle',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '1'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test-debug-format-pdb',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test-debug-format-editcontinue',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '4'
- }
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/default-char-is-unsigned.cc b/deps/gyp/test/win/compiler-flags/default-char-is-unsigned.cc
deleted file mode 100644
index beeca2aa15..0000000000
--- a/deps/gyp/test/win/compiler-flags/default-char-is-unsigned.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-// 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.
-
-template <bool>
-struct CompileAssert {
-};
-
-#define COMPILE_ASSERT(expr, msg) \
- typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
-
-int main() {
- COMPILE_ASSERT(char(-1) > 0, default_char_is_unsigned);
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/default-char-is-unsigned.gyp b/deps/gyp/test/win/compiler-flags/default-char-is-unsigned.gyp
deleted file mode 100644
index 941e5810dd..0000000000
--- a/deps/gyp/test/win/compiler-flags/default-char-is-unsigned.gyp
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright (c) 2010 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_default_char_is_unsigned',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DefaultCharIsUnsigned': 'true',
- },
- },
- 'sources': [
- 'default-char-is-unsigned.cc',
- ],
- },
- ],
-}
diff --git a/deps/gyp/test/win/compiler-flags/disable-specific-warnings.cc b/deps/gyp/test/win/compiler-flags/disable-specific-warnings.cc
deleted file mode 100644
index d312f5f481..0000000000
--- a/deps/gyp/test/win/compiler-flags/disable-specific-warnings.cc
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright (c) 2013 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() {
- // Causes level 1 warning (C4700)
- int i;
- return i;
-}
diff --git a/deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp b/deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp
deleted file mode 100644
index d81d694c62..0000000000
--- a/deps/gyp/test/win/compiler-flags/disable-specific-warnings.gyp
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright (c) 2013 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_disable_specific_warnings_set',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarnAsError': 'true',
- 'DisableSpecificWarnings': ['4700']
- }
- },
- 'sources': ['disable-specific-warnings.cc']
- },
- {
- 'target_name': 'test_disable_specific_warnings_unset',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarnAsError': 'true'
- }
- },
- 'sources': ['disable-specific-warnings.cc']
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.cc b/deps/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.cc
deleted file mode 100644
index 432ef54eda..0000000000
--- a/deps/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2014 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.
-
-#include <stdio.h>
-
-static const char* GetArchOption() {
-#if _M_IX86_FP == 0
- return "IA32";
-#elif _M_IX86_FP == 1
- return "SSE";
-#elif _M_IX86_FP == 2
-# if defined(__AVX2__)
- return "AVX2";
-# elif defined(__AVX__)
- return "AVX";
-# else
- return "SSE2";
-# endif
-#else
- return "UNSUPPORTED OPTION";
-#endif
-}
-
-int main() {
- printf("/arch:%s\n", GetArchOption());
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.gyp b/deps/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.gyp
deleted file mode 100644
index 9c49edc7ff..0000000000
--- a/deps/gyp/test/win/compiler-flags/enable-enhanced-instruction-set.gyp
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright (c) 2014 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': 'sse_extensions',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableEnhancedInstructionSet': '1', # StreamingSIMDExtensions
- }
- },
- 'sources': ['enable-enhanced-instruction-set.cc'],
- },
- {
- 'target_name': 'sse2_extensions',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableEnhancedInstructionSet': '2', # StreamingSIMDExtensions2
- }
- },
- 'sources': ['enable-enhanced-instruction-set.cc'],
- },
- ],
- 'conditions': [
- ['MSVS_VERSION[0:4]>"2010"', {
- 'targets': [
- {
- 'target_name': 'avx_extensions',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableEnhancedInstructionSet': '3', # AdvancedVectorExtensions
- }
- },
- 'sources': ['enable-enhanced-instruction-set.cc'],
- },
- {
- 'target_name': 'no_extensions',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableEnhancedInstructionSet': '4', # NoExtensions
- }
- },
- 'sources': ['enable-enhanced-instruction-set.cc'],
- },
- ],
- }],
- ['MSVS_VERSION[0:4]>="2013"', {
- 'targets': [
- {
- 'target_name': 'avx2_extensions',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableEnhancedInstructionSet': '5', # AdvancedVectorExtensions2
- }
- },
- 'sources': ['enable-enhanced-instruction-set.cc'],
- },
- ],
- }],
- ],
-}
diff --git a/deps/gyp/test/win/compiler-flags/exception-handling-on.cc b/deps/gyp/test/win/compiler-flags/exception-handling-on.cc
deleted file mode 100644
index 5d9a3af77d..0000000000
--- a/deps/gyp/test/win/compiler-flags/exception-handling-on.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// 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.
-
-#include <excpt.h>
-#include <stdlib.h>
-
-void fail() {
- try {
- int i = 0, j = 1;
- j /= i;
- } catch(...) {
- exit(1);
- }
-}
-
-int main() {
- __try {
- fail();
- } __except(EXCEPTION_EXECUTE_HANDLER) {
- return 2;
- }
- return 3;
-}
diff --git a/deps/gyp/test/win/compiler-flags/exception-handling.gyp b/deps/gyp/test/win/compiler-flags/exception-handling.gyp
deleted file mode 100644
index c266768dda..0000000000
--- a/deps/gyp/test/win/compiler-flags/exception-handling.gyp
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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': [
- # Optimization disabled so that the exception-causing code is not removed
- # (divide by zero was getting optimized away in VS2010).
- {
- 'target_name': 'test_eh_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'ExceptionHandling': '0',
- 'WarnAsError': 'true',
- 'Optimization': '0',
- }
- },
- 'sources': ['exception-handling-on.cc'],
- },
- {
- 'target_name': 'test_eh_s',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'ExceptionHandling': '1',
- 'WarnAsError': 'true',
- 'Optimization': '0',
- }
- },
- 'sources': ['exception-handling-on.cc'],
- },
- {
- 'target_name': 'test_eh_a',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'ExceptionHandling': '2',
- 'WarnAsError': 'true',
- 'Optimization': '0',
- }
- },
- 'sources': ['exception-handling-on.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/floating-point-model-fast.cc b/deps/gyp/test/win/compiler-flags/floating-point-model-fast.cc
deleted file mode 100644
index 9d22152f5e..0000000000
--- a/deps/gyp/test/win/compiler-flags/floating-point-model-fast.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 2014 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.
-
-#ifdef _M_FP_PRECISE
-#error
-#endif
-
-#ifdef _M_FP_STRICT
-#error
-#endif
-
-#ifndef _M_FP_FAST
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/floating-point-model-precise.cc b/deps/gyp/test/win/compiler-flags/floating-point-model-precise.cc
deleted file mode 100644
index 1191a74ed1..0000000000
--- a/deps/gyp/test/win/compiler-flags/floating-point-model-precise.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 2014 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.
-
-#ifndef _M_FP_PRECISE
-#error
-#endif
-
-#ifdef _M_FP_STRICT
-#error
-#endif
-
-#ifdef _M_FP_FAST
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc b/deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc
deleted file mode 100644
index 1ffde36e0c..0000000000
--- a/deps/gyp/test/win/compiler-flags/floating-point-model-strict.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright (c) 2014 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.
-
-#ifdef _M_FP_PRECISE
-#error
-#endif
-
-#ifndef _M_FP_STRICT
-#error
-#endif
-
-#ifdef _M_FP_FAST
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/floating-point-model.gyp b/deps/gyp/test/win/compiler-flags/floating-point-model.gyp
deleted file mode 100644
index 857b275a8f..0000000000
--- a/deps/gyp/test/win/compiler-flags/floating-point-model.gyp
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright (c) 2014 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-floating-point-model-default',
- 'type': 'executable',
- 'sources': ['floating-point-model-precise.cc'],
- },
- {
- 'target_name': 'test-floating-point-model-precise',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'FloatingPointModel': '0'
- }
- },
- 'sources': ['floating-point-model-precise.cc'],
- },
- {
- 'target_name': 'test-floating-point-model-strict',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'FloatingPointModel': '1'
- }
- },
- 'sources': ['floating-point-model-strict.cc'],
- },
- {
- 'target_name': 'test-floating-point-model-fast',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'FloatingPointModel': '2'
- }
- },
- 'sources': ['floating-point-model-fast.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/force-include-files-with-precompiled.cc b/deps/gyp/test/win/compiler-flags/force-include-files-with-precompiled.cc
deleted file mode 100644
index 85cb0f32a6..0000000000
--- a/deps/gyp/test/win/compiler-flags/force-include-files-with-precompiled.cc
+++ /dev/null
@@ -1,10 +0,0 @@
-// 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.
-
-#include <stdio.h>
-
-int main() {
- std::string s;
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/force-include-files.cc b/deps/gyp/test/win/compiler-flags/force-include-files.cc
deleted file mode 100644
index 4a93de55d4..0000000000
--- a/deps/gyp/test/win/compiler-flags/force-include-files.cc
+++ /dev/null
@@ -1,8 +0,0 @@
-// 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() {
- std::list<std::vector<std::string> > l;
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/force-include-files.gyp b/deps/gyp/test/win/compiler-flags/force-include-files.gyp
deleted file mode 100644
index 2031546cc5..0000000000
--- a/deps/gyp/test/win/compiler-flags/force-include-files.gyp
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (c) 2010 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_force_include_files',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'ForcedIncludeFiles': ['string', 'vector', 'list'],
- },
- },
- 'sources': [
- 'force-include-files.cc',
- ],
- },
- {
- 'target_name': 'test_force_include_with_precompiled',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'ForcedIncludeFiles': ['string'],
- },
- },
- 'msvs_precompiled_header': 'stdio.h',
- 'msvs_precompiled_source': 'precomp.cc',
- 'msvs_disabled_warnings': [ 4530, ],
- 'sources': [
- 'force-include-files-with-precompiled.cc',
- 'precomp.cc',
- ],
- },
- ],
-}
diff --git a/deps/gyp/test/win/compiler-flags/function-level-linking.cc b/deps/gyp/test/win/compiler-flags/function-level-linking.cc
deleted file mode 100644
index 4952272817..0000000000
--- a/deps/gyp/test/win/compiler-flags/function-level-linking.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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 comdat_function() {
- return 1;
-}
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/function-level-linking.gyp b/deps/gyp/test/win/compiler-flags/function-level-linking.gyp
deleted file mode 100644
index 5858586a24..0000000000
--- a/deps/gyp/test/win/compiler-flags/function-level-linking.gyp
+++ /dev/null
@@ -1,28 +0,0 @@
-# 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_fll_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFunctionLevelLinking': 'false'
- }
- },
- 'sources': ['function-level-linking.cc'],
- },
- {
- 'target_name': 'test_fll_on',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFunctionLevelLinking': 'true',
- }
- },
- 'sources': ['function-level-linking.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/hello.cc b/deps/gyp/test/win/compiler-flags/hello.cc
deleted file mode 100644
index 1711567ef5..0000000000
--- a/deps/gyp/test/win/compiler-flags/hello.cc
+++ /dev/null
@@ -1,7 +0,0 @@
-// 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/deps/gyp/test/win/compiler-flags/optimizations.gyp b/deps/gyp/test/win/compiler-flags/optimizations.gyp
deleted file mode 100644
index e63096f0f7..0000000000
--- a/deps/gyp/test/win/compiler-flags/optimizations.gyp
+++ /dev/null
@@ -1,207 +0,0 @@
-# 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_opt_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'Optimization': '0'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_lev_size',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'Optimization': '1'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_lev_speed',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'Optimization': '2'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_lev_max',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'Optimization': '3'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_unset',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_fpo',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'OmitFramePointers': 'true'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_fpo_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'OmitFramePointers': 'false'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_intrinsic',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableIntrinsicFunctions': 'true'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_intrinsic_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableIntrinsicFunctions': 'false'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_inline_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'InlineFunctionExpansion': '0'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_inline_manual',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'InlineFunctionExpansion': '1'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_inline_auto',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'InlineFunctionExpansion': '2'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_neither',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'FavorSizeOrSpeed': '0'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_speed',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'FavorSizeOrSpeed': '1'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_size',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'FavorSizeOrSpeed': '2'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_wpo',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WholeProgramOptimization': 'true'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_sp',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'StringPooling': 'true'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_sp_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'StringPooling': 'false'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_fso',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFiberSafeOptimizations': 'true'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_opt_fso_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFiberSafeOptimizations': 'false'
- }
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/pdbname-override.gyp b/deps/gyp/test/win/compiler-flags/pdbname-override.gyp
deleted file mode 100644
index dad20e01fd..0000000000
--- a/deps/gyp/test/win/compiler-flags/pdbname-override.gyp
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright (c) 2013 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_pdbname',
- 'type': 'executable',
- 'sources': [
- 'hello.cc',
- 'pdbname.cc',
- ],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/compiler_generated.pdb',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': '<(PRODUCT_DIR)/linker_generated.pdb',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/pdbname.cc b/deps/gyp/test/win/compiler-flags/pdbname.cc
deleted file mode 100644
index 0fe05d5afb..0000000000
--- a/deps/gyp/test/win/compiler-flags/pdbname.cc
+++ /dev/null
@@ -1,7 +0,0 @@
-// 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 some_function() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/pdbname.gyp b/deps/gyp/test/win/compiler-flags/pdbname.gyp
deleted file mode 100644
index 8fcf754727..0000000000
--- a/deps/gyp/test/win/compiler-flags/pdbname.gyp
+++ /dev/null
@@ -1,24 +0,0 @@
-# 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_pdbname',
- 'type': 'executable',
- 'sources': [
- 'hello.cc',
- 'pdbname.cc',
- ],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/precomp.cc b/deps/gyp/test/win/compiler-flags/precomp.cc
deleted file mode 100644
index d16bac890f..0000000000
--- a/deps/gyp/test/win/compiler-flags/precomp.cc
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright 2013 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.
-
-#include <windows.h>
-#include <stdio.h>
diff --git a/deps/gyp/test/win/compiler-flags/rtti-on.cc b/deps/gyp/test/win/compiler-flags/rtti-on.cc
deleted file mode 100644
index 2d3ad03ae4..0000000000
--- a/deps/gyp/test/win/compiler-flags/rtti-on.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.
-
-#ifndef _CPPRTTI
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/rtti.gyp b/deps/gyp/test/win/compiler-flags/rtti.gyp
deleted file mode 100644
index 704cd58f5a..0000000000
--- a/deps/gyp/test/win/compiler-flags/rtti.gyp
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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_rtti_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'RuntimeTypeInfo': 'false',
- 'WarnAsError': 'true'
- }
- },
- 'sources': ['rtti-on.cc'],
- },
- {
- 'target_name': 'test_rtti_on',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'RuntimeTypeInfo': 'true',
- 'WarnAsError': 'true'
- }
- },
- 'sources': ['rtti-on.cc'],
- },
- {
- 'target_name': 'test_rtti_unset',
- 'type': 'executable',
- 'msvs_settings': {
- },
- 'sources': ['rtti-on.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/runtime-checks.cc b/deps/gyp/test/win/compiler-flags/runtime-checks.cc
deleted file mode 100644
index fdb811da87..0000000000
--- a/deps/gyp/test/win/compiler-flags/runtime-checks.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.
-
-#ifndef __MSVC_RUNTIME_CHECKS
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/runtime-checks.gyp b/deps/gyp/test/win/compiler-flags/runtime-checks.gyp
deleted file mode 100644
index 8ea3092057..0000000000
--- a/deps/gyp/test/win/compiler-flags/runtime-checks.gyp
+++ /dev/null
@@ -1,29 +0,0 @@
-# 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_brc_none',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'Optimization': '0',
- }
- },
- 'sources': ['runtime-checks.cc'],
- },
- {
- 'target_name': 'test_brc_1',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'Optimization': '0',
- 'BasicRuntimeChecks': '3'
- }
- },
- 'sources': ['runtime-checks.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/runtime-library-md.cc b/deps/gyp/test/win/compiler-flags/runtime-library-md.cc
deleted file mode 100644
index 87c83021d4..0000000000
--- a/deps/gyp/test/win/compiler-flags/runtime-library-md.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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.
-
-#ifndef _MT
-#error
-#endif
-
-#ifdef _DEBUG
-#error
-#endif
-
-#ifndef _DLL
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/runtime-library-mdd.cc b/deps/gyp/test/win/compiler-flags/runtime-library-mdd.cc
deleted file mode 100644
index 9f175e493e..0000000000
--- a/deps/gyp/test/win/compiler-flags/runtime-library-mdd.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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.
-
-#ifndef _MT
-#error
-#endif
-
-#ifndef _DEBUG
-#error
-#endif
-
-#ifndef _DLL
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/runtime-library-mt.cc b/deps/gyp/test/win/compiler-flags/runtime-library-mt.cc
deleted file mode 100644
index 27e62b63db..0000000000
--- a/deps/gyp/test/win/compiler-flags/runtime-library-mt.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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.
-
-#ifndef _MT
-#error
-#endif
-
-#ifdef _DEBUG
-#error
-#endif
-
-#ifdef _DLL
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/runtime-library-mtd.cc b/deps/gyp/test/win/compiler-flags/runtime-library-mtd.cc
deleted file mode 100644
index a9921db9e2..0000000000
--- a/deps/gyp/test/win/compiler-flags/runtime-library-mtd.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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.
-
-#ifndef _MT
-#error
-#endif
-
-#ifndef _DEBUG
-#error
-#endif
-
-#ifdef _DLL
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/runtime-library.gyp b/deps/gyp/test/win/compiler-flags/runtime-library.gyp
deleted file mode 100644
index 04afc391c7..0000000000
--- a/deps/gyp/test/win/compiler-flags/runtime-library.gyp
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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_rl_md',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'RuntimeLibrary': '2'
- }
- },
- 'sources': ['runtime-library-md.cc'],
- },
- {
- 'target_name': 'test_rl_mdd',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'RuntimeLibrary': '3'
- }
- },
- 'sources': ['runtime-library-mdd.cc'],
- },
- {
- 'target_name': 'test_rl_mt',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'RuntimeLibrary': '0'
- }
- },
- 'sources': ['runtime-library-mt.cc'],
- },
- {
- 'target_name': 'test_rl_mtd',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'RuntimeLibrary': '1'
- }
- },
- 'sources': ['runtime-library-mtd.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/subdir/header.h b/deps/gyp/test/win/compiler-flags/subdir/header.h
deleted file mode 100644
index e69de29bb2..0000000000
--- a/deps/gyp/test/win/compiler-flags/subdir/header.h
+++ /dev/null
diff --git a/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type.gyp b/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type.gyp
deleted file mode 100644
index 456fe047d0..0000000000
--- a/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type.gyp
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright (c) 2010 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_treat_wchar_t_as_built_in_type_negative',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'TreatWChar_tAsBuiltInType': 'false',
- },
- },
- 'sources': [
- 'treat-wchar-t-as-built-in-type1.cc',
- ],
- },
- {
- 'target_name': 'test_treat_wchar_t_as_built_in_type_positive',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'TreatWChar_tAsBuiltInType': 'true',
- },
- },
- 'sources': [
- 'treat-wchar-t-as-built-in-type2.cc',
- ],
- },
-
- ],
-}
diff --git a/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type1.cc b/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type1.cc
deleted file mode 100644
index fc1ed0b7ea..0000000000
--- a/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type1.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.
-
-#ifdef _NATIVE_WCHAR_T_DEFINED
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type2.cc b/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type2.cc
deleted file mode 100644
index 28ab94f742..0000000000
--- a/deps/gyp/test/win/compiler-flags/treat-wchar-t-as-built-in-type2.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.
-
-#ifndef _NATIVE_WCHAR_T_DEFINED
-#error
-#endif
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/uninit.cc b/deps/gyp/test/win/compiler-flags/uninit.cc
deleted file mode 100644
index a9d5f5d483..0000000000
--- a/deps/gyp/test/win/compiler-flags/uninit.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-// 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.
-
-// Should trigger C6001: using uninitialized memory <variable> for |i|.
-int f(bool b) {
- int i;
- if (b)
- i = 0;
- return i;
-}
-
-int main() {}
diff --git a/deps/gyp/test/win/compiler-flags/warning-as-error.cc b/deps/gyp/test/win/compiler-flags/warning-as-error.cc
deleted file mode 100644
index fd2130aca5..0000000000
--- a/deps/gyp/test/win/compiler-flags/warning-as-error.cc
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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() {
- // Cause a warning, even at /W1
- int export;
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/warning-as-error.gyp b/deps/gyp/test/win/compiler-flags/warning-as-error.gyp
deleted file mode 100644
index d71f261141..0000000000
--- a/deps/gyp/test/win/compiler-flags/warning-as-error.gyp
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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_warn_as_error_false',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarnAsError': 'false'
- }
- },
- 'sources': ['warning-as-error.cc']
- },
- {
- 'target_name': 'test_warn_as_error_true',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarnAsError': 'true'
- }
- },
- 'sources': ['warning-as-error.cc']
- },
- {
- 'target_name': 'test_warn_as_error_unset',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- }
- },
- 'sources': ['warning-as-error.cc']
- },
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/warning-level.gyp b/deps/gyp/test/win/compiler-flags/warning-level.gyp
deleted file mode 100644
index 2297aa7cac..0000000000
--- a/deps/gyp/test/win/compiler-flags/warning-level.gyp
+++ /dev/null
@@ -1,115 +0,0 @@
-# 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': [
- # Level 1
- {
- 'target_name': 'test_wl1_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '1',
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['warning-level1.cc'],
- },
- {
- 'target_name': 'test_wl1_pass',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '1',
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['warning-level2.cc'],
- },
-
- # Level 2
- {
- 'target_name': 'test_wl2_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '2',
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['warning-level2.cc'],
- },
- {
- 'target_name': 'test_wl2_pass',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '2',
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['warning-level3.cc'],
- },
-
- # Level 3
- {
- 'target_name': 'test_wl3_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '3',
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['warning-level3.cc'],
- },
- {
- 'target_name': 'test_wl3_pass',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '3',
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['warning-level4.cc'],
- },
-
-
- # Level 4
- {
- 'target_name': 'test_wl4_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '4',
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['warning-level4.cc'],
- },
-
- # Default level
- {
- 'target_name': 'test_def_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarnAsError': 'true',
- }
- },
- 'sources': ['warning-level1.cc'],
- },
- {
- 'target_name': 'test_def_pass',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- }
- },
- 'sources': ['warning-level2.cc'],
- },
-
- ]
-}
diff --git a/deps/gyp/test/win/compiler-flags/warning-level1.cc b/deps/gyp/test/win/compiler-flags/warning-level1.cc
deleted file mode 100644
index 119578d694..0000000000
--- a/deps/gyp/test/win/compiler-flags/warning-level1.cc
+++ /dev/null
@@ -1,8 +0,0 @@
-// 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() {
- int export; // Cause a level 1 warning (C4237).
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/warning-level2.cc b/deps/gyp/test/win/compiler-flags/warning-level2.cc
deleted file mode 100644
index 9a26703180..0000000000
--- a/deps/gyp/test/win/compiler-flags/warning-level2.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-// 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 f(int x) {
- return 0;
-}
-
-int main() {
- double x = 10.1;
- // Cause a level 2 warning (C4243).
- return f(x);
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/warning-level3.cc b/deps/gyp/test/win/compiler-flags/warning-level3.cc
deleted file mode 100644
index e0a9f3cdd9..0000000000
--- a/deps/gyp/test/win/compiler-flags/warning-level3.cc
+++ /dev/null
@@ -1,11 +0,0 @@
-// 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.
-
-// Cause a level 3 warning (C4359).
-struct __declspec(align(8)) C8 { __int64 i; };
-struct __declspec(align(4)) C4 { C8 m8; };
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/compiler-flags/warning-level4.cc b/deps/gyp/test/win/compiler-flags/warning-level4.cc
deleted file mode 100644
index 48a4fb7018..0000000000
--- a/deps/gyp/test/win/compiler-flags/warning-level4.cc
+++ /dev/null
@@ -1,10 +0,0 @@
-// 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() {
- const int i = -1;
- // Cause a level 4 warning (C4245).
- unsigned int j = i;
- return 0;
-}