From 7ef5ff5fc14365a2e85d5b7dce185f8d11150698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Mon, 17 Dec 2018 21:02:52 +0100 Subject: [PATCH] deps: remove test-related GYP files - Less files to maintain. - We don't use them. - We build with GN to run V8 tests. Fixes: https://github.com/nodejs/node/issues/25095 Refs: https://github.com/nodejs/node/issues/25010 --- deps/v8/gypfiles/all.gyp | 4 - deps/v8/gypfiles/cctest.gyp | 468 ---------------------- deps/v8/gypfiles/fuzzer.gyp | 518 ------------------------- deps/v8/gypfiles/gmock.gyp | 72 ---- deps/v8/gypfiles/gtest.gyp | 122 ------ deps/v8/gypfiles/inspector-test.gyp | 39 -- deps/v8/gypfiles/run-tests-legacy.py | 50 --- deps/v8/gypfiles/standalone.gypi | 4 - deps/v8/gypfiles/unittests.gyp | 287 -------------- deps/v8/gypfiles/v8.gyp | 4 - deps/v8/gypfiles/verify_source_deps.py | 15 - 11 files changed, 1583 deletions(-) delete mode 100644 deps/v8/gypfiles/cctest.gyp delete mode 100644 deps/v8/gypfiles/fuzzer.gyp delete mode 100644 deps/v8/gypfiles/gmock.gyp delete mode 100644 deps/v8/gypfiles/gtest.gyp delete mode 100644 deps/v8/gypfiles/inspector-test.gyp delete mode 100644 deps/v8/gypfiles/run-tests-legacy.py delete mode 100644 deps/v8/gypfiles/unittests.gyp diff --git a/deps/v8/gypfiles/all.gyp b/deps/v8/gypfiles/all.gyp index 5592ee1b36ca0f..99248205b600c7 100644 --- a/deps/v8/gypfiles/all.gyp +++ b/deps/v8/gypfiles/all.gyp @@ -9,7 +9,6 @@ 'type': 'none', 'dependencies': [ 'd8.gyp:d8', - 'inspector-test.gyp:*', 'mkgrokdump.gyp:*', ], 'conditions': [ @@ -22,9 +21,6 @@ ['host_os!="mac" or OS!="android"', { 'dependencies': [ 'samples.gyp:*', - 'cctest.gyp:*', - 'fuzzer.gyp:*', - 'unittests.gyp:*', ], }], ] diff --git a/deps/v8/gypfiles/cctest.gyp b/deps/v8/gypfiles/cctest.gyp deleted file mode 100644 index 6e7fddae0bdb34..00000000000000 --- a/deps/v8/gypfiles/cctest.gyp +++ /dev/null @@ -1,468 +0,0 @@ -# Copyright 2012 the V8 project 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': { - 'v8_code': 1, - 'generated_file': '<(SHARED_INTERMEDIATE_DIR)/resources.cc', - 'cctest_sources': [ - '../test/cctest/compiler/c-signature.h', - '../test/cctest/compiler/call-tester.h', - '../test/cctest/compiler/codegen-tester.cc', - '../test/cctest/compiler/codegen-tester.h', - '../test/cctest/compiler/code-assembler-tester.h', - '../test/cctest/compiler/function-tester.cc', - '../test/cctest/compiler/function-tester.h', - '../test/cctest/compiler/graph-builder-tester.h', - '../test/cctest/compiler/test-basic-block-profiler.cc', - '../test/cctest/compiler/test-branch-combine.cc', - '../test/cctest/compiler/test-run-unwinding-info.cc', - '../test/cctest/compiler/test-gap-resolver.cc', - '../test/cctest/compiler/test-graph-visualizer.cc', - '../test/cctest/compiler/test-code-generator.cc', - '../test/cctest/compiler/test-code-assembler.cc', - '../test/cctest/compiler/test-instruction.cc', - '../test/cctest/compiler/test-js-context-specialization.cc', - '../test/cctest/compiler/test-js-constant-cache.cc', - '../test/cctest/compiler/test-js-typed-lowering.cc', - '../test/cctest/compiler/test-jump-threading.cc', - '../test/cctest/compiler/test-linkage.cc', - '../test/cctest/compiler/test-loop-analysis.cc', - '../test/cctest/compiler/test-machine-operator-reducer.cc', - '../test/cctest/compiler/test-multiple-return.cc', - '../test/cctest/compiler/test-node.cc', - '../test/cctest/compiler/test-operator.cc', - '../test/cctest/compiler/test-representation-change.cc', - '../test/cctest/compiler/test-run-bytecode-graph-builder.cc', - '../test/cctest/compiler/test-run-calls-to-external-references.cc', - '../test/cctest/compiler/test-run-deopt.cc', - '../test/cctest/compiler/test-run-intrinsics.cc', - '../test/cctest/compiler/test-run-jsbranches.cc', - '../test/cctest/compiler/test-run-jscalls.cc', - '../test/cctest/compiler/test-run-jsexceptions.cc', - '../test/cctest/compiler/test-run-jsobjects.cc', - '../test/cctest/compiler/test-run-jsops.cc', - '../test/cctest/compiler/test-run-load-store.cc', - '../test/cctest/compiler/test-run-machops.cc', - '../test/cctest/compiler/test-run-native-calls.cc', - '../test/cctest/compiler/test-run-retpoline.cc', - '../test/cctest/compiler/test-run-stackcheck.cc', - '../test/cctest/compiler/test-run-stubs.cc', - '../test/cctest/compiler/test-run-tail-calls.cc', - '../test/cctest/compiler/test-run-variables.cc', - '../test/cctest/compiler/test-run-wasm-machops.cc', - '../test/cctest/compiler/value-helper.cc', - '../test/cctest/compiler/value-helper.h', - '../test/cctest/cctest.cc', - '../test/cctest/cctest.h', - '../test/cctest/expression-type-collector-macros.h', - '../test/cctest/gay-fixed.cc', - '../test/cctest/gay-fixed.h', - '../test/cctest/gay-precision.cc', - '../test/cctest/gay-precision.h', - '../test/cctest/gay-shortest.cc', - '../test/cctest/gay-shortest.h', - '../test/cctest/heap/heap-tester.h', - '../test/cctest/heap/heap-utils.cc', - '../test/cctest/heap/heap-utils.h', - '../test/cctest/heap/test-alloc.cc', - '../test/cctest/heap/test-array-buffer-tracker.cc', - '../test/cctest/heap/test-compaction.cc', - '../test/cctest/heap/test-concurrent-marking.cc', - '../test/cctest/heap/test-embedder-tracing.cc', - '../test/cctest/heap/test-heap.cc', - '../test/cctest/heap/test-incremental-marking.cc', - '../test/cctest/heap/test-invalidated-slots.cc', - '../test/cctest/heap/test-lab.cc', - '../test/cctest/heap/test-mark-compact.cc', - '../test/cctest/heap/test-page-promotion.cc', - '../test/cctest/heap/test-spaces.cc', - '../test/cctest/interpreter/interpreter-tester.cc', - '../test/cctest/interpreter/interpreter-tester.h', - '../test/cctest/interpreter/source-position-matcher.cc', - '../test/cctest/interpreter/source-position-matcher.h', - '../test/cctest/interpreter/test-bytecode-generator.cc', - '../test/cctest/interpreter/test-interpreter.cc', - '../test/cctest/interpreter/test-interpreter-intrinsics.cc', - '../test/cctest/interpreter/test-source-positions.cc', - '../test/cctest/interpreter/bytecode-expectations-printer.cc', - '../test/cctest/interpreter/bytecode-expectations-printer.h', - '../test/cctest/libplatform/test-tracing.cc', - '../test/cctest/libsampler/test-sampler.cc', - '../test/cctest/parsing/test-parse-decision.cc', - '../test/cctest/parsing/test-preparser.cc', - '../test/cctest/parsing/test-scanner-streams.cc', - '../test/cctest/parsing/test-scanner.cc', - '../test/cctest/print-extension.cc', - '../test/cctest/print-extension.h', - '../test/cctest/profiler-extension.cc', - '../test/cctest/profiler-extension.h', - '../test/cctest/scope-test-helper.h', - '../test/cctest/setup-isolate-for-tests.cc', - '../test/cctest/setup-isolate-for-tests.h', - '../test/cctest/test-access-checks.cc', - '../test/cctest/test-accessor-assembler.cc', - '../test/cctest/test-accessors.cc', - '../test/cctest/test-allocation.cc', - '../test/cctest/test-api.cc', - '../test/cctest/test-api.h', - '../test/cctest/test-api-accessors.cc', - '../test/cctest/test-api-interceptors.cc', - '../test/cctest/test-array-list.cc', - '../test/cctest/test-atomicops.cc', - '../test/cctest/test-bignum.cc', - '../test/cctest/test-bignum-dtoa.cc', - '../test/cctest/test-bit-vector.cc', - '../test/cctest/test-circular-queue.cc', - '../test/cctest/test-code-layout.cc', - '../test/cctest/test-code-stub-assembler.cc', - '../test/cctest/test-compiler.cc', - '../test/cctest/test-constantpool.cc', - '../test/cctest/test-conversions.cc', - '../test/cctest/test-cpu-profiler.cc', - '../test/cctest/test-date.cc', - '../test/cctest/test-debug.cc', - '../test/cctest/test-decls.cc', - '../test/cctest/test-deoptimization.cc', - '../test/cctest/test-dictionary.cc', - '../test/cctest/test-diy-fp.cc', - '../test/cctest/test-double.cc', - '../test/cctest/test-dtoa.cc', - '../test/cctest/test-elements-kind.cc', - '../test/cctest/test-fast-dtoa.cc', - '../test/cctest/test-feedback-vector.cc', - '../test/cctest/test-feedback-vector.h', - '../test/cctest/test-field-type-tracking.cc', - '../test/cctest/test-fixed-dtoa.cc', - '../test/cctest/test-flags.cc', - '../test/cctest/test-func-name-inference.cc', - '../test/cctest/test-global-handles.cc', - '../test/cctest/test-global-object.cc', - '../test/cctest/test-hashcode.cc', - '../test/cctest/test-hashmap.cc', - '../test/cctest/test-heap-profiler.cc', - '../test/cctest/test-identity-map.cc', - '../test/cctest/test-intl.cc', - '../test/cctest/test-inobject-slack-tracking.cc', - '../test/cctest/test-isolate-independent-builtins.cc', - '../test/cctest/test-liveedit.cc', - '../test/cctest/test-lockers.cc', - '../test/cctest/test-log.cc', - '../test/cctest/test-managed.cc', - '../test/cctest/test-mementos.cc', - '../test/cctest/test-modules.cc', - '../test/cctest/test-object.cc', - '../test/cctest/test-orderedhashtable.cc', - '../test/cctest/test-parsing.cc', - '../test/cctest/test-platform.cc', - '../test/cctest/test-profile-generator.cc', - '../test/cctest/test-random-number-generator.cc', - '../test/cctest/test-regexp.cc', - '../test/cctest/test-representation.cc', - '../test/cctest/test-sampler-api.cc', - '../test/cctest/test-serialize.cc', - '../test/cctest/test-strings.cc', - '../test/cctest/test-symbols.cc', - '../test/cctest/test-strtod.cc', - '../test/cctest/test-thread-termination.cc', - '../test/cctest/test-threads.cc', - '../test/cctest/test-trace-event.cc', - '../test/cctest/test-traced-value.cc', - '../test/cctest/test-transitions.cc', - '../test/cctest/test-transitions.h', - '../test/cctest/test-typedarrays.cc', - '../test/cctest/test-types.cc', - '../test/cctest/test-unbound-queue.cc', - '../test/cctest/test-unboxed-doubles.cc', - '../test/cctest/test-unscopables-hidden-prototype.cc', - '../test/cctest/test-usecounters.cc', - '../test/cctest/test-utils.cc', - '../test/cctest/test-version.cc', - '../test/cctest/test-weakmaps.cc', - '../test/cctest/test-weaksets.cc', - '../test/cctest/trace-extension.cc', - '../test/cctest/trace-extension.h', - '../test/cctest/types-fuzz.h', - '../test/cctest/unicode-helpers.h', - '../test/cctest/wasm/test-c-wasm-entry.cc', - '../test/cctest/wasm/test-streaming-compilation.cc', - '../test/cctest/wasm/test-run-wasm.cc', - '../test/cctest/wasm/test-run-wasm-64.cc', - '../test/cctest/wasm/test-run-wasm-asmjs.cc', - '../test/cctest/wasm/test-run-wasm-atomics.cc', - '../test/cctest/wasm/test-run-wasm-interpreter.cc', - '../test/cctest/wasm/test-run-wasm-js.cc', - '../test/cctest/wasm/test-run-wasm-module.cc', - '../test/cctest/wasm/test-run-wasm-relocation.cc', - '../test/cctest/wasm/test-run-wasm-sign-extension.cc', - '../test/cctest/wasm/test-run-wasm-simd.cc', - '../test/cctest/wasm/test-wasm-breakpoints.cc', - "../test/cctest/wasm/test-wasm-codegen.cc", - '../test/cctest/wasm/test-wasm-interpreter-entry.cc', - '../test/cctest/wasm/test-wasm-stack.cc', - '../test/cctest/wasm/test-wasm-trap-position.cc', - '../test/cctest/wasm/wasm-run-utils.cc', - '../test/cctest/wasm/wasm-run-utils.h', - ], - 'cctest_sources_ia32': [ - '../test/cctest/test-assembler-ia32.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-code-stubs-ia32.cc', - '../test/cctest/test-disasm-ia32.cc', - '../test/cctest/test-log-stack-tracer.cc', - '../test/cctest/test-run-wasm-relocation-ia32.cc', - ], - 'cctest_sources_x64': [ - '../test/cctest/test-assembler-x64.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-code-stubs-x64.cc', - '../test/cctest/test-disasm-x64.cc', - '../test/cctest/test-macro-assembler-x64.cc', - '../test/cctest/test-log-stack-tracer.cc', - '../test/cctest/test-run-wasm-relocation-x64.cc', - ], - 'cctest_sources_arm': [ - '../test/cctest/assembler-helper-arm.cc', - '../test/cctest/assembler-helper-arm.h', - '../test/cctest/test-assembler-arm.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-code-stubs-arm.cc', - '../test/cctest/test-disasm-arm.cc', - '../test/cctest/test-macro-assembler-arm.cc', - '../test/cctest/test-run-wasm-relocation-arm.cc', - '../test/cctest/test-sync-primitives-arm.cc', - ], - 'cctest_sources_arm64': [ - '../test/cctest/test-utils-arm64.cc', - '../test/cctest/test-utils-arm64.h', - '../test/cctest/test-assembler-arm64.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-code-stubs-arm64.cc', - '../test/cctest/test-disasm-arm64.cc', - '../test/cctest/test-fuzz-arm64.cc', - '../test/cctest/test-javascript-arm64.cc', - '../test/cctest/test-js-arm64-variables.cc', - '../test/cctest/test-run-wasm-relocation-arm64.cc', - '../test/cctest/test-sync-primitives-arm64.cc', - ], - 'cctest_sources_s390': [ - '../test/cctest/test-assembler-s390.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-disasm-s390.cc', - ], - 'cctest_sources_ppc': [ - '../test/cctest/test-assembler-ppc.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-disasm-ppc.cc', - ], - 'cctest_sources_mips': [ - '../test/cctest/test-assembler-mips.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-code-stubs-mips.cc', - '../test/cctest/test-disasm-mips.cc', - '../test/cctest/test-macro-assembler-mips.cc', - ], - 'cctest_sources_mipsel': [ - '../test/cctest/test-assembler-mips.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-code-stubs-mips.cc', - '../test/cctest/test-disasm-mips.cc', - '../test/cctest/test-macro-assembler-mips.cc', - ], - 'cctest_sources_mips64': [ - '../test/cctest/test-assembler-mips64.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-code-stubs-mips64.cc', - '../test/cctest/test-disasm-mips64.cc', - '../test/cctest/test-macro-assembler-mips64.cc', - ], - 'cctest_sources_mips64el': [ - '../test/cctest/test-assembler-mips64.cc', - '../test/cctest/test-code-stubs.cc', - '../test/cctest/test-code-stubs.h', - '../test/cctest/test-code-stubs-mips64.cc', - '../test/cctest/test-disasm-mips64.cc', - '../test/cctest/test-macro-assembler-mips64.cc', - ], - }, - 'includes': ['toolchain.gypi', 'features.gypi'], - 'targets': [ - { - 'target_name': 'cctest', - 'type': 'executable', - 'dependencies': [ - 'resources', - 'v8.gyp:v8_libbase', - 'v8.gyp:v8_libplatform', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/common/wasm/flag-utils.h', - '../test/common/wasm/test-signatures.h', - '../test/common/wasm/wasm-macro-gen.h', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '<@(cctest_sources)', - '<(generated_file)', - ], - 'conditions': [ - ['v8_target_arch=="ia32"', { - 'sources': [ - '<@(cctest_sources_ia32)', - ], - }], - ['v8_target_arch=="x64"', { - 'sources': [ - '<@(cctest_sources_x64)', - ], - }], - ['v8_target_arch=="arm"', { - 'sources': [ - '<@(cctest_sources_arm)', - ], - }], - ['v8_target_arch=="arm64"', { - 'sources': [ - '<@(cctest_sources_arm64)', - ], - }], - ['v8_target_arch=="s390"', { - 'sources': [ - '<@(cctest_sources_s390)', - ], - }], - ['v8_target_arch=="s390x"', { - 'sources': [ - '<@(cctest_sources_s390)', - ], - }], - ['v8_target_arch=="ppc"', { - 'sources': [ - '<@(cctest_sources_ppc)', - ], - }], - ['v8_target_arch=="ppc64"', { - 'sources': [ - '<@(cctest_sources_ppc)', - ], - }], - ['v8_target_arch=="mips"', { - 'sources': [ - '<@(cctest_sources_mips)', - ], - }], - ['v8_target_arch=="mipsel"', { - 'sources': [ - '<@(cctest_sources_mipsel)', - ], - }], - ['v8_target_arch=="mips64"', { - 'sources': [ - '<@(cctest_sources_mips64)', - ], - }], - ['v8_target_arch=="mips64el"', { - 'sources': [ - '<@(cctest_sources_mips64el)', - ], - }], - [ 'OS=="win"', { - 'msvs_settings': { - 'VCCLCompilerTool': { - # MSVS wants this for gay-{precision,shortest}.cc. - 'AdditionalOptions': ['/bigobj'], - }, - }, - }], - ['v8_target_arch=="ppc" or v8_target_arch=="ppc64" \ - or v8_target_arch=="arm" or v8_target_arch=="arm64" \ - or v8_target_arch=="s390" or v8_target_arch=="s390x" \ - or v8_target_arch=="mips" or v8_target_arch=="mips64" \ - or v8_target_arch=="mipsel" or v8_target_arch=="mips64el"', { - # disable fmadd/fmsub so that expected results match generated code in - # RunFloat64MulAndFloat64Add1 and friends. - 'cflags': ['-ffp-contract=off'], - }], - ['OS=="aix"', { - 'ldflags': [ '-Wl,-bbigtoc' ], - }], - ['component=="shared_library"', { - # cctest can't be built against a shared library, so we need to - # depend on the underlying static target in that case. - 'dependencies': ['v8.gyp:v8_maybe_snapshot'], - 'defines': [ 'BUILDING_V8_SHARED', ] - }, { - 'dependencies': ['v8.gyp:v8'], - }], - ['v8_use_snapshot=="true"', { - 'dependencies': ['v8.gyp:v8_initializers'], - }], - ], - }, - { - 'target_name': 'resources', - 'type': 'none', - 'variables': { - 'file_list': [ - '../tools/splaytree.js', - '../tools/codemap.js', - '../tools/csvparser.js', - '../tools/consarray.js', - '../tools/profile.js', - '../tools/profile_view.js', - '../tools/arguments.js', - '../tools/logreader.js', - '../test/cctest/log-eq-of-logging-and-traversal.js', - ], - }, - 'actions': [ - { - 'action_name': 'js2c', - 'inputs': [ - '../tools/js2c.py', - '<@(file_list)', - ], - 'outputs': [ - '<(generated_file)', - ], - 'action': [ - 'python', - '../tools/js2c.py', - '<@(_outputs)', - 'TEST', # type - '<@(file_list)', - ], - } - ], - }, - { - 'target_name': 'generate-bytecode-expectations', - 'type': 'executable', - 'dependencies': [ - 'v8.gyp:v8', - 'v8.gyp:v8_libbase', - 'v8.gyp:v8_libplatform', - ], - 'include_dirs+': [ - '..', - ], - 'sources': [ - '../test/cctest/interpreter/bytecode-expectations-printer.cc', - '../test/cctest/interpreter/bytecode-expectations-printer.h', - '../test/cctest/interpreter/generate-bytecode-expectations.cc', - ], - }, - ], -} diff --git a/deps/v8/gypfiles/fuzzer.gyp b/deps/v8/gypfiles/fuzzer.gyp deleted file mode 100644 index f65b7dc6d0fb25..00000000000000 --- a/deps/v8/gypfiles/fuzzer.gyp +++ /dev/null @@ -1,518 +0,0 @@ -# Copyright 2016 the V8 project 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': { - 'v8_code': 1, - }, - 'includes': ['toolchain.gypi', 'features.gypi'], - 'targets': [ - { - 'target_name': 'v8_simple_json_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'json_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'json_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/json.cc', - ], - }, - { - 'target_name': 'v8_simple_parser_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'parser_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'parser_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/parser.cc', - ], - }, - { - 'target_name': 'v8_simple_regexp_builtins_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'regexp_builtins_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'regexp_builtins_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/regexp-builtins.cc', - '../test/fuzzer/regexp_builtins/mjsunit.js.h', - ], - }, - { - 'target_name': 'v8_simple_regexp_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'regexp_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'regexp_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/regexp.cc', - ], - }, - { - 'target_name': 'v8_simple_multi_return_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'multi_return_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'multi_return_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/cctest/compiler/c-signature.h', - '../test/cctest/compiler/call-helper.h', - '../test/cctest/compiler/raw-machine-assembler-tester.h', - '../test/fuzzer/multi-return.cc', - ], - }, - { - 'target_name': 'v8_simple_wasm_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_async_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_async_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_async_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-async.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_code_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_code_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_code_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-code.cc', - '../test/common/wasm/test-signatures.h', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_compile_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_compile_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_compile_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-compile.cc', - '../test/common/wasm/test-signatures.h', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_data_section_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_data_section_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_data_section_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-data-section.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_function_sigs_section_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_function_sigs_section_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_function_sigs_section_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-function-sigs-section.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_globals_section_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_globals_section_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_globals_section_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-globals-section.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_imports_section_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_imports_section_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_imports_section_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-imports-section.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_memory_section_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_memory_section_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_memory_section_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-memory-section.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_names_section_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_names_section_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_names_section_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-names-section.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'v8_simple_wasm_types_section_fuzzer', - 'type': 'executable', - 'dependencies': [ - 'wasm_types_section_fuzzer_lib', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer.cc', - ], - }, - { - 'target_name': 'wasm_types_section_fuzzer_lib', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'fuzzer_support', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/wasm-types-section.cc', - '../test/common/wasm/wasm-module-runner.cc', - '../test/common/wasm/wasm-module-runner.h', - '../test/fuzzer/wasm-fuzzer-common.cc', - '../test/fuzzer/wasm-fuzzer-common.h', - ], - }, - { - 'target_name': 'fuzzer_support', - 'type': 'static_library', - 'dependencies': [ - 'v8.gyp:v8', - 'v8.gyp:v8_libbase', - 'v8.gyp:v8_libplatform', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/fuzzer/fuzzer-support.cc', - '../test/fuzzer/fuzzer-support.h', - ], - 'conditions': [ - ['v8_enable_i18n_support==1', { - 'dependencies': [ - '<(icu_gyp_path):icui18n', - '<(icu_gyp_path):icuuc', - ], - }], - ], - }, - ], -} diff --git a/deps/v8/gypfiles/gmock.gyp b/deps/v8/gypfiles/gmock.gyp deleted file mode 100644 index a80387298b1503..00000000000000 --- a/deps/v8/gypfiles/gmock.gyp +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2014 the V8 project 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': 'gmock', - 'type': 'static_library', - 'dependencies': [ - 'gtest.gyp:gtest', - ], - 'sources': [ - # Sources based on files in r173 of gmock. - '../testing/gmock/include/gmock/gmock-actions.h', - '../testing/gmock/include/gmock/gmock-cardinalities.h', - '../testing/gmock/include/gmock/gmock-generated-actions.h', - '../testing/gmock/include/gmock/gmock-generated-function-mockers.h', - '../testing/gmock/include/gmock/gmock-generated-matchers.h', - '../testing/gmock/include/gmock/gmock-generated-nice-strict.h', - '../testing/gmock/include/gmock/gmock-matchers.h', - '../testing/gmock/include/gmock/gmock-spec-builders.h', - '../testing/gmock/include/gmock/gmock.h', - '../testing/gmock/include/gmock/internal/gmock-generated-internal-utils.h', - '../testing/gmock/include/gmock/internal/gmock-internal-utils.h', - '../testing/gmock/include/gmock/internal/gmock-port.h', - '../testing/gmock/src/gmock-all.cc', - '../testing/gmock/src/gmock-cardinalities.cc', - '../testing/gmock/src/gmock-internal-utils.cc', - '../testing/gmock/src/gmock-matchers.cc', - '../testing/gmock/src/gmock-spec-builders.cc', - '../testing/gmock/src/gmock.cc', - '../testing/gmock-support.h', # gMock helpers - '../testing/gmock_custom/gmock/internal/custom/gmock-port.h', - ], - 'sources!': [ - '../testing/gmock/src/gmock-all.cc', # Not needed by our build. - ], - 'include_dirs': [ - '../testing/gmock_custom', - '../testing/gmock', - '../testing/gmock/include', - ], - 'all_dependent_settings': { - 'include_dirs': [ - '../testing/gmock_custom', - '../testing/gmock/include', # So that gmock headers can find themselves. - ], - }, - 'export_dependent_settings': [ - 'gtest.gyp:gtest', - ], - 'conditions': [ - ['want_separate_host_toolset==1', { - 'toolsets': ['host', 'target'], - }, { - 'toolsets': ['target'], - }], - ], - }, - { - 'target_name': 'gmock_main', - 'type': 'static_library', - 'dependencies': [ - 'gmock', - ], - 'sources': [ - '../testing/gmock/src/gmock_main.cc', - ], - }, - ], -} diff --git a/deps/v8/gypfiles/gtest.gyp b/deps/v8/gypfiles/gtest.gyp deleted file mode 100644 index 82ae105293fbfc..00000000000000 --- a/deps/v8/gypfiles/gtest.gyp +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 2014 the V8 project 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': 'gtest', - 'toolsets': ['host', 'target'], - 'type': 'static_library', - 'sources': [ - '../testing/gtest/include/gtest/gtest-death-test.h', - '../testing/gtest/include/gtest/gtest-message.h', - '../testing/gtest/include/gtest/gtest-param-test.h', - '../testing/gtest/include/gtest/gtest-printers.h', - '../testing/gtest/include/gtest/gtest-spi.h', - '../testing/gtest/include/gtest/gtest-test-part.h', - '../testing/gtest/include/gtest/gtest-typed-test.h', - '../testing/gtest/include/gtest/gtest.h', - '../testing/gtest/include/gtest/gtest_pred_impl.h', - '../testing/gtest/include/gtest/internal/gtest-death-test-internal.h', - '../testing/gtest/include/gtest/internal/gtest-filepath.h', - '../testing/gtest/include/gtest/internal/gtest-internal.h', - '../testing/gtest/include/gtest/internal/gtest-linked_ptr.h', - '../testing/gtest/include/gtest/internal/gtest-param-util-generated.h', - '../testing/gtest/include/gtest/internal/gtest-param-util.h', - '../testing/gtest/include/gtest/internal/gtest-port.h', - '../testing/gtest/include/gtest/internal/gtest-string.h', - '../testing/gtest/include/gtest/internal/gtest-tuple.h', - '../testing/gtest/include/gtest/internal/gtest-type-util.h', - '../testing/gtest/src/gtest-all.cc', - '../testing/gtest/src/gtest-death-test.cc', - '../testing/gtest/src/gtest-filepath.cc', - '../testing/gtest/src/gtest-internal-inl.h', - '../testing/gtest/src/gtest-port.cc', - '../testing/gtest/src/gtest-printers.cc', - '../testing/gtest/src/gtest-test-part.cc', - '../testing/gtest/src/gtest-typed-test.cc', - '../testing/gtest/src/gtest.cc', - '../testing/gtest-support.h', - ], - 'sources!': [ - '../testing/gtest/src/gtest-all.cc', # Not needed by our build. - ], - 'include_dirs': [ - '../testing/gtest', - '../testing/gtest/include', - ], - 'dependencies': [ - 'gtest_prod', - ], - 'defines': [ - # In order to allow regex matches in gtest to be shared between Windows - # and other systems, we tell gtest to always use it's internal engine. - 'GTEST_HAS_POSIX_RE=0', - 'GTEST_LANG_CXX11=1', - ], - 'all_dependent_settings': { - 'defines': [ - 'GTEST_HAS_POSIX_RE=0', - 'GTEST_LANG_CXX11=1', - ], - }, - 'conditions': [ - ['OS=="android"', { - 'defines': [ - 'GTEST_HAS_CLONE=0', - ], - 'direct_dependent_settings': { - 'defines': [ - 'GTEST_HAS_CLONE=0', - ], - }, - }], - ], - 'direct_dependent_settings': { - 'defines': [ - 'UNIT_TEST', - ], - 'include_dirs': [ - '../testing/gtest/include', # So that gtest headers can find themselves. - ], - 'target_conditions': [ - ['_type=="executable"', { - 'test': 1, - 'conditions': [ - ['OS=="mac"', { - 'run_as': { - 'action????': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}'], - }, - }], - ['OS=="win"', { - 'run_as': { - 'action????': ['$(TargetPath)', '--gtest_print_time'], - }, - }], - ], - }], - ], - 'msvs_disabled_warnings': [4800], - }, - }, - { - 'target_name': 'gtest_main', - 'type': 'static_library', - 'dependencies': [ - 'gtest', - ], - 'sources': [ - '../testing/gtest/src/gtest_main.cc', - ], - }, - { - 'target_name': 'gtest_prod', - 'toolsets': ['host', 'target'], - 'type': 'none', - 'sources': [ - '../testing/gtest/include/gtest/gtest_prod.h', - ], - }, - ], -} diff --git a/deps/v8/gypfiles/inspector-test.gyp b/deps/v8/gypfiles/inspector-test.gyp deleted file mode 100644 index c8cc5561a4cf79..00000000000000 --- a/deps/v8/gypfiles/inspector-test.gyp +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2016 the V8 project 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': { - 'v8_code': 1, - }, - 'includes': ['toolchain.gypi', 'features.gypi'], - 'targets': [ - { - 'target_name': 'inspector-test', - 'type': 'executable', - 'dependencies': [ - 'v8.gyp:v8_libplatform', - 'v8.gyp:v8_libbase', - 'v8.gyp:v8', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '../test/inspector/inspector-test.cc', - '../test/inspector/isolate-data.cc', - '../test/inspector/isolate-data.h', - '../test/inspector/task-runner.cc', - '../test/inspector/task-runner.h', - ], - 'conditions': [ - ['v8_enable_i18n_support==1', { - 'dependencies': [ - '<(icu_gyp_path):icui18n', - '<(icu_gyp_path):icuuc', - ], - }], - ], - }, - ], -} diff --git a/deps/v8/gypfiles/run-tests-legacy.py b/deps/v8/gypfiles/run-tests-legacy.py deleted file mode 100644 index f1ea478c62d62e..00000000000000 --- a/deps/v8/gypfiles/run-tests-legacy.py +++ /dev/null @@ -1,50 +0,0 @@ -#!/usr/bin/env python -# Copyright 2017 the V8 project authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -""" -Legacy test-runner wrapper supporting a product of multiple architectures and -modes. -""" - -import argparse -import itertools -from os.path import abspath, dirname, join -import subprocess -import sys - -BASE_DIR = dirname(dirname(abspath(__file__))) -RUN_TESTS = join(BASE_DIR, 'tools', 'run-tests.py') - -def main(): - parser = argparse.ArgumentParser(description='Legacy test-runner wrapper') - parser.add_argument( - '--arch', help='Comma-separated architectures to run tests on') - parser.add_argument( - '--mode', help='Comma-separated modes to run tests on') - parser.add_argument( - '--arch-and-mode', - help='Architecture and mode in the format \'arch.mode\'', - ) - - args, remaining_args = parser.parse_known_args(sys.argv) - if (args.arch or args.mode) and args.arch_and_mode: - parser.error('The flags --arch-and-mode and --arch/--mode are exclusive.') - arch = (args.arch or 'ia32,x64,arm').split(',') - mode = (args.mode or 'release,debug').split(',') - if args.arch_and_mode: - arch_and_mode = map( - lambda am: am.split('.'), - args.arch_and_mode.split(',')) - arch = map(lambda am: am[0], arch_and_mode) - mode = map(lambda am: am[1], arch_and_mode) - - ret_code = 0 - for a, m in itertools.product(arch, mode): - ret_code |= subprocess.check_call( - [RUN_TESTS] + remaining_args[1:] + ['--arch', a, '--mode', m]) - return ret_code - -if __name__ == '__main__': - sys.exit(main()) diff --git a/deps/v8/gypfiles/standalone.gypi b/deps/v8/gypfiles/standalone.gypi index 178f0f82564308..2b894b8c593afd 100644 --- a/deps/v8/gypfiles/standalone.gypi +++ b/deps/v8/gypfiles/standalone.gypi @@ -209,10 +209,6 @@ 'sysroot%': '<(sysroot)', 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', - # Add a simple extras solely for the purpose of the cctests - 'v8_extra_library_files': ['../test/cctest/test-extra.js'], - 'v8_experimental_extra_library_files': ['../test/cctest/test-experimental-extra.js'], - # .gyp files or targets should set v8_code to 1 if they build V8 specific # code, as opposed to external code. This variable is used to control such # things as the set of warnings to enable, and whether warnings are treated diff --git a/deps/v8/gypfiles/unittests.gyp b/deps/v8/gypfiles/unittests.gyp deleted file mode 100644 index c6d3713b0cf54e..00000000000000 --- a/deps/v8/gypfiles/unittests.gyp +++ /dev/null @@ -1,287 +0,0 @@ -# Copyright 2014 the V8 project authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# The sources are kept automatically in sync with BUILD.gn. - -{ - 'variables': { - 'v8_code': 1, - 'unittests_sources': [ - '../test/unittests/allocation-unittest.cc', - '../test/unittests/api/access-check-unittest.cc', - '../test/unittests/api/exception-unittest.cc', - '../test/unittests/api/interceptor-unittest.cc', - '../test/unittests/api/isolate-unittest.cc', - '../test/unittests/api/remote-object-unittest.cc', - '../test/unittests/api/v8-object-unittest.cc', - '../test/unittests/asmjs/asm-scanner-unittest.cc', - '../test/unittests/asmjs/asm-types-unittest.cc', - '../test/unittests/asmjs/switch-logic-unittest.cc', - '../test/unittests/base/atomic-utils-unittest.cc', - '../test/unittests/base/bits-unittest.cc', - '../test/unittests/base/cpu-unittest.cc', - '../test/unittests/base/division-by-constant-unittest.cc', - '../test/unittests/base/flags-unittest.cc', - '../test/unittests/base/functional-unittest.cc', - '../test/unittests/base/ieee754-unittest.cc', - '../test/unittests/base/logging-unittest.cc', - '../test/unittests/base/macros-unittest.cc', - '../test/unittests/base/iterator-unittest.cc', - '../test/unittests/base/ostreams-unittest.cc', - '../test/unittests/base/platform/condition-variable-unittest.cc', - '../test/unittests/base/platform/mutex-unittest.cc', - '../test/unittests/base/platform/platform-unittest.cc', - '../test/unittests/base/platform/semaphore-unittest.cc', - '../test/unittests/base/platform/time-unittest.cc', - '../test/unittests/base/sys-info-unittest.cc', - '../test/unittests/base/template-utils-unittest.cc', - '../test/unittests/base/utils/random-number-generator-unittest.cc', - '../test/unittests/bigint-unittest.cc', - '../test/unittests/cancelable-tasks-unittest.cc', - '../test/unittests/char-predicates-unittest.cc', - "../test/unittests/code-stub-assembler-unittest.cc", - "../test/unittests/code-stub-assembler-unittest.h", - '../test/unittests/compiler/branch-elimination-unittest.cc', - '../test/unittests/compiler/bytecode-analysis-unittest.cc', - '../test/unittests/compiler/checkpoint-elimination-unittest.cc', - "../test/unittests/compiler/code-assembler-unittest.cc", - "../test/unittests/compiler/code-assembler-unittest.h", - '../test/unittests/compiler/common-operator-reducer-unittest.cc', - '../test/unittests/compiler/common-operator-unittest.cc', - '../test/unittests/compiler/compiler-test-utils.h', - '../test/unittests/compiler/control-equivalence-unittest.cc', - '../test/unittests/compiler/control-flow-optimizer-unittest.cc', - '../test/unittests/compiler/dead-code-elimination-unittest.cc', - '../test/unittests/compiler/diamond-unittest.cc', - '../test/unittests/compiler/effect-control-linearizer-unittest.cc', - '../test/unittests/compiler/graph-reducer-unittest.cc', - '../test/unittests/compiler/graph-reducer-unittest.h', - '../test/unittests/compiler/graph-trimmer-unittest.cc', - '../test/unittests/compiler/graph-unittest.cc', - '../test/unittests/compiler/graph-unittest.h', - '../test/unittests/compiler/instruction-unittest.cc', - '../test/unittests/compiler/instruction-selector-unittest.cc', - '../test/unittests/compiler/instruction-selector-unittest.h', - '../test/unittests/compiler/instruction-sequence-unittest.cc', - '../test/unittests/compiler/instruction-sequence-unittest.h', - '../test/unittests/compiler/int64-lowering-unittest.cc', - '../test/unittests/compiler/js-builtin-reducer-unittest.cc', - '../test/unittests/compiler/js-create-lowering-unittest.cc', - '../test/unittests/compiler/js-intrinsic-lowering-unittest.cc', - '../test/unittests/compiler/js-operator-unittest.cc', - '../test/unittests/compiler/js-typed-lowering-unittest.cc', - '../test/unittests/compiler/linkage-tail-call-unittest.cc', - '../test/unittests/compiler/live-range-builder.h', - '../test/unittests/compiler/regalloc/live-range-unittest.cc', - '../test/unittests/compiler/load-elimination-unittest.cc', - '../test/unittests/compiler/loop-peeling-unittest.cc', - '../test/unittests/compiler/machine-operator-reducer-unittest.cc', - '../test/unittests/compiler/machine-operator-unittest.cc', - '../test/unittests/compiler/regalloc/move-optimizer-unittest.cc', - '../test/unittests/compiler/node-cache-unittest.cc', - '../test/unittests/compiler/node-matchers-unittest.cc', - '../test/unittests/compiler/node-properties-unittest.cc', - '../test/unittests/compiler/node-test-utils.cc', - '../test/unittests/compiler/node-test-utils.h', - '../test/unittests/compiler/node-unittest.cc', - '../test/unittests/compiler/opcodes-unittest.cc', - '../test/unittests/compiler/persistent-unittest.cc', - '../test/unittests/compiler/regalloc/register-allocator-unittest.cc', - '../test/unittests/compiler/schedule-unittest.cc', - '../test/unittests/compiler/scheduler-unittest.cc', - '../test/unittests/compiler/scheduler-rpo-unittest.cc', - '../test/unittests/compiler/simplified-lowering-unittest.cc', - '../test/unittests/compiler/simplified-operator-reducer-unittest.cc', - '../test/unittests/compiler/simplified-operator-unittest.cc', - '../test/unittests/compiler/state-values-utils-unittest.cc', - '../test/unittests/compiler/typed-optimization-unittest.cc', - '../test/unittests/compiler/typer-unittest.cc', - '../test/unittests/compiler/value-numbering-reducer-unittest.cc', - '../test/unittests/compiler/zone-stats-unittest.cc', - '../test/unittests/compiler-dispatcher/compiler-dispatcher-tracer-unittest.cc', - '../test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc', - '../test/unittests/compiler-dispatcher/optimizing-compile-dispatcher-unittest.cc', - '../test/unittests/compiler-dispatcher/unoptimized-compile-job-unittest.cc', - '../test/unittests/counters-unittest.cc', - '../test/unittests/detachable-vector-unittest.cc', - '../test/unittests/eh-frame-iterator-unittest.cc', - '../test/unittests/eh-frame-writer-unittest.cc', - '../test/unittests/heap/barrier-unittest.cc', - '../test/unittests/heap/bitmap-unittest.cc', - '../test/unittests/heap/embedder-tracing-unittest.cc', - '../test/unittests/heap/gc-idle-time-handler-unittest.cc', - '../test/unittests/heap/gc-tracer-unittest.cc', - '../test/unittests/heap/item-parallel-job-unittest.cc', - '../test/unittests/heap/marking-unittest.cc', - '../test/unittests/heap/memory-reducer-unittest.cc', - '../test/unittests/heap/object-stats-unittest.cc', - '../test/unittests/heap/heap-unittest.cc', - '../test/unittests/heap/scavenge-job-unittest.cc', - '../test/unittests/heap/slot-set-unittest.cc', - '../test/unittests/heap/spaces-unittest.cc', - '../test/unittests/heap/unmapper-unittest.cc', - '../test/unittests/heap/worklist-unittest.cc', - '../test/unittests/interpreter/bytecodes-unittest.cc', - '../test/unittests/interpreter/bytecode-array-builder-unittest.cc', - '../test/unittests/interpreter/bytecode-array-iterator-unittest.cc', - '../test/unittests/interpreter/bytecode-array-random-iterator-unittest.cc', - '../test/unittests/interpreter/bytecode-array-writer-unittest.cc', - '../test/unittests/interpreter/bytecode-decoder-unittest.cc', - '../test/unittests/interpreter/bytecode-node-unittest.cc', - '../test/unittests/interpreter/bytecode-operands-unittest.cc', - '../test/unittests/interpreter/bytecode-register-allocator-unittest.cc', - '../test/unittests/interpreter/bytecode-register-optimizer-unittest.cc', - '../test/unittests/interpreter/bytecode-source-info-unittest.cc', - '../test/unittests/interpreter/bytecode-utils.h', - '../test/unittests/interpreter/constant-array-builder-unittest.cc', - '../test/unittests/interpreter/interpreter-assembler-unittest.cc', - '../test/unittests/interpreter/interpreter-assembler-unittest.h', - '../test/unittests/libplatform/default-platform-unittest.cc', - '../test/unittests/libplatform/task-queue-unittest.cc', - '../test/unittests/libplatform/worker-thread-unittest.cc', - '../test/unittests/locked-queue-unittest.cc', - '../test/unittests/object-unittest.cc', - '../test/unittests/parser/ast-value-unittest.cc', - '../test/unittests/parser/preparser-unittest.cc', - '../test/unittests/register-configuration-unittest.cc', - '../test/unittests/run-all-unittests.cc', - '../test/unittests/source-position-table-unittest.cc', - '../test/unittests/test-helpers.cc', - '../test/unittests/test-helpers.h', - '../test/unittests/test-utils.h', - '../test/unittests/test-utils.cc', - '../test/unittests/unicode-unittest.cc', - '../test/unittests/utils-unittest.cc', - '../test/unittests/value-serializer-unittest.cc', - '../test/unittests/zone/segmentpool-unittest.cc', - '../test/unittests/zone/zone-allocator-unittest.cc', - '../test/unittests/zone/zone-chunk-list-unittest.cc', - '../test/unittests/zone/zone-unittest.cc', - '../test/unittests/wasm/control-transfer-unittest.cc', - '../test/unittests/wasm/decoder-unittest.cc', - '../test/unittests/wasm/function-body-decoder-unittest.cc', - '../test/unittests/wasm/wasm-code-manager-unittest.cc', - '../test/unittests/wasm/leb-helper-unittest.cc', - '../test/unittests/wasm/loop-assignment-analysis-unittest.cc', - '../test/unittests/wasm/module-decoder-unittest.cc', - '../test/unittests/wasm/streaming-decoder-unittest.cc', - '../test/unittests/wasm/trap-handler-unittest.cc', - '../test/unittests/wasm/wasm-macro-gen-unittest.cc', - '../test/unittests/wasm/wasm-module-builder-unittest.cc', - '../test/unittests/wasm/wasm-opcodes-unittest.cc', - ], - 'unittests_sources_arm': [ - '../test/unittests/compiler/arm/instruction-selector-arm-unittest.cc', - ], - 'unittests_sources_arm64': [ - '../test/unittests/compiler/arm64/instruction-selector-arm64-unittest.cc', - ], - 'unittests_sources_ia32': [ - '../test/unittests/compiler/ia32/instruction-selector-ia32-unittest.cc', - ], - 'unittests_sources_mips': [ - '../test/unittests/compiler/mips/instruction-selector-mips-unittest.cc', - ], - 'unittests_sources_mips64': [ - '../test/unittests/compiler/mips64/instruction-selector-mips64-unittest.cc', - ], - 'unittests_sources_x64': [ - '../test/unittests/compiler/x64/instruction-selector-x64-unittest.cc', - ], - 'unittests_sources_ppc': [ - '../test/unittests/compiler/ppc/instruction-selector-ppc-unittest.cc', - ], - 'unittests_sources_s390': [ - '../test/unittests/compiler/s390/instruction-selector-s390-unittest.cc', - ], - }, - 'includes': ['toolchain.gypi', 'features.gypi'], - 'targets': [ - { - 'target_name': 'unittests', - 'type': 'executable', - 'variables': { - 'optimize': 'max', - }, - 'dependencies': [ - 'gmock.gyp:gmock', - 'gtest.gyp:gtest', - 'v8.gyp:v8', - 'v8.gyp:v8_libbase', - 'v8.gyp:v8_libplatform', - 'v8.gyp:v8_maybe_snapshot', - ], - 'include_dirs': [ - '..', - ], - 'sources': [ - '<@(unittests_sources)', - ], - 'conditions': [ - ['v8_target_arch=="arm"', { - 'sources': [ - '<@(unittests_sources_arm)', - ], - }], - ['v8_target_arch=="arm64"', { - 'sources': [ - '<@(unittests_sources_arm64)', - ], - }], - ['v8_target_arch=="ia32"', { - 'sources': [ - '<@(unittests_sources_ia32)', - ], - }], - ['v8_target_arch=="mips"', { - 'sources': [ - '<@(unittests_sources_mips)', - ], - }], - ['v8_target_arch=="mipsel"', { - 'sources': [ - '<@(unittests_sources_mips)', - ], - }], - ['v8_target_arch=="mips64"', { - 'sources': [ - '<@(unittests_sources_mips64)', - ], - }], - ['v8_target_arch=="mips64el"', { - 'sources': [ - '<@(unittests_sources_mips64)', - ], - }], - ['v8_target_arch=="x64"', { - 'sources': [ - '<@(unittests_sources_x64)', - ], - }], - ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { - 'sources': [ - '<@(unittests_sources_ppc)', - ], - }], - ['v8_target_arch=="s390" or v8_target_arch=="s390x"', { - 'sources': [ - '<@(unittests_sources_s390)', - ], - }], - ['OS=="aix"', { - 'ldflags': [ '-Wl,-bbigtoc' ], - }], - ['v8_enable_i18n_support==1', { - 'dependencies': [ - '<(icu_gyp_path):icui18n', - '<(icu_gyp_path):icuuc', - ], - }], - ['v8_use_snapshot=="true"', { - 'dependencies': ['v8.gyp:v8_initializers'], - }], - ], - }, - ], -} diff --git a/deps/v8/gypfiles/v8.gyp b/deps/v8/gypfiles/v8.gyp index cf952fee63d8d9..23721881c6fa3f 100644 --- a/deps/v8/gypfiles/v8.gyp +++ b/deps/v8/gypfiles/v8.gyp @@ -24,7 +24,6 @@ "../src/builtins/array-unshift.tq", "../src/builtins/typed-array.tq", "../src/builtins/data-view.tq", - "../test/torque/test-torque.tq", "../third_party/v8/builtins/array-sort.tq", ], 'torque_modules': [ @@ -32,7 +31,6 @@ "array", "typed-array", "data-view", - "test", ], # Since there is no foreach in GYP we manualy unroll the following: # foreach(module, torque_modules) { @@ -50,8 +48,6 @@ '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-typed-array-from-dsl-gen.h', '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-data-view-from-dsl-gen.cc', '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-data-view-from-dsl-gen.h', - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-test-from-dsl-gen.cc', - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtins-test-from-dsl-gen.h', ], 'torque_generated_pure_headers': [ '<(SHARED_INTERMEDIATE_DIR)/torque-generated/builtin-definitions-from-dsl.h', diff --git a/deps/v8/gypfiles/verify_source_deps.py b/deps/v8/gypfiles/verify_source_deps.py index 714c6fe84b8bce..396b19e9016aad 100644 --- a/deps/v8/gypfiles/verify_source_deps.py +++ b/deps/v8/gypfiles/verify_source_deps.py @@ -27,13 +27,7 @@ os.path.join(V8_BASE, 'gypfiles', 'inspector.gypi'), os.path.join(V8_BASE, 'gypfiles', 'v8vtune.gyp'), os.path.join(V8_BASE, 'gypfiles', 'samples.gyp'), - os.path.join(V8_BASE, 'gypfiles', 'cctest.gyp'), - os.path.join(V8_BASE, 'gypfiles', 'fuzzer.gyp'), - os.path.join(V8_BASE, 'gypfiles', 'unittests.gyp'), - os.path.join(V8_BASE, 'gypfiles', 'inspector-test.gyp'), os.path.join(V8_BASE, 'gypfiles', 'mkgrokdump.gyp'), - os.path.join(V8_BASE, 'gypfiles', 'gmock.gyp'), - os.path.join(V8_BASE, 'gypfiles', 'gtest.gyp'), os.path.join(V8_BASE, 'gypfiles', 'parser-shell.gyp'), ] @@ -45,10 +39,7 @@ 'samples', 'testing', 'tools', - os.path.join('test', 'cctest'), os.path.join('test', 'common'), - os.path.join('test', 'fuzzer'), - os.path.join('test', 'unittests'), os.path.join('test', 'inspector'), os.path.join('test', 'mkgrokdump'), ] @@ -61,11 +52,7 @@ GN_FILES = [ os.path.join(V8_BASE, 'BUILD.gn'), - os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gmock', 'BUILD.gn'), - os.path.join(V8_BASE, 'build', 'secondary', 'testing', 'gtest', 'BUILD.gn'), os.path.join(V8_BASE, 'src', 'inspector', 'BUILD.gn'), - os.path.join(V8_BASE, 'test', 'cctest', 'BUILD.gn'), - os.path.join(V8_BASE, 'test', 'unittests', 'BUILD.gn'), os.path.join(V8_BASE, 'test', 'inspector', 'BUILD.gn'), os.path.join(V8_BASE, 'test', 'mkgrokdump', 'BUILD.gn'), os.path.join(V8_BASE, 'tools', 'BUILD.gn'), @@ -89,8 +76,6 @@ os.path.join('src', 'inspector'), 'src', 'testing', - os.path.join('test', 'cctest'), - os.path.join('test', 'unittests'), os.path.join('test', 'inspector'), os.path.join('test', 'mkgrokdump'), ]