Index: test/fuzzer/fuzzer.gyp |
diff --git a/test/fuzzer/fuzzer.gyp b/test/fuzzer/fuzzer.gyp |
index 6a38e062a41e761e51d9d113a56470c5b808b33d..9f40929d0d8597c02cdae81b71aff47ce2a3354d 100644 |
--- a/test/fuzzer/fuzzer.gyp |
+++ b/test/fuzzer/fuzzer.gyp |
@@ -59,6 +59,11 @@ |
'sources': [ ### gcmole(all) ### |
'parser.cc', |
], |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ 'defines': [ 'BUILDING_V8_SHARED', ] |
+ }], |
+ ], |
}, |
{ |
'target_name': 'v8_simple_regexp_fuzzer', |
@@ -416,6 +421,7 @@ |
# fuzzers can't be built against a shared library, so we need to |
# depend on the underlying static target in that case. |
'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
+ 'defines': [ 'BUILDING_V8_SHARED', ] |
}, { |
'dependencies': ['../../src/v8.gyp:v8'], |
}], |