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 '../../../base/base.gyp:base', 15 '../../../chrome/chrome.gyp:common', 16 '../../../ipc/ipc.gyp:ipc', 17 '../../../media/cast/cast.gyp:cast_transport', 18 '../../../ppapi/ppapi_internal.gyp:ppapi_ipc', 19 '../../../skia/skia.gyp:skia', 20 '../../../third_party/libjingle/libjingle.gyp:libjingle', 21 '../../../third_party/mt19937ar/mt19937ar.gyp:mt19937ar', 22 '../../../third_party/WebKit/public/blink.gyp:blink', 23 '../../../ui/accessibility/accessibility.gyp:ax_gen', 24 '../message_lib/message_lib.gyp:ipc_message_lib', 25 ], 26 'sources': [ 27 'mutate.cc', 28 'rand_util.h', 29 'rand_util.cc', 30 ], 31 'conditions': [ 32 ['asan==1', { 33 'cflags!': [ 34 # Compiling mutate.cc with ASan takes too long, see 35 # http://crbug.com/360158. 36 '-fsanitize=address', 37 ], 38 }], 39 ], 40 'include_dirs': [ 41 '../../..', 42 ], 43 'defines': [ 44 'USE_CUPS', 45 ], 46 }, 47 { 48 'target_name': 'ipc_fuzzer_generate', 49 'type': 'executable', 50 'dependencies': [ 51 '../../../base/base.gyp:base', 52 '../../../chrome/chrome.gyp:common', 53 '../../../ipc/ipc.gyp:ipc', 54 '../../../media/cast/cast.gyp:cast_transport', 55 '../../../ppapi/ppapi_internal.gyp:ppapi_ipc', 56 '../../../skia/skia.gyp:skia', 57 '../../../third_party/libjingle/libjingle.gyp:libjingle', 58 '../../../third_party/mt19937ar/mt19937ar.gyp:mt19937ar', 59 '../../../third_party/WebKit/public/blink.gyp:blink', 60 '../../../ui/accessibility/accessibility.gyp:ax_gen', 61 '../message_lib/message_lib.gyp:ipc_message_lib', 62 ], 63 'sources': [ 64 'generate.cc', 65 'rand_util.h', 66 'rand_util.cc', 67 ], 68 'conditions': [ 69 ['asan==1', { 70 'cflags!': [ 71 # Compiling generate.cc with ASan takes too long, see 72 # http://crbug.com/360158. 73 '-fsanitize=address', 74 ], 75 }], 76 ], 77 'include_dirs': [ 78 '../../..', 79 ], 80 'defines': [ 81 'USE_CUPS', 82 ], 83 }, 84 { 85 'target_name': 'ipc_message_util', 86 'type': 'executable', 87 'dependencies': [ 88 '../../../third_party/re2/re2.gyp:re2', 89 '../message_lib/message_lib.gyp:ipc_message_lib', 90 ], 91 'sources': [ 92 'message_util.cc', 93 ], 94 'include_dirs': [ 95 '../../..', 96 ], 97 'defines': [ 98 'USE_CUPS', 99 ], 100 }, 101 ], 102 } 103