2016-06-03 13:46:08 +00:00
|
|
|
# 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.
|
|
|
|
|
2016-11-21 19:29:02 +00:00
|
|
|
import("../gni/v8.gni")
|
2016-06-03 13:46:08 +00:00
|
|
|
|
|
|
|
group("gn_all") {
|
|
|
|
testonly = true
|
|
|
|
|
2018-03-26 13:42:13 +00:00
|
|
|
data_deps = [
|
|
|
|
"benchmarks:v8_benchmarks",
|
|
|
|
"intl:v8_intl",
|
|
|
|
"fuzzer:v8_fuzzer",
|
|
|
|
"message:v8_message",
|
|
|
|
"mjsunit:v8_mjsunit",
|
|
|
|
"mozilla:v8_mozilla",
|
|
|
|
"preparser:v8_preparser",
|
|
|
|
"test262:v8_test262",
|
|
|
|
"wasm-spec-tests:v8_wasm_spec_tests",
|
|
|
|
"webkit:v8_webkit",
|
|
|
|
]
|
|
|
|
|
2016-06-03 13:46:08 +00:00
|
|
|
deps = [
|
2017-03-31 08:24:34 +00:00
|
|
|
"inspector:inspector-test",
|
2017-04-20 06:14:53 +00:00
|
|
|
"mkgrokdump:mkgrokdump",
|
2016-06-03 13:46:08 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if (host_os != "mac" || !is_android) {
|
|
|
|
# These items don't compile for Android on Mac.
|
|
|
|
deps += [
|
|
|
|
"cctest:cctest",
|
2016-06-27 11:55:33 +00:00
|
|
|
"cctest:generate-bytecode-expectations",
|
2016-06-03 13:46:08 +00:00
|
|
|
"unittests:unittests",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
# Test groups
|
|
|
|
#
|
|
|
|
|
2018-03-26 13:52:36 +00:00
|
|
|
group("v8_perf") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
"cctest:cctest",
|
|
|
|
"..:d8",
|
|
|
|
]
|
|
|
|
|
|
|
|
data = [
|
|
|
|
"../tools/run_perf.py",
|
2018-07-17 07:47:48 +00:00
|
|
|
|
2018-03-26 13:52:36 +00:00
|
|
|
# TODO(machenbach): These files are referenced by the perf runner.
|
|
|
|
# They should be transformed into a proper python module.
|
|
|
|
"../tools/testrunner/local/command.py",
|
|
|
|
"../tools/testrunner/local/utils.py",
|
|
|
|
"../tools/testrunner/objects/output.py",
|
2018-07-17 07:47:48 +00:00
|
|
|
|
2018-03-26 13:52:36 +00:00
|
|
|
# This is often used to trigger performance bots. We include it in the
|
|
|
|
# isolate to not get these builds deduped.
|
|
|
|
"../tools/whitespace.txt",
|
|
|
|
"js-perf-test/",
|
|
|
|
"memory/",
|
|
|
|
]
|
2018-07-17 07:47:48 +00:00
|
|
|
|
|
|
|
if (is_android && !build_with_chromium) {
|
|
|
|
data_deps += [ "../build/android:test_runner_py" ]
|
|
|
|
|
|
|
|
data += [
|
|
|
|
# This is used by run_perf.py, but not included by test_runner_py above.
|
|
|
|
"../third_party/catapult/devil/devil/android/perf/",
|
|
|
|
]
|
|
|
|
}
|
2018-03-26 13:52:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group("v8_bot_default") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
"cctest:cctest",
|
|
|
|
"debugger:v8_debugger",
|
|
|
|
"fuzzer:v8_fuzzer",
|
|
|
|
"inspector:inspector-test",
|
|
|
|
"intl:v8_intl",
|
|
|
|
"message:v8_message",
|
|
|
|
"mjsunit:v8_mjsunit",
|
|
|
|
"mkgrokdump:mkgrokdump",
|
|
|
|
"preparser:v8_preparser",
|
|
|
|
"unittests:unittests",
|
|
|
|
"wasm-spec-tests:v8_wasm_spec_tests",
|
|
|
|
"webkit:v8_webkit",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("v8_default") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
"cctest:cctest",
|
|
|
|
"debugger:v8_debugger",
|
|
|
|
"fuzzer:v8_fuzzer",
|
|
|
|
"inspector:inspector-test",
|
|
|
|
"intl:v8_intl",
|
|
|
|
"message:v8_message",
|
|
|
|
"mjsunit:v8_mjsunit",
|
|
|
|
"mkgrokdump:mkgrokdump",
|
|
|
|
"preparser:v8_preparser",
|
|
|
|
"unittests:unittests",
|
|
|
|
"wasm-spec-tests:v8_wasm_spec_tests",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("v8_optimize_for_size") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
"cctest:cctest",
|
|
|
|
"debugger:v8_debugger",
|
|
|
|
"inspector:inspector-test",
|
|
|
|
"intl:v8_intl",
|
|
|
|
"mjsunit:v8_mjsunit",
|
|
|
|
"webkit:v8_webkit",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("v8_d8_default") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
"debugger:v8_debugger",
|
|
|
|
"intl:v8_intl",
|
|
|
|
"message:v8_message",
|
|
|
|
"mjsunit:v8_mjsunit",
|
|
|
|
"preparser:v8_preparser",
|
|
|
|
"webkit:v8_webkit",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("v8_run_num_fuzzer") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
"benchmarks:v8_benchmarks",
|
|
|
|
"mjsunit:v8_mjsunit",
|
|
|
|
"webkit:v8_webkit",
|
|
|
|
]
|
|
|
|
}
|