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",
|
|
|
|
"fuzzer:v8_fuzzer",
|
2020-06-02 10:14:03 +00:00
|
|
|
"intl:v8_intl",
|
2018-03-26 13:42:13 +00:00
|
|
|
"message:v8_message",
|
|
|
|
"mjsunit:v8_mjsunit",
|
|
|
|
"mozilla:v8_mozilla",
|
|
|
|
"test262:v8_test262",
|
2018-10-17 19:00:16 +00:00
|
|
|
"wasm-js:v8_wasm_js",
|
2018-03-26 13:42:13 +00:00
|
|
|
"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",
|
2019-05-28 09:15:48 +00:00
|
|
|
"wasm-api-tests:wasm_api_tests",
|
2016-06-03 13:46:08 +00:00
|
|
|
]
|
|
|
|
|
2020-06-02 10:14:03 +00:00
|
|
|
if (v8_fuzzilli) {
|
|
|
|
deps += [ "fuzzilli:v8_fuzzilli_test" ]
|
|
|
|
}
|
|
|
|
|
2016-06-03 13:46:08 +00:00
|
|
|
if (host_os != "mac" || !is_android) {
|
|
|
|
# These items don't compile for Android on Mac.
|
|
|
|
deps += [
|
2020-07-02 18:24:48 +00:00
|
|
|
"benchmarks/cpp:gn_all",
|
2016-06-03 13:46:08 +00:00
|
|
|
"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 = [
|
|
|
|
"..:d8",
|
2020-06-02 10:14:03 +00:00
|
|
|
"..:v8_python_base",
|
2018-08-10 17:09:34 +00:00
|
|
|
"../tools:v8_android_test_runner_deps",
|
2019-10-31 13:10:27 +00:00
|
|
|
"../tools:v8_testrunner",
|
2018-03-26 13:52:36 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
data = [
|
|
|
|
"../tools/run_perf.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/",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
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",
|
|
|
|
"unittests:unittests",
|
2019-05-28 09:15:48 +00:00
|
|
|
"wasm-api-tests:wasm_api_tests",
|
2018-10-17 19:00:16 +00:00
|
|
|
"wasm-js:v8_wasm_js",
|
2018-03-26 13:52:36 +00:00
|
|
|
"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",
|
|
|
|
"unittests:unittests",
|
2019-05-28 09:15:48 +00:00
|
|
|
"wasm-api-tests:wasm_api_tests",
|
2018-10-17 19:00:16 +00:00
|
|
|
"wasm-js:v8_wasm_js",
|
2018-03-26 13:52:36 +00:00
|
|
|
"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",
|
|
|
|
"webkit:v8_webkit",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("v8_run_num_fuzzer") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
data_deps = [
|
|
|
|
"benchmarks:v8_benchmarks",
|
|
|
|
"mjsunit:v8_mjsunit",
|
|
|
|
"webkit:v8_webkit",
|
|
|
|
]
|
|
|
|
}
|
2019-02-12 08:41:25 +00:00
|
|
|
|
|
|
|
v8_header_set("common_test_headers") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
configs = []
|
|
|
|
|
|
|
|
public_deps = [
|
2019-04-09 11:16:15 +00:00
|
|
|
"../:v8_for_testing",
|
2019-02-12 08:41:25 +00:00
|
|
|
"../:v8_libbase",
|
|
|
|
]
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"common/assembler-tester.h",
|
|
|
|
"common/types-fuzz.h",
|
|
|
|
"common/wasm/flag-utils.h",
|
|
|
|
"common/wasm/test-signatures.h",
|
|
|
|
"common/wasm/wasm-macro-gen.h",
|
|
|
|
]
|
|
|
|
}
|