[build] Move heap-api.h into v8_internal_headers

Also split v8_third_party_heap_files headers and source files between
v8_base_without_compiler and v8_internal_headers.

Bug: v8:7330
Change-Id: I58a1aa3af1d2b5b5872e5cd25a886be8fd9461d2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3001169
Commit-Queue: Dan Elphick <delphick@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Auto-Submit: Dan Elphick <delphick@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75527}
This commit is contained in:
Dan Elphick 2021-07-02 11:03:10 +01:00 committed by V8 LUCI CQ
parent 8476d272c8
commit 9908d102f8

View File

@ -3207,6 +3207,12 @@ v8_header_set("v8_internal_headers") {
]
}
if (!v8_enable_third_party_heap) {
sources += filter_include(v8_third_party_heap_files, [ "*.h" ])
} else {
sources += [ "src/heap/third-party/heap-api.h" ]
}
if (v8_enable_i18n_support) {
sources += [
"src/objects/intl-objects.h",
@ -4138,12 +4144,9 @@ v8_source_set("v8_base_without_compiler") {
}
if (v8_enable_third_party_heap) {
sources += v8_third_party_heap_files
sources += filter_exclude(v8_third_party_heap_files, [ "*.h" ])
} else {
sources += [
"src/heap/third-party/heap-api-stub.cc",
"src/heap/third-party/heap-api.h",
]
sources += [ "src/heap/third-party/heap-api-stub.cc" ]
}
if (v8_enable_conservative_stack_scanning) {