[test] Add perfetto deps to unittests
Bug: v8:12781 Change-Id: Icf3233b48718e117cc39289c511f9fd4d99c874d Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3679079 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#80853}
This commit is contained in:
parent
fa4a9a8a29
commit
5d71a2c9dc
@ -199,6 +199,7 @@ v8_executable("unittests") {
|
||||
configs = [
|
||||
"../..:external_config",
|
||||
"../..:internal_config_base",
|
||||
"../..:v8_tracing_config",
|
||||
]
|
||||
}
|
||||
|
||||
@ -600,6 +601,13 @@ v8_source_set("unittests_sources") {
|
||||
deps += [ "../..:wasm_test_common" ]
|
||||
}
|
||||
|
||||
if (v8_use_perfetto) {
|
||||
deps += [
|
||||
# TODO(skyostil): Migrate to protozero.
|
||||
"//third_party/perfetto/protos/perfetto/trace:lite",
|
||||
]
|
||||
}
|
||||
|
||||
if (is_win) {
|
||||
# This warning is benignly triggered by the U16 and U32 macros in
|
||||
# bytecode-utils.h.
|
||||
|
Loading…
Reference in New Issue
Block a user