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