Commit fb9051a5 by Jonathan Metzman Committed by Commit Bot

Switch from use_libfuzzer to using_fuzzing_engine.

The current build configuration causes AFL based fuzzers to be built with incorrect options. Bug: 770970 Change-Id: I712dd72a0f680df538e98622032cb13f39ed8c63 Reviewed-on: https://chromium-review.googlesource.com/707933Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
parent 711b7a12
...@@ -284,25 +284,25 @@ static_library("translator") { ...@@ -284,25 +284,25 @@ static_library("translator") {
sources = rebase_path(compiler_gypi.angle_translator_sources, ".", "src") sources = rebase_path(compiler_gypi.angle_translator_sources, ".", "src")
defines = [] defines = []
if (angle_enable_essl || use_libfuzzer) { if (angle_enable_essl || use_fuzzing_engine) {
sources += sources +=
rebase_path(compiler_gypi.angle_translator_essl_sources, ".", "src") rebase_path(compiler_gypi.angle_translator_essl_sources, ".", "src")
defines += [ "ANGLE_ENABLE_ESSL" ] defines += [ "ANGLE_ENABLE_ESSL" ]
} }
if (angle_enable_glsl || use_libfuzzer) { if (angle_enable_glsl || use_fuzzing_engine) {
sources += sources +=
rebase_path(compiler_gypi.angle_translator_glsl_sources, ".", "src") rebase_path(compiler_gypi.angle_translator_glsl_sources, ".", "src")
defines += [ "ANGLE_ENABLE_GLSL" ] defines += [ "ANGLE_ENABLE_GLSL" ]
} }
if (angle_enable_hlsl || use_libfuzzer) { if (angle_enable_hlsl || use_fuzzing_engine) {
sources += sources +=
rebase_path(compiler_gypi.angle_translator_hlsl_sources, ".", "src") rebase_path(compiler_gypi.angle_translator_hlsl_sources, ".", "src")
defines += [ "ANGLE_ENABLE_HLSL" ] defines += [ "ANGLE_ENABLE_HLSL" ]
} }
if (angle_enable_vulkan || use_libfuzzer) { if (angle_enable_vulkan || use_fuzzing_engine) {
sources += rebase_path(compiler_gypi.angle_translator_lib_vulkan_sources, sources += rebase_path(compiler_gypi.angle_translator_lib_vulkan_sources,
".", ".",
"src") "src")
...@@ -315,7 +315,7 @@ static_library("translator") { ...@@ -315,7 +315,7 @@ static_library("translator") {
":extra_warnings", ":extra_warnings",
] ]
public_configs = [ ":external_config" ] public_configs = [ ":external_config" ]
if (use_libfuzzer) { if (use_fuzzing_engine) {
all_dependent_configs = [ ":translator_disable_pool_alloc" ] all_dependent_configs = [ ":translator_disable_pool_alloc" ]
} }
......
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