summaryrefslogtreecommitdiff
path: root/platform/macos/platform.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/macos/platform.gyp')
-rw-r--r--platform/macos/platform.gyp36
1 files changed, 36 insertions, 0 deletions
diff --git a/platform/macos/platform.gyp b/platform/macos/platform.gyp
index 68ab4ce467..9d64c956cf 100644
--- a/platform/macos/platform.gyp
+++ b/platform/macos/platform.gyp
@@ -27,6 +27,42 @@
'../../test/src/main.cpp',
],
},
+ {
+ 'target_name': 'fuzz',
+ 'type': 'executable',
+
+ 'dependencies': [
+ 'platform-lib',
+ ],
+
+ 'include_dirs': [
+ '../../include',
+ '../../src',
+ ],
+
+ 'sources': [
+ '../../test/src/fuzz.cpp',
+ ],
+
+ 'variables': {
+ 'cflags_cc': [
+ '<@(rapidjson_cflags)',
+ '<@(variant_cflags)',
+ '<@(geometry_cflags)',
+ '<@(protozero_cflags)',
+ ],
+ },
+
+ 'conditions': [
+ ['OS == "mac"', {
+ 'xcode_settings': {
+ 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ],
+ },
+ }, {
+ 'cflags_cc': [ '<@(cflags_cc)' ],
+ }],
+ ],
+ },
{
'target_name': 'benchmark',
'type': 'executable',