Commit 00abcea4 authored by Dan Elphick's avatar Dan Elphick Committed by Commit Bot

[build] Create v8_internal_headers target

Split out all the headers from v8_compiler/v8_compiler_opt and
v8_base_without_compiler into v8_internal_headers since the headers
have inter-dependencies that otherwise make it impossible to satisfy gn
check.

Also adds new v8_header_set torque_runtime_support that exports
src/torque/runtime-support.h separately from the generated headers.

This reduces the number of gn check failures from 169 to 59.

Bug: v8:7330
Change-Id: Ie7ebc894910b7efa02011a74da964e11995c7f4f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2712569
Commit-Queue: Dan Elphick <delphick@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73104}
parent 8e8c727a
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -57,7 +57,7 @@ v8_header_set("cctest_headers") { ...@@ -57,7 +57,7 @@ v8_header_set("cctest_headers") {
"../..:internal_config_base", "../..:internal_config_base",
] ]
deps = [ "../..:v8_config_headers" ] deps = [ "../..:v8_internal_headers" ]
sources = [ "cctest.h" ] sources = [ "cctest.h" ]
} }
......
...@@ -8,6 +8,7 @@ v8_executable("wasm_api_tests") { ...@@ -8,6 +8,7 @@ v8_executable("wasm_api_tests") {
testonly = true testonly = true
deps = [ deps = [
"../..:v8_internal_headers",
"../..:v8_maybe_icu", "../..:v8_maybe_icu",
"../..:wee8", "../..:wee8",
"//build/win:default_exe_manifest", "//build/win:default_exe_manifest",
...@@ -15,9 +16,7 @@ v8_executable("wasm_api_tests") { ...@@ -15,9 +16,7 @@ v8_executable("wasm_api_tests") {
"//testing/gtest", "//testing/gtest",
] ]
data_deps = [ data_deps = [ "../../tools:v8_testrunner" ]
"../../tools:v8_testrunner",
]
data = [ data = [
"testcfg.py", "testcfg.py",
......
...@@ -96,6 +96,7 @@ v8_component("v8_debug_helper") { ...@@ -96,6 +96,7 @@ v8_component("v8_debug_helper") {
"../..:generate_bytecode_builtins_list", "../..:generate_bytecode_builtins_list",
"../..:run_torque", "../..:run_torque",
"../..:v8_headers", "../..:v8_headers",
"../..:v8_internal_headers",
"../..:v8_libbase", "../..:v8_libbase",
"../..:v8_shared_internal_headers", "../..:v8_shared_internal_headers",
"../..:v8_tracing", "../..:v8_tracing",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment