diff options
author | tsepez <tsepez@chromium.org> | 2014-08-29 15:22:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-29 22:38:20 +0000 |
commit | ae77f4eee550c821bdbd793840f91d03a7b8f7fe (patch) | |
tree | 0926476c2e3c27ef7373896ff2b3610488c51bb0 /tools/ipc_fuzzer | |
parent | f18c55f27791d672d4b8d4f30e960a912c7899cc (diff) | |
download | chromium_src-ae77f4eee550c821bdbd793840f91d03a7b8f7fe.zip chromium_src-ae77f4eee550c821bdbd793840f91d03a7b8f7fe.tar.gz chromium_src-ae77f4eee550c821bdbd793840f91d03a7b8f7fe.tar.bz2 |
Fix IPC fuzzer build.
Remove unused input_channels parameter from fuzzed media::AudioParameters generation.
Link against new components/pdf files.
Review URL: https://codereview.chromium.org/518923003
Cr-Commit-Position: refs/heads/master@{#292689}
Diffstat (limited to 'tools/ipc_fuzzer')
-rw-r--r-- | tools/ipc_fuzzer/message_lib/message_lib.gyp | 1 | ||||
-rw-r--r-- | tools/ipc_fuzzer/mutate/generate.cc | 16 |
2 files changed, 9 insertions, 8 deletions
diff --git a/tools/ipc_fuzzer/message_lib/message_lib.gyp b/tools/ipc_fuzzer/message_lib/message_lib.gyp index fd2ff7b..fb4bdf4 100644 --- a/tools/ipc_fuzzer/message_lib/message_lib.gyp +++ b/tools/ipc_fuzzer/message_lib/message_lib.gyp @@ -8,6 +8,7 @@ 'message_lib_deps': [ '../../../base/base.gyp:base', '../../../chrome/chrome.gyp:common', + '../../../components/components.gyp:pdf_common', '../../../components/nacl.gyp:nacl_common', '../../../content/content.gyp:content_child', '../../../ipc/ipc.gyp:ipc', diff --git a/tools/ipc_fuzzer/mutate/generate.cc b/tools/ipc_fuzzer/mutate/generate.cc index d741b7f..acc169f6 100644 --- a/tools/ipc_fuzzer/mutate/generate.cc +++ b/tools/ipc_fuzzer/mutate/generate.cc @@ -823,33 +823,33 @@ struct GenerateTraits<media::AudioParameters> { static bool Generate(media::AudioParameters *p, Generator* generator) { int format; int channel_layout; - int channels; - int input_channels; int sample_rate; int bits_per_sample; int frames_per_buffer; + int channels; int effects; if (!GenerateParam(&format, generator)) return false; if (!GenerateParam(&channel_layout, generator)) return false; - if (!GenerateParam(&channels, generator)) - return false; - if (!GenerateParam(&input_channels, generator)) - return false; if (!GenerateParam(&sample_rate, generator)) return false; if (!GenerateParam(&bits_per_sample, generator)) return false; if (!GenerateParam(&frames_per_buffer, generator)) return false; + if (!GenerateParam(&channels, generator)) + return false; if (!GenerateParam(&effects, generator)) return false; media::AudioParameters params( static_cast<media::AudioParameters::Format>(format), static_cast<media::ChannelLayout>(channel_layout), - channels, input_channels, sample_rate, - bits_per_sample, frames_per_buffer, effects); + channels, + sample_rate, + bits_per_sample, + frames_per_buffer, + effects); *p = params; return true; } |