[build] Fix cppgc_headers deps
Add conditional include of caged-heap-local-data.h and v8_libplatform dep. Bug: v8:7730 Change-Id: Ic9dcb919a94e96fbdeb586e20de9fe17ff4d0ce1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2727499 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Auto-Submit: Dan Elphick <delphick@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#73112}
This commit is contained in:
parent
39f9936c15
commit
725c839c4e
7
BUILD.gn
7
BUILD.gn
@ -4784,6 +4784,12 @@ v8_header_set("cppgc_headers") {
|
||||
"include/cppgc/visitor.h",
|
||||
]
|
||||
|
||||
if (cppgc_enable_caged_heap) {
|
||||
sources += [ "include/cppgc/internal/caged-heap-local-data.h" ]
|
||||
}
|
||||
|
||||
deps = [ ":v8_libplatform" ]
|
||||
|
||||
public_deps = [ ":v8_config_headers" ]
|
||||
}
|
||||
|
||||
@ -4881,7 +4887,6 @@ v8_source_set("cppgc_base") {
|
||||
|
||||
if (cppgc_enable_caged_heap) {
|
||||
sources += [
|
||||
"include/cppgc/internal/caged-heap-local-data.h",
|
||||
"src/heap/cppgc/caged-heap-local-data.cc",
|
||||
"src/heap/cppgc/caged-heap.cc",
|
||||
"src/heap/cppgc/caged-heap.h",
|
||||
|
Loading…
Reference in New Issue
Block a user