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

Unified Diff: test/fuzzer/fuzzer.gyp

Issue 2420603002: Fix import/export annotations for v8 targets that are always static (Closed)
Patch Set: updates Created 4 years, 2 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
« no previous file with comments | « test/cctest/cctest.gyp ('k') | test/unittests/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'],
}],
« no previous file with comments | « test/cctest/cctest.gyp ('k') | test/unittests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698