[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: Sergiy Byelozyorov <sergiyb@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52219}
This commit is contained in:
Michael Achenbach 2018-03-26 13:29:32 +02:00 committed by Commit Bot
parent 71267cf232
commit a39f4452a4
3 changed files with 30 additions and 0 deletions

View File

@ -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") {
} }
} }
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.
} }

View File

@ -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") {
] ]
} }
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",

View File

@ -0,0 +1,2 @@
# 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.