| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'ipc_fuzzer', | 11 'target_name': 'ipc_fuzzer', |
| 12 'type': 'executable', | 12 'type': 'executable', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '../message_lib/message_lib.gyp:ipc_message_lib', | 14 '../message_lib/message_lib.gyp:ipc_message_lib', |
| 15 ], | 15 ], |
| 16 'sources': [ | 16 'sources': [ |
| 17 'fuzzer.h', | 17 'fuzzer.h', |
| 18 'fuzzer.cc', | 18 'fuzzer.cc', |
| 19 'fuzzer_main.cc', | 19 'fuzzer_main.cc', |
| 20 'generator.h', | 20 'generator.h', |
| 21 'generator.cc', | 21 'generator.cc', |
| 22 'mutator.h', | 22 'mutator.h', |
| 23 'mutator.cc', | 23 'mutator.cc', |
| 24 'rand_util.h', | 24 'rand_util.h', |
| 25 'rand_util.cc', | 25 'rand_util.cc', |
| 26 ], | 26 ], |
| 27 'conditions': [ |
| 28 ['asan==1', { |
| 29 'cflags!': [ |
| 30 # Compiling fuzzer.cc with ASan takes too long, see |
| 31 # http://crbug.com/360158. |
| 32 '-fsanitize=address', |
| 33 '-fsanitize-coverage=<(sanitizer_coverage)', |
| 34 ], |
| 35 }], |
| 36 ], |
| 27 'include_dirs': [ | 37 'include_dirs': [ |
| 28 '../../..', | 38 '../../..', |
| 29 ], | 39 ], |
| 30 'defines': [ | 40 'defines': [ |
| 31 'USE_CUPS', | 41 'USE_CUPS', |
| 32 ], | 42 ], |
| 33 }, | 43 }, |
| 34 ], | 44 ], |
| 35 } | 45 } |
| OLD | NEW |