summaryrefslogtreecommitdiff
path: root/fuzz/fuzz.gyp
diff options
context:
space:
mode:
authorTim Taubert <ttaubert@mozilla.com>2016-11-11 16:00:39 +0100
committerTim Taubert <ttaubert@mozilla.com>2016-11-11 16:00:39 +0100
commitfe9f8687b1e0414c0942c22261856d4d09213dbd (patch)
tree706328f8bf505821e24689f8c4c28521e9b8a373 /fuzz/fuzz.gyp
parent6623bdc109ea8c8330db6f124aeaf6604eee31f1 (diff)
downloadnss-hg-fe9f8687b1e0414c0942c22261856d4d09213dbd.tar.gz
Bug 1316274 - Fuzzing mode: Move fuzz/ to GYP, remove Makefiles and manifests r=franziskus
Differential Revision: https://nss-review.dev.mozaws.net/D52 * * * fixup From ab8763469977a338a61d610ed69ef045244630f3 Mon Sep 17 00:00:00 2001
Diffstat (limited to 'fuzz/fuzz.gyp')
-rw-r--r--fuzz/fuzz.gyp33
1 files changed, 33 insertions, 0 deletions
diff --git a/fuzz/fuzz.gyp b/fuzz/fuzz.gyp
new file mode 100644
index 000000000..df6c9c635
--- /dev/null
+++ b/fuzz/fuzz.gyp
@@ -0,0 +1,33 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+{
+ 'includes': [
+ '../coreconf/config.gypi',
+ '../cmd/platlibs.gypi'
+ ],
+ 'targets': [
+ {
+ 'target_name': 'nssfuzz',
+ 'type': 'executable',
+ 'sources': [
+ 'cert_target.cc',
+ 'pkcs8_target.cc',
+ 'spki_target.cc',
+ 'nssfuzz.cc',
+ ],
+ 'dependencies': [
+ '<(DEPTH)/exports.gyp:nss_exports',
+ '<(DEPTH)/fuzz/libFuzzer/libFuzzer.gyp:libFuzzer'
+ ]
+ }
+ ],
+ 'target_defaults': {
+ 'include_dirs': [
+ 'libFuzzer',
+ ],
+ },
+ 'variables': {
+ 'module': 'nss',
+ }
+}