[include] Move V8_USE_PERFETTO into v8_header_features
V8_USE_PERFETTO appears in used in the include directory so should be in v8_header_features rather than features. Moving it means that all users of the v8 headers will automatically get the define without having to define it themselves. Bug: chromium:1006541 Change-Id: I7eb67787fb42499d29c98a76a19a4ad8c04f7aa7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2621083 Commit-Queue: Dan Elphick <delphick@chromium.org> Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Auto-Submit: Dan Elphick <delphick@chromium.org> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org> Cr-Commit-Position: refs/heads/master@{#72004}
This commit is contained in:
parent
794096f0d9
commit
950eae9ade
6
BUILD.gn
6
BUILD.gn
@ -540,6 +540,9 @@ config("v8_header_features") {
|
||||
if (v8_disable_arguments_adaptor) {
|
||||
defines += [ "V8_NO_ARGUMENTS_ADAPTOR" ]
|
||||
}
|
||||
if (v8_use_perfetto) {
|
||||
defines += [ "V8_USE_PERFETTO" ]
|
||||
}
|
||||
}
|
||||
|
||||
config("cppgc_header_features") {
|
||||
@ -674,9 +677,6 @@ config("features") {
|
||||
if (v8_enable_shared_ro_heap) {
|
||||
defines += [ "V8_SHARED_RO_HEAP" ]
|
||||
}
|
||||
if (v8_use_perfetto) {
|
||||
defines += [ "V8_USE_PERFETTO" ]
|
||||
}
|
||||
if (v8_win64_unwinding_info) {
|
||||
defines += [ "V8_WIN64_UNWINDING_INFO" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user