[build] Improve torque explicit dependencies
Add a couple of missing dependencies to the build rules for torque-generated files. Also add a allow_circular_includes_from declaration to v8_initializers, so that its files can be accessed by torque_generated_initializers which cannot depend on v8_initializers without introducing a cycle. This reduces the number of gn check errors with --check-generated from 10512 to 33. Bug: v8:7330 Change-Id: I324295c639094c258b3e8e674aef6edc043fe505 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2732014 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@{#73172}
This commit is contained in:
parent
c296436ed4
commit
a8fa6199cf
4
BUILD.gn
4
BUILD.gn
@ -1580,6 +1580,7 @@ v8_source_set("torque_generated_initializers") {
|
||||
deps = [
|
||||
":generate_bytecode_builtins_list",
|
||||
":run_torque",
|
||||
":v8_base_without_compiler",
|
||||
":v8_tracing",
|
||||
]
|
||||
|
||||
@ -1611,6 +1612,7 @@ v8_source_set("torque_generated_definitions") {
|
||||
deps = [
|
||||
":generate_bytecode_builtins_list",
|
||||
":run_torque",
|
||||
":v8_internal_headers",
|
||||
":v8_tracing",
|
||||
]
|
||||
|
||||
@ -1922,6 +1924,8 @@ v8_source_set("v8_initializers") {
|
||||
"test/cctest:*",
|
||||
]
|
||||
|
||||
allow_circular_includes_from = [ ":torque_generated_initializers" ]
|
||||
|
||||
deps = [
|
||||
":torque_generated_initializers",
|
||||
":v8_base_without_compiler",
|
||||
|
Loading…
Reference in New Issue
Block a user