Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 PDFium Authors. All rights reserved. | 1 # Copyright 2016 PDFium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'pdf_enable_v8%': 1, | 7 'pdf_enable_v8%': 1, |
| 8 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi. | 8 'pdf_enable_xfa%': 0, # Set to 1 in standalone builds by standalone.gypi. |
| 9 }, | 9 }, |
| 10 'target_defaults': { | 10 'target_defaults': { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 54 'dependencies': [ | 54 'dependencies': [ |
| 55 '../../pdfium.gyp:pdfium', | 55 '../../pdfium.gyp:pdfium', |
| 56 ], | 56 ], |
| 57 'sources': [ | 57 'sources': [ |
| 58 'pdf_xml_fuzzer.cc', | 58 'pdf_xml_fuzzer.cc', |
| 59 'unittest_main.cc', | 59 'unittest_main.cc', |
| 60 ], | 60 ], |
| 61 }, | 61 }, |
| 62 ], | 62 ], |
| 63 }], | 63 }], |
| 64 ['OS=="linux"', { | |
| 65 'targets': [ | |
|
Tom Sepez
2016/03/18 20:33:40
need to test for xfa enabled?
Oliver Chang
2016/03/18 20:50:26
This shouldn't depend on any XFa features.
| |
| 66 { | |
| 67 'target_name': 'pdf_jpx_fuzzer', | |
| 68 'type': 'executable', | |
| 69 'dependencies': [ | |
| 70 '../../pdfium.gyp:pdfium', | |
| 71 ], | |
| 72 'sources': [ | |
| 73 'pdf_jpx_fuzzer.cc', | |
| 74 'unittest_main.cc', | |
| 75 ], | |
| 76 }, | |
| 77 ], | |
| 78 }], | |
| 64 ], | 79 ], |
| 65 # Empty target so that nonxfa builds work. | 80 # Empty target so that nonxfa builds work. |
| 66 'targets': [ | 81 'targets': [ |
| 67 { | 82 { |
| 68 'target_name': 'empty_target', | 83 'target_name': 'empty_target', |
| 69 'type': 'none', | 84 'type': 'none', |
| 70 } | 85 } |
| 71 ], | 86 ], |
| 72 } | 87 } |
| OLD | NEW |