summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2016-02-16 11:57:12 -0800
committerOliver Chang <ochang@chromium.org>2016-02-16 11:57:12 -0800
commit53520a13f2c2f9f401b5cfa5fa9e1a882d08d042 (patch)
tree336bee60a02d50c3c8ab471c4739c6fb44d10366
parente67d21825c9fd4b805b9bea211e09225f3c2a85d (diff)
downloadpdfium-chromium/2653.tar.xz
Fix GYP for nonxfa builds from last commit.chromium/2654chromium/2653
Also disables mac build. libfuzzers are only built on Linux. TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1703623002 .
-rw-r--r--testing/libfuzzer/fuzzers.gyp12
1 files changed, 10 insertions, 2 deletions
diff --git a/testing/libfuzzer/fuzzers.gyp b/testing/libfuzzer/fuzzers.gyp
index a3c0d452b5..a65fe1b993 100644
--- a/testing/libfuzzer/fuzzers.gyp
+++ b/testing/libfuzzer/fuzzers.gyp
@@ -35,7 +35,8 @@
],
},
'conditions': [
- ['pdf_enable_xfa==1 and OS!="win"', {
+ # FIXME(ochang): Make this work on Mac/Windows.
+ ['pdf_enable_xfa==1 and OS=="linux"', {
'targets': [
{
'target_name': 'pdf_fm2js_fuzzer',
@@ -61,5 +62,12 @@
},
],
}],
- ]
+ ],
+ # Empty target so that nonxfa builds work.
+ 'targets': [
+ {
+ 'target_name': 'empty_target',
+ 'type': 'none',
+ }
+ ],
}