summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/win')
-rw-r--r--deps/gyp/test/win/asm-files/asm-files.gyp17
-rw-r--r--deps/gyp/test/win/asm-files/b.s0
-rw-r--r--deps/gyp/test/win/asm-files/c.S0
-rw-r--r--deps/gyp/test/win/asm-files/hello.cc7
-rw-r--r--deps/gyp/test/win/batch-file-action/batch-file-action.gyp21
-rw-r--r--deps/gyp/test/win/batch-file-action/infile1
-rw-r--r--deps/gyp/test/win/batch-file-action/somecmd.bat5
-rw-r--r--deps/gyp/test/win/command-quote/a.S0
-rw-r--r--deps/gyp/test/win/command-quote/bat with spaces.bat7
-rw-r--r--deps/gyp/test/win/command-quote/command-quote.gyp79
-rw-r--r--deps/gyp/test/win/command-quote/go.bat7
-rw-r--r--deps/gyp/test/win/command-quote/subdir/and/another/in-subdir.gyp27
-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
-rw-r--r--deps/gyp/test/win/enable-winrt/dllmain.cc30
-rw-r--r--deps/gyp/test/win/enable-winrt/enable-winrt.gyp39
-rw-r--r--deps/gyp/test/win/generator-output-different-drive/gyptest-generator-output-different-drive.py44
-rw-r--r--deps/gyp/test/win/generator-output-different-drive/prog.c10
-rw-r--r--deps/gyp/test/win/generator-output-different-drive/prog.gyp15
-rw-r--r--deps/gyp/test/win/gyptest-asm-files.py26
-rw-r--r--deps/gyp/test/win/gyptest-cl-additional-include-dirs.py22
-rw-r--r--deps/gyp/test/win/gyptest-cl-additional-options.py28
-rw-r--r--deps/gyp/test/win/gyptest-cl-analysis.py30
-rw-r--r--deps/gyp/test/win/gyptest-cl-buffer-security-check.py53
-rw-r--r--deps/gyp/test/win/gyptest-cl-calling-convention.py22
-rw-r--r--deps/gyp/test/win/gyptest-cl-character-set.py22
-rw-r--r--deps/gyp/test/win/gyptest-cl-compile-as-managed.py24
-rw-r--r--deps/gyp/test/win/gyptest-cl-debug-format.py43
-rw-r--r--deps/gyp/test/win/gyptest-cl-default-char-is-unsigned.py22
-rw-r--r--deps/gyp/test/win/gyptest-cl-disable-specific-warnings.py32
-rw-r--r--deps/gyp/test/win/gyptest-cl-enable-enhanced-instruction-set.py47
-rw-r--r--deps/gyp/test/win/gyptest-cl-exception-handling.py33
-rw-r--r--deps/gyp/test/win/gyptest-cl-floating-point-model.py22
-rw-r--r--deps/gyp/test/win/gyptest-cl-force-include-files.py22
-rw-r--r--deps/gyp/test/win/gyptest-cl-function-level-linking.py52
-rw-r--r--deps/gyp/test/win/gyptest-cl-optimizations.py105
-rw-r--r--deps/gyp/test/win/gyptest-cl-pdbname-override.py27
-rw-r--r--deps/gyp/test/win/gyptest-cl-pdbname.py30
-rw-r--r--deps/gyp/test/win/gyptest-cl-rtti.py30
-rw-r--r--deps/gyp/test/win/gyptest-cl-runtime-checks.py30
-rw-r--r--deps/gyp/test/win/gyptest-cl-runtime-library.py22
-rw-r--r--deps/gyp/test/win/gyptest-cl-treat-wchar-t-as-built-in-type.py22
-rw-r--r--deps/gyp/test/win/gyptest-cl-warning-as-error.py30
-rw-r--r--deps/gyp/test/win/gyptest-cl-warning-level.py41
-rw-r--r--deps/gyp/test/win/gyptest-command-quote.py40
-rw-r--r--deps/gyp/test/win/gyptest-crosscompile-ar.py29
-rw-r--r--deps/gyp/test/win/gyptest-lib-ltcg.py22
-rw-r--r--deps/gyp/test/win/gyptest-link-additional-deps.py22
-rw-r--r--deps/gyp/test/win/gyptest-link-additional-options.py22
-rw-r--r--deps/gyp/test/win/gyptest-link-aslr.py35
-rw-r--r--deps/gyp/test/win/gyptest-link-base-address.py62
-rw-r--r--deps/gyp/test/win/gyptest-link-debug-info.py26
-rw-r--r--deps/gyp/test/win/gyptest-link-default-libs.py22
-rw-r--r--deps/gyp/test/win/gyptest-link-deffile.py43
-rw-r--r--deps/gyp/test/win/gyptest-link-defrelink.py54
-rw-r--r--deps/gyp/test/win/gyptest-link-delay-load-dlls.py35
-rw-r--r--deps/gyp/test/win/gyptest-link-embed-manifest.py99
-rw-r--r--deps/gyp/test/win/gyptest-link-enable-uac.py95
-rw-r--r--deps/gyp/test/win/gyptest-link-enable-winrt-app-revision.py41
-rw-r--r--deps/gyp/test/win/gyptest-link-enable-winrt-target-platform-version.py45
-rw-r--r--deps/gyp/test/win/gyptest-link-enable-winrt.py35
-rw-r--r--deps/gyp/test/win/gyptest-link-entrypointsymbol.py24
-rw-r--r--deps/gyp/test/win/gyptest-link-fixed-base.py40
-rw-r--r--deps/gyp/test/win/gyptest-link-force-symbol-reference.py26
-rw-r--r--deps/gyp/test/win/gyptest-link-generate-manifest.py127
-rw-r--r--deps/gyp/test/win/gyptest-link-incremental.py37
-rw-r--r--deps/gyp/test/win/gyptest-link-large-address-aware.py35
-rw-r--r--deps/gyp/test/win/gyptest-link-large-pdb.py74
-rw-r--r--deps/gyp/test/win/gyptest-link-library-adjust.py21
-rw-r--r--deps/gyp/test/win/gyptest-link-library-directories.py35
-rw-r--r--deps/gyp/test/win/gyptest-link-ltcg.py44
-rw-r--r--deps/gyp/test/win/gyptest-link-mapfile.py44
-rw-r--r--deps/gyp/test/win/gyptest-link-nodefaultlib.py24
-rw-r--r--deps/gyp/test/win/gyptest-link-noimportlib.py30
-rw-r--r--deps/gyp/test/win/gyptest-link-nxcompat.py37
-rw-r--r--deps/gyp/test/win/gyptest-link-opt-icf.py41
-rw-r--r--deps/gyp/test/win/gyptest-link-opt-ref.py40
-rw-r--r--deps/gyp/test/win/gyptest-link-ordering.py101
-rw-r--r--deps/gyp/test/win/gyptest-link-outputfile.py28
-rw-r--r--deps/gyp/test/win/gyptest-link-pdb-no-output.py25
-rw-r--r--deps/gyp/test/win/gyptest-link-pdb-output.py33
-rw-r--r--deps/gyp/test/win/gyptest-link-pdb.py35
-rw-r--r--deps/gyp/test/win/gyptest-link-pgo.py75
-rw-r--r--deps/gyp/test/win/gyptest-link-profile.py37
-rw-r--r--deps/gyp/test/win/gyptest-link-restat-importlib.py45
-rw-r--r--deps/gyp/test/win/gyptest-link-safeseh.py46
-rw-r--r--deps/gyp/test/win/gyptest-link-shard.py30
-rw-r--r--deps/gyp/test/win/gyptest-link-stacksize.py62
-rw-r--r--deps/gyp/test/win/gyptest-link-subsystem.py38
-rw-r--r--deps/gyp/test/win/gyptest-link-target-machine.py28
-rw-r--r--deps/gyp/test/win/gyptest-link-tsaware.py33
-rw-r--r--deps/gyp/test/win/gyptest-link-uldi-depending-on-module.py24
-rw-r--r--deps/gyp/test/win/gyptest-link-uldi.py28
-rw-r--r--deps/gyp/test/win/gyptest-link-unsupported-manifest.py27
-rw-r--r--deps/gyp/test/win/gyptest-link-update-manifest.py103
-rw-r--r--deps/gyp/test/win/gyptest-link-warnings-as-errors.py24
-rw-r--r--deps/gyp/test/win/gyptest-long-command-line.py23
-rw-r--r--deps/gyp/test/win/gyptest-macro-projectname.py24
-rw-r--r--deps/gyp/test/win/gyptest-macro-targetext.py26
-rw-r--r--deps/gyp/test/win/gyptest-macro-targetfilename.py35
-rw-r--r--deps/gyp/test/win/gyptest-macro-targetname.py29
-rw-r--r--deps/gyp/test/win/gyptest-macro-targetpath.py30
-rw-r--r--deps/gyp/test/win/gyptest-macro-vcinstalldir.py24
-rw-r--r--deps/gyp/test/win/gyptest-macros-containing-gyp.py21
-rw-r--r--deps/gyp/test/win/gyptest-macros-in-inputs-and-outputs.py27
-rw-r--r--deps/gyp/test/win/gyptest-midl-excluded.py22
-rw-r--r--deps/gyp/test/win/gyptest-midl-includedirs.py21
-rw-r--r--deps/gyp/test/win/gyptest-midl-rules.py28
-rw-r--r--deps/gyp/test/win/gyptest-ml-safeseh.py22
-rw-r--r--deps/gyp/test/win/gyptest-quoting-commands.py25
-rw-r--r--deps/gyp/test/win/gyptest-rc-build.py27
-rw-r--r--deps/gyp/test/win/gyptest-system-include.py21
-rw-r--r--deps/gyp/test/win/idl-excluded/bad.idl6
-rw-r--r--deps/gyp/test/win/idl-excluded/copy-file.py11
-rw-r--r--deps/gyp/test/win/idl-excluded/idl-excluded.gyp58
-rw-r--r--deps/gyp/test/win/idl-excluded/program.cc7
-rw-r--r--deps/gyp/test/win/idl-includedirs/hello.cc7
-rw-r--r--deps/gyp/test/win/idl-includedirs/idl-includedirs.gyp26
-rw-r--r--deps/gyp/test/win/idl-includedirs/subdir/bar.idl13
-rw-r--r--deps/gyp/test/win/idl-includedirs/subdir/foo.idl14
-rw-r--r--deps/gyp/test/win/idl-rules/Window.idl9
-rw-r--r--deps/gyp/test/win/idl-rules/basic-idl.gyp67
-rw-r--r--deps/gyp/test/win/idl-rules/history_indexer.idl17
-rw-r--r--deps/gyp/test/win/idl-rules/history_indexer_user.cc15
-rw-r--r--deps/gyp/test/win/idl-rules/idl_compiler.py17
-rw-r--r--deps/gyp/test/win/importlib/dll_no_exports.cc9
-rw-r--r--deps/gyp/test/win/importlib/has-exports.cc10
-rw-r--r--deps/gyp/test/win/importlib/hello.cc9
-rw-r--r--deps/gyp/test/win/importlib/importlib.gyp30
-rw-r--r--deps/gyp/test/win/importlib/noimplib.gyp16
-rw-r--r--deps/gyp/test/win/large-pdb/dllmain.cc9
-rw-r--r--deps/gyp/test/win/large-pdb/large-pdb.gyp98
-rw-r--r--deps/gyp/test/win/large-pdb/main.cc7
-rw-r--r--deps/gyp/test/win/lib-crosscompile/answer.cc9
-rw-r--r--deps/gyp/test/win/lib-crosscompile/answer.h5
-rw-r--r--deps/gyp/test/win/lib-crosscompile/use_host_ar.gyp17
-rw-r--r--deps/gyp/test/win/lib-flags/answer.cc9
-rw-r--r--deps/gyp/test/win/lib-flags/answer.h5
-rw-r--r--deps/gyp/test/win/lib-flags/ltcg.gyp21
-rw-r--r--deps/gyp/test/win/linker-flags/a/x.cc7
-rw-r--r--deps/gyp/test/win/linker-flags/a/z.cc7
-rw-r--r--deps/gyp/test/win/linker-flags/additional-deps.cc10
-rw-r--r--deps/gyp/test/win/linker-flags/additional-deps.gyp30
-rw-r--r--deps/gyp/test/win/linker-flags/additional-options.gyp29
-rw-r--r--deps/gyp/test/win/linker-flags/aslr.gyp35
-rw-r--r--deps/gyp/test/win/linker-flags/b/y.cc7
-rw-r--r--deps/gyp/test/win/linker-flags/base-address.gyp38
-rw-r--r--deps/gyp/test/win/linker-flags/debug-info.gyp28
-rw-r--r--deps/gyp/test/win/linker-flags/deffile-multiple.gyp17
-rw-r--r--deps/gyp/test/win/linker-flags/deffile.cc13
-rw-r--r--deps/gyp/test/win/linker-flags/deffile.def8
-rw-r--r--deps/gyp/test/win/linker-flags/deffile.gyp38
-rw-r--r--deps/gyp/test/win/linker-flags/delay-load-dlls.gyp35
-rw-r--r--deps/gyp/test/win/linker-flags/delay-load.cc10
-rw-r--r--deps/gyp/test/win/linker-flags/embed-manifest.gyp109
-rw-r--r--deps/gyp/test/win/linker-flags/enable-uac.gyp45
-rw-r--r--deps/gyp/test/win/linker-flags/entrypointsymbol.cc13
-rw-r--r--deps/gyp/test/win/linker-flags/entrypointsymbol.gyp28
-rw-r--r--deps/gyp/test/win/linker-flags/extra.manifest11
-rw-r--r--deps/gyp/test/win/linker-flags/extra2.manifest11
-rw-r--r--deps/gyp/test/win/linker-flags/fixed-base.gyp52
-rw-r--r--deps/gyp/test/win/linker-flags/force-symbol-reference.gyp39
-rw-r--r--deps/gyp/test/win/linker-flags/generate-manifest.gyp166
-rw-r--r--deps/gyp/test/win/linker-flags/hello.cc7
-rw-r--r--deps/gyp/test/win/linker-flags/incremental.gyp65
-rw-r--r--deps/gyp/test/win/linker-flags/inline_test.cc12
-rw-r--r--deps/gyp/test/win/linker-flags/inline_test.h5
-rw-r--r--deps/gyp/test/win/linker-flags/inline_test_main.cc15
-rw-r--r--deps/gyp/test/win/linker-flags/large-address-aware.gyp28
-rw-r--r--deps/gyp/test/win/linker-flags/library-adjust.cc10
-rw-r--r--deps/gyp/test/win/linker-flags/library-adjust.gyp16
-rw-r--r--deps/gyp/test/win/linker-flags/library-directories-define.cc7
-rw-r--r--deps/gyp/test/win/linker-flags/library-directories-reference.cc10
-rw-r--r--deps/gyp/test/win/linker-flags/library-directories.gyp42
-rw-r--r--deps/gyp/test/win/linker-flags/link-ordering.gyp95
-rw-r--r--deps/gyp/test/win/linker-flags/link-warning.cc10
-rw-r--r--deps/gyp/test/win/linker-flags/ltcg.gyp42
-rw-r--r--deps/gyp/test/win/linker-flags/main-crt.c8
-rw-r--r--deps/gyp/test/win/linker-flags/manifest-in-comment.cc13
-rw-r--r--deps/gyp/test/win/linker-flags/mapfile.cc12
-rw-r--r--deps/gyp/test/win/linker-flags/mapfile.gyp45
-rw-r--r--deps/gyp/test/win/linker-flags/no-default-libs.cc18
-rw-r--r--deps/gyp/test/win/linker-flags/no-default-libs.gyp13
-rw-r--r--deps/gyp/test/win/linker-flags/nodefaultlib.cc13
-rw-r--r--deps/gyp/test/win/linker-flags/nodefaultlib.gyp30
-rw-r--r--deps/gyp/test/win/linker-flags/nxcompat.gyp35
-rw-r--r--deps/gyp/test/win/linker-flags/opt-icf.cc29
-rw-r--r--deps/gyp/test/win/linker-flags/opt-icf.gyp63
-rw-r--r--deps/gyp/test/win/linker-flags/opt-ref.cc11
-rw-r--r--deps/gyp/test/win/linker-flags/opt-ref.gyp56
-rw-r--r--deps/gyp/test/win/linker-flags/outputfile.gyp58
-rw-r--r--deps/gyp/test/win/linker-flags/pdb-output.gyp49
-rw-r--r--deps/gyp/test/win/linker-flags/pgo.gyp143
-rw-r--r--deps/gyp/test/win/linker-flags/profile.gyp50
-rw-r--r--deps/gyp/test/win/linker-flags/program-database.gyp40
-rw-r--r--deps/gyp/test/win/linker-flags/safeseh.gyp79
-rw-r--r--deps/gyp/test/win/linker-flags/safeseh_hello.cc11
-rw-r--r--deps/gyp/test/win/linker-flags/safeseh_zero.asm10
-rw-r--r--deps/gyp/test/win/linker-flags/safeseh_zero64.asm9
-rw-r--r--deps/gyp/test/win/linker-flags/stacksize.gyp44
-rw-r--r--deps/gyp/test/win/linker-flags/subdir/library.gyp13
-rw-r--r--deps/gyp/test/win/linker-flags/subsystem-windows.cc9
-rw-r--r--deps/gyp/test/win/linker-flags/subsystem.gyp70
-rw-r--r--deps/gyp/test/win/linker-flags/target-machine.gyp48
-rw-r--r--deps/gyp/test/win/linker-flags/tsaware.gyp28
-rw-r--r--deps/gyp/test/win/linker-flags/unsupported-manifest.gyp13
-rw-r--r--deps/gyp/test/win/linker-flags/update_pgd.py35
-rw-r--r--deps/gyp/test/win/linker-flags/warn-as-error.gyp33
-rw-r--r--deps/gyp/test/win/linker-flags/x.cc7
-rw-r--r--deps/gyp/test/win/linker-flags/y.cc7
-rw-r--r--deps/gyp/test/win/linker-flags/z.cc7
-rw-r--r--deps/gyp/test/win/long-command-line/function.cc7
-rw-r--r--deps/gyp/test/win/long-command-line/hello.cc7
-rw-r--r--deps/gyp/test/win/long-command-line/long-command-line.gyp54
-rw-r--r--deps/gyp/test/win/ml-safeseh/a.asm10
-rw-r--r--deps/gyp/test/win/ml-safeseh/hello.cc11
-rw-r--r--deps/gyp/test/win/ml-safeseh/ml-safeseh.gyp24
-rw-r--r--deps/gyp/test/win/precompiled/gyptest-all.py21
-rw-r--r--deps/gyp/test/win/precompiled/hello.c14
-rw-r--r--deps/gyp/test/win/precompiled/hello.gyp28
-rw-r--r--deps/gyp/test/win/precompiled/hello2.c13
-rw-r--r--deps/gyp/test/win/precompiled/precomp.c8
-rw-r--r--deps/gyp/test/win/rc-build/Resource.h26
-rw-r--r--deps/gyp/test/win/rc-build/hello.cpp30
-rw-r--r--deps/gyp/test/win/rc-build/hello.gyp92
-rw-r--r--deps/gyp/test/win/rc-build/hello.h3
-rw-r--r--deps/gyp/test/win/rc-build/hello.icobin23558 -> 0 bytes
-rw-r--r--deps/gyp/test/win/rc-build/hello.rc86
-rw-r--r--deps/gyp/test/win/rc-build/hello3.rc87
-rw-r--r--deps/gyp/test/win/rc-build/small.icobin23558 -> 0 bytes
-rw-r--r--deps/gyp/test/win/rc-build/subdir/hello2.rc87
-rw-r--r--deps/gyp/test/win/rc-build/subdir/include.h1
-rw-r--r--deps/gyp/test/win/rc-build/targetver.h24
-rw-r--r--deps/gyp/test/win/shard/hello.cc7
-rw-r--r--deps/gyp/test/win/shard/hello1.cc7
-rw-r--r--deps/gyp/test/win/shard/hello2.cc7
-rw-r--r--deps/gyp/test/win/shard/hello3.cc7
-rw-r--r--deps/gyp/test/win/shard/hello4.cc7
-rw-r--r--deps/gyp/test/win/shard/shard.gyp31
-rw-r--r--deps/gyp/test/win/shard/shard_ref.gyp41
-rw-r--r--deps/gyp/test/win/system-include/bar/header.h0
-rw-r--r--deps/gyp/test/win/system-include/common/commonheader.h0
-rw-r--r--deps/gyp/test/win/system-include/foo/header.h0
-rw-r--r--deps/gyp/test/win/system-include/main.cc4
-rw-r--r--deps/gyp/test/win/system-include/test.gyp26
-rw-r--r--deps/gyp/test/win/uldi/a.cc7
-rw-r--r--deps/gyp/test/win/uldi/b.cc7
-rw-r--r--deps/gyp/test/win/uldi/dll.cc6
-rw-r--r--deps/gyp/test/win/uldi/exe.cc7
-rw-r--r--deps/gyp/test/win/uldi/main.cc10
-rw-r--r--deps/gyp/test/win/uldi/uldi-depending-on-module.gyp42
-rw-r--r--deps/gyp/test/win/uldi/uldi.gyp45
-rw-r--r--deps/gyp/test/win/vs-macros/as.py18
-rw-r--r--deps/gyp/test/win/vs-macros/containing-gyp.gyp39
-rw-r--r--deps/gyp/test/win/vs-macros/do_stuff.py8
-rw-r--r--deps/gyp/test/win/vs-macros/hello.cc7
-rw-r--r--deps/gyp/test/win/vs-macros/input-output-macros.gyp32
-rw-r--r--deps/gyp/test/win/vs-macros/input.S0
-rw-r--r--deps/gyp/test/win/vs-macros/projectname.gyp29
-rw-r--r--deps/gyp/test/win/vs-macros/stuff.blah1
-rw-r--r--deps/gyp/test/win/vs-macros/targetext.gyp59
-rw-r--r--deps/gyp/test/win/vs-macros/targetfilename.gyp59
-rw-r--r--deps/gyp/test/win/vs-macros/targetname.gyp52
-rw-r--r--deps/gyp/test/win/vs-macros/targetpath.gyp59
-rw-r--r--deps/gyp/test/win/vs-macros/test_exists.py10
-rw-r--r--deps/gyp/test/win/vs-macros/vcinstalldir.gyp41
-rw-r--r--deps/gyp/test/win/win-tool/copies_readonly_files.gyp29
-rw-r--r--deps/gyp/test/win/win-tool/gyptest-win-tool-handles-readonly-files.py55
-rw-r--r--deps/gyp/test/win/winrt-app-type-revision/dllmain.cc30
-rw-r--r--deps/gyp/test/win/winrt-app-type-revision/winrt-app-type-revison.gyp43
-rw-r--r--deps/gyp/test/win/winrt-target-platform-version/dllmain.cc30
-rw-r--r--deps/gyp/test/win/winrt-target-platform-version/winrt-target-platform-version.gyp49
333 files changed, 0 insertions, 9713 deletions
diff --git a/deps/gyp/test/win/asm-files/asm-files.gyp b/deps/gyp/test/win/asm-files/asm-files.gyp
deleted file mode 100644
index b1f132ceea..0000000000
--- a/deps/gyp/test/win/asm-files/asm-files.gyp
+++ /dev/null
@@ -1,17 +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': 'sources_with_asm',
- 'type': 'executable',
- 'sources': [
- 'hello.cc',
- 'b.s',
- 'c.S',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/asm-files/b.s b/deps/gyp/test/win/asm-files/b.s
deleted file mode 100644
index e69de29bb2..0000000000
--- a/deps/gyp/test/win/asm-files/b.s
+++ /dev/null
diff --git a/deps/gyp/test/win/asm-files/c.S b/deps/gyp/test/win/asm-files/c.S
deleted file mode 100644
index e69de29bb2..0000000000
--- a/deps/gyp/test/win/asm-files/c.S
+++ /dev/null
diff --git a/deps/gyp/test/win/asm-files/hello.cc b/deps/gyp/test/win/asm-files/hello.cc
deleted file mode 100644
index 1711567ef5..0000000000
--- a/deps/gyp/test/win/asm-files/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/batch-file-action/batch-file-action.gyp b/deps/gyp/test/win/batch-file-action/batch-file-action.gyp
deleted file mode 100644
index e4db9af9d3..0000000000
--- a/deps/gyp/test/win/batch-file-action/batch-file-action.gyp
+++ /dev/null
@@ -1,21 +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_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/deps/gyp/test/win/batch-file-action/infile b/deps/gyp/test/win/batch-file-action/infile
deleted file mode 100644
index 3f9177e45e..0000000000
--- a/deps/gyp/test/win/batch-file-action/infile
+++ /dev/null
@@ -1 +0,0 @@
-input
diff --git a/deps/gyp/test/win/batch-file-action/somecmd.bat b/deps/gyp/test/win/batch-file-action/somecmd.bat
deleted file mode 100644
index d487753743..0000000000
--- a/deps/gyp/test/win/batch-file-action/somecmd.bat
+++ /dev/null
@@ -1,5 +0,0 @@
-@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
diff --git a/deps/gyp/test/win/command-quote/a.S b/deps/gyp/test/win/command-quote/a.S
deleted file mode 100644
index e69de29bb2..0000000000
--- a/deps/gyp/test/win/command-quote/a.S
+++ /dev/null
diff --git a/deps/gyp/test/win/command-quote/bat with spaces.bat b/deps/gyp/test/win/command-quote/bat with spaces.bat
deleted file mode 100644
index dc3508f9a9..0000000000
--- a/deps/gyp/test/win/command-quote/bat with spaces.bat
+++ /dev/null
@@ -1,7 +0,0 @@
-@echo off
-
-:: 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.
-
-copy %1 %2
diff --git a/deps/gyp/test/win/command-quote/command-quote.gyp b/deps/gyp/test/win/command-quote/command-quote.gyp
deleted file mode 100644
index faf724674f..0000000000
--- a/deps/gyp/test/win/command-quote/command-quote.gyp
+++ /dev/null
@@ -1,79 +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.
-
-{
- 'target_defaults': {
- 'msvs_cygwin_dirs': ['../../../../../<(DEPTH)/third_party/cygwin'],
- },
- 'targets': [
- {
- 'target_name': 'test_batch',
- 'type': 'none',
- 'rules': [
- {
- 'rule_name': 'build_with_batch',
- 'msvs_cygwin_shell': 0,
- 'extension': 'S',
- 'outputs': ['output.obj'],
- 'action': ['call go.bat', '<(RULE_INPUT_PATH)', 'output.obj'],
- },],
- 'sources': ['a.S'],
- },
- {
- 'target_name': 'test_call_separate',
- 'type': 'none',
- 'rules': [
- {
- 'rule_name': 'build_with_batch2',
- 'msvs_cygwin_shell': 0,
- 'extension': 'S',
- 'outputs': ['output2.obj'],
- 'action': ['call', 'go.bat', '<(RULE_INPUT_PATH)', 'output2.obj'],
- },],
- 'sources': ['a.S'],
- },
- {
- 'target_name': 'test_with_spaces',
- 'type': 'none',
- 'rules': [
- {
- 'rule_name': 'build_with_batch3',
- 'msvs_cygwin_shell': 0,
- 'extension': 'S',
- 'outputs': ['output3.obj'],
- 'action': ['bat with spaces.bat', '<(RULE_INPUT_PATH)', 'output3.obj'],
- },],
- 'sources': ['a.S'],
- },
- {
- 'target_name': 'test_with_double_quotes',
- 'type': 'none',
- 'rules': [
- {
- 'rule_name': 'build_with_batch3',
- 'msvs_cygwin_shell': 1,
- 'extension': 'S',
- 'outputs': ['output4.obj'],
- 'arguments': ['-v'],
- 'action': ['python', '-c', 'import shutil; '
- 'shutil.copy("<(RULE_INPUT_PATH)", "output4.obj")'],
- },],
- 'sources': ['a.S'],
- },
- {
- 'target_name': 'test_with_single_quotes',
- 'type': 'none',
- 'rules': [
- {
- 'rule_name': 'build_with_batch3',
- 'msvs_cygwin_shell': 1,
- 'extension': 'S',
- 'outputs': ['output5.obj'],
- 'action': ['python', '-c', "import shutil; "
- "shutil.copy('<(RULE_INPUT_PATH)', 'output5.obj')"],
- },],
- 'sources': ['a.S'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/command-quote/go.bat b/deps/gyp/test/win/command-quote/go.bat
deleted file mode 100644
index dc3508f9a9..0000000000
--- a/deps/gyp/test/win/command-quote/go.bat
+++ /dev/null
@@ -1,7 +0,0 @@
-@echo off
-
-:: 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.
-
-copy %1 %2
diff --git a/deps/gyp/test/win/command-quote/subdir/and/another/in-subdir.gyp b/deps/gyp/test/win/command-quote/subdir/and/another/in-subdir.gyp
deleted file mode 100644
index 3dff4c40b9..0000000000
--- a/deps/gyp/test/win/command-quote/subdir/and/another/in-subdir.gyp
+++ /dev/null
@@ -1,27 +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_batch_depth',
- 'type': 'none',
- 'variables': {
- # Taken from native_client/build/common.gypi. Seems unintentional (a
- # string in a 1 element list)? But since it works on other generators,
- # I guess it should work here too.
- 'filepath': [ 'call <(DEPTH)/../../../go.bat' ],
- },
- 'rules': [
- {
- 'rule_name': 'build_with_batch4',
- 'msvs_cygwin_shell': 0,
- 'extension': 'S',
- 'outputs': ['output4.obj'],
- 'action': ['<@(filepath)', '<(RULE_INPUT_PATH)', 'output4.obj'],
- },],
- 'sources': ['<(DEPTH)\\..\\..\\..\\a.S'],
- },
- ]
-}
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;
-}
diff --git a/deps/gyp/test/win/enable-winrt/dllmain.cc b/deps/gyp/test/win/enable-winrt/dllmain.cc
deleted file mode 100644
index dedd83c3f6..0000000000
--- a/deps/gyp/test/win/enable-winrt/dllmain.cc
+++ /dev/null
@@ -1,30 +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.
-
-#include <windows.h>
-#include <wrl.h>
-#include <wrl/wrappers/corewrappers.h>
-#include <windows.graphics.display.h>
-
-using namespace Microsoft::WRL;
-using namespace Microsoft::WRL::Wrappers;
-using namespace ABI::Windows::Foundation;
-using namespace ABI::Windows::Graphics::Display;
-
-bool TryToUseSomeWinRT() {
- ComPtr<IDisplayPropertiesStatics> dp;
- HStringReference s(RuntimeClass_Windows_Graphics_Display_DisplayProperties);
- HRESULT hr = GetActivationFactory(s.Get(), dp.GetAddressOf());
- if (SUCCEEDED(hr)) {
- float dpi = 96.0f;
- if (SUCCEEDED(dp->get_LogicalDpi(&dpi))) {
- return true;
- }
- }
- return false;
-}
-
-BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
- return TRUE;
-}
diff --git a/deps/gyp/test/win/enable-winrt/enable-winrt.gyp b/deps/gyp/test/win/enable-winrt/enable-winrt.gyp
deleted file mode 100644
index 69f70189db..0000000000
--- a/deps/gyp/test/win/enable-winrt/enable-winrt.gyp
+++ /dev/null
@@ -1,39 +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': 'enable_winrt_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'sources': [
- 'dllmain.cc',
- ],
- },
- {
- 'target_name': 'enable_winrt_missing_dll',
- 'type': 'shared_library',
- 'sources': [
- 'dllmain.cc',
- ],
- },
- {
- 'target_name': 'enable_winrt_winphone_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'msvs_enable_winphone': 1,
- 'sources': [
- 'dllmain.cc',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'AdditionalDependencies': [
- '%(AdditionalDependencies)',
- ],
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/generator-output-different-drive/gyptest-generator-output-different-drive.py b/deps/gyp/test/win/generator-output-different-drive/gyptest-generator-output-different-drive.py
deleted file mode 100644
index 8c8c365d5e..0000000000
--- a/deps/gyp/test/win/generator-output-different-drive/gyptest-generator-output-different-drive.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Test that the generator output can be written to a different drive on Windows.
-"""
-
-import os
-import TestGyp
-import string
-import subprocess
-import sys
-
-
-if sys.platform == 'win32':
- import win32api
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- def GetFirstFreeDriveLetter():
- """ Returns the first unused Windows drive letter in [A, Z] """
- all_letters = [c for c in string.uppercase]
- in_use = win32api.GetLogicalDriveStrings()
- free = list(set(all_letters) - set(in_use))
- return free[0]
-
- output_dir = os.path.join('different-drive', 'output')
- if not os.path.isdir(os.path.abspath(output_dir)):
- os.makedirs(os.path.abspath(output_dir))
- output_drive = GetFirstFreeDriveLetter()
- subprocess.call(['subst', '%c:' % output_drive, os.path.abspath(output_dir)])
- try:
- test.run_gyp('prog.gyp', '--generator-output=%s' % (
- os.path.join(output_drive, 'output')))
- test.build('prog.gyp', test.ALL, chdir=os.path.join(output_drive, 'output'))
- test.built_file_must_exist('program', chdir=os.path.join(output_drive,
- 'output'),
- type=test.EXECUTABLE)
- test.pass_test()
- finally:
- subprocess.call(['subst', '%c:' % output_drive, '/D'])
diff --git a/deps/gyp/test/win/generator-output-different-drive/prog.c b/deps/gyp/test/win/generator-output-different-drive/prog.c
deleted file mode 100644
index 7937f5d07a..0000000000
--- a/deps/gyp/test/win/generator-output-different-drive/prog.c
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2013 The Chromium Authors. 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(void) {
- printf("Hello from prog.c\n");
- return 0;
-}
diff --git a/deps/gyp/test/win/generator-output-different-drive/prog.gyp b/deps/gyp/test/win/generator-output-different-drive/prog.gyp
deleted file mode 100644
index 92f53e5da5..0000000000
--- a/deps/gyp/test/win/generator-output-different-drive/prog.gyp
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 2013 The Chromium Authors. 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': 'program',
- 'type': 'executable',
- 'sources': [
- 'prog.c',
- ],
- },
- ],
-}
diff --git a/deps/gyp/test/win/gyptest-asm-files.py b/deps/gyp/test/win/gyptest-asm-files.py
deleted file mode 100644
index 007b52eb26..0000000000
--- a/deps/gyp/test/win/gyptest-asm-files.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure .s files aren't passed to cl.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'asm-files'
- test.run_gyp('asm-files.gyp', chdir=CHDIR)
- # The compiler will error out if it's passed the .s files, so just make sure
- # the build succeeds. The compiler doesn't directly support building
- # assembler files on Windows, they have to be built explicitly with a
- # third-party tool.
- test.build('asm-files.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-additional-include-dirs.py b/deps/gyp/test/win/gyptest-cl-additional-include-dirs.py
deleted file mode 100644
index 1fabfa9752..0000000000
--- a/deps/gyp/test/win/gyptest-cl-additional-include-dirs.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure additional include dirs are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('additional-include-dirs.gyp', chdir=CHDIR)
- test.build('additional-include-dirs.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-additional-options.py b/deps/gyp/test/win/gyptest-cl-additional-options.py
deleted file mode 100644
index e9aea10dc9..0000000000
--- a/deps/gyp/test/win/gyptest-cl-additional-options.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure additional manual compiler flags are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('additional-options.gyp', chdir=CHDIR)
-
- # Warning level not overidden, must fail.
- test.build('additional-options.gyp', 'test_additional_none', chdir=CHDIR,
- status=1)
-
- # Warning level is overridden, must succeed.
- test.build('additional-options.gyp', 'test_additional_one', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-analysis.py b/deps/gyp/test/win/gyptest-cl-analysis.py
deleted file mode 100644
index 7b3b9897f5..0000000000
--- a/deps/gyp/test/win/gyptest-cl-analysis.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure PREfast (code analysis) setting is extracted properly.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-if (sys.platform == 'win32' and
- int(os.environ.get('GYP_MSVS_VERSION', 0)) >= 2012):
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('analysis.gyp', chdir=CHDIR)
-
- # Analysis enabled, should fail.
- test.build('analysis.gyp', 'test_analysis_on', chdir=CHDIR, status=1)
-
- # Analysis not enabled, or unspecified, should pass.
- test.build('analysis.gyp', 'test_analysis_off', chdir=CHDIR)
- test.build('analysis.gyp', 'test_analysis_unspec', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-buffer-security-check.py b/deps/gyp/test/win/gyptest-cl-buffer-security-check.py
deleted file mode 100644
index e22869c3d3..0000000000
--- a/deps/gyp/test/win/gyptest-cl-buffer-security-check.py
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure buffer security check setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('buffer-security-check.gyp', chdir=CHDIR)
- test.build('buffer-security-check.gyp', chdir=CHDIR)
-
- def GetDisassemblyOfMain(exe):
- # The standard library uses buffer security checks independent of our
- # buffer security settings, so we extract just our code (i.e. main()) to
- # check against.
- full_path = test.built_file_path(exe, chdir=CHDIR)
- output = test.run_dumpbin('/disasm', full_path)
- result = []
- in_main = False
- for line in output.splitlines():
- if line == '_main:':
- in_main = True
- elif in_main:
- # Disassembly of next function starts.
- if line.startswith('_'):
- break
- result.append(line)
- return '\n'.join(result)
-
- # Buffer security checks are on by default, make sure security_cookie
- # appears in the disassembly of our code.
- if 'security_cookie' not in GetDisassemblyOfMain('test_bsc_unset.exe'):
- test.fail_test()
-
- # Explicitly on.
- if 'security_cookie' not in GetDisassemblyOfMain('test_bsc_on.exe'):
- test.fail_test()
-
- # Explicitly off, shouldn't be a reference to the security cookie.
- if 'security_cookie' in GetDisassemblyOfMain('test_bsc_off.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-calling-convention.py b/deps/gyp/test/win/gyptest-cl-calling-convention.py
deleted file mode 100644
index b5fdc47744..0000000000
--- a/deps/gyp/test/win/gyptest-cl-calling-convention.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure calling convention setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('calling-convention.gyp', chdir=CHDIR)
- test.build('calling-convention.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-character-set.py b/deps/gyp/test/win/gyptest-cl-character-set.py
deleted file mode 100644
index 7fabb6722a..0000000000
--- a/deps/gyp/test/win/gyptest-cl-character-set.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure character set setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('character-set.gyp', chdir=CHDIR)
- test.build('character-set.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-compile-as-managed.py b/deps/gyp/test/win/gyptest-cl-compile-as-managed.py
deleted file mode 100644
index 0d7b420485..0000000000
--- a/deps/gyp/test/win/gyptest-cl-compile-as-managed.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure compile as managed (clr) settings are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp()
-
- CHDIR = 'compiler-flags'
- test.run_gyp('compile-as-managed.gyp', chdir=CHDIR)
- test.build('compile-as-managed.gyp', "test-compile-as-managed", chdir=CHDIR)
- # Must fail.
- test.build('compile-as-managed.gyp', "test-compile-as-unmanaged",
- chdir=CHDIR, status=1)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-debug-format.py b/deps/gyp/test/win/gyptest-cl-debug-format.py
deleted file mode 100644
index 6c68a619be..0000000000
--- a/deps/gyp/test/win/gyptest-cl-debug-format.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure debug format settings are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('debug-format.gyp', chdir=CHDIR)
-
- # While there's ways to via .pdb contents, the .pdb doesn't include
- # which style the debug information was created from, so we resort to just
- # verifying the flags are correct on the command line.
-
- ninja_file = test.built_file_path('obj/test-debug-format-off.ninja',
- chdir=CHDIR)
- test.must_not_contain(ninja_file, '/Z7')
- test.must_not_contain(ninja_file, '/Zi')
- test.must_not_contain(ninja_file, '/ZI')
-
- ninja_file = test.built_file_path('obj/test-debug-format-oldstyle.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Z7')
-
- ninja_file = test.built_file_path('obj/test-debug-format-pdb.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Zi')
-
- ninja_file = test.built_file_path('obj/test-debug-format-editcontinue.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/ZI')
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-default-char-is-unsigned.py b/deps/gyp/test/win/gyptest-cl-default-char-is-unsigned.py
deleted file mode 100644
index d20f6742f5..0000000000
--- a/deps/gyp/test/win/gyptest-cl-default-char-is-unsigned.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure DefaultCharIsUnsigned option is functional.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('default-char-is-unsigned.gyp', chdir=CHDIR)
- test.build('default-char-is-unsigned.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-disable-specific-warnings.py b/deps/gyp/test/win/gyptest-cl-disable-specific-warnings.py
deleted file mode 100644
index cb253aff62..0000000000
--- a/deps/gyp/test/win/gyptest-cl-disable-specific-warnings.py
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure disable specific warnings is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('disable-specific-warnings.gyp', chdir=CHDIR)
-
- # The source file contains a warning, so if WarnAsError is true and
- # DisableSpecificWarnings for the warning in question is set, then the build
- # should succeed, otherwise it must fail.
-
- test.build('disable-specific-warnings.gyp',
- 'test_disable_specific_warnings_set',
- chdir=CHDIR)
- test.build('disable-specific-warnings.gyp',
- 'test_disable_specific_warnings_unset',
- chdir=CHDIR, status=1)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-enable-enhanced-instruction-set.py b/deps/gyp/test/win/gyptest-cl-enable-enhanced-instruction-set.py
deleted file mode 100644
index 78a924aba3..0000000000
--- a/deps/gyp/test/win/gyptest-cl-enable-enhanced-instruction-set.py
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Test VCCLCompilerTool EnableEnhancedInstructionSet setting.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-if sys.platform == 'win32':
- print "This test is currently disabled: https://crbug.com/483696."
- sys.exit(0)
-
- test = TestGyp.TestGyp()
-
- CHDIR = 'compiler-flags'
- test.run_gyp('enable-enhanced-instruction-set.gyp', chdir=CHDIR)
-
- test.build('enable-enhanced-instruction-set.gyp', test.ALL, chdir=CHDIR)
-
- test.run_built_executable('sse_extensions', chdir=CHDIR,
- stdout='/arch:SSE\n')
- test.run_built_executable('sse2_extensions', chdir=CHDIR,
- stdout='/arch:SSE2\n')
-
- # /arch:AVX introduced in VS2010, but MSBuild support lagged until 2012.
- if os.path.exists(test.built_file_path('avx_extensions')):
- test.run_built_executable('avx_extensions', chdir=CHDIR,
- stdout='/arch:AVX\n')
-
- # /arch:IA32 introduced in VS2012.
- if os.path.exists(test.built_file_path('no_extensions')):
- test.run_built_executable('no_extensions', chdir=CHDIR,
- stdout='/arch:IA32\n')
-
- # /arch:AVX2 introduced in VS2013r2.
- if os.path.exists(test.built_file_path('avx2_extensions')):
- test.run_built_executable('avx2_extensions', chdir=CHDIR,
- stdout='/arch:AVX2\n')
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-exception-handling.py b/deps/gyp/test/win/gyptest-cl-exception-handling.py
deleted file mode 100644
index 5738a54071..0000000000
--- a/deps/gyp/test/win/gyptest-cl-exception-handling.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure exception handling settings are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('exception-handling.gyp', chdir=CHDIR)
-
- # Must fail.
- test.build('exception-handling.gyp', 'test_eh_off', chdir=CHDIR,
- status=1)
-
- # Must succeed.
- test.build('exception-handling.gyp', 'test_eh_s', chdir=CHDIR)
- test.build('exception-handling.gyp', 'test_eh_a', chdir=CHDIR)
-
- # Error code must be 1 if EHa, and 2 if EHsc.
- test.run_built_executable('test_eh_a', chdir=CHDIR, status=1)
- test.run_built_executable('test_eh_s', chdir=CHDIR, status=2)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-floating-point-model.py b/deps/gyp/test/win/gyptest-cl-floating-point-model.py
deleted file mode 100644
index 86ff4785a0..0000000000
--- a/deps/gyp/test/win/gyptest-cl-floating-point-model.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure floating point model settings are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp()
-
- CHDIR = 'compiler-flags'
- test.run_gyp('floating-point-model.gyp', chdir=CHDIR)
- test.build('floating-point-model.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-force-include-files.py b/deps/gyp/test/win/gyptest-cl-force-include-files.py
deleted file mode 100644
index b73b8bd503..0000000000
--- a/deps/gyp/test/win/gyptest-cl-force-include-files.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure ForcedIncludeFiles option is functional.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('force-include-files.gyp', chdir=CHDIR)
- test.build('force-include-files.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-function-level-linking.py b/deps/gyp/test/win/gyptest-cl-function-level-linking.py
deleted file mode 100644
index 17c29e235f..0000000000
--- a/deps/gyp/test/win/gyptest-cl-function-level-linking.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure function-level linking setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('function-level-linking.gyp', chdir=CHDIR)
- test.build('function-level-linking.gyp', test.ALL, chdir=CHDIR)
-
- def CheckForSectionString(binary, search_for, should_exist):
- output = test.run_dumpbin('/headers', binary)
- if should_exist and search_for not in output:
- print 'Did not find "%s" in %s' % (search_for, binary)
- test.fail_test()
- elif not should_exist and search_for in output:
- print 'Found "%s" in %s (and shouldn\'t have)' % (search_for, binary)
- test.fail_test()
-
- def Object(proj, obj):
- sep = '.' if test.format == 'ninja' else '\\'
- return 'obj\\%s%s%s' % (proj, sep, obj)
-
- look_for = '''COMDAT; sym= "int __cdecl comdat_function'''
-
- # When function level linking is on, the functions should be listed as
- # separate comdat entries.
-
- CheckForSectionString(
- test.built_file_path(Object('test_fll_on', 'function-level-linking.obj'),
- chdir=CHDIR),
- look_for,
- should_exist=True)
-
- CheckForSectionString(
- test.built_file_path(Object('test_fll_off', 'function-level-linking.obj'),
- chdir=CHDIR),
- look_for,
- should_exist=False)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-optimizations.py b/deps/gyp/test/win/gyptest-cl-optimizations.py
deleted file mode 100644
index 31341f7dd7..0000000000
--- a/deps/gyp/test/win/gyptest-cl-optimizations.py
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure optimization settings are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('optimizations.gyp', chdir=CHDIR)
-
- # It's hard to map flags to output contents in a non-fragile way (especially
- # handling both 2008/2010), so just verify the correct ninja command line
- # contents.
-
- ninja_file = test.built_file_path('obj/test_opt_off.ninja', chdir=CHDIR)
- test.must_contain(ninja_file, 'cflags = /Od')
-
- ninja_file = test.built_file_path('obj/test_opt_lev_size.ninja', chdir=CHDIR)
- test.must_contain(ninja_file, 'cflags = /O1')
-
- ninja_file = test.built_file_path('obj/test_opt_lev_speed.ninja', chdir=CHDIR)
- test.must_contain(ninja_file, 'cflags = /O2')
-
- ninja_file = test.built_file_path('obj/test_opt_lev_max.ninja', chdir=CHDIR)
- test.must_contain(ninja_file, 'cflags = /Ox')
-
- ninja_file = test.built_file_path('obj/test_opt_unset.ninja', chdir=CHDIR)
- test.must_not_contain(ninja_file, '/Od')
- test.must_not_contain(ninja_file, '/O1')
- test.must_not_contain(ninja_file, '/Ox')
- # Set by default if none specified.
- test.must_contain(ninja_file, '/O2')
-
- ninja_file = test.built_file_path('obj/test_opt_fpo.ninja', chdir=CHDIR)
- test.must_contain(ninja_file, '/Oy')
- test.must_not_contain(ninja_file, '/Oy-')
-
- ninja_file = test.built_file_path('obj/test_opt_fpo_off.ninja', chdir=CHDIR)
- test.must_contain(ninja_file, '/Oy-')
-
- ninja_file = test.built_file_path('obj/test_opt_intrinsic.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Oi')
- test.must_not_contain(ninja_file, '/Oi-')
-
- ninja_file = test.built_file_path('obj/test_opt_intrinsic_off.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Oi-')
-
- ninja_file = test.built_file_path('obj/test_opt_inline_off.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Ob0')
-
- ninja_file = test.built_file_path('obj/test_opt_inline_manual.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Ob1')
-
- ninja_file = test.built_file_path('obj/test_opt_inline_auto.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Ob2')
-
- ninja_file = test.built_file_path('obj/test_opt_neither.ninja',
- chdir=CHDIR)
- test.must_not_contain(ninja_file, '/Os')
- test.must_not_contain(ninja_file, '/Ot')
-
- ninja_file = test.built_file_path('obj/test_opt_size.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Os')
-
- ninja_file = test.built_file_path('obj/test_opt_speed.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/Ot')
-
- ninja_file = test.built_file_path('obj/test_opt_wpo.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/GL')
-
- ninja_file = test.built_file_path('obj/test_opt_sp.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/GF')
-
- ninja_file = test.built_file_path('obj/test_opt_sp_off.ninja',
- chdir=CHDIR)
- test.must_not_contain(ninja_file, '/GF')
-
- ninja_file = test.built_file_path('obj/test_opt_fso.ninja',
- chdir=CHDIR)
- test.must_contain(ninja_file, '/GT')
-
- ninja_file = test.built_file_path('obj/test_opt_fso_off.ninja',
- chdir=CHDIR)
- test.must_not_contain(ninja_file, '/GT')
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-pdbname-override.py b/deps/gyp/test/win/gyptest-cl-pdbname-override.py
deleted file mode 100644
index da9b49af16..0000000000
--- a/deps/gyp/test/win/gyptest-cl-pdbname-override.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure pdb is named as expected (shared between .cc files).
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp()
-
- CHDIR = 'compiler-flags'
- test.run_gyp('pdbname-override.gyp', chdir=CHDIR)
- test.build('pdbname-override.gyp', test.ALL, chdir=CHDIR)
-
- # Confirm that the pdb generated by the compiler was renamed (and we also
- # have the linker generated one).
- test.built_file_must_exist('compiler_generated.pdb', chdir=CHDIR)
- test.built_file_must_exist('linker_generated.pdb', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-pdbname.py b/deps/gyp/test/win/gyptest-cl-pdbname.py
deleted file mode 100644
index f09ac233cd..0000000000
--- a/deps/gyp/test/win/gyptest-cl-pdbname.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure pdb is named as expected (shared between .cc files).
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('pdbname.gyp', chdir=CHDIR)
- test.build('pdbname.gyp', test.ALL, chdir=CHDIR)
-
- # Confirm that the default behaviour is to name the .pdb per-target (rather
- # than per .cc file).
- test.built_file_must_exist('obj/test_pdbname.cc.pdb', chdir=CHDIR)
-
- # Confirm that there should be a .pdb alongside the executable.
- test.built_file_must_exist('test_pdbname.exe', chdir=CHDIR)
- test.built_file_must_exist('test_pdbname.exe.pdb', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-rtti.py b/deps/gyp/test/win/gyptest-cl-rtti.py
deleted file mode 100644
index d49a094379..0000000000
--- a/deps/gyp/test/win/gyptest-cl-rtti.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure RTTI setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('rtti.gyp', chdir=CHDIR)
-
- # Must fail.
- test.build('rtti.gyp', 'test_rtti_off', chdir=CHDIR, status=1)
-
- # Must succeed.
- test.build('rtti.gyp', 'test_rtti_on', chdir=CHDIR)
-
- # Must succeed.
- test.build('rtti.gyp', 'test_rtti_unset', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-runtime-checks.py b/deps/gyp/test/win/gyptest-cl-runtime-checks.py
deleted file mode 100644
index 4fd529f892..0000000000
--- a/deps/gyp/test/win/gyptest-cl-runtime-checks.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure RTC setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('runtime-checks.gyp', chdir=CHDIR)
-
- # Runtime checks disabled, should fail.
- test.build('runtime-checks.gyp', 'test_brc_none', chdir=CHDIR, status=1)
-
- # Runtime checks enabled, should pass.
- test.build('runtime-checks.gyp', 'test_brc_1', chdir=CHDIR)
-
- # TODO(scottmg): There are other less frequently used/partial options, but
- # it's not clear how to verify them, so ignore for now.
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-runtime-library.py b/deps/gyp/test/win/gyptest-cl-runtime-library.py
deleted file mode 100644
index 53c149297b..0000000000
--- a/deps/gyp/test/win/gyptest-cl-runtime-library.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure runtime C library setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('runtime-library.gyp', chdir=CHDIR)
- test.build('runtime-library.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-treat-wchar-t-as-built-in-type.py b/deps/gyp/test/win/gyptest-cl-treat-wchar-t-as-built-in-type.py
deleted file mode 100644
index ca35fb55a0..0000000000
--- a/deps/gyp/test/win/gyptest-cl-treat-wchar-t-as-built-in-type.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure TreatWChar_tAsBuiltInType option is functional.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('treat-wchar-t-as-built-in-type.gyp', chdir=CHDIR)
- test.build('treat-wchar-t-as-built-in-type.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-warning-as-error.py b/deps/gyp/test/win/gyptest-cl-warning-as-error.py
deleted file mode 100644
index d4ef1b362b..0000000000
--- a/deps/gyp/test/win/gyptest-cl-warning-as-error.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure warning-as-error is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('warning-as-error.gyp', chdir=CHDIR)
-
- # The source file contains a warning, so if WarnAsError is false (or
- # default, which is also false), then the build should succeed, otherwise it
- # must fail.
-
- test.build('warning-as-error.gyp', 'test_warn_as_error_false', chdir=CHDIR)
- test.build('warning-as-error.gyp', 'test_warn_as_error_unset', chdir=CHDIR)
- test.build('warning-as-error.gyp', 'test_warn_as_error_true', chdir=CHDIR,
- status=1)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-cl-warning-level.py b/deps/gyp/test/win/gyptest-cl-warning-level.py
deleted file mode 100644
index 62a5b39b6a..0000000000
--- a/deps/gyp/test/win/gyptest-cl-warning-level.py
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure warning level is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'compiler-flags'
- test.run_gyp('warning-level.gyp', chdir=CHDIR)
-
- # A separate target for each warning level: one pass (compiling a file
- # containing a warning that's above the specified level); and one fail
- # (compiling a file at the specified level). No pass for 4 of course,
- # because it would have to have no warnings. The default warning level is
- # equivalent to level 1.
-
- test.build('warning-level.gyp', 'test_wl1_fail', chdir=CHDIR, status=1)
- test.build('warning-level.gyp', 'test_wl1_pass', chdir=CHDIR)
-
- test.build('warning-level.gyp', 'test_wl2_fail', chdir=CHDIR, status=1)
- test.build('warning-level.gyp', 'test_wl2_pass', chdir=CHDIR)
-
- test.build('warning-level.gyp', 'test_wl3_fail', chdir=CHDIR, status=1)
- test.build('warning-level.gyp', 'test_wl3_pass', chdir=CHDIR)
-
- test.build('warning-level.gyp', 'test_wl4_fail', chdir=CHDIR, status=1)
-
- test.build('warning-level.gyp', 'test_def_fail', chdir=CHDIR, status=1)
- test.build('warning-level.gyp', 'test_def_pass', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-command-quote.py b/deps/gyp/test/win/gyptest-command-quote.py
deleted file mode 100644
index bd93ac5e92..0000000000
--- a/deps/gyp/test/win/gyptest-command-quote.py
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-
-Make sure the program in a command can be a called batch file, or an
-application in the path. Specifically, this means not quoting something like
-"call x.bat", lest the shell look for a program named "call x.bat", rather
-than calling "x.bat".
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- print "This test is currently disabled: https://crbug.com/483696."
- sys.exit(0)
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
- CHDIR = 'command-quote'
- test.run_gyp('command-quote.gyp', chdir=CHDIR)
-
- test.build('command-quote.gyp', 'test_batch', chdir=CHDIR)
- test.build('command-quote.gyp', 'test_call_separate', chdir=CHDIR)
- test.build('command-quote.gyp', 'test_with_double_quotes', chdir=CHDIR)
- test.build('command-quote.gyp', 'test_with_single_quotes', chdir=CHDIR)
-
- # We confirm that this fails because other generators don't handle spaces in
- # inputs so it's preferable to not have it work here.
- test.build('command-quote.gyp', 'test_with_spaces', chdir=CHDIR, status=1)
-
- CHDIR = 'command-quote/subdir/and/another'
- test.run_gyp('in-subdir.gyp', chdir=CHDIR)
- test.build('in-subdir.gyp', 'test_batch_depth', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-crosscompile-ar.py b/deps/gyp/test/win/gyptest-crosscompile-ar.py
deleted file mode 100644
index dc75d96a84..0000000000
--- a/deps/gyp/test/win/gyptest-crosscompile-ar.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright 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.
-
-"""
-Verifies that ar_host is set correctly when enabling cross-compile on windows.
-"""
-
-import TestGyp
-
-import sys
-import os
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
-
- CHDIR = 'lib-crosscompile'
- oldenv = os.environ.copy()
- try:
- os.environ['GYP_CROSSCOMPILE'] = '1'
- test.run_gyp('use_host_ar.gyp', chdir=CHDIR)
- finally:
- os.environ.clear()
- os.environ.update(oldenv)
-
- test.build('use_host_ar.gyp', test.ALL, chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-lib-ltcg.py b/deps/gyp/test/win/gyptest-lib-ltcg.py
deleted file mode 100644
index d1d7bad840..0000000000
--- a/deps/gyp/test/win/gyptest-lib-ltcg.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure LTCG setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'lib-flags'
- test.run_gyp('ltcg.gyp', chdir=CHDIR)
- test.build('ltcg.gyp', test.ALL, chdir=CHDIR)
- test.must_not_contain_any_line(test.stdout(), ['restarting link with /LTCG'])
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-additional-deps.py b/deps/gyp/test/win/gyptest-link-additional-deps.py
deleted file mode 100644
index 62c57366f9..0000000000
--- a/deps/gyp/test/win/gyptest-link-additional-deps.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure additional library dependencies are handled.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('additional-deps.gyp', chdir=CHDIR)
- test.build('additional-deps.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-additional-options.py b/deps/gyp/test/win/gyptest-link-additional-options.py
deleted file mode 100644
index 7e57ae4764..0000000000
--- a/deps/gyp/test/win/gyptest-link-additional-options.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure additional options are handled.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('additional-options.gyp', chdir=CHDIR)
- test.build('additional-options.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-aslr.py b/deps/gyp/test/win/gyptest-link-aslr.py
deleted file mode 100644
index e765017d3b..0000000000
--- a/deps/gyp/test/win/gyptest-link-aslr.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure aslr setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('aslr.gyp', chdir=CHDIR)
- test.build('aslr.gyp', test.ALL, chdir=CHDIR)
-
- def HasDynamicBase(exe):
- full_path = test.built_file_path(exe, chdir=CHDIR)
- output = test.run_dumpbin('/headers', full_path)
- return ' Dynamic base' in output
-
- # Default is to be on.
- if not HasDynamicBase('test_aslr_default.exe'):
- test.fail_test()
- if HasDynamicBase('test_aslr_no.exe'):
- test.fail_test()
- if not HasDynamicBase('test_aslr_yes.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-base-address.py b/deps/gyp/test/win/gyptest-link-base-address.py
deleted file mode 100644
index d58527ad7e..0000000000
--- a/deps/gyp/test/win/gyptest-link-base-address.py
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure the base address setting is extracted properly.
-"""
-
-import TestGyp
-
-import re
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('base-address.gyp', chdir=CHDIR)
- test.build('base-address.gyp', test.ALL, chdir=CHDIR)
-
- def GetHeaders(exe):
- full_path = test.built_file_path(exe, chdir=CHDIR)
- return test.run_dumpbin('/headers', full_path)
-
- # Extract the image base address from the headers output.
- image_base_reg_ex = re.compile(r'.*\s+([0-9]+) image base.*', re.DOTALL)
-
- exe_headers = GetHeaders('test_base_specified_exe.exe')
- exe_match = image_base_reg_ex.match(exe_headers)
-
- if not exe_match or not exe_match.group(1):
- test.fail_test()
- if exe_match.group(1) != '420000':
- test.fail_test()
-
- dll_headers = GetHeaders('test_base_specified_dll.dll')
- dll_match = image_base_reg_ex.match(dll_headers)
-
- if not dll_match or not dll_match.group(1):
- test.fail_test()
- if dll_match.group(1) != '10420000':
- test.fail_test()
-
- default_exe_headers = GetHeaders('test_base_default_exe.exe')
- default_exe_match = image_base_reg_ex.match(default_exe_headers)
-
- if not default_exe_match or not default_exe_match.group(1):
- test.fail_test()
- if default_exe_match.group(1) != '400000':
- test.fail_test()
-
- default_dll_headers = GetHeaders('test_base_default_dll.dll')
- default_dll_match = image_base_reg_ex.match(default_dll_headers)
-
- if not default_dll_match or not default_dll_match.group(1):
- test.fail_test()
- if default_dll_match.group(1) != '10000000':
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-debug-info.py b/deps/gyp/test/win/gyptest-link-debug-info.py
deleted file mode 100644
index 33e8ac48bf..0000000000
--- a/deps/gyp/test/win/gyptest-link-debug-info.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure debug info setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('debug-info.gyp', chdir=CHDIR)
- test.build('debug-info.gyp', test.ALL, chdir=CHDIR)
-
- suffix = '.exe.pdb' if test.format == 'ninja' else '.pdb'
- test.built_file_must_not_exist('test_debug_off%s' % suffix, chdir=CHDIR)
- test.built_file_must_exist('test_debug_on%s' % suffix, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-default-libs.py b/deps/gyp/test/win/gyptest-link-default-libs.py
deleted file mode 100644
index 5edf467913..0000000000
--- a/deps/gyp/test/win/gyptest-link-default-libs.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure we include the default libs.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('no-default-libs.gyp', chdir=CHDIR)
- test.build('no-default-libs.gyp', test.ALL, chdir=CHDIR, status=1)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-deffile.py b/deps/gyp/test/win/gyptest-link-deffile.py
deleted file mode 100644
index 94df874f85..0000000000
--- a/deps/gyp/test/win/gyptest-link-deffile.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure a .def file is handled in the link.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
-
- # Multiple .def files doesn't make any sense, should fail at generate time.
- test.run_gyp('deffile-multiple.gyp', chdir=CHDIR, stderr=None, status=1)
-
- test.run_gyp('deffile.gyp', chdir=CHDIR)
- test.build('deffile.gyp', test.ALL, chdir=CHDIR)
-
- def HasExport(binary, export):
- full_path = test.built_file_path(binary, chdir=CHDIR)
- output = test.run_dumpbin('/exports', full_path)
- return export in output
-
- # Make sure we only have the export when the .def file is in use.
-
- if HasExport('test_deffile_dll_notexported.dll', 'AnExportedFunction'):
- test.fail_test()
- if not HasExport('test_deffile_dll_ok.dll', 'AnExportedFunction'):
- test.fail_test()
-
- if HasExport('test_deffile_exe_notexported.exe', 'AnExportedFunction'):
- test.fail_test()
- if not HasExport('test_deffile_exe_ok.exe', 'AnExportedFunction'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-defrelink.py b/deps/gyp/test/win/gyptest-link-defrelink.py
deleted file mode 100644
index cec0ea1870..0000000000
--- a/deps/gyp/test/win/gyptest-link-defrelink.py
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure a relink is performed when a .def file is touched.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- print "This test is currently disabled: https://crbug.com/483696."
- sys.exit(0)
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- target = 'test_deffile_dll_ok'
- def_contents = test.read('linker-flags/deffile.def')
-
- # This first build makes sure everything is up to date.
- test.run_gyp('deffile.gyp', chdir=CHDIR)
- test.build('deffile.gyp', target, chdir=CHDIR)
- test.up_to_date('deffile.gyp', target, chdir=CHDIR)
-
- def HasExport(binary, export):
- full_path = test.built_file_path(binary, chdir=CHDIR)
- output = test.run_dumpbin('/exports', full_path)
- return export in output
-
- # Verify that only one function is exported.
- if not HasExport('test_deffile_dll_ok.dll', 'AnExportedFunction'):
- test.fail_test()
- if HasExport('test_deffile_dll_ok.dll', 'AnotherExportedFunction'):
- test.fail_test()
-
- # Add AnotherExportedFunction to the def file, then rebuild. If it doesn't
- # relink the DLL, then the subsequent check for AnotherExportedFunction will
- # fail.
- new_def_contents = def_contents + "\n AnotherExportedFunction"
- test.write('linker-flags/deffile.def', new_def_contents)
- test.build('deffile.gyp', target, chdir=CHDIR)
- test.up_to_date('deffile.gyp', target, chdir=CHDIR)
-
- if not HasExport('test_deffile_dll_ok.dll', 'AnExportedFunction'):
- test.fail_test()
- if not HasExport('test_deffile_dll_ok.dll', 'AnotherExportedFunction'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-delay-load-dlls.py b/deps/gyp/test/win/gyptest-link-delay-load-dlls.py
deleted file mode 100644
index 3880247b4a..0000000000
--- a/deps/gyp/test/win/gyptest-link-delay-load-dlls.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure delay load setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('delay-load-dlls.gyp', chdir=CHDIR)
- test.build('delay-load-dlls.gyp', test.ALL, chdir=CHDIR)
-
- prefix = 'contains the following delay load imports:'
- shell32_look_for = prefix + '\r\n\r\n SHELL32.dll'
-
- output = test.run_dumpbin(
- '/all', test.built_file_path('test_dld_none.exe', chdir=CHDIR))
- if prefix in output:
- test.fail_test()
-
- output = test.run_dumpbin(
- '/all', test.built_file_path('test_dld_shell32.exe', chdir=CHDIR))
- if shell32_look_for not in output:
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-embed-manifest.py b/deps/gyp/test/win/gyptest-link-embed-manifest.py
deleted file mode 100644
index 5b9d2c25b4..0000000000
--- a/deps/gyp/test/win/gyptest-link-embed-manifest.py
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright (c) 2013 Yandex LLC. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""
-Make sure manifests are embedded in binaries properly. Handling of
-AdditionalManifestFiles is tested too.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- import pywintypes
- import win32api
- import winerror
-
- RT_MANIFEST = 24
-
- class LoadLibrary(object):
- """Context manager for loading and releasing binaries in Windows.
- Yields the handle of the binary loaded."""
- def __init__(self, path):
- self._path = path
- self._handle = None
-
- def __enter__(self):
- self._handle = win32api.LoadLibrary(self._path)
- return self._handle
-
- def __exit__(self, type, value, traceback):
- win32api.FreeLibrary(self._handle)
-
-
- def extract_manifest(path, resource_name):
- """Reads manifest from |path| and returns it as a string.
- Returns None is there is no such manifest."""
- with LoadLibrary(path) as handle:
- try:
- return win32api.LoadResource(handle, RT_MANIFEST, resource_name)
- except pywintypes.error as error:
- if error.args[0] == winerror.ERROR_RESOURCE_DATA_NOT_FOUND:
- return None
- else:
- raise
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
- CHDIR = 'linker-flags'
- test.run_gyp('embed-manifest.gyp', chdir=CHDIR)
- test.build('embed-manifest.gyp', test.ALL, chdir=CHDIR)
-
- # The following binaries must contain a manifest embedded.
- test.fail_test(not extract_manifest(test.built_file_path(
- 'test_manifest_exe.exe', chdir=CHDIR), 1))
- test.fail_test(not extract_manifest(test.built_file_path(
- 'test_manifest_exe_inc.exe', chdir=CHDIR), 1))
- test.fail_test(not extract_manifest(test.built_file_path(
- 'test_manifest_dll.dll', chdir=CHDIR), 2))
- test.fail_test(not extract_manifest(test.built_file_path(
- 'test_manifest_dll_inc.dll', chdir=CHDIR), 2))
-
- # Must contain the Win7 support GUID, but not the Vista one (from
- # extra2.manifest).
- test.fail_test(
- '35138b9a-5d96-4fbd-8e2d-a2440225f93a' not in
- extract_manifest(test.built_file_path('test_manifest_extra1.exe',
- chdir=CHDIR), 1))
- test.fail_test(
- 'e2011457-1546-43c5-a5fe-008deee3d3f0' in
- extract_manifest(test.built_file_path('test_manifest_extra1.exe',
- chdir=CHDIR), 1))
- # Must contain both.
- test.fail_test(
- '35138b9a-5d96-4fbd-8e2d-a2440225f93a' not in
- extract_manifest(test.built_file_path('test_manifest_extra2.exe',
- chdir=CHDIR), 1))
- test.fail_test(
- 'e2011457-1546-43c5-a5fe-008deee3d3f0' not in
- extract_manifest(test.built_file_path('test_manifest_extra2.exe',
- chdir=CHDIR), 1))
-
- # Same as extra2, but using list syntax instead.
- test.fail_test(
- '35138b9a-5d96-4fbd-8e2d-a2440225f93a' not in
- extract_manifest(test.built_file_path('test_manifest_extra_list.exe',
- chdir=CHDIR), 1))
- test.fail_test(
- 'e2011457-1546-43c5-a5fe-008deee3d3f0' not in
- extract_manifest(test.built_file_path('test_manifest_extra_list.exe',
- chdir=CHDIR), 1))
-
- # Test that incremental linking doesn't force manifest embedding.
- test.fail_test(extract_manifest(test.built_file_path(
- 'test_manifest_exe_inc_no_embed.exe', chdir=CHDIR), 1))
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-enable-uac.py b/deps/gyp/test/win/gyptest-link-enable-uac.py
deleted file mode 100644
index 131e07ec1f..0000000000
--- a/deps/gyp/test/win/gyptest-link-enable-uac.py
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Verifies that embedding UAC information into the manifest works.
-"""
-
-import TestGyp
-
-import sys
-from xml.dom.minidom import parseString
-
-if sys.platform == 'win32':
- import pywintypes
- import win32api
- import winerror
-
- RT_MANIFEST = 24
-
- class LoadLibrary(object):
- """Context manager for loading and releasing binaries in Windows.
- Yields the handle of the binary loaded."""
- def __init__(self, path):
- self._path = path
- self._handle = None
-
- def __enter__(self):
- self._handle = win32api.LoadLibrary(self._path)
- return self._handle
-
- def __exit__(self, type, value, traceback):
- win32api.FreeLibrary(self._handle)
-
-
- def extract_manifest(path, resource_name):
- """Reads manifest from |path| and returns it as a string.
- Returns None is there is no such manifest."""
- with LoadLibrary(path) as handle:
- try:
- return win32api.LoadResource(handle, RT_MANIFEST, resource_name)
- except pywintypes.error as error:
- if error.args[0] == winerror.ERROR_RESOURCE_DATA_NOT_FOUND:
- return None
- else:
- raise
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
- CHDIR = 'linker-flags'
- test.run_gyp('enable-uac.gyp', chdir=CHDIR)
- test.build('enable-uac.gyp', test.ALL, chdir=CHDIR)
-
- # The following binaries must contain a manifest embedded.
- test.fail_test(not extract_manifest(test.built_file_path(
- 'enable_uac.exe', chdir=CHDIR), 1))
- test.fail_test(not extract_manifest(test.built_file_path(
- 'enable_uac_no.exe', chdir=CHDIR), 1))
- test.fail_test(not extract_manifest(test.built_file_path(
- 'enable_uac_admin.exe', chdir=CHDIR), 1))
-
- # Verify that <requestedExecutionLevel level="asInvoker" uiAccess="false" />
- # is present.
- manifest = parseString(extract_manifest(
- test.built_file_path('enable_uac.exe', chdir=CHDIR), 1))
- execution_level = manifest.getElementsByTagName('requestedExecutionLevel')
- test.fail_test(len(execution_level) != 1)
- execution_level = execution_level[0].attributes
- test.fail_test(not (
- execution_level.has_key('level') and
- execution_level.has_key('uiAccess') and
- execution_level['level'].nodeValue == 'asInvoker' and
- execution_level['uiAccess'].nodeValue == 'false'))
-
- # Verify that <requestedExecutionLevel> is not in the menifest.
- manifest = parseString(extract_manifest(
- test.built_file_path('enable_uac_no.exe', chdir=CHDIR), 1))
- execution_level = manifest.getElementsByTagName('requestedExecutionLevel')
- test.fail_test(len(execution_level) != 0)
-
- # Verify that <requestedExecutionLevel level="requireAdministrator"
- # uiAccess="true" /> is present.
- manifest = parseString(extract_manifest(
- test.built_file_path('enable_uac_admin.exe', chdir=CHDIR), 1))
- execution_level = manifest.getElementsByTagName('requestedExecutionLevel')
- test.fail_test(len(execution_level) != 1)
- execution_level = execution_level[0].attributes
- test.fail_test(not (
- execution_level.has_key('level') and
- execution_level.has_key('uiAccess') and
- execution_level['level'].nodeValue == 'requireAdministrator' and
- execution_level['uiAccess'].nodeValue == 'true'))
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-enable-winrt-app-revision.py b/deps/gyp/test/win/gyptest-link-enable-winrt-app-revision.py
deleted file mode 100644
index e5c5a71335..0000000000
--- a/deps/gyp/test/win/gyptest-link-enable-winrt-app-revision.py
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure msvs_application_type_revision works correctly.
-"""
-
-import TestGyp
-
-import os
-import sys
-import struct
-
-CHDIR = 'winrt-app-type-revision'
-
-print 'This test is not currently working on the bots: https://code.google.com/p/gyp/issues/detail?id=466'
-sys.exit(0)
-
-if (sys.platform == 'win32' and
- int(os.environ.get('GYP_MSVS_VERSION', 0)) == 2013):
- test = TestGyp.TestGyp(formats=['msvs'])
-
- test.run_gyp('winrt-app-type-revision.gyp', chdir=CHDIR)
-
- test.build('winrt-app-type-revision.gyp', 'enable_winrt_81_revision_dll',
- chdir=CHDIR)
-
- # Revision is set to 8.2 which is invalid for 2013 projects so compilation
- # must fail.
- test.build('winrt-app-type-revision.gyp', 'enable_winrt_82_revision_dll',
- chdir=CHDIR, status=1)
-
- # Revision is set to an invalid value for 2013 projects so compilation
- # must fail.
- test.build('winrt-app-type-revision.gyp', 'enable_winrt_invalid_revision_dll',
- chdir=CHDIR, status=1)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-enable-winrt-target-platform-version.py b/deps/gyp/test/win/gyptest-link-enable-winrt-target-platform-version.py
deleted file mode 100644
index cd9244ed01..0000000000
--- a/deps/gyp/test/win/gyptest-link-enable-winrt-target-platform-version.py
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure msvs_target_platform_version works correctly.
-"""
-
-import TestGyp
-
-import os
-import sys
-import struct
-
-CHDIR = 'winrt-target-platform-version'
-
-print 'This test is not currently working on the bots: https://code.google.com/p/gyp/issues/detail?id=466'
-sys.exit(0)
-
-if (sys.platform == 'win32' and
- int(os.environ.get('GYP_MSVS_VERSION', 0)) == 2015):
- test = TestGyp.TestGyp(formats=['msvs'])
-
- test.run_gyp('winrt-target-platform-version.gyp', chdir=CHDIR)
-
- test.build('winrt-target-platform-version.gyp',
- 'enable_winrt_10_platversion_dll', chdir=CHDIR)
-
- # Target Platform without Minimum Target Platform version defaults to a valid
- # Target Platform and compiles.
- test.build('winrt-target-platform-version.gyp',
- 'enable_winrt_10_platversion_nominver_dll', chdir=CHDIR)
-
- # Target Platform is set to 9.0 which is invalid for 2015 projects so
- # compilation must fail.
- test.build('winrt-target-platform-version.gyp',
- 'enable_winrt_9_platversion_dll', chdir=CHDIR, status=1)
-
- # Missing Target Platform for 2015 projects must fail.
- test.build('winrt-target-platform-version.gyp',
- 'enable_winrt_missing_platversion_dll', chdir=CHDIR, status=1)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-enable-winrt.py b/deps/gyp/test/win/gyptest-link-enable-winrt.py
deleted file mode 100644
index 283863ced7..0000000000
--- a/deps/gyp/test/win/gyptest-link-enable-winrt.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure msvs_enable_winrt works correctly.
-"""
-
-import TestGyp
-
-import os
-import sys
-import struct
-
-CHDIR = 'enable-winrt'
-
-print 'This test is not currently working on the bots: https://code.google.com/p/gyp/issues/detail?id=466'
-sys.exit(0)
-
-if (sys.platform == 'win32' and
- int(os.environ.get('GYP_MSVS_VERSION', 0)) >= 2013):
- test = TestGyp.TestGyp(formats=['msvs'])
-
- test.run_gyp('enable-winrt.gyp', chdir=CHDIR)
-
- test.build('enable-winrt.gyp', 'enable_winrt_dll', chdir=CHDIR)
-
- test.build('enable-winrt.gyp', 'enable_winrt_missing_dll', chdir=CHDIR,
- status=1)
-
- test.build('enable-winrt.gyp', 'enable_winrt_winphone_dll', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-entrypointsymbol.py b/deps/gyp/test/win/gyptest-link-entrypointsymbol.py
deleted file mode 100644
index e88174a085..0000000000
--- a/deps/gyp/test/win/gyptest-link-entrypointsymbol.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure entrypointsymbol setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('entrypointsymbol.gyp', chdir=CHDIR)
-
- test.build('entrypointsymbol.gyp', 'test_ok', chdir=CHDIR)
- test.build('entrypointsymbol.gyp', 'test_fail', chdir=CHDIR, status=1)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-fixed-base.py b/deps/gyp/test/win/gyptest-link-fixed-base.py
deleted file mode 100644
index 725a87028a..0000000000
--- a/deps/gyp/test/win/gyptest-link-fixed-base.py
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure fixed base setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('fixed-base.gyp', chdir=CHDIR)
- test.build('fixed-base.gyp', test.ALL, chdir=CHDIR)
-
- def GetHeaders(exe):
- full_path = test.built_file_path(exe, chdir=CHDIR)
- return test.run_dumpbin('/headers', full_path)
-
- # For exe, default is fixed, for dll, it's not fixed.
- if 'Relocations stripped' not in GetHeaders('test_fixed_default_exe.exe'):
- test.fail_test()
- if 'Relocations stripped' in GetHeaders('test_fixed_default_dll.dll'):
- test.fail_test()
-
- # Explicitly not fixed.
- if 'Relocations stripped' in GetHeaders('test_fixed_no.exe'):
- test.fail_test()
-
- # Explicitly fixed.
- if 'Relocations stripped' not in GetHeaders('test_fixed_yes.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-force-symbol-reference.py b/deps/gyp/test/win/gyptest-link-force-symbol-reference.py
deleted file mode 100644
index 235e94f71b..0000000000
--- a/deps/gyp/test/win/gyptest-link-force-symbol-reference.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure ForceSymbolReference is translated properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('force-symbol-reference.gyp', chdir=CHDIR)
- test.build('force-symbol-reference.gyp', test.ALL, chdir=CHDIR)
-
- output = test.run_dumpbin(
- '/disasm', test.built_file_path('test_force_reference.exe', chdir=CHDIR))
- if '?x@@YAHXZ:' not in output or '?y@@YAHXZ:' not in output:
- test.fail_test()
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-generate-manifest.py b/deps/gyp/test/win/gyptest-link-generate-manifest.py
deleted file mode 100644
index 77c9228ee5..0000000000
--- a/deps/gyp/test/win/gyptest-link-generate-manifest.py
+++ /dev/null
@@ -1,127 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure we generate a manifest file when linking binaries, including
-handling AdditionalManifestFiles.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- import pywintypes
- import win32api
- import winerror
-
- RT_MANIFEST = 24
-
- class LoadLibrary(object):
- """Context manager for loading and releasing binaries in Windows.
- Yields the handle of the binary loaded."""
- def __init__(self, path):
- self._path = path
- self._handle = None
-
- def __enter__(self):
- self._handle = win32api.LoadLibrary(self._path)
- return self._handle
-
- def __exit__(self, type, value, traceback):
- win32api.FreeLibrary(self._handle)
-
- def extract_manifest(path, resource_name):
- """Reads manifest from |path| and returns it as a string.
- Returns None is there is no such manifest."""
- with LoadLibrary(path) as handle:
- try:
- return win32api.LoadResource(handle, RT_MANIFEST, resource_name)
- except pywintypes.error as error:
- if error.args[0] == winerror.ERROR_RESOURCE_DATA_NOT_FOUND:
- return None
- else:
- raise
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('generate-manifest.gyp', chdir=CHDIR)
- test.build('generate-manifest.gyp', test.ALL, chdir=CHDIR)
-
- # Make sure that generation of .generated.manifest does not cause a relink.
- test.run_gyp('generate-manifest.gyp', chdir=CHDIR)
- test.up_to_date('generate-manifest.gyp', test.ALL, chdir=CHDIR)
-
- def test_manifest(filename, generate_manifest, embedded_manifest,
- extra_manifest):
- exe_file = test.built_file_path(filename, chdir=CHDIR)
- if not generate_manifest:
- test.must_not_exist(exe_file + '.manifest')
- manifest = extract_manifest(exe_file, 1)
- test.fail_test(manifest)
- return
- if embedded_manifest:
- manifest = extract_manifest(exe_file, 1)
- test.fail_test(not manifest)
- else:
- test.must_exist(exe_file + '.manifest')
- manifest = test.read(exe_file + '.manifest')
- test.fail_test(not manifest)
- test.fail_test(extract_manifest(exe_file, 1))
- if generate_manifest:
- test.must_contain_any_line(manifest, 'requestedExecutionLevel')
- if extra_manifest:
- test.must_contain_any_line(manifest,
- '35138b9a-5d96-4fbd-8e2d-a2440225f93a')
- test.must_contain_any_line(manifest,
- 'e2011457-1546-43c5-a5fe-008deee3d3f0')
-
- test_manifest('test_generate_manifest_true.exe',
- generate_manifest=True,
- embedded_manifest=False,
- extra_manifest=False)
- test_manifest('test_generate_manifest_false.exe',
- generate_manifest=False,
- embedded_manifest=False,
- extra_manifest=False)
- test_manifest('test_generate_manifest_default.exe',
- generate_manifest=True,
- embedded_manifest=False,
- extra_manifest=False)
- test_manifest('test_generate_manifest_true_as_embedded.exe',
- generate_manifest=True,
- embedded_manifest=True,
- extra_manifest=False)
- test_manifest('test_generate_manifest_false_as_embedded.exe',
- generate_manifest=False,
- embedded_manifest=True,
- extra_manifest=False)
- test_manifest('test_generate_manifest_default_as_embedded.exe',
- generate_manifest=True,
- embedded_manifest=True,
- extra_manifest=False)
- test_manifest('test_generate_manifest_true_with_extra_manifest.exe',
- generate_manifest=True,
- embedded_manifest=False,
- extra_manifest=True)
- test_manifest('test_generate_manifest_false_with_extra_manifest.exe',
- generate_manifest=False,
- embedded_manifest=False,
- extra_manifest=True)
- test_manifest('test_generate_manifest_true_with_extra_manifest_list.exe',
- generate_manifest=True,
- embedded_manifest=False,
- extra_manifest=True)
- test_manifest('test_generate_manifest_false_with_extra_manifest_list.exe',
- generate_manifest=False,
- embedded_manifest=False,
- extra_manifest=True)
- test_manifest('test_generate_manifest_default_embed_default.exe',
- generate_manifest=True,
- embedded_manifest=True,
- extra_manifest=False)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-incremental.py b/deps/gyp/test/win/gyptest-link-incremental.py
deleted file mode 100644
index e7184e162c..0000000000
--- a/deps/gyp/test/win/gyptest-link-incremental.py
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure incremental linking setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('incremental.gyp', chdir=CHDIR)
- test.build('incremental.gyp', test.ALL, chdir=CHDIR)
-
- def HasILTTables(exe):
- full_path = test.built_file_path(exe, chdir=CHDIR)
- output = test.run_dumpbin('/disasm', full_path)
- return '@ILT+' in output
-
- # Default or unset is to be on.
- if not HasILTTables('test_incremental_unset.exe'):
- test.fail_test()
- if not HasILTTables('test_incremental_default.exe'):
- test.fail_test()
- if HasILTTables('test_incremental_no.exe'):
- test.fail_test()
- if not HasILTTables('test_incremental_yes.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-large-address-aware.py b/deps/gyp/test/win/gyptest-link-large-address-aware.py
deleted file mode 100644
index ea433f2099..0000000000
--- a/deps/gyp/test/win/gyptest-link-large-address-aware.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure largeaddressaware setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('large-address-aware.gyp', chdir=CHDIR)
- test.build('large-address-aware.gyp', test.ALL, chdir=CHDIR)
-
- def GetHeaders(exe):
- return test.run_dumpbin('/headers', test.built_file_path(exe, chdir=CHDIR))
-
- MARKER = 'Application can handle large (>2GB) addresses'
-
- # Explicitly off.
- if MARKER in GetHeaders('test_large_address_aware_no.exe'):
- test.fail_test()
-
- # Explicitly on.
- if MARKER not in GetHeaders('test_large_address_aware_yes.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-large-pdb.py b/deps/gyp/test/win/gyptest-link-large-pdb.py
deleted file mode 100644
index 4604745d14..0000000000
--- a/deps/gyp/test/win/gyptest-link-large-pdb.py
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure msvs_large_pdb works correctly.
-"""
-
-import TestGyp
-
-import struct
-import sys
-
-if sys.platform == 'win32':
- print "This test is currently disabled: https://crbug.com/483696."
- sys.exit(0)
-
-
-CHDIR = 'large-pdb'
-
-
-def CheckImageAndPdb(test, image_basename, expected_page_size,
- pdb_basename=None):
- if not pdb_basename:
- pdb_basename = image_basename + '.pdb'
- test.built_file_must_exist(image_basename, chdir=CHDIR)
- test.built_file_must_exist(pdb_basename, chdir=CHDIR)
-
- # We expect the PDB to have the given page size. For full details of the
- # header look here: https://code.google.com/p/pdbparser/wiki/MSF_Format
- # We read the little-endian 4-byte unsigned integer at position 32 of the
- # file.
- pdb_path = test.built_file_path(pdb_basename, chdir=CHDIR)
- pdb_file = open(pdb_path, 'rb')
- pdb_file.seek(32, 0)
- page_size = struct.unpack('<I', pdb_file.read(4))[0]
- if page_size != expected_page_size:
- print "Expected page size of %d, got %d for PDB file `%s'." % (
- expected_page_size, page_size, pdb_path)
-
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- test.run_gyp('large-pdb.gyp', chdir=CHDIR)
-
- test.build('large-pdb.gyp', 'large_pdb_exe', chdir=CHDIR)
- CheckImageAndPdb(test, 'large_pdb_exe.exe', 4096)
-
- test.build('large-pdb.gyp', 'small_pdb_exe', chdir=CHDIR)
- CheckImageAndPdb(test, 'small_pdb_exe.exe', 1024)
-
- test.build('large-pdb.gyp', 'large_pdb_dll', chdir=CHDIR)
- CheckImageAndPdb(test, 'large_pdb_dll.dll', 4096)
-
- test.build('large-pdb.gyp', 'small_pdb_dll', chdir=CHDIR)
- CheckImageAndPdb(test, 'small_pdb_dll.dll', 1024)
-
- test.build('large-pdb.gyp', 'large_pdb_implicit_exe', chdir=CHDIR)
- CheckImageAndPdb(test, 'large_pdb_implicit_exe.exe', 4096)
-
- # This target has a different PDB name because it uses an
- # 'msvs_large_pdb_path' variable.
- test.build('large-pdb.gyp', 'large_pdb_variable_exe', chdir=CHDIR)
- CheckImageAndPdb(test, 'large_pdb_variable_exe.exe', 4096,
- pdb_basename='foo.pdb')
-
- # This target has a different output name because it uses 'product_name'.
- test.build('large-pdb.gyp', 'large_pdb_product_exe', chdir=CHDIR)
- CheckImageAndPdb(test, 'bar.exe', 4096)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-library-adjust.py b/deps/gyp/test/win/gyptest-link-library-adjust.py
deleted file mode 100644
index 71d1c09360..0000000000
--- a/deps/gyp/test/win/gyptest-link-library-adjust.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure link_settings containing -lblah.lib is remapped to just blah.lib.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('library-adjust.gyp', chdir=CHDIR)
- test.build('library-adjust.gyp', test.ALL, chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-library-directories.py b/deps/gyp/test/win/gyptest-link-library-directories.py
deleted file mode 100644
index 8308e14fcb..0000000000
--- a/deps/gyp/test/win/gyptest-link-library-directories.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure libpath is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
-
- # Build subdirectory library.
- test.run_gyp('subdir/library.gyp', chdir=CHDIR)
- test.build('subdir/library.gyp', test.ALL, chdir=CHDIR)
-
- # And then try to link the main project against the library using only
- # LIBPATH to find it.
- test.run_gyp('library-directories.gyp', chdir=CHDIR)
-
- # Without additional paths specified, should fail.
- test.build('library-directories.gyp', 'test_libdirs_none', chdir=CHDIR,
- status=1)
-
- # With the additional library directory, should pass.
- test.build('library-directories.gyp', 'test_libdirs_with', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-ltcg.py b/deps/gyp/test/win/gyptest-link-ltcg.py
deleted file mode 100644
index 5271e099d7..0000000000
--- a/deps/gyp/test/win/gyptest-link-ltcg.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure LTCG is working properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('ltcg.gyp', chdir=CHDIR)
-
- # Here we expect LTCG is able to inline functions beyond compile unit.
- # Note: This marker is embedded in 'inline_test_main.cc'
- INLINE_MARKER = '==== inlined ===='
-
- # link.exe generates following lines when LTCG is enabled.
- # Note: Future link.exe may or may not generate them. Update as needed.
- LTCG_LINKER_MESSAGES = ['Generating code', 'Finished generating code']
-
- # test 'LinkTimeCodeGenerationOptionDefault'
- test.build('ltcg.gyp', 'test_ltcg_off', chdir=CHDIR)
- test.run_built_executable('test_ltcg_off', chdir=CHDIR)
- test.must_not_contain_any_line(test.stdout(), [INLINE_MARKER])
-
- # test 'LinkTimeCodeGenerationOptionUse'
- test.build('ltcg.gyp', 'test_ltcg_on', chdir=CHDIR)
- if test.format == 'ninja':
- # Make sure ninja win_tool.py filters out noisy lines.
- test.must_not_contain_any_line(test.stdout(), LTCG_LINKER_MESSAGES)
- elif test.format == 'msvs':
- test.must_contain_any_line(test.stdout(), LTCG_LINKER_MESSAGES)
- test.run_built_executable('test_ltcg_on', chdir=CHDIR)
- test.must_contain_any_line(test.stdout(), [INLINE_MARKER])
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-mapfile.py b/deps/gyp/test/win/gyptest-link-mapfile.py
deleted file mode 100644
index 00c1dea9e9..0000000000
--- a/deps/gyp/test/win/gyptest-link-mapfile.py
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure mapfile settings are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('mapfile.gyp', chdir=CHDIR)
- test.build('mapfile.gyp', test.ALL, chdir=CHDIR)
-
- map_file = test.built_file_path('test_mapfile_unset.map', chdir=CHDIR)
- test.must_not_exist(map_file)
-
- map_file = test.built_file_path('test_mapfile_generate.map', chdir=CHDIR)
- test.must_exist(map_file)
- test.must_contain(map_file, '?AnExportedFunction@@YAXXZ')
- test.must_not_contain(map_file, 'void __cdecl AnExportedFunction(void)')
-
- map_file = test.built_file_path('test_mapfile_generate_exports.map',
- chdir=CHDIR)
- test.must_exist(map_file)
- test.must_contain(map_file, 'void __cdecl AnExportedFunction(void)')
-
- map_file = test.built_file_path('test_mapfile_generate_filename.map',
- chdir=CHDIR)
- test.must_not_exist(map_file)
-
- map_file = test.built_file_path('custom_file_name.map', chdir=CHDIR)
- test.must_exist(map_file)
- test.must_contain(map_file, '?AnExportedFunction@@YAXXZ')
- test.must_not_contain(map_file, 'void __cdecl AnExportedFunction(void)')
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-nodefaultlib.py b/deps/gyp/test/win/gyptest-link-nodefaultlib.py
deleted file mode 100644
index f00760b882..0000000000
--- a/deps/gyp/test/win/gyptest-link-nodefaultlib.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure nodefaultlib setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('nodefaultlib.gyp', chdir=CHDIR)
-
- test.build('nodefaultlib.gyp', 'test_ok', chdir=CHDIR)
- test.build('nodefaultlib.gyp', 'test_fail', chdir=CHDIR, status=1)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-noimportlib.py b/deps/gyp/test/win/gyptest-link-noimportlib.py
deleted file mode 100644
index d12e0ad3ed..0000000000
--- a/deps/gyp/test/win/gyptest-link-noimportlib.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure that the (custom) NoImportLibrary flag is handled correctly.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
-
- CHDIR = 'importlib'
- test.run_gyp('noimplib.gyp', chdir=CHDIR)
- test.build('noimplib.gyp', test.ALL, chdir=CHDIR)
-
- # The target has an entry point, but no exports. Ordinarily, ninja expects
- # all DLLs to export some symbols (with the exception of /NOENTRY resource-
- # only DLLs). When the NoImportLibrary flag is set, this is suppressed. If
- # this is not working correctly, the expected .lib will never be generated
- # but will be expected, so the build will not be up to date.
- test.up_to_date('noimplib.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-nxcompat.py b/deps/gyp/test/win/gyptest-link-nxcompat.py
deleted file mode 100644
index 660074397c..0000000000
--- a/deps/gyp/test/win/gyptest-link-nxcompat.py
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure nxcompat setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('nxcompat.gyp', chdir=CHDIR)
- test.build('nxcompat.gyp', test.ALL, chdir=CHDIR)
-
- def GetHeaders(exe):
- return test.run_dumpbin('/headers', test.built_file_path(exe, chdir=CHDIR))
-
- # NXCOMPAT is on by default.
- if 'NX compatible' not in GetHeaders('test_nxcompat_default.exe'):
- test.fail_test()
-
- # Explicitly off, should not be marked NX compatiable.
- if 'NX compatible' in GetHeaders('test_nxcompat_no.exe'):
- test.fail_test()
-
- # Explicitly on.
- if 'NX compatible' not in GetHeaders('test_nxcompat_yes.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-opt-icf.py b/deps/gyp/test/win/gyptest-link-opt-icf.py
deleted file mode 100644
index 3c48ef6eb9..0000000000
--- a/deps/gyp/test/win/gyptest-link-opt-icf.py
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure comdat folding optimization setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('opt-icf.gyp', chdir=CHDIR)
- test.build('opt-icf.gyp', chdir=CHDIR)
-
- # We're specifying /DEBUG so the default is to not merge identical
- # functions, so all of the similar_functions should be preserved.
- output = test.run_dumpbin(
- '/disasm', test.built_file_path('test_opticf_default.exe', chdir=CHDIR))
- if output.count('similar_function') != 6: # 3 definitions, 3 calls.
- test.fail_test()
-
- # Explicitly off, all functions preserved seperately.
- output = test.run_dumpbin(
- '/disasm', test.built_file_path('test_opticf_no.exe', chdir=CHDIR))
- if output.count('similar_function') != 6: # 3 definitions, 3 calls.
- test.fail_test()
-
- # Explicitly on, all but one removed.
- output = test.run_dumpbin(
- '/disasm', test.built_file_path('test_opticf_yes.exe', chdir=CHDIR))
- if output.count('similar_function') != 4: # 1 definition, 3 calls.
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-opt-ref.py b/deps/gyp/test/win/gyptest-link-opt-ref.py
deleted file mode 100644
index 586b7afcd4..0000000000
--- a/deps/gyp/test/win/gyptest-link-opt-ref.py
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure reference optimization setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('opt-ref.gyp', chdir=CHDIR)
- test.build('opt-ref.gyp', chdir=CHDIR)
-
- # We're specifying /DEBUG so the default is to not remove unused functions.
- output = test.run_dumpbin(
- '/disasm', test.built_file_path('test_optref_default.exe', chdir=CHDIR))
- if 'unused_function' not in output:
- test.fail_test()
-
- # Explicitly off, unused_function preserved.
- output = test.run_dumpbin(
- '/disasm', test.built_file_path('test_optref_no.exe', chdir=CHDIR))
- if 'unused_function' not in output:
- test.fail_test()
-
- # Explicitly on, should be removed.
- output = test.run_dumpbin(
- '/disasm', test.built_file_path('test_optref_yes.exe', chdir=CHDIR))
- if 'unused_function' in output:
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-ordering.py b/deps/gyp/test/win/gyptest-link-ordering.py
deleted file mode 100644
index a2527fa3b4..0000000000
--- a/deps/gyp/test/win/gyptest-link-ordering.py
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure the link order of object files is the same between msvs and ninja.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('link-ordering.gyp', chdir=CHDIR)
- test.build('link-ordering.gyp', test.ALL, chdir=CHDIR)
-
- def GetDisasm(exe):
- full_path = test.built_file_path(exe, chdir=CHDIR)
- # Get disassembly and drop int3 padding between functions.
- return '\n'.join(
- x for x in test.run_dumpbin('/disasm', full_path).splitlines()
- if 'CC' not in x)
-
- # This is the full dump that we expect. The source files in the .gyp match
- # this order which is what determines the ordering in the binary.
-
- expected_disasm_basic = '''
-_mainCRTStartup:
- 00401000: B8 05 00 00 00 mov eax,5
- 00401005: C3 ret
-?z@@YAHXZ:
- 00401010: B8 03 00 00 00 mov eax,3
- 00401015: C3 ret
-?x@@YAHXZ:
- 00401020: B8 01 00 00 00 mov eax,1
- 00401025: C3 ret
-?y@@YAHXZ:
- 00401030: B8 02 00 00 00 mov eax,2
- 00401035: C3 ret
-_main:
- 00401040: 33 C0 xor eax,eax
- 00401042: C3 ret
-'''
-
- if expected_disasm_basic not in GetDisasm('test_ordering_exe.exe'):
- print GetDisasm('test_ordering_exe.exe')
- test.fail_test()
-
- # Similar to above. The VS generator handles subdirectories differently.
-
- expected_disasm_subdirs = '''
-_mainCRTStartup:
- 00401000: B8 05 00 00 00 mov eax,5
- 00401005: C3 ret
-_main:
- 00401010: 33 C0 xor eax,eax
- 00401012: C3 ret
-?y@@YAHXZ:
- 00401020: B8 02 00 00 00 mov eax,2
- 00401025: C3 ret
-?z@@YAHXZ:
- 00401030: B8 03 00 00 00 mov eax,3
- 00401035: C3 ret
-'''
-
- if expected_disasm_subdirs not in GetDisasm('test_ordering_subdirs.exe'):
- print GetDisasm('test_ordering_subdirs.exe')
- test.fail_test()
-
- # Similar, but with directories mixed into folders (crt and main at the same
- # level, but with a subdir in the middle).
-
- expected_disasm_subdirs_mixed = '''
-_mainCRTStartup:
- 00401000: B8 05 00 00 00 mov eax,5
- 00401005: C3 ret
-?x@@YAHXZ:
- 00401010: B8 01 00 00 00 mov eax,1
- 00401015: C3 ret
-_main:
- 00401020: 33 C0 xor eax,eax
- 00401022: C3 ret
-?z@@YAHXZ:
- 00401030: B8 03 00 00 00 mov eax,3
- 00401035: C3 ret
-?y@@YAHXZ:
- 00401040: B8 02 00 00 00 mov eax,2
- 00401045: C3 ret
-'''
-
- if (expected_disasm_subdirs_mixed not in
- GetDisasm('test_ordering_subdirs_mixed.exe')):
- print GetDisasm('test_ordering_subdirs_mixed.exe')
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-outputfile.py b/deps/gyp/test/win/gyptest-link-outputfile.py
deleted file mode 100644
index b98cdff0f0..0000000000
--- a/deps/gyp/test/win/gyptest-link-outputfile.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure linker OutputFile setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('outputfile.gyp', chdir=CHDIR)
- test.build('outputfile.gyp', test.ALL, chdir=CHDIR)
-
- test.built_file_must_exist('blorp.exe', chdir=CHDIR)
- test.built_file_must_exist('blorp.dll', chdir=CHDIR)
- test.built_file_must_exist('subdir/blorp.exe', chdir=CHDIR)
- test.built_file_must_exist('blorp.lib', chdir=CHDIR)
- test.built_file_must_exist('subdir/blorp.lib', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-pdb-no-output.py b/deps/gyp/test/win/gyptest-link-pdb-no-output.py
deleted file mode 100644
index 6da0aeae98..0000000000
--- a/deps/gyp/test/win/gyptest-link-pdb-no-output.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Ensure that when debug information is not output, a pdb is not expected.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp()
- CHDIR = 'linker-flags'
- test.run_gyp('pdb-output.gyp', chdir=CHDIR)
- test.build('pdb-output.gyp', 'test_pdb_output_disabled', chdir=CHDIR)
- # Make sure that the build doesn't expect a PDB to be generated when there
- # will be none.
- test.up_to_date('pdb-output.gyp', 'test_pdb_output_disabled', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-pdb-output.py b/deps/gyp/test/win/gyptest-link-pdb-output.py
deleted file mode 100644
index 27245f7ec8..0000000000
--- a/deps/gyp/test/win/gyptest-link-pdb-output.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Ensure that ninja includes the .pdb as an output file from linking.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
- CHDIR = 'linker-flags'
- test.run_gyp('pdb-output.gyp', chdir=CHDIR)
- # Note, building the pdbs rather than ALL or gyp target.
- test.build('pdb-output.gyp', 'output_exe.pdb', chdir=CHDIR)
- test.build('pdb-output.gyp', 'output_dll.pdb', chdir=CHDIR)
-
- def FindFile(pdb):
- full_path = test.built_file_path(pdb, chdir=CHDIR)
- return os.path.isfile(full_path)
-
- if not FindFile('output_exe.pdb'):
- test.fail_test()
- if not FindFile('output_dll.pdb'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-pdb.py b/deps/gyp/test/win/gyptest-link-pdb.py
deleted file mode 100644
index 26d744d0b7..0000000000
--- a/deps/gyp/test/win/gyptest-link-pdb.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Verifies that the 'ProgramDatabaseFile' attribute in VCLinker is extracted
-properly.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
- CHDIR = 'linker-flags'
- test.run_gyp('program-database.gyp', chdir=CHDIR)
- test.build('program-database.gyp', test.ALL, chdir=CHDIR)
-
- def FindFile(pdb):
- full_path = test.built_file_path(pdb, chdir=CHDIR)
- return os.path.isfile(full_path)
-
- # Verify the specified PDB is created when ProgramDatabaseFile
- # is provided.
- if not FindFile('name_outdir.pdb'):
- test.fail_test()
- if not FindFile('name_proddir.pdb'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-pgo.py b/deps/gyp/test/win/gyptest-link-pgo.py
deleted file mode 100644
index d742047ac3..0000000000
--- a/deps/gyp/test/win/gyptest-link-pgo.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure PGO is working properly.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('pgo.gyp', chdir=CHDIR)
-
- def IsPGOAvailable():
- """Returns true if the Visual Studio available here supports PGO."""
- test.build('pgo.gyp', 'gen_linker_option', chdir=CHDIR)
- tmpfile = test.read(test.built_file_path('linker_options.txt', chdir=CHDIR))
- return any(line.find('PGOPTIMIZE') for line in tmpfile)
-
- # Test generated build files look fine.
- if test.format == 'ninja':
- ninja = test.built_file_path('obj/test_pgo_instrument.ninja', chdir=CHDIR)
- test.must_contain(ninja, '/LTCG:PGINSTRUMENT')
- test.must_contain(ninja, 'test_pgo.pgd')
- ninja = test.built_file_path('obj/test_pgo_optimize.ninja', chdir=CHDIR)
- test.must_contain(ninja, '/LTCG:PGOPTIMIZE')
- test.must_contain(ninja, 'test_pgo.pgd')
- ninja = test.built_file_path('obj/test_pgo_update.ninja', chdir=CHDIR)
- test.must_contain(ninja, '/LTCG:PGUPDATE')
- test.must_contain(ninja, 'test_pgo.pgd')
- elif test.format == 'msvs':
- LTCG_FORMAT = '<LinkTimeCodeGeneration>%s</LinkTimeCodeGeneration>'
- vcproj = test.workpath('linker-flags/test_pgo_instrument.vcxproj')
- test.must_contain(vcproj, LTCG_FORMAT % 'PGInstrument')
- test.must_contain(vcproj, 'test_pgo.pgd')
- vcproj = test.workpath('linker-flags/test_pgo_optimize.vcxproj')
- test.must_contain(vcproj, LTCG_FORMAT % 'PGOptimization')
- test.must_contain(vcproj, 'test_pgo.pgd')
- vcproj = test.workpath('linker-flags/test_pgo_update.vcxproj')
- test.must_contain(vcproj, LTCG_FORMAT % 'PGUpdate')
- test.must_contain(vcproj, 'test_pgo.pgd')
-
- # When PGO is available, try building binaries with PGO.
- if IsPGOAvailable():
- pgd_path = test.built_file_path('test_pgo.pgd', chdir=CHDIR)
-
- # Test if 'PGInstrument' generates PGD (Profile-Guided Database) file.
- if os.path.exists(pgd_path):
- test.unlink(pgd_path)
- test.must_not_exist(pgd_path)
- test.build('pgo.gyp', 'test_pgo_instrument', chdir=CHDIR)
- test.must_exist(pgd_path)
-
- # Test if 'PGOptimize' works well
- test.build('pgo.gyp', 'test_pgo_optimize', chdir=CHDIR)
- test.must_contain_any_line(test.stdout(), ['profiled functions'])
-
- # Test if 'PGUpdate' works well
- test.build('pgo.gyp', 'test_pgo_update', chdir=CHDIR)
- # With 'PGUpdate', linker should not complain that sources are changed after
- # the previous training run.
- test.touch(test.workpath('linker-flags/inline_test_main.cc'))
- test.unlink(test.built_file_path('test_pgo_update.exe', chdir=CHDIR))
- test.build('pgo.gyp', 'test_pgo_update', chdir=CHDIR)
- test.must_contain_any_line(test.stdout(), ['profiled functions'])
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-profile.py b/deps/gyp/test/win/gyptest-link-profile.py
deleted file mode 100644
index 4dbc9ae4ce..0000000000
--- a/deps/gyp/test/win/gyptest-link-profile.py
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Verifies that the 'Profile' attribute in VCLinker is extracted properly.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
- CHDIR = 'linker-flags'
- test.run_gyp('profile.gyp', chdir=CHDIR)
- test.build('profile.gyp', test.ALL, chdir=CHDIR)
-
- def GetSummary(exe):
- full_path = test.built_file_path(exe, chdir=CHDIR)
- return test.run_dumpbin(full_path)
-
- # '.idata' section will be missing when /PROFILE is enabled.
- if '.idata' in GetSummary('test_profile_true.exe'):
- test.fail_test()
-
- if not '.idata' in GetSummary('test_profile_false.exe'):
- test.fail_test()
-
- if not '.idata' in GetSummary('test_profile_default.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-restat-importlib.py b/deps/gyp/test/win/gyptest-link-restat-importlib.py
deleted file mode 100644
index 76b5c3cdb9..0000000000
--- a/deps/gyp/test/win/gyptest-link-restat-importlib.py
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure we don't cause unnecessary builds due to import libs appearing
-to be out of date.
-"""
-
-import TestGyp
-
-import os
-import sys
-import time
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- if not os.environ.get('ProgramFiles(x86)'):
- # TODO(scottmg)
- print 'Skipping test on x86, http://crbug.com/365833'
- test.pass_test()
-
- CHDIR = 'importlib'
- test.run_gyp('importlib.gyp', chdir=CHDIR)
- test.build('importlib.gyp', test.ALL, chdir=CHDIR)
-
- # Delay briefly so that there's time for this touch not to have the
- # timestamp as the previous run.
- test.sleep()
-
- # Touch the .cc file; the .dll will rebuild, but the import libs timestamp
- # won't be updated.
- test.touch('importlib/has-exports.cc')
- test.build('importlib.gyp', 'test_importlib', chdir=CHDIR)
-
- # This is the important part. The .dll above will relink and have an updated
- # timestamp, however the import .libs timestamp won't be updated. So, we
- # have to handle restating inputs in ninja so the final binary doesn't
- # continually relink (due to thinking the .lib isn't up to date).
- test.up_to_date('importlib.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-safeseh.py b/deps/gyp/test/win/gyptest-link-safeseh.py
deleted file mode 100644
index 31a25673f4..0000000000
--- a/deps/gyp/test/win/gyptest-link-safeseh.py
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure safeseh setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp()
-
- CHDIR = 'linker-flags'
- test.run_gyp('safeseh.gyp', chdir=CHDIR)
- test.build('safeseh.gyp', test.ALL, chdir=CHDIR)
-
- def HasSafeExceptionHandlers(exe):
- full_path = test.built_file_path(exe, chdir=CHDIR)
- output = test.run_dumpbin('/LOADCONFIG', full_path)
- return ' Safe Exception Handler Table' in output
-
- # From MSDN: http://msdn.microsoft.com/en-us/library/9a89h429.aspx
- # If /SAFESEH is not specified, the linker will produce an image with a
- # table of safe exceptions handlers if all modules are compatible with
- # the safe exception handling feature. If any modules were not
- # compatible with safe exception handling feature, the resulting image
- # will not contain a table of safe exception handlers.
- # However, the msvs IDE passes /SAFESEH to the linker by default, if
- # ImageHasSafeExceptionHandlers is not set to false in the vcxproj file.
- # We emulate this behavior in msvs_emulation.py, so 'test_safeseh_default'
- # and 'test_safeseh_yes' are built identically.
- if not HasSafeExceptionHandlers('test_safeseh_default.exe'):
- test.fail_test()
- if HasSafeExceptionHandlers('test_safeseh_no.exe'):
- test.fail_test()
- if not HasSafeExceptionHandlers('test_safeseh_yes.exe'):
- test.fail_test()
- if HasSafeExceptionHandlers('test_safeseh_x64.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-shard.py b/deps/gyp/test/win/gyptest-link-shard.py
deleted file mode 100644
index 9af93284a7..0000000000
--- a/deps/gyp/test/win/gyptest-link-shard.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure msvs_shard works correctly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'shard'
- test.run_gyp('shard.gyp', chdir=CHDIR)
- test.build('shard.gyp', test.ALL, chdir=CHDIR)
-
- test.built_file_must_exist('shard_0.lib', chdir=CHDIR)
- test.built_file_must_exist('shard_1.lib', chdir=CHDIR)
- test.built_file_must_exist('shard_2.lib', chdir=CHDIR)
- test.built_file_must_exist('shard_3.lib', chdir=CHDIR)
-
- test.run_gyp('shard_ref.gyp', chdir=CHDIR)
- test.build('shard_ref.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-stacksize.py b/deps/gyp/test/win/gyptest-link-stacksize.py
deleted file mode 100644
index 2e952d2c73..0000000000
--- a/deps/gyp/test/win/gyptest-link-stacksize.py
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure StackReserveSize and StackCommitSize settings are extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('stacksize.gyp', chdir=CHDIR)
- test.build('stacksize.gyp', test.ALL, chdir=CHDIR)
-
- def GetHeaders(exe):
- return test.run_dumpbin('/headers', test.built_file_path(exe, chdir=CHDIR))
-
- # Verify default sizes as reported by dumpbin:
- # 100000h = 1MB
- # 1000h = 4KB
- default_headers = GetHeaders('test_default.exe')
- if '100000 size of stack reserve' not in default_headers:
- test.fail_test()
- if '1000 size of stack commit' not in default_headers:
- test.fail_test()
-
- # Verify that reserved size is changed, but commit size is unchanged:
- # 200000h = 2MB
- # 1000h = 4KB
- set_reserved_size_headers = GetHeaders('test_set_reserved_size.exe')
- if '200000 size of stack reserve' not in set_reserved_size_headers:
- test.fail_test()
- if '1000 size of stack commit' not in set_reserved_size_headers:
- test.fail_test()
-
- # Verify that setting the commit size, without the reserve size, has no
- # effect:
- # 100000h = 1MB
- # 1000h = 4KB
- set_commit_size_headers = GetHeaders('test_set_commit_size.exe')
- if '100000 size of stack reserve' not in set_commit_size_headers:
- test.fail_test()
- if '1000 size of stack commit' not in set_commit_size_headers:
- test.fail_test()
-
- # Verify that setting both works:
- # 200000h = 2MB
- # 2000h = 8KB
- set_both_headers = GetHeaders('test_set_both.exe')
- if '200000 size of stack reserve' not in set_both_headers:
- test.fail_test()
- if '2000 size of stack commit' not in set_both_headers:
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-subsystem.py b/deps/gyp/test/win/gyptest-link-subsystem.py
deleted file mode 100644
index a94ba36856..0000000000
--- a/deps/gyp/test/win/gyptest-link-subsystem.py
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure subsystem setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('subsystem.gyp', chdir=CHDIR)
-
- test.build('subsystem.gyp', 'test_console_ok', chdir=CHDIR)
- test.build('subsystem.gyp', 'test_console_fail', chdir=CHDIR, status=1)
- test.build('subsystem.gyp', 'test_windows_ok', chdir=CHDIR)
- test.build('subsystem.gyp', 'test_windows_fail', chdir=CHDIR, status=1)
-
- test.build('subsystem.gyp', 'test_console_xp', chdir=CHDIR)
- test.build('subsystem.gyp', 'test_windows_xp', chdir=CHDIR)
- # Make sure we are targeting XP.
- def GetHeaders(exe):
- return test.run_dumpbin('/headers', test.built_file_path(exe, chdir=CHDIR))
- if '5.01 subsystem version' not in GetHeaders('test_console_xp.exe'):
- test.fail_test()
- if '5.01 subsystem version' not in GetHeaders('test_windows_xp.exe'):
- test.fail_test()
-
- # TODO(scottmg): There are other subsystems (WinCE, etc.) that we don't use.
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-target-machine.py b/deps/gyp/test/win/gyptest-link-target-machine.py
deleted file mode 100644
index 5a15f3f4dc..0000000000
--- a/deps/gyp/test/win/gyptest-link-target-machine.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure TargetMachine setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('target-machine.gyp', chdir=CHDIR)
- # The .cc file is compiled as x86 (the default), so the link/libs that are
- # x64 need to fail.
- test.build('target-machine.gyp', 'test_target_link_x86', chdir=CHDIR)
- test.build(
- 'target-machine.gyp', 'test_target_link_x64', chdir=CHDIR, status=1)
- test.build('target-machine.gyp', 'test_target_lib_x86', chdir=CHDIR)
- test.build('target-machine.gyp', 'test_target_lib_x64', chdir=CHDIR, status=1)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-tsaware.py b/deps/gyp/test/win/gyptest-link-tsaware.py
deleted file mode 100644
index d34b3c24a5..0000000000
--- a/deps/gyp/test/win/gyptest-link-tsaware.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure tsaware setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('tsaware.gyp', chdir=CHDIR)
- test.build('tsaware.gyp', test.ALL, chdir=CHDIR)
-
- def GetHeaders(exe):
- return test.run_dumpbin('/headers', test.built_file_path(exe, chdir=CHDIR))
-
- # Explicitly off, should not be marked NX compatiable.
- if 'Terminal Server Aware' in GetHeaders('test_tsaware_no.exe'):
- test.fail_test()
-
- # Explicitly on.
- if 'Terminal Server Aware' not in GetHeaders('test_tsaware_yes.exe'):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-uldi-depending-on-module.py b/deps/gyp/test/win/gyptest-link-uldi-depending-on-module.py
deleted file mode 100644
index 75c9503dc4..0000000000
--- a/deps/gyp/test/win/gyptest-link-uldi-depending-on-module.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure that when ULDI is on, we link cause downstream modules to get built
-when we depend on the component objs.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'uldi'
- test.run_gyp('uldi-depending-on-module.gyp', chdir=CHDIR)
- test.build('uldi-depending-on-module.gyp', 'an_exe', chdir=CHDIR)
- test.built_file_must_exist('a_module.dll', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-uldi.py b/deps/gyp/test/win/gyptest-link-uldi.py
deleted file mode 100644
index 62c5892c50..0000000000
--- a/deps/gyp/test/win/gyptest-link-uldi.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure that when ULDI is on, we link .objs that make up .libs rather than
-the .libs themselves.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'uldi'
- test.run_gyp('uldi.gyp', chdir=CHDIR)
- # When linking with ULDI, the duplicated function from the lib will be an
- # error.
- test.build('uldi.gyp', 'final_uldi', chdir=CHDIR, status=1)
- # And when in libs, the duplicated function will be silently dropped, so the
- # build succeeds.
- test.build('uldi.gyp', 'final_no_uldi', chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-unsupported-manifest.py b/deps/gyp/test/win/gyptest-link-unsupported-manifest.py
deleted file mode 100644
index 8f7e12bc8c..0000000000
--- a/deps/gyp/test/win/gyptest-link-unsupported-manifest.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure we error out if #pragma comments are used to modify manifests.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- # This assertion only applies to the ninja build.
- test = TestGyp.TestGyp(formats=['ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('unsupported-manifest.gyp', chdir=CHDIR)
-
- # Just needs to fail to build.
- test.build('unsupported-manifest.gyp',
- 'test_unsupported', chdir=CHDIR, status=1)
- test.must_not_exist(test.built_file_path('test_unsupported.exe', chdir=CHDIR))
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-link-update-manifest.py b/deps/gyp/test/win/gyptest-link-update-manifest.py
deleted file mode 100644
index 4f8b2b9112..0000000000
--- a/deps/gyp/test/win/gyptest-link-update-manifest.py
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure binary is relinked when manifest settings are changed.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-if sys.platform == 'win32':
- import pywintypes
- import win32api
- import winerror
-
- RT_MANIFEST = 24
-
- class LoadLibrary(object):
- """Context manager for loading and releasing binaries in Windows.
- Yields the handle of the binary loaded."""
- def __init__(self, path):
- self._path = path
- self._handle = None
-
- def __enter__(self):
- self._handle = win32api.LoadLibrary(self._path)
- return self._handle
-
- def __exit__(self, type, value, traceback):
- win32api.FreeLibrary(self._handle)
-
- def extract_manifest(path, resource_name):
- """Reads manifest from |path| and returns it as a string.
- Returns None is there is no such manifest."""
- with LoadLibrary(path) as handle:
- try:
- return win32api.LoadResource(handle, RT_MANIFEST, resource_name)
- except pywintypes.error as error:
- if error.args[0] == winerror.ERROR_RESOURCE_DATA_NOT_FOUND:
- return None
- else:
- raise
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
-
- gyp_template = '''
-{
- 'targets': [
- {
- 'target_name': 'test_update_manifest',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'UACExecutionLevel': '%(uac_execution_level)d',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- 'AdditionalManifestFiles': '%(additional_manifest_files)s',
- },
- },
- },
- ],
-}
-'''
-
- gypfile = 'update-manifest.gyp'
-
- def WriteAndUpdate(uac_execution_level, additional_manifest_files, do_build):
- with open(os.path.join(CHDIR, gypfile), 'wb') as f:
- f.write(gyp_template % {
- 'uac_execution_level': uac_execution_level,
- 'additional_manifest_files': additional_manifest_files,
- })
- test.run_gyp(gypfile, chdir=CHDIR)
- if do_build:
- test.build(gypfile, chdir=CHDIR)
- exe_file = test.built_file_path('test_update_manifest.exe', chdir=CHDIR)
- return extract_manifest(exe_file, 1)
-
- manifest = WriteAndUpdate(0, '', True)
- test.fail_test('asInvoker' not in manifest)
- test.fail_test('35138b9a-5d96-4fbd-8e2d-a2440225f93a' in manifest)
-
- # Make sure that updating .gyp and regenerating doesn't cause a rebuild.
- WriteAndUpdate(0, '', False)
- test.up_to_date(gypfile, test.ALL, chdir=CHDIR)
-
- # But make sure that changing a manifest property does cause a relink.
- manifest = WriteAndUpdate(2, '', True)
- test.fail_test('requireAdministrator' not in manifest)
-
- # Adding a manifest causes a rebuild.
- manifest = WriteAndUpdate(2, 'extra.manifest', True)
- test.fail_test('35138b9a-5d96-4fbd-8e2d-a2440225f93a' not in manifest)
diff --git a/deps/gyp/test/win/gyptest-link-warnings-as-errors.py b/deps/gyp/test/win/gyptest-link-warnings-as-errors.py
deleted file mode 100644
index d6a64736fb..0000000000
--- a/deps/gyp/test/win/gyptest-link-warnings-as-errors.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure linker warnings-as-errors setting is extracted properly.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'linker-flags'
- test.run_gyp('warn-as-error.gyp', chdir=CHDIR)
-
- test.build('warn-as-error.gyp', 'test_on', chdir=CHDIR, status=1)
- test.build('warn-as-error.gyp', 'test_off', chdir=CHDIR)
- test.build('warn-as-error.gyp', 'test_default', chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-long-command-line.py b/deps/gyp/test/win/gyptest-long-command-line.py
deleted file mode 100644
index 8f8b7a3bbd..0000000000
--- a/deps/gyp/test/win/gyptest-long-command-line.py
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure long command lines work.
-"""
-
-import TestGyp
-
-import subprocess
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja', 'msvs'])
-
- CHDIR = 'long-command-line'
- test.run_gyp('long-command-line.gyp', chdir=CHDIR)
- test.build('long-command-line.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-macro-projectname.py b/deps/gyp/test/win/gyptest-macro-projectname.py
deleted file mode 100644
index e411cc04a4..0000000000
--- a/deps/gyp/test/win/gyptest-macro-projectname.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure macro expansion of $(ProjectName) is handled.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'vs-macros'
- test.run_gyp('projectname.gyp', chdir=CHDIR)
- test.build('projectname.gyp', test.ALL, chdir=CHDIR)
- test.built_file_must_exist('test_expansions_plus_something.exe', chdir=CHDIR)
- test.built_file_must_exist(
- 'test_with_product_name_plus_something.exe', chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-macro-targetext.py b/deps/gyp/test/win/gyptest-macro-targetext.py
deleted file mode 100644
index 450710d631..0000000000
--- a/deps/gyp/test/win/gyptest-macro-targetext.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure macro expansion of $(TargetExt) is handled.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'vs-macros'
- test.run_gyp('targetext.gyp', chdir=CHDIR)
- test.build('targetext.gyp', test.ALL, chdir=CHDIR)
- test.built_file_must_exist('executable.exe', chdir=CHDIR)
- test.built_file_must_exist('loadable_module.dll', chdir=CHDIR)
- test.built_file_must_exist('shared_library.dll', chdir=CHDIR)
- test.built_file_must_exist('static_library.lib', chdir=CHDIR)
- test.built_file_must_exist('product_extension.library', chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-macro-targetfilename.py b/deps/gyp/test/win/gyptest-macro-targetfilename.py
deleted file mode 100644
index be4b637e9c..0000000000
--- a/deps/gyp/test/win/gyptest-macro-targetfilename.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure macro expansion of $(TargetFileName) is handled.
-"""
-
-import TestGyp
-
-import os
-import sys
-
-if sys.platform == 'win32':
- print "This test is currently disabled: https://crbug.com/483696."
- sys.exit(0)
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
- if not (test.format == 'msvs' and
- int(os.environ.get('GYP_MSVS_VERSION', 0)) == 2013):
- CHDIR = 'vs-macros'
- test.run_gyp('targetfilename.gyp', chdir=CHDIR)
- test.build('targetfilename.gyp', test.ALL, chdir=CHDIR)
- test.built_file_must_exist('test_targetfilename_executable.exe', chdir=CHDIR)
- test.built_file_must_exist('test_targetfilename_loadable_module.dll',
- chdir=CHDIR)
- test.built_file_must_exist('test_targetfilename_shared_library.dll',
- chdir=CHDIR)
- test.built_file_must_exist('test_targetfilename_static_library.lib',
- chdir=CHDIR)
- test.built_file_must_exist('test_targetfilename_product_extension.foo',
- chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-macro-targetname.py b/deps/gyp/test/win/gyptest-macro-targetname.py
deleted file mode 100644
index b1118019a3..0000000000
--- a/deps/gyp/test/win/gyptest-macro-targetname.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure macro expansion of $(TargetName) and $(TargetDir) are handled.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'vs-macros'
- test.run_gyp('targetname.gyp', chdir=CHDIR)
- test.build('targetname.gyp', test.ALL, chdir=CHDIR)
- test.built_file_must_exist('test_targetname_plus_something1.exe',
- chdir=CHDIR)
- test.built_file_must_exist(
- 'prod_prefixtest_targetname_with_prefix_plus_something2.exe',
- chdir=CHDIR)
- test.built_file_must_exist('prod_name_plus_something3.exe', chdir=CHDIR)
- test.built_file_must_exist('prod_prefixprod_name_plus_something4.exe',
- chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-macro-targetpath.py b/deps/gyp/test/win/gyptest-macro-targetpath.py
deleted file mode 100644
index fe7eac1834..0000000000
--- a/deps/gyp/test/win/gyptest-macro-targetpath.py
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure macro expansion of $(TargetPath) is handled.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'vs-macros'
- test.run_gyp('targetpath.gyp', chdir=CHDIR)
- test.build('targetpath.gyp', test.ALL, chdir=CHDIR)
- test.built_file_must_exist('test_targetpath_executable.exe', chdir=CHDIR)
- test.built_file_must_exist('test_targetpath_loadable_module.dll',
- chdir=CHDIR)
- test.built_file_must_exist('test_targetpath_shared_library.dll',
- chdir=CHDIR)
- test.built_file_must_exist('test_targetpath_static_library.lib',
- chdir=CHDIR)
- test.built_file_must_exist('test_targetpath_product_extension.foo',
- chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-macro-vcinstalldir.py b/deps/gyp/test/win/gyptest-macro-vcinstalldir.py
deleted file mode 100644
index 37396e161a..0000000000
--- a/deps/gyp/test/win/gyptest-macro-vcinstalldir.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure macro expansion of $(VCInstallDir) is handled, and specifically
-always / terminated for compatibility.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'vs-macros'
- test.run_gyp('vcinstalldir.gyp', chdir=CHDIR)
- # This fails on VS because the trailing slash escapes the trailing quote.
- test.build('vcinstalldir.gyp', 'test_slash_trailing', chdir=CHDIR, status=1)
- test.build('vcinstalldir.gyp', 'test_slash_dir', chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-macros-containing-gyp.py b/deps/gyp/test/win/gyptest-macros-containing-gyp.py
deleted file mode 100644
index f6eaf63dbb..0000000000
--- a/deps/gyp/test/win/gyptest-macros-containing-gyp.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Handle VS macro expansion containing gyp variables.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'vs-macros'
- test.run_gyp('containing-gyp.gyp', chdir=CHDIR)
- test.build('containing-gyp.gyp', test.ALL, chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-macros-in-inputs-and-outputs.py b/deps/gyp/test/win/gyptest-macros-in-inputs-and-outputs.py
deleted file mode 100644
index 3d6fa74e43..0000000000
--- a/deps/gyp/test/win/gyptest-macros-in-inputs-and-outputs.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Handle macro expansion in inputs and outputs of rules.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'vs-macros'
- test.run_gyp('input-output-macros.gyp', chdir=CHDIR)
-
- test.build('input-output-macros.gyp', 'test_expansions', chdir=CHDIR)
-
- test.built_file_must_exist('stuff.blah.something',
- content='Random data file.\nModified.',
- chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-midl-excluded.py b/deps/gyp/test/win/gyptest-midl-excluded.py
deleted file mode 100644
index 70059ab64b..0000000000
--- a/deps/gyp/test/win/gyptest-midl-excluded.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Test that .idl files in actions and non-native rules are excluded.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'idl-excluded'
- test.run_gyp('idl-excluded.gyp', chdir=CHDIR)
- test.build('idl-excluded.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-midl-includedirs.py b/deps/gyp/test/win/gyptest-midl-includedirs.py
deleted file mode 100644
index 05f6370409..0000000000
--- a/deps/gyp/test/win/gyptest-midl-includedirs.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Verify that 'midl_include_dirs' is handled.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'idl-includedirs'
- test.run_gyp('idl-includedirs.gyp', chdir=CHDIR)
- test.build('idl-includedirs.gyp', test.ALL, chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-midl-rules.py b/deps/gyp/test/win/gyptest-midl-rules.py
deleted file mode 100644
index 591a507320..0000000000
--- a/deps/gyp/test/win/gyptest-midl-rules.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Handle default .idl build rules.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'idl-rules'
- test.run_gyp('basic-idl.gyp', chdir=CHDIR)
- for platform in ['Win32', 'x64']:
- test.set_configuration('Debug|%s' % platform)
- test.build('basic-idl.gyp', test.ALL, chdir=CHDIR)
-
- # Make sure ninja win_tool.py filters out noisy lines.
- if test.format == 'ninja' and 'Processing' in test.stdout():
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-ml-safeseh.py b/deps/gyp/test/win/gyptest-ml-safeseh.py
deleted file mode 100644
index ec702b9df2..0000000000
--- a/deps/gyp/test/win/gyptest-ml-safeseh.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure the /safeseh option can be passed to ml.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
-
- CHDIR = 'ml-safeseh'
- test.run_gyp('ml-safeseh.gyp', chdir=CHDIR)
- test.build('ml-safeseh.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-quoting-commands.py b/deps/gyp/test/win/gyptest-quoting-commands.py
deleted file mode 100644
index b40f99f088..0000000000
--- a/deps/gyp/test/win/gyptest-quoting-commands.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure batch files run as actions. Regression test for previously missing
-trailing quote on command line. cmd typically will implicitly insert a missing
-quote, but if the command ends in a quote, it will not insert another, so the
-command can sometimes become unterminated.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'batch-file-action'
- test.run_gyp('batch-file-action.gyp', chdir=CHDIR)
- test.build('batch-file-action.gyp', test.ALL, chdir=CHDIR)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-rc-build.py b/deps/gyp/test/win/gyptest-rc-build.py
deleted file mode 100644
index a6e4d360f6..0000000000
--- a/deps/gyp/test/win/gyptest-rc-build.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure we build and include .rc files.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- print "This test is currently disabled: https://crbug.com/483696."
- sys.exit(0)
-
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'rc-build'
- test.run_gyp('hello.gyp', chdir=CHDIR)
- test.build('hello.gyp', test.ALL, chdir=CHDIR)
- test.up_to_date('hello.gyp', 'resource_only_dll', chdir=CHDIR)
- test.run_built_executable('with_resources', chdir=CHDIR, status=4)
-
- test.pass_test()
diff --git a/deps/gyp/test/win/gyptest-system-include.py b/deps/gyp/test/win/gyptest-system-include.py
deleted file mode 100644
index 9a47d98538..0000000000
--- a/deps/gyp/test/win/gyptest-system-include.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Checks that msvs_system_include_dirs works.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
-
- CHDIR = 'system-include'
- test.run_gyp('test.gyp', chdir=CHDIR)
- test.build('test.gyp', test.ALL, chdir=CHDIR)
- test.pass_test()
diff --git a/deps/gyp/test/win/idl-excluded/bad.idl b/deps/gyp/test/win/idl-excluded/bad.idl
deleted file mode 100644
index 38554e9635..0000000000
--- a/deps/gyp/test/win/idl-excluded/bad.idl
+++ /dev/null
@@ -1,6 +0,0 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-This is a dummy .idl file that will trigger an error if it is not excluded from
-the build.
diff --git a/deps/gyp/test/win/idl-excluded/copy-file.py b/deps/gyp/test/win/idl-excluded/copy-file.py
deleted file mode 100644
index 5a5feae1f2..0000000000
--- a/deps/gyp/test/win/idl-excluded/copy-file.py
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright (c) 2009 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.
-import sys
-
-contents = open(sys.argv[1], 'r').read()
-open(sys.argv[2], 'wb').write(contents)
-
-sys.exit(0)
diff --git a/deps/gyp/test/win/idl-excluded/idl-excluded.gyp b/deps/gyp/test/win/idl-excluded/idl-excluded.gyp
deleted file mode 100644
index 972b7dedac..0000000000
--- a/deps/gyp/test/win/idl-excluded/idl-excluded.gyp
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright (c) 2014 The Chromium Authors. 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': 'exclude_with_action',
- 'type': 'none',
- 'msvs_cygwin_shell': 0,
- 'actions': [{
- 'action_name': 'copy_action',
- 'inputs': [
- 'copy-file.py',
- 'bad.idl',
- ],
- 'outputs': [
- '<(INTERMEDIATE_DIR)/bad.idl',
- ],
- 'action': [
- 'python', '<@(_inputs)', '<@(_outputs)',
- ],
- }],
- },
- {
- 'target_name': 'exclude_with_rule',
- 'type': 'none',
- 'msvs_cygwin_shell': 0,
- 'sources': [
- 'bad.idl',
- ],
- 'rules': [{
- 'rule_name': 'copy_rule',
- 'extension': 'idl',
- 'inputs': [
- 'copy-file.py',
- ],
- 'outputs': [
- '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).idl',
- ],
- 'action': [
- 'python', '<@(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)',
- ],
- }],
- },
- {
- 'target_name': 'program',
- 'type': 'executable',
- 'sources': [
- 'program.cc',
- ],
- 'dependencies': [
- 'exclude_with_action',
- 'exclude_with_rule',
- ],
- },
- ],
-}
diff --git a/deps/gyp/test/win/idl-excluded/program.cc b/deps/gyp/test/win/idl-excluded/program.cc
deleted file mode 100644
index 9dc3c94f34..0000000000
--- a/deps/gyp/test/win/idl-excluded/program.cc
+++ /dev/null
@@ -1,7 +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.
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/idl-includedirs/hello.cc b/deps/gyp/test/win/idl-includedirs/hello.cc
deleted file mode 100644
index 9dc3c94f34..0000000000
--- a/deps/gyp/test/win/idl-includedirs/hello.cc
+++ /dev/null
@@ -1,7 +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.
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/idl-includedirs/idl-includedirs.gyp b/deps/gyp/test/win/idl-includedirs/idl-includedirs.gyp
deleted file mode 100644
index fcec063a98..0000000000
--- a/deps/gyp/test/win/idl-includedirs/idl-includedirs.gyp
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright (c) 2014 The Chromium Authors. 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_midl_include_dirs',
- 'type': 'executable',
- 'sources': [
- 'hello.cc',
- 'subdir/foo.idl',
- 'subdir/bar.idl',
- ],
- 'midl_include_dirs': [
- 'subdir',
- ],
- 'msvs_settings': {
- 'VCMIDLTool': {
- 'OutputDirectory': '<(INTERMEDIATE_DIR)',
- 'DLLDataFileName': '$(InputName)_dlldata.h',
- },
- },
- },
- ],
-}
diff --git a/deps/gyp/test/win/idl-includedirs/subdir/bar.idl b/deps/gyp/test/win/idl-includedirs/subdir/bar.idl
deleted file mode 100644
index d4e6cbb3eb..0000000000
--- a/deps/gyp/test/win/idl-includedirs/subdir/bar.idl
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-import "oaidl.idl";
-
-[
- object,
- uuid(A03D1421-B1EC-11D0-8C3A-00C04FC31D3F),
-]
-interface Bar : IUnknown {
- HRESULT BarFunction();
-};
diff --git a/deps/gyp/test/win/idl-includedirs/subdir/foo.idl b/deps/gyp/test/win/idl-includedirs/subdir/foo.idl
deleted file mode 100644
index c8c65b9be6..0000000000
--- a/deps/gyp/test/win/idl-includedirs/subdir/foo.idl
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-import "oaidl.idl";
-import "bar.idl";
-
-[
- object,
- uuid(9C1100DD-51D4-4827-AE9F-3B8FAC4AED72),
-]
-interface Foo : IUnknown {
- HRESULT FooFunction(Bar* bar);
-};
diff --git a/deps/gyp/test/win/idl-rules/Window.idl b/deps/gyp/test/win/idl-rules/Window.idl
deleted file mode 100644
index d8ea01bee3..0000000000
--- a/deps/gyp/test/win/idl-rules/Window.idl
+++ /dev/null
@@ -1,9 +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.
-
-[
- WillBeGarbageCollected,
-] interface Window {
- void alert();
-};
diff --git a/deps/gyp/test/win/idl-rules/basic-idl.gyp b/deps/gyp/test/win/idl-rules/basic-idl.gyp
deleted file mode 100644
index b74622adea..0000000000
--- a/deps/gyp/test/win/idl-rules/basic-idl.gyp
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)',
- },
- 'target_defaults': {
- 'configurations': {
- 'Debug': {
- 'msvs_configuration_platform': 'Win32',
- },
- 'Debug_x64': {
- 'inherit_from': ['Debug'],
- 'msvs_configuration_platform': 'x64',
- },
- },
- },
- 'targets': [
- {
- 'target_name': 'idl_test',
- 'type': 'executable',
- 'sources': [
- 'history_indexer.idl',
- '<(midl_out_dir)/history_indexer.h',
- '<(midl_out_dir)/history_indexer_i.c',
- 'history_indexer_user.cc',
- ],
- 'libraries': ['ole32.lib'],
- 'include_dirs': [
- '<(midl_out_dir)',
- ],
- 'msvs_settings': {
- 'VCMIDLTool': {
- 'OutputDirectory': '<(midl_out_dir)',
- 'HeaderFileName': '<(RULE_INPUT_ROOT).h',
- },
- },
- },
- {
- 'target_name': 'idl_explicit_action',
- 'type': 'none',
- 'sources': [
- 'Window.idl',
- ],
- 'actions': [{
- 'action_name': 'blink_idl',
- 'explicit_idl_action': 1,
- 'msvs_cygwin_shell': 0,
- 'inputs': [
- 'Window.idl',
- 'idl_compiler.py',
- ],
- 'outputs': [
- 'Window.cpp',
- 'Window.h',
- ],
- 'action': [
- 'python',
- 'idl_compiler.py',
- 'Window.idl',
- ],
- }],
- },
- ],
-}
diff --git a/deps/gyp/test/win/idl-rules/history_indexer.idl b/deps/gyp/test/win/idl-rules/history_indexer.idl
deleted file mode 100644
index e866ce6d90..0000000000
--- a/deps/gyp/test/win/idl-rules/history_indexer.idl
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-import "oaidl.idl";
-import "ocidl.idl";
-
-[
- object,
- uuid(9C1100DD-51D4-4827-AE9F-3B8FAC4AED72),
- oleautomation,
- nonextensible,
- pointer_default(unique)
-]
-interface IChromeHistoryIndexer : IUnknown {
- HRESULT SomeFunction([in] VARIANT begin_time, [in] VARIANT end_time);
-};
diff --git a/deps/gyp/test/win/idl-rules/history_indexer_user.cc b/deps/gyp/test/win/idl-rules/history_indexer_user.cc
deleted file mode 100644
index 071a9ffef5..0000000000
--- a/deps/gyp/test/win/idl-rules/history_indexer_user.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.
-
-#include "history_indexer.h"
-
-// Use the thing in the IDL.
-int main() {
- IChromeHistoryIndexer** indexer = 0;
- IID fake_iid;
- CoCreateInstance(fake_iid, NULL, CLSCTX_INPROC,
- __uuidof(IChromeHistoryIndexer),
- reinterpret_cast<void**>(indexer));
- return 0;
-}
diff --git a/deps/gyp/test/win/idl-rules/idl_compiler.py b/deps/gyp/test/win/idl-rules/idl_compiler.py
deleted file mode 100644
index a12b274d67..0000000000
--- a/deps/gyp/test/win/idl-rules/idl_compiler.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-# mock, just outputs empty .h/.cpp files
-
-import os
-import sys
-
-if len(sys.argv) == 2:
- basename, ext = os.path.splitext(sys.argv[1])
- with open('%s.h' % basename, 'w') as f:
- f.write('// %s.h\n' % basename)
- with open('%s.cpp' % basename, 'w') as f:
- f.write('// %s.cpp\n' % basename)
diff --git a/deps/gyp/test/win/importlib/dll_no_exports.cc b/deps/gyp/test/win/importlib/dll_no_exports.cc
deleted file mode 100644
index 96dd7970b7..0000000000
--- a/deps/gyp/test/win/importlib/dll_no_exports.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 <windows.h>
-
-BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
- return TRUE;
-}
diff --git a/deps/gyp/test/win/importlib/has-exports.cc b/deps/gyp/test/win/importlib/has-exports.cc
deleted file mode 100644
index 3f62d6c60d..0000000000
--- a/deps/gyp/test/win/importlib/has-exports.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.
-
-__declspec(dllexport) void some_function() {
-}
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/importlib/hello.cc b/deps/gyp/test/win/importlib/hello.cc
deleted file mode 100644
index 66ff68c113..0000000000
--- a/deps/gyp/test/win/importlib/hello.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.
-
-__declspec(dllimport) void some_function();
-
-int main() {
- some_function();
-}
diff --git a/deps/gyp/test/win/importlib/importlib.gyp b/deps/gyp/test/win/importlib/importlib.gyp
deleted file mode 100644
index ab15b1893d..0000000000
--- a/deps/gyp/test/win/importlib/importlib.gyp
+++ /dev/null
@@ -1,30 +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_importlib',
- 'type': 'shared_library',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkIncremental': '2',
- }
- },
- 'sources': ['has-exports.cc'],
- },
-
- {
- 'target_name': 'test_linkagainst',
- 'type': 'executable',
- 'dependencies': ['test_importlib'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkIncremental': '2',
- }
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/importlib/noimplib.gyp b/deps/gyp/test/win/importlib/noimplib.gyp
deleted file mode 100644
index 0245058a99..0000000000
--- a/deps/gyp/test/win/importlib/noimplib.gyp
+++ /dev/null
@@ -1,16 +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': 'no_import_library',
- 'type': 'loadable_module',
- 'msvs_settings': {
- 'NoImportLibrary': 'true',
- },
- 'sources': ['dll_no_exports.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/large-pdb/dllmain.cc b/deps/gyp/test/win/large-pdb/dllmain.cc
deleted file mode 100644
index 14875623e8..0000000000
--- a/deps/gyp/test/win/large-pdb/dllmain.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.
-
-#include <windows.h>
-
-BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
- return TRUE;
-}
diff --git a/deps/gyp/test/win/large-pdb/large-pdb.gyp b/deps/gyp/test/win/large-pdb/large-pdb.gyp
deleted file mode 100644
index 2a241a5623..0000000000
--- a/deps/gyp/test/win/large-pdb/large-pdb.gyp
+++ /dev/null
@@ -1,98 +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': 'large_pdb_exe',
- 'type': 'executable',
- 'msvs_large_pdb': 1,
- 'sources': [
- 'main.cc',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': '<(PRODUCT_DIR)/large_pdb_exe.exe.pdb',
- },
- },
- },
- {
- 'target_name': 'small_pdb_exe',
- 'type': 'executable',
- 'msvs_large_pdb': 0,
- 'sources': [
- 'main.cc',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': '<(PRODUCT_DIR)/small_pdb_exe.exe.pdb',
- },
- },
- },
- {
- 'target_name': 'large_pdb_dll',
- 'type': 'shared_library',
- 'msvs_large_pdb': 1,
- 'sources': [
- 'dllmain.cc',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': '<(PRODUCT_DIR)/large_pdb_dll.dll.pdb',
- },
- },
- },
- {
- 'target_name': 'small_pdb_dll',
- 'type': 'shared_library',
- 'msvs_large_pdb': 0,
- 'sources': [
- 'dllmain.cc',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': '<(PRODUCT_DIR)/small_pdb_dll.dll.pdb',
- },
- },
- },
- {
- 'target_name': 'large_pdb_implicit_exe',
- 'type': 'executable',
- 'msvs_large_pdb': 1,
- 'sources': [
- 'main.cc',
- ],
- # No PDB file is specified. However, the msvs_large_pdb mechanism should
- # default to the appropriate <(PRODUCT_DIR)/<(TARGET_NAME).exe.pdb.
- },
- {
- 'target_name': 'large_pdb_variable_exe',
- 'type': 'executable',
- 'msvs_large_pdb': 1,
- 'sources': [
- 'main.cc',
- ],
- # No PDB file is specified. However, the msvs_large_pdb_path variable
- # explicitly sets one.
- 'variables': {
- 'msvs_large_pdb_path': '<(PRODUCT_DIR)/foo.pdb',
- },
- },
- {
- 'target_name': 'large_pdb_product_exe',
- 'product_name': 'bar',
- 'type': 'executable',
- 'msvs_large_pdb': 1,
- 'sources': [
- 'main.cc',
- ],
- # No PDB file is specified. However, we've specified a product name so
- # it should use <(PRODUCT_DIR)/bar.exe.pdb.
- },
- ]
-}
diff --git a/deps/gyp/test/win/large-pdb/main.cc b/deps/gyp/test/win/large-pdb/main.cc
deleted file mode 100644
index c3da8e9219..0000000000
--- a/deps/gyp/test/win/large-pdb/main.cc
+++ /dev/null
@@ -1,7 +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(void) {
- return 0;
-}
diff --git a/deps/gyp/test/win/lib-crosscompile/answer.cc b/deps/gyp/test/win/lib-crosscompile/answer.cc
deleted file mode 100644
index a6ffa16862..0000000000
--- a/deps/gyp/test/win/lib-crosscompile/answer.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.
-
-#include "answer.h"
-
-int answer() {
- return 42;
-}
diff --git a/deps/gyp/test/win/lib-crosscompile/answer.h b/deps/gyp/test/win/lib-crosscompile/answer.h
deleted file mode 100644
index 82312d54b8..0000000000
--- a/deps/gyp/test/win/lib-crosscompile/answer.h
+++ /dev/null
@@ -1,5 +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 answer(); \ No newline at end of file
diff --git a/deps/gyp/test/win/lib-crosscompile/use_host_ar.gyp b/deps/gyp/test/win/lib-crosscompile/use_host_ar.gyp
deleted file mode 100644
index 4747bc6445..0000000000
--- a/deps/gyp/test/win/lib-crosscompile/use_host_ar.gyp
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright (c) 2015 The Chromium Authors. 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': 'lib_answer',
- 'type': 'static_library',
- 'toolsets': ['host'],
- 'msvs_settings': {
- 'msvs_cygwin_shell': 0,
- },
- 'sources': ['answer.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/lib-flags/answer.cc b/deps/gyp/test/win/lib-flags/answer.cc
deleted file mode 100644
index a6ffa16862..0000000000
--- a/deps/gyp/test/win/lib-flags/answer.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.
-
-#include "answer.h"
-
-int answer() {
- return 42;
-}
diff --git a/deps/gyp/test/win/lib-flags/answer.h b/deps/gyp/test/win/lib-flags/answer.h
deleted file mode 100644
index 82312d54b8..0000000000
--- a/deps/gyp/test/win/lib-flags/answer.h
+++ /dev/null
@@ -1,5 +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 answer(); \ No newline at end of file
diff --git a/deps/gyp/test/win/lib-flags/ltcg.gyp b/deps/gyp/test/win/lib-flags/ltcg.gyp
deleted file mode 100644
index c183107730..0000000000
--- a/deps/gyp/test/win/lib-flags/ltcg.gyp
+++ /dev/null
@@ -1,21 +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': 'lib_answer',
- 'type': 'static_library',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WholeProgramOptimization': 'true', # /GL
- },
- 'VCLibrarianTool': {
- 'LinkTimeCodeGeneration': 'true', # /LTCG
- },
- },
- 'sources': ['answer.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/a/x.cc b/deps/gyp/test/win/linker-flags/a/x.cc
deleted file mode 100644
index f5f763b095..0000000000
--- a/deps/gyp/test/win/linker-flags/a/x.cc
+++ /dev/null
@@ -1,7 +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 x() {
- return 1;
-}
diff --git a/deps/gyp/test/win/linker-flags/a/z.cc b/deps/gyp/test/win/linker-flags/a/z.cc
deleted file mode 100644
index 8a43501270..0000000000
--- a/deps/gyp/test/win/linker-flags/a/z.cc
+++ /dev/null
@@ -1,7 +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 z() {
- return 3;
-}
diff --git a/deps/gyp/test/win/linker-flags/additional-deps.cc b/deps/gyp/test/win/linker-flags/additional-deps.cc
deleted file mode 100644
index 7dfb589d26..0000000000
--- a/deps/gyp/test/win/linker-flags/additional-deps.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 <winsock2.h>
-
-int main() {
- WSAStartup(0, 0);
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/additional-deps.gyp b/deps/gyp/test/win/linker-flags/additional-deps.gyp
deleted file mode 100644
index 55afe64fb0..0000000000
--- a/deps/gyp/test/win/linker-flags/additional-deps.gyp
+++ /dev/null
@@ -1,30 +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_deps_none',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_deps_few',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'AdditionalDependencies': [
- 'wininet.lib',
- 'ws2_32.lib',
- ]
- }
- },
- 'sources': ['additional-deps.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/additional-options.gyp b/deps/gyp/test/win/linker-flags/additional-options.gyp
deleted file mode 100644
index cab3994cd1..0000000000
--- a/deps/gyp/test/win/linker-flags/additional-options.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_additional_none',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_additional_few',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'AdditionalOptions': [
- '/dynamicbase:no',
- ]
- }
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/aslr.gyp b/deps/gyp/test/win/linker-flags/aslr.gyp
deleted file mode 100644
index b3aefd50b7..0000000000
--- a/deps/gyp/test/win/linker-flags/aslr.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_aslr_default',
- 'type': 'executable',
- 'msvs_settings': {
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_aslr_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'RandomizedBaseAddress': '1',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_aslr_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'RandomizedBaseAddress': '2',
- }
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/b/y.cc b/deps/gyp/test/win/linker-flags/b/y.cc
deleted file mode 100644
index bd884119fc..0000000000
--- a/deps/gyp/test/win/linker-flags/b/y.cc
+++ /dev/null
@@ -1,7 +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 y() {
- return 2;
-}
diff --git a/deps/gyp/test/win/linker-flags/base-address.gyp b/deps/gyp/test/win/linker-flags/base-address.gyp
deleted file mode 100644
index 873ebfea3f..0000000000
--- a/deps/gyp/test/win/linker-flags/base-address.gyp
+++ /dev/null
@@ -1,38 +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.
-
-{
- 'targets': [
- {
- 'target_name': 'test_base_specified_exe',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'BaseAddress': '0x00420000',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_base_specified_dll',
- 'type': 'shared_library',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'BaseAddress': '0x10420000',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_base_default_exe',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_base_default_dll',
- 'type': 'shared_library',
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/debug-info.gyp b/deps/gyp/test/win/linker-flags/debug-info.gyp
deleted file mode 100644
index d47d0ecced..0000000000
--- a/deps/gyp/test/win/linker-flags/debug-info.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_debug_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'false'
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_debug_on',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true'
- },
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/deffile-multiple.gyp b/deps/gyp/test/win/linker-flags/deffile-multiple.gyp
deleted file mode 100644
index c74a9af20a..0000000000
--- a/deps/gyp/test/win/linker-flags/deffile-multiple.gyp
+++ /dev/null
@@ -1,17 +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_deffile_multiple_fail',
- 'type': 'shared_library',
- 'sources': [
- 'deffile.cc',
- 'deffile.def',
- 'deffile2.def',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/deffile.cc b/deps/gyp/test/win/linker-flags/deffile.cc
deleted file mode 100644
index fa203b34c8..0000000000
--- a/deps/gyp/test/win/linker-flags/deffile.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.
-
-void AnExportedFunction() {
-}
-
-void AnotherExportedFunction() {
-}
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/deffile.def b/deps/gyp/test/win/linker-flags/deffile.def
deleted file mode 100644
index ba9d399bd6..0000000000
--- a/deps/gyp/test/win/linker-flags/deffile.def
+++ /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.
-
-LIBRARY test_deffile_ok
-
-EXPORTS
- AnExportedFunction
diff --git a/deps/gyp/test/win/linker-flags/deffile.gyp b/deps/gyp/test/win/linker-flags/deffile.gyp
deleted file mode 100644
index 7b241d5e3a..0000000000
--- a/deps/gyp/test/win/linker-flags/deffile.gyp
+++ /dev/null
@@ -1,38 +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_deffile_dll_ok',
- 'type': 'shared_library',
- 'sources': [
- 'deffile.cc',
- 'deffile.def',
- ],
- },
- {
- 'target_name': 'test_deffile_dll_notexported',
- 'type': 'shared_library',
- 'sources': [
- 'deffile.cc',
- ],
- },
- {
- 'target_name': 'test_deffile_exe_ok',
- 'type': 'executable',
- 'sources': [
- 'deffile.cc',
- 'deffile.def',
- ],
- },
- {
- 'target_name': 'test_deffile_exe_notexported',
- 'type': 'executable',
- 'sources': [
- 'deffile.cc',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/delay-load-dlls.gyp b/deps/gyp/test/win/linker-flags/delay-load-dlls.gyp
deleted file mode 100644
index 671cbaa802..0000000000
--- a/deps/gyp/test/win/linker-flags/delay-load-dlls.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_dld_none',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- }
- },
- 'sources': ['delay-load.cc'],
- 'libraries': [
- 'delayimp.lib',
- 'shell32.lib',
- ],
- },
- {
- 'target_name': 'test_dld_shell32',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'DelayLoadDLLs': ['shell32.dll']
- }
- },
- 'sources': ['delay-load.cc'],
- 'libraries': [
- 'delayimp.lib',
- 'shell32.lib',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/delay-load.cc b/deps/gyp/test/win/linker-flags/delay-load.cc
deleted file mode 100644
index 2be34aa876..0000000000
--- a/deps/gyp/test/win/linker-flags/delay-load.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 <shlobj.h>
-
-int main() {
- SHCreateDirectory(0, 0);
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/embed-manifest.gyp b/deps/gyp/test/win/linker-flags/embed-manifest.gyp
deleted file mode 100644
index fefb2f56d8..0000000000
--- a/deps/gyp/test/win/linker-flags/embed-manifest.gyp
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright (c) 2013 Yandex LLC. 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_manifest_exe',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkIncremental': '1',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- }
- },
- },
- {
- 'target_name': 'test_manifest_dll',
- 'type': 'loadable_module',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkIncremental': '1',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- }
- },
- },
- {
- 'target_name': 'test_manifest_extra1',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- 'AdditionalManifestFiles': 'extra.manifest',
- }
- },
- },
- {
- 'target_name': 'test_manifest_extra2',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- 'AdditionalManifestFiles': 'extra.manifest;extra2.manifest',
- }
- },
- },
- {
- 'target_name': 'test_manifest_extra_list',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- 'AdditionalManifestFiles': [
- 'extra.manifest',
- 'extra2.manifest'
- ],
- }
- },
- },
- {
- 'target_name': 'test_manifest_dll_inc',
- 'type': 'loadable_module',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkIncremental': '2',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- }
- },
- },
- {
- 'target_name': 'test_manifest_exe_inc',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkIncremental': '2',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- }
- },
- },
- {
- 'target_name': 'test_manifest_exe_inc_no_embed',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkIncremental': '2',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'false',
- }
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/enable-uac.gyp b/deps/gyp/test/win/linker-flags/enable-uac.gyp
deleted file mode 100644
index 4e58c86ec8..0000000000
--- a/deps/gyp/test/win/linker-flags/enable-uac.gyp
+++ /dev/null
@@ -1,45 +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.
-
-{
- 'targets': [
- {
- 'target_name': 'enable_uac',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- }
- },
- },
- {
- 'target_name': 'enable_uac_no',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'false',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- }
- },
- },
- {
- 'target_name': 'enable_uac_admin',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'UACExecutionLevel': 2,
- 'UACUIAccess': 'true',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- }
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/entrypointsymbol.cc b/deps/gyp/test/win/linker-flags/entrypointsymbol.cc
deleted file mode 100644
index b567bc87b3..0000000000
--- a/deps/gyp/test/win/linker-flags/entrypointsymbol.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.
-
-// The entry point specified by link.exe /ENTRY option.
-extern "C" void MainEntryPoint() {
-}
-
-// Still needed because the linker checks for existence of one of main, wmain,
-// WinMain, or wMain to offer informative diagnositics.
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/entrypointsymbol.gyp b/deps/gyp/test/win/linker-flags/entrypointsymbol.gyp
deleted file mode 100644
index 7f2c14252d..0000000000
--- a/deps/gyp/test/win/linker-flags/entrypointsymbol.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_ok',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EntryPointSymbol': 'MainEntryPoint',
- }
- },
- 'sources': ['entrypointsymbol.cc'],
- },
- {
- 'target_name': 'test_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EntryPointSymbol': 'MainEntryPoint',
- }
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/extra.manifest b/deps/gyp/test/win/linker-flags/extra.manifest
deleted file mode 100644
index 2e436dc251..0000000000
--- a/deps/gyp/test/win/linker-flags/extra.manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
-
- <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
- <application>
- <!--This Id value indicates the application supports Windows 7 functionality-->
- <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
- </application>
- </compatibility>
-
-</assembly>
diff --git a/deps/gyp/test/win/linker-flags/extra2.manifest b/deps/gyp/test/win/linker-flags/extra2.manifest
deleted file mode 100644
index bfb570ca59..0000000000
--- a/deps/gyp/test/win/linker-flags/extra2.manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
-
- <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
- <application>
- <!--This Id value indicates the application supports Windows Vista functionality -->
- <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
- </application>
- </compatibility>
-
-</assembly>
diff --git a/deps/gyp/test/win/linker-flags/fixed-base.gyp b/deps/gyp/test/win/linker-flags/fixed-base.gyp
deleted file mode 100644
index cc2982eb27..0000000000
--- a/deps/gyp/test/win/linker-flags/fixed-base.gyp
+++ /dev/null
@@ -1,52 +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': [
- # Disable DYNAMICBASE for these tests because it implies/doesn't imply
- # FIXED in certain cases so it complicates the test for FIXED.
- {
- 'target_name': 'test_fixed_default_exe',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'RandomizedBaseAddress': '1',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_fixed_default_dll',
- 'type': 'shared_library',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'RandomizedBaseAddress': '1',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_fixed_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'FixedBaseAddress': '1',
- 'RandomizedBaseAddress': '1',
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_fixed_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'FixedBaseAddress': '2',
- 'RandomizedBaseAddress': '1',
- },
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/force-symbol-reference.gyp b/deps/gyp/test/win/linker-flags/force-symbol-reference.gyp
deleted file mode 100644
index d6d02a6848..0000000000
--- a/deps/gyp/test/win/linker-flags/force-symbol-reference.gyp
+++ /dev/null
@@ -1,39 +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_force_reference_lib',
- 'type': 'static_library',
- 'sources': ['x.cc', 'y.cc'],
- },
- {
- 'target_name': 'test_force_reference',
- 'type': 'executable',
- # Turn on debug info to get symbols in disasm for the test code, and
- # turn on opt:ref to drop unused symbols to make sure we wouldn't
- # otherwise have the symbols.
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'AdditionalOptions': [
- '/OPT:REF',
- ],
- 'ForceSymbolReferences': [
- '?x@@YAHXZ',
- '?y@@YAHXZ',
- ],
- },
- },
- 'sources': ['hello.cc'],
- 'dependencies': [
- 'test_force_reference_lib',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/generate-manifest.gyp b/deps/gyp/test/win/linker-flags/generate-manifest.gyp
deleted file mode 100644
index 34a68d1a48..0000000000
--- a/deps/gyp/test/win/linker-flags/generate-manifest.gyp
+++ /dev/null
@@ -1,166 +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_generate_manifest_true',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'GenerateManifest': 'true',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'false',
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_false',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'GenerateManifest': 'false',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'false',
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_default',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'false',
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_true_as_embedded',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'GenerateManifest': 'true',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_false_as_embedded',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'GenerateManifest': 'false',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_default_as_embedded',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_true_with_extra_manifest',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'GenerateManifest': 'true',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'false',
- 'AdditionalManifestFiles': 'extra.manifest;extra2.manifest',
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_false_with_extra_manifest',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'GenerateManifest': 'false',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'false',
- 'AdditionalManifestFiles': 'extra.manifest;extra2.manifest',
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_true_with_extra_manifest_list',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'GenerateManifest': 'true',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'false',
- 'AdditionalManifestFiles': [
- 'extra.manifest',
- 'extra2.manifest',
- ],
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_false_with_extra_manifest_list',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- 'GenerateManifest': 'false',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'false',
- 'AdditionalManifestFiles': [
- 'extra.manifest',
- 'extra2.manifest',
- ],
- },
- },
- },
- {
- 'target_name': 'test_generate_manifest_default_embed_default',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'EnableUAC': 'true',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/hello.cc b/deps/gyp/test/win/linker-flags/hello.cc
deleted file mode 100644
index 1711567ef5..0000000000
--- a/deps/gyp/test/win/linker-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/linker-flags/incremental.gyp b/deps/gyp/test/win/linker-flags/incremental.gyp
deleted file mode 100644
index 59f3103253..0000000000
--- a/deps/gyp/test/win/linker-flags/incremental.gyp
+++ /dev/null
@@ -1,65 +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 on debug information so the incremental linking tables have a
- # visible symbolic name in the disassembly.
- {
- 'target_name': 'test_incremental_unset',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_incremental_default',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'LinkIncremental': '0',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_incremental_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'LinkIncremental': '1',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_incremental_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'LinkIncremental': '2',
- }
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/inline_test.cc b/deps/gyp/test/win/linker-flags/inline_test.cc
deleted file mode 100644
index a9f177e476..0000000000
--- a/deps/gyp/test/win/linker-flags/inline_test.cc
+++ /dev/null
@@ -1,12 +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.
-
-#include "inline_test.h"
-
-#include <intrin.h>
-#pragma intrinsic(_ReturnAddress)
-
-bool IsFunctionInlined(void* caller_return_address) {
- return _ReturnAddress() == caller_return_address;
-}
diff --git a/deps/gyp/test/win/linker-flags/inline_test.h b/deps/gyp/test/win/linker-flags/inline_test.h
deleted file mode 100644
index 117913c4f5..0000000000
--- a/deps/gyp/test/win/linker-flags/inline_test.h
+++ /dev/null
@@ -1,5 +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.
-
-bool IsFunctionInlined(void* current_return_address);
diff --git a/deps/gyp/test/win/linker-flags/inline_test_main.cc b/deps/gyp/test/win/linker-flags/inline_test_main.cc
deleted file mode 100644
index 23cafe8f94..0000000000
--- a/deps/gyp/test/win/linker-flags/inline_test_main.cc
+++ /dev/null
@@ -1,15 +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.
-
-#include "inline_test.h"
-
-#include <intrin.h>
-#include <stdio.h>
-
-#pragma intrinsic(_ReturnAddress)
-
-int main() {
- if (IsFunctionInlined(_ReturnAddress()))
- puts("==== inlined ====\n");
-}
diff --git a/deps/gyp/test/win/linker-flags/large-address-aware.gyp b/deps/gyp/test/win/linker-flags/large-address-aware.gyp
deleted file mode 100644
index fa56d3789c..0000000000
--- a/deps/gyp/test/win/linker-flags/large-address-aware.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_large_address_aware_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LargeAddressAware': '1',
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_large_address_aware_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LargeAddressAware': '2',
- },
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/library-adjust.cc b/deps/gyp/test/win/linker-flags/library-adjust.cc
deleted file mode 100644
index 7dfb589d26..0000000000
--- a/deps/gyp/test/win/linker-flags/library-adjust.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 <winsock2.h>
-
-int main() {
- WSAStartup(0, 0);
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/library-adjust.gyp b/deps/gyp/test/win/linker-flags/library-adjust.gyp
deleted file mode 100644
index 10e9996f5c..0000000000
--- a/deps/gyp/test/win/linker-flags/library-adjust.gyp
+++ /dev/null
@@ -1,16 +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_adjust',
- 'type': 'executable',
- 'libraries': [
- '-lws2_32.lib'
- ],
- 'sources': ['library-adjust.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/library-directories-define.cc b/deps/gyp/test/win/linker-flags/library-directories-define.cc
deleted file mode 100644
index 211ef062c1..0000000000
--- a/deps/gyp/test/win/linker-flags/library-directories-define.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 library_function() {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/library-directories-reference.cc b/deps/gyp/test/win/linker-flags/library-directories-reference.cc
deleted file mode 100644
index 335097839a..0000000000
--- a/deps/gyp/test/win/linker-flags/library-directories-reference.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.
-
-extern int library_function();
-
-int main() {
- library_function();
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/library-directories.gyp b/deps/gyp/test/win/linker-flags/library-directories.gyp
deleted file mode 100644
index 25395d6c87..0000000000
--- a/deps/gyp/test/win/linker-flags/library-directories.gyp
+++ /dev/null
@@ -1,42 +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_libdirs_none',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'AdditionalDependencies': [
- 'test_lib.lib',
- ],
- },
- },
- 'sources': ['library-directories-reference.cc'],
- },
- {
- 'target_name': 'test_libdirs_with',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- # NOTE: Don't use this for general dependencies between gyp
- # libraries (use 'dependencies' instead). This is done here only for
- # testing.
- #
- # This setting should only be used to depend on third party prebuilt
- # libraries that are stored as binaries at a known location.
- 'AdditionalLibraryDirectories': [
- '<(DEPTH)/out/Default/obj/subdir', # ninja style
- '<(DEPTH)/subdir/Default/lib', # msvs style
- ],
- 'AdditionalDependencies': [
- 'test_lib.lib',
- ],
- },
- },
- 'sources': ['library-directories-reference.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/link-ordering.gyp b/deps/gyp/test/win/linker-flags/link-ordering.gyp
deleted file mode 100644
index 66f44309d1..0000000000
--- a/deps/gyp/test/win/linker-flags/link-ordering.gyp
+++ /dev/null
@@ -1,95 +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_ordering_exe',
- 'type': 'executable',
- # These are so the names of the functions appear in the disassembly.
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- 'Optimization': '2',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'LinkIncremental': '1',
- 'GenerateManifest': 'false',
- # Minimize the disassembly to just our code.
- 'AdditionalOptions': [
- '/NODEFAULTLIB',
- ],
- },
- },
- 'sources': [
- # Explicitly sorted the same way as the disassembly in the test .py.
- 'main-crt.c',
- 'z.cc',
- 'x.cc',
- 'y.cc',
- 'hello.cc',
- ],
- },
-
- {
- 'target_name': 'test_ordering_subdirs',
- 'type': 'executable',
- # These are so the names of the functions appear in the disassembly.
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- 'Optimization': '2',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'LinkIncremental': '1',
- 'GenerateManifest': 'false',
- # Minimize the disassembly to just our code.
- 'AdditionalOptions': [
- '/NODEFAULTLIB',
- ],
- },
- },
- 'sources': [
- # Explicitly sorted the same way as the disassembly in the test .py.
- 'main-crt.c',
- 'hello.cc',
- 'b/y.cc',
- 'a/z.cc',
- ],
- },
-
-
- {
- 'target_name': 'test_ordering_subdirs_mixed',
- 'type': 'executable',
- # These are so the names of the functions appear in the disassembly.
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- 'Optimization': '2',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'LinkIncremental': '1',
- 'GenerateManifest': 'false',
- # Minimize the disassembly to just our code.
- 'AdditionalOptions': [
- '/NODEFAULTLIB',
- ],
- },
- },
- 'sources': [
- # Explicitly sorted the same way as the disassembly in the test .py.
- 'main-crt.c',
- 'a/x.cc',
- 'hello.cc',
- 'a/z.cc',
- 'y.cc',
- ],
- },
-
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/link-warning.cc b/deps/gyp/test/win/linker-flags/link-warning.cc
deleted file mode 100644
index 4b34277ba3..0000000000
--- a/deps/gyp/test/win/linker-flags/link-warning.cc
+++ /dev/null
@@ -1,10 +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.
-
-// This will cause LNK4254.
-#pragma comment(linker, "/merge:.data=.text")
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/ltcg.gyp b/deps/gyp/test/win/linker-flags/ltcg.gyp
deleted file mode 100644
index ddb0d9b4e2..0000000000
--- a/deps/gyp/test/win/linker-flags/ltcg.gyp
+++ /dev/null
@@ -1,42 +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_ltcg_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WholeProgramOptimization': 'false',
- },
- 'VCLinkerTool': {
- 'LinkTimeCodeGeneration': '0',
- },
- },
- 'sources': [
- 'inline_test.h',
- 'inline_test.cc',
- 'inline_test_main.cc',
- ],
- },
- {
- 'target_name': 'test_ltcg_on',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WholeProgramOptimization': 'true', # /GL
- },
- 'VCLinkerTool': {
- 'LinkTimeCodeGeneration': '1', # /LTCG
- },
- },
- 'sources': [
- 'inline_test.h',
- 'inline_test.cc',
- 'inline_test_main.cc',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/main-crt.c b/deps/gyp/test/win/linker-flags/main-crt.c
deleted file mode 100644
index bdc80c54fd..0000000000
--- a/deps/gyp/test/win/linker-flags/main-crt.c
+++ /dev/null
@@ -1,8 +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.
-
-// Stub so we can link with /NODEFAULTLIB when checking disasm.
-int mainCRTStartup() {
- return 5;
-}
diff --git a/deps/gyp/test/win/linker-flags/manifest-in-comment.cc b/deps/gyp/test/win/linker-flags/manifest-in-comment.cc
deleted file mode 100644
index ae54ae5462..0000000000
--- a/deps/gyp/test/win/linker-flags/manifest-in-comment.cc
+++ /dev/null
@@ -1,13 +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.
-
-#pragma comment(linker, \
- "\"/manifestdependency:type='Win32' " \
- "name='Test.Research.SampleAssembly' version='6.0.0.0' " \
- "processorArchitecture='X86' " \
- "publicKeyToken='0000000000000000' language='*'\"")
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/mapfile.cc b/deps/gyp/test/win/linker-flags/mapfile.cc
deleted file mode 100644
index cebccb264a..0000000000
--- a/deps/gyp/test/win/linker-flags/mapfile.cc
+++ /dev/null
@@ -1,12 +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.
-
-__declspec(dllexport)
-void AnExportedFunction() {
- // We need an exported function to verify that /MAPINFO:EXPORTS works.
-}
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/mapfile.gyp b/deps/gyp/test/win/linker-flags/mapfile.gyp
deleted file mode 100644
index 14206fe28d..0000000000
--- a/deps/gyp/test/win/linker-flags/mapfile.gyp
+++ /dev/null
@@ -1,45 +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_mapfile_unset',
- 'type': 'executable',
- 'sources': ['mapfile.cc'],
- },
- {
- 'target_name': 'test_mapfile_generate',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateMapFile': 'true',
- },
- },
- 'sources': ['mapfile.cc'],
- },
- {
- 'target_name': 'test_mapfile_generate_exports',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateMapFile': 'true',
- 'MapExports': 'true',
- },
- },
- 'sources': ['mapfile.cc'],
- },
- {
- 'target_name': 'test_mapfile_generate_filename',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'GenerateMapFile': 'true',
- 'MapFileName': '<(PRODUCT_DIR)/custom_file_name.map',
- },
- },
- 'sources': ['mapfile.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/no-default-libs.cc b/deps/gyp/test/win/linker-flags/no-default-libs.cc
deleted file mode 100644
index e306846987..0000000000
--- a/deps/gyp/test/win/linker-flags/no-default-libs.cc
+++ /dev/null
@@ -1,18 +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.
-
-// Reference something in kernel32.dll. This will fail to link, verifying that
-// GYP provides no default import library configuration.
-// Note that we don't include Windows.h, as that will result in generating
-// linker directives in the object file through #pragma comment(lib, ...).
-typedef short BOOL;
-
-extern "C" __declspec(dllimport)
-BOOL CopyFileW(const wchar_t*, const wchar_t*, BOOL);
-
-
-int main() {
- CopyFileW(0, 0, 0); // kernel32
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/no-default-libs.gyp b/deps/gyp/test/win/linker-flags/no-default-libs.gyp
deleted file mode 100644
index 77838ce8c4..0000000000
--- a/deps/gyp/test/win/linker-flags/no-default-libs.gyp
+++ /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.
-
-{
- 'targets': [
- {
- 'target_name': 'test_default',
- 'type': 'executable',
- 'sources': ['no-default-libs.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/nodefaultlib.cc b/deps/gyp/test/win/linker-flags/nodefaultlib.cc
deleted file mode 100644
index 24b6eca438..0000000000
--- a/deps/gyp/test/win/linker-flags/nodefaultlib.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.
-
-// Include entry point function that's excluded by removing C runtime libraries.
-extern "C" void mainCRTStartup() {
-}
-
-// Still needed because the linker checks for existence of one of main, wmain,
-// WinMain, or wMain to offer informative diagnositics.
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/nodefaultlib.gyp b/deps/gyp/test/win/linker-flags/nodefaultlib.gyp
deleted file mode 100644
index 4fb452a18b..0000000000
--- a/deps/gyp/test/win/linker-flags/nodefaultlib.gyp
+++ /dev/null
@@ -1,30 +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_ok',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'IgnoreDefaultLibraryNames':
- ['libcmtd.lib', 'libcmt.lib', 'msvcrt.lib', 'msvcrtd.lib'],
- }
- },
- 'sources': ['nodefaultlib.cc'],
- },
- {
- 'target_name': 'test_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'IgnoreDefaultLibraryNames':
- ['libcmtd.lib', 'libcmt.lib', 'msvcrt.lib', 'msvcrtd.lib'],
- }
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/nxcompat.gyp b/deps/gyp/test/win/linker-flags/nxcompat.gyp
deleted file mode 100644
index fa4118cbd7..0000000000
--- a/deps/gyp/test/win/linker-flags/nxcompat.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_nxcompat_default',
- 'type': 'executable',
- 'msvs_settings': {
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_nxcompat_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'DataExecutionPrevention': '1',
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_nxcompat_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'DataExecutionPrevention': '2',
- },
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/opt-icf.cc b/deps/gyp/test/win/linker-flags/opt-icf.cc
deleted file mode 100644
index 1f12156b7f..0000000000
--- a/deps/gyp/test/win/linker-flags/opt-icf.cc
+++ /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.
-
-void similar_function0(char* x) {
- while (*x) {
- ++x;
- }
-}
-
-void similar_function1(char* p) {
- while (*p) {
- ++p;
- }
-}
-
-void similar_function2(char* q) {
- while (*q) {
- ++q;
- }
-}
-
-int main() {
- char* x = "hello";
- similar_function0(x);
- similar_function1(x);
- similar_function2(x);
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/opt-icf.gyp b/deps/gyp/test/win/linker-flags/opt-icf.gyp
deleted file mode 100644
index effe8021c3..0000000000
--- a/deps/gyp/test/win/linker-flags/opt-icf.gyp
+++ /dev/null
@@ -1,63 +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': [
- # Have to turn on function level linking here to get the function packaged
- # as a COMDAT so that it's eligible for merging. Also turn on debug
- # information so that the symbol names for the code appear in the dump.
- # Finally, specify non-incremental linking so that there's not a bunch of
- # extra "similar_function"s in the output (the ILT jump table).
- {
- 'target_name': 'test_opticf_default',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFunctionLevelLinking': 'true',
- 'DebugInformationFormat': '3',
- 'Optimization': '0',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'LinkIncremental': '1',
- },
- },
- 'sources': ['opt-icf.cc'],
- },
- {
- 'target_name': 'test_opticf_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFunctionLevelLinking': 'true',
- 'DebugInformationFormat': '3',
- 'Optimization': '0',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'EnableCOMDATFolding': '1',
- 'LinkIncremental': '1',
- },
- },
- 'sources': ['opt-icf.cc'],
- },
- {
- 'target_name': 'test_opticf_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFunctionLevelLinking': 'true',
- 'DebugInformationFormat': '3',
- 'Optimization': '0',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'EnableCOMDATFolding': '2',
- 'LinkIncremental': '1',
- },
- },
- 'sources': ['opt-icf.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/opt-ref.cc b/deps/gyp/test/win/linker-flags/opt-ref.cc
deleted file mode 100644
index afaa328a5d..0000000000
--- a/deps/gyp/test/win/linker-flags/opt-ref.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 unused_function() {
- return 0;
-}
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/opt-ref.gyp b/deps/gyp/test/win/linker-flags/opt-ref.gyp
deleted file mode 100644
index 69d0281a08..0000000000
--- a/deps/gyp/test/win/linker-flags/opt-ref.gyp
+++ /dev/null
@@ -1,56 +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': [
- # Have to turn on function level linking here to get the function packaged
- # as a COMDAT so that it's eligible for optimizing away. Also turn on
- # debug information so that the symbol names for the code appear in the
- # dump (so we can verify if they are included in the final exe).
- {
- 'target_name': 'test_optref_default',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFunctionLevelLinking': 'true',
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- },
- 'sources': ['opt-ref.cc'],
- },
- {
- 'target_name': 'test_optref_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFunctionLevelLinking': 'true',
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'OptimizeReferences': '1',
- },
- },
- 'sources': ['opt-ref.cc'],
- },
- {
- 'target_name': 'test_optref_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'EnableFunctionLevelLinking': 'true',
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'OptimizeReferences': '2',
- },
- },
- 'sources': ['opt-ref.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/outputfile.gyp b/deps/gyp/test/win/linker-flags/outputfile.gyp
deleted file mode 100644
index 1022ec2e20..0000000000
--- a/deps/gyp/test/win/linker-flags/outputfile.gyp
+++ /dev/null
@@ -1,58 +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_output_exe',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(OutDir)\\blorp.exe'
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_output_exe2',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(OutDir)\\subdir\\blorp.exe'
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_output_dll',
- 'type': 'shared_library',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(OutDir)\\blorp.dll'
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_output_lib',
- 'type': 'static_library',
- 'msvs_settings': {
- 'VCLibrarianTool': {
- 'OutputFile': '$(OutDir)\\blorp.lib'
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_output_lib2',
- 'type': 'static_library',
- 'msvs_settings': {
- 'VCLibrarianTool': {
- 'OutputFile': '$(OutDir)\\subdir\\blorp.lib'
- },
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/pdb-output.gyp b/deps/gyp/test/win/linker-flags/pdb-output.gyp
deleted file mode 100644
index 1a03c67cc0..0000000000
--- a/deps/gyp/test/win/linker-flags/pdb-output.gyp
+++ /dev/null
@@ -1,49 +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_pdb_output_exe',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3'
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': 'output_exe.pdb',
- },
- },
- },
- {
- 'target_name': 'test_pdb_output_dll',
- 'type': 'shared_library',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3'
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': 'output_dll.pdb',
- },
- },
- },
- {
- 'target_name': 'test_pdb_output_disabled',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '0'
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'false',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/pgo.gyp b/deps/gyp/test/win/linker-flags/pgo.gyp
deleted file mode 100644
index da32639973..0000000000
--- a/deps/gyp/test/win/linker-flags/pgo.gyp
+++ /dev/null
@@ -1,143 +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.
-
-{
- 'variables': {
- 'pgd_basename': 'test_pgo',
- },
- 'targets': [
- # In the PGO (Profile-Guided Optimization) build flow, we need to build the
- # target binary multiple times. To implement this flow with gyp, here we
- # define multiple 'executable' targets, each of which represents one build
- # particular build/profile stage. On tricky part to do this is that these
- # 'executable' targets should share the code itself so that profile data
- # can be reused among these 'executable' files. In other words, the only
- # differences among below 'executable' targets are:
- # 1) PGO (Profile-Guided Optimization) database, and
- # 2) linker options.
- # The following static library contains all the logic including entry point.
- # Basically we don't need to rebuild this target once we enter profiling
- # phase of PGO.
- {
- 'target_name': 'test_pgo_main',
- 'type': 'static_library',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WholeProgramOptimization': 'true', # /GL
- },
- 'VCLibrarianTool': {
- 'LinkTimeCodeGeneration': 'true',
- },
- },
- 'link_settings': {
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'ProfileGuidedDatabase': '$(OutDir)\\<(pgd_basename).pgd',
- 'TargetMachine': '1', # x86 - 32
- 'SubSystem': '1', # /SUBSYSTEM:CONSOLE
- # Tell ninja generator not to pass /ManifestFile:<filename> option
- # to the linker, because it causes LNK1268 error in PGO biuld.
- 'GenerateManifest': 'false',
- # We need to specify 'libcmt.lib' here so that the linker can pick
- # up a valid entry point.
- 'AdditionalDependencies': [
- 'libcmt.lib',
- ],
- },
- },
- },
- 'sources': [
- 'inline_test.h',
- 'inline_test.cc',
- 'inline_test_main.cc',
- ],
- },
- {
- 'target_name': 'test_pgo_instrument',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkTimeCodeGeneration': '2',
- },
- },
- 'dependencies': [
- 'test_pgo_main',
- ],
- },
- {
- 'target_name': 'gen_profile_guided_database',
- 'type': 'none',
- 'msvs_cygwin_shell': 0,
- 'actions': [
- {
- 'action_name': 'action_main',
- 'inputs': [],
- 'outputs': [
- '$(OutDir)\\<(pgd_basename).pgd',
- ],
- 'action': [
- 'python', 'update_pgd.py',
- '--vcbindir', '$(VCInstallDir)bin',
- '--exe', '$(OutDir)\\test_pgo_instrument.exe',
- '--pgd', '$(OutDir)\\<(pgd_basename).pgd',
- ],
- },
- ],
- 'dependencies': [
- 'test_pgo_instrument',
- ],
- },
- {
- 'target_name': 'test_pgo_optimize',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkTimeCodeGeneration': '3',
- },
- },
- 'sources': [
- '$(OutDir)\\<(pgd_basename).pgd',
- ],
- 'dependencies': [
- 'test_pgo_main',
- 'gen_profile_guided_database',
- ],
- },
- {
- 'target_name': 'test_pgo_update',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'LinkTimeCodeGeneration': '4',
- },
- },
- 'sources': [
- '$(OutDir)\\<(pgd_basename).pgd',
- ],
- 'dependencies': [
- 'test_pgo_main',
- ],
- },
- # A helper target to dump link.exe's command line options. We can use the
- # output to determine if PGO (Profile-Guided Optimization) is available on
- # the test environment.
- {
- 'target_name': 'gen_linker_option',
- 'type': 'none',
- 'msvs_cygwin_shell': 0,
- 'actions': [
- {
- 'action_name': 'action_main',
- 'inputs': [],
- 'outputs': [
- '$(OutDir)\\linker_options.txt',
- ],
- 'action': [
- 'cmd.exe', '/c link.exe > $(OutDir)\\linker_options.txt & exit 0',
- ],
- },
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/profile.gyp b/deps/gyp/test/win/linker-flags/profile.gyp
deleted file mode 100644
index d60a700fbb..0000000000
--- a/deps/gyp/test/win/linker-flags/profile.gyp
+++ /dev/null
@@ -1,50 +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': [
- # Verify that 'Profile' option correctly makes it to LINK steup in Ninja
- {
- 'target_name': 'test_profile_true',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3'
- },
- 'VCLinkerTool': {
- 'Profile': 'true',
- 'GenerateDebugInformation': 'true',
- },
- },
- },
- {
- 'target_name': 'test_profile_false',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3'
- },
- 'VCLinkerTool': {
- 'Profile': 'false',
- 'GenerateDebugInformation': 'true',
- },
- },
- },
- {
- 'target_name': 'test_profile_default',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3'
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/program-database.gyp b/deps/gyp/test/win/linker-flags/program-database.gyp
deleted file mode 100644
index 6e60ac0dc9..0000000000
--- a/deps/gyp/test/win/linker-flags/program-database.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': [
- # Verify that 'ProgramDatabaseFile' option correctly makes it to LINK
- # step in Ninja.
- {
- # Verify that VC macros and windows paths work correctly.
- 'target_name': 'test_pdb_outdir',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3'
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': '$(OutDir)\\name_outdir.pdb',
- },
- },
- },
- {
- # Verify that GYP macros and POSIX paths work correctly.
- 'target_name': 'test_pdb_proddir',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3'
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': '<(PRODUCT_DIR)/name_proddir.pdb',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/safeseh.gyp b/deps/gyp/test/win/linker-flags/safeseh.gyp
deleted file mode 100644
index d4a62074b8..0000000000
--- a/deps/gyp/test/win/linker-flags/safeseh.gyp
+++ /dev/null
@@ -1,79 +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.
-
-{
- 'target_defaults': {
- 'configurations': {
- 'Default': {
- 'msvs_configuration_platform': 'Win32',
- },
- 'Default_x64': {
- 'inherit_from': ['Default'],
- 'msvs_configuration_platform': 'x64',
- },
- },
- },
- 'targets': [
- {
- 'target_name': 'test_safeseh_default',
- 'type': 'executable',
- 'msvs_settings': {
- # By default, msvs passes /SAFESEH for Link, but not for MASM. In
- # order for test_safeseh_default to link successfully, we need to
- # explicitly specify /SAFESEH for MASM.
- 'MASM': {
- 'UseSafeExceptionHandlers': 'true',
- },
- },
- 'sources': [
- 'safeseh_hello.cc',
- 'safeseh_zero.asm',
- ],
- },
- {
- 'target_name': 'test_safeseh_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'ImageHasSafeExceptionHandlers': 'false',
- },
- },
- 'sources': [
- 'safeseh_hello.cc',
- 'safeseh_zero.asm',
- ],
- },
- {
- 'target_name': 'test_safeseh_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'ImageHasSafeExceptionHandlers': 'true',
- },
- 'MASM': {
- 'UseSafeExceptionHandlers': 'true',
- },
- },
- 'sources': [
- 'safeseh_hello.cc',
- 'safeseh_zero.asm',
- ],
- },
- {
- # x64 targets cannot have ImageHasSafeExceptionHandlers or
- # UseSafeExceptionHandlers set.
- 'target_name': 'test_safeseh_x64',
- 'type': 'executable',
- 'configurations': {
- 'Default': {
- 'msvs_target_platform': 'x64',
- },
- },
- 'sources': [
- 'safeseh_hello.cc',
- 'safeseh_zero64.asm',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/safeseh_hello.cc b/deps/gyp/test/win/linker-flags/safeseh_hello.cc
deleted file mode 100644
index 6141300d2c..0000000000
--- a/deps/gyp/test/win/linker-flags/safeseh_hello.cc
+++ /dev/null
@@ -1,11 +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" {
-int zero(void);
-}
-
-int main() {
- return zero();
-}
diff --git a/deps/gyp/test/win/linker-flags/safeseh_zero.asm b/deps/gyp/test/win/linker-flags/safeseh_zero.asm
deleted file mode 100644
index 62da0df4f3..0000000000
--- a/deps/gyp/test/win/linker-flags/safeseh_zero.asm
+++ /dev/null
@@ -1,10 +0,0 @@
-.MODEL FLAT, C
-.CODE
-
-PUBLIC zero
-zero PROC
- xor eax, eax
- ret 0
-zero ENDP
-
-END
diff --git a/deps/gyp/test/win/linker-flags/safeseh_zero64.asm b/deps/gyp/test/win/linker-flags/safeseh_zero64.asm
deleted file mode 100644
index a4740c0dfb..0000000000
--- a/deps/gyp/test/win/linker-flags/safeseh_zero64.asm
+++ /dev/null
@@ -1,9 +0,0 @@
-.CODE
-
-PUBLIC zero
-zero PROC
- xor eax, eax
- ret 0
-zero ENDP
-
-END
diff --git a/deps/gyp/test/win/linker-flags/stacksize.gyp b/deps/gyp/test/win/linker-flags/stacksize.gyp
deleted file mode 100644
index bba44ca4a7..0000000000
--- a/deps/gyp/test/win/linker-flags/stacksize.gyp
+++ /dev/null
@@ -1,44 +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_default',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_set_reserved_size',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'StackReserveSize': 2097152, # 2MB
- }
- },
- },
- {
- 'target_name': 'test_set_commit_size',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'StackCommitSize': 8192, # 8KB
- }
- },
- },
- {
- 'target_name': 'test_set_both',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'StackReserveSize': 2097152, # 2MB
- 'StackCommitSize': 8192, # 8KB
- }
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/subdir/library.gyp b/deps/gyp/test/win/linker-flags/subdir/library.gyp
deleted file mode 100644
index 519577f0d7..0000000000
--- a/deps/gyp/test/win/linker-flags/subdir/library.gyp
+++ /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.
-
-{
- 'targets': [
- {
- 'target_name': 'test_lib',
- 'type': 'static_library',
- 'sources': ['../library-directories-define.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/subsystem-windows.cc b/deps/gyp/test/win/linker-flags/subsystem-windows.cc
deleted file mode 100644
index ac99da808e..0000000000
--- a/deps/gyp/test/win/linker-flags/subsystem-windows.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.
-
-#include <windows.h>
-
-int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int) {
- return 0;
-}
diff --git a/deps/gyp/test/win/linker-flags/subsystem.gyp b/deps/gyp/test/win/linker-flags/subsystem.gyp
deleted file mode 100644
index 63f072a206..0000000000
--- a/deps/gyp/test/win/linker-flags/subsystem.gyp
+++ /dev/null
@@ -1,70 +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_console_ok',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'SubSystem': '1'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_console_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'SubSystem': '1'
- }
- },
- 'sources': ['subsystem-windows.cc'],
- },
- {
- 'target_name': 'test_windows_ok',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'SubSystem': '2'
- }
- },
- 'sources': ['subsystem-windows.cc'],
- },
- {
- 'target_name': 'test_windows_fail',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'SubSystem': '2'
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_console_xp',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'SubSystem': '1',
- 'MinimumRequiredVersion': '5.01', # XP.
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_windows_xp',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'SubSystem': '2',
- 'MinimumRequiredVersion': '5.01', # XP.
- }
- },
- 'sources': ['subsystem-windows.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/target-machine.gyp b/deps/gyp/test/win/linker-flags/target-machine.gyp
deleted file mode 100644
index 30271926c9..0000000000
--- a/deps/gyp/test/win/linker-flags/target-machine.gyp
+++ /dev/null
@@ -1,48 +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_target_link_x86',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'TargetMachine': '1',
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_target_link_x64',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'TargetMachine': '17',
- },
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_target_lib_x86',
- 'type': 'static_library',
- 'msvs_settings': {
- 'VCLibrarianTool': {
- 'TargetMachine': '1',
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_target_lib_x64',
- 'type': 'static_library',
- 'msvs_settings': {
- 'VCLibrarianTool': {
- 'TargetMachine': '17',
- },
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/tsaware.gyp b/deps/gyp/test/win/linker-flags/tsaware.gyp
deleted file mode 100644
index 7ffc7426bb..0000000000
--- a/deps/gyp/test/win/linker-flags/tsaware.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_tsaware_no',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'TerminalServerAware': '1',
- }
- },
- 'sources': ['hello.cc'],
- },
- {
- 'target_name': 'test_tsaware_yes',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'TerminalServerAware': '2',
- },
- },
- 'sources': ['hello.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/unsupported-manifest.gyp b/deps/gyp/test/win/linker-flags/unsupported-manifest.gyp
deleted file mode 100644
index 5549e7cb9b..0000000000
--- a/deps/gyp/test/win/linker-flags/unsupported-manifest.gyp
+++ /dev/null
@@ -1,13 +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_unsupported',
- 'type': 'executable',
- 'sources': ['manifest-in-comment.cc'],
- },
- ],
-}
diff --git a/deps/gyp/test/win/linker-flags/update_pgd.py b/deps/gyp/test/win/linker-flags/update_pgd.py
deleted file mode 100644
index 176e9e5472..0000000000
--- a/deps/gyp/test/win/linker-flags/update_pgd.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-from optparse import OptionParser
-import glob
-import os
-import subprocess
-
-parser = OptionParser()
-parser.add_option('--exe', dest='exe')
-parser.add_option('--vcbindir', dest='vcbindir')
-parser.add_option('--pgd', dest='pgd')
-(options, args) = parser.parse_args()
-
-# Instrumented binaries fail to run unless the Visual C++'s bin dir is included
-# in the PATH environment variable.
-os.environ['PATH'] = os.environ['PATH'] + os.pathsep + options.vcbindir
-
-# Run Instrumented binary. The profile will be recorded into *.pgc file.
-subprocess.call([options.exe])
-
-# Merge *.pgc files into a *.pgd (Profile-Guided Database) file.
-subprocess.call(['pgomgr', '/merge', options.pgd])
-
-# *.pgc files are no longer necessary. Clear all of them.
-pgd_file = os.path.abspath(options.pgd)
-pgd_dir = os.path.dirname(pgd_file)
-(pgd_basename, _) = os.path.splitext(os.path.basename(pgd_file))
-pgc_filepattern = os.path.join(pgd_dir, '%s!*.pgc' % pgd_basename)
-pgc_files= glob.glob(pgc_filepattern)
-for pgc_file in pgc_files:
- os.unlink(pgc_file)
diff --git a/deps/gyp/test/win/linker-flags/warn-as-error.gyp b/deps/gyp/test/win/linker-flags/warn-as-error.gyp
deleted file mode 100644
index 83c67e9df1..0000000000
--- a/deps/gyp/test/win/linker-flags/warn-as-error.gyp
+++ /dev/null
@@ -1,33 +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_on',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'TreatLinkerWarningAsErrors': 'true',
- }
- },
- 'sources': ['link-warning.cc'],
- },
- {
- 'target_name': 'test_off',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'TreatLinkerWarningAsErrors': 'false',
- }
- },
- 'sources': ['link-warning.cc'],
- },
- {
- 'target_name': 'test_default',
- 'type': 'executable',
- 'sources': ['link-warning.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/linker-flags/x.cc b/deps/gyp/test/win/linker-flags/x.cc
deleted file mode 100644
index f5f763b095..0000000000
--- a/deps/gyp/test/win/linker-flags/x.cc
+++ /dev/null
@@ -1,7 +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 x() {
- return 1;
-}
diff --git a/deps/gyp/test/win/linker-flags/y.cc b/deps/gyp/test/win/linker-flags/y.cc
deleted file mode 100644
index bd884119fc..0000000000
--- a/deps/gyp/test/win/linker-flags/y.cc
+++ /dev/null
@@ -1,7 +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 y() {
- return 2;
-}
diff --git a/deps/gyp/test/win/linker-flags/z.cc b/deps/gyp/test/win/linker-flags/z.cc
deleted file mode 100644
index 8a43501270..0000000000
--- a/deps/gyp/test/win/linker-flags/z.cc
+++ /dev/null
@@ -1,7 +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 z() {
- return 3;
-}
diff --git a/deps/gyp/test/win/long-command-line/function.cc b/deps/gyp/test/win/long-command-line/function.cc
deleted file mode 100644
index af44b2cabd..0000000000
--- a/deps/gyp/test/win/long-command-line/function.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 func() {
- return 0;
-}
diff --git a/deps/gyp/test/win/long-command-line/hello.cc b/deps/gyp/test/win/long-command-line/hello.cc
deleted file mode 100644
index 1711567ef5..0000000000
--- a/deps/gyp/test/win/long-command-line/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/long-command-line/long-command-line.gyp b/deps/gyp/test/win/long-command-line/long-command-line.gyp
deleted file mode 100644
index 964c94fa94..0000000000
--- a/deps/gyp/test/win/long-command-line/long-command-line.gyp
+++ /dev/null
@@ -1,54 +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': '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',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/ml-safeseh/a.asm b/deps/gyp/test/win/ml-safeseh/a.asm
deleted file mode 100644
index 62da0df4f3..0000000000
--- a/deps/gyp/test/win/ml-safeseh/a.asm
+++ /dev/null
@@ -1,10 +0,0 @@
-.MODEL FLAT, C
-.CODE
-
-PUBLIC zero
-zero PROC
- xor eax, eax
- ret 0
-zero ENDP
-
-END
diff --git a/deps/gyp/test/win/ml-safeseh/hello.cc b/deps/gyp/test/win/ml-safeseh/hello.cc
deleted file mode 100644
index 6141300d2c..0000000000
--- a/deps/gyp/test/win/ml-safeseh/hello.cc
+++ /dev/null
@@ -1,11 +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" {
-int zero(void);
-}
-
-int main() {
- return zero();
-}
diff --git a/deps/gyp/test/win/ml-safeseh/ml-safeseh.gyp b/deps/gyp/test/win/ml-safeseh/ml-safeseh.gyp
deleted file mode 100644
index bf8618f865..0000000000
--- a/deps/gyp/test/win/ml-safeseh/ml-safeseh.gyp
+++ /dev/null
@@ -1,24 +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': 'ml_safeseh',
- 'type': 'executable',
- 'sources': [
- 'hello.cc',
- 'a.asm',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'ImageHasSafeExceptionHandlers': 'true',
- },
- 'MASM': {
- 'UseSafeExceptionHandlers': 'true',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/precompiled/gyptest-all.py b/deps/gyp/test/win/precompiled/gyptest-all.py
deleted file mode 100644
index 9fb5e62edf..0000000000
--- a/deps/gyp/test/win/precompiled/gyptest-all.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright (c) 2011 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.
-
-"""
-Verifies that precompiled headers can be specified.
-"""
-
-import TestGyp
-
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['msvs', 'ninja'], workdir='workarea_all')
- test.run_gyp('hello.gyp')
- test.build('hello.gyp', 'hello')
- test.run_built_executable('hello', stdout="Hello, world!\nHello, two!\n")
- test.up_to_date('hello.gyp', test.ALL)
- test.pass_test()
diff --git a/deps/gyp/test/win/precompiled/hello.c b/deps/gyp/test/win/precompiled/hello.c
deleted file mode 100644
index ffb47bf822..0000000000
--- a/deps/gyp/test/win/precompiled/hello.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Copyright (c) 2011 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. */
-
-// Note the abscence of a stdio.h include. This will be inserted because of the
-// precompiled header.
-
-extern int hello2();
-
-int main(void) {
- printf("Hello, world!\n");
- hello2();
- return 0;
-}
diff --git a/deps/gyp/test/win/precompiled/hello.gyp b/deps/gyp/test/win/precompiled/hello.gyp
deleted file mode 100644
index 5f82c53593..0000000000
--- a/deps/gyp/test/win/precompiled/hello.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': 'hello',
- 'type': 'executable',
- 'sources': [
- 'hello.c',
- 'hello2.c',
- 'precomp.c',
- ],
- 'msvs_precompiled_header': 'stdio.h',
- 'msvs_precompiled_source': 'precomp.c',
-
- # Required so that the printf actually causes a build failure
- # if the pch isn't included.
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '3',
- 'WarnAsError': 'true',
- },
- },
- },
- ],
-}
diff --git a/deps/gyp/test/win/precompiled/hello2.c b/deps/gyp/test/win/precompiled/hello2.c
deleted file mode 100644
index d6d53111fb..0000000000
--- a/deps/gyp/test/win/precompiled/hello2.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Copyright (c) 2011 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. */
-
-// Unlike hello.c, this file specifies the headers.
-
-#include <windows.h>
-#include <stdio.h>
-
-int hello2() {
- printf("Hello, two!\n");
- return 0;
-}
diff --git a/deps/gyp/test/win/precompiled/precomp.c b/deps/gyp/test/win/precompiled/precomp.c
deleted file mode 100644
index 517c61a36b..0000000000
--- a/deps/gyp/test/win/precompiled/precomp.c
+++ /dev/null
@@ -1,8 +0,0 @@
-/* Copyright (c) 2011 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. */
-
-// The precompiled header does not have to be the first one in the file.
-
-#include <windows.h>
-#include <stdio.h>
diff --git a/deps/gyp/test/win/rc-build/Resource.h b/deps/gyp/test/win/rc-build/Resource.h
deleted file mode 100644
index 137acf39b5..0000000000
--- a/deps/gyp/test/win/rc-build/Resource.h
+++ /dev/null
@@ -1,26 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by hello.rc
-//
-
-#define IDS_APP_TITLE 103
-
-#define IDR_MAINFRAME 128
-#define IDI_HELLO 107
-#define IDI_SMALL 108
-#define IDC_HELLO 109
-#ifndef IDC_STATIC
-#define IDC_STATIC -1
-#endif
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-
-#define _APS_NO_MFC 130
-#define _APS_NEXT_RESOURCE_VALUE 129
-#define _APS_NEXT_COMMAND_VALUE 32771
-#define _APS_NEXT_CONTROL_VALUE 1000
-#define _APS_NEXT_SYMED_VALUE 110
-#endif
-#endif
diff --git a/deps/gyp/test/win/rc-build/hello.cpp b/deps/gyp/test/win/rc-build/hello.cpp
deleted file mode 100644
index f552ca1591..0000000000
--- a/deps/gyp/test/win/rc-build/hello.cpp
+++ /dev/null
@@ -1,30 +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.
-
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#include <tchar.h>
-
-#include "resource.h"
-
-#define MAX_LOADSTRING 100
-
-TCHAR szTitle[MAX_LOADSTRING];
-TCHAR szWindowClass[MAX_LOADSTRING];
-
-int APIENTRY _tWinMain(
- HINSTANCE hInstance,
- HINSTANCE hPrevInstance,
- LPTSTR lpCmdLine,
- int nCmdShow) {
- // Make sure we can load some resources.
- int count = 0;
- LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
- if (szTitle[0] != 0) ++count;
- LoadString(hInstance, IDC_HELLO, szWindowClass, MAX_LOADSTRING);
- if (szWindowClass[0] != 0) ++count;
- if (LoadIcon(hInstance, MAKEINTRESOURCE(IDI_SMALL)) != NULL) ++count;
- if (LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HELLO)) != NULL) ++count;
- return count;
-}
diff --git a/deps/gyp/test/win/rc-build/hello.gyp b/deps/gyp/test/win/rc-build/hello.gyp
deleted file mode 100644
index 3a66357dd4..0000000000
--- a/deps/gyp/test/win/rc-build/hello.gyp
+++ /dev/null
@@ -1,92 +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': 'with_resources',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- 'VCResourceCompilerTool': {
- 'Culture' : '1033',
- },
- },
- 'sources': [
- 'hello.cpp',
- 'hello.rc',
- ],
- 'libraries': [
- 'kernel32.lib',
- 'user32.lib',
- ],
- },
- {
- 'target_name': 'with_resources_subdir',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- 'VCResourceCompilerTool': {
- 'Culture' : '1033',
- },
- },
- 'sources': [
- 'hello.cpp',
- 'subdir/hello2.rc',
- ],
- 'libraries': [
- 'kernel32.lib',
- 'user32.lib',
- ],
- },
- {
- 'target_name': 'with_include_subdir',
- 'type': 'executable',
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'DebugInformationFormat': '3',
- },
- 'VCLinkerTool': {
- 'GenerateDebugInformation': 'true',
- },
- 'VCResourceCompilerTool': {
- 'Culture' : '1033',
- },
- },
- 'resource_include_dirs': [
- '$(ProjectDir)\\subdir',
- ],
- 'sources': [
- 'hello.cpp',
- 'hello3.rc',
- ],
- 'libraries': [
- 'kernel32.lib',
- 'user32.lib',
- ],
- },
- {
- 'target_name': 'resource_only_dll',
- 'type': 'shared_library',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'ResourceOnlyDLL': 'true',
- },
- },
- 'sources': [
- 'hello.rc',
- ],
- },
- ],
-}
diff --git a/deps/gyp/test/win/rc-build/hello.h b/deps/gyp/test/win/rc-build/hello.h
deleted file mode 100644
index e60f2eb7ed..0000000000
--- a/deps/gyp/test/win/rc-build/hello.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#include "resource.h"
diff --git a/deps/gyp/test/win/rc-build/hello.ico b/deps/gyp/test/win/rc-build/hello.ico
deleted file mode 100644
index d551aa3aaf..0000000000
--- a/deps/gyp/test/win/rc-build/hello.ico
+++ /dev/null
Binary files differ
diff --git a/deps/gyp/test/win/rc-build/hello.rc b/deps/gyp/test/win/rc-build/hello.rc
deleted file mode 100644
index c9a7af6a07..0000000000
--- a/deps/gyp/test/win/rc-build/hello.rc
+++ /dev/null
@@ -1,86 +0,0 @@
-//Microsoft Visual C++ generated resource script.
-//
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#ifndef APSTUDIO_INVOKED
-#include "targetver.h"
-#endif
-#define APSTUDIO_HIDDEN_SYMBOLS
-#include "windows.h"
-#undef APSTUDIO_HIDDEN_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-LANGUAGE 9, 1
-#pragma code_page(932)
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-
-IDI_HELLO ICON "hello.ico"
-IDI_SMALL ICON "small.ico"
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#ifndef APSTUDIO_INVOKED\r\n"
- "#include ""targetver.h""\r\n"
- "#endif\r\n"
- "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""windows.h""\r\n"
- "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE
-BEGIN
- IDC_HELLO "HELLO"
- IDS_APP_TITLE "hello"
-END
-
-#endif
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
diff --git a/deps/gyp/test/win/rc-build/hello3.rc b/deps/gyp/test/win/rc-build/hello3.rc
deleted file mode 100644
index c74dede576..0000000000
--- a/deps/gyp/test/win/rc-build/hello3.rc
+++ /dev/null
@@ -1,87 +0,0 @@
-//Microsoft Visual C++ generated resource script.
-//
-#include "include.h"
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#ifndef APSTUDIO_INVOKED
-#include "targetver.h"
-#endif
-#define APSTUDIO_HIDDEN_SYMBOLS
-#include "windows.h"
-#undef APSTUDIO_HIDDEN_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-LANGUAGE 9, 1
-#pragma code_page(932)
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-
-IDI_HELLO ICON "hello.ico"
-IDI_SMALL ICON "small.ico"
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#ifndef APSTUDIO_INVOKED\r\n"
- "#include ""targetver.h""\r\n"
- "#endif\r\n"
- "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""windows.h""\r\n"
- "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE
-BEGIN
- IDC_HELLO "HELLO"
- IDS_APP_TITLE "hello"
-END
-
-#endif
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
diff --git a/deps/gyp/test/win/rc-build/small.ico b/deps/gyp/test/win/rc-build/small.ico
deleted file mode 100644
index d551aa3aaf..0000000000
--- a/deps/gyp/test/win/rc-build/small.ico
+++ /dev/null
Binary files differ
diff --git a/deps/gyp/test/win/rc-build/subdir/hello2.rc b/deps/gyp/test/win/rc-build/subdir/hello2.rc
deleted file mode 100644
index 4c8eab109e..0000000000
--- a/deps/gyp/test/win/rc-build/subdir/hello2.rc
+++ /dev/null
@@ -1,87 +0,0 @@
-//Microsoft Visual C++ generated resource script.
-//
-#include "subdir/include.h"
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#ifndef APSTUDIO_INVOKED
-#include "targetver.h"
-#endif
-#define APSTUDIO_HIDDEN_SYMBOLS
-#include "windows.h"
-#undef APSTUDIO_HIDDEN_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-LANGUAGE 9, 1
-#pragma code_page(932)
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-
-IDI_HELLO ICON "hello.ico"
-IDI_SMALL ICON "small.ico"
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#ifndef APSTUDIO_INVOKED\r\n"
- "#include ""targetver.h""\r\n"
- "#endif\r\n"
- "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "#include ""windows.h""\r\n"
- "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// String Table
-//
-
-STRINGTABLE
-BEGIN
- IDC_HELLO "HELLO"
- IDS_APP_TITLE "hello"
-END
-
-#endif
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
diff --git a/deps/gyp/test/win/rc-build/subdir/include.h b/deps/gyp/test/win/rc-build/subdir/include.h
deleted file mode 100644
index f15c48b422..0000000000
--- a/deps/gyp/test/win/rc-build/subdir/include.h
+++ /dev/null
@@ -1 +0,0 @@
-// Just exists to make sure it can be included.
diff --git a/deps/gyp/test/win/rc-build/targetver.h b/deps/gyp/test/win/rc-build/targetver.h
deleted file mode 100644
index f583181dfd..0000000000
--- a/deps/gyp/test/win/rc-build/targetver.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-// The following macros define the minimum required platform. The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
-// your application. The macros work by enabling all features available on platform versions up to and
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef WINVER // Specifies that the minimum required platform is Windows Vista.
-#define WINVER 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
-#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
-#endif
-
-#ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows 98.
-#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
-#endif
-
-#ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 7.0.
-#define _WIN32_IE 0x0700 // Change this to the appropriate value to target other versions of IE.
-#endif
diff --git a/deps/gyp/test/win/shard/hello.cc b/deps/gyp/test/win/shard/hello.cc
deleted file mode 100644
index a9dce62453..0000000000
--- a/deps/gyp/test/win/shard/hello.cc
+++ /dev/null
@@ -1,7 +0,0 @@
-// Copyright 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.
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/shard/hello1.cc b/deps/gyp/test/win/shard/hello1.cc
deleted file mode 100644
index 0eccf2861d..0000000000
--- a/deps/gyp/test/win/shard/hello1.cc
+++ /dev/null
@@ -1,7 +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 f1() {
- return 0;
-}
diff --git a/deps/gyp/test/win/shard/hello2.cc b/deps/gyp/test/win/shard/hello2.cc
deleted file mode 100644
index 23fcb546cb..0000000000
--- a/deps/gyp/test/win/shard/hello2.cc
+++ /dev/null
@@ -1,7 +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 f2() {
- return 0;
-}
diff --git a/deps/gyp/test/win/shard/hello3.cc b/deps/gyp/test/win/shard/hello3.cc
deleted file mode 100644
index a72e2efb5a..0000000000
--- a/deps/gyp/test/win/shard/hello3.cc
+++ /dev/null
@@ -1,7 +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 f3() {
- return 0;
-}
diff --git a/deps/gyp/test/win/shard/hello4.cc b/deps/gyp/test/win/shard/hello4.cc
deleted file mode 100644
index a94df19499..0000000000
--- a/deps/gyp/test/win/shard/hello4.cc
+++ /dev/null
@@ -1,7 +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 f4() {
- return 0;
-}
diff --git a/deps/gyp/test/win/shard/shard.gyp b/deps/gyp/test/win/shard/shard.gyp
deleted file mode 100644
index eac45fcff7..0000000000
--- a/deps/gyp/test/win/shard/shard.gyp
+++ /dev/null
@@ -1,31 +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': 'shard',
- 'type': 'static_library',
- 'msvs_shard': 4,
- 'sources': [
- 'hello1.cc',
- 'hello2.cc',
- 'hello3.cc',
- 'hello4.cc',
- ],
- 'product_dir': '<(PRODUCT_DIR)',
- },
- {
- 'target_name': 'refs_to_shard',
- 'type': 'executable',
- 'dependencies': [
- # Make sure references are correctly updated.
- 'shard',
- ],
- 'sources': [
- 'hello.cc',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/shard/shard_ref.gyp b/deps/gyp/test/win/shard/shard_ref.gyp
deleted file mode 100644
index 3ec8d76f99..0000000000
--- a/deps/gyp/test/win/shard/shard_ref.gyp
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 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': 'refs_to_shard_external_lib',
- 'type': 'static_library',
- 'dependencies': [
- # Make sure references in other files are updated correctly.
- 'shard.gyp:shard',
- ],
- 'sources': [
- 'hello.cc',
- ],
- },
- {
- 'target_name': 'refs_to_shard_external_exe',
- 'type': 'executable',
- 'dependencies': [
- # Make sure references in other files are updated correctly.
- 'shard.gyp:shard',
- ],
- 'sources': [
- 'hello.cc',
- ],
- },
- {
- 'target_name': 'refs_to_shard_external_dll',
- 'type': 'shared_library',
- 'dependencies': [
- # Make sure references in other files are updated correctly.
- 'shard.gyp:shard',
- ],
- 'sources': [
- 'hello.cc',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/system-include/bar/header.h b/deps/gyp/test/win/system-include/bar/header.h
deleted file mode 100644
index e69de29bb2..0000000000
--- a/deps/gyp/test/win/system-include/bar/header.h
+++ /dev/null
diff --git a/deps/gyp/test/win/system-include/common/commonheader.h b/deps/gyp/test/win/system-include/common/commonheader.h
deleted file mode 100644
index e69de29bb2..0000000000
--- a/deps/gyp/test/win/system-include/common/commonheader.h
+++ /dev/null
diff --git a/deps/gyp/test/win/system-include/foo/header.h b/deps/gyp/test/win/system-include/foo/header.h
deleted file mode 100644
index e69de29bb2..0000000000
--- a/deps/gyp/test/win/system-include/foo/header.h
+++ /dev/null
diff --git a/deps/gyp/test/win/system-include/main.cc b/deps/gyp/test/win/system-include/main.cc
deleted file mode 100644
index b04ea8a530..0000000000
--- a/deps/gyp/test/win/system-include/main.cc
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <commonheader.h>
-#include <header.h>
-
-int main() {}
diff --git a/deps/gyp/test/win/system-include/test.gyp b/deps/gyp/test/win/system-include/test.gyp
deleted file mode 100644
index 07f2636543..0000000000
--- a/deps/gyp/test/win/system-include/test.gyp
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- 'target_defaults': {
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'WarningLevel': '4',
- 'WarnAsError': 'true',
- },
- },
- 'msvs_system_include_dirs': [
- '$(ProjectName)', # Different for each target
- 'common', # Same for all targets
- ],
- },
- 'targets': [
- {
- 'target_name': 'foo',
- 'type': 'executable',
- 'sources': [ 'main.cc', ],
- },
- {
- 'target_name': 'bar',
- 'type': 'executable',
- 'sources': [ 'main.cc', ],
- },
- ],
-}
diff --git a/deps/gyp/test/win/uldi/a.cc b/deps/gyp/test/win/uldi/a.cc
deleted file mode 100644
index 0fe05d5afb..0000000000
--- a/deps/gyp/test/win/uldi/a.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/uldi/b.cc b/deps/gyp/test/win/uldi/b.cc
deleted file mode 100644
index 0fe05d5afb..0000000000
--- a/deps/gyp/test/win/uldi/b.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/uldi/dll.cc b/deps/gyp/test/win/uldi/dll.cc
deleted file mode 100644
index 93a6c19003..0000000000
--- a/deps/gyp/test/win/uldi/dll.cc
+++ /dev/null
@@ -1,6 +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.
-
-__declspec(dllexport) void SomeFunction() {
-}
diff --git a/deps/gyp/test/win/uldi/exe.cc b/deps/gyp/test/win/uldi/exe.cc
deleted file mode 100644
index b3039ace96..0000000000
--- a/deps/gyp/test/win/uldi/exe.cc
+++ /dev/null
@@ -1,7 +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.
-
-int main() {
- return 0;
-}
diff --git a/deps/gyp/test/win/uldi/main.cc b/deps/gyp/test/win/uldi/main.cc
deleted file mode 100644
index 81b46d863a..0000000000
--- a/deps/gyp/test/win/uldi/main.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.
-
-extern int some_function();
-
-int main() {
- some_function();
- return 0;
-}
diff --git a/deps/gyp/test/win/uldi/uldi-depending-on-module.gyp b/deps/gyp/test/win/uldi/uldi-depending-on-module.gyp
deleted file mode 100644
index 3e34de8418..0000000000
--- a/deps/gyp/test/win/uldi/uldi-depending-on-module.gyp
+++ /dev/null
@@ -1,42 +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': 'an_exe',
- 'type': 'executable',
- 'sources': ['exe.cc'],
- 'dependencies': [
- 'a_dll',
- ],
- },
- {
- 'target_name': 'a_dll',
- 'type': 'shared_library',
- 'sources': ['dll.cc'],
- 'dependencies': [
- 'a_lib',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'UseLibraryDependencyInputs': 'true'
- },
- },
- },
- {
- 'target_name': 'a_lib',
- 'type': 'static_library',
- 'dependencies': [
- 'a_module',
- ],
- 'sources': ['a.cc'],
- },
- {
- 'target_name': 'a_module',
- 'type': 'loadable_module',
- 'sources': ['a.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/uldi/uldi.gyp b/deps/gyp/test/win/uldi/uldi.gyp
deleted file mode 100644
index c32f5e0956..0000000000
--- a/deps/gyp/test/win/uldi/uldi.gyp
+++ /dev/null
@@ -1,45 +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': 'lib1',
- 'type': 'static_library',
- 'sources': ['a.cc'],
- },
- {
- 'target_name': 'final_uldi',
- 'type': 'executable',
- 'dependencies': [
- 'lib1',
- 'lib2',
- ],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'UseLibraryDependencyInputs': 'true'
- },
- },
- 'sources': ['main.cc'],
- },
- {
- 'target_name': 'final_no_uldi',
- 'type': 'executable',
- 'dependencies': [
- 'lib1',
- 'lib2',
- ],
- 'sources': ['main.cc'],
- },
- {
- 'target_name': 'lib2',
- 'type': 'static_library',
- # b.cc has the same named function as a.cc, but don't use the same name
- # so that the .obj will have a different name. If the obj file has the
- # same name, the linker will discard the obj file, invalidating the
- # test.
- 'sources': ['b.cc'],
- },
- ]
-}
diff --git a/deps/gyp/test/win/vs-macros/as.py b/deps/gyp/test/win/vs-macros/as.py
deleted file mode 100644
index e0bc3ae6f3..0000000000
--- a/deps/gyp/test/win/vs-macros/as.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-from optparse import OptionParser
-
-parser = OptionParser()
-parser.add_option('-a', dest='platform')
-parser.add_option('-o', dest='output')
-parser.add_option('-p', dest='path')
-(options, args) = parser.parse_args()
-
-f = open(options.output, 'w')
-print >>f, 'options', options
-print >>f, 'args', args
-f.close()
diff --git a/deps/gyp/test/win/vs-macros/containing-gyp.gyp b/deps/gyp/test/win/vs-macros/containing-gyp.gyp
deleted file mode 100644
index c07b639ff1..0000000000
--- a/deps/gyp/test/win/vs-macros/containing-gyp.gyp
+++ /dev/null
@@ -1,39 +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_expansions',
- 'msvs_cygwin_shell': 0,
- 'type': 'none',
- 'rules': [
- {
- 'rule_name': 'assembler (gnu-compatible)',
- 'msvs_cygwin_shell': 0,
- 'msvs_quote_cmd': 0,
- 'extension': 'S',
- 'inputs': [
- 'as.py',
- ],
- 'outputs': [
- '$(IntDir)/$(InputName).obj',
- ],
- 'action':
- ['python',
- 'as.py',
- '-a', '$(PlatformName)',
- '-o', '$(IntDir)/$(InputName).obj',
- '-p', '<(DEPTH)',
- '$(InputPath)'],
- 'message': 'Building assembly language file $(InputPath)',
- 'process_outputs_as_sources': 1,
- },
- ],
- 'sources': [
- 'input.S',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/vs-macros/do_stuff.py b/deps/gyp/test/win/vs-macros/do_stuff.py
deleted file mode 100644
index 4669d3139b..0000000000
--- a/deps/gyp/test/win/vs-macros/do_stuff.py
+++ /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.
-
-import sys
-
-input = open(sys.argv[1], "r").read()
-open(sys.argv[2], "w").write(input + "Modified.")
diff --git a/deps/gyp/test/win/vs-macros/hello.cc b/deps/gyp/test/win/vs-macros/hello.cc
deleted file mode 100644
index 1711567ef5..0000000000
--- a/deps/gyp/test/win/vs-macros/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/vs-macros/input-output-macros.gyp b/deps/gyp/test/win/vs-macros/input-output-macros.gyp
deleted file mode 100644
index b4520f8cb8..0000000000
--- a/deps/gyp/test/win/vs-macros/input-output-macros.gyp
+++ /dev/null
@@ -1,32 +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_expansions',
- 'msvs_cygwin_shell': 0,
- 'type': 'none',
- 'rules': [
- {
- 'rule_name': 'generate_file',
- 'extension': 'blah',
- 'inputs': [
- 'do_stuff.py',
- ],
- 'outputs': [
- '$(OutDir)\\<(RULE_INPUT_NAME).something',
- ],
- 'action': ['python',
- 'do_stuff.py',
- '<(RULE_INPUT_PATH)',
- '$(OutDir)\\<(RULE_INPUT_NAME).something',],
- },
- ],
- 'sources': [
- 'stuff.blah',
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/vs-macros/input.S b/deps/gyp/test/win/vs-macros/input.S
deleted file mode 100644
index e69de29bb2..0000000000
--- a/deps/gyp/test/win/vs-macros/input.S
+++ /dev/null
diff --git a/deps/gyp/test/win/vs-macros/projectname.gyp b/deps/gyp/test/win/vs-macros/projectname.gyp
deleted file mode 100644
index 625a177643..0000000000
--- a/deps/gyp/test/win/vs-macros/projectname.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_expansions',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(OutDir)\\$(ProjectName)_plus_something.exe',
- },
- },
- },
- {
- 'target_name': 'test_with_product_name',
- 'product_name': 'prod_name',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(OutDir)\\$(ProjectName)_plus_something.exe',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/vs-macros/stuff.blah b/deps/gyp/test/win/vs-macros/stuff.blah
deleted file mode 100644
index d438b4a787..0000000000
--- a/deps/gyp/test/win/vs-macros/stuff.blah
+++ /dev/null
@@ -1 +0,0 @@
-Random data file.
diff --git a/deps/gyp/test/win/vs-macros/targetext.gyp b/deps/gyp/test/win/vs-macros/targetext.gyp
deleted file mode 100644
index 11f580e4a6..0000000000
--- a/deps/gyp/test/win/vs-macros/targetext.gyp
+++ /dev/null
@@ -1,59 +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_targetext_executable',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\executable$(TargetExt)',
- },
- },
- },
- {
- 'target_name': 'test_targetext_loadable_module',
- 'type': 'loadable_module',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\loadable_module$(TargetExt)',
- },
- },
- },
- {
- 'target_name': 'test_targetext_shared_library',
- 'type': 'shared_library',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\shared_library$(TargetExt)',
- },
- },
- },
- {
- 'target_name': 'test_targetext_static_library',
- 'type': 'static_library',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLibrarianTool': {
- 'OutputFile': '$(TargetDir)\\static_library$(TargetExt)',
- },
- },
- },
- {
- 'target_name': 'test_targetext_product_extension',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'product_extension': 'library',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\product_extension$(TargetExt)',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/vs-macros/targetfilename.gyp b/deps/gyp/test/win/vs-macros/targetfilename.gyp
deleted file mode 100644
index 8287320278..0000000000
--- a/deps/gyp/test/win/vs-macros/targetfilename.gyp
+++ /dev/null
@@ -1,59 +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_targetfilename_executable',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetFileName)',
- },
- },
- },
- {
- 'target_name': 'test_targetfilename_loadable_module',
- 'type': 'loadable_module',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetFileName)',
- },
- },
- },
- {
- 'target_name': 'test_targetfilename_shared_library',
- 'type': 'loadable_module',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetFileName)',
- },
- },
- },
- {
- 'target_name': 'test_targetfilename_static_library',
- 'type': 'static_library',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLibrarianTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetFileName)',
- },
- },
- },
- {
- 'target_name': 'test_targetfilename_product_extension',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'product_extension': 'foo',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetFileName)',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/vs-macros/targetname.gyp b/deps/gyp/test/win/vs-macros/targetname.gyp
deleted file mode 100644
index a53d3c0aa3..0000000000
--- a/deps/gyp/test/win/vs-macros/targetname.gyp
+++ /dev/null
@@ -1,52 +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_targetname',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetName)_plus_something1.exe',
- },
- },
- },
- {
- 'target_name': 'test_targetname_with_prefix',
- 'product_prefix': 'prod_prefix',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetName)_plus_something2.exe',
- },
- },
- },
- {
- 'target_name': 'test_targetname_with_prodname',
- 'product_name': 'prod_name',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetName)_plus_something3.exe',
- },
- },
- },
- {
- 'target_name': 'test_targetname_with_prodname_with_prefix',
- 'product_name': 'prod_name',
- 'product_prefix': 'prod_prefix',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetDir)\\$(TargetName)_plus_something4.exe',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/vs-macros/targetpath.gyp b/deps/gyp/test/win/vs-macros/targetpath.gyp
deleted file mode 100644
index a8699ffb25..0000000000
--- a/deps/gyp/test/win/vs-macros/targetpath.gyp
+++ /dev/null
@@ -1,59 +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_targetpath_executable',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetPath)',
- },
- },
- },
- {
- 'target_name': 'test_targetpath_loadable_module',
- 'type': 'loadable_module',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetPath)',
- },
- },
- },
- {
- 'target_name': 'test_targetpath_shared_library',
- 'type': 'loadable_module',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetPath)',
- },
- },
- },
- {
- 'target_name': 'test_targetpath_static_library',
- 'type': 'static_library',
- 'sources': ['hello.cc'],
- 'msvs_settings': {
- 'VCLibrarianTool': {
- 'OutputFile': '$(TargetPath)',
- },
- },
- },
- {
- 'target_name': 'test_targetpath_product_extension',
- 'type': 'executable',
- 'sources': ['hello.cc'],
- 'product_extension': 'foo',
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'OutputFile': '$(TargetPath)',
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/vs-macros/test_exists.py b/deps/gyp/test/win/vs-macros/test_exists.py
deleted file mode 100644
index f5c90ad6f2..0000000000
--- a/deps/gyp/test/win/vs-macros/test_exists.py
+++ /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.
-
-import os
-import sys
-
-if not os.path.exists(sys.argv[1]):
- raise
-open(sys.argv[2], 'w').close()
diff --git a/deps/gyp/test/win/vs-macros/vcinstalldir.gyp b/deps/gyp/test/win/vs-macros/vcinstalldir.gyp
deleted file mode 100644
index 3763a4eb18..0000000000
--- a/deps/gyp/test/win/vs-macros/vcinstalldir.gyp
+++ /dev/null
@@ -1,41 +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_slash_trailing',
- 'type': 'none',
- 'msvs_cygwin_shell': '0',
- 'actions': [
- {
- 'action_name': 'root',
- 'inputs': [],
- 'outputs': ['out1'],
- 'action': ['python', 'test_exists.py', '$(VCInstallDir)', 'out1']
- },
- ],
- },
- {
- 'target_name': 'test_slash_dir',
- 'type': 'none',
- 'msvs_cygwin_shell': '0',
- 'actions': [
- {
- 'action_name': 'bin',
- 'inputs': [],
- 'outputs': ['out2'],
- 'action': ['python', 'test_exists.py', '$(VCInstallDir)bin', 'out2'],
- },
- {
- 'action_name': 'compiler',
- 'inputs': [],
- 'outputs': ['out3'],
- 'action': [
- 'python', 'test_exists.py', '$(VCInstallDir)bin\\cl.exe', 'out3'],
- },
- ],
- },
- ]
-}
diff --git a/deps/gyp/test/win/win-tool/copies_readonly_files.gyp b/deps/gyp/test/win/win-tool/copies_readonly_files.gyp
deleted file mode 100644
index 3cd7e69f1a..0000000000
--- a/deps/gyp/test/win/win-tool/copies_readonly_files.gyp
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- 'targets': [
- {
- 'target_name': 'foo',
- 'type': 'none',
- 'copies': [
- {
- 'destination': '<(PRODUCT_DIR)/dest',
- 'files': [
- 'read-only-file',
- ],
- },
- ],
- }, # target: foo
-
- {
- 'target_name': 'bar',
- 'type': 'none',
- 'copies': [
- {
- 'destination': '<(PRODUCT_DIR)/dest',
- 'files': [
- 'subdir/',
- ],
- },
- ],
- }, # target: bar
- ],
-}
diff --git a/deps/gyp/test/win/win-tool/gyptest-win-tool-handles-readonly-files.py b/deps/gyp/test/win/win-tool/gyptest-win-tool-handles-readonly-files.py
deleted file mode 100644
index 951b952775..0000000000
--- a/deps/gyp/test/win/win-tool/gyptest-win-tool-handles-readonly-files.py
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/usr/bin/env python
-
-# 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.
-
-"""
-Make sure overwriting read-only files works as expected (via win-tool).
-"""
-
-import TestGyp
-
-import filecmp
-import os
-import stat
-import sys
-
-if sys.platform == 'win32':
- test = TestGyp.TestGyp(formats=['ninja'])
-
- # First, create the source files.
- os.makedirs('subdir')
- read_only_files = ['read-only-file', 'subdir/A', 'subdir/B', 'subdir/C']
- for f in read_only_files:
- test.write(f, 'source_contents')
- test.chmod(f, stat.S_IREAD)
- if os.access(f, os.W_OK):
- test.fail_test()
-
- # Second, create the read-only destination files. Note that we are creating
- # them where the ninja and win-tool will try to copy them to, in order to test
- # that copies overwrite the files.
- os.makedirs(test.built_file_path('dest/subdir'))
- for f in read_only_files:
- f = os.path.join('dest', f)
- test.write(test.built_file_path(f), 'SHOULD BE OVERWRITTEN')
- test.chmod(test.built_file_path(f), stat.S_IREAD)
- # Ensure not writable.
- if os.access(test.built_file_path(f), os.W_OK):
- test.fail_test()
-
- test.run_gyp('copies_readonly_files.gyp')
- test.build('copies_readonly_files.gyp')
-
- # Check the destination files were overwritten by ninja.
- for f in read_only_files:
- f = os.path.join('dest', f)
- test.must_contain(test.built_file_path(f), 'source_contents')
-
- # This will fail if the files are not the same mode or contents.
- for f in read_only_files:
- if not filecmp.cmp(f, test.built_file_path(os.path.join('dest', f))):
- test.fail_test()
-
- test.pass_test()
diff --git a/deps/gyp/test/win/winrt-app-type-revision/dllmain.cc b/deps/gyp/test/win/winrt-app-type-revision/dllmain.cc
deleted file mode 100644
index dedd83c3f6..0000000000
--- a/deps/gyp/test/win/winrt-app-type-revision/dllmain.cc
+++ /dev/null
@@ -1,30 +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.
-
-#include <windows.h>
-#include <wrl.h>
-#include <wrl/wrappers/corewrappers.h>
-#include <windows.graphics.display.h>
-
-using namespace Microsoft::WRL;
-using namespace Microsoft::WRL::Wrappers;
-using namespace ABI::Windows::Foundation;
-using namespace ABI::Windows::Graphics::Display;
-
-bool TryToUseSomeWinRT() {
- ComPtr<IDisplayPropertiesStatics> dp;
- HStringReference s(RuntimeClass_Windows_Graphics_Display_DisplayProperties);
- HRESULT hr = GetActivationFactory(s.Get(), dp.GetAddressOf());
- if (SUCCEEDED(hr)) {
- float dpi = 96.0f;
- if (SUCCEEDED(dp->get_LogicalDpi(&dpi))) {
- return true;
- }
- }
- return false;
-}
-
-BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
- return TRUE;
-}
diff --git a/deps/gyp/test/win/winrt-app-type-revision/winrt-app-type-revison.gyp b/deps/gyp/test/win/winrt-app-type-revision/winrt-app-type-revison.gyp
deleted file mode 100644
index 5f37b5a2ab..0000000000
--- a/deps/gyp/test/win/winrt-app-type-revision/winrt-app-type-revison.gyp
+++ /dev/null
@@ -1,43 +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': 'enable_winrt_81_revision_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'msvs_application_type_revision': '8.1'
- 'sources': [
- 'dllmain.cc',
- ],
- },
- {
- 'target_name': 'enable_winrt_82_revision_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'msvs_application_type_revision': '8.2'
- 'sources': [
- 'dllmain.cc',
- ],
- },
- {
- 'target_name': 'enable_winrt_invalid_revision_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'msvs_application_type_revision': '999'
- 'sources': [
- 'dllmain.cc',
- ],
- },
- 'msvs_settings': {
- 'VCLinkerTool': {
- 'AdditionalDependencies': [
- '%(AdditionalDependencies)',
- ],
- },
- },
- },
- ]
-}
diff --git a/deps/gyp/test/win/winrt-target-platform-version/dllmain.cc b/deps/gyp/test/win/winrt-target-platform-version/dllmain.cc
deleted file mode 100644
index d71460c924..0000000000
--- a/deps/gyp/test/win/winrt-target-platform-version/dllmain.cc
+++ /dev/null
@@ -1,30 +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 <windows.h>
-#include <wrl.h>
-#include <wrl/wrappers/corewrappers.h>
-#include <windows.graphics.display.h>
-
-using namespace Microsoft::WRL;
-using namespace Microsoft::WRL::Wrappers;
-using namespace ABI::Windows::Foundation;
-using namespace ABI::Windows::Graphics::Display;
-
-bool TryToUseSomeWinRT() {
- ComPtr<IDisplayPropertiesStatics> dp;
- HStringReference s(RuntimeClass_Windows_Graphics_Display_DisplayProperties);
- HRESULT hr = GetActivationFactory(s.Get(), dp.GetAddressOf());
- if (SUCCEEDED(hr)) {
- float dpi = 96.0f;
- if (SUCCEEDED(dp->get_LogicalDpi(&dpi))) {
- return true;
- }
- }
- return false;
-}
-
-BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
- return TRUE;
-}
diff --git a/deps/gyp/test/win/winrt-target-platform-version/winrt-target-platform-version.gyp b/deps/gyp/test/win/winrt-target-platform-version/winrt-target-platform-version.gyp
deleted file mode 100644
index dbcfac6962..0000000000
--- a/deps/gyp/test/win/winrt-target-platform-version/winrt-target-platform-version.gyp
+++ /dev/null
@@ -1,49 +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': 'enable_winrt_10_platversion_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'msvs_application_type_revision': '10.0',
- 'msvs_target_platform_version':'10.0.10240.0',
- 'msvs_target_platform_minversion':'10.0.10240.0'
- 'sources': [
- 'dllmain.cc',
- ],
- },
- {
- 'target_name': 'enable_winrt_10_platversion_nominver_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'msvs_application_type_revision': '10.0',
- 'msvs_target_platform_version':'10.0.10240.0',
- 'sources': [
- 'dllmain.cc',
- ],
- },
- {
- 'target_name': 'enable_winrt_9_platversion_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'msvs_application_type_revision': '10.0',
- 'msvs_target_platform_version':'9.0.0.0',
- 'msvs_target_platform_minversion':'9.0.0.0'
- 'sources': [
- 'dllmain.cc',
- ],
- },
- {
- 'target_name': 'enable_winrt_missing_platversion_dll',
- 'type': 'shared_library',
- 'msvs_enable_winrt': 1,
- 'msvs_application_type_revision': '10.0',
- 'sources': [
- 'dllmain.cc',
- ],
- },
- ]
-}