Fix v8_snapshot build in Chromium with v8_use_perfetto=true

We're migrating Chrome tracing to Perfetto SDK, and the first step is
to make everything build with perfetto library.

Example build errors:
https://ci.chromium.org/ui/p/chromium/builders/ci/linux-headless-shell-rel/52404

Bug: chromium:1006766
Change-Id: I5da38f421b742be41a9cf1993a3cf463ec3cb801
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4152474
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Commit-Queue: Mikhail Khokhlov <khokhlov@google.com>
Cr-Commit-Position: refs/heads/main@{#85220}
This commit is contained in:
Mikhail Khokhlov 2023-01-10 15:06:53 +00:00 committed by V8 LUCI CQ
parent f73f3b3b51
commit c3c8c86850

View File

@ -2391,6 +2391,7 @@ v8_source_set("v8_snapshot") {
deps = [
":v8_internal_headers",
":v8_libbase",
":v8_tracing",
]
public_deps = [
# This should be public so downstream targets can declare the snapshot