зеркало из https://github.com/AvaloniaUI/angle.git
BUILD.gn: Disable pool alloc on all translator dependents when fuzzing
It contains defines that need to be consistent between the header and the implementation. BUG=angleproject:1522 BUG=chromium:647807 Change-Id: Ica144c455b7366bd9939a07b171edffe5af8bf35 Reviewed-on: https://chromium-review.googlesource.com/386945 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Родитель
2e60034b27
Коммит
a5615c69b1
10
BUILD.gn
10
BUILD.gn
|
@ -115,9 +115,10 @@ static_library("preprocessor") {
|
|||
|
||||
config("translator_static_config") {
|
||||
defines = [ "ANGLE_TRANSLATOR_STATIC" ]
|
||||
if (use_libfuzzer) {
|
||||
defines += [ "ANGLE_TRANSLATOR_DISABLE_POOL_ALLOC" ]
|
||||
}
|
||||
}
|
||||
|
||||
config("translator_disable_pool_alloc") {
|
||||
defines = [ "ANGLE_TRANSLATOR_DISABLE_POOL_ALLOC" ]
|
||||
}
|
||||
|
||||
config("debug_annotations_config") {
|
||||
|
@ -203,6 +204,9 @@ static_library("translator_lib") {
|
|||
":translator_static_config",
|
||||
]
|
||||
public_configs = [ ":external_config" ]
|
||||
if (use_libfuzzer) {
|
||||
all_dependent_configs = [ ":translator_disable_pool_alloc" ]
|
||||
}
|
||||
|
||||
deps = [
|
||||
":includes",
|
||||
|
|
Загрузка…
Ссылка в новой задаче