[build] Add data deps for executable tests
Bug: chromium:669910 Change-Id: I0d9a8c7277cfcedd464db44733803ccc4693ae70 Reviewed-on: https://chromium-review.googlesource.com/979952 Commit-Queue: Michael Achenbach <machenbach@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org> Cr-Commit-Position: refs/heads/master@{#52222}
This commit is contained in:
parent
d65d57a7fa
commit
5b7c873188
2
BUILD.gn
2
BUILD.gn
@ -3042,7 +3042,7 @@ group("v8_archive") {
|
||||
|
||||
group("v8_fuzzers") {
|
||||
testonly = true
|
||||
deps = [
|
||||
data_deps = [
|
||||
":v8_simple_json_fuzzer",
|
||||
":v8_simple_multi_return_fuzzer",
|
||||
":v8_simple_parser_fuzzer",
|
||||
|
@ -27,4 +27,8 @@
|
||||
"label": "//tools/gcmole:v8_run_gcmole",
|
||||
"type": "script",
|
||||
},
|
||||
"unittests": {
|
||||
"label": "//test/unittests:unittests",
|
||||
"type": "script",
|
||||
},
|
||||
}
|
@ -9,6 +9,17 @@ v8_executable("cctest") {
|
||||
deps = [
|
||||
":cctest_sources",
|
||||
]
|
||||
|
||||
data_deps = [
|
||||
"../../tools:v8_testrunner",
|
||||
]
|
||||
|
||||
data = [
|
||||
"testcfg.py",
|
||||
"cctest.status",
|
||||
"interpreter/bytecode_expectations/",
|
||||
]
|
||||
|
||||
configs = [
|
||||
"../..:external_config",
|
||||
"../..:internal_config_base",
|
||||
|
33
test/fuzzer/BUILD.gn
Normal file
33
test/fuzzer/BUILD.gn
Normal file
@ -0,0 +1,33 @@
|
||||
# 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.
|
||||
|
||||
group("v8_fuzzer") {
|
||||
testonly = true
|
||||
|
||||
data_deps = [
|
||||
"../../tools:v8_testrunner",
|
||||
"../..:v8_fuzzers",
|
||||
]
|
||||
|
||||
data = [
|
||||
"./fuzzer.status",
|
||||
"./testcfg.py",
|
||||
"./json/",
|
||||
"./parser/",
|
||||
"./regexp/",
|
||||
"./regexp_builtins/",
|
||||
"./multi_return/",
|
||||
"./wasm/",
|
||||
"./wasm_async/",
|
||||
"./wasm_code/",
|
||||
"./wasm_compile/",
|
||||
"./wasm_data_section/",
|
||||
"./wasm_function_sigs_section/",
|
||||
"./wasm_globals_section/",
|
||||
"./wasm_imports_section/",
|
||||
"./wasm_memory_section/",
|
||||
"./wasm_names_section/",
|
||||
"./wasm_types_section/",
|
||||
]
|
||||
}
|
@ -28,6 +28,26 @@ v8_executable("inspector-test") {
|
||||
"//build/win:default_exe_manifest",
|
||||
]
|
||||
|
||||
data_deps = [
|
||||
"../../tools:v8_testrunner",
|
||||
]
|
||||
|
||||
data = [
|
||||
"console/",
|
||||
"cpu-profiler/",
|
||||
"debugger/",
|
||||
"heap-profiler/",
|
||||
"inspector.status",
|
||||
"json-parse-expected.txt",
|
||||
"json-parse.js",
|
||||
"protocol-test.js",
|
||||
"runtime/",
|
||||
"sessions/",
|
||||
"testcfg.py",
|
||||
"type-profiler/",
|
||||
"../../src/inspector/injected-script-source.js",
|
||||
]
|
||||
|
||||
cflags = []
|
||||
ldflags = []
|
||||
}
|
||||
|
@ -24,4 +24,14 @@ v8_executable("mkgrokdump") {
|
||||
"//build/config:exe_and_shlib_deps",
|
||||
"//build/win:default_exe_manifest",
|
||||
]
|
||||
|
||||
data_deps = [
|
||||
"../../tools:v8_testrunner",
|
||||
]
|
||||
|
||||
data = [
|
||||
"mkgrokdump.status",
|
||||
"testcfg.py",
|
||||
"../../tools/v8heapconst.py",
|
||||
]
|
||||
}
|
||||
|
@ -23,11 +23,21 @@ v8_executable("unittests") {
|
||||
"//testing/gtest",
|
||||
]
|
||||
|
||||
data_deps = [
|
||||
"../../tools:v8_testrunner",
|
||||
]
|
||||
|
||||
data = [
|
||||
"testcfg.py",
|
||||
"unittests.status",
|
||||
]
|
||||
|
||||
configs = [
|
||||
"../..:external_config",
|
||||
"../..:internal_config_base",
|
||||
]
|
||||
}
|
||||
|
||||
v8_source_set("unittests_sources") {
|
||||
testonly = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user