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_mutate', 12 'type': 'executable', 13 'dependencies': [ 14 '../message_lib/message_lib.gyp:ipc_message_lib', 15 ], 16 'sources': [ 17 'mutate.cc', 18 'rand_util.h', 19 'rand_util.cc', 20 ], 21 'conditions': [ 22 ['asan==1', { 23 'cflags!': [ 24 # Compiling mutate.cc with ASan takes too long, see 25 # http://crbug.com/360158. 26 '-fsanitize=address', 27 ], 28 }], 29 ], 30 'include_dirs': [ 31 '../../..', 32 ], 33 'defines': [ 34 'USE_CUPS', 35 ], 36 }, 37 { 38 'target_name': 'ipc_fuzzer_generate', 39 'type': 'executable', 40 'dependencies': [ 41 '../message_lib/message_lib.gyp:ipc_message_lib', 42 ], 43 'sources': [ 44 'generate.cc', 45 'rand_util.h', 46 'rand_util.cc', 47 ], 48 'conditions': [ 49 ['asan==1', { 50 'cflags!': [ 51 # Compiling generate.cc with ASan takes too long, see 52 # http://crbug.com/360158. 53 '-fsanitize=address', 54 ], 55 }], 56 ], 57 'include_dirs': [ 58 '../../..', 59 ], 60 'defines': [ 61 'USE_CUPS', 62 ], 63 }, 64 { 65 'target_name': 'ipc_message_util', 66 'type': 'executable', 67 'dependencies': [ 68 '../../../third_party/re2/re2.gyp:re2', 69 '../message_lib/message_lib.gyp:ipc_message_lib', 70 ], 71 'sources': [ 72 'message_util.cc', 73 ], 74 'include_dirs': [ 75 '../../..', 76 ], 77 'defines': [ 78 'USE_CUPS', 79 ], 80 }, 81 ], 82 } 83