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