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