diff options
author | thestig <thestig@chromium.org> | 2016-08-26 14:39:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-26 14:39:31 -0700 |
commit | b7fb1fd087cfe20cfc29cabc80af2c11e91538c6 (patch) | |
tree | c679fe87617557753674bbc7f35dda52e5d69a63 /testing/libfuzzer/fuzzers.gyp | |
parent | 35396df876cbf12c18a6de90e075b57adf74a1a7 (diff) | |
download | pdfium-b7fb1fd087cfe20cfc29cabc80af2c11e91538c6.tar.xz |
Remove most things GYP.
BUG=pdfium:559
Review-Url: https://codereview.chromium.org/2286653002
Diffstat (limited to 'testing/libfuzzer/fuzzers.gyp')
-rw-r--r-- | testing/libfuzzer/fuzzers.gyp | 171 |
1 files changed, 0 insertions, 171 deletions
diff --git a/testing/libfuzzer/fuzzers.gyp b/testing/libfuzzer/fuzzers.gyp deleted file mode 100644 index 30c8430ff9..0000000000 --- a/testing/libfuzzer/fuzzers.gyp +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 2016 PDFium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -{ - 'variables': { - 'pdf_enable_v8%': 1, - 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi. - }, - 'target_defaults': { - 'defines' : [ - 'PNG_PREFIX', - 'PNG_USE_READ_MACROS', - ], - 'include_dirs': [ - # This is implicit in GN. - '<(DEPTH)', - '../../third_party/freetype/include', - '../../third_party/freetype/include/freetype', - ], - 'conditions': [ - ['pdf_enable_v8==1', { - 'defines': [ - 'PDF_ENABLE_V8', - ], - 'include_dirs': [ - '<(DEPTH)/v8', - '<(DEPTH)/v8/include', - ], - }], - ['pdf_enable_xfa==1', { - 'defines': [ - 'PDF_ENABLE_XFA', - ], - }], - ], - }, - 'conditions': [ - # FIXME(ochang): Make this work on Mac/Windows. - ['pdf_enable_xfa==1 and OS=="linux"', { - 'targets': [ - { - 'target_name': 'pdf_fm2js_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_fm2js_fuzzer.cc', - 'unittest_main.cc', - ], - }, - { - 'target_name': 'pdf_xml_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_xml_fuzzer.cc', - 'unittest_main.cc', - ], - }, - { - 'target_name': 'pdf_cfx_saxreader_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_cfx_saxreader_fuzzer.cc', - 'unittest_main.cc', - ], - }, - { - 'target_name': 'pdf_codec_png_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_codec_png_fuzzer.cc', - 'unittest_main.cc', - 'xfa_codec_fuzzer.h', - ], - }, - { - 'target_name': 'pdf_codec_jpeg_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_codec_jpeg_fuzzer.cc', - 'unittest_main.cc', - 'xfa_codec_fuzzer.h', - ], - }, - { - 'target_name': 'pdf_codec_gif_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_codec_gif_fuzzer.cc', - 'unittest_main.cc', - 'xfa_codec_fuzzer.h', - ], - }, - { - 'target_name': 'pdf_codec_bmp_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_codec_bmp_fuzzer.cc', - 'unittest_main.cc', - 'xfa_codec_fuzzer.h', - ], - }, - { - 'target_name': 'pdf_codec_tiff_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_codec_tiff_fuzzer.cc', - 'unittest_main.cc', - 'xfa_codec_fuzzer.h', - ], - }, - { - 'target_name': 'pdf_css_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_css_fuzzer.cc', - 'unittest_main.cc', - ], - }, - ], - }], - ['OS=="linux"', { - 'targets': [ - { - 'target_name': 'pdf_jpx_fuzzer', - 'type': 'executable', - 'dependencies': [ - '../../pdfium.gyp:pdfium', - ], - 'sources': [ - 'pdf_jpx_fuzzer.cc', - 'unittest_main.cc', - ], - }, - ], - }], - ], - # Empty target so that nonxfa builds work. - 'targets': [ - { - 'target_name': 'empty_target', - 'type': 'none', - } - ], -} |