Commit ac0fb70f authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

[gyp] remove test targets.

R=machenbach@chromium.org

Bug: v8:7335
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: I70d639324f6de4dd11871f67953943e80c238a12
Reviewed-on: https://chromium-review.googlesource.com/890181
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50946}
parent 3ab1b799
......@@ -27,28 +27,6 @@
'unittests.gyp:*',
],
}],
['test_isolation_mode != "noop"', {
'dependencies': [
'../test/bot_default.gyp:*',
'../test/benchmarks/benchmarks.gyp:*',
'../test/debugger/debugger.gyp:*',
'../test/default.gyp:*',
'../test/d8_default.gyp:*',
'../test/intl/intl.gyp:*',
'../test/message/message.gyp:*',
'../test/mjsunit/mjsunit.gyp:*',
'../test/mozilla/mozilla.gyp:*',
'../test/optimize_for_size.gyp:*',
'../test/perf.gyp:*',
'../test/preparser/preparser.gyp:*',
'../test/test262/test262.gyp:*',
'../test/webkit/webkit.gyp:*',
'../tools/check-static-initializers.gyp:*',
'../tools/gcmole/run_gcmole.gyp:*',
'../tools/jsfunfuzz/jsfunfuzz.gyp:*',
'../tools/run-num-fuzzer.gyp:*',
],
}],
]
}
]
......
......@@ -464,36 +464,4 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'cctest_exe_run',
'type': 'none',
'dependencies': [
'cctest',
],
'includes': [
'isolate.gypi',
],
'sources': [
'../test/cctest/cctest_exe.isolate',
],
},
{
'target_name': 'cctest_run',
'type': 'none',
'dependencies': [
'cctest_exe_run',
],
'includes': [
'isolate.gypi',
],
'sources': [
'../test/cctest/cctest.isolate',
],
},
],
}],
],
}
......@@ -116,23 +116,4 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'd8_run',
'type': 'none',
'dependencies': [
'd8',
],
'includes': [
'isolate.gypi',
],
'sources': [
'../src/d8.isolate',
],
},
],
}],
],
}
......@@ -547,27 +547,4 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'fuzzer_run',
'type': 'none',
'dependencies': [
'v8_simple_json_fuzzer',
'v8_simple_parser_fuzzer',
'v8_simple_regexp_builtins_fuzzer',
'v8_simple_regexp_fuzzer',
'v8_simple_wasm_fuzzer',
],
'includes': [
'isolate.gypi',
],
'sources': [
'../test/fuzzer/fuzzer.isolate',
],
},
],
}],
],
}
......@@ -36,23 +36,4 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'inspector-test_run',
'type': 'none',
'dependencies': [
'inspector-test',
],
'includes': [
'isolate.gypi',
],
'sources': [
'../test/inspector/inspector.isolate',
],
},
],
}],
],
}
# Copyright 2015 the V8 project authors. All rights reserved.
# 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.
# This file is meant to be included into a target to provide a rule
# to "build" .isolate files into a .isolated file.
#
# To use this, create a gyp target with the following form:
# 'conditions': [
# ['test_isolation_mode != "noop"', {
# 'targets': [
# {
# 'target_name': 'foo_test_run',
# 'type': 'none',
# 'dependencies': [
# 'foo_test',
# ],
# 'includes': [
# '../gypfiles/isolate.gypi',
# ],
# 'sources': [
# 'foo_test.isolate',
# ],
# },
# ],
# }],
# ],
#
# Note: foo_test.isolate is included and a source file. It is an inherent
# property of the .isolate format. This permits to define GYP variables but is
# a stricter format than GYP so isolate.py can read it.
#
# The generated .isolated file will be:
# <(PRODUCT_DIR)/foo_test.isolated
#
# See http://dev.chromium.org/developers/testing/isolated-testing/for-swes
# for more information.
{
'rules': [
{
'rule_name': 'isolate',
'extension': 'isolate',
'inputs': [
# Files that are known to be involved in this step.
'<(DEPTH)/tools/isolate_driver.py',
'<(DEPTH)/tools/swarming_client/isolate.py',
'<(DEPTH)/tools/swarming_client/run_isolated.py',
],
'outputs': [
'<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated',
],
'action': [
'python',
'<(DEPTH)/tools/isolate_driver.py',
'<(test_isolation_mode)',
'--isolated', '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated',
'--isolate', '<(RULE_INPUT_PATH)',
# Variables should use the -V FOO=<(FOO) form so frequent values,
# like '0' or '1', aren't stripped out by GYP. Run 'isolate.py help'
# for more details.
# Path variables are used to replace file paths when loading a .isolate
# file
'--path-variable', 'DEPTH', '<(DEPTH)',
'--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
'--config-variable', 'CONFIGURATION_NAME=<(CONFIGURATION_NAME)',
'--config-variable', 'OS=<(OS)',
'--config-variable', 'asan=<(asan)',
'--config-variable', 'cfi_vptr=<(cfi_vptr)',
'--config-variable', 'gcmole=<(gcmole)',
'--config-variable', 'has_valgrind=<(has_valgrind)',
'--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)',
'--config-variable', 'msan=<(msan)',
'--config-variable', 'tsan=<(tsan)',
'--config-variable', 'coverage=<(coverage)',
'--config-variable', 'sanitizer_coverage=<(sanitizer_coverage)',
'--config-variable', 'component=<(component)',
'--config-variable', 'target_arch=<(target_arch)',
'--config-variable', 'ubsan_vptr=0',
'--config-variable', 'v8_use_external_startup_data=<(v8_use_external_startup_data)',
'--config-variable', 'v8_use_snapshot=<(v8_use_snapshot)',
],
'conditions': [
['OS=="win"', {
'action': [
'--config-variable', 'msvs_version=2013',
],
}, {
'action': [
'--config-variable', 'msvs_version=0',
],
}],
],
},
],
}
......@@ -24,23 +24,4 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'mkgrokdump_run',
'type': 'none',
'dependencies': [
'mkgrokdump',
],
'includes': [
'isolate.gypi',
],
'sources': [
'../test/mkgrokdump/mkgrokdump.isolate',
],
},
],
}],
],
}
......@@ -284,23 +284,4 @@
],
},
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'unittests_run',
'type': 'none',
'dependencies': [
'unittests',
],
'includes': [
'isolate.gypi',
],
'sources': [
'../test/unittests/unittests.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'benchmarks_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'benchmarks.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'bot_default_run',
'type': 'none',
'dependencies': [
'../gypfiles/cctest.gyp:cctest_run',
'debugger/debugger.gyp:debugger_run',
'../gypfiles/fuzzer.gyp:fuzzer_run',
'../gypfiles/inspector-test.gyp:inspector-test_run',
'intl/intl.gyp:intl_run',
'message/message.gyp:message_run',
'mjsunit/mjsunit.gyp:mjsunit_run',
'preparser/preparser.gyp:preparser_run',
'../gypfiles/unittests.gyp:unittests_run',
'wasm-spec-tests/wasm-spec-tests.gyp:wasm_spec_tests_run',
'webkit/webkit.gyp:webkit_run',
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',
],
'sources': [
'bot_default.isolate',
],
},
],
}],
],
}
# Copyright 2018 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'd8_default_run',
'type': 'none',
'dependencies': [
'debugger/debugger.gyp:debugger_run',
'intl/intl.gyp:intl_run',
'message/message.gyp:message_run',
'mjsunit/mjsunit.gyp:mjsunit_run',
'preparser/preparser.gyp:preparser_run',
'webkit/webkit.gyp:webkit_run',
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',
],
'sources': [
'd8_default.isolate',
],
},
],
}],
],
}
# 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'debugger_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'debugger.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'default_run',
'type': 'none',
'dependencies': [
'../gypfiles/cctest.gyp:cctest_run',
'debugger/debugger.gyp:debugger_run',
'../gypfiles/fuzzer.gyp:fuzzer_run',
'../gypfiles/inspector-test.gyp:inspector-test_run',
'intl/intl.gyp:intl_run',
'message/message.gyp:message_run',
'mjsunit/mjsunit.gyp:mjsunit_run',
'preparser/preparser.gyp:preparser_run',
'../gypfiles/unittests.gyp:unittests_run',
'wasm-spec-tests/wasm-spec-tests.gyp:wasm_spec_tests_run',
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',
],
'sources': [
'default.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'intl_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'intl.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'message_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'message.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'mjsunit_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'mjsunit.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'mozilla_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'mozilla.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'optimize_for_size_run',
'type': 'none',
'dependencies': [
'../gypfiles/cctest.gyp:cctest_run',
'debugger/debugger.gyp:debugger_run',
'intl/intl.gyp:intl_run',
'mjsunit/mjsunit.gyp:mjsunit_run',
'webkit/webkit.gyp:webkit_run',
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',
],
'sources': [
'optimize_for_size.isolate',
],
},
],
}],
],
}
# 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'perf_run',
'type': 'none',
'dependencies': [
'../gypfiles/cctest.gyp:cctest_exe_run',
'../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',
],
'sources': [
'perf.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'preparser_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'preparser.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'test262_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'test262.isolate',
],
'actions': [
{
'action_name': 'archive_test262',
'inputs': ['archive.py', '<!@(python list.py --quoted)'],
'outputs': ['data.tar'],
'action': ['python', 'archive.py'],
},
],
},
],
}],
],
}
# 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'wasm_spec_tests_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'wasm-spec-tests.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'webkit_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'webkit.isolate',
],
},
],
}],
],
}
# Copyright 2015 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'check_static_initializers_run',
'type': 'none',
'dependencies': [
'../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',
],
'sources': [
'check-static-initializers.isolate',
],
},
],
}],
],
}
# 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'run_gcmole_run',
'type': 'none',
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'run-gcmole.isolate',
],
},
],
}],
],
}
# 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'jsfunfuzz_run',
'type': 'none',
'dependencies': [
'../../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../../gypfiles/features.gypi',
'../../gypfiles/isolate.gypi',
],
'sources': [
'jsfunfuzz.isolate',
],
},
],
}],
],
}
# 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.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'run_num_fuzzer_run',
'type': 'none',
'dependencies': [
'../gypfiles/d8.gyp:d8_run',
],
'includes': [
'../gypfiles/features.gypi',
'../gypfiles/isolate.gypi',
],
'sources': [
'run-num-fuzzer.isolate',
],
},
],
}],
],
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment