[build] Move v8-platform.h into v8_config_headers

Also add v8_config_headers dependency to cctest_headers. This reduces
the number of gn check failures from 194 to 178.

Bug: v8:7330
Change-Id: I6453b9789503c9d8ca3ed6bbe94bce3e2a69653f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2712564
Auto-Submit: Dan Elphick <delphick@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72912}
This commit is contained in:
Dan Elphick 2021-02-22 13:40:54 +00:00 committed by Commit Bot
parent bd7da6516a
commit 075c4ffe61
2 changed files with 7 additions and 2 deletions

View File

@ -2098,7 +2098,11 @@ v8_header_set("v8_version") {
v8_header_set("v8_config_headers") {
configs = [ ":internal_config" ]
sources = [ "include/v8config.h" ]
sources = [
"include/v8-platform.h",
"include/v8config.h",
]
deps = []
if (v8_generate_external_defines_header) {
@ -2514,7 +2518,6 @@ v8_source_set("v8_base_without_compiler") {
"include/v8-inspector-protocol.h",
"include/v8-inspector.h",
"include/v8-metrics.h",
"include/v8-platform.h",
"include/v8-profiler.h",
"include/v8-unwinder-state.h",
"include/v8-util.h",

View File

@ -60,6 +60,8 @@ v8_header_set("cctest_headers") {
"../..:internal_config_base",
]
deps = [ "../..:v8_config_headers" ]
sources = [ "cctest.h" ]
}