b7206fbdfb
This is a reland of f0a9a6a5ad
Original change's description:
> Update GN configs for v8_perf target to allow running perf tests in swarming
>
> This will allow us to migrate our deprecated configs to android_docker.
>
> R=machenbach@chromium.org
>
> Bug: chromium:838864
> Change-Id: I5f7db648520847aa2077e9fc2a5970e63daa9a50
> Reviewed-on: https://chromium-review.googlesource.com/1131944
> Reviewed-by: Michael Achenbach <machenbach@chromium.org>
> Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#54441}
R=machenbach@chromium.org
Bug: chromium:838864
Change-Id: I35e1ab911ac3b5ddd8478faae4799ed5d7bbccbf
Reviewed-on: https://chromium-review.googlesource.com/1139973
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54484}
148 lines
3.1 KiB
Plaintext
148 lines
3.1 KiB
Plaintext
# Copyright 2016 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("gn_all") {
|
|
testonly = true
|
|
|
|
data_deps = [
|
|
"benchmarks:v8_benchmarks",
|
|
"intl:v8_intl",
|
|
"fuzzer:v8_fuzzer",
|
|
"message:v8_message",
|
|
"mjsunit:v8_mjsunit",
|
|
"mozilla:v8_mozilla",
|
|
"preparser:v8_preparser",
|
|
"test262:v8_test262",
|
|
"wasm-spec-tests:v8_wasm_spec_tests",
|
|
"webkit:v8_webkit",
|
|
]
|
|
|
|
deps = [
|
|
"inspector:inspector-test",
|
|
"mkgrokdump:mkgrokdump",
|
|
]
|
|
|
|
if (host_os != "mac" || !is_android) {
|
|
# These items don't compile for Android on Mac.
|
|
deps += [
|
|
"cctest:cctest",
|
|
"cctest:generate-bytecode-expectations",
|
|
"unittests:unittests",
|
|
]
|
|
}
|
|
}
|
|
|
|
###############################################################################
|
|
# 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/",
|
|
]
|
|
|
|
if (is_android && !build_with_chromium) {
|
|
data_deps += [ "../build/android:test_runner_py" ]
|
|
|
|
data += [
|
|
# This is used by run_perf.py, but not included by test_runner_py above.
|
|
"../third_party/catapult/devil/devil/android/perf/",
|
|
]
|
|
}
|
|
}
|
|
|
|
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",
|
|
]
|
|
}
|