[build] Fix gn check errors for less common configs

This fixes the gn check errors for configs using
v8_use_external_startup_data = false and v8_enable_vtunejit = true.

Bug: v8:7330
Change-Id: If7eb48bbf339ba53646e4722c7c90d6e5857ff22
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2859162
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Auto-Submit: Dan Elphick <delphick@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74272}
This commit is contained in:
Dan Elphick 2021-04-29 09:59:26 +01:00 committed by Commit Bot
parent f98856e006
commit 3d1254dc0a
2 changed files with 6 additions and 8 deletions

View File

@ -1975,7 +1975,10 @@ action("v8_dump_build_config") {
v8_source_set("v8_snapshot") {
visibility = [ ":*" ] # Targets in this file can depend on this.
deps = []
deps = [
":v8_internal_headers",
":v8_libbase",
]
public_deps = [
# This should be public so downstream targets can declare the snapshot
# output file as their inputs.

View File

@ -22,9 +22,7 @@ static_library("v8_vtune") {
"vtune-jit.h",
]
configs += [ ":vtune_ittapi" ]
deps = [
"../../..:v8",
]
deps = [ "../../..:v8" ]
}
static_library("v8_vtune_trace_mark") {
@ -33,16 +31,13 @@ static_library("v8_vtune_trace_mark") {
"vtuneapi.cc",
"vtuneapi.h",
]
deps = [
":ittnotify",
]
deps = [ ":ittnotify" ]
}
static_library("ittnotify") {
sources = [
"//third_party/ittapi/include/ittnotify.h",
"//third_party/ittapi/include/legacy/ittnotify.h",
"//third_party/ittapi/src/ittnotify/disable-warnings.h",
"//third_party/ittapi/src/ittnotify/ittnotify_config.h",
"//third_party/ittapi/src/ittnotify/ittnotify_static.c",
"//third_party/ittapi/src/ittnotify/ittnotify_static.h",