| Index: tools/ipc_fuzzer/mutate/mutate.gyp
|
| diff --git a/tools/ipc_fuzzer/mutate/mutate.gyp b/tools/ipc_fuzzer/mutate/mutate.gyp
|
| index e8e1b298f15df81d418006a3d103b4583a828568..6564a910e4cd75efe6493f836c5dab0f7d5c8d45 100644
|
| --- a/tools/ipc_fuzzer/mutate/mutate.gyp
|
| +++ b/tools/ipc_fuzzer/mutate/mutate.gyp
|
| @@ -8,20 +8,21 @@
|
| },
|
| 'targets': [
|
| {
|
| - 'target_name': 'ipc_fuzzer_mutate',
|
| - 'type': 'executable',
|
| + 'target_name': 'ipc_fuzzer_lib',
|
| + 'type': 'static_library',
|
| 'dependencies': [
|
| '../message_lib/message_lib.gyp:ipc_message_lib',
|
| ],
|
| 'sources': [
|
| - 'mutate.cc',
|
| + 'fuzzer.h',
|
| + 'fuzzer.cc',
|
| 'rand_util.h',
|
| 'rand_util.cc',
|
| ],
|
| 'conditions': [
|
| ['asan==1', {
|
| 'cflags!': [
|
| - # Compiling mutate.cc with ASan takes too long, see
|
| + # Compiling fuzzer.cc with ASan takes too long, see
|
| # http://crbug.com/360158.
|
| '-fsanitize=address',
|
| '-fsanitize-coverage=<(sanitizer_coverage)',
|
| @@ -39,22 +40,30 @@
|
| 'target_name': 'ipc_fuzzer_generate',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| - '../message_lib/message_lib.gyp:ipc_message_lib',
|
| + 'ipc_fuzzer_lib',
|
| ],
|
| 'sources': [
|
| - 'generate.cc',
|
| - 'rand_util.h',
|
| - 'rand_util.cc',
|
| + 'generator.h',
|
| + 'generator.cc',
|
| +
|
| ],
|
| - 'conditions': [
|
| - ['asan==1', {
|
| - 'cflags!': [
|
| - # Compiling generate.cc with ASan takes too long, see
|
| - # http://crbug.com/360158.
|
| - '-fsanitize=address',
|
| - '-fsanitize-coverage=<(sanitizer_coverage)',
|
| - ],
|
| - }],
|
| + 'include_dirs': [
|
| + '../../..',
|
| + ],
|
| + 'defines': [
|
| + 'USE_CUPS',
|
| + ],
|
| + },
|
| + {
|
| + 'target_name': 'ipc_fuzzer_mutate',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'ipc_fuzzer_lib',
|
| + ],
|
| + 'sources': [
|
| + 'mutator.h',
|
| + 'mutator.cc',
|
| +
|
| ],
|
| 'include_dirs': [
|
| '../../..',
|
|
|