2016-09-06 22:49:51 +02: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.
|
|
|
|
|
2018-05-31 11:11:57 +02:00
|
|
|
import("../gni/v8.gni")
|
2016-09-06 22:49:51 +02:00
|
|
|
|
|
|
|
group("gn_all") {
|
|
|
|
testonly = true
|
|
|
|
|
2018-05-31 11:11:57 +02:00
|
|
|
data_deps = [
|
|
|
|
":v8_check_static_initializers",
|
2019-09-24 11:56:38 -04:00
|
|
|
"debug_helper:v8_debug_helper",
|
2018-05-31 11:11:57 +02:00
|
|
|
"jsfunfuzz:v8_jsfunfuzz",
|
2016-09-06 22:49:51 +02:00
|
|
|
]
|
2020-05-05 09:19:02 +02:00
|
|
|
|
2023-03-30 12:11:08 +02:00
|
|
|
if (v8_gcmole) {
|
|
|
|
data_deps += [ "gcmole:v8_gcmole_files" ]
|
|
|
|
}
|
|
|
|
|
2020-05-05 09:19:02 +02:00
|
|
|
if (is_win) {
|
|
|
|
data_deps += [ "v8windbg" ]
|
|
|
|
}
|
2022-09-21 13:28:42 +02:00
|
|
|
|
|
|
|
if (v8_enable_webassembly) {
|
|
|
|
data_deps += [ "wasm:wami" ]
|
|
|
|
}
|
2016-09-06 22:49:51 +02:00
|
|
|
}
|
|
|
|
|
2018-05-31 11:11:57 +02:00
|
|
|
group("v8_check_static_initializers") {
|
2020-05-05 09:19:02 +02:00
|
|
|
data_deps = [ "..:d8" ]
|
2016-09-06 22:49:51 +02:00
|
|
|
|
2020-05-05 09:19:02 +02:00
|
|
|
data = [ "check-static-initializers.sh" ]
|
2016-09-06 22:49:51 +02:00
|
|
|
}
|
|
|
|
|
2018-09-21 09:14:51 +02:00
|
|
|
group("v8_android_test_runner_deps") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
if (is_android && !build_with_chromium) {
|
2020-05-05 09:19:02 +02:00
|
|
|
data_deps = [ "//build/android:test_runner_py" ]
|
2018-09-21 09:14:51 +02:00
|
|
|
data = [
|
|
|
|
# This is used by android.py, but not included by test_runner_py above.
|
2018-12-04 08:20:37 +01:00
|
|
|
"//third_party/catapult/devil/devil/android/perf/",
|
2018-09-21 09:14:51 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-31 11:11:57 +02:00
|
|
|
group("v8_testrunner") {
|
2018-09-21 09:14:51 +02:00
|
|
|
testonly = true
|
|
|
|
|
2018-05-31 11:11:57 +02:00
|
|
|
data_deps = [
|
2018-09-21 09:14:51 +02:00
|
|
|
":v8_android_test_runner_deps",
|
2020-05-05 09:19:02 +02:00
|
|
|
"..:v8_dump_build_config",
|
|
|
|
"..:v8_python_base",
|
2016-09-06 22:49:51 +02:00
|
|
|
]
|
|
|
|
|
2018-05-31 11:11:57 +02:00
|
|
|
data = [
|
|
|
|
# Also add the num-fuzzer wrapper script in order to be able to run the
|
|
|
|
# num-fuzzer on all existing isolated V8 test suites.
|
2019-03-12 09:01:49 +01:00
|
|
|
"predictable_wrapper.py",
|
2018-05-31 11:11:57 +02:00
|
|
|
"run-num-fuzzer.py",
|
|
|
|
"run-tests.py",
|
2023-03-30 12:11:08 +02:00
|
|
|
".vpython3",
|
2018-05-31 11:11:57 +02:00
|
|
|
"testrunner/",
|
2016-09-06 22:49:51 +02:00
|
|
|
]
|
|
|
|
}
|