Commit a39f4452 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[build] Add testrunner data deps

Bug: chromium:669910
Change-Id: I35d146bbe265dfdd0059dd8d3ec4fc5ee54bb465
Reviewed-on: https://chromium-review.googlesource.com/979805
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarSergiy Byelozyorov <sergiyb@chromium.org>
Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52219}
parent 71267cf2
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import("//build/config/android/config.gni") import("//build/config/android/config.gni")
import("//build/config/arm.gni") import("//build/config/arm.gni")
import("//build/config/clang/clang.gni")
import("//build/config/dcheck_always_on.gni") import("//build/config/dcheck_always_on.gni")
import("//build/config/host_byteorder.gni") import("//build/config/host_byteorder.gni")
import("//build/config/jumbo.gni") import("//build/config/jumbo.gni")
...@@ -2847,6 +2848,10 @@ v8_component("v8_libbase") { ...@@ -2847,6 +2848,10 @@ v8_component("v8_libbase") {
} }
} }
if (is_tsan && !build_with_chromium) {
data += [ "tools/sanitizers/tsan_suppressions.txt" ]
}
# TODO(jochen): Add support for qnx, freebsd, openbsd, netbsd, and solaris. # TODO(jochen): Add support for qnx, freebsd, openbsd, netbsd, and solaris.
} }
......
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
import("//build/config/sanitizers/sanitizers.gni")
import("../gni/isolate.gni") import("../gni/isolate.gni")
import("../gni/v8.gni")
group("gn_all") { group("gn_all") {
testonly = true testonly = true
...@@ -33,6 +35,27 @@ group("v8_check_static_initializers") { ...@@ -33,6 +35,27 @@ group("v8_check_static_initializers") {
] ]
} }
group("v8_testrunner") {
data_deps = [
"..:v8_dump_build_config",
]
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",
]
}
}
v8_isolate_run("check-static-initializers") { v8_isolate_run("check-static-initializers") {
deps = [ deps = [
"..:d8_run", "..:d8_run",
......
# src/base has some more tools in this folder, which we don't use. But we need
# to have the folder so that the data deps we inherit doesn't error out.
\ No newline at end of file
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