Commit 3dfa955a authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[build] Add data deps for tools

Bug: chromium:669910
Change-Id: I03f6ef3121af047ea2c4e6b83ed67634f046ce71
Reviewed-on: https://chromium-review.googlesource.com/979796
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@{#52212}
parent 64e0921a
# Copyright 2018 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.
# gn_isolate_map.pyl - A mapping of Ninja build target names to GN labels and
# test type classifications for the tests that are run on the bots.
#
# This file is based on testing/buildbot/gn_isolate_map.pyl for Chromium, but
# is covering V8 stand-alone tests instead.
# See https://cs.chromium.org/chromium/src/testing/buildbot/gn_isolate_map.pyl
# for more detailed documentation.
{
"All": {
"label": "//:All",
"type": "script",
},
"check-static-initializers": {
"label": "//tools:v8_check_static_initializers",
"type": "script",
},
"jsfunfuzz": {
"label": "//tools/jsfunfuzz:v8_jsfunfuzz",
"type": "script",
},
"run-gcmole": {
"label": "//tools/gcmole:v8_run_gcmole",
"type": "script",
},
}
\ No newline at end of file
......@@ -7,6 +7,12 @@ import("../gni/isolate.gni")
group("gn_all") {
testonly = true
data_deps = [
":v8_check_static_initializers",
"gcmole:v8_run_gcmole",
"jsfunfuzz:v8_jsfunfuzz",
]
if (v8_test_isolation_mode != "noop") {
deps = [
":check-static-initializers_run",
......@@ -17,6 +23,16 @@ group("gn_all") {
}
}
group("v8_check_static_initializers") {
data_deps = [
"..:d8",
]
data = [
"check-static-initializers.sh",
]
}
v8_isolate_run("check-static-initializers") {
deps = [
"..:d8_run",
......
# Copyright 2018 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.
import("../../gni/v8.gni")
group("v8_run_gcmole") {
testonly = true
data = [
"gccause.lua",
"gcmole.lua",
"gcmole-tools/",
"parallel.py",
"run-gcmole.py",
# The following contains all relevant source and build files.
"../../BUILD.gn",
"../../base/",
"../../include/",
"../../src/",
"../../test/cctest/",
"../../testing/gtest/include/gtest/gtest_prod.h",
"../../third_party/googletest/src/googletest/include/gtest/gtest_prod.h",
"../../third_party/icu/source/",
]
if (v8_gcmole) {
# This assumes gcmole tools have been fetched by a hook
# into v8/tools/gcmole/gcmole_tools.
data += [ "gcmole-tools/" ]
}
}
# Copyright 2018 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.
import("../../gni/v8.gni")
group("v8_jsfunfuzz") {
testonly = true
data_deps = [
"../..:d8",
]
data = [
# Grab current directory. This avoids adding logic for checking the
# existence of the jsfunfuzz subdirectory.
"./",
]
}
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