Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: tools/ipc_fuzzer/mutate/mutate.gyp

Issue 1000373004: Combine traits for IPC mutation and generation fuzzing plus other refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't rename mutate/ to fuzzer/ Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/ipc_fuzzer/mutate/mutate.gyp
diff --git a/tools/ipc_fuzzer/mutate/mutate.gyp b/tools/ipc_fuzzer/mutate/mutate.gyp
index e8e1b298f15df81d418006a3d103b4583a828568..c9d3f435717ee0bb556910a22d67bc3aa66cf1c7 100644
--- a/tools/ipc_fuzzer/mutate/mutate.gyp
+++ b/tools/ipc_fuzzer/mutate/mutate.gyp
@@ -8,20 +8,21 @@
},
'targets': [
{
- 'target_name': 'ipc_fuzzer_mutate',
- 'type': 'executable',
+ 'target_name': 'ipc_fuzzer_lib',
+ 'type': 'static_library',
'dependencies': [
'../message_lib/message_lib.gyp:ipc_message_lib',
],
'sources': [
- 'mutate.cc',
+ 'fuzzer.h',
+ 'fuzzer.cc',
'rand_util.h',
'rand_util.cc',
],
'conditions': [
['asan==1', {
'cflags!': [
- # Compiling mutate.cc with ASan takes too long, see
+ # Compiling fuzzer.cc with ASan takes too long, see
# http://crbug.com/360158.
'-fsanitize=address',
'-fsanitize-coverage=<(sanitizer_coverage)',
@@ -39,22 +40,12 @@
'target_name': 'ipc_fuzzer_generate',
'type': 'executable',
'dependencies': [
- '../message_lib/message_lib.gyp:ipc_message_lib',
+ 'ipc_fuzzer_lib',
],
'sources': [
- 'generate.cc',
- 'rand_util.h',
- 'rand_util.cc',
- ],
- 'conditions': [
- ['asan==1', {
- 'cflags!': [
- # Compiling generate.cc with ASan takes too long, see
- # http://crbug.com/360158.
- '-fsanitize=address',
- '-fsanitize-coverage=<(sanitizer_coverage)',
- ],
- }],
+ 'generator.h',
+ 'generator.cc',
+
],
'include_dirs': [
'../../..',
@@ -64,14 +55,15 @@
],
},
{
- 'target_name': 'ipc_message_util',
+ 'target_name': 'ipc_fuzzer_mutate',
'type': 'executable',
'dependencies': [
- '../../../third_party/re2/re2.gyp:re2',
- '../message_lib/message_lib.gyp:ipc_message_lib',
+ 'ipc_fuzzer_lib',
],
'sources': [
- 'message_util.cc',
+ 'mutator.h',
+ 'mutator.cc',
+
],
'include_dirs': [
'../../..',

Powered by Google App Engine
This is Rietveld 408576698