| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 }, | |
| 9 'targets': [ | |
| 10 { | |
| 11 'target_name': 'ipc_fuzzer', | |
| 12 'type': 'executable', | |
| 13 'dependencies': [ | |
| 14 '../message_lib/message_lib.gyp:ipc_message_lib', | |
| 15 ], | |
| 16 'sources': [ | |
| 17 'fuzzer.h', | |
| 18 'fuzzer.cc', | |
| 19 'fuzzer_main.cc', | |
| 20 'generator.h', | |
| 21 'generator.cc', | |
| 22 'mutator.h', | |
| 23 'mutator.cc', | |
| 24 'rand_util.h', | |
| 25 'rand_util.cc', | |
| 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 ], | |
| 37 'include_dirs': [ | |
| 38 '../../..', | |
| 39 ], | |
| 40 'defines': [ | |
| 41 'USE_CUPS', | |
| 42 ], | |
| 43 }, | |
| 44 { | |
| 45 'target_name': 'ipc_message_util', | |
| 46 'type': 'executable', | |
| 47 'dependencies': [ | |
| 48 '../../../third_party/re2/re2.gyp:re2', | |
| 49 '../message_lib/message_lib.gyp:ipc_message_lib', | |
| 50 ], | |
| 51 'sources': [ | |
| 52 'message_util.cc', | |
| 53 ], | |
| 54 'include_dirs': [ | |
| 55 '../../..', | |
| 56 ], | |
| 57 'defines': [ | |
| 58 'USE_CUPS', | |
| 59 ], | |
| 60 }, | |
| 61 ], | |
| 62 } | |
| OLD | NEW |