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.
|
|
|
|
|
2018-03-26 11:29:32 +00:00
|
|
|
import("//build/config/sanitizers/sanitizers.gni")
|
|
|
|
import("../gni/v8.gni")
|
2016-06-03 13:46:08 +00:00
|
|
|
|
|
|
|
group("gn_all") {
|
|
|
|
testonly = true
|
|
|
|
|
2018-03-26 09:43:06 +00:00
|
|
|
data_deps = [
|
|
|
|
":v8_check_static_initializers",
|
|
|
|
"gcmole:v8_run_gcmole",
|
|
|
|
"jsfunfuzz:v8_jsfunfuzz",
|
|
|
|
]
|
2016-06-03 13:46:08 +00:00
|
|
|
}
|
|
|
|
|
2018-03-26 09:43:06 +00:00
|
|
|
group("v8_check_static_initializers") {
|
|
|
|
data_deps = [
|
|
|
|
"..:d8",
|
|
|
|
]
|
|
|
|
|
|
|
|
data = [
|
|
|
|
"check-static-initializers.sh",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2018-08-10 17:09:34 +00:00
|
|
|
group("v8_android_test_runner_deps") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
if (is_android && !build_with_chromium) {
|
|
|
|
data_deps = [
|
2018-08-25 08:02:53 +00:00
|
|
|
"//build/android:test_runner_py",
|
2018-08-10 17:09:34 +00:00
|
|
|
]
|
|
|
|
data = [
|
|
|
|
# This is used by android.py, but not included by test_runner_py above.
|
2018-08-25 08:02:53 +00:00
|
|
|
"//third_party/catapult/devil/devil/android/perf/",
|
2018-08-10 17:09:34 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-26 11:29:32 +00:00
|
|
|
group("v8_testrunner") {
|
2018-08-10 17:09:34 +00:00
|
|
|
testonly = true
|
|
|
|
|
2018-03-26 11:29:32 +00:00
|
|
|
data_deps = [
|
|
|
|
"..:v8_dump_build_config",
|
2018-08-10 17:09:34 +00:00
|
|
|
":v8_android_test_runner_deps",
|
2018-03-26 11:29:32 +00: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.
|
|
|
|
"run-num-fuzzer.py",
|
|
|
|
"run-tests.py",
|
|
|
|
"testrunner/",
|
|
|
|
]
|
|
|
|
|
|
|
|
if (v8_code_coverage && sanitizer_coverage_flags == "bb,trace-pc-guard") {
|
|
|
|
data += [
|
|
|
|
"sanitizers/sancov_merger.py",
|
|
|
|
"../third_party/llvm/projects/compiler-rt/lib/sanitizer_common/scripts/sancov.py",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|