MB: Enable optimize_for_fuzzing=true for libfuzzer builds.

Build with this enabled since that's what Chromium bots do:
https://cs.chromium.org/chromium/src/build/config/compiler/BUILD.gn?rcl=0&l=89

BUG=chromium:677261
R=pbos@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2604003002
Cr-Commit-Position: refs/heads/master@{#15838}
This commit is contained in:
kjellander 2016-12-29 12:25:53 -08:00 committed by Commit bot
parent 81fa52ff44
commit 957c1817b0

View File

@ -239,7 +239,7 @@
'gn', 'openh264', 'release', 'static', 'goma', 'x64'
],
'libfuzzer_asan_release_bot_x64': [
'libfuzzer', 'asan', 'openh264_release_bot', 'x64'
'libfuzzer', 'asan', 'optimize_for_fuzzing', 'openh264_release_bot', 'x64'
],
'memcheck_release_bot_x64': [
'memcheck', 'gn', 'openh264_release_bot', 'x64'
@ -425,6 +425,10 @@
'mixins': ['openh264', 'release_bot'],
},
'optimize_for_fuzzing': {
'gn_args': 'optimize_for_fuzzing=true',
},
'release': {
'gn_args': 'is_debug=false',
},