Commit 725c839c authored by Dan Elphick's avatar Dan Elphick Committed by Commit Bot

[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/+/2727499Reviewed-by: 's avatarMichael 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}
parent 39f9936c
......@@ -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",
......
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