summaryrefslogtreecommitdiff
path: root/fuzz/fuzz.gyp
diff options
context:
space:
mode:
authorTim Taubert <ttaubert@mozilla.com>2016-12-01 13:51:51 +0100
committerTim Taubert <ttaubert@mozilla.com>2016-12-01 13:51:51 +0100
commit1536ed7c4a1b5ba568243281097172982c557840 (patch)
tree678f88abfd9231e59b8d64a3cc1fd8f31af5232a /fuzz/fuzz.gyp
parent56cfb09269745c7eb3b827e8723a8446dd65573b (diff)
downloadnss-hg-1536ed7c4a1b5ba568243281097172982c557840.tar.gz
Bug 1321248 - Add Fuzzer registry support for custom mutators r=franziskus
Differential Revision: https://nss-review.dev.mozaws.net/D109
Diffstat (limited to 'fuzz/fuzz.gyp')
-rw-r--r--fuzz/fuzz.gyp29
1 files changed, 15 insertions, 14 deletions
diff --git a/fuzz/fuzz.gyp b/fuzz/fuzz.gyp
index 4321c5cf5..3d25d005d 100644
--- a/fuzz/fuzz.gyp
+++ b/fuzz/fuzz.gyp
@@ -25,25 +25,12 @@
'libFuzzer/FuzzerUtilDarwin.cpp',
'libFuzzer/FuzzerUtilLinux.cpp',
],
- 'cflags': [
- '-O2',
- ],
- 'cflags/': [
- ['exclude', '-fsanitize='],
- ['exclude', '-fsanitize-'],
- ],
- 'xcode_settings': {
- 'GCC_OPTIMIZATION_LEVEL': '2', # -O2
- 'OTHER_CFLAGS/': [
- ['exclude', '-fsanitize='],
- ['exclude', '-fsanitize-'],
- ],
- },
},
{
'target_name': 'nssfuzz',
'type': 'executable',
'sources': [
+ 'asn1_mutators.cc',
'nssfuzz.cc',
'pkcs8_target.cc',
'quickder_targets.cc',
@@ -58,6 +45,20 @@
'include_dirs': [
'libFuzzer',
],
+ 'cflags': [
+ '-O2',
+ ],
+ 'cflags/': [
+ ['exclude', '-fsanitize='],
+ ['exclude', '-fsanitize-'],
+ ],
+ 'xcode_settings': {
+ 'GCC_OPTIMIZATION_LEVEL': '2', # -O2
+ 'OTHER_CFLAGS/': [
+ ['exclude', '-fsanitize='],
+ ['exclude', '-fsanitize-'],
+ ],
+ },
},
'variables': {
'module': 'nss',