[build] Add data deps for convenience test targets

Bug: chromium:669910
Change-Id: Ib22286cdfff6cd08f68819ad80a93707ff47389f
Reviewed-on: https://chromium-review.googlesource.com/980034
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52224}
This commit is contained in:
Michael Achenbach 2018-03-26 15:52:36 +02:00 committed by Commit Bot
parent 5457e24e15
commit 94153ee038
2 changed files with 116 additions and 0 deletions

View File

@ -19,10 +19,18 @@
"label": "//test/benchmarks:v8_benchmarks",
"type": "script",
},
"bot_default": {
"label": "//test:v8_bot_default",
"type": "script",
},
"check-static-initializers": {
"label": "//tools:v8_check_static_initializers",
"type": "script",
},
"d8_default": {
"label": "//test:v8_d8_default",
"type": "script",
},
"mjsunit": {
"label": "//test/mjsunit:v8_mjsunit",
"type": "script",
@ -31,6 +39,14 @@
"label": "//test/mozilla:v8_mozilla",
"type": "script",
},
"optimize_for_size": {
"label": "//test:v8_optimize_for_size",
"type": "script",
},
"perf": {
"label": "//test:v8_perf",
"type": "script",
},
"jsfunfuzz": {
"label": "//tools/jsfunfuzz:v8_jsfunfuzz",
"type": "script",
@ -39,6 +55,10 @@
"label": "//tools/gcmole:v8_run_gcmole",
"type": "script",
},
"run-num-fuzzer": {
"label": "//test:v8_run_num_fuzzer",
"type": "script",
},
"test262": {
"label": "//test/test262:v8_test262",
"type": "script",

View File

@ -52,6 +52,102 @@ group("gn_all") {
# Test groups
#
group("v8_perf") {
testonly = true
data_deps = [
"cctest:cctest",
"..:d8",
]
data = [
"../tools/run_perf.py",
# TODO(machenbach): These files are referenced by the perf runner.
# They should be transformed into a proper python module.
"../tools/testrunner/local/command.py",
"../tools/testrunner/local/utils.py",
"../tools/testrunner/objects/output.py",
# This is often used to trigger performance bots. We include it in the
# isolate to not get these builds deduped.
"../tools/whitespace.txt",
"js-perf-test/",
"memory/",
]
}
group("v8_bot_default") {
testonly = true
data_deps = [
"cctest:cctest",
"debugger:v8_debugger",
"fuzzer:v8_fuzzer",
"inspector:inspector-test",
"intl:v8_intl",
"message:v8_message",
"mjsunit:v8_mjsunit",
"mkgrokdump:mkgrokdump",
"preparser:v8_preparser",
"unittests:unittests",
"wasm-spec-tests:v8_wasm_spec_tests",
"webkit:v8_webkit",
]
}
group("v8_default") {
testonly = true
data_deps = [
"cctest:cctest",
"debugger:v8_debugger",
"fuzzer:v8_fuzzer",
"inspector:inspector-test",
"intl:v8_intl",
"message:v8_message",
"mjsunit:v8_mjsunit",
"mkgrokdump:mkgrokdump",
"preparser:v8_preparser",
"unittests:unittests",
"wasm-spec-tests:v8_wasm_spec_tests",
]
}
group("v8_optimize_for_size") {
testonly = true
data_deps = [
"cctest:cctest",
"debugger:v8_debugger",
"inspector:inspector-test",
"intl:v8_intl",
"mjsunit:v8_mjsunit",
"webkit:v8_webkit",
]
}
group("v8_d8_default") {
testonly = true
data_deps = [
"debugger:v8_debugger",
"intl:v8_intl",
"message:v8_message",
"mjsunit:v8_mjsunit",
"preparser:v8_preparser",
"webkit:v8_webkit",
]
}
group("v8_run_num_fuzzer") {
testonly = true
data_deps = [
"benchmarks:v8_benchmarks",
"mjsunit:v8_mjsunit",
"webkit:v8_webkit",
]
}
group("default_tests") {
testonly = true